📄 toolbar.content.html.php
字号:
<?php/*** @version $Id: toolbar.content.html.php,v 1.11 2005/02/16 13:08:47 stingrey Exp $* @package Mambo* @subpackage Content* @copyright (C) 2000 - 2005 Miro International Pty Ltd* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL* Mambo is Free Software*//*** @package Mambo* @subpackage Content*/class TOOLBAR_content { function _EDIT() { global $adminLanguage; global $id; mosMenuBar::startTable(); mosMenuBar::preview( 'contentwindow', true ); mosMenuBar::spacer(); mosMenuBar::media_manager(); mosMenuBar::spacer(); mosMenuBar::save(); mosMenuBar::spacer(); mosMenuBar::apply(); mosMenuBar::spacer(); if ( $id ) { // for existing content items the button is renamed `close` mosMenuBar::cancel( 'cancel', _A_CLOSE ); } else { mosMenuBar::cancel(); } mosMenuBar::spacer(); mosMenuBar::help( 'screen.content.edit' ); mosMenuBar::endTable(); } function _ARCHIVE() { global $adminLanguage; mosMenuBar::startTable(); mosMenuBar::unarchiveList(); mosMenuBar::spacer(); mosMenuBar::custom( 'remove', 'delete.png', 'delete_f2.png', ' '. $adminLanguage->A_COMP_CONTENT_BAR_TRASH, false ); mosMenuBar::spacer(); mosMenuBar::help( 'screen.content.archive' ); mosMenuBar::endTable(); } function _MOVE() { global $adminLanguage; mosMenuBar::startTable(); mosMenuBar::custom( 'movesectsave', 'save.png', 'save_f2.png', ' '. $adminLanguage->A_COMP_CONTENT_BAR_SAVE, false ); mosMenuBar::spacer(); mosMenuBar::cancel(); mosMenuBar::endTable(); } function _COPY() { global $adminLanguage; mosMenuBar::startTable(); mosMenuBar::custom( 'copysave', 'save.png', 'save_f2.png', ' '. $adminLanguage->A_COMP_CONTENT_BAR_SAVE, false ); mosMenuBar::spacer(); mosMenuBar::cancel(); mosMenuBar::endTable(); } function _DEFAULT() { global $adminLanguage; 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', _A_MOVE ); mosMenuBar::spacer(); mosMenuBar::customX( 'copy', 'copy.png', 'copy_f2.png', _A_COPY ); mosMenuBar::spacer(); mosMenuBar::archiveList(); mosMenuBar::spacer(); mosMenuBar::trash(); mosMenuBar::spacer(); mosMenuBar::help( 'screen.content' ); mosMenuBar::endTable(); }}?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -