acl_check( 'administration', 'install', 'users', $my->usertype, $element . 's', 'all' ) ) { mosRedirect( 'index2.php', T_('You are not authorized to view this resource.') ); } $client = mosGetParam( $_REQUEST, 'client', '' ); $userfile = mosGetParam( $_REQUEST, 'userfile', dirname( __FILE__ ) ); $userfile = mosPathName( $userfile ); HTML_installer::showInstallForm( T_('Install new Template').' [ ' . ($client == 'admin' ? T_('Administrator') : T_('Site')) .' ]', $option, 'template', $client, $userfile, ''.T_('Back to Templates').'' ); ?>