View of /mambo/trunk/administrator/components/com_installer/template/template.php
Parent Directory
|
Revision Log
Revision 1 -
(download)
(annotate)
Tue Dec 13 03:45:47 2005 UTC (7 years, 6 months ago) by root
File size: 1212 byte(s)
Tue Dec 13 03:45:47 2005 UTC (7 years, 6 months ago) by root
File size: 1212 byte(s)
Initial repository layout
<?php /** * @version $Id: template.php,v 1.1 2005/07/22 01:52:34 eddieajau Exp $ * @package Mambo * @subpackage Installer * @copyright (C) 2000 - 2005 Miro International Pty Ltd * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * Mambo is Free Software */ /** ensure this file is being included by a parent file */ defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); // ensure user has access to this function if ( !$acl->acl_check( 'administration', 'install', 'users', $my->usertype, $element . 's', 'all' ) ) { mosRedirect( 'index2.php', _NOT_AUTH ); } $client = mosGetParam( $_REQUEST, 'client', '' ); $userfile = mosGetParam( $_REQUEST, 'userfile', dirname( __FILE__ ) ); $userfile = mosPathName( $userfile ); HTML_installer::showInstallForm( 'Install new Template <small><small>[ ' . ($client == 'admin' ? 'Administrator' : 'Site') .' ]</small></small>', $option, 'template', $client, $userfile, '<a href="index2.php?option=com_templates&client='.$client.'">Back to Templates</a>' ); ?> <table class="content"> <?php writableCell( 'media' ); writableCell( 'administrator/templates' ); writableCell( 'templates' ); writableCell( 'images/stories' ); ?> </table>
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

