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 [ ' . ($client == 'admin' ? 'Administrator' : 'Site') .' ]', $option, 'template', $client, $userfile, 'Back to Templates' ); ?>