diff --git a/htdocs/langs/en_US/blockedlog.lang b/htdocs/langs/en_US/blockedlog.lang index 400902f612e..abd5d9873e3 100644 --- a/htdocs/langs/en_US/blockedlog.lang +++ b/htdocs/langs/en_US/blockedlog.lang @@ -60,3 +60,4 @@ logPAYMENT_VARIOUS_CREATE=Payment (not assigned to an invoice) created logPAYMENT_VARIOUS_DELETE=Payment (not assigned to an invoice) logical deletion logPAYMENT_VARIOUS_MODIFY=Payment (not assigned to an invoice) modified logBLOCKEDLOG_EXPORT=Export of unalterable logs into a file +DebugInfo=Debug info diff --git a/htdocs/langs/en_US/website.lang b/htdocs/langs/en_US/website.lang index 0e5edb778e0..e6052949b79 100644 --- a/htdocs/langs/en_US/website.lang +++ b/htdocs/langs/en_US/website.lang @@ -64,7 +64,7 @@ YouCanCreatePageOrImportTemplate=You can create a new page or import a full webs SyntaxHelp=Help on specific syntax tips YouCanEditHtmlSourceckeditor=You can edit HTML source code using the "Source" button in editor. YouCanEditHtmlSource=
You can include PHP code into this source using tags <?php ?>. The following global variables are available: $conf, $db, $mysoc, $user, $website, $websitepage, $weblangs, $pagelangs.

You can also include content of another Page/Container with the following syntax:
<?php includeContainer('alias_of_container_to_include'); ?>

You can make a redirect to another Page/Container with the following syntax (Note: do not output any content before a redirect):
<?php redirectToContainer('alias_of_container_to_redirect_to'); ?>
You can also make a redirection with GET parameters:
<?php redirectToContainer('alias_of_container_to_redirect_to', '', 0, 0, $array_of_get_params); ?>

To add a link to another page, use the syntax:
<a href="alias_of_page_to_link_to.php">mylink<a>

-YouCanEditHtmlSourceb= You can dynamically set SEO title and meta tags (title, keywords, description). Simply define the following variables:
$__PAGE_TITLE__ = "Title value …";
$__PAGE_KEYWORDS__ = "keyword1, keyword2, keyword3 …"; // Comma separated
$__PAGE_DESC__ = "Description …";
+YouCanEditHtmlSourceb= You can dynamically set SEO title and meta tags (title, keywords, description). Simply define the following variables:
define('__SEO_PAGE_TITLE__', "Title value …");
define('__SEO_PAGE_KEYWORDS__', 'keyword1, keyword2, keyword3 …');
define('__SEO_PAGE_DESC__', "Description …");
YouCanEditHtmlSourcec= To include a link to download a file stored into the documents directory, use the document.php wrapper:
Example, for a file into documents/ecm (need to be logged), syntax is:
<a href="/document.php?modulepart=ecm&file=[relative_dir/]filename.ext">
For a file into documents/medias (open directory for public access), syntax is:
<a href="/document.php?modulepart=medias&file=[relative_dir/]filename.ext">
YouCanEditHtmlSourced=For a file shared with a share link (open access using the sharing hash key of file), syntax is:
<a href="/document.php?hashp=publicsharekeyoffile">
YouCanEditHtmlSource1=
To include an image stored into the medias directory (directory open for public access), use the relative path starting with /medias, example:
<img src="/medias/image/myimagepath/filename.ext">