toolbar.easygallery.php

来自「这是一个joomla系统的插件, 这是一个joomla系统的插件」· PHP 代码 · 共 60 行

PHP
60 行
字号
<?php/*** @package EasyGallery* @copyright (C) 2006 Joomla-addons.org* @author  Adam van Dongen* @version $Id: toolbar.easygallery.php 4 2007-06-16 14:22:19Z websmurf $* * --------------------------------------------------------------------------------* All rights reserved. Easy Gallery Component for Joomla!** This program is free software; you can redistribute it and/or* modify it under the terms of the Joomla-addons Free Software License * See LICENSE.php for more information.** This program is distributed in the hope that it will be useful,* but WITHOUT ANY WARRANTY; without even the implied warranty of* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  * --------------------------------------------------------------------------------**/// no direct accessdefined( '_VALID_MOS' ) or die( 'Restricted access' );require_once( $mainframe->getPath( 'toolbar_html' ) );$act = mosGetParam($_REQUEST, 'act');if(empty($act) || ($act == 'updates')){  return;}if($act == 'configuration'){  TOOLBAR_easygallery::_EDIT();  return;}if($act == 'photos'){  switch ($task) {  	case 'new':  	  TOOLBAR_easygallery::_EDIT_PHOTOS();  	  break;  	case 'edit':  		TOOLBAR_easygallery::_EDIT();  		break;    	default:  		TOOLBAR_easygallery::_DEFAULT_PHOTOS();  		break;  }  return;}switch ($task) {	case 'new':	case 'edit':		TOOLBAR_easygallery::_EDIT( );		break;	default:		TOOLBAR_easygallery::_DEFAULT();		break;}?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?