@@ -13,9 +13,9 @@ |
||
| 13 | 13 | * @filesource |
| 14 | 14 | */ |
| 15 | 15 | |
| 16 | -include __DIR__ . '/classes/JavaScript.php'; |
|
| 17 | -__DIR__ . '/classes/Prototype.php'; |
|
| 18 | -__DIR__ . '/classes/Scriptaculous.php'; |
|
| 16 | +include __DIR__.'/classes/JavaScript.php'; |
|
| 17 | +__DIR__.'/classes/Prototype.php'; |
|
| 18 | +__DIR__.'/classes/Scriptaculous.php'; |
|
| 19 | 19 | |
| 20 | 20 | // For $projax = new Projax(); |
| 21 | 21 | |
@@ -19,8 +19,8 @@ discard block |
||
| 19 | 19 | |
| 20 | 20 | // defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined'); |
| 21 | 21 | |
| 22 | -require_once XOOPS_ROOT_PATH . '/modules/smartobject/include/common.php'; |
|
| 23 | -require_once XOOPS_ROOT_PATH . '/modules/smartobject/class/smartdbupdater.php'; |
|
| 22 | +require_once XOOPS_ROOT_PATH.'/modules/smartobject/include/common.php'; |
|
| 23 | +require_once XOOPS_ROOT_PATH.'/modules/smartobject/class/smartdbupdater.php'; |
|
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | 26 | * @param XoopsModule $module |
@@ -37,12 +37,12 @@ discard block |
||
| 37 | 37 | |
| 38 | 38 | $dbupdater = new SmartobjectDbupdater(); |
| 39 | 39 | |
| 40 | - echo '<code>' . _SDU_UPDATE_UPDATING_DATABASE . '<br>'; |
|
| 40 | + echo '<code>'._SDU_UPDATE_UPDATING_DATABASE.'<br>'; |
|
| 41 | 41 | |
| 42 | 42 | // db migrate version = 1 |
| 43 | 43 | $newDbVersion = 1; |
| 44 | 44 | if ($dbVersion < $newDbVersion) { |
| 45 | - echo 'Database migrate to version ' . $newDbVersion . '<br>'; |
|
| 45 | + echo 'Database migrate to version '.$newDbVersion.'<br>'; |
|
| 46 | 46 | |
| 47 | 47 | // Create table smartobject_link |
| 48 | 48 | $table = new SmartDbTable('smartobject_link'); |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | // db migrate version = 2 |
| 146 | 146 | $newDbVersion = 2; |
| 147 | 147 | if ($dbVersion < $newDbVersion) { |
| 148 | - echo 'Database migrate to version ' . $newDbVersion . '<br>'; |
|
| 148 | + echo 'Database migrate to version '.$newDbVersion.'<br>'; |
|
| 149 | 149 | |
| 150 | 150 | // Create table smartobject_rating |
| 151 | 151 | $table = new SmartDbTable('smartobject_rating'); |
@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | // db migrate version = 3 |
| 186 | 186 | $newDbVersion = 3; |
| 187 | 187 | if ($dbVersion < $newDbVersion) { |
| 188 | - echo 'Database migrate to version ' . $newDbVersion . '<br>'; |
|
| 188 | + echo 'Database migrate to version '.$newDbVersion.'<br>'; |
|
| 189 | 189 | |
| 190 | 190 | // Create table smartobject_customtag |
| 191 | 191 | $table = new SmartDbTable('smartobject_customtag'); |
@@ -210,7 +210,7 @@ discard block |
||
| 210 | 210 | // db migrate version = 4 |
| 211 | 211 | $newDbVersion = 4; |
| 212 | 212 | if ($dbVersion < $newDbVersion) { |
| 213 | - echo 'Database migrate to version ' . $newDbVersion . '<br>'; |
|
| 213 | + echo 'Database migrate to version '.$newDbVersion.'<br>'; |
|
| 214 | 214 | |
| 215 | 215 | // Create table smartobject_currency |
| 216 | 216 | $table = new SmartDbTable('smartobject_currency'); |
@@ -236,12 +236,12 @@ discard block |
||
| 236 | 236 | // db migrate version = 6 |
| 237 | 237 | $newDbVersion = 6; |
| 238 | 238 | if ($dbVersion < $newDbVersion) { |
| 239 | - echo 'Database migrate to version ' . $newDbVersion . '<br>'; |
|
| 239 | + echo 'Database migrate to version '.$newDbVersion.'<br>'; |
|
| 240 | 240 | } |
| 241 | 241 | |
| 242 | 242 | $newDbVersion = 7; |
| 243 | 243 | if ($dbVersion < $newDbVersion) { |
| 244 | - echo 'Database migrate to version ' . $newDbVersion . '<br>'; |
|
| 244 | + echo 'Database migrate to version '.$newDbVersion.'<br>'; |
|
| 245 | 245 | |
| 246 | 246 | // Create table smartobject_file |
| 247 | 247 | $table = new SmartDbTable('smartobject_file'); |
@@ -10,7 +10,7 @@ |
||
| 10 | 10 | function smartobject_plugin_smartband() |
| 11 | 11 | { |
| 12 | 12 | global $xoopsConfig; |
| 13 | - require_once XOOPS_ROOT_PATH . '/modules/smartband/language/' . $xoopsConfig['language'] . '/main.php'; |
|
| 13 | + require_once XOOPS_ROOT_PATH.'/modules/smartband/language/'.$xoopsConfig['language'].'/main.php'; |
|
| 14 | 14 | |
| 15 | 15 | $pluginInfo = array(); |
| 16 | 16 | $pluginInfo['items']['item']['caption'] = _MD_ARTALBUM_ITEM_CAP; |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | //$modversion['status'] = "Final"; |
| 32 | 32 | $modversion['modicons16'] = 'assets/images/icons/16'; |
| 33 | 33 | $modversion['modicons32'] = 'assets/images/icons/32'; |
| 34 | -$modversion['release_file'] = XOOPS_URL . '/modules/' . $modversion['dirname'] . '/docs/changelog.txt'; |
|
| 34 | +$modversion['release_file'] = XOOPS_URL.'/modules/'.$modversion['dirname'].'/docs/changelog.txt'; |
|
| 35 | 35 | $modversion['module_website_url'] = 'www.xoops.org'; |
| 36 | 36 | $modversion['module_website_name'] = 'XOOPS'; |
| 37 | 37 | $modversion['min_php'] = '5.5'; |
@@ -64,12 +64,12 @@ discard block |
||
| 64 | 64 | // ----- BUG: not read other language file ----- |
| 65 | 65 | //include_once(XOOPS_ROOT_PATH.'/modules/smartobject/language/english/common.php'); |
| 66 | 66 | global $xoopsConfig; |
| 67 | -$common_file = XOOPS_ROOT_PATH . '/modules/smartobject/language/' . $xoopsConfig['language'] . '/common.php'; |
|
| 67 | +$common_file = XOOPS_ROOT_PATH.'/modules/smartobject/language/'.$xoopsConfig['language'].'/common.php'; |
|
| 68 | 68 | if (file_exists($common_file)) { |
| 69 | 69 | $flag_common = true; |
| 70 | 70 | require_once $common_file; |
| 71 | 71 | } else { |
| 72 | - require_once XOOPS_ROOT_PATH . '/modules/smartobject/language/english/common.php'; |
|
| 72 | + require_once XOOPS_ROOT_PATH.'/modules/smartobject/language/english/common.php'; |
|
| 73 | 73 | } |
| 74 | 74 | // ----- |
| 75 | 75 | |