tiki-admin_mailin_routes.php 825 Bytes
Newer Older
1
<?php
2
// (c) Copyright 2002-2015 by authors of the Tiki Wiki CMS Groupware Project
3 4 5 6 7 8 9 10 11 12 13 14
//
// All Rights Reserved. See copyright.txt for details and a complete list of authors.
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$

require_once ('tiki-setup.php');

//check if feature is on
$access->check_feature('feature_mailin');
$access->check_permission(array('tiki_p_admin_mailin'));

$structlib = TikiLib::lib('struct');
15
$usermailinlib = TikiLib::lib('usermailin');
16 17

// Route display
arildb's avatar
arildb committed
18
$userStructs = $usermailinlib->list_all_user_mailin_struct(false);
19 20 21 22 23 24 25
$smarty->assign('userStructs', $userStructs['data']);


// disallow robots to index page:
$smarty->assign('metatag_robots', 'NOINDEX, NOFOLLOW');
$smarty->assign('mid', 'tiki-admin_mailin_routes.tpl');
$smarty->display('tiki.tpl');