function listMenu($entity) { mosMenuBar::publishList('publish', 'Publish ' . $entity); mosMenuBar::unpublishList('unpublish', 'UnPublish ' . $entity); mosMenuBar::addNew('add', 'Add ' . $entity); mosMenuBar::editList('edit', 'Edit ' . $entity); mosMenuBar::deleteList('', 'delete', 'Delete ' . $entity); }
function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::unpublishList(); mosMenuBar::archiveList(); mosMenuBar::custom('remove', 'delete.png', 'delete_f2.png', 'Remove', true); mosMenuBar::help('sect.frontpage'); mosMenuBar::endTable(); }
function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::addNew(); mosMenuBar::editList('edit_source'); mosMenuBar::deleteList(); mosMenuBar::help('sect.languages'); mosMenuBar::endTable(); }
function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::addNew(); mosMenuBar::editList(); mosMenuBar::publishList(); mosMenuBar::unpublishList(); mosMenuBar::trash(); mosMenuBar::help('sect.typedcontent'); mosMenuBar::endTable(); }
function SET_MENU() { mosMenuBar::startTable(); mosMenuBar::addNew('newSet'); mosMenuBar::editList('editSet'); mosMenuBar::deleteList('', 'removeSet'); mosMenuBar::spacer(); mosMenuBar::publishList('publishSet'); mosMenuBar::unpublishList('unpublishSet'); mosMenuBar::endTable(); }
function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::unpublishList(); mosMenuBar::addNew(); mosMenuBar::editList(); mosMenuBar::deleteList(); mosMenuBar::help('sect.polls'); mosMenuBar::endTable(); }
/** * Draws a default set of menu icons */ function MENU_Default() { mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::unpublishList(); mosMenuBar::addNew(); mosMenuBar::editList(); mosMenuBar::deleteList(); mosMenuBar::spacer(); mosMenuBar::endTable(); }
function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::unpublishList(); mosMenuBar::addNew(); mosMenuBar::editList(); mosMenuBar::deleteList(); mosMenuBar::spacer(); mosMenuBar::endTable(); }
/** * Draws the menu for Editing an existing category */ function _DEFAULT() { global $adminLanguage; mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::unpublishList(); mosMenuBar::addNew(); mosMenuBar::custom('copyselect', 'copy.png', 'copy_f2.png', ' ' . $adminLanguage->A_COMP_CONTENT_BAR_COPY, true); mosMenuBar::editList(); mosMenuBar::deleteList(); mosMenuBar::endTable(); }
function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::unpublishList(); mosMenuBar::media_manager("banners"); mosMenuBar::addNew(); mosMenuBar::editList(); mosMenuBar::deleteList(); mosMenuBar::spacer(); mosMenuBar::help('sect.banners'); mosMenuBar::endTable(); }
public static function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::spacer(); mosMenuBar::deleteList(); mosMenuBar::spacer(); mosMenuBar::editListX('edit_source'); mosMenuBar::spacer(); mosMenuBar::addNew(); mosMenuBar::spacer(); mosMenuBar::help('screen.languages'); mosMenuBar::endTable(); }
function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::spacer(); mosMenuBar::unpublishList(); mosMenuBar::spacer(); mosMenuBar::archiveList(); mosMenuBar::spacer(); mosMenuBar::custom('remove', 'delete.png', 'delete_f2.png', T_('Remove'), true); mosMenuBar::spacer(); mosMenuBar::help('manager'); mosMenuBar::endTable(); }
/** * Draws the menu for List */ function LIST_ITEM() { mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::spacer(); mosMenuBar::unpublishList(); mosMenuBar::spacer(); mosMenuBar::deleteList("", "del"); mosMenuBar::spacer(); mosMenuBar::editListX("editA"); mosMenuBar::spacer(); mosMenuBar::addnewX("new"); mosMenuBar::spacer(); mosMenuBar::endTable(); }
function _DEFAULT() { global $adminLanguage; mosMenuBar::startTable(); mosMenuBar::addNew(); mosMenuBar::editList('editA'); mosMenuBar::publishList(); mosMenuBar::unpublishList(); mosMenuBar::custom('movesect', 'move.png', 'move_f2.png', ' ' . $adminLanguage->A_COMP_CONTENT_BAR_MOVE); mosMenuBar::custom('copy', 'copy.png', 'copy_f2.png', ' ' . $adminLanguage->A_COMP_CONTENT_BAR_COPY); mosMenuBar::archiveList(); mosMenuBar::trash(); mosMenuBar::help('sect.content'); mosMenuBar::endTable(); }
function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::spacer(); mosMenuBar::unpublishList(); mosMenuBar::spacer(); mosMenuBar::deleteList(); mosMenuBar::spacer(); mosMenuBar::editListX(); mosMenuBar::spacer(); mosMenuBar::addNewX(); mosMenuBar::spacer(); mosMenuBar::help('screen.mambots'); mosMenuBar::endTable(); }
public static function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::spacer(); mosMenuBar::unpublishList(); mosMenuBar::spacer(); mosMenuBar::deleteList(); mosMenuBar::spacer(); mosMenuBar::editListX(); mosMenuBar::spacer(); mosMenuBar::addNewX(); mosMenuBar::spacer(); mosMenuBar::help('screen.contactmanager'); mosMenuBar::endTable(); }
public static function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::spacer(); mosMenuBar::unpublishList(); mosMenuBar::spacer(); mosMenuBar::trash(); mosMenuBar::spacer(); mosMenuBar::editListX('editA'); mosMenuBar::spacer(); mosMenuBar::addNewX(); mosMenuBar::spacer(); mosMenuBar::help('screen.staticcontent'); mosMenuBar::endTable(); }
function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::addNewX(); mosMenuBar::spacer(); mosMenuBar::editListX('editA'); mosMenuBar::spacer(); mosMenuBar::publishList(); mosMenuBar::spacer(); mosMenuBar::unpublishList(); mosMenuBar::spacer(); mosMenuBar::trash(); mosMenuBar::spacer(); mosMenuBar::help('manager'); mosMenuBar::endTable(); }
function DEFAULT_MENU() { mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::spacer(); mosMenuBar::unpublishList(); mosMenuBar::spacer(); mosMenuBar::addNewX(); mosMenuBar::spacer(); mosMenuBar::editListX(); mosMenuBar::spacer(); mosMenuBar::deleteList(); mosMenuBar::spacer(); mosMenuBar::help('manager'); mosMenuBar::endTable(); }
/** * Draws the menu for Editing an existing category */ function _DEFAULT() { $section = mosGetParam($_REQUEST, 'section', ''); mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::unpublishList(); mosMenuBar::addNew(); if ($section == 'content' || $section > 0) { mosMenuBar::custom('moveselect', 'move.png', 'move_f2.png', ' Move', true); mosMenuBar::custom('copyselect', 'copy.png', 'copy_f2.png', ' Copy', true); } mosMenuBar::editList(); mosMenuBar::deleteList(); mosMenuBar::spacer(); mosMenuBar::help('sect.categories'); mosMenuBar::endTable(); }
function _LIST() { global $id, $cid, $priTask, $subTask; mosMenuBar::startTable(); mosMenuBar::custom('home', 'back.png', 'back_f2.png', 'Home', false); mosMenuBar::spacer(); mosMenuBar::addNewX($priTask . '.new'); mosMenuBar::spacer(); mosMenuBar::editListX($priTask . '.edit'); mosMenuBar::spacer(); mosMenuBar::deleteListX('', $priTask . '.remove'); mosMenuBar::spacer(); mosMenuBar::publishList($priTask . '.publish'); mosMenuBar::spacer(); mosMenuBar::unpublishList($priTask . '.unpublish'); mosMenuBar::endTable(); }
function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::publishList('publish'); mosMenuBar::spacer(); mosMenuBar::unpublishList('unpublish'); mosMenuBar::spacer(); mosMenuBar::deleteList('remove'); mosMenuBar::spacer(); mosMenuBar::editListX('edit'); mosMenuBar::spacer(); mosMenuBar::addNewX('add'); mosMenuBar::spacer(); mosMenuBar::help('screen.jumi'); mosMenuBar::spacer(); mosMenuBar::endTable(); }
function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::spacer(); mosMenuBar::unpublishList(); mosMenuBar::spacer(); mosMenuBar::custom('copy', 'copy.png', 'copy_f2.png', 'Copiar', true); mosMenuBar::spacer(); mosMenuBar::deleteList(); mosMenuBar::spacer(); mosMenuBar::editListX(); mosMenuBar::spacer(); mosMenuBar::addNewX(); mosMenuBar::spacer(); mosMenuBar::help('screen.modules'); mosMenuBar::endTable(); }
/** * Draws the menu for Editing an existing category */ public static function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::spacer(); mosMenuBar::unpublishList(); mosMenuBar::spacer(); mosMenuBar::customX('copyselect', 'copy.png', 'copy_f2.png', 'Copy', true); mosMenuBar::spacer(); mosMenuBar::deleteList(); mosMenuBar::spacer(); mosMenuBar::editListX(); mosMenuBar::spacer(); mosMenuBar::addNewX(); mosMenuBar::spacer(); mosMenuBar::help('screen.sections'); mosMenuBar::endTable(); }
/** * Draws the menu for Editing an existing category */ function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::publishList(); mosMenuBar::spacer(); mosMenuBar::unpublishList(); mosMenuBar::spacer(); mosMenuBar::addNewX(); mosMenuBar::spacer(); mosMenuBar::customX('copyselect', 'copy.png', 'copy_f2.png', T_('Copy'), true); mosMenuBar::spacer(); mosMenuBar::editListX(); mosMenuBar::spacer(); mosMenuBar::deleteList(); mosMenuBar::spacer(); mosMenuBar::help('manager'); mosMenuBar::endTable(); }
function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::archiveList(); mosMenuBar::spacer(); mosMenuBar::publishList(); mosMenuBar::spacer(); mosMenuBar::unpublishList(); mosMenuBar::spacer(); mosMenuBar::customX('movesect', 'move.png', 'move_f2.png', 'Mover'); mosMenuBar::spacer(); mosMenuBar::customX('copy', 'copy.png', 'copy_f2.png', 'Copiar'); mosMenuBar::spacer(); mosMenuBar::trash(); mosMenuBar::spacer(); mosMenuBar::editListX('editar'); mosMenuBar::spacer(); mosMenuBar::addNewX(); mosMenuBar::spacer(); mosMenuBar::help('screen.content'); mosMenuBar::endTable(); }
function _DEFAULT() { mosMenuBar::startTable(); mosMenuBar::addNewX(); mosMenuBar::spacer(); mosMenuBar::editListX('editA'); mosMenuBar::spacer(); mosMenuBar::publishList(); mosMenuBar::spacer(); mosMenuBar::unpublishList(); mosMenuBar::spacer(); mosMenuBar::customX('movesect', 'move.png', 'move_f2.png', T_('Move')); mosMenuBar::spacer(); mosMenuBar::customX('copy', 'copy.png', 'copy_f2.png', T_('Copy')); mosMenuBar::spacer(); mosMenuBar::archiveList(); mosMenuBar::spacer(); mosMenuBar::trash(); mosMenuBar::spacer(); mosMenuBar::help('manager'); mosMenuBar::endTable(); }
function _DEFAULT() { global $adminLanguage; mosMenuBar::startTable(); mosMenuBar::addNew(); mosMenuBar::editList(); mosMenuBar::publishList(); mosMenuBar::unpublishList(); mosMenuBar::custom('movemenu', 'move.png', 'move_f2.png', ' ' . $adminLanguage->A_COMP_CONTENT_BAR_MOVE, true); mosMenuBar::custom('copymenu', 'copy.png', 'copy_f2.png', ' ' . $adminLanguage->A_COMP_CONTENT_BAR_COPY, true); mosMenuBar::trash(); ?> <td> <a class="toolbar" href="index2.php?option=com_menumanager" onmouseout="MM_swapImgRestore();" onmouseover="MM_swapImage('cancel','','images/cancel_f2.png',1);"> <img src="images/cancel.png" alt="Cancel" border="0" name="cancel" align="middle" /> <?php echo $adminLanguage->A_CANCEL; ?> </a> </td> <?php mosMenuBar::help('sect.menus'); mosMenuBar::endTable(); }
public static function customBBCode() { if (JCOMMENTS_JVERSION == '1.0') { mosMenuBar::startTable(); mosMenuBar::spacer(); mosMenuBar::publishList('custombbcodes.publish'); mosMenuBar::spacer(); mosMenuBar::unpublishList('custombbcodes.unpublish'); mosMenuBar::spacer(); mosMenuBar::addNewX('custombbcodes.new'); mosMenuBar::spacer(); mosMenuBar::editList('custombbcodes.edit'); mosMenuBar::spacer(); mosMenuBar::custom('custombbcodes.copy', 'copy.png', 'copy_f2.png', JText::_('A_COPY'), true); mosMenuBar::spacer(); mosMenuBar::deleteList('', 'custombbcodes.remove'); mosMenuBar::endTable(); } else { JToolBarHelper::title(JText::_('A_CUSTOM_BBCODE'), 'jcomments-custombbcodes'); JToolBarHelper::addNewX('custombbcodes.new'); JToolBarHelper::editList('custombbcodes.edit'); JToolBarHelper::custom('custombbcodes.copy', 'copy.png', 'copy_f2.png', 'A_COPY', true); JToolBarHelper::divider(); JToolBarHelper::publishList('custombbcodes.publish'); JToolBarHelper::unpublishList('custombbcodes.unpublish'); JToolBarHelper::divider(); JToolBarHelper::deleteList('', 'custombbcodes.remove'); JCommentsSubMenuHelper::addSubMenu(); } }
function CUSTOMBBCODE_MENU() { if (JCOMMENTS_JVERSION == '1.5') { JToolBarHelper::title(JText::_('Custom BBCode'), 'jcomments-custombbcode'); JToolBarHelper::publishList('custombbcode.publish'); JToolBarHelper::unpublishList('custombbcode.unpublish'); JToolBarHelper::addNewX('custombbcode.new'); JToolBarHelper::editList('custombbcode.edit'); JToolBarHelper::custom('custombbcode.copy', 'copy.png', 'copy_f2.png', 'Copy', true); JToolBarHelper::deleteList('', 'custombbcode.delete'); } else { mosMenuBar::startTable(); mosMenuBar::spacer(); mosMenuBar::publishList('custombbcode.publish'); mosMenuBar::spacer(); mosMenuBar::unpublishList('custombbcode.unpublish'); mosMenuBar::spacer(); mosMenuBar::addNewX(); mosMenuBar::spacer(); mosMenuBar::editList('custombbcode.edit'); mosMenuBar::spacer(); mosMenuBar::custom('custombbcode.copy', 'copy.png', 'copy_f2.png', 'Copy', true); mosMenuBar::spacer(); mosMenuBar::deleteList('', 'custombbcode.delete'); mosMenuBar::endTable(); } }