Newer
Older
tbrehm
committed
<?php
require_once '../../lib/config.inc.php';
require_once '../../lib/app.inc.php';
tbrehm
committed
//* Path to the list definition file
$list_def_file = "list/support_message.list.php";
//* Check permissions for module
$app->auth->check_module_permissions('help');
tbrehm
committed
//* Loading the class
$app->uses('listform_actions');
//* Optional limit
$userid=$app->functions->intval($_SESSION['s']['user']['userid']);
$app->listform_actions->SQLExtWhere = "support_message.recipient_id = $userid OR support_message.sender_id = $userid";
tbrehm
committed
//* Start the form rendering and action ahndling
$app->listform_actions->onLoad();