📄 default.php
字号:
<?phpdefined('_JEXEC') or die('Restricted access');// temporary fix$hlevel = 2;$ptlevel = 1;if ($this->params->get('show_page_title')) { echo '<h' . $ptlevel . ' class="componentheading' . $this->params->get('pageclass_sfx') . '">'; echo $this->section->title; echo '</h' . $ptlevel . '>';}if ($this->params->def('show_description', 1) || $this->params->def('show_description_image', 1)) { $wrap = ''; echo '<div class="contentdescription' . $this->params->get('pageclass_sfx') . '">'; if ($this->params->get('show_description_image') && $this->section->image) { $wrap = '<div class="wrap_image"> </div>'; echo '<img src="images/stories/' . $this->section->image . '" class=image_"' . $this->section->image_position . '" />'; } if ($this->params->get('show_description') && $this->section->description) { echo $this->section->description; } echo $wrap; echo '</div>';}if ($this->params->def('show_categories', 1)) { if (count($this->categories)) { echo '<ul>'; foreach ($this->categories as $category) { if (!$this->params->get('show_empty_categories') && !$category->numitems) continue; echo '<li>'; echo '<a href="' . $category->link . '" class="category" >'; echo $category->title; echo '</a>'; if ($this->params->get('show_cat_num_articles')) { echo ' <span class="small">( '; echo $category->numitems . " " . JText :: _('items') . ' )</span>'; } if ($this->params->def('show_category_description', 1) && $category->description) { echo '<br />'; echo $category->description; } echo '</li>'; } echo '</ul>'; }}?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -