* Code for finish task #83721.
This commit is contained in:
@@ -93,7 +93,7 @@ $lang->admin->menuList->feature['subMenu']['user'] = array('link' => "{$l
|
||||
|
||||
$lang->admin->menuList->feature['tabMenu']['my']['todo'] = array('link' => "{$lang->todo->common}|custom|set|module=todo&field=priList");
|
||||
$lang->admin->menuList->feature['tabMenu']['my']['block'] = array('link' => "{$lang->block->common}|custom|set|module=block&field=closed");
|
||||
$lang->admin->menuList->feature['tabMenu']['my']['task'] = array('link' => "{$lang->task->common}|custom|required|module=task", 'links' => array('custom|set|module=task&field=priList'));
|
||||
if($config->vision == 'lite') $lang->admin->menuList->feature['tabMenu']['my']['task'] = array('link' => "{$lang->task->common}|custom|required|module=task", 'links' => array('custom|set|module=task&field=priList'));
|
||||
|
||||
$lang->admin->menuList->feature['tabMenu']['product']['product'] = array('link' => "{$lang->productCommon}|custom|required|module=product", 'links' => array("custom|browsestoryconcept|", 'custom|product|'));
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
$method = $key == 'required' ? 'required' : 'set';
|
||||
$params = $key == 'required' ? "module=$moduleName" : "module=$moduleName&field=$key";
|
||||
$active = $key == 'required' ? 'active' : '';
|
||||
echo html::a(inlink($method, $params), $value, '', "class='$active'");
|
||||
if(common::hasPriv('custom', $method)) echo html::a(inlink($method, $params), $value, '', "class='$active'");
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
@@ -58,7 +58,7 @@ EOT;
|
||||
$method = $key == 'required' ? 'required' : 'set';
|
||||
$params = $key == 'required' ? "module=$module" : "module=$module&field=$key";
|
||||
$active = $field == $key ? 'active' : '';
|
||||
echo html::a(inlink($method, $params), $value, '', "class='$active'");
|
||||
if(common::hasPriv('custom', $method)) echo html::a(inlink($method, $params), $value, '', "class='$active'");
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user