<?php
//////////////////////////////////////////////////////////////
//===========================================================
// webuzo_acl_theme.php
//===========================================================
// SOFTACULOUS
// Version : 1.1
// Inspired by the DESIRE to be the BEST OF ALL
// ----------------------------------------------------------
// Started by: Alons
// Date: 10th Jan 2009
// Time: 21:00 hrs
// Site: http://www.softaculous.com/ (SOFTACULOUS)
// ----------------------------------------------------------
// Please Read the Terms of use at http://www.softaculous.com
// ----------------------------------------------------------
//===========================================================
// (c)Softaculous Inc.
//===========================================================
//////////////////////////////////////////////////////////////
if(!defined('SOFTACULOUS')){
die('Hacking Attempt');
}
function webuzo_acl_theme(){
global $theme, $globals, $l, $error, $done, $softpanel;
softheader(__('$0 - Webuzo ACL', array(APP)));
error_handle($error);
echo '<form accept-charset="'.$globals['charset'].'" action="" method="post" name="changepass" id="editform" class="form-horizontal">
<div class="container-fluid width80"><br /><br />
<div class="sai_main_head text-center">
'.__('Webuzo ACL').'
</div>
<div class="sai_form"><br />';
if(!empty($done)){
echo '<div class="alert alert-success text-center"><a href="#close" class="close" data-dismiss="alert">×</a><img src="'.$theme['images'].'success.gif" /> '.__('Settings have been saved successfully !!!').'</div>';
}
echo '<div class="row">
<div class="col-sm-5">
<label for="mail" class="sai_head">'.__('Disable addition of new Domains').'</label><br />
<span class="sai_exp2">'.__('Disable creation of any new domains from the enduser panel').'</span>
</div>
<div class="col-sm-7">
<input type="checkbox" name="disable_domainadd" '.POSTchecked('disable_domainadd', ($softpanel->getconf('DISABLE_DOMAINADD'))).' />
</div>
</div><br/>
<div class="row">
<div class="col-sm-5">
<label for="mail" class="sai_head">'.__('Max. limit of Addon Domain creations').'</label><br />
<span class="sai_exp2">'.__('Enter the number of Addon domain creations allowed. For unlimited creation leave blank.').'</span>
</div>
<div class="col-sm-2">
<input type="text" name="disable_addon" class="form-control" value="'.POSTval('disable_addon', ($softpanel->getconf('DISABLE_ADDON'))).'" />
</div>
<div class="col-sm-5"> </div>
</div><br/>
<div class="row">
<div class="col-sm-5">
<label for="mail" class="sai_head">'.__('Disable Emails').'</label><br />
<span class="sai_exp2">'.__('Disable Email and all related activities').'</span>
</div>
<div class="col-sm-7">
<input type="checkbox" name="disable_email" '.POSTchecked('disable_email', ($softpanel->getconf('DISABLE_EMAIL'))).' />
</div>
</div><br/>
<div class="row">
<div class="col-sm-5">
<label for="mail" class="sai_head">'.__('Disbale addition of mail accounts').'</label><br />
<span class="sai_exp2">'.__('Disable creation of any new mail accounts from the enduser panel').'</span>
</div>
<div class="col-sm-7">
<input type="checkbox" name="disable_emailadd" '.POSTchecked('disable_emailadd', ($softpanel->getconf('DISABLE_EMAILADD'))).' />
</div>
</div><br/>
<div class="row">
<div class="col-sm-5">
<label for="mail" class="sai_head">'.__('Disable SSH options').'</label><br />
<span class="sai_exp2">'.__('If enabled, user will not be able to access "SSH Access" page in the enduser panel').'</span>
</div>
<div class="col-sm-7">
<input type="checkbox" name="disable_ssh" '.POSTchecked('disable_ssh', ($softpanel->getconf('DISABLE_SSH'))).' />
</div>
</div><br/>
<div class="row">
<div class="col-sm-5">
<label for="mail" class="sai_head">'.__('Disable System Applications Installations / Configuration').'</label><br />
<span class="sai_exp2">'.__('Disable installations, updation and removal of system applications from the Webuzo Enduser Panel.
Also, user will not be able to edit configurations.').'</span>
</div>
<div class="col-sm-7">
<input type="checkbox" name="disable_sysapps" '.POSTchecked('disable_sysapps', ($softpanel->getconf('DISABLE_SYSAPPS'))).' />
</div>
</div><br/>
<div class="row">
<div class="col-sm-5">
<span class="sai_exp2">'.__('<strong>Note :</strong> On enabling this option only <strong>root</strong> user will be able to access the Webuzo Admin Panel').'</span>
</div>
</div><br/>
<p align="center">
<input type="submit" style="cursor:pointer" value="'.__('Save Changes').'" name="savechanges" class="flat-butt" />
</p>
</div>
</div>
</form><br /><br /><br />';
softfooter();
}
?> |