@@ -20,7 +20,7 @@ |
||
| 20 | 20 | * @author Goffy - XOOPS Development Team - Email:<[email protected]> - Website:<https://wedega.com> |
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | -include_once __DIR__ . '/admin.php'; |
|
| 23 | +include_once __DIR__.'/admin.php'; |
|
| 24 | 24 | |
| 25 | 25 | // ---------------- Main ---------------- |
| 26 | 26 | \define('_MA_WGGITHUB_INDEX', 'Übersicht');
|
@@ -20,8 +20,8 @@ |
||
| 20 | 20 | * @author Goffy - XOOPS Development Team - Email:<[email protected]> - Website:<https://wedega.com> |
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | -include_once __DIR__ . '/common.php'; |
|
| 24 | -include_once __DIR__ . '/main.php'; |
|
| 23 | +include_once __DIR__.'/common.php'; |
|
| 24 | +include_once __DIR__.'/main.php'; |
|
| 25 | 25 | |
| 26 | 26 | // ---------------- Admin Index ---------------- |
| 27 | 27 | \define('_AM_WGGITHUB_STATISTICS', 'Statistiken');
|
@@ -20,8 +20,8 @@ |
||
| 20 | 20 | * @author Goffy - XOOPS Development Team - Email:<[email protected]> - Website:<https://wedega.com> |
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | -include_once __DIR__ . '/common.php'; |
|
| 24 | -include_once __DIR__ . '/main.php'; |
|
| 23 | +include_once __DIR__.'/common.php'; |
|
| 24 | +include_once __DIR__.'/main.php'; |
|
| 25 | 25 | |
| 26 | 26 | // ---------------- Admin Index ---------------- |
| 27 | 27 | \define('_AM_WGGITHUB_STATISTICS', 'Statistics');
|
@@ -180,9 +180,9 @@ discard block |
||
| 180 | 180 | break; |
| 181 | 181 | } |
| 182 | 182 | $ret['content_shorttext'] = Utility::truncateHtml($content_text); |
| 183 | - $ret['autoupdate'] = (int)$this->getVar('dir_autoupdate') > 0 ? _YES : _NO;
|
|
| 184 | - $ret['online'] = (int)$this->getVar('dir_online') > 0 ? _YES : _NO;
|
|
| 185 | - $filterRelease = (int)$this->getVar('dir_filterrelease');
|
|
| 183 | + $ret['autoupdate'] = (int) $this->getVar('dir_autoupdate') > 0 ? _YES : _NO;
|
|
| 184 | + $ret['online'] = (int) $this->getVar('dir_online') > 0 ? _YES : _NO;
|
|
| 185 | + $filterRelease = (int) $this->getVar('dir_filterrelease');
|
|
| 186 | 186 | $ret['filterrelease'] = $filterRelease; |
| 187 | 187 | switch ($filterRelease) {
|
| 188 | 188 | case Constants::FILTER_TYPE_NONE: |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | break; |
| 198 | 198 | } |
| 199 | 199 | $ret['filterrelease_text'] = $filterReleaseText; |
| 200 | - $ret['weight'] = (int)$this->getVar('dir_weight');
|
|
| 200 | + $ret['weight'] = (int) $this->getVar('dir_weight');
|
|
| 201 | 201 | $ret['datecreated'] = \formatTimestamp($this->getVar('dir_datecreated'), 's');
|
| 202 | 202 | $ret['submitter'] = \XoopsUser::getUnameFromId($this->getVar('dir_submitter'));
|
| 203 | 203 | return $ret; |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | public const DIRECTORY_TYPE_USER = 1; |
| 41 | 41 | public const DIRECTORY_TYPE_ORG = 2; |
| 42 | 42 | |
| 43 | - public const DIRECTORY_CONTENT_ALL = 0; |
|
| 43 | + public const DIRECTORY_CONTENT_ALL = 0; |
|
| 44 | 44 | public const DIRECTORY_CONTENT_OWN = 1; |
| 45 | 45 | |
| 46 | 46 | // Constants for status |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | public const PERM_README_UPDATE = 3; |
| 58 | 58 | |
| 59 | 59 | // Constants for log type |
| 60 | - public const LOG_TYPE_NONE = 0; |
|
| 60 | + public const LOG_TYPE_NONE = 0; |
|
| 61 | 61 | public const LOG_TYPE_UPDATE_START = 1; |
| 62 | 62 | public const LOG_TYPE_UPDATE_END = 2; |
| 63 | 63 | public const LOG_TYPE_REQUEST = 3; |