Go to the source code of this file.
Namespaces | |
namespace | pragyan |
Widget Framework for Pragyan CMS (c) 2010 Pragyan Team http://www.gnu.org/licenses/ GNU Public License For more details, see README Add support for File Upload/Download via the widget's configurations Reload Widgets ,Get Widget Instances. see bottom. | |
Functions | |
globalSettingsForm () | |
showOption (num) | |
websiteInfoSettingsForm () | |
templateSettingsForm () | |
registrationsSettingsForm () | |
getBlacklistTable () | |
setblacklist ($domain="", $ip="") | |
delete_blacklist () | |
securitySettingsForm () | |
admin ($pageid, $userid) | |
managementForm ($type) | |
updateGlobalSettings () | |
admin_checkFunctionPerms () | |
admin_checkAdminUser () | |
admin_checkAdminPerms () | |
admin_changePermRank ($module="") | |
admin_editProfileForm () | |
groupManagementForm ($currentUserId, $modifiableGroups, &$pagePath) | |
Variables | |
</style >< scripttype="text/javascript"> | total = 4 |
window | onload |
admin | ( | $ | pageid, | |
$ | userid | |||
) |
Definition at line 357 of file admin.lib.php.
admin_changePermRank | ( | $ | module = "" |
) |
Definition at line 860 of file admin.lib.php.
admin_checkAdminPerms | ( | ) |
Definition at line 809 of file admin.lib.php.
admin_checkAdminUser | ( | ) |
Definition at line 787 of file admin.lib.php.
admin_checkFunctionPerms | ( | ) |
Definition at line 665 of file admin.lib.php.
admin_editProfileForm | ( | ) |
Definition at line 877 of file admin.lib.php.
delete_blacklist | ( | ) |
Definition at line 248 of file admin.lib.php.
getBlacklistTable | ( | ) |
Definition at line 221 of file admin.lib.php.
globalSettingsForm | ( | ) |
First check if there is a "valid" user with verifyemail true having the admin permission. If there is not, then make an enabled user with email=admin.org and generate a password for him, and echo (or return or show) the email and password. If there is, and the current userId does not have permission for admin, return getContent(0,0,0,false);
Then check if there is coressponding row in permlist for every module class action. Also vice-versa check if there is function for every permsission in database. Also check for page level permissions.
Then check if the uploads directory is writable. If not give error.
Then allow to change all perm_ranks.
function admin($userId) { }
Definition at line 60 of file admin.lib.php.
groupManagementForm | ( | $ | currentUserId, | |
$ | modifiableGroups, | |||
&$ | pagePath | |||
) |
Parse any get variables, do necessary validation and stuff, so that we needn't check inside every if
Definition at line 882 of file admin.lib.php.
managementForm | ( | $ | type | ) |
Definition at line 572 of file admin.lib.php.
registrationsSettingsForm | ( | ) |
Definition at line 179 of file admin.lib.php.
securitySettingsForm | ( | ) |
Definition at line 257 of file admin.lib.php.
setblacklist | ( | $ | domain = "" , |
|
$ | ip = "" | |||
) |
Definition at line 232 of file admin.lib.php.
showOption | ( | num | ) |
Definition at line 71 of file admin.lib.php.
templateSettingsForm | ( | ) |
Definition at line 129 of file admin.lib.php.
updateGlobalSettings | ( | ) |
Definition at line 602 of file admin.lib.php.
websiteInfoSettingsForm | ( | ) |
Definition at line 99 of file admin.lib.php.
window onload |
"showOption(4);"><Button>Security and Maintainence</Button></td>
</tr>
</table>
</div>
globalform
Definition at line 76 of file admin.lib.php.
</style><scripttype="text/javascript"> total = 4 |
Definition at line 70 of file admin.lib.php.