本文整理汇总了PHP中mosMenuBar::back方法的典型用法代码示例。如果您正苦于以下问题:PHP mosMenuBar::back方法的具体用法?PHP mosMenuBar::back怎么用?PHP mosMenuBar::back使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类mosMenuBar
的用法示例。
在下文中一共展示了mosMenuBar::back方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _EDIT
/**
* Draws the menu to edit a menu item
*/
function _EDIT()
{
global $id;
if (!$id) {
$cid = josGetArrayInts('cid');
$id = $cid[0];
}
$menutype = strval(mosGetParam($_REQUEST, 'menutype', 'mainmenu'));
mosMenuBar::startTable();
if (!$id) {
$link = 'index2.php?option=com_menus&menutype=' . $menutype . '&task=new&hidemainmenu=1&' . josSpoofValue() . '=1';
mosMenuBar::back('Back', $link);
mosMenuBar::spacer();
}
mosMenuBar::save();
mosMenuBar::spacer();
mosMenuBar::apply();
mosMenuBar::spacer();
if ($id) {
// for existing content items the button is renamed `close`
mosMenuBar::cancel('cancel', 'Close');
} else {
mosMenuBar::cancel();
}
mosMenuBar::spacer();
mosMenuBar::help('screen.menus.edit');
mosMenuBar::endTable();
}
示例2: _VIEW
function _VIEW()
{
mosMenuBar::startTable();
mosMenuBar::back();
mosMenuBar::spacer();
mosMenuBar::endTable();
}
示例3: _EDIT
/**
* Draws the menu to edit a menu item
*/
function _EDIT($type)
{
global $id;
$hs = '';
if (!$id) {
$cid = mosGetParam($_POST, 'cid', array(0));
$id = $cid[0];
}
$menutype = mosGetParam($_REQUEST, 'menutype', 'mainmenu');
mosMenuBar::startTable();
if (!$id) {
$link = 'index2.php?option=com_menus&menutype=' . $menutype . '&task=new&hidemainmenu=1';
mosMenuBar::back(T_('Back'), $link);
mosMenuBar::spacer();
}
mosMenuBar::save();
mosMenuBar::spacer();
mosMenuBar::apply();
mosMenuBar::spacer();
if ($id) {
// for existing content items the button is renamed `close`
mosMenuBar::cancel('cancel', T_('Close'));
} else {
mosMenuBar::cancel();
}
mosMenuBar::spacer();
mosMenuBar::help($type);
mosMenuBar::endTable();
}
示例4: ABOUT_MENU
function ABOUT_MENU()
{
mosMenuBar::startTable();
mosMenuBar::back();
mosMenuBar::spacer();
mosMenuBar::endTable();
}
示例5: _SETTINGS
function _SETTINGS()
{
mosMenuBar::startTable();
mosMenuBar::save();
mosMenuBar::spacer();
mosMenuBar::back();
mosMenuBar::endTable();
}
示例6: about
public static function about()
{
if (JCOMMENTS_JVERSION == '1.0') {
mosMenuBar::startTable();
mosMenuBar::spacer();
mosMenuBar::back();
mosMenuBar::spacer();
mosMenuBar::endTable();
} else {
JToolBarHelper::title(JText::_('A_SUBMENU_ABOUT'), 'jcomments-logo');
JToolBarHelper::back();
JCommentsSubMenuHelper::addSubMenu();
}
}
示例7: _VIEW
public static function _VIEW()
{
mosMenuBar::startTable();
mosMenuBar::back();
mosMenuBar::endTable();
}
示例8:
}
} else {
if ($task == "edtimg") {
mosMenuBar::save('save', _ZOOM_SAVE);
mosMenuBar::spacer();
}
}
mosMenuBar::spacer();
mosMenuBar::back(_ZOOM_BACK);
break;
case 'upload':
$url = "index2.php?option=com_zoom&page=mediamgr";
if (!empty($zoom->_gallery)) {
$url .= "&catid=" . $zoom->_gallery->_id;
}
mosMenuBar::back(_ZOOM_BACK, $url);
break;
case 'settings':
mosMenuBar::save('save', _ZOOM_SAVE);
mosMenuBar::spacer();
mosMenuBar::cancel('cancel', _ZOOM_WINDOW_CLOSE);
break;
case 'credits':
case 'zoomthumb':
mosMenuBar::back(_ZOOM_BACK);
break;
default:
mosMenuBar::spacer();
break;
}
mosMenuBar::endTable();
示例9: PERMISSION_MENU
function PERMISSION_MENU()
{
mosMenuBar::startTable();
mosMenuBar::save('savePermissions');
mosMenuBar::back();
mosMenuBar::endTable();
}
示例10: ABOUT
function ABOUT()
{
mosMenuBar::startTable();
mosMenuBar::back();
mosMenuBar::spacer();
mosMenuBar::custom('cpanel', 'tool.png', 'tool_f2.png', _ACA_MENU_CPANEL, false);
mosMenuBar::endTable();
}
示例11:
case "cancel":
mosMenuBar::startTable();
mosMenuBar::spacer();
mosMenuBar::endTable();
break;
case "editautoresponder":
mosMenuBar::startTable();
mosMenuBar::save( 'saveautoresponder', _UDDEIM_TOOLBAR_SAVE );
mosMenuBar::back("Back", $index."?option=$option&task=usersettings");
mosMenuBar::spacer();
mosMenuBar::endTable();
break;
case "editautoforward":
mosMenuBar::startTable();
mosMenuBar::save( 'saveautoforward', _UDDEIM_TOOLBAR_SAVE );
mosMenuBar::back("Back", $index."?option=$option&task=usersettings");
mosMenuBar::spacer();
mosMenuBar::endTable();
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'))