本文整理汇总了PHP中mosMenuBar::customX方法的典型用法代码示例。如果您正苦于以下问题:PHP mosMenuBar::customX方法的具体用法?PHP mosMenuBar::customX怎么用?PHP mosMenuBar::customX使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类mosMenuBar
的用法示例。
在下文中一共展示了mosMenuBar::customX方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _VIEW
public static function _VIEW()
{
mosMenuBar::startTable();
mosMenuBar::customX('reply', 'restore.png', 'restore_f2.png', 'Reply', false);
mosMenuBar::spacer();
mosMenuBar::deleteList();
mosMenuBar::spacer();
mosMenuBar::cancel();
mosMenuBar::endTable();
}
示例2: _DEFAULT
/**
* Draws the menu for the Menu Manager
*/
function _DEFAULT()
{
mosMenuBar::startTable();
mosMenuBar::addNewX();
mosMenuBar::spacer();
mosMenuBar::editListX();
mosMenuBar::spacer();
mosMenuBar::customX('copyconfirm', 'copy.png', 'copy_f2.png', T_('Copy'), true);
mosMenuBar::spacer();
mosMenuBar::customX('deleteconfirm', 'delete.png', 'delete_f2.png', T_('Delete'), true);
mosMenuBar::spacer();
mosMenuBar::help('main');
mosMenuBar::endTable();
}
示例3: _DEFAULT
/**
* Draws the menu for the Menu Manager
*/
public static function _DEFAULT()
{
mosMenuBar::startTable();
mosMenuBar::customX('copyconfirm', 'copy.png', 'copy_f2.png', 'Copy', true);
mosMenuBar::spacer();
mosMenuBar::customX('deleteconfirm', 'delete.png', 'delete_f2.png', 'Delete', true);
mosMenuBar::spacer();
mosMenuBar::editListX();
mosMenuBar::spacer();
mosMenuBar::addNewX();
mosMenuBar::spacer();
mosMenuBar::help('screen.menumanager');
mosMenuBar::endTable();
}
示例4: _DEFAULT
/**
* 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();
}
示例5: _DEFAULT
/**
* 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();
}
示例6: _DEFAULT
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();
}
示例7: _DEFAULT
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();
}
示例8: _DEFAULT
/**
* Draws the menu for Editing an existing category
*/
public static function _DEFAULT()
{
$section = mosGetParam($_REQUEST, 'section', '');
mosMenuBar::startTable();
mosMenuBar::publishList();
mosMenuBar::spacer();
mosMenuBar::unpublishList();
mosMenuBar::spacer();
if ($section == 'content' || $section > 0) {
mosMenuBar::customX('moveselect', 'move.png', 'move_f2.png', 'Move', true);
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.categories');
mosMenuBar::endTable();
}
示例9: _DEFAULT
function _DEFAULT()
{
mosMenuBar::startTable();
mosMenuBar::publishList();
mosMenuBar::spacer();
mosMenuBar::unpublishList();
mosMenuBar::spacer();
mosMenuBar::customX('movemenu', 'move.png', 'move_f2.png', 'Move', true);
mosMenuBar::spacer();
mosMenuBar::customX('copymenu', 'copy.png', 'copy_f2.png', 'Copy', true);
mosMenuBar::spacer();
mosMenuBar::trash();
mosMenuBar::spacer();
mosMenuBar::editListX();
mosMenuBar::spacer();
mosMenuBar::addNewX();
mosMenuBar::spacer();
mosMenuBar::help('screen.menus');
mosMenuBar::endTable();
}
示例10: catalogs
function catalogs()
{
mosMenuBar::startTable();
mosMenuBar::customX('update', 'publish.png', 'publish_f2.png', T_('Update'), false);
mosMenuBar::spacer();
mosMenuBar::editListX('edit');
mosMenuBar::spacer();
mosMenuBar::cancel();
mosMenuBar::spacer();
#mosMenuBar::help( 'screen.languages.main' );
mosMenuBar::endTable();
}
示例11:
break;
case "settings":
default:
if (strncasecmp($ver->RELEASE, "3.0", 3)) { // if NOT Version 3.0 which had a bug
// if ($xver<3) {
mosMenuBar::startTable();
// mosMenuBar::customX( 'usersettings', '../components/com_uddeim/images/user.png', '../components/com_uddeim/images/user.png', 'User settings', false );
// mosMenuBar::customX( 'usersettings', 'user.png', 'user.png', 'User settings', false );
// mosMenuBar::customX( 'backuprestore', 'archive.png', 'archive_f2.png', 'Backup & Restore', false );
if (uddeIMcheckPlugin('mcp'))
if (uddeIMcheckVersionPlugin('mcp'))
mosMenuBar::customX( 'mcp', 'edit.png', 'edit_f2.png', _UDDEIM_TOOLBAR_MCP, false );
if (uddeIMcheckPlugin('spamcontrol'))
if (uddeIMcheckVersionPlugin('spamcontrol'))
mosMenuBar::customX( 'spamcontrol', 'edit.png', 'edit_f2.png', _UDDEIM_TOOLBAR_SPAMCONTROL, false );
mosMenuBar::customX( 'usersettings', 'edit.png', 'edit_f2.png', _UDDEIM_TOOLBAR_USERSETTINGS, false );
mosMenuBar::save( 'savesettings', _UDDEIM_TOOLBAR_SAVE );
// mosMenuBar::customX( 'usersettings', 'edit.png', 'edit_f2.png', 'User settings', false );
// mosMenuBar::save( 'savesettings', 'Save' );
mosMenuBar::cancel();
mosMenuBar::spacer();
mosMenuBar::endTable();
} else {
mosMenuBar::startTable();
if (uddeIMcheckPlugin('mcp'))
if (uddeIMcheckVersionPlugin('mcp'))
mosMenuBar::custom( 'mcp', 'edit.png', 'edit_f2.png', _UDDEIM_TOOLBAR_MCP, false );
if (uddeIMcheckPlugin('spamcontrol'))
if (uddeIMcheckVersionPlugin('spamcontrol'))
mosMenuBar::custom( 'spamcontrol', 'edit.png', 'edit_f2.png', _UDDEIM_TOOLBAR_SPAMCONTROL, false );
mosMenuBar::custom( 'usersettings', 'edit.png', 'edit_f2.png', _UDDEIM_TOOLBAR_USERSETTINGS, false );
示例12: _DEFAULT
/**
* Draws the menu for Editing an existing category
*/
function _DEFAULT()
{
$section = mosGetParam($_REQUEST, 'section', '');
mosMenuBar::startTable();
mosMenuBar::publishList();
mosMenuBar::spacer();
mosMenuBar::unpublishList();
mosMenuBar::spacer();
mosMenuBar::addNewX();
mosMenuBar::spacer();
if ($section == 'content' || $section > 0) {
mosMenuBar::customX('moveselect', 'move.png', 'move_f2.png', T_('Move'), true);
mosMenuBar::spacer();
mosMenuBar::customX('copyselect', 'copy.png', 'copy_f2.png', T_('Copy'), true);
mosMenuBar::spacer();
}
mosMenuBar::editListX();
mosMenuBar::spacer();
mosMenuBar::deleteList();
mosMenuBar::spacer();
$section = '';
if (strstr($GLOBALS['section'], 'com_contact')) {
$section = 'contact.';
}
if (strstr($GLOBALS['section'], 'com_newsfeeds')) {
$section = 'newsfeeds.';
}
if (strstr($GLOBALS['section'], 'com_weblinks')) {
$section = 'weblinks.';
}
mosMenuBar::help($section . 'manager');
mosMenuBar::endTable();
}