* adjust the help for fields.
This commit is contained in:
@@ -25,6 +25,7 @@ class help extends control
|
||||
{
|
||||
$clientLang = $this->app->getClientLang();
|
||||
include "./lang/field.$clientLang.php";
|
||||
|
||||
$fieldName = '';
|
||||
$fieldNote = $this->lang->help->noHelpYet;
|
||||
if(isset($help->$module->$field))
|
||||
@@ -33,6 +34,10 @@ class help extends control
|
||||
$fieldName = $fieldHelp[0];
|
||||
if(isset($fieldHelp[1])) $fieldNote = $fieldHelp[1];
|
||||
}
|
||||
elseif($field == 'labels')
|
||||
{
|
||||
list($fieldName, $fieldNote) = explode('|', $help->file->labels);
|
||||
}
|
||||
$this->view->header->title = $fieldName;
|
||||
$this->view->fieldName = $fieldName;
|
||||
$this->view->fieldNote = $fieldNote;
|
||||
|
||||
Reference in New Issue
Block a user