@@ 85-89 (lines=5) @@ | ||
82 | // --- for XCL --- |
|
83 | // $headermenu[$i]['link'] = '../../system/admin.php?fct=preferences&op=showmod&mod=' . $xoopsModule->getVar('mid'); |
|
84 | $mid = $xoopsModule->getVar('mid'); |
|
85 | if (defined('XOOPS_CUBE_LEGACY')) { |
|
86 | $link_pref = XOOPS_URL . '/modules/legacy/admin/index.php?action=PreferenceEdit&confmod_id=' . $mid; |
|
87 | } else { |
|
88 | $link_pref = XOOPS_URL . '/modules/system/admin.php?fct=preferences&op=showmod&mod=' . $mid; |
|
89 | } |
|
90 | $headermenu[$i]['link'] = $link_pref; |
|
91 | // ----- |
|
92 | ||
@@ 96-100 (lines=5) @@ | ||
93 | // --- for XCL --- |
|
94 | // $headermenu[$i]['link'] = XOOPS_URL . "/modules/system/admin.php?fct=modulesadmin&op=update&module=" . $xoopsModule->getVar('dirname'); |
|
95 | $dirname = $xoopsModule->getVar('dirname'); |
|
96 | if (defined('XOOPS_CUBE_LEGACY')) { |
|
97 | $link_module = XOOPS_URL . '/modules/legacy/admin/index.php?action=ModuleUpdate&dirname=' . $dirname; |
|
98 | } else { |
|
99 | $link_module = XOOPS_URL . '/modules/system/admin.php?fct=modulesadmin&op=update&module=' . $dirname; |
|
100 | } |
|
101 | $headermenu[$i]['link'] = $link_module; |
|
102 | // ----- |
|
103 |