예제 #1
0
     /* 删除操作 */
     $attribs['del']['onclick'] = "ListTable.del(this,{$r[admin_id]},'";
     $attribs['del']['onclick'] .= f(sprintf($_LANG['spr_confirm_del'], $r['name']), 'hstr') . "')";
     /* 绑定操作 */
     $tpl['list']['data'][$i]['acts'] = format_module_acts($m_ac, $attribs, 'a');
 }
 /* 初始化页面信息 */
 $tpl['_body'] = 'list';
 /* ------------------------------------------------------ */
 // - 异步 - 列表页,列表查询
 /* ------------------------------------------------------ */
 if ($_REQUEST['act'] == 'list') {
     /* 列表查询 */
     if ($_REQUEST['actsub'] == 'query') {
         /* 排序图片 */
         $flag = order_img($tpl['list']['filter']);
         $tpl[$flag['var']] = $flag['img'];
         /* 初始化页面信息 */
         $tpl['_bodysub'] = 'query';
     }
     /* 返回JSON */
     make_json_ok('', tpl_fetch('admin.html', $tpl));
 } else {
     /* 初始化页面信息 */
     $tpl['_header'] = 'title';
     /* 取得管理员的增加操作 */
     $m_ab = filter_module_acts($m_aa, array('add'), true);
     $m_ab[] = array('module_act_name' => $_LANG['act_export'], 'module_act_code' => 'export');
     /* 操作属性 */
     $attribs = array();
     $attribs['add'] = array('onclick' => "wnd_admin_fill(this,'add')");
예제 #2
0
?>
</th>
						<th scope="col" title="<?php 
echo _T("admin_ilp_imglist_tt_bandwidth_used");
?>
"><a href="<?php 
link_address('orderBy', 'bandwidth');
?>
" class="<?php 
echo $orderBy == 'bandwidth' ? 'on' : '';
?>
"><?php 
echo _T("admin_ilp_imglist_bandwidth_used");
?>
</a><?php 
order_img('bandwidth');
?>
</th>
						<th scope="col" title="<?php 
echo _T("admin_ilp_imglist_tt_private");
?>
"><?php 
echo _T("admin_ilp_imglist_private");
?>
</th>
					</tr>
					</thead>
					<tbody>
						<?php 
echo $list_item;
?>
예제 #3
0
파일: index.php 프로젝트: jhbsz/ossimTest
"><?php 
    echo _("Priority") . order_img('priority');
    ?>
</a></th>
					<th nowrap='nowrap'><a href="?order_by=date<?php 
    echo $filter;
    ?>
"><?php 
    echo _("Created") . order_img('date');
    ?>
</a></th>
					<th nowrap='nowrap'><a href="?order_by=life_time<?php 
    echo $filter;
    ?>
"><?php 
    echo _("Life Time") . order_img('life_time');
    ?>
</a></th>
					<th><?php 
    echo _("In charge");
    ?>
</th>
					<th><?php 
    echo _("Submitter");
    ?>
</th>
					<th><?php 
    echo _("Type");
    ?>
</th>
					<th><?php