forked from G4HDU-plugins/timed_userclass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin_menu.php
37 lines (27 loc) · 1.05 KB
/
admin_menu.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/*
+---------------------------------------------------------------+
| Timed Userclass Plugin for e107
|
| Copyright (C) Father Barry Keal 2003 - 2008
| http://www.keal.me.uk
|
| Released under the terms and conditions of the
| GNU General Public License (http://gnu.org).
+---------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
include_lan(e_PLUGIN . "timed_userclass/languages/admin/" . e_LANGUAGE . ".php"); //path does not exist !!
$action = basename($_SERVER['PHP_SELF'], ".php");
$var['admin_config']['text'] = TCLASS_A13;
$var['admin_config']['link'] = "admin_config.php";
$var['admin_users']['text'] = TCLASS_A28;
$var['admin_users']['link'] = "admin_users.php";
#$var['admin_promote']['text'] = TCLASS_A15;
#$var['admin_promote']['link'] = "admin_promote.php";
$var['admin_readme']['text'] = TCLASS_A36;
$var['admin_readme']['link'] = "admin_readme.php";
$var['admin_vupdate']['text'] = TCLASS_A10;
$var['admin_vupdate']['link'] = "admin_vupdate.php";
show_admin_menu(TCLASS_A1, $action, $var);
?>