@@ -25,9 +25,9 @@ discard block |
||
| 25 | 25 | use XoopsModules\Wggithub\Constants; |
| 26 | 26 | use XoopsModules\Wggithub\Common; |
| 27 | 27 | |
| 28 | -require __DIR__ . '/header.php'; |
|
| 28 | +require __DIR__.'/header.php'; |
|
| 29 | 29 | $GLOBALS['xoopsOption']['template_main'] = 'wggithub_directories.tpl'; |
| 30 | -include_once \XOOPS_ROOT_PATH . '/header.php'; |
|
| 30 | +include_once \XOOPS_ROOT_PATH.'/header.php'; |
|
| 31 | 31 | |
| 32 | 32 | $op = Request::getCmd('op', 'list'); |
| 33 | 33 | $start = Request::getInt('start', 0); |
@@ -70,8 +70,8 @@ discard block |
||
| 70 | 70 | unset($directories); |
| 71 | 71 | // Display Navigation |
| 72 | 72 | if ($directoriesCount > $limit) { |
| 73 | - include_once \XOOPS_ROOT_PATH . '/class/pagenav.php'; |
|
| 74 | - $pagenav = new \XoopsPageNav($directoriesCount, $limit, $start, 'start', 'op=list&limit=' . $limit); |
|
| 73 | + include_once \XOOPS_ROOT_PATH.'/class/pagenav.php'; |
|
| 74 | + $pagenav = new \XoopsPageNav($directoriesCount, $limit, $start, 'start', 'op=list&limit='.$limit); |
|
| 75 | 75 | $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4)); |
| 76 | 76 | } |
| 77 | 77 | $GLOBALS['xoopsTpl']->assign('type', $helper->getConfig('table_type')); |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | $xoBreadcrumbs[] = ['title' => \_MA_WGGITHUB_DIRECTORIES]; |
| 86 | 86 | |
| 87 | 87 | // Keywords |
| 88 | -wggithubMetaKeywords($helper->getConfig('keywords') . ', ' . \implode(',', $keywords)); |
|
| 88 | +wggithubMetaKeywords($helper->getConfig('keywords').', '.\implode(',', $keywords)); |
|
| 89 | 89 | unset($keywords); |
| 90 | 90 | |
| 91 | 91 | // Description |
@@ -93,4 +93,4 @@ discard block |
||
| 93 | 93 | $GLOBALS['xoopsTpl']->assign('xoops_mpageurl', WGGITHUB_URL.'/directories.php'); |
| 94 | 94 | $GLOBALS['xoopsTpl']->assign('wggithub_upload_url', WGGITHUB_UPLOAD_URL); |
| 95 | 95 | |
| 96 | -require __DIR__ . '/footer.php'; |
|
| 96 | +require __DIR__.'/footer.php'; |
|
@@ -25,9 +25,9 @@ discard block |
||
| 25 | 25 | use XoopsModules\Wggithub\Constants; |
| 26 | 26 | use XoopsModules\Wggithub\Common; |
| 27 | 27 | |
| 28 | -require __DIR__ . '/header.php'; |
|
| 28 | +require __DIR__.'/header.php'; |
|
| 29 | 29 | $GLOBALS['xoopsOption']['template_main'] = 'wggithub_repositories.tpl'; |
| 30 | -include_once XOOPS_ROOT_PATH . '/header.php'; |
|
| 30 | +include_once XOOPS_ROOT_PATH.'/header.php'; |
|
| 31 | 31 | |
| 32 | 32 | $op = Request::getCmd('op', 'list'); |
| 33 | 33 | $start = Request::getInt('start', 0); |
@@ -70,8 +70,8 @@ discard block |
||
| 70 | 70 | unset($repositories); |
| 71 | 71 | // Display Navigation |
| 72 | 72 | if ($repositoriesCount > $limit) { |
| 73 | - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; |
|
| 74 | - $pagenav = new \XoopsPageNav($repositoriesCount, $limit, $start, 'start', 'op=list&limit=' . $limit); |
|
| 73 | + include_once XOOPS_ROOT_PATH.'/class/pagenav.php'; |
|
| 74 | + $pagenav = new \XoopsPageNav($repositoriesCount, $limit, $start, 'start', 'op=list&limit='.$limit); |
|
| 75 | 75 | $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4)); |
| 76 | 76 | } |
| 77 | 77 | $GLOBALS['xoopsTpl']->assign('type', $helper->getConfig('table_type')); |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | $xoBreadcrumbs[] = ['title' => _MA_WGGITHUB_REPOSITORIES]; |
| 86 | 86 | |
| 87 | 87 | // Keywords |
| 88 | -wggithubMetaKeywords($helper->getConfig('keywords') . ', ' . \implode(',', $keywords)); |
|
| 88 | +wggithubMetaKeywords($helper->getConfig('keywords').', '.\implode(',', $keywords)); |
|
| 89 | 89 | unset($keywords); |
| 90 | 90 | |
| 91 | 91 | // Description |
@@ -93,4 +93,4 @@ discard block |
||
| 93 | 93 | $GLOBALS['xoopsTpl']->assign('xoops_mpageurl', WGGITHUB_URL.'/repositories.php'); |
| 94 | 94 | $GLOBALS['xoopsTpl']->assign('wggithub_upload_url', WGGITHUB_UPLOAD_URL); |
| 95 | 95 | |
| 96 | -require __DIR__ . '/footer.php'; |
|
| 96 | +require __DIR__.'/footer.php'; |
|
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | use XoopsModules\Wggithub\Helper; |
| 25 | 25 | use XoopsModules\Wggithub\Constants; |
| 26 | 26 | |
| 27 | -include_once XOOPS_ROOT_PATH . '/modules/wggithub/include/common.php'; |
|
| 27 | +include_once XOOPS_ROOT_PATH.'/modules/wggithub/include/common.php'; |
|
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * Function show block |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | function b_wggithub_repositories_show($options) |
| 35 | 35 | { |
| 36 | - include_once XOOPS_ROOT_PATH . '/modules/wggithub/class/repositories.php'; |
|
| 36 | + include_once XOOPS_ROOT_PATH.'/modules/wggithub/class/repositories.php'; |
|
| 37 | 37 | $myts = MyTextSanitizer::getInstance(); |
| 38 | 38 | $GLOBALS['xoopsTpl']->assign('wggithub_upload_url', WGGITHUB_UPLOAD_URL); |
| 39 | 39 | $block = []; |
@@ -98,14 +98,14 @@ discard block |
||
| 98 | 98 | */ |
| 99 | 99 | function b_wggithub_repositories_edit($options) |
| 100 | 100 | { |
| 101 | - include_once XOOPS_ROOT_PATH . '/modules/wggithub/class/repositories.php'; |
|
| 101 | + include_once XOOPS_ROOT_PATH.'/modules/wggithub/class/repositories.php'; |
|
| 102 | 102 | $helper = Helper::getInstance(); |
| 103 | 103 | $repositoriesHandler = $helper->getHandler('Repositories'); |
| 104 | 104 | $GLOBALS['xoopsTpl']->assign('wggithub_upload_url', WGGITHUB_UPLOAD_URL); |
| 105 | 105 | $form = _MB_WGGITHUB_DISPLAY; |
| 106 | 106 | $form .= "<input type='hidden' name='options[0]' value='".$options[0]."' />"; |
| 107 | - $form .= "<input type='text' name='options[1]' size='5' maxlength='255' value='" . $options[1] . "' /> <br>"; |
|
| 108 | - $form .= _MB_WGGITHUB_TITLE_LENGTH . " : <input type='text' name='options[2]' size='5' maxlength='255' value='" . $options[2] . "' /><br><br>"; |
|
| 107 | + $form .= "<input type='text' name='options[1]' size='5' maxlength='255' value='".$options[1]."' /> <br>"; |
|
| 108 | + $form .= _MB_WGGITHUB_TITLE_LENGTH." : <input type='text' name='options[2]' size='5' maxlength='255' value='".$options[2]."' /><br><br>"; |
|
| 109 | 109 | \array_shift($options); |
| 110 | 110 | \array_shift($options); |
| 111 | 111 | \array_shift($options); |
@@ -116,11 +116,11 @@ discard block |
||
| 116 | 116 | $crRepositories->setOrder('ASC'); |
| 117 | 117 | $repositoriesAll = $repositoriesHandler->getAll($crRepositories); |
| 118 | 118 | unset($crRepositories); |
| 119 | - $form .= _MB_WGGITHUB_REPOSITORIES_TO_DISPLAY . "<br><select name='options[]' multiple='multiple' size='5'>"; |
|
| 120 | - $form .= "<option value='0' " . (\in_array(0, $options) == false ? '' : "selected='selected'") . '>' . _MB_WGGITHUB_ALL_REPOSITORIES . '</option>'; |
|
| 119 | + $form .= _MB_WGGITHUB_REPOSITORIES_TO_DISPLAY."<br><select name='options[]' multiple='multiple' size='5'>"; |
|
| 120 | + $form .= "<option value='0' ".(\in_array(0, $options) == false ? '' : "selected='selected'").'>'._MB_WGGITHUB_ALL_REPOSITORIES.'</option>'; |
|
| 121 | 121 | foreach (\array_keys($repositoriesAll) as $i) { |
| 122 | 122 | $repo_id = $repositoriesAll[$i]->getVar('repo_id'); |
| 123 | - $form .= "<option value='" . $repo_id . "' " . (\in_array($repo_id, $options) == false ? '' : "selected='selected'") . '>' . $repositoriesAll[$i]->getVar('repo_name') . '</option>'; |
|
| 123 | + $form .= "<option value='".$repo_id."' ".(\in_array($repo_id, $options) == false ? '' : "selected='selected'").'>'.$repositoriesAll[$i]->getVar('repo_name').'</option>'; |
|
| 124 | 124 | } |
| 125 | 125 | $form .= '</select>'; |
| 126 | 126 | |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | Github\GithubClient |
| 28 | 28 | }; |
| 29 | 29 | |
| 30 | -require __DIR__ . '/header.php'; |
|
| 30 | +require __DIR__.'/header.php'; |
|
| 31 | 31 | // It recovered the value of argument op in URL$ |
| 32 | 32 | $op = Request::getCmd('op', 'list'); |
| 33 | 33 | // Request dir_id |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | $GLOBALS['xoopsTpl']->assign('directories_count', $directoriesCount); |
| 49 | 49 | $GLOBALS['xoopsTpl']->assign('wggithub_url', WGGITHUB_URL); |
| 50 | 50 | $GLOBALS['xoopsTpl']->assign('wggithub_upload_url', WGGITHUB_UPLOAD_URL); |
| 51 | - $GLOBALS['xoopsTpl']->assign('wggithub_icons_url_16', WGGITHUB_ICONS_URL . '/16'); |
|
| 51 | + $GLOBALS['xoopsTpl']->assign('wggithub_icons_url_16', WGGITHUB_ICONS_URL.'/16'); |
|
| 52 | 52 | // Table view directories |
| 53 | 53 | if ($directoriesCount > 0) { |
| 54 | 54 | foreach (\array_keys($directoriesAll) as $i) { |
@@ -58,8 +58,8 @@ discard block |
||
| 58 | 58 | } |
| 59 | 59 | // Display Navigation |
| 60 | 60 | if ($directoriesCount > $limit) { |
| 61 | - include_once XOOPS_ROOT_PATH . '/class/pagenav.php'; |
|
| 62 | - $pagenav = new \XoopsPageNav($directoriesCount, $limit, $start, 'start', 'op=list&limit=' . $limit); |
|
| 61 | + include_once XOOPS_ROOT_PATH.'/class/pagenav.php'; |
|
| 62 | + $pagenav = new \XoopsPageNav($directoriesCount, $limit, $start, 'start', 'op=list&limit='.$limit); |
|
| 63 | 63 | $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4)); |
| 64 | 64 | } |
| 65 | 65 | } else { |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | $dirName = $directoriesObj->getVar('dir_name'); |
| 144 | 144 | $githubClient = GithubClient::getInstance(); |
| 145 | 145 | $result = $githubClient->executeUpdate($dirName); |
| 146 | - $redir = 'index.php?op=list&start=' . $start . '&limit=' . $limit; |
|
| 146 | + $redir = 'index.php?op=list&start='.$start.'&limit='.$limit; |
|
| 147 | 147 | if ($result) { |
| 148 | 148 | \redirect_header($redir, 2, \_MA_WGGITHUB_READGH_SUCCESS); |
| 149 | 149 | } else { |
@@ -151,4 +151,4 @@ discard block |
||
| 151 | 151 | } |
| 152 | 152 | break; |
| 153 | 153 | } |
| 154 | -require __DIR__ . '/footer.php'; |
|
| 154 | +require __DIR__.'/footer.php'; |
|
@@ -37,10 +37,10 @@ discard block |
||
| 37 | 37 | 'license_url' => 'http://www.gnu.org/licenses/gpl-3.0.en.html', |
| 38 | 38 | 'help' => 'page=help', |
| 39 | 39 | 'release_info' => 'release_info', |
| 40 | - 'release_file' => XOOPS_URL . '/modules/wggithub/docs/release_info file', |
|
| 40 | + 'release_file' => XOOPS_URL.'/modules/wggithub/docs/release_info file', |
|
| 41 | 41 | 'release_date' => '2020/11/21', |
| 42 | 42 | 'manual' => 'link to manual file', |
| 43 | - 'manual_file' => XOOPS_URL . '/modules/wggithub/docs/install.txt', |
|
| 43 | + 'manual_file' => XOOPS_URL.'/modules/wggithub/docs/install.txt', |
|
| 44 | 44 | 'min_php' => '7.2', |
| 45 | 45 | 'min_xoops' => '2.5.10', |
| 46 | 46 | 'min_admin' => '1.2', |
@@ -289,8 +289,8 @@ discard block |
||
| 289 | 289 | // Make Sample button visible? |
| 290 | 290 | $modversion['config'][] = [ |
| 291 | 291 | 'name' => 'displaySampleButton', |
| 292 | - 'title' => 'CO_' . $moduleDirNameUpper . '_' . 'SHOW_SAMPLE_BUTTON', |
|
| 293 | - 'description' => 'CO_' . $moduleDirNameUpper . '_' . 'SHOW_SAMPLE_BUTTON_DESC', |
|
| 292 | + 'title' => 'CO_'.$moduleDirNameUpper.'_'.'SHOW_SAMPLE_BUTTON', |
|
| 293 | + 'description' => 'CO_'.$moduleDirNameUpper.'_'.'SHOW_SAMPLE_BUTTON_DESC', |
|
| 294 | 294 | 'formtype' => 'yesno', |
| 295 | 295 | 'valuetype' => 'int', |
| 296 | 296 | 'default' => 1, |
@@ -28,15 +28,15 @@ discard block |
||
| 28 | 28 | Github\GithubClient |
| 29 | 29 | }; |
| 30 | 30 | |
| 31 | -require __DIR__ . '/header.php'; |
|
| 31 | +require __DIR__.'/header.php'; |
|
| 32 | 32 | $GLOBALS['xoopsOption']['template_main'] = 'wggithub_index.tpl'; |
| 33 | -include_once \XOOPS_ROOT_PATH . '/header.php'; |
|
| 33 | +include_once \XOOPS_ROOT_PATH.'/header.php'; |
|
| 34 | 34 | |
| 35 | 35 | // Permissions |
| 36 | 36 | $permGlobalView = $permissionsHandler->getPermGlobalView(); |
| 37 | 37 | if (!$permGlobalView) { |
| 38 | 38 | $GLOBALS['xoopsTpl']->assign('error', _NOPERM); |
| 39 | - require __DIR__ . '/footer.php'; |
|
| 39 | + require __DIR__.'/footer.php'; |
|
| 40 | 40 | } |
| 41 | 41 | $permGlobalRead = $permissionsHandler->getPermGlobalRead(); |
| 42 | 42 | $permReadmeUpdate = $permissionsHandler->getPermReadmeUpdate(); |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | // Define Stylesheet |
| 52 | 52 | $GLOBALS['xoTheme']->addStylesheet($style, null); |
| 53 | -$GLOBALS['xoTheme']->addStylesheet(WGGITHUB_URL . '/assets/css/tabs.css', null); |
|
| 53 | +$GLOBALS['xoTheme']->addStylesheet(WGGITHUB_URL.'/assets/css/tabs.css', null); |
|
| 54 | 54 | $keywords = []; |
| 55 | 55 | // |
| 56 | 56 | $GLOBALS['xoopsTpl']->assign('xoops_icons32_url', XOOPS_ICONS32_URL); |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | foreach (\array_keys($directoriesAll) as $i) { |
| 128 | 128 | $directories[$i] = $directoriesAll[$i]->getValuesDirectories(); |
| 129 | 129 | $dirName = $directoriesAll[$i]->getVar('dir_name'); |
| 130 | - $dirFilterRelease = (bool)$directoriesAll[$i]->getVar('dir_filterrelease'); |
|
| 130 | + $dirFilterRelease = (bool) $directoriesAll[$i]->getVar('dir_filterrelease'); |
|
| 131 | 131 | $repos = []; |
| 132 | 132 | $crRepositories = new \CriteriaCompo(); |
| 133 | 133 | $crRepositories->add(new \Criteria('repo_user', $dirName)); |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | $crRepositories->add(new \Criteria('repo_status', Constants::STATUS_UPTODATE), 'OR'); |
| 136 | 136 | $repositoriesCountTotal = $repositoriesHandler->getCount($crRepositories); |
| 137 | 137 | if ('any' === $filterRelease && $dirFilterRelease) { |
| 138 | - $crRepositories->add(new \Criteria('repo_prerelease', 1) ); |
|
| 138 | + $crRepositories->add(new \Criteria('repo_prerelease', 1)); |
|
| 139 | 139 | $crRepositories->add(new \Criteria('repo_release', 1), 'OR'); |
| 140 | 140 | } |
| 141 | 141 | if ('final' === $filterRelease && $dirFilterRelease) { |
@@ -190,9 +190,9 @@ discard block |
||
| 190 | 190 | } |
| 191 | 191 | $directories[$i]['repos'] = $repos; |
| 192 | 192 | $directories[$i]['previousRepos'] = $start > 0; |
| 193 | - $directories[$i]['previousOp'] = '&start=' . ($start - $limit) . '&limit=' . $limit . '&release=' . $filterRelease . '&sortby=' . $filterSortby; |
|
| 193 | + $directories[$i]['previousOp'] = '&start='.($start - $limit).'&limit='.$limit.'&release='.$filterRelease.'&sortby='.$filterSortby; |
|
| 194 | 194 | $directories[$i]['nextRepos'] = ($repositoriesCount - $start) > $limit; |
| 195 | - $directories[$i]['nextOp'] = '&start=' . ($start + $limit) . '&limit=' . $limit . '&release=' . $filterRelease . '&sortby=' . $filterSortby; |
|
| 195 | + $directories[$i]['nextOp'] = '&start='.($start + $limit).'&limit='.$limit.'&release='.$filterRelease.'&sortby='.$filterSortby; |
|
| 196 | 196 | $GLOBALS['xoopsTpl']->assign('start', $start); |
| 197 | 197 | $GLOBALS['xoopsTpl']->assign('limit', $limit); |
| 198 | 198 | $GLOBALS['xoopsTpl']->assign('menu', $menu); |
@@ -202,8 +202,8 @@ discard block |
||
| 202 | 202 | unset($crDirectories, $directories); |
| 203 | 203 | // Display Navigation |
| 204 | 204 | if ($directoriesCount > $limit) { |
| 205 | - require_once \XOOPS_ROOT_PATH . '/class/pagenav.php'; |
|
| 206 | - $pagenav = new \XoopsPageNav($directoriesCount, $limit, $start, 'start', 'op=list&limit=' . $limit); |
|
| 205 | + require_once \XOOPS_ROOT_PATH.'/class/pagenav.php'; |
|
| 206 | + $pagenav = new \XoopsPageNav($directoriesCount, $limit, $start, 'start', 'op=list&limit='.$limit); |
|
| 207 | 207 | $GLOBALS['xoopsTpl']->assign('pagenav', $pagenav->renderNav(4)); |
| 208 | 208 | } |
| 209 | 209 | $GLOBALS['xoopsTpl']->assign('lang_thereare', \sprintf(\_MA_WGGITHUB_INDEX_THEREARE, $directoriesCount)); |
@@ -216,12 +216,12 @@ discard block |
||
| 216 | 216 | // Permissions |
| 217 | 217 | if (!$permGlobalRead) { |
| 218 | 218 | $GLOBALS['xoopsTpl']->assign('error', \_NOPERM); |
| 219 | - require __DIR__ . '/footer.php'; |
|
| 219 | + require __DIR__.'/footer.php'; |
|
| 220 | 220 | } |
| 221 | 221 | $dirName = Request::getString('dir_name', ''); |
| 222 | 222 | $githubClient = GithubClient::getInstance(); |
| 223 | 223 | $result = $githubClient->executeUpdate($dirName); |
| 224 | - $redir = 'index.php?op=list_afterupdate&start=' . $start . '&limit=' . $limit . '&release=' . $filterRelease . '&sortby=' . $filterSortby; |
|
| 224 | + $redir = 'index.php?op=list_afterupdate&start='.$start.'&limit='.$limit.'&release='.$filterRelease.'&sortby='.$filterSortby; |
|
| 225 | 225 | if ($result) { |
| 226 | 226 | \redirect_header($redir, 2, \_MA_WGGITHUB_READGH_SUCCESS); |
| 227 | 227 | } else { |
@@ -233,13 +233,13 @@ discard block |
||
| 233 | 233 | // Permissions |
| 234 | 234 | if (!$permReadmeUpdate) { |
| 235 | 235 | $GLOBALS['xoopsTpl']->assign('error', \_NOPERM); |
| 236 | - require __DIR__ . '/footer.php'; |
|
| 236 | + require __DIR__.'/footer.php'; |
|
| 237 | 237 | } |
| 238 | 238 | $repoId = Request::getInt('repo_id', 0); |
| 239 | 239 | $repoUser = Request::getString('repo_user', 'none'); |
| 240 | 240 | $repoName = Request::getString('repo_name', 'none'); |
| 241 | 241 | $result = $helper->getHandler('Readmes')->updateReadmes($repoId, $repoUser, $repoName); |
| 242 | - $redir = 'index.php?op=list_afterupdate&start=' . $start . '&limit=' . $limit . '&release=' . $filterRelease . '&sortby=' . $filterSortby; |
|
| 242 | + $redir = 'index.php?op=list_afterupdate&start='.$start.'&limit='.$limit.'&release='.$filterRelease.'&sortby='.$filterSortby; |
|
| 243 | 243 | if ($result) { |
| 244 | 244 | \redirect_header($redir, 2, \_MA_WGGITHUB_READGH_SUCCESS); |
| 245 | 245 | } else { |
@@ -252,11 +252,11 @@ discard block |
||
| 252 | 252 | // Breadcrumbs |
| 253 | 253 | $xoBreadcrumbs[] = ['title' => \_MA_WGGITHUB_INDEX]; |
| 254 | 254 | // Keywords |
| 255 | -wggithubMetaKeywords($helper->getConfig('keywords') . ', ' . \implode(',', $keywords)); |
|
| 255 | +wggithubMetaKeywords($helper->getConfig('keywords').', '.\implode(',', $keywords)); |
|
| 256 | 256 | unset($keywords); |
| 257 | 257 | // Description |
| 258 | 258 | wggithubMetaDescription(\_MA_WGGITHUB_INDEX_DESC); |
| 259 | 259 | $GLOBALS['xoopsTpl']->assign('xoops_mpageurl', WGGITHUB_URL.'/index.php'); |
| 260 | 260 | $GLOBALS['xoopsTpl']->assign('xoops_icons32_url', XOOPS_ICONS32_URL); |
| 261 | 261 | $GLOBALS['xoopsTpl']->assign('wggithub_upload_url', WGGITHUB_UPLOAD_URL); |
| 262 | -require __DIR__ . '/footer.php'; |
|
| 262 | +require __DIR__.'/footer.php'; |
|
@@ -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,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', 'Home'); |
@@ -23,21 +23,21 @@ |
||
| 23 | 23 | $moduleDirName = \basename(dirname(__DIR__, 2)); |
| 24 | 24 | $moduleDirNameUpper = \mb_strtoupper($moduleDirName); |
| 25 | 25 | |
| 26 | -\define('CO_' . $moduleDirNameUpper . '_FB_FORM_TITLE', 'Ein Feedback senden'); |
|
| 27 | -\define('CO_' . $moduleDirNameUpper . '_FB_RECIPIENT', 'Empfänger'); |
|
| 28 | -\define('CO_' . $moduleDirNameUpper . '_FB_NAME', 'Name'); |
|
| 29 | -\define('CO_' . $moduleDirNameUpper . '_FB_NAME_PLACEHOLER', 'Bitte ergänzen Sie Ihren Namen'); |
|
| 30 | -\define('CO_' . $moduleDirNameUpper . '_FB_SITE', 'Website'); |
|
| 31 | -\define('CO_' . $moduleDirNameUpper . '_FB_SITE_PLACEHOLER', 'Bitte ergänzen Sie Ihre Website'); |
|
| 32 | -\define('CO_' . $moduleDirNameUpper . '_FB_MAIL', 'E-Mail'); |
|
| 33 | -\define('CO_' . $moduleDirNameUpper . '_FB_MAIL_PLACEHOLER', 'Bitte ergänzen Sie Ihre E-Mail'); |
|
| 34 | -\define('CO_' . $moduleDirNameUpper . '_FB_TYPE', 'Art des Feedbacks'); |
|
| 35 | -\define('CO_' . $moduleDirNameUpper . '_FB_TYPE_SUGGESTION', 'Vorschläge'); |
|
| 36 | -\define('CO_' . $moduleDirNameUpper . '_FB_TYPE_BUGS', 'Fehler & Bugs'); |
|
| 37 | -\define('CO_' . $moduleDirNameUpper . '_FB_TYPE_TESTIMONIAL', 'Empfehlungen'); |
|
| 38 | -\define('CO_' . $moduleDirNameUpper . '_FB_TYPE_FEATURES', 'Features'); |
|
| 39 | -\define('CO_' . $moduleDirNameUpper . '_FB_TYPE_OTHERS', 'Sonstiges'); |
|
| 40 | -\define('CO_' . $moduleDirNameUpper . '_FB_TYPE_CONTENT', 'Feedback Inhalt'); |
|
| 41 | -\define('CO_' . $moduleDirNameUpper . '_FB_SEND_FOR', 'Feedback für Modul '); |
|
| 42 | -\define('CO_' . $moduleDirNameUpper . '_FB_SEND_SUCCESS', 'Feedback erfolgreich gesendet'); |
|
| 43 | -\define('CO_' . $moduleDirNameUpper . '_FB_SEND_ERROR', 'Beim Senden des Feedbacks ist leider ein Fehler aufgetreten!'); |
|
| 44 | 26 | \ No newline at end of file |
| 27 | +\define('CO_'.$moduleDirNameUpper.'_FB_FORM_TITLE', 'Ein Feedback senden'); |
|
| 28 | +\define('CO_'.$moduleDirNameUpper.'_FB_RECIPIENT', 'Empfänger'); |
|
| 29 | +\define('CO_'.$moduleDirNameUpper.'_FB_NAME', 'Name'); |
|
| 30 | +\define('CO_'.$moduleDirNameUpper.'_FB_NAME_PLACEHOLER', 'Bitte ergänzen Sie Ihren Namen'); |
|
| 31 | +\define('CO_'.$moduleDirNameUpper.'_FB_SITE', 'Website'); |
|
| 32 | +\define('CO_'.$moduleDirNameUpper.'_FB_SITE_PLACEHOLER', 'Bitte ergänzen Sie Ihre Website'); |
|
| 33 | +\define('CO_'.$moduleDirNameUpper.'_FB_MAIL', 'E-Mail'); |
|
| 34 | +\define('CO_'.$moduleDirNameUpper.'_FB_MAIL_PLACEHOLER', 'Bitte ergänzen Sie Ihre E-Mail'); |
|
| 35 | +\define('CO_'.$moduleDirNameUpper.'_FB_TYPE', 'Art des Feedbacks'); |
|
| 36 | +\define('CO_'.$moduleDirNameUpper.'_FB_TYPE_SUGGESTION', 'Vorschläge'); |
|
| 37 | +\define('CO_'.$moduleDirNameUpper.'_FB_TYPE_BUGS', 'Fehler & Bugs'); |
|
| 38 | +\define('CO_'.$moduleDirNameUpper.'_FB_TYPE_TESTIMONIAL', 'Empfehlungen'); |
|
| 39 | +\define('CO_'.$moduleDirNameUpper.'_FB_TYPE_FEATURES', 'Features'); |
|
| 40 | +\define('CO_'.$moduleDirNameUpper.'_FB_TYPE_OTHERS', 'Sonstiges'); |
|
| 41 | +\define('CO_'.$moduleDirNameUpper.'_FB_TYPE_CONTENT', 'Feedback Inhalt'); |
|
| 42 | +\define('CO_'.$moduleDirNameUpper.'_FB_SEND_FOR', 'Feedback für Modul '); |
|
| 43 | +\define('CO_'.$moduleDirNameUpper.'_FB_SEND_SUCCESS', 'Feedback erfolgreich gesendet'); |
|
| 44 | +\define('CO_'.$moduleDirNameUpper.'_FB_SEND_ERROR', 'Beim Senden des Feedbacks ist leider ein Fehler aufgetreten!'); |
|
| 45 | 45 | \ No newline at end of file |