Пример #1
0
 function make_core()
 {
     return "[\n '" . $this->spacer10 . "<a class=\"standout\">" . AMP_clearSpecialChars(AMP_CONTENT_SECTION_NAME_ROOT) . "</a>', '', " . $this->outputChildren(false) . "]";
     /*
             return '[\'</a><a href="type_edit.php?id=1"><img src="images/edit.png" border="0" valign="bottom"></a>'.
     '&nbsp;<a href="article_list.php?type=1"><img src="images/spacer.gif" width="7" border="0">'.
     '<img src="images/view.jpg" border="0"><img src="images/spacer.gif" width="5" border="0">Front Page</a> \''.
     ', \'article_list.php?type=1\', ' .$this->outputChildren( false ) . ']' ;
     */
 }
Пример #2
0
 function _menuItemArticleList($section_id)
 {
     return array('id' => $section_id, 'label' => AMP_trimText(AMP_clearSpecialChars($this->getName($section_id)), 80) . " ( " . $this->getTotals($section_id) . " )", 'href' => AMP_Url_AddVars(AMP_SYSTEM_URL_ARTICLE, array('section=' . $section_id)));
 }