@@ -14,6 +14,6 @@ |
||
14 | 14 | * @since 2.5.0 |
15 | 15 | * @author XOOPS Module Team |
16 | 16 | **/ |
17 | -echo "<div class='adminfooter'>\n" . " <div style='text-align: center;'>\n" . " <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" . " </div>\n" . ' ' . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" . '</div>'; |
|
17 | +echo "<div class='adminfooter'>\n"." <div style='text-align: center;'>\n"." <a href='http://www.xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n"." </div>\n".' '._AM_MODULEADMIN_ADMIN_FOOTER."\n".'</div>'; |
|
18 | 18 | |
19 | 19 | xoops_cp_footer(); |
@@ -217,9 +217,9 @@ |
||
217 | 217 | } |
218 | 218 | } else { |
219 | 219 | xoops_confirm(array( |
220 | - 'ok' => 1, |
|
221 | - 'id' => $_REQUEST['id'], |
|
222 | - 'op' => 'delete'), $_SERVER['REQUEST_URI'], sprintf(_PROFILE_AM_RUSUREDEL, $obj->getVar('uname') . ' (' . $obj->getVar('email') . ')')); |
|
220 | + 'ok' => 1, |
|
221 | + 'id' => $_REQUEST['id'], |
|
222 | + 'op' => 'delete'), $_SERVER['REQUEST_URI'], sprintf(_PROFILE_AM_RUSUREDEL, $obj->getVar('uname') . ' (' . $obj->getVar('email') . ')')); |
|
223 | 223 | } |
224 | 224 | break; |
225 | 225 | } |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | * @author Jan Pedersen |
17 | 17 | * @author Taiwen Jiang <[email protected]> |
18 | 18 | */ |
19 | -include_once __DIR__ . '/admin_header.php'; |
|
19 | +include_once __DIR__.'/admin_header.php'; |
|
20 | 20 | xoops_cp_header(); |
21 | 21 | $indexAdmin = new ModuleAdmin(); |
22 | 22 | $indexAdmin->addItemButton(_PROFILE_AM_ADDUSER, 'user.php?op=new', 'add', ''); |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | // no break; |
47 | 47 | case 'new': |
48 | 48 | xoops_loadLanguage('main', $GLOBALS['xoopsModule']->getVar('dirname', 'n')); |
49 | - include_once dirname(__DIR__) . '/include/forms.php'; |
|
49 | + include_once dirname(__DIR__).'/include/forms.php'; |
|
50 | 50 | $obj = $handler->createUser(); |
51 | 51 | $obj->setGroups(array(XOOPS_GROUP_USERS)); |
52 | 52 | $form = profile_getUserForm($obj); |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | // If not webmaster trying to edit a webmaster - disallow |
61 | 61 | redirect_header('user.php', 3, _US_NOEDITRIGHT); |
62 | 62 | } |
63 | - include_once dirname(__DIR__) . '/include/forms.php'; |
|
63 | + include_once dirname(__DIR__).'/include/forms.php'; |
|
64 | 64 | $form = profile_getUserForm($obj); |
65 | 65 | $form->display(); |
66 | 66 | break; |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | case 'save': |
69 | 69 | xoops_loadLanguage('main', $GLOBALS['xoopsModule']->getVar('dirname', 'n')); |
70 | 70 | if (!$GLOBALS['xoopsSecurity']->check()) { |
71 | - redirect_header('user.php', 3, _US_NOEDITRIGHT . '<br>' . implode('<br>', $GLOBALS['xoopsSecurity']->getErrors())); |
|
71 | + redirect_header('user.php', 3, _US_NOEDITRIGHT.'<br>'.implode('<br>', $GLOBALS['xoopsSecurity']->getErrors())); |
|
72 | 72 | exit; |
73 | 73 | } |
74 | 74 | |
@@ -173,9 +173,9 @@ discard block |
||
173 | 173 | XoopsLoad::load('XoopsCache'); |
174 | 174 | $queryCache = XoopsCache::delete('formselectuser'); |
175 | 175 | if ($user->isNew()) { |
176 | - redirect_header('user.php?lastuid=' . $user->getVar('uid'), 2, _PROFILE_AM_USERCREATED, false); |
|
176 | + redirect_header('user.php?lastuid='.$user->getVar('uid'), 2, _PROFILE_AM_USERCREATED, false); |
|
177 | 177 | } else { |
178 | - redirect_header('user.php?lastuid=' . $user->getVar('uid'), 2, _US_PROFUPDATED, false); |
|
178 | + redirect_header('user.php?lastuid='.$user->getVar('uid'), 2, _US_PROFUPDATED, false); |
|
179 | 179 | } |
180 | 180 | } |
181 | 181 | } else { |
@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | } |
185 | 185 | } |
186 | 186 | $user->setGroups($new_groups); |
187 | - include_once dirname(__DIR__) . '/include/forms.php'; |
|
187 | + include_once dirname(__DIR__).'/include/forms.php'; |
|
188 | 188 | echo $user->getHtmlErrors(); |
189 | 189 | $form = profile_getUserForm($user, $profile); |
190 | 190 | $form->display(); |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | $profile = $profile_handler->get($obj->getVar('uid')); |
209 | 209 | if (!$profile || $profile->isNew() || $profile_handler->delete($profile)) { |
210 | 210 | if ($handler->deleteUser($obj)) { |
211 | - redirect_header('user.php', 3, sprintf(_PROFILE_AM_DELETEDSUCCESS, $obj->getVar('uname') . ' (' . $obj->getVar('email') . ')'), false); |
|
211 | + redirect_header('user.php', 3, sprintf(_PROFILE_AM_DELETEDSUCCESS, $obj->getVar('uname').' ('.$obj->getVar('email').')'), false); |
|
212 | 212 | } else { |
213 | 213 | echo $obj->getHtmlErrors(); |
214 | 214 | } |
@@ -219,10 +219,10 @@ discard block |
||
219 | 219 | xoops_confirm(array( |
220 | 220 | 'ok' => 1, |
221 | 221 | 'id' => $_REQUEST['id'], |
222 | - 'op' => 'delete'), $_SERVER['REQUEST_URI'], sprintf(_PROFILE_AM_RUSUREDEL, $obj->getVar('uname') . ' (' . $obj->getVar('email') . ')')); |
|
222 | + 'op' => 'delete'), $_SERVER['REQUEST_URI'], sprintf(_PROFILE_AM_RUSUREDEL, $obj->getVar('uname').' ('.$obj->getVar('email').')')); |
|
223 | 223 | } |
224 | 224 | break; |
225 | 225 | } |
226 | 226 | |
227 | -include_once __DIR__ . '/admin_footer.php'; |
|
227 | +include_once __DIR__.'/admin_footer.php'; |
|
228 | 228 | //xoops_cp_footer(); |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | * @author XOOPS Development Team, Raul Recio (AKA UNFOR) |
18 | 18 | */ |
19 | 19 | |
20 | -include_once __DIR__ . '/admin_header.php'; |
|
20 | +include_once __DIR__.'/admin_header.php'; |
|
21 | 21 | xoops_cp_header(); |
22 | 22 | |
23 | 23 | $indexAdmin = new ModuleAdmin(); |
@@ -38,5 +38,5 @@ discard block |
||
38 | 38 | echo $indexAdmin->addNavigation(basename(__FILE__)); |
39 | 39 | echo $indexAdmin->renderIndex(); |
40 | 40 | |
41 | -include_once __DIR__ . '/admin_footer.php'; |
|
41 | +include_once __DIR__.'/admin_footer.php'; |
|
42 | 42 | //xoops_cp_footer(); |
@@ -307,9 +307,9 @@ |
||
307 | 307 | } |
308 | 308 | } else { |
309 | 309 | xoops_confirm(array( |
310 | - 'ok' => 1, |
|
311 | - 'id' => $_REQUEST['id'], |
|
312 | - 'op' => 'delete'), $_SERVER['REQUEST_URI'], sprintf(_PROFILE_AM_RUSUREDEL, $obj->getVar('field_title'))); |
|
310 | + 'ok' => 1, |
|
311 | + 'id' => $_REQUEST['id'], |
|
312 | + 'op' => 'delete'), $_SERVER['REQUEST_URI'], sprintf(_PROFILE_AM_RUSUREDEL, $obj->getVar('field_title'))); |
|
313 | 313 | } |
314 | 314 | break; |
315 | 315 |
@@ -16,11 +16,11 @@ discard block |
||
16 | 16 | * @author Jan Pedersen |
17 | 17 | * @author Taiwen Jiang <[email protected]> |
18 | 18 | */ |
19 | -include_once __DIR__ . '/admin_header.php'; |
|
19 | +include_once __DIR__.'/admin_header.php'; |
|
20 | 20 | xoops_cp_header(); |
21 | 21 | $indexAdmin = new ModuleAdmin(); |
22 | 22 | |
23 | -$indexAdmin->addItemButton(_ADD . ' ' . _PROFILE_AM_FIELD, 'field.php?op=new', 'add', ''); |
|
23 | +$indexAdmin->addItemButton(_ADD.' '._PROFILE_AM_FIELD, 'field.php?op=new', 'add', ''); |
|
24 | 24 | |
25 | 25 | echo $indexAdmin->addNavigation(basename(__FILE__)); |
26 | 26 | echo $indexAdmin->renderButton('right', ''); |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | break; |
103 | 103 | |
104 | 104 | case 'new': |
105 | - include_once dirname(__DIR__) . '/include/forms.php'; |
|
105 | + include_once dirname(__DIR__).'/include/forms.php'; |
|
106 | 106 | $obj = $profilefield_handler->create(); |
107 | 107 | $form = profile_getFieldForm($obj); |
108 | 108 | $form->display(); |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | if (!$obj->getVar('field_config') && !$obj->getVar('field_show') && !$obj->getVar('field_edit')) { //If no configs exist |
114 | 114 | redirect_header('field.php', 2, _PROFILE_AM_FIELDNOTCONFIGURABLE); |
115 | 115 | } |
116 | - include_once dirname(__DIR__) . '/include/forms.php'; |
|
116 | + include_once dirname(__DIR__).'/include/forms.php'; |
|
117 | 117 | $form = profile_getFieldForm($obj); |
118 | 118 | $form->display(); |
119 | 119 | break; |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | //if there are changed fields, fetch the fieldcategory objects |
140 | 140 | /* @var $field_handler XoopsModuleHandler */ |
141 | 141 | $field_handler = xoops_getModuleHandler('field'); |
142 | - $fields = $field_handler->getObjects(new Criteria('field_id', '(' . implode(',', $ids) . ')', 'IN'), true); |
|
142 | + $fields = $field_handler->getObjects(new Criteria('field_id', '('.implode(',', $ids).')', 'IN'), true); |
|
143 | 143 | foreach ($ids as $i) { |
144 | 144 | $fields[$i]->setVar('field_weight', (int)$weight[$i]); |
145 | 145 | $fields[$i]->setVar('cat_id', (int)$category[$i]); |
@@ -253,7 +253,7 @@ discard block |
||
253 | 253 | $perms = $groupperm_handler->getObjects($criteria); |
254 | 254 | if (count($perms) > 0) { |
255 | 255 | foreach (array_keys($perms) as $i) { |
256 | - $groups[$perms[$i]->getVar('gperm_groupid')] =& $perms[$i]; |
|
256 | + $groups[$perms[$i]->getVar('gperm_groupid')] = & $perms[$i]; |
|
257 | 257 | } |
258 | 258 | } else { |
259 | 259 | $groups = array(); |
@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | } |
273 | 273 | $removed_groups = array_diff(array_keys($groups), $_REQUEST[$perm]); |
274 | 274 | if (count($removed_groups) > 0) { |
275 | - $criteria->add(new Criteria('gperm_groupid', '(' . implode(',', $removed_groups) . ')', 'IN')); |
|
275 | + $criteria->add(new Criteria('gperm_groupid', '('.implode(',', $removed_groups).')', 'IN')); |
|
276 | 276 | $groupperm_handler->deleteAll($criteria); |
277 | 277 | } |
278 | 278 | unset($groups); |
@@ -282,10 +282,10 @@ discard block |
||
282 | 282 | unset($criteria); |
283 | 283 | } |
284 | 284 | } |
285 | - $url = $redirect_to_edit ? 'field.php?op=edit&id=' . $obj->getVar('field_id') : 'field.php'; |
|
285 | + $url = $redirect_to_edit ? 'field.php?op=edit&id='.$obj->getVar('field_id') : 'field.php'; |
|
286 | 286 | redirect_header($url, 3, sprintf(_PROFILE_AM_SAVEDSUCCESS, _PROFILE_AM_FIELD)); |
287 | 287 | } |
288 | - include_once dirname(__DIR__) . '/include/forms.php'; |
|
288 | + include_once dirname(__DIR__).'/include/forms.php'; |
|
289 | 289 | echo $obj->getHtmlErrors(); |
290 | 290 | $form = profile_getFieldForm($obj); |
291 | 291 | $form->display(); |
@@ -345,4 +345,4 @@ discard block |
||
345 | 345 | } |
346 | 346 | } |
347 | 347 | |
348 | -include_once __DIR__ . '/admin_footer.php'; |
|
348 | +include_once __DIR__.'/admin_footer.php'; |
@@ -20,7 +20,7 @@ discard block |
||
20 | 20 | // defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined'); |
21 | 21 | |
22 | 22 | $path = dirname(dirname(dirname(__DIR__))); |
23 | -include_once $path . '/mainfile.php'; |
|
23 | +include_once $path.'/mainfile.php'; |
|
24 | 24 | |
25 | 25 | $dirname = basename(dirname(__DIR__)); |
26 | 26 | /* @var $module_handler XoopsModuleHandler */ |
@@ -28,10 +28,10 @@ discard block |
||
28 | 28 | $module = $module_handler->getByDirname($dirname); |
29 | 29 | $pathIcon32 = $module->getInfo('icons32'); |
30 | 30 | $pathModuleAdmin = $module->getInfo('dirmoduleadmin'); |
31 | -$pathLanguage = $path . $pathModuleAdmin; |
|
31 | +$pathLanguage = $path.$pathModuleAdmin; |
|
32 | 32 | |
33 | -if (!file_exists($fileinc = $pathLanguage . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'main.php')) { |
|
34 | - $fileinc = $pathLanguage . '/language/english/main.php'; |
|
33 | +if (!file_exists($fileinc = $pathLanguage.'/language/'.$GLOBALS['xoopsConfig']['language'].'/'.'main.php')) { |
|
34 | + $fileinc = $pathLanguage.'/language/english/main.php'; |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | include_once $fileinc; |
@@ -41,28 +41,28 @@ discard block |
||
41 | 41 | $i = 1; |
42 | 42 | $adminmenu[$i]['title'] = _PROFILE_MI_HOME; |
43 | 43 | $adminmenu[$i]['link'] = 'admin/index.php'; |
44 | -$adminmenu[$i]['icon'] = $pathIcon32 . '/home.png'; |
|
44 | +$adminmenu[$i]['icon'] = $pathIcon32.'/home.png'; |
|
45 | 45 | ++$i; |
46 | 46 | $adminmenu[$i]['title'] = _PROFILE_MI_USERS; |
47 | 47 | $adminmenu[$i]['link'] = 'admin/user.php'; |
48 | -$adminmenu[$i]['icon'] = $pathIcon32 . '/users.png'; |
|
48 | +$adminmenu[$i]['icon'] = $pathIcon32.'/users.png'; |
|
49 | 49 | ++$i; |
50 | 50 | $adminmenu[$i]['title'] = _PROFILE_MI_CATEGORIES; |
51 | 51 | $adminmenu[$i]['link'] = 'admin/category.php'; |
52 | -$adminmenu[$i]['icon'] = $pathIcon32 . '/category.png'; |
|
52 | +$adminmenu[$i]['icon'] = $pathIcon32.'/category.png'; |
|
53 | 53 | ++$i; |
54 | 54 | $adminmenu[$i]['title'] = _PROFILE_MI_FIELDS; |
55 | 55 | $adminmenu[$i]['link'] = 'admin/field.php'; |
56 | -$adminmenu[$i]['icon'] = $pathIcon32 . '/index.png'; |
|
56 | +$adminmenu[$i]['icon'] = $pathIcon32.'/index.png'; |
|
57 | 57 | ++$i; |
58 | 58 | $adminmenu[$i]['title'] = _PROFILE_MI_STEPS; |
59 | 59 | $adminmenu[$i]['link'] = 'admin/step.php'; |
60 | -$adminmenu[$i]['icon'] = $pathIcon32 . '/stats.png'; |
|
60 | +$adminmenu[$i]['icon'] = $pathIcon32.'/stats.png'; |
|
61 | 61 | ++$i; |
62 | 62 | $adminmenu[$i]['title'] = _PROFILE_MI_PERMISSIONS; |
63 | 63 | $adminmenu[$i]['link'] = 'admin/permissions.php'; |
64 | -$adminmenu[$i]['icon'] = $pathIcon32 . '/permissions.png'; |
|
64 | +$adminmenu[$i]['icon'] = $pathIcon32.'/permissions.png'; |
|
65 | 65 | ++$i; |
66 | 66 | $adminmenu[$i]['title'] = _PROFILE_MI_ABOUT; |
67 | 67 | $adminmenu[$i]['link'] = 'admin/about.php'; |
68 | -$adminmenu[$i]['icon'] = $pathIcon32 . '/about.png'; |
|
68 | +$adminmenu[$i]['icon'] = $pathIcon32.'/about.png'; |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | * @author Jan Pedersen |
17 | 17 | * @author Taiwen Jiang <[email protected]> |
18 | 18 | */ |
19 | -include_once __DIR__ . '/admin_header.php'; |
|
19 | +include_once __DIR__.'/admin_header.php'; |
|
20 | 20 | |
21 | 21 | //there is no way to override current tabs when using system menu |
22 | 22 | //this dirty hack will have to do it |
@@ -95,5 +95,5 @@ discard block |
||
95 | 95 | |
96 | 96 | $GLOBALS['xoopsTpl']->display('db:profile_admin_visibility.tpl'); |
97 | 97 | |
98 | -include_once __DIR__ . '/admin_footer.php'; |
|
98 | +include_once __DIR__.'/admin_footer.php'; |
|
99 | 99 | //xoops_cp_footer(); |
@@ -16,7 +16,7 @@ discard block |
||
16 | 16 | * @author Jan Pedersen |
17 | 17 | * @author Taiwen Jiang <[email protected]> |
18 | 18 | */ |
19 | -include_once __DIR__ . '/admin_header.php'; |
|
19 | +include_once __DIR__.'/admin_header.php'; |
|
20 | 20 | xoops_cp_header(); |
21 | 21 | $indexAdmin = new ModuleAdmin(); |
22 | 22 | echo $indexAdmin->addNavigation(basename(__FILE__)); |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | |
67 | 67 | $module_id = $GLOBALS['xoopsModule']->getVar('mid'); |
68 | 68 | include_once $GLOBALS['xoops']->path('/class/xoopsform/grouppermform.php'); |
69 | -$form = new XoopsGroupPermForm($title_of_form, $module_id, $perm_name, $perm_desc, 'admin/permissions.php?op=' . $op, $anonymous); |
|
69 | +$form = new XoopsGroupPermForm($title_of_form, $module_id, $perm_name, $perm_desc, 'admin/permissions.php?op='.$op, $anonymous); |
|
70 | 70 | if ($op === 'access') { |
71 | 71 | /* @var $member_handler XoopsMemberHandler */ |
72 | 72 | $member_handler = xoops_getHandler('member'); |
@@ -104,5 +104,5 @@ discard block |
||
104 | 104 | } |
105 | 105 | } |
106 | 106 | $form->display(); |
107 | -include_once __DIR__ . '/admin_footer.php'; |
|
107 | +include_once __DIR__.'/admin_footer.php'; |
|
108 | 108 | //xoops_cp_footer(); |
@@ -1,5 +1,5 @@ discard block |
||
1 | 1 | <?php |
2 | -include_once __DIR__ . '/admin_header.php'; |
|
2 | +include_once __DIR__.'/admin_header.php'; |
|
3 | 3 | xoops_cp_header(); |
4 | 4 | |
5 | 5 | if (!$GLOBALS['xoopsSecurity']->check()) { |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | redirect_header('index.php', 2, _PROFILE_AM_CANNOTDEACTIVATEWEBMASTERS); |
22 | 22 | } |
23 | 23 | $level = Xmf\Request::getInt('level', 0); |
24 | -if ($level===0) { |
|
24 | +if ($level === 0) { |
|
25 | 25 | $user->setVar('level', 0); |
26 | 26 | // reset the activation key so it cannot be reused |
27 | 27 | // this now gets done at activation, but we do it here also to fix accounts created before the change. |
@@ -44,4 +44,4 @@ discard block |
||
44 | 44 | $message = _PROFILE_AM_USER_NOT_DEACTIVATED; |
45 | 45 | } |
46 | 46 | } |
47 | -redirect_header('../userinfo.php?uid=' . $user->getVar('uid'), 3, $message); |
|
47 | +redirect_header('../userinfo.php?uid='.$user->getVar('uid'), 3, $message); |
@@ -75,9 +75,9 @@ |
||
75 | 75 | } |
76 | 76 | } else { |
77 | 77 | xoops_confirm(array( |
78 | - 'ok' => 1, |
|
79 | - 'id' => $_REQUEST['id'], |
|
80 | - 'op' => 'delete'), $_SERVER['REQUEST_URI'], sprintf(_PROFILE_AM_RUSUREDEL, $obj->getVar('step_name'))); |
|
78 | + 'ok' => 1, |
|
79 | + 'id' => $_REQUEST['id'], |
|
80 | + 'op' => 'delete'), $_SERVER['REQUEST_URI'], sprintf(_PROFILE_AM_RUSUREDEL, $obj->getVar('step_name'))); |
|
81 | 81 | } |
82 | 82 | break; |
83 | 83 |
@@ -16,11 +16,11 @@ discard block |
||
16 | 16 | * @author Jan Pedersen |
17 | 17 | * @author Taiwen Jiang <[email protected]> |
18 | 18 | */ |
19 | -include_once __DIR__ . '/admin_header.php'; |
|
19 | +include_once __DIR__.'/admin_header.php'; |
|
20 | 20 | xoops_cp_header(); |
21 | 21 | $indexAdmin = new ModuleAdmin(); |
22 | 22 | |
23 | -$indexAdmin->addItemButton(_ADD . ' ' . _PROFILE_AM_STEP, 'step.php?op=new', 'add', ''); |
|
23 | +$indexAdmin->addItemButton(_ADD.' '._PROFILE_AM_STEP, 'step.php?op=new', 'add', ''); |
|
24 | 24 | echo $indexAdmin->addNavigation(basename(__FILE__)); |
25 | 25 | echo $indexAdmin->renderButton('right', ''); |
26 | 26 | |
@@ -35,14 +35,14 @@ discard block |
||
35 | 35 | |
36 | 36 | case 'new': |
37 | 37 | $obj = $handler->create(); |
38 | - include_once dirname(__DIR__) . '/include/forms.php'; |
|
38 | + include_once dirname(__DIR__).'/include/forms.php'; |
|
39 | 39 | $form = profile_getStepForm($obj); |
40 | 40 | $form->display(); |
41 | 41 | break; |
42 | 42 | |
43 | 43 | case 'edit': |
44 | 44 | $obj = $handler->get($_REQUEST['id']); |
45 | - include_once dirname(__DIR__) . '/include/forms.php'; |
|
45 | + include_once dirname(__DIR__).'/include/forms.php'; |
|
46 | 46 | $form = profile_getStepForm($obj); |
47 | 47 | $form->display(); |
48 | 48 | break; |
@@ -113,4 +113,4 @@ discard block |
||
113 | 113 | } |
114 | 114 | } |
115 | 115 | |
116 | -include_once __DIR__ . '/admin_footer.php'; |
|
116 | +include_once __DIR__.'/admin_footer.php'; |