@@ -175,7 +175,7 @@ |
||
| 175 | 175 | \define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_UPLOAD_PATH_DSC', 'Path for uploading images');
|
| 176 | 176 | |
| 177 | 177 | \define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_FILE_SIZE', 'Image File Size (in Bytes)');
|
| 178 | -\define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_FILE_SIZE_DSC','The maximum file size of the image file (in Bytes)');
|
|
| 178 | +\define('CO_' . $moduleDirNameUpper . '_' . 'IMAGE_FILE_SIZE_DSC', 'The maximum file size of the image file (in Bytes)');
|
|
| 179 | 179 | |
| 180 | 180 | |
| 181 | 181 | //Module Stats |
@@ -90,7 +90,7 @@ discard block |
||
| 90 | 90 | |
| 91 | 91 | //get data for JSON-LD |
| 92 | 92 | if ($helper->getConfig('generate_jsonld')) {
|
| 93 | - $content[] = [ |
|
| 93 | + $content[] = [ |
|
| 94 | 94 | 'title' => $obj->getVar('contents_title'),
|
| 95 | 95 | 'answer' => $obj->getVar('contents_contents'),
|
| 96 | 96 | ]; |
@@ -133,11 +133,11 @@ discard block |
||
| 133 | 133 | foreach ($objects['list'] as $object) {
|
| 134 | 134 | // only list categories and/or FAQs if user has rights |
| 135 | 135 | if (false !== $permHelper->checkPermission('viewcat', $object->getVar('category_id'))) {
|
| 136 | - $category = [ |
|
| 136 | + $category = [ |
|
| 137 | 137 | 'id' => $object->getVar('category_id'),
|
| 138 | 138 | 'name' => $object->getVar('category_title'),
|
| 139 | 139 | ]; |
| 140 | - $bodyWords .= ' ' . $object->getVar('category_title');
|
|
| 140 | + $bodyWords .= ' ' . $object->getVar('category_title');
|
|
| 141 | 141 | $contentsObj = $contentsHandler->getPublished($object->getVar('category_id'));
|
| 142 | 142 | if ($contentsObj['count']) {
|
| 143 | 143 | $category['questions'] = []; |
@@ -147,7 +147,7 @@ discard block |
||
| 147 | 147 | 'link' => $content->getVar('contents_id'),
|
| 148 | 148 | 'title' => $content->getVar('contents_title'),
|
| 149 | 149 | ]; |
| 150 | - $bodyWords .= ' ' . $content->getVar('contents_title');
|
|
| 150 | + $bodyWords .= ' ' . $content->getVar('contents_title');
|
|
| 151 | 151 | } |
| 152 | 152 | } |
| 153 | 153 | $GLOBALS['xoopsTpl']->append_by_ref('categories', $category);
|