* Add project execution approval menu.
This commit is contained in:
@@ -3381,12 +3381,12 @@ EOD;
|
||||
* @access public
|
||||
* @return bool
|
||||
*/
|
||||
public static function sortFeatureMenu()
|
||||
public static function sortFeatureMenu($module = '', $method = '')
|
||||
{
|
||||
global $lang, $app;
|
||||
|
||||
$module = $app->rawModule;
|
||||
$method = $app->rawMethod;
|
||||
$module = $module ? $module : $app->rawModule;
|
||||
$method = $method ? $method : $app->rawMethod;
|
||||
|
||||
/* It will be sorted according to the workflow in the future */
|
||||
if(!empty($lang->featureBarSort[$module][$method]))
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php common::sortFeatureMenu('execution', 'all');?>
|
||||
<?php foreach($lang->execution->featureBar['all'] as $key => $label):?>
|
||||
<?php $label = "<span class='text'>$label</span>";?>
|
||||
<?php if($status == $key) $label .= " <span class='label label-light label-badge'>{$pager->recTotal}</span>";?>
|
||||
|
||||
Reference in New Issue
Block a user