Changeset 2963
- Timestamp:
- 06/01/10 11:51:44 (21 months ago)
- Location:
- trunk/gui/reseller
- Files:
-
- 11 edited
-
domain_details.php (modified) (1 diff)
-
hosting_plan.php (modified) (1 diff)
-
hosting_plan_add.php (modified) (1 diff)
-
hosting_plan_edit.php (modified) (1 diff)
-
orders.php (modified) (1 diff)
-
orders_add.php (modified) (2 diffs)
-
orders_update.php (modified) (2 diffs)
-
user_add1.php (modified) (2 diffs)
-
user_add2.php (modified) (1 diff)
-
user_add3.php (modified) (1 diff)
-
users.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/reseller/domain_details.php
r2961 r2963 82 82 83 83 if (isset($cfg->HOSTING_PLANS_LEVEL) 84 && $cfg->HOSTING_PLANS_LEVEL ')=== 'admin') {84 && $cfg->HOSTING_PLANS_LEVEL === 'admin') { 85 85 $tpl->assign('EDIT_OPTION', ''); 86 86 } -
trunk/gui/reseller/hosting_plan.php
r2961 r2963 130 130 131 131 if (isset($cfg->HOSTING_PLANS_LEVEL) 132 && $cfg->HOSTING_PLANS_LEVEL ')=== 'admin') {132 && $cfg->HOSTING_PLANS_LEVEL === 'admin') { 133 133 $query = " 134 134 SELECT -
trunk/gui/reseller/hosting_plan_add.php
r2961 r2963 36 36 37 37 if (isset($cfg->HOSTING_PLANS_LEVEL) 38 && $cfg->HOSTING_PLANS_LEVEL ')=== 'admin') {38 && $cfg->HOSTING_PLANS_LEVEL === 'admin') { 39 39 user_goto('hosting_plan.php'); 40 40 } -
trunk/gui/reseller/hosting_plan_edit.php
r2961 r2963 192 192 193 193 if (isset($cfg->HOSTING_PLANS_LEVEL) 194 && $cfg->HOSTING_PLANS_LEVEL ')=== 'admin') {194 && $cfg->HOSTING_PLANS_LEVEL === 'admin') { 195 195 $query = " 196 196 SELECT -
trunk/gui/reseller/orders.php
r2961 r2963 63 63 64 64 function gen_order_page(&$tpl, &$sql, $user_id) { 65 $cfg = IspCP_Registry::get('Config'); 66 65 67 $start_index = 0; 66 68 $current_psi = 0; -
trunk/gui/reseller/orders_add.php
r2961 r2963 45 45 46 46 if (isset($cfg->HOSTING_PLANS_LEVEL) 47 && $cfg->HOSTING_PLANS_LEVEL ')=== 'admin') {47 && $cfg->HOSTING_PLANS_LEVEL === 'admin') { 48 48 $query = " 49 49 SELECT … … 96 96 97 97 if (isset($cfg->HOSTING_PLANS_LEVEL) 98 && $cfg->HOSTING_PLANS_LEVEL ')=== 'admin') {98 && $cfg->HOSTING_PLANS_LEVEL === 'admin') { 99 99 $query = "SELECT `props` FROM `hosting_plans` WHERE `id` = ?"; 100 100 $res = exec_query($sql, $query, array($hpid)); -
trunk/gui/reseller/orders_update.php
r2961 r2963 45 45 46 46 if (isset($cfg->HOSTING_PLANS_LEVEL) 47 && $cfg->HOSTING_PLANS_LEVEL ')=== 'admin') {47 && $cfg->HOSTING_PLANS_LEVEL === 'admin') { 48 48 $query = " 49 49 SELECT … … 87 87 88 88 if (isset($cfg->HOSTING_PLANS_LEVEL) 89 && $cfg->HOSTING_PLANS_LEVEL ')=== 'admin') {89 && $cfg->HOSTING_PLANS_LEVEL === 'admin') { 90 90 $query = "SELECT `props` FROM `hosting_plans` WHERE `id` = ?"; 91 91 $res = exec_query($sql, $query, $hpid); -
trunk/gui/reseller/user_add1.php
r2961 r2963 158 158 // we have plans only for admins 159 159 if (isset($cfg->HOSTING_PLANS_LEVEL) 160 && $cfg->HOSTING_PLANS_LEVEL ')=== 'admin') {160 && $cfg->HOSTING_PLANS_LEVEL === 'admin') { 161 161 $dmn_pt = '_no_'; 162 162 } … … 254 254 255 255 if (isset($cfg->HOSTING_PLANS_LEVEL) 256 && $cfg->HOSTING_PLANS_LEVEL ')=== 'admin') {256 && $cfg->HOSTING_PLANS_LEVEL === 'admin') { 257 257 $query = " 258 258 SELECT -
trunk/gui/reseller/user_add2.php
r2961 r2963 48 48 // check if we have only hosting plans for admins - reseller should not edit them 49 49 if (isset($cfg->HOSTING_PLANS_LEVEL) 50 && $cfg->HOSTING_PLANS_LEVEL ')=== 'admin') {50 && $cfg->HOSTING_PLANS_LEVEL === 'admin') { 51 51 user_goto('users.php'); 52 52 } -
trunk/gui/reseller/user_add3.php
r2961 r2963 270 270 271 271 if (isset($cfg->HOSTING_PLANS_LEVEL) 272 && $cfg->HOSTING_PLANS_LEVEL ')=== 'admin') {272 && $cfg->HOSTING_PLANS_LEVEL === 'admin') { 273 273 $query = 'SELECT `props` FROM `hosting_plans` WHERE `id` = ?'; 274 274 $res = exec_query($sql, $query, array($hpid)); -
trunk/gui/reseller/users.php
r2961 r2963 113 113 114 114 if (isset($cfg->HOSTING_PLANS_LEVEL) 115 && $cfg->HOSTING_PLANS_LEVEL ')=== 'admin') {115 && $cfg->HOSTING_PLANS_LEVEL === 'admin') { 116 116 $tpl->assign('EDIT_OPTION', ''); 117 117 }
Note: See TracChangeset
for help on using the changeset viewer.
