<?php
// make sure we are not being called directly
defined('APP_DIR') or exit();
/**
* config
*/
function jrAdminSkin_config()
{
//......
// Admin Skin Override
$_tmp = array(
'name' => 'admin_skin_override',
'default' => 'off',
'type' => 'checkbox',
'validate' => 'onoff',
'required' => 'on',
'label' => 'Use Different Admin Skin',
'help' => 'Enabling this option will use the skin above in the admin area instead of the current skin.',
'section' => 'general settings',
'order' => 10
);
jrCore_register_setting('jrAdminSkin',$_tmp);
return true;
}
?>
<?php
// make sure we are not being called directly
defined('APP_DIR') or exit();
/**
* quota_config
*/
function jrEvent_quota_config()
{
return true;
}
//------------------------------
// create
//------------------------------
function view_jrEvent_create($_post,$_user,$_conf)
{
// Must be logged in
jrUser_session_require_login();
jrUser_check_quota_access('jrEvent');
jrCore_register_module_feature('jrCore', 'tool_view', 'jrDeveloper', 'clone_skin', array('Clone Skin', 'Save a copy of an existing skin to a new name'));
jrCore_register_module_feature('jrCore','admin_tab','jrModuleName','the_url','Tab Title');