Skip to content
Snippets Groups Projects
Commit e28e43d0 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Prepare add of new parameter

parent 276fa550
No related branches found
No related tags found
No related merge requests found
...@@ -49,6 +49,7 @@ if ($_POST["action"] == 'update') ...@@ -49,6 +49,7 @@ if ($_POST["action"] == 'update')
$db->begin(); $db->begin();
$i+=dolibarr_set_const($db,'EXTERNALSITE_URL',trim($_POST["EXTERNALSITE_URL"]),'chaine',0,'',$conf->entity); $i+=dolibarr_set_const($db,'EXTERNALSITE_URL',trim($_POST["EXTERNALSITE_URL"]),'chaine',0,'',$conf->entity);
//$i+=dolibarr_set_const($db,'EXTERNALSITE_LABEL',trim($_POST["EXTERNALSITE_LABEL"]),'chaine',0,'',$conf->entity);
if ($i >= 1) if ($i >= 1)
{ {
...@@ -85,6 +86,14 @@ print "<td>".$langs->trans("Value")."</td>"; ...@@ -85,6 +86,14 @@ print "<td>".$langs->trans("Value")."</td>";
print "<td>".$langs->trans("Examples")."</td>"; print "<td>".$langs->trans("Examples")."</td>";
print "</tr>"; print "</tr>";
/*print "<tr class=\"impair\">";
print "<td>".$langs->trans("Label")."</td>";
print "<td><input type=\"text\" class=\"flat\" name=\"EXTERNALSITE_LABEL\" value=\"". ($_POST["EXTERNALSITE_LABEL"]?$_POST["EXTERNALSITE_LABEL"]:$conf->global->EXTERNALSITE_LABEL) . "\" size=\"40\"></td>";
print "<td>My menu";
print "</td>";
print "</tr>";
*/
print "<tr class=\"impair\">"; print "<tr class=\"impair\">";
print "<td>".$langs->trans("ExternalSiteURL")."</td>"; print "<td>".$langs->trans("ExternalSiteURL")."</td>";
print "<td><input type=\"text\" class=\"flat\" name=\"EXTERNALSITE_URL\" value=\"". ($_POST["EXTERNALSITE_URL"]?$_POST["EXTERNALSITE_URL"]:$conf->global->EXTERNALSITE_URL) . "\" size=\"40\"></td>"; print "<td><input type=\"text\" class=\"flat\" name=\"EXTERNALSITE_URL\" value=\"". ($_POST["EXTERNALSITE_URL"]?$_POST["EXTERNALSITE_URL"]:$conf->global->EXTERNALSITE_URL) . "\" size=\"40\"></td>";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment