📄 %%78^786^7862bf8c%%listviewgeneric.tpl.php
字号:
<?php /* Smarty version 2.6.11, created on 2006-09-12 15:19:00 compiled from include/ListView/ListViewGeneric.tpl */ ?><?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');smarty_core_load_plugins(array('plugins' => array(array('function', 'counter', 'include/ListView/ListViewGeneric.tpl', 83, false),array('function', 'sugar_translate', 'include/ListView/ListViewGeneric.tpl', 88, false),array('function', 'sugar_evalcolumn', 'include/ListView/ListViewGeneric.tpl', 131, false),array('function', 'sugar_currency_format', 'include/ListView/ListViewGeneric.tpl', 133, false),array('modifier', 'default', 'include/ListView/ListViewGeneric.tpl', 86, false),array('modifier', 'lower', 'include/ListView/ListViewGeneric.tpl', 88, false),)), $this); ?>
<form action='index.php' method='post' name='MassUpdate' id="MassUpdate" onsubmit="return check_form('MassUpdate');">
<input type='hidden' name='action' value='index' />
<input type='hidden' name='delete' value='false' />
<input type='hidden' name='merge' value='false' />
<input type='hidden' name='module' value='<?php echo $this->_tpl_vars['pageData']['bean']['moduleDir']; ?>' />
<?php if ($this->_tpl_vars['overlib']): ?>
<script type='text/javascript' src='include/javascript/overlibmws.js'></script>
<script type='text/javascript' src='include/javascript/overlibmws_iframe.js'></script>
<div id='overDiv' style='position:absolute; visibility:hidden; z-index:1000;'></div>
<?php endif; ?>
<?php if ($this->_tpl_vars['prerow']): ?>
<?php echo $this->_tpl_vars['multiSelectData']; ?>
<?php endif; ?>
<table cellpadding='0' cellspacing='0' width='100%' border='0' class='listView'>
<tr>
<td colspan='<?php echo $this->_tpl_vars['colCount']+1; ?>' align='right'>
<table border='0' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='left' class='listViewPaginationTdS1'><?php echo $this->_tpl_vars['exportLink']; echo $this->_tpl_vars['mergeLink']; echo $this->_tpl_vars['mergedupLink']; echo $this->_tpl_vars['selectedObjectsSpan']; ?> </td>
<td class='listViewPaginationTdS1' align='right' nowrap='nowrap' id='listViewPaginationButtons'>
<?php if ($this->_tpl_vars['pageData']['urls']['startPage']): ?>
<a href='<?php echo $this->_tpl_vars['pageData']['urls']['startPage']; ?>' <?php if ($this->_tpl_vars['prerow']): ?>onclick="return sListView.save_checks(0, '<?php echo $this->_tpl_vars['moduleString']; ?>')"<?php endif; ?> class='listViewPaginationLinkS1'><img src='<?php echo $this->_tpl_vars['imagePath']; ?>start.gif' alt='<?php echo $this->_tpl_vars['navStrings']['start']; ?>' align='absmiddle' border='0' width='13' height='11'> <?php echo $this->_tpl_vars['navStrings']['start']; ?></a>
<?php else: ?>
<img src='<?php echo $this->_tpl_vars['imagePath']; ?>start_off.gif' alt='<?php echo $this->_tpl_vars['navStrings']['start']; ?>' align='absmiddle' border='0' width='13' height='11'> <?php echo $this->_tpl_vars['navStrings']['start']; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['pageData']['urls']['prevPage']): ?>
<a href='<?php echo $this->_tpl_vars['pageData']['urls']['prevPage']; ?>' <?php if ($this->_tpl_vars['prerow']): ?>onclick="return sListView.save_checks(<?php echo $this->_tpl_vars['pageData']['offsets']['prev']; ?>, '<?php echo $this->_tpl_vars['moduleString']; ?>')"<?php endif; ?> class='listViewPaginationLinkS1'><img src='<?php echo $this->_tpl_vars['imagePath']; ?>previous.gif' alt='<?php echo $this->_tpl_vars['navStrings']['previous']; ?>' align='absmiddle' border='0' width='8' height='11'> <?php echo $this->_tpl_vars['navStrings']['previous']; ?></a>
<?php else: ?>
<img src='<?php echo $this->_tpl_vars['imagePath']; ?>previous_off.gif' alt='<?php echo $this->_tpl_vars['navStrings']['previous']; ?>' align='absmiddle' border='0' width='8' height='11'> <?php echo $this->_tpl_vars['navStrings']['previous']; ?>
<?php endif; ?>
<span class='pageNumbers'>(<?php if ($this->_tpl_vars['pageData']['offsets']['lastOffsetOnPage'] == 0): ?>0<?php else: echo $this->_tpl_vars['pageData']['offsets']['current']+1; endif; ?> - <?php echo $this->_tpl_vars['pageData']['offsets']['lastOffsetOnPage']; ?> <?php echo $this->_tpl_vars['navStrings']['of']; ?> <?php if ($this->_tpl_vars['pageData']['offsets']['totalCounted']): echo $this->_tpl_vars['pageData']['offsets']['total']; else: echo $this->_tpl_vars['pageData']['offsets']['total']; if ($this->_tpl_vars['pageData']['offsets']['lastOffsetOnPage'] != $this->_tpl_vars['pageData']['offsets']['total']): ?>+<?php endif; endif; ?>)</span>
<?php if ($this->_tpl_vars['pageData']['urls']['nextPage']): ?>
<a href='<?php echo $this->_tpl_vars['pageData']['urls']['nextPage']; ?>' <?php if ($this->_tpl_vars['prerow']): ?>onclick="return sListView.save_checks(<?php echo $this->_tpl_vars['pageData']['offsets']['next']; ?>, '<?php echo $this->_tpl_vars['moduleString']; ?>')"<?php endif; ?> class='listViewPaginationLinkS1'><?php echo $this->_tpl_vars['navStrings']['next']; ?> <img src='<?php echo $this->_tpl_vars['imagePath']; ?>next.gif' alt='<?php echo $this->_tpl_vars['navStrings']['next']; ?>' align='absmiddle' border='0' width='8' height='11'></a>
<?php else: ?>
<?php echo $this->_tpl_vars['navStrings']['next']; ?> <img src='<?php echo $this->_tpl_vars['imagePath']; ?>next_off.gif' alt='<?php echo $this->_tpl_vars['navStrings']['next']; ?>' align='absmiddle' border='0' width='8' height='11'>
<?php endif; ?>
<?php if ($this->_tpl_vars['pageData']['urls']['endPage'] && $this->_tpl_vars['pageData']['offsets']['total'] != $this->_tpl_vars['pageData']['offsets']['lastOffsetOnPage']): ?>
<a href='<?php echo $this->_tpl_vars['pageData']['urls']['endPage']; ?>' <?php if ($this->_tpl_vars['prerow']): ?>onclick="return sListView.save_checks(<?php echo $this->_tpl_vars['pageData']['offsets']['end']; ?>, '<?php echo $this->_tpl_vars['moduleString']; ?>')"<?php endif; ?> class='listViewPaginationLinkS1'><?php echo $this->_tpl_vars['navStrings']['end']; ?> <img src='<?php echo $this->_tpl_vars['imagePath']; ?>end.gif' alt='<?php echo $this->_tpl_vars['navStrings']['end']; ?>' align='absmiddle' border='0' width='13' height='11'></a></td>
<?php elseif (! $this->_tpl_vars['pageData']['offsets']['totalCounted'] || $this->_tpl_vars['pageData']['offsets']['total'] == $this->_tpl_vars['pageData']['offsets']['lastOffsetOnPage']): ?>
<?php echo $this->_tpl_vars['navStrings']['end']; ?> <img src='<?php echo $this->_tpl_vars['imagePath']; ?>end_off.gif' alt='<?php echo $this->_tpl_vars['navStrings']['end']; ?>' align='absmiddle' border='0' width='13' height='11'>
<?php endif; ?>
</td>
</tr>
</table>
</td>
</tr>
<tr height='20'>
<?php if ($this->_tpl_vars['prerow']): ?>
<td scope='col' class='listViewThS1' nowrap width='1%'>
<input type='checkbox' class='checkbox' name='massall' value='' onclick='sListView.check_all(document.MassUpdate, "mass[]", this.checked);' />
</td>
<?php endif; ?>
<?php echo smarty_function_counter(array('start' => 0,'name' => 'colCounter','print' => false,'assign' => 'colCounter'), $this);?>
<?php $_from = $this->_tpl_vars['displayColumns']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)): foreach ($_from as $this->_tpl_vars['colHeader'] => $this->_tpl_vars['params']):?>
<td scope='col' width='<?php echo $this->_tpl_vars['params']['width']; ?>%' class='listViewThS1' nowrap>
<span sugar="sugar<?php echo $this->_tpl_vars['colCounter']; ?>"><div style='white-space: nowrap;'width='100%' align='<?php echo ((is_array($_tmp=@$this->_tpl_vars['params']['align'])) ? $this->_run_mod_handler('default', true, $_tmp, 'left') : smarty_modifier_default($_tmp, 'left')); ?>'>
<?php if (((is_array($_tmp=@$this->_tpl_vars['params']['sortable'])) ? $this->_run_mod_handler('default', true, $_tmp, true) : smarty_modifier_default($_tmp, true))): ?>
<a href='<?php echo $this->_tpl_vars['pageData']['urls']['orderBy']; echo ((is_array($_tmp=((is_array($_tmp=@$this->_tpl_vars['params']['orderBy'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['colHeader']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['colHeader'])))) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)); ?>' class='listViewThLinkS1'><?php echo smarty_function_sugar_translate(array('label' => $this->_tpl_vars['params']['label'],'module' => $this->_tpl_vars['pageData']['bean']['moduleDir']), $this);?>
<?php if (((is_array($_tmp=((is_array($_tmp=@$this->_tpl_vars['params']['orderBy'])) ? $this->_run_mod_handler('default', true, $_tmp, @$this->_tpl_vars['colHeader']) : smarty_modifier_default($_tmp, @$this->_tpl_vars['colHeader'])))) ? $this->_run_mod_handler('lower', true, $_tmp) : smarty_modifier_lower($_tmp)) == $this->_tpl_vars['pageData']['ordering']['orderBy']): ?>
<?php if ($this->_tpl_vars['pageData']['ordering']['sortOrder'] == 'ASC'): ?>
<img border='0' src='<?php echo $this->_tpl_vars['imagePath']; ?>arrow_down.<?php echo $this->_tpl_vars['arrowExt']; ?>' width='<?php echo $this->_tpl_vars['arrowWidth']; ?>' height='<?php echo $this->_tpl_vars['arrowHeight']; ?>' align='absmiddle' alt='<?php echo $this->_tpl_vars['arrowAlt']; ?>'>
<?php else: ?>
<img border='0' src='<?php echo $this->_tpl_vars['imagePath']; ?>arrow_up.<?php echo $this->_tpl_vars['arrowExt']; ?>' width='<?php echo $this->_tpl_vars['arrowWidth']; ?>' height='<?php echo $this->_tpl_vars['arrowHeight']; ?>' align='absmiddle' alt='<?php echo $this->_tpl_vars['arrowAlt']; ?>'>
<?php endif; ?>
<?php else: ?>
<img border='0' src='<?php echo $this->_tpl_vars['imagePath']; ?>arrow.<?php echo $this->_tpl_vars['arrowExt']; ?>' width='<?php echo $this->_tpl_vars['arrowWidth']; ?>' height='<?php echo $this->_tpl_vars['arrowHeight']; ?>' align='absmiddle' alt='<?php echo $this->_tpl_vars['arrowAlt']; ?>'>
<?php endif; ?>
</a>
<?php else: ?>
<?php echo smarty_function_sugar_translate(array('label' => $this->_tpl_vars['params']['label'],'module' => $this->_tpl_vars['pageData']['bean']['moduleDir']), $this);?>
<?php endif; ?>
</div></span sugar='sugar<?php echo $this->_tpl_vars['colCounter']; ?>'>
</td>
<?php echo smarty_function_counter(array('name' => 'colCounter'), $this);?>
<?php endforeach; endif; unset($_from); ?>
<?php if (! empty ( $this->_tpl_vars['quickViewLinks'] )): ?>
<td scope='col' class='listViewThS1' nowrap width='1%'> </td>
<?php endif; ?>
</tr>
<?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['rowIteration'] = array('total' => count($_from), 'iteration' => 0);if ($this->_foreach['rowIteration']['total'] > 0): foreach ($_from as $this->_tpl_vars['id'] => $this->_tpl_vars['rowData']): $this->_foreach['rowIteration']['iteration']++;?>
<?php if ((1 & $this->_foreach['rowIteration']['iteration'])): ?>
<?php $this->assign('_bgColor', $this->_tpl_vars['bgColor'][0]); ?>
<?php $this->assign('_rowColor', $this->_tpl_vars['rowColor'][0]); ?>
<?php else: ?>
<?php $this->assign('_bgColor', $this->_tpl_vars['bgColor'][1]); ?>
<?php $this->assign('_rowColor', $this->_tpl_vars['rowColor'][1]); ?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -