@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | $i = 0; |
| 23 | 23 | $adminmenu[$i]['title'] = _AM_MODULEADMIN_HOME; |
| 24 | 24 | $adminmenu[$i]['link'] = 'admin/index.php'; |
| 25 | -$adminmenu[$i]['icon'] = $pathIcon32 . '/home.png'; |
|
| 25 | +$adminmenu[$i]['icon'] = $pathIcon32.'/home.png'; |
|
| 26 | 26 | //++$i; |
| 27 | 27 | //$adminmenu[$i]['title'] = _MI_SOBJECT_INDEX; |
| 28 | 28 | //$adminmenu[$i]['link'] = "admin/main.php"; |
@@ -31,30 +31,30 @@ discard block |
||
| 31 | 31 | ++$i; |
| 32 | 32 | $adminmenu[$i]['title'] = _MI_SOBJECT_SENT_LINKS; |
| 33 | 33 | $adminmenu[$i]['link'] = 'admin/link.php'; |
| 34 | -$adminmenu[$i]['icon'] = $pathIcon32 . '/addlink.png'; |
|
| 34 | +$adminmenu[$i]['icon'] = $pathIcon32.'/addlink.png'; |
|
| 35 | 35 | |
| 36 | 36 | ++$i; |
| 37 | 37 | $adminmenu[$i]['title'] = _MI_SOBJECT_TAGS; |
| 38 | 38 | $adminmenu[$i]['link'] = 'admin/customtag.php'; |
| 39 | -$adminmenu[$i]['icon'] = $pathIcon32 . '/identity.png'; |
|
| 39 | +$adminmenu[$i]['icon'] = $pathIcon32.'/identity.png'; |
|
| 40 | 40 | |
| 41 | 41 | ++$i; |
| 42 | 42 | $adminmenu[$i]['title'] = _MI_SOBJECT_ADSENSES; |
| 43 | 43 | $adminmenu[$i]['link'] = 'admin/adsense.php'; |
| 44 | -$adminmenu[$i]['icon'] = $pathIcon32 . '/alert.png'; |
|
| 44 | +$adminmenu[$i]['icon'] = $pathIcon32.'/alert.png'; |
|
| 45 | 45 | ++$i; |
| 46 | 46 | $adminmenu[$i]['title'] = _MI_SOBJECT_RATINGS; |
| 47 | 47 | $adminmenu[$i]['link'] = 'admin/rating.php'; |
| 48 | -$adminmenu[$i]['icon'] = $pathIcon32 . '/stats.png'; |
|
| 48 | +$adminmenu[$i]['icon'] = $pathIcon32.'/stats.png'; |
|
| 49 | 49 | |
| 50 | 50 | ++$i; |
| 51 | 51 | $adminmenu[$i]['title'] = _AM_MODULEADMIN_ABOUT; |
| 52 | 52 | $adminmenu[$i]['link'] = 'admin/about.php'; |
| 53 | -$adminmenu[$i]['icon'] = $pathIcon32 . '/about.png'; |
|
| 53 | +$adminmenu[$i]['icon'] = $pathIcon32.'/about.png'; |
|
| 54 | 54 | //--------------------------------- |
| 55 | 55 | |
| 56 | 56 | if (!defined('SMARTOBJECT_ROOT_PATH')) { |
| 57 | - require_once XOOPS_ROOT_PATH . '/modules/smartobject/include/functions.php'; |
|
| 57 | + require_once XOOPS_ROOT_PATH.'/modules/smartobject/include/functions.php'; |
|
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | $smartobjectConfig = smart_getModuleConfig('smartobject'); |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | ++$i; |
| 64 | 64 | $adminmenu[$i]['title'] = _MI_SOBJECT_CURRENCIES; |
| 65 | 65 | $adminmenu[$i]['link'] = 'admin/currency.php'; |
| 66 | - $adminmenu[$i]['icon'] = $pathIcon32 . '/cash_stack.png'; |
|
| 66 | + $adminmenu[$i]['icon'] = $pathIcon32.'/cash_stack.png'; |
|
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | global $xoopsModule; |
@@ -74,9 +74,9 @@ discard block |
||
| 74 | 74 | // $headermenu[$i]['link'] = '../../system/admin.php?fct=preferences&op=showmod&mod=' . $xoopsModule->getVar('mid'); |
| 75 | 75 | $mid = $xoopsModule->getVar('mid'); |
| 76 | 76 | if (defined('XOOPS_CUBE_LEGACY')) { |
| 77 | - $link_pref = XOOPS_URL . '/modules/legacy/admin/index.php?action=PreferenceEdit&confmod_id=' . $mid; |
|
| 77 | + $link_pref = XOOPS_URL.'/modules/legacy/admin/index.php?action=PreferenceEdit&confmod_id='.$mid; |
|
| 78 | 78 | } else { |
| 79 | - $link_pref = XOOPS_URL . '/modules/system/admin.php?fct=preferences&op=showmod&mod=' . $mid; |
|
| 79 | + $link_pref = XOOPS_URL.'/modules/system/admin.php?fct=preferences&op=showmod&mod='.$mid; |
|
| 80 | 80 | } |
| 81 | 81 | $headermenu[$i]['link'] = $link_pref; |
| 82 | 82 | // ----- |
@@ -85,9 +85,9 @@ discard block |
||
| 85 | 85 | // $headermenu[$i]['link'] = XOOPS_URL . "/modules/system/admin.php?fct=modulesadmin&op=update&module=" . $xoopsModule->getVar('dirname'); |
| 86 | 86 | $dirname = $xoopsModule->getVar('dirname'); |
| 87 | 87 | if (defined('XOOPS_CUBE_LEGACY')) { |
| 88 | - $link_module = XOOPS_URL . '/modules/legacy/admin/index.php?action=ModuleUpdate&dirname=' . $dirname; |
|
| 88 | + $link_module = XOOPS_URL.'/modules/legacy/admin/index.php?action=ModuleUpdate&dirname='.$dirname; |
|
| 89 | 89 | } else { |
| 90 | - $link_module = XOOPS_URL . '/modules/system/admin.php?fct=modulesadmin&op=update&module=' . $dirname; |
|
| 90 | + $link_module = XOOPS_URL.'/modules/system/admin.php?fct=modulesadmin&op=update&module='.$dirname; |
|
| 91 | 91 | } |
| 92 | 92 | $headermenu[$i]['link'] = $link_module; |
| 93 | 93 | // ----- |
@@ -17,8 +17,8 @@ discard block |
||
| 17 | 17 | * @author XOOPS Development Team |
| 18 | 18 | */ |
| 19 | 19 | |
| 20 | -require_once __DIR__ . '/../../../include/cp_header.php'; |
|
| 21 | -require_once __DIR__ . '/admin_header.php'; |
|
| 20 | +require_once __DIR__.'/../../../include/cp_header.php'; |
|
| 21 | +require_once __DIR__.'/admin_header.php'; |
|
| 22 | 22 | |
| 23 | 23 | xoops_cp_header(); |
| 24 | 24 | |
@@ -27,4 +27,4 @@ discard block |
||
| 27 | 27 | $adminObject->displayNavigation(basename(__FILE__)); |
| 28 | 28 | $adminObject->displayIndex(); |
| 29 | 29 | |
| 30 | -require_once __DIR__ . '/admin_footer.php'; |
|
| 30 | +require_once __DIR__.'/admin_footer.php'; |
|
@@ -35,9 +35,9 @@ discard block |
||
| 35 | 35 | } |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | -require_once __DIR__ . '/admin_header.php'; |
|
| 39 | -require_once SMARTOBJECT_ROOT_PATH . 'class/smartobjecttable.php'; |
|
| 40 | -require_once SMARTOBJECT_ROOT_PATH . 'class/currency.php'; |
|
| 38 | +require_once __DIR__.'/admin_header.php'; |
|
| 39 | +require_once SMARTOBJECT_ROOT_PATH.'class/smartobjecttable.php'; |
|
| 40 | +require_once SMARTOBJECT_ROOT_PATH.'class/currency.php'; |
|
| 41 | 41 | $smartobjectCurrencyHandler = xoops_getModuleHandler('currency'); |
| 42 | 42 | |
| 43 | 43 | $op = ''; |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | |
| 52 | 52 | switch ($op) { |
| 53 | 53 | case 'mod': |
| 54 | - $currencyid = isset($_GET['currencyid']) ? (int)$_GET['currencyid'] : 0; |
|
| 54 | + $currencyid = isset($_GET['currencyid']) ? (int) $_GET['currencyid'] : 0; |
|
| 55 | 55 | |
| 56 | 56 | smart_xoops_cp_header(); |
| 57 | 57 | |
@@ -66,9 +66,9 @@ discard block |
||
| 66 | 66 | |
| 67 | 67 | if (isset($_POST['default_currency'])) { |
| 68 | 68 | $newDefaultCurrency = $_POST['default_currency']; |
| 69 | - $sql = 'UPDATE ' . $smartobjectCurrencyHandler->table . ' SET default_currency=0'; |
|
| 69 | + $sql = 'UPDATE '.$smartobjectCurrencyHandler->table.' SET default_currency=0'; |
|
| 70 | 70 | $smartobjectCurrencyHandler->query($sql); |
| 71 | - $sql = 'UPDATE ' . $smartobjectCurrencyHandler->table . ' SET default_currency=1 WHERE currencyid=' . $newDefaultCurrency; |
|
| 71 | + $sql = 'UPDATE '.$smartobjectCurrencyHandler->table.' SET default_currency=1 WHERE currencyid='.$newDefaultCurrency; |
|
| 72 | 72 | $smartobjectCurrencyHandler->query($sql); |
| 73 | 73 | } |
| 74 | 74 | |
@@ -86,14 +86,14 @@ discard block |
||
| 86 | 86 | break; |
| 87 | 87 | |
| 88 | 88 | case 'addcurrency': |
| 89 | - require_once XOOPS_ROOT_PATH . '/modules/smartobject/class/smartobjectcontroller.php'; |
|
| 89 | + require_once XOOPS_ROOT_PATH.'/modules/smartobject/class/smartobjectcontroller.php'; |
|
| 90 | 90 | $controller = new SmartObjectController($smartobjectCurrencyHandler); |
| 91 | - $controller->storeFromDefaultForm(_AM_SOBJECT_CURRENCIES_CREATED, _AM_SOBJECT_CURRENCIES_MODIFIED, SMARTOBJECT_URL . 'admin/currency.php'); |
|
| 91 | + $controller->storeFromDefaultForm(_AM_SOBJECT_CURRENCIES_CREATED, _AM_SOBJECT_CURRENCIES_MODIFIED, SMARTOBJECT_URL.'admin/currency.php'); |
|
| 92 | 92 | |
| 93 | 93 | break; |
| 94 | 94 | |
| 95 | 95 | case 'del': |
| 96 | - require_once XOOPS_ROOT_PATH . '/modules/smartobject/class/smartobjectcontroller.php'; |
|
| 96 | + require_once XOOPS_ROOT_PATH.'/modules/smartobject/class/smartobjectcontroller.php'; |
|
| 97 | 97 | $controller = new SmartObjectController($smartobjectCurrencyHandler); |
| 98 | 98 | $controller->handleObjectDeletion(); |
| 99 | 99 | |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | |
| 108 | 108 | smart_collapsableBar('createdcurrencies', _AM_SOBJECT_CURRENCIES, _AM_SOBJECT_CURRENCIES_DSC); |
| 109 | 109 | |
| 110 | - require_once SMARTOBJECT_ROOT_PATH . 'class/smartobjecttable.php'; |
|
| 110 | + require_once SMARTOBJECT_ROOT_PATH.'class/smartobjecttable.php'; |
|
| 111 | 111 | $objectTable = new SmartObjectTable($smartobjectCurrencyHandler); |
| 112 | 112 | $objectTable->addColumn(new SmartObjectColumn('name', 'left', false, 'getCurrencyLink')); |
| 113 | 113 | $objectTable->addColumn(new SmartObjectColumn('rate', 'center', 150)); |
@@ -129,4 +129,4 @@ discard block |
||
| 129 | 129 | |
| 130 | 130 | //smart_modFooter(); |
| 131 | 131 | //xoops_cp_footer(); |
| 132 | -require_once __DIR__ . '/admin_footer.php'; |
|
| 132 | +require_once __DIR__.'/admin_footer.php'; |
|
@@ -40,11 +40,11 @@ discard block |
||
| 40 | 40 | } |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | -require_once __DIR__ . '/admin_header.php'; |
|
| 43 | +require_once __DIR__.'/admin_header.php'; |
|
| 44 | 44 | smart_loadLanguageFile('smartobject', 'customtag'); |
| 45 | 45 | |
| 46 | -require_once SMARTOBJECT_ROOT_PATH . 'class/smartobjecttable.php'; |
|
| 47 | -require_once SMARTOBJECT_ROOT_PATH . 'class/customtag.php'; |
|
| 46 | +require_once SMARTOBJECT_ROOT_PATH.'class/smartobjecttable.php'; |
|
| 47 | +require_once SMARTOBJECT_ROOT_PATH.'class/customtag.php'; |
|
| 48 | 48 | $smartobjectCustomtagHandler = xoops_getModuleHandler('customtag'); |
| 49 | 49 | |
| 50 | 50 | $adminObject = \Xmf\Module\Admin::getInstance(); |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | switch ($op) { |
| 62 | 62 | case 'mod': |
| 63 | 63 | |
| 64 | - $customtagid = isset($_GET['customtagid']) ? (int)$_GET['customtagid'] : 0; |
|
| 64 | + $customtagid = isset($_GET['customtagid']) ? (int) $_GET['customtagid'] : 0; |
|
| 65 | 65 | |
| 66 | 66 | smart_xoops_cp_header(); |
| 67 | 67 | $adminObject->displayNavigation(basename(__FILE__)); |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | |
| 72 | 72 | case 'clone': |
| 73 | 73 | |
| 74 | - $customtagid = isset($_GET['customtagid']) ? (int)$_GET['customtagid'] : 0; |
|
| 74 | + $customtagid = isset($_GET['customtagid']) ? (int) $_GET['customtagid'] : 0; |
|
| 75 | 75 | |
| 76 | 76 | smart_xoops_cp_header(); |
| 77 | 77 | $adminObject->displayNavigation(basename(__FILE__)); |
@@ -80,14 +80,14 @@ discard block |
||
| 80 | 80 | break; |
| 81 | 81 | |
| 82 | 82 | case 'addcustomtag': |
| 83 | - require_once XOOPS_ROOT_PATH . '/modules/smartobject/class/smartobjectcontroller.php'; |
|
| 83 | + require_once XOOPS_ROOT_PATH.'/modules/smartobject/class/smartobjectcontroller.php'; |
|
| 84 | 84 | $controller = new SmartObjectController($smartobjectCustomtagHandler); |
| 85 | 85 | $controller->storeFromDefaultForm(_AM_SOBJECT_CUSTOMTAGS_CREATED, _AM_SOBJECT_CUSTOMTAGS_MODIFIED); |
| 86 | 86 | break; |
| 87 | 87 | |
| 88 | 88 | case 'del': |
| 89 | 89 | |
| 90 | - require_once XOOPS_ROOT_PATH . '/modules/smartobject/class/smartobjectcontroller.php'; |
|
| 90 | + require_once XOOPS_ROOT_PATH.'/modules/smartobject/class/smartobjectcontroller.php'; |
|
| 91 | 91 | $controller = new SmartObjectController($smartobjectCustomtagHandler); |
| 92 | 92 | $controller->handleObjectDeletion(); |
| 93 | 93 | |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | |
| 105 | 105 | smart_collapsableBar('createdcustomtags', _AM_SOBJECT_CUSTOMTAGS, _AM_SOBJECT_CUSTOMTAGS_DSC); |
| 106 | 106 | |
| 107 | - require_once SMARTOBJECT_ROOT_PATH . 'class/smartobjecttable.php'; |
|
| 107 | + require_once SMARTOBJECT_ROOT_PATH.'class/smartobjecttable.php'; |
|
| 108 | 108 | $objectTable = new SmartObjectTable($smartobjectCustomtagHandler); |
| 109 | 109 | $objectTable->addColumn(new SmartObjectColumn('name', 'left', 150, 'getCustomtagName')); |
| 110 | 110 | $objectTable->addColumn(new SmartObjectColumn('description', 'left')); |
@@ -153,4 +153,4 @@ discard block |
||
| 153 | 153 | |
| 154 | 154 | //smart_modFooter(); |
| 155 | 155 | //xoops_cp_footer(); |
| 156 | -require_once __DIR__ . '/admin_footer.php'; |
|
| 156 | +require_once __DIR__.'/admin_footer.php'; |
|
@@ -17,11 +17,11 @@ |
||
| 17 | 17 | * @author XOOPS Development Team |
| 18 | 18 | */ |
| 19 | 19 | |
| 20 | -require_once __DIR__ . '/../../../include/cp_header.php'; |
|
| 20 | +require_once __DIR__.'/../../../include/cp_header.php'; |
|
| 21 | 21 | //require_once $GLOBALS['xoops']->path('www/class/xoopsformloader.php'); |
| 22 | 22 | |
| 23 | -require_once __DIR__ . '/../class/utility.php'; |
|
| 24 | -require_once __DIR__ . '/../include/common.php'; |
|
| 23 | +require_once __DIR__.'/../class/utility.php'; |
|
| 24 | +require_once __DIR__.'/../include/common.php'; |
|
| 25 | 25 | |
| 26 | 26 | $moduleDirName = basename(dirname(__DIR__)); |
| 27 | 27 | |
@@ -51,9 +51,9 @@ discard block |
||
| 51 | 51 | } |
| 52 | 52 | } |
| 53 | 53 | |
| 54 | -require_once __DIR__ . '/admin_header.php'; |
|
| 55 | -require_once SMARTOBJECT_ROOT_PATH . 'class/smartobjecttable.php'; |
|
| 56 | -require_once SMARTOBJECT_ROOT_PATH . 'class/rating.php'; |
|
| 54 | +require_once __DIR__.'/admin_header.php'; |
|
| 55 | +require_once SMARTOBJECT_ROOT_PATH.'class/smartobjecttable.php'; |
|
| 56 | +require_once SMARTOBJECT_ROOT_PATH.'class/rating.php'; |
|
| 57 | 57 | $smartobjectRatingHandler = xoops_getModuleHandler('rating'); |
| 58 | 58 | $indexAdmin = \Xmf\Module\Admin::getInstance(); |
| 59 | 59 | |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | case 'mod': |
| 71 | 71 | case 'changedField': |
| 72 | 72 | |
| 73 | - $ratingid = isset($_GET['ratingid']) ? (int)$_GET['ratingid'] : 0; |
|
| 73 | + $ratingid = isset($_GET['ratingid']) ? (int) $_GET['ratingid'] : 0; |
|
| 74 | 74 | |
| 75 | 75 | smart_xoops_cp_header(); |
| 76 | 76 | $adminObject->displayNavigation(basename(__FILE__)); |
@@ -79,14 +79,14 @@ discard block |
||
| 79 | 79 | break; |
| 80 | 80 | |
| 81 | 81 | case 'addrating': |
| 82 | - require_once XOOPS_ROOT_PATH . '/modules/smartobject/class/smartobjectcontroller.php'; |
|
| 82 | + require_once XOOPS_ROOT_PATH.'/modules/smartobject/class/smartobjectcontroller.php'; |
|
| 83 | 83 | $controller = new SmartObjectController($smartobjectRatingHandler); |
| 84 | - $controller->storeFromDefaultForm(_AM_SOBJECT_RATINGS_CREATED, _AM_SOBJECT_RATINGS_MODIFIED, SMARTOBJECT_URL . 'admin/rating.php'); |
|
| 84 | + $controller->storeFromDefaultForm(_AM_SOBJECT_RATINGS_CREATED, _AM_SOBJECT_RATINGS_MODIFIED, SMARTOBJECT_URL.'admin/rating.php'); |
|
| 85 | 85 | |
| 86 | 86 | break; |
| 87 | 87 | |
| 88 | 88 | case 'del': |
| 89 | - require_once XOOPS_ROOT_PATH . '/modules/smartobject/class/smartobjectcontroller.php'; |
|
| 89 | + require_once XOOPS_ROOT_PATH.'/modules/smartobject/class/smartobjectcontroller.php'; |
|
| 90 | 90 | $controller = new SmartObjectController($smartobjectRatingHandler); |
| 91 | 91 | $controller->handleObjectDeletion(); |
| 92 | 92 | |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | |
| 102 | 102 | smart_collapsableBar('createdratings', _AM_SOBJECT_RATINGS, _AM_SOBJECT_RATINGS_DSC); |
| 103 | 103 | |
| 104 | - require_once SMARTOBJECT_ROOT_PATH . 'class/smartobjecttable.php'; |
|
| 104 | + require_once SMARTOBJECT_ROOT_PATH.'class/smartobjecttable.php'; |
|
| 105 | 105 | $objectTable = new SmartObjectTable($smartobjectRatingHandler); |
| 106 | 106 | $objectTable->addColumn(new SmartObjectColumn('name', 'left')); |
| 107 | 107 | $objectTable->addColumn(new SmartObjectColumn('dirname', 'left')); |
@@ -149,4 +149,4 @@ discard block |
||
| 149 | 149 | |
| 150 | 150 | //smart_modFooter(); |
| 151 | 151 | //xoops_cp_footer(); |
| 152 | -require_once __DIR__ . '/admin_footer.php'; |
|
| 152 | +require_once __DIR__.'/admin_footer.php'; |
|
@@ -11,9 +11,9 @@ discard block |
||
| 11 | 11 | * Licence: GNU |
| 12 | 12 | */ |
| 13 | 13 | |
| 14 | -require_once __DIR__ . '/admin_header.php'; |
|
| 15 | -require_once SMARTOBJECT_ROOT_PATH . 'class/smartobjecttable.php'; |
|
| 16 | -require_once SMARTOBJECT_ROOT_PATH . 'class/smartobjectlink.php'; |
|
| 14 | +require_once __DIR__.'/admin_header.php'; |
|
| 15 | +require_once SMARTOBJECT_ROOT_PATH.'class/smartobjecttable.php'; |
|
| 16 | +require_once SMARTOBJECT_ROOT_PATH.'class/smartobjectlink.php'; |
|
| 17 | 17 | $adminObject = \Xmf\Module\Admin::getInstance(); |
| 18 | 18 | |
| 19 | 19 | $smartobjectLinkHandler = xoops_getModuleHandler('link'); |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | switch ($op) { |
| 31 | 31 | |
| 32 | 32 | case 'del': |
| 33 | - require_once XOOPS_ROOT_PATH . '/modules/smartobject/class/smartobjectcontroller.php'; |
|
| 33 | + require_once XOOPS_ROOT_PATH.'/modules/smartobject/class/smartobjectcontroller.php'; |
|
| 34 | 34 | $controller = new SmartObjectController($smartobjectLinkHandler); |
| 35 | 35 | $controller->handleObjectDeletion(_AM_SOBJECT_SENT_LINK_DELETE_CONFIRM); |
| 36 | 36 | |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | $linkObj = $smartobjectLinkHandler->get($linkid); |
| 42 | 42 | |
| 43 | 43 | if ($linkObj->isNew()) { |
| 44 | - redirect_header(SMARTOBJECT_URL . 'admin/link.php', 3, _AM_SOBJECT_LINK_NOT_FOUND); |
|
| 44 | + redirect_header(SMARTOBJECT_URL.'admin/link.php', 3, _AM_SOBJECT_LINK_NOT_FOUND); |
|
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | smart_xoops_cp_header(); |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | smart_collapsableBar('sentlinks', _AM_SOBJECT_SENT_LINK_DISPLAY, _AM_SOBJECT_SENT_LINK_DISPLAY_INFO); |
| 52 | 52 | |
| 53 | - require_once XOOPS_ROOT_PATH . '/class/template.php'; |
|
| 53 | + require_once XOOPS_ROOT_PATH.'/class/template.php'; |
|
| 54 | 54 | |
| 55 | 55 | // --- |
| 56 | 56 | // 2012-01-01 PHP 5.3: Assigning the return value of new by reference is now deprecated. |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | |
| 78 | 78 | smart_collapsableBar('sentlinks', _AM_SOBJECT_SENT_LINKS, _AM_SOBJECT_SENT_LINKS_INFO); |
| 79 | 79 | |
| 80 | - require_once SMARTOBJECT_ROOT_PATH . 'class/smartobjecttable.php'; |
|
| 80 | + require_once SMARTOBJECT_ROOT_PATH.'class/smartobjecttable.php'; |
|
| 81 | 81 | $objectTable = new SmartObjectTable($smartobjectLinkHandler, null, array('delete')); |
| 82 | 82 | $objectTable->addColumn(new SmartObjectColumn('date')); |
| 83 | 83 | $objectTable->addColumn(new SmartObjectColumn(_AM_SOBJECT_SENT_LINKS_FROM, $align = 'left', $width = false, 'getFromInfo')); |
@@ -100,4 +100,4 @@ discard block |
||
| 100 | 100 | |
| 101 | 101 | //smart_modFooter(); |
| 102 | 102 | //xoops_cp_footer(); |
| 103 | -require_once __DIR__ . '/admin_footer.php'; |
|
| 103 | +require_once __DIR__.'/admin_footer.php'; |
|
@@ -17,11 +17,11 @@ |
||
| 17 | 17 | * @author XOOPS Development Team |
| 18 | 18 | */ |
| 19 | 19 | |
| 20 | -require_once __DIR__ . '/admin_header.php'; |
|
| 20 | +require_once __DIR__.'/admin_header.php'; |
|
| 21 | 21 | xoops_cp_header(); |
| 22 | 22 | |
| 23 | 23 | $adminObject->displayNavigation(basename(__FILE__)); |
| 24 | 24 | $adminObject->setPaypal('[email protected]'); |
| 25 | 25 | $adminObject->displayAbout(false); |
| 26 | 26 | |
| 27 | -require_once __DIR__ . '/admin_footer.php'; |
|
| 27 | +require_once __DIR__.'/admin_footer.php'; |
|
@@ -18,6 +18,6 @@ |
||
| 18 | 18 | */ |
| 19 | 19 | |
| 20 | 20 | $pathIcon32 = \Xmf\Module\Admin::iconUrl('', 32); |
| 21 | -echo "<div class='adminfooter'>\n" . " <div style='text-align: center;'>\n" . " <a href='https://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" . " </div>\n" . ' ' . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" . '</div>'; |
|
| 21 | +echo "<div class='adminfooter'>\n"." <div style='text-align: center;'>\n"." <a href='https://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n"." </div>\n".' '._AM_MODULEADMIN_ADMIN_FOOTER."\n".'</div>'; |
|
| 22 | 22 | |
| 23 | 23 | xoops_cp_footer(); |