예제 #1
0
 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);
 }
예제 #2
0
 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();
 }
예제 #3
0
 function _DEFAULT()
 {
     mosMenuBar::startTable();
     mosMenuBar::publishList();
     mosMenuBar::addNew();
     mosMenuBar::editList('edit_source');
     mosMenuBar::deleteList();
     mosMenuBar::help('sect.languages');
     mosMenuBar::endTable();
 }
예제 #4
0
 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();
 }
예제 #6
0
 function _DEFAULT()
 {
     mosMenuBar::startTable();
     mosMenuBar::publishList();
     mosMenuBar::unpublishList();
     mosMenuBar::addNew();
     mosMenuBar::editList();
     mosMenuBar::deleteList();
     mosMenuBar::help('sect.polls');
     mosMenuBar::endTable();
 }
예제 #7
0
 /**
  * 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();
 }
예제 #8
0
 function _DEFAULT()
 {
     mosMenuBar::startTable();
     mosMenuBar::publishList();
     mosMenuBar::unpublishList();
     mosMenuBar::addNew();
     mosMenuBar::editList();
     mosMenuBar::deleteList();
     mosMenuBar::spacer();
     mosMenuBar::endTable();
 }
예제 #9
0
 /**
  * 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();
 }
예제 #10
0
 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();
 }
예제 #12
0
 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();
 }
예제 #13
0
 /**
 * 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();
 }
예제 #14
0
 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();
 }
예제 #16
0
 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();
 }
예제 #18
0
 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();
 }
예제 #19
0
 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();
 }
예제 #20
0
 /**
  * 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();
 }
예제 #22
0
 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();
 }
예제 #25
0
 /**
  * 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();
 }
예제 #27
0
 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();
 }
예제 #28
0
    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" />&nbsp;<?php 
        echo $adminLanguage->A_CANCEL;
        ?>
</a>
		</td>
		<?php 
        mosMenuBar::help('sect.menus');
        mosMenuBar::endTable();
    }
예제 #29
0
 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();
     }
 }
예제 #30
0
 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();
     }
 }