| | |
| | | * End Form configuration |
| | | ******************************************/ |
| | | |
| | | // Checking module permissions |
| | | if(!stristr($_SESSION["s"]["user"]["modules"],'sites')) { |
| | | header("Location: ../index.php"); |
| | | exit; |
| | | //* Check permissions for module |
| | | $app->auth->check_module_permissions('sites'); |
| | | |
| | | $app->load('listform_actions'); |
| | | |
| | | |
| | | class list_action extends listform_actions { |
| | | |
| | | } |
| | | |
| | | $app->uses('listform_actions'); |
| | | |
| | | // Limit the results to alias domains |
| | | $app->listform_actions->SQLExtWhere = "type = 'vhost'"; |
| | | |
| | | $app->listform_actions->onLoad(); |
| | | $list = new list_action; |
| | | $list->SQLExtWhere = "type = 'vhost'"; |
| | | $list->onLoad(); |
| | | |
| | | |
| | | ?> |