[ Index ] |
|
Code source de Joomla 1.0.13 |
1 <?php 2 /** 3 * @version $Id: template.php 330 2005-10-02 15:39:51Z Jinx $ 4 * @package Joomla 5 * @subpackage Installer 6 * @copyright Copyright (C) 2005 Open Source Matters. All rights reserved. 7 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php 8 * Joomla! is free software. This version may have been modified pursuant 9 * to the GNU General Public License, and as distributed it includes or 10 * is derivative of works licensed under the GNU General Public License or 11 * other free or open source software licenses. 12 * See COPYRIGHT.php for copyright notices and details. 13 */ 14 15 // no direct access 16 defined( '_VALID_MOS' ) or die( 'Restricted access' ); 17 18 // ensure user has access to this function 19 if ( !$acl->acl_check( 'administration', 'install', 'users', $my->usertype, $element . 's', 'all' ) ) { 20 mosRedirect( 'index2.php', _NOT_AUTH ); 21 } 22 23 $client = mosGetParam( $_REQUEST, 'client', '' ); 24 $userfile = mosGetParam( $_REQUEST, 'userfile', dirname( __FILE__ ) ); 25 $userfile = mosPathName( $userfile ); 26 27 HTML_installer::showInstallForm( 'Install new Template <small><small>[ ' . ($client == 'admin' ? 'Administrator' : 'Site') .' ]</small></small>', 28 $option, 'template', $client, $userfile, 29 '<a href="index2.php?option=com_templates&client='.$client.'">Back to Templates</a>' 30 ); 31 ?> 32 <table class="content"> 33 <?php 34 writableCell( 'media' ); 35 writableCell( 'administrator/templates' ); 36 writableCell( 'templates' ); 37 writableCell( 'images/stories' ); 38 ?> 39 </table>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Wed Nov 21 14:43:32 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |