mirror of
https://github.com/e107inc/e107.git
synced 2025-07-12 18:46:20 +02:00
Fixes #4374 help() form method fix.
This commit is contained in:
@ -1085,12 +1085,12 @@ class eurl_admin_form_ui extends e_admin_form_ui
|
|||||||
</tr>";
|
</tr>";
|
||||||
|
|
||||||
$text .= "<tr>";
|
$text .= "<tr>";
|
||||||
$text .= "<td>".$lanDef[1]."</td>";
|
$text .= "<td>".$lanDef[1].$this->help(LAN_EURL_FORM_HELP_DEFAULT, 'before')."</td>";
|
||||||
$text .= "<td class='form-inline'>";
|
$text .= "<td class='form-inline'>";
|
||||||
$text .= $this->text('eurl_aliases['.$lanDef[0].']['.$module.']', $defVal, 255, 'size=xlarge');
|
$text .= $this->text('eurl_aliases['.$lanDef[0].']['.$module.']', $defVal, 255, 'size=xlarge');
|
||||||
// $text .= ' ['.$lanDef[1].']';
|
// $text .= ' ['.$lanDef[1].']';
|
||||||
$text .= "</td><td>";
|
$text .= "</td><td>";
|
||||||
$text .= $this->help(LAN_EURL_FORM_HELP_DEFAULT);
|
$text .= $this->help(LAN_EURL_FORM_HELP_DEFAULT, 'after');
|
||||||
|
|
||||||
$text .= "</td>";
|
$text .= "</td>";
|
||||||
// $help[] = '['.$lanDef[1].'] '.LAN_EURL_FORM_HELP_EXAMPLE.':<br /><strong>'.$url.'</strong>';
|
// $help[] = '['.$lanDef[1].'] '.LAN_EURL_FORM_HELP_EXAMPLE.':<br /><strong>'.$url.'</strong>';
|
||||||
|
@ -3051,7 +3051,7 @@ class e_form
|
|||||||
return "<label$for_id class='e-tip legacy'>{$text}</label>";
|
return "<label$for_id class='e-tip legacy'>{$text}</label>";
|
||||||
}
|
}
|
||||||
|
|
||||||
public function help($text, $mode)
|
public function help($text, $mode='after')
|
||||||
{
|
{
|
||||||
if(empty($text)
|
if(empty($text)
|
||||||
|| $this->_help_location === -1
|
|| $this->_help_location === -1
|
||||||
|
Reference in New Issue
Block a user