#1704 Untranslatable token in externalsite module admin
This commit is contained in:
parent
179834c663
commit
01a5f22f4a
@ -99,7 +99,7 @@ $var=!$var;
|
|||||||
print "<tr ".$bc[$var].">";
|
print "<tr ".$bc[$var].">";
|
||||||
print '<td class="fieldrequired">'.$langs->trans("Label")."</td>";
|
print '<td class="fieldrequired">'.$langs->trans("Label")."</td>";
|
||||||
print "<td><input type=\"text\" class=\"flat\" name=\"EXTERNALSITE_LABEL\" value=\"". (GETPOST('EXTERNALSITE_LABEL','alpha')?GETPOST('EXTERNALSITE_LABEL','alpha'):((empty($conf->global->EXTERNALSITE_LABEL) || $conf->global->EXTERNALSITE_LABEL=='ExternalSite')?'':$conf->global->EXTERNALSITE_LABEL)) . "\" size=\"12\"></td>";
|
print "<td><input type=\"text\" class=\"flat\" name=\"EXTERNALSITE_LABEL\" value=\"". (GETPOST('EXTERNALSITE_LABEL','alpha')?GETPOST('EXTERNALSITE_LABEL','alpha'):((empty($conf->global->EXTERNALSITE_LABEL) || $conf->global->EXTERNALSITE_LABEL=='ExternalSite')?'':$conf->global->EXTERNALSITE_LABEL)) . "\" size=\"12\"></td>";
|
||||||
print "<td>My menu entry</td>";
|
print "<td>".$langs->trans("ExampleMyMenuEntry")."</td>";
|
||||||
print "</tr>";
|
print "</tr>";
|
||||||
|
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
|
|||||||
@ -2,3 +2,4 @@
|
|||||||
ExternalSiteSetup=Setup link to external website
|
ExternalSiteSetup=Setup link to external website
|
||||||
ExternalSiteURL=External Site URL
|
ExternalSiteURL=External Site URL
|
||||||
ExternalSiteModuleNotComplete=Module ExternalSite was not configured properly.
|
ExternalSiteModuleNotComplete=Module ExternalSite was not configured properly.
|
||||||
|
ExampleMyMenuEntry=My menu entry
|
||||||
Loading…
Reference in New Issue
Block a user