default_items.php
来自「Joomla!是一套获得过多个奖项的内容管理系统(Content Managem」· PHP 代码 · 共 62 行
PHP
62 行
<?php // no direct accessdefined('_JEXEC') or die('Restricted access'); ?><form action="<?php echo JRoute::_('index.php?view=category&id='.$this->category->slug); ?>" method="post" name="adminForm"><table width="100%" border="0" cellspacing="0" cellpadding="0"><?php if ($this->params->get('show_limit')) : ?><tr> <td align="right" colspan="4"> <?php echo JText::_('Display Num') .' '; echo $this->pagination->getLimitBox(); ?> </td></tr><?php endif; ?><?php if ( $this->params->get( 'show_headings' ) ) : ?><tr> <td class="sectiontableheader<?php echo $this->params->get( 'pageclass_sfx' ); ?>" align="right" width="5"> <?php echo JText::_('Num'); ?> </td> <?php if ( $this->params->get( 'show_name' ) ) : ?> <td height="20" width="90%" class="sectiontableheader<?php echo $this->params->get( 'pageclass_sfx' ); ?>"> <?php echo JText::_( 'Feed Name' ); ?> </td> <?php endif; ?> <?php if ( $this->params->get( 'show_articles' ) ) : ?> <td height="20" width="10%" class="sectiontableheader<?php echo $this->params->get( 'pageclass_sfx' ); ?>" align="center" nowrap="nowrap"> <?php echo JText::_( 'Num Articles' ); ?> </td> <?php endif; ?> </tr><?php endif; ?><?php foreach ($this->items as $item) : ?><tr class="sectiontableentry<?php echo $item->odd + 1; ?>"> <td align="right" width="5"> <?php echo $item->count + 1; ?> </td> <td height="20" width="90%"> <a href="<?php echo $item->link; ?>" class="category<?php echo $this->params->get( 'pageclass_sfx' ); ?>"> <?php echo $item->name; ?></a> </td> <?php if ( $this->params->get( 'show_articles' ) ) : ?> <td height="20" width="10%" align="center"> <?php echo $item->numarticles; ?> </td> <?php endif; ?></tr><?php endforeach; ?><tr> <td align="center" colspan="4" class="sectiontablefooter<?php echo $this->params->get( 'pageclass_sfx' ); ?>"> <?php echo $this->pagination->getPagesLinks(); ?> </td></tr><tr> <td colspan="4" align="right"> <?php echo $this->pagination->getPagesCounter(); ?> </td></tr></table></form>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?