@@ -5,11 +5,11 @@ discard block |
||
5 | 5 | //$sql->debugsql = true; |
6 | 6 | |
7 | 7 | // add single image imagetype |
8 | -$sql->setQuery('SELECT * FROM `' . $REX['TABLE_PREFIX'] . "679_types` WHERE name LIKE 'magnific_popup_image_thumb'"); |
|
8 | +$sql->setQuery('SELECT * FROM `'.$REX['TABLE_PREFIX']."679_types` WHERE name LIKE 'magnific_popup_image_thumb'"); |
|
9 | 9 | |
10 | 10 | if (0 == $sql->getRows()) { |
11 | 11 | // imagetype |
12 | - $sql->setQuery('INSERT INTO `' . $REX['TABLE_PREFIX'] . "679_types` (status, name, description) VALUES (0, 'magnific_popup_image_thumb', 'Magnific Popup Einzelbild Vorschaubild')"); |
|
12 | + $sql->setQuery('INSERT INTO `'.$REX['TABLE_PREFIX']."679_types` (status, name, description) VALUES (0, 'magnific_popup_image_thumb', 'Magnific Popup Einzelbild Vorschaubild')"); |
|
13 | 13 | |
14 | 14 | $lastId = $sql->getLastId(); |
15 | 15 | |
@@ -35,11 +35,11 @@ discard block |
||
35 | 35 | } |
36 | 36 | |
37 | 37 | // add gallery image imagetype |
38 | -$sql->setQuery('SELECT * FROM `' . $REX['TABLE_PREFIX'] . "679_types` WHERE name LIKE 'magnific_popup_gallery_thumb'"); |
|
38 | +$sql->setQuery('SELECT * FROM `'.$REX['TABLE_PREFIX']."679_types` WHERE name LIKE 'magnific_popup_gallery_thumb'"); |
|
39 | 39 | |
40 | 40 | if (0 == $sql->getRows()) { |
41 | 41 | // imagetype |
42 | - $sql->setQuery('INSERT INTO `' . $REX['TABLE_PREFIX'] . "679_types` (status, name, description) VALUES (0, 'magnific_popup_gallery_thumb', 'Magnific Popup Galerie Vorschaubild')"); |
|
42 | + $sql->setQuery('INSERT INTO `'.$REX['TABLE_PREFIX']."679_types` (status, name, description) VALUES (0, 'magnific_popup_gallery_thumb', 'Magnific Popup Galerie Vorschaubild')"); |
|
43 | 43 | |
44 | 44 | $lastId = $sql->getLastId(); |
45 | 45 |
@@ -31,32 +31,32 @@ |
||
31 | 31 | } |
32 | 32 | |
33 | 33 | // generate image url |
34 | - $imageUrl = $REX['HTDOCS_PATH'] . $mediaDir . '/' . $imageFile; |
|
34 | + $imageUrl = $REX['HTDOCS_PATH'].$mediaDir.'/'.$imageFile; |
|
35 | 35 | |
36 | 36 | // generate image manager url |
37 | 37 | if (class_exists('seo42')) { |
38 | 38 | $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); |
39 | 39 | } else { |
40 | 40 | if ($REX['REDAXO']) { |
41 | - $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; |
|
41 | + $imageManagerUrl = $REX['HTDOCS_PATH'].'redaxo/index.php?rex_img_type='.$imageType.'&rex_img_file='.$imageFile; |
|
42 | 42 | } else { |
43 | - $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; |
|
43 | + $imageManagerUrl = $REX['HTDOCS_PATH'].'index.php?rex_img_type='.$imageType.'&rex_img_file='.$imageFile; |
|
44 | 44 | } |
45 | 45 | } |
46 | 46 | |
47 | 47 | // get dimensions of image manager image |
48 | - $resizedFile = $REX['INCLUDE_PATH'] . '/generated/files/image_manager__' . $imageType . '_' . $imageFile; |
|
48 | + $resizedFile = $REX['INCLUDE_PATH'].'/generated/files/image_manager__'.$imageType.'_'.$imageFile; |
|
49 | 49 | $imageSize = @getimagesize($resizedFile); |
50 | 50 | |
51 | 51 | if (false !== $imageSize) { |
52 | - $imageDimensions = ' width="' . $imageSize[0] . '" height="' . $imageSize[1] . '"'; |
|
52 | + $imageDimensions = ' width="'.$imageSize[0].'" height="'.$imageSize[1].'"'; |
|
53 | 53 | } else { |
54 | 54 | $imageDimensions = ''; |
55 | 55 | } |
56 | 56 | |
57 | 57 | // html code |
58 | - echo '<a href="' . $imageUrl . '" title="' . $description . '">'; |
|
59 | - echo '<img src="' . $imageManagerUrl . '"' . $imageDimensions . ' alt="' . $title . '" >'; |
|
58 | + echo '<a href="'.$imageUrl.'" title="'.$description.'">'; |
|
59 | + echo '<img src="'.$imageManagerUrl.'"'.$imageDimensions.' alt="'.$title.'" >'; |
|
60 | 60 | echo '</a>'; |
61 | 61 | } |
62 | 62 |
@@ -24,33 +24,33 @@ |
||
24 | 24 | } |
25 | 25 | |
26 | 26 | // generate image url |
27 | - $imageUrl = $REX['HTDOCS_PATH'] . $mediaDir . '/' . $imageFile; |
|
27 | + $imageUrl = $REX['HTDOCS_PATH'].$mediaDir.'/'.$imageFile; |
|
28 | 28 | |
29 | 29 | // generate image manager url |
30 | 30 | if (class_exists('seo42')) { |
31 | 31 | $imageManagerUrl = seo42::getImageManagerUrl($imageFile, $imageType); |
32 | 32 | } else { |
33 | 33 | if ($REX['REDAXO']) { |
34 | - $imageManagerUrl = $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; |
|
34 | + $imageManagerUrl = $REX['HTDOCS_PATH'].'redaxo/index.php?rex_img_type='.$imageType.'&rex_img_file='.$imageFile; |
|
35 | 35 | } else { |
36 | - $imageManagerUrl = $REX['HTDOCS_PATH'] . 'index.php?rex_img_type=' . $imageType . '&rex_img_file=' . $imageFile; |
|
36 | + $imageManagerUrl = $REX['HTDOCS_PATH'].'index.php?rex_img_type='.$imageType.'&rex_img_file='.$imageFile; |
|
37 | 37 | } |
38 | 38 | } |
39 | 39 | |
40 | 40 | // get dimensions of image manager image |
41 | - $resizedFile = $REX['INCLUDE_PATH'] . '/generated/files/image_manager__' . $imageType . '_' . $imageFile; |
|
41 | + $resizedFile = $REX['INCLUDE_PATH'].'/generated/files/image_manager__'.$imageType.'_'.$imageFile; |
|
42 | 42 | $imageSize = @getimagesize($resizedFile); |
43 | 43 | |
44 | 44 | if (false !== $imageSize) { |
45 | - $imageDimensions = ' width="' . $imageSize[0] . '" height="' . $imageSize[1] . '"'; |
|
45 | + $imageDimensions = ' width="'.$imageSize[0].'" height="'.$imageSize[1].'"'; |
|
46 | 46 | } else { |
47 | 47 | $imageDimensions = ''; |
48 | 48 | } |
49 | 49 | |
50 | 50 | // html code |
51 | 51 | echo '<div class="magnific-popup-container">'; |
52 | - echo '<a class="magnific-popup-image" href="' . $imageUrl . '" title="' . $description . '">'; |
|
53 | - echo '<img src="' . $imageManagerUrl . '"' . $imageDimensions . ' alt="' . $title . '" >'; |
|
52 | + echo '<a class="magnific-popup-image" href="'.$imageUrl.'" title="'.$description.'">'; |
|
53 | + echo '<img src="'.$imageManagerUrl.'"'.$imageDimensions.' alt="'.$title.'" >'; |
|
54 | 54 | echo '</a>'; |
55 | 55 | echo '</div>'; |
56 | 56 | } |
@@ -6,6 +6,6 @@ |
||
6 | 6 | |
7 | 7 | <?php |
8 | 8 | if ('REX_MEDIA[1]' != '') { |
9 | - echo '<img src="' . $REX['HTDOCS_PATH'] . 'redaxo/index.php?rex_img_type=rex_mediabutton_preview&rex_img_file=REX_MEDIA[1]" alt="" >'; |
|
9 | + echo '<img src="'.$REX['HTDOCS_PATH'].'redaxo/index.php?rex_img_type=rex_mediabutton_preview&rex_img_file=REX_MEDIA[1]" alt="" >'; |
|
10 | 10 | } |
11 | 11 | ?> |
@@ -17,12 +17,12 @@ |
||
17 | 17 | * @author XOOPS Development Team, |
18 | 18 | */ |
19 | 19 | |
20 | -require dirname(dirname(dirname(dirname(__DIR__)))) . '/mainfile.php'; |
|
20 | +require dirname(dirname(dirname(dirname(__DIR__)))).'/mainfile.php'; |
|
21 | 21 | |
22 | 22 | // defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined'); |
23 | 23 | |
24 | -require_once __DIR__ . '/../../class/php-captcha.inc.php'; |
|
24 | +require_once __DIR__.'/../../class/php-captcha.inc.php'; |
|
25 | 25 | |
26 | -$aFonts = array(XOOPS_ROOT_PATH . '/modules/extgallery/fonts/AllStarResort.ttf'); |
|
26 | +$aFonts = array(XOOPS_ROOT_PATH.'/modules/extgallery/fonts/AllStarResort.ttf'); |
|
27 | 27 | $oVisualCaptcha = new PhpCaptcha($aFonts, 200, 60); |
28 | 28 | $oVisualCaptcha->Create(); |
@@ -229,14 +229,14 @@ discard block |
||
229 | 229 | $cat = array_slice($options, 1); //Get information about categories to display |
230 | 230 | $catauth = implodeArray2Dextgallery(',', $cat); //Creation of categories list to use - separated by a coma |
231 | 231 | } |
232 | - $sql = 'SELECT uid, count(photo_id) AS countphoto FROM ' . $xoopsDB->prefix('extgallery_publicphoto'); |
|
232 | + $sql = 'SELECT uid, count(photo_id) AS countphoto FROM '.$xoopsDB->prefix('extgallery_publicphoto'); |
|
233 | 233 | $sql .= ' WHERE (uid>0)'; |
234 | 234 | if (0 != $options[1]) { |
235 | - $sql .= ' AND cat_id IN (' . $catauth . ')'; |
|
235 | + $sql .= ' AND cat_id IN ('.$catauth.')'; |
|
236 | 236 | } |
237 | 237 | $sql .= ' GROUP BY uid ORDER BY countphoto DESC'; |
238 | 238 | if ((int)$options[0] > 0) { |
239 | - $sql .= ' LIMIT ' . (int)$options[0]; |
|
239 | + $sql .= ' LIMIT '.(int)$options[0]; |
|
240 | 240 | } |
241 | 241 | $result = $xoopsDB->query($sql); |
242 | 242 | if (!$result) { |
@@ -426,13 +426,13 @@ discard block |
||
426 | 426 | /** @var Extgallery\Category $catHandler */ |
427 | 427 | $catHandler = Extgallery\Helper::getInstance()->getHandler('PublicCategory'); |
428 | 428 | |
429 | - $form = _MB_EXTGALLERY_PHOTO_NUMBER . ' : <input name="options[]" size="5" maxlength="255" value="' . $options[0] . '" type="text"><br>'; |
|
429 | + $form = _MB_EXTGALLERY_PHOTO_NUMBER.' : <input name="options[]" size="5" maxlength="255" value="'.$options[0].'" type="text"><br>'; |
|
430 | 430 | |
431 | 431 | $Selected = new \XoopsFormSelect(_MB_EXTGALLERY_DIRECTION, 'options[]', $options[1]); |
432 | 432 | $Selected->addOption('0', _MB_EXTGALLERY_HORIZONTALLY); |
433 | 433 | $Selected->addOption('1', _MB_EXTGALLERY_VERTICALLY); |
434 | 434 | $Selected->addOption('2', _MB_EXTGALLERY_TABLE); |
435 | - $form .= _MB_EXTGALLERY_DIRECTION . ' : ' . $Selected->render() . '<br>'; |
|
435 | + $form .= _MB_EXTGALLERY_DIRECTION.' : '.$Selected->render().'<br>'; |
|
436 | 436 | |
437 | 437 | $yChecked = ''; |
438 | 438 | $nChecked = ''; |
@@ -442,7 +442,7 @@ discard block |
||
442 | 442 | $nChecked = ' checked'; |
443 | 443 | } |
444 | 444 | |
445 | - $form .= _MB_EXTGALLERY_DISPLAY_TITLE . ' : <input type="radio" name="options[]" value="1"' . $yChecked . '> ' . _YES . ' <input type="radio" name="options[]" value="0"' . $nChecked . '>' . _NO . '<br>'; |
|
445 | + $form .= _MB_EXTGALLERY_DISPLAY_TITLE.' : <input type="radio" name="options[]" value="1"'.$yChecked.'> '._YES.' <input type="radio" name="options[]" value="0"'.$nChecked.'>'._NO.'<br>'; |
|
446 | 446 | |
447 | 447 | $effectTypeSelect = new \XoopsFormSelect(_MB_EXTGALLERY_SHOW_TYPE, 'options[]', $options[3]); |
448 | 448 | $effectTypeSelect->addOption('RandomPhoto', _MB_EXTGALLERY_TYPE_OP1); |
@@ -450,15 +450,15 @@ discard block |
||
450 | 450 | $effectTypeSelect->addOption('TopViewPhoto', _MB_EXTGALLERY_TYPE_OP3); |
451 | 451 | $effectTypeSelect->addOption('TopRatedPhoto', _MB_EXTGALLERY_TYPE_OP4); |
452 | 452 | $effectTypeSelect->addOption('TopEcardPhoto', _MB_EXTGALLERY_TYPE_OP5); |
453 | - $form .= _MB_EXTGALLERY_SHOW_TYPE . ' : ' . $effectTypeSelect->render() . '<br>'; |
|
453 | + $form .= _MB_EXTGALLERY_SHOW_TYPE.' : '.$effectTypeSelect->render().'<br>'; |
|
454 | 454 | |
455 | 455 | $jqSelect = new \XoopsFormSelect(_MB_EXTGALLERY_JQUERY, 'options[]', $options[4]); |
456 | 456 | $jqSelect->addOption('true', _MB_EXTGALLERY_TRUE); |
457 | 457 | $jqSelect->addOption('false', _MB_EXTGALLERY_FALSE); |
458 | - $form .= _MB_EXTGALLERY_JQUERY . ' : ' . $jqSelect->render() . '<br>'; |
|
458 | + $form .= _MB_EXTGALLERY_JQUERY.' : '.$jqSelect->render().'<br>'; |
|
459 | 459 | |
460 | 460 | //select option |
461 | - $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>" . _MB_EXTGALLERY_USE_AJAX_EFFECTS . '</legend>'; |
|
461 | + $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>"._MB_EXTGALLERY_USE_AJAX_EFFECTS.'</legend>'; |
|
462 | 462 | $ajaxeffectSelect = new \XoopsFormSelect(_MB_EXTGALLERY_USE_AJAX_EFFECTS, 'options[]', $options[5]); |
463 | 463 | $ajaxeffectSelect->addOption('none', _MB_EXTGALLERY_AJAX_NONE); |
464 | 464 | $ajaxeffectSelect->addOption('lightbox', _MB_EXTGALLERY_AJAX_LIGHTBOX); |
@@ -468,75 +468,75 @@ discard block |
||
468 | 468 | $ajaxeffectSelect->addOption('prettyphoto', _MB_EXTGALLERY_AJAX_PRETTPHOTO); |
469 | 469 | $ajaxeffectSelect->addOption('jcarousel', _MB_EXTGALLERY_AJAX_JCAROUSEL); |
470 | 470 | $ajaxeffectSelect->addOption('TosRUs', _MB_EXTGALLERY_AJAX_TOSRUS); |
471 | - $form .= _MB_EXTGALLERY_USE_AJAX_EFFECTS . ' : ' . $ajaxeffectSelect->render() . '<br>'; |
|
471 | + $form .= _MB_EXTGALLERY_USE_AJAX_EFFECTS.' : '.$ajaxeffectSelect->render().'<br>'; |
|
472 | 472 | $form .= '</fieldset><br>'; |
473 | 473 | |
474 | 474 | //for overlay |
475 | - $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>" . _MB_EXTGALLERY_AJAX_OVERLAY . '</legend>'; |
|
476 | - $form .= _MB_EXTGALLERY_OVERLAY_BG . ' : <input name="options[]" size="7" maxlength="7" value="' . $options[6] . '" type="text"><br>'; |
|
477 | - $form .= _MB_EXTGALLERY_OVERLAY_WIDTH . ' : <input name="options[]" size="5" maxlength="5" value="' . $options[7] . '" type="text"><br>'; |
|
478 | - $form .= _MB_EXTGALLERY_OVERLAY_HEIGHT . ' : <input name="options[]" size="5" maxlength="5" value="' . $options[8] . '" type="text"><br>'; |
|
475 | + $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>"._MB_EXTGALLERY_AJAX_OVERLAY.'</legend>'; |
|
476 | + $form .= _MB_EXTGALLERY_OVERLAY_BG.' : <input name="options[]" size="7" maxlength="7" value="'.$options[6].'" type="text"><br>'; |
|
477 | + $form .= _MB_EXTGALLERY_OVERLAY_WIDTH.' : <input name="options[]" size="5" maxlength="5" value="'.$options[7].'" type="text"><br>'; |
|
478 | + $form .= _MB_EXTGALLERY_OVERLAY_HEIGHT.' : <input name="options[]" size="5" maxlength="5" value="'.$options[8].'" type="text"><br>'; |
|
479 | 479 | $form .= '</fieldset><br>'; |
480 | 480 | |
481 | 481 | //for tooltip |
482 | - $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>" . _MB_EXTGALLERY_AJAX_TOOLTIP . '</legend>'; |
|
483 | - $form .= _MB_EXTGALLERY_TOOLTIP_WIDTH . ' : <input name="options[]" size="5" maxlength="5" value="' . $options[9] . '" type="text"><br>'; |
|
484 | - $form .= _MB_EXTGALLERY_TOOLTIP_BORDER_WIDTH . ' : <input name="options[]" size="5" maxlength="5" value="' . $options[10] . '" type="text"><br>'; |
|
485 | - $form .= _MB_EXTGALLERY_TOOLTIP_BORDERCOLOR . ' : <input name="options[]" size="7" maxlength="7" value="' . $options[11] . '" type="text"><br>'; |
|
482 | + $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>"._MB_EXTGALLERY_AJAX_TOOLTIP.'</legend>'; |
|
483 | + $form .= _MB_EXTGALLERY_TOOLTIP_WIDTH.' : <input name="options[]" size="5" maxlength="5" value="'.$options[9].'" type="text"><br>'; |
|
484 | + $form .= _MB_EXTGALLERY_TOOLTIP_BORDER_WIDTH.' : <input name="options[]" size="5" maxlength="5" value="'.$options[10].'" type="text"><br>'; |
|
485 | + $form .= _MB_EXTGALLERY_TOOLTIP_BORDERCOLOR.' : <input name="options[]" size="7" maxlength="7" value="'.$options[11].'" type="text"><br>'; |
|
486 | 486 | $form .= '</fieldset><br>'; |
487 | 487 | |
488 | 488 | //for fancybox |
489 | - $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>" . _MB_EXTGALLERY_AJAX_FANCYBOX . '</legend>'; |
|
490 | - $form .= _MB_EXTGALLERY_FANCYBOX_BGCOLOR . ' : <input name="options[]" size="7" maxlength="7" value="' . $options[12] . '" type="text"><br>'; |
|
491 | - $form .= _MB_EXTGALLERY_FANCYBOX_OPACITY . ' : <input name="options[]" size="5" maxlength="5" value="' . $options[13] . '" type="text"><br>'; |
|
489 | + $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>"._MB_EXTGALLERY_AJAX_FANCYBOX.'</legend>'; |
|
490 | + $form .= _MB_EXTGALLERY_FANCYBOX_BGCOLOR.' : <input name="options[]" size="7" maxlength="7" value="'.$options[12].'" type="text"><br>'; |
|
491 | + $form .= _MB_EXTGALLERY_FANCYBOX_OPACITY.' : <input name="options[]" size="5" maxlength="5" value="'.$options[13].'" type="text"><br>'; |
|
492 | 492 | $fancyboxtinSelect = new \XoopsFormSelect(_MB_EXTGALLERY_FANCYBOX_TIN, 'options[]', $options[14]); |
493 | 493 | $fancyboxtinSelect->addOption('none', _MB_EXTGALLERY_FANCYBOX_NONE); |
494 | 494 | $fancyboxtinSelect->addOption('elastic', _MB_EXTGALLERY_FANCYBOX_ELASTIC); |
495 | - $form .= _MB_EXTGALLERY_FANCYBOX_TIN . ' : ' . $fancyboxtinSelect->render() . '<br>'; |
|
495 | + $form .= _MB_EXTGALLERY_FANCYBOX_TIN.' : '.$fancyboxtinSelect->render().'<br>'; |
|
496 | 496 | $fancyboxtoutSelect = new \XoopsFormSelect(_MB_EXTGALLERY_FANCYBOX_TOUT, 'options[]', $options[15]); |
497 | 497 | $fancyboxtoutSelect->addOption('none', _MB_EXTGALLERY_FANCYBOX_NONE); |
498 | 498 | $fancyboxtoutSelect->addOption('elastic', _MB_EXTGALLERY_FANCYBOX_ELASTIC); |
499 | - $form .= _MB_EXTGALLERY_FANCYBOX_TOUT . ' : ' . $fancyboxtoutSelect->render() . '<br>'; |
|
499 | + $form .= _MB_EXTGALLERY_FANCYBOX_TOUT.' : '.$fancyboxtoutSelect->render().'<br>'; |
|
500 | 500 | $fancyboxtpSelect = new \XoopsFormSelect(_MB_EXTGALLERY_FANCYBOX_TITLEPOSITION, 'options[]', $options[16]); |
501 | 501 | $fancyboxtpSelect->addOption('over', _MB_EXTGALLERY_FANCYBOX_OVER); |
502 | 502 | $fancyboxtpSelect->addOption('inside', _MB_EXTGALLERY_FANCYBOX_INSIDE); |
503 | 503 | $fancyboxtpSelect->addOption('outside', _MB_EXTGALLERY_FANCYBOX_OUTSIDE); |
504 | - $form .= _MB_EXTGALLERY_FANCYBOX_TITLEPOSITION . ' : ' . $fancyboxtpSelect->render() . '<br>'; |
|
504 | + $form .= _MB_EXTGALLERY_FANCYBOX_TITLEPOSITION.' : '.$fancyboxtpSelect->render().'<br>'; |
|
505 | 505 | $fancyboxshowSelect = new \XoopsFormSelect(_MB_EXTGALLERY_FANCYBOX_SHOWTYPE, 'options[]', $options[17]); |
506 | 506 | $fancyboxshowSelect->addOption('single', _MB_EXTGALLERY_FANCYBOX_SINGLE); |
507 | 507 | $fancyboxshowSelect->addOption('group', _MB_EXTGALLERY_FANCYBOX_GROUP); |
508 | - $form .= _MB_EXTGALLERY_FANCYBOX_SHOWTYPE . ' : ' . $fancyboxshowSelect->render() . '<br>'; |
|
508 | + $form .= _MB_EXTGALLERY_FANCYBOX_SHOWTYPE.' : '.$fancyboxshowSelect->render().'<br>'; |
|
509 | 509 | $form .= '</fieldset><br>'; |
510 | 510 | |
511 | 511 | //for prettyphoto |
512 | - $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>" . _MB_EXTGALLERY_AJAX_PRETTPHOTO . '</legend>'; |
|
512 | + $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>"._MB_EXTGALLERY_AJAX_PRETTPHOTO.'</legend>'; |
|
513 | 513 | $prettyspeedSelect = new \XoopsFormSelect(_MB_EXTGALLERY_PRETTPHOTO_SPEED, 'options[]', $options[18]); |
514 | 514 | $prettyspeedSelect->addOption('fast', _MB_EXTGALLERY_PRETTPHOTO_FAST); |
515 | 515 | $prettyspeedSelect->addOption('slow', _MB_EXTGALLERY_PRETTPHOTO_SLOW); |
516 | - $form .= _MB_EXTGALLERY_PRETTPHOTO_SPEED . ' : ' . $prettyspeedSelect->render() . '<br>'; |
|
516 | + $form .= _MB_EXTGALLERY_PRETTPHOTO_SPEED.' : '.$prettyspeedSelect->render().'<br>'; |
|
517 | 517 | $prettythemeSelect = new \XoopsFormSelect(_MB_EXTGALLERY_PRETTPHOTO_THEME, 'options[]', $options[19]); |
518 | 518 | $prettythemeSelect->addOption('dark_rounded', _MB_EXTGALLERY_PRETTPHOTO_THEME1); |
519 | 519 | $prettythemeSelect->addOption('dark_square', _MB_EXTGALLERY_PRETTPHOTO_THEME2); |
520 | 520 | $prettythemeSelect->addOption('facebook', _MB_EXTGALLERY_PRETTPHOTO_THEME3); |
521 | 521 | $prettythemeSelect->addOption('light_rounded', _MB_EXTGALLERY_PRETTPHOTO_THEME4); |
522 | 522 | $prettythemeSelect->addOption('light_square', _MB_EXTGALLERY_PRETTPHOTO_THEME5); |
523 | - $form .= _MB_EXTGALLERY_PRETTPHOTO_THEME . ' : ' . $prettythemeSelect->render() . '<br>'; |
|
524 | - $form .= _MB_EXTGALLERY_PRETTPHOTO_SLIDESPEED . ' : <input name="options[]" size="5" maxlength="5" value="' . $options[20] . '" type="text"><br>'; |
|
523 | + $form .= _MB_EXTGALLERY_PRETTPHOTO_THEME.' : '.$prettythemeSelect->render().'<br>'; |
|
524 | + $form .= _MB_EXTGALLERY_PRETTPHOTO_SLIDESPEED.' : <input name="options[]" size="5" maxlength="5" value="'.$options[20].'" type="text"><br>'; |
|
525 | 525 | $prettyautoplaySelect = new \XoopsFormSelect(_MB_EXTGALLERY_PRETTPHOTO_AUTOPLAY, 'options[]', $options[21]); |
526 | 526 | $prettyautoplaySelect->addOption('true', _MB_EXTGALLERY_TRUE); |
527 | 527 | $prettyautoplaySelect->addOption('false', _MB_EXTGALLERY_FALSE); |
528 | - $form .= _MB_EXTGALLERY_PRETTPHOTO_AUTOPLAY . ' : ' . $prettyautoplaySelect->render() . '<br>'; |
|
528 | + $form .= _MB_EXTGALLERY_PRETTPHOTO_AUTOPLAY.' : '.$prettyautoplaySelect->render().'<br>'; |
|
529 | 529 | $form .= '</fieldset><br>'; |
530 | 530 | |
531 | 531 | //for jcarousel |
532 | - $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>" . _MB_EXTGALLERY_AJAX_JCAROUSEL . '</legend>'; |
|
533 | - $form .= _MB_EXTGALLERY_JCAROUSEL_HWIDTH . ' : <input name="options[]" size="7" maxlength="7" value="' . $options[22] . '" type="text"><br>'; |
|
534 | - $form .= _MB_EXTGALLERY_JCAROUSEL_VWIDTH . ' : <input name="options[]" size="7" maxlength="7" value="' . $options[23] . '" type="text"><br>'; |
|
535 | - $form .= _MB_EXTGALLERY_JCAROUSEL_VHIGHT . ' : <input name="options[]" size="7" maxlength="7" value="' . $options[24] . '" type="text"><br>'; |
|
532 | + $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>"._MB_EXTGALLERY_AJAX_JCAROUSEL.'</legend>'; |
|
533 | + $form .= _MB_EXTGALLERY_JCAROUSEL_HWIDTH.' : <input name="options[]" size="7" maxlength="7" value="'.$options[22].'" type="text"><br>'; |
|
534 | + $form .= _MB_EXTGALLERY_JCAROUSEL_VWIDTH.' : <input name="options[]" size="7" maxlength="7" value="'.$options[23].'" type="text"><br>'; |
|
535 | + $form .= _MB_EXTGALLERY_JCAROUSEL_VHIGHT.' : <input name="options[]" size="7" maxlength="7" value="'.$options[24].'" type="text"><br>'; |
|
536 | 536 | $form .= '</fieldset><br>'; |
537 | 537 | |
538 | - $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>" . _MB_EXTGALLERY_TABLE . '</legend>'; |
|
539 | - $form .= _MB_EXTGALLERY_PHOTO_NUMBER_TABLE . ' : <input name="options[]" size="5" maxlength="255" value="' . $options[25] . '" type="text"><br>'; |
|
538 | + $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>"._MB_EXTGALLERY_TABLE.'</legend>'; |
|
539 | + $form .= _MB_EXTGALLERY_PHOTO_NUMBER_TABLE.' : <input name="options[]" size="5" maxlength="255" value="'.$options[25].'" type="text"><br>'; |
|
540 | 540 | $form .= '</fieldset><br>'; |
541 | 541 | |
542 | 542 | array_shift($options); |
@@ -581,7 +581,7 @@ discard block |
||
581 | 581 | { |
582 | 582 | $catHandler = Extgallery\Helper::getInstance()->getHandler('PublicCategory'); |
583 | 583 | |
584 | - $form = _MB_EXTGALLERY_PHOTO_NUMBER . ' : <input name="options[]" size="5" maxlength="255" value="' . $options[0] . '" type="text"><br>'; |
|
584 | + $form = _MB_EXTGALLERY_PHOTO_NUMBER.' : <input name="options[]" size="5" maxlength="255" value="'.$options[0].'" type="text"><br>'; |
|
585 | 585 | |
586 | 586 | $showTypeSelect = new \XoopsFormSelect(_MB_EXTGALLERY_SHOW_TYPE, 'options[]', $options[1]); |
587 | 587 | $showTypeSelect->addOption('RandomPhoto', _MB_EXTGALLERY_TYPE_OP1); |
@@ -589,86 +589,86 @@ discard block |
||
589 | 589 | $showTypeSelect->addOption('TopViewPhoto', _MB_EXTGALLERY_TYPE_OP3); |
590 | 590 | $showTypeSelect->addOption('TopRatedPhoto', _MB_EXTGALLERY_TYPE_OP4); |
591 | 591 | $showTypeSelect->addOption('TopEcardPhoto', _MB_EXTGALLERY_TYPE_OP5); |
592 | - $form .= _MB_EXTGALLERY_SHOW_TYPE . ' : ' . $showTypeSelect->render() . '<br>'; |
|
592 | + $form .= _MB_EXTGALLERY_SHOW_TYPE.' : '.$showTypeSelect->render().'<br>'; |
|
593 | 593 | |
594 | 594 | $jqSelect = new \XoopsFormSelect(_MB_EXTGALLERY_JQUERY, 'options[]', $options[2]); |
595 | 595 | $jqSelect->addOption('true', _MB_EXTGALLERY_TRUE); |
596 | 596 | $jqSelect->addOption('false', _MB_EXTGALLERY_FALSE); |
597 | - $form .= _MB_EXTGALLERY_JQUERY . ' : ' . $jqSelect->render() . '<br>'; |
|
597 | + $form .= _MB_EXTGALLERY_JQUERY.' : '.$jqSelect->render().'<br>'; |
|
598 | 598 | |
599 | 599 | //select option |
600 | - $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>" . _MB_EXTGALLERY_USE_AJAX_EFFECTS . '</legend>'; |
|
600 | + $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>"._MB_EXTGALLERY_USE_AJAX_EFFECTS.'</legend>'; |
|
601 | 601 | $ajaxeffectSelect = new \XoopsFormSelect(_MB_EXTGALLERY_USE_AJAX_EFFECTS, 'options[]', $options[3]); |
602 | 602 | $ajaxeffectSelect->addOption('galleryview', _MB_EXTGALLERY_GVIEW); |
603 | 603 | $ajaxeffectSelect->addOption('galleria', _MB_EXTGALLERY_GRIA); |
604 | 604 | $ajaxeffectSelect->addOption('microgallery', _MB_EXTGALLERY_MICRO); |
605 | - $form .= _MB_EXTGALLERY_USE_AJAX_EFFECTS . ' : ' . $ajaxeffectSelect->render() . '<br>'; |
|
605 | + $form .= _MB_EXTGALLERY_USE_AJAX_EFFECTS.' : '.$ajaxeffectSelect->render().'<br>'; |
|
606 | 606 | $form .= '</fieldset><br>'; |
607 | 607 | |
608 | - $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>" . _MB_EXTGALLERY_GVIEW . '</legend>'; |
|
609 | - $form .= _MB_EXTGALLERY_PANEL_WIDTH . ' : <input name="options[]" size="5" maxlength="255" value="' . $options[4] . '" type="text"><br>'; |
|
610 | - $form .= _MB_EXTGALLERY_PANEL_HEIGHT . ' : <input name="options[]" size="5" maxlength="255" value="' . $options[5] . '" type="text"><br>'; |
|
611 | - $form .= _MB_EXTGALLERY_FRAME_WIDTH . ' : <input name="options[]" size="5" maxlength="255" value="' . $options[6] . '" type="text"><br>'; |
|
612 | - $form .= _MB_EXTGALLERY_FRAME_HEIGHT . ' : <input name="options[]" size="5" maxlength="255" value="' . $options[7] . '" type="text"><br>'; |
|
613 | - $form .= _MB_EXTGALLERY_BACKGROUND . ' : <input name="options[]" size="6" maxlength="255" value="' . $options[8] . '" type="text"><br>'; |
|
614 | - $form .= _MB_EXTGALLERY_TRANSITION_SPEED . ' : <input name="options[]" size="6" maxlength="255" value="' . $options[9] . '" type="text"><br>'; |
|
615 | - $form .= _MB_EXTGALLERY_TRANSITION_INTERVAL . ' : <input name="options[]" size="6" maxlength="255" value="' . $options[10] . '" type="text"><br>'; |
|
616 | - $form .= _MB_EXTGALLERY_OVERLAY_HEIGHT . ' : <input name="options[]" size="6" maxlength="255" value="' . $options[11] . '" type="text"><br>'; |
|
617 | - $form .= _MB_EXTGALLERY_OVERLAY_COLOR . ' : <input name="options[]" size="6" maxlength="255" value="' . $options[12] . '" type="text"><br>'; |
|
618 | - $form .= _MB_EXTGALLERY_OVERLAY_TEXT_COLOR . ' : <input name="options[]" size="6" maxlength="255" value="' . $options[13] . '" type="text"><br>'; |
|
619 | - $form .= _MB_EXTGALLERY_CAPTION_TEXT_COLOR . ' : <input name="options[]" size="6" maxlength="255" value="' . $options[14] . '" type="text"><br>'; |
|
620 | - $form .= _MB_EXTGALLERY_BORDER . ' : <input name="options[]" size="20" maxlength="255" value="' . $options[15] . '" type="text"><br>'; |
|
621 | - $form .= _MB_EXTGALLERY_OVERLAY_OPACITY . ' : <input name="options[]" size="6" maxlength="255" value="' . $options[16] . '" type="text"><br>'; |
|
622 | - $form .= _MB_EXTGALLERY_OVERLAY_FONT_SIZE . ' : <input name="options[]" size="6" maxlength="255" value="' . $options[17] . '" type="text"><br>'; |
|
608 | + $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>"._MB_EXTGALLERY_GVIEW.'</legend>'; |
|
609 | + $form .= _MB_EXTGALLERY_PANEL_WIDTH.' : <input name="options[]" size="5" maxlength="255" value="'.$options[4].'" type="text"><br>'; |
|
610 | + $form .= _MB_EXTGALLERY_PANEL_HEIGHT.' : <input name="options[]" size="5" maxlength="255" value="'.$options[5].'" type="text"><br>'; |
|
611 | + $form .= _MB_EXTGALLERY_FRAME_WIDTH.' : <input name="options[]" size="5" maxlength="255" value="'.$options[6].'" type="text"><br>'; |
|
612 | + $form .= _MB_EXTGALLERY_FRAME_HEIGHT.' : <input name="options[]" size="5" maxlength="255" value="'.$options[7].'" type="text"><br>'; |
|
613 | + $form .= _MB_EXTGALLERY_BACKGROUND.' : <input name="options[]" size="6" maxlength="255" value="'.$options[8].'" type="text"><br>'; |
|
614 | + $form .= _MB_EXTGALLERY_TRANSITION_SPEED.' : <input name="options[]" size="6" maxlength="255" value="'.$options[9].'" type="text"><br>'; |
|
615 | + $form .= _MB_EXTGALLERY_TRANSITION_INTERVAL.' : <input name="options[]" size="6" maxlength="255" value="'.$options[10].'" type="text"><br>'; |
|
616 | + $form .= _MB_EXTGALLERY_OVERLAY_HEIGHT.' : <input name="options[]" size="6" maxlength="255" value="'.$options[11].'" type="text"><br>'; |
|
617 | + $form .= _MB_EXTGALLERY_OVERLAY_COLOR.' : <input name="options[]" size="6" maxlength="255" value="'.$options[12].'" type="text"><br>'; |
|
618 | + $form .= _MB_EXTGALLERY_OVERLAY_TEXT_COLOR.' : <input name="options[]" size="6" maxlength="255" value="'.$options[13].'" type="text"><br>'; |
|
619 | + $form .= _MB_EXTGALLERY_CAPTION_TEXT_COLOR.' : <input name="options[]" size="6" maxlength="255" value="'.$options[14].'" type="text"><br>'; |
|
620 | + $form .= _MB_EXTGALLERY_BORDER.' : <input name="options[]" size="20" maxlength="255" value="'.$options[15].'" type="text"><br>'; |
|
621 | + $form .= _MB_EXTGALLERY_OVERLAY_OPACITY.' : <input name="options[]" size="6" maxlength="255" value="'.$options[16].'" type="text"><br>'; |
|
622 | + $form .= _MB_EXTGALLERY_OVERLAY_FONT_SIZE.' : <input name="options[]" size="6" maxlength="255" value="'.$options[17].'" type="text"><br>'; |
|
623 | 623 | $themeSelect = new \XoopsFormSelect(_MB_EXTGALLERY_SELECT_THEME, 'options[]', $options[18]); |
624 | 624 | $themeSelect->addOption('light', _MB_EXTGALLERY_LIGHT); |
625 | 625 | $themeSelect->addOption('dark', _MB_EXTGALLERY_DARK); |
626 | 626 | $themeSelect->addOption('custom', _MB_EXTGALLERY_CUSTOM); |
627 | - $form .= _MB_EXTGALLERY_SELECT_THEME . ' : ' . $themeSelect->render() . '<br>'; |
|
627 | + $form .= _MB_EXTGALLERY_SELECT_THEME.' : '.$themeSelect->render().'<br>'; |
|
628 | 628 | $positionSelect = new \XoopsFormSelect(_MB_EXTGALLERY_POSITION, 'options[]', $options[19]); |
629 | 629 | $positionSelect->addOption('bottom', _MB_EXTGALLERY_BOTTOM); |
630 | 630 | $positionSelect->addOption('top', _MB_EXTGALLERY_TOP); |
631 | - $form .= _MB_EXTGALLERY_POSITION . ' : ' . $positionSelect->render() . '<br>'; |
|
631 | + $form .= _MB_EXTGALLERY_POSITION.' : '.$positionSelect->render().'<br>'; |
|
632 | 632 | $easingSelect = new \XoopsFormSelect(_MB_EXTGALLERY_EASING, 'options[]', $options[20]); |
633 | 633 | $easingSelect->addOption('swing', _MB_EXTGALLERY_EASING_OP1); |
634 | 634 | $easingSelect->addOption('linear', _MB_EXTGALLERY_EASING_OP2); |
635 | 635 | $easingSelect->addOption('easeInOutBack', _MB_EXTGALLERY_EASING_OP3); |
636 | 636 | $easingSelect->addOption('easeInOutQuad', _MB_EXTGALLERY_EASING_OP4); |
637 | 637 | $easingSelect->addOption('easeOutBounce', _MB_EXTGALLERY_EASING_OP5); |
638 | - $form .= _MB_EXTGALLERY_EASING . ' : ' . $easingSelect->render() . '<br>'; |
|
638 | + $form .= _MB_EXTGALLERY_EASING.' : '.$easingSelect->render().'<br>'; |
|
639 | 639 | $form .= '</fieldset><br>'; |
640 | 640 | |
641 | - $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>" . _MB_EXTGALLERY_GRIA . '</legend>'; |
|
642 | - $form .= _MB_EXTGALLERY_GRIA_WIDTH . ' : <input name="options[]" size="5" maxlength="255" value="' . $options[21] . '" type="text"><br>'; |
|
643 | - $form .= _MB_EXTGALLERY_GRIA_HEIGHT . ' : <input name="options[]" size="5" maxlength="255" value="' . $options[22] . '" type="text"><br>'; |
|
644 | - $form .= _MB_EXTGALLERY_GRIA_BGCOLOR . ' : <input name="options[]" size="7" maxlength="255" value="' . $options[23] . '" type="text"><br>'; |
|
645 | - $form .= _MB_EXTGALLERY_GRIA_BCOLOR . ' : <input name="options[]" size="7" maxlength="255" value="' . $options[24] . '" type="text"><br>'; |
|
641 | + $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>"._MB_EXTGALLERY_GRIA.'</legend>'; |
|
642 | + $form .= _MB_EXTGALLERY_GRIA_WIDTH.' : <input name="options[]" size="5" maxlength="255" value="'.$options[21].'" type="text"><br>'; |
|
643 | + $form .= _MB_EXTGALLERY_GRIA_HEIGHT.' : <input name="options[]" size="5" maxlength="255" value="'.$options[22].'" type="text"><br>'; |
|
644 | + $form .= _MB_EXTGALLERY_GRIA_BGCOLOR.' : <input name="options[]" size="7" maxlength="255" value="'.$options[23].'" type="text"><br>'; |
|
645 | + $form .= _MB_EXTGALLERY_GRIA_BCOLOR.' : <input name="options[]" size="7" maxlength="255" value="'.$options[24].'" type="text"><br>'; |
|
646 | 646 | $bgimgSelect = new \XoopsFormSelect(_MB_EXTGALLERY_GRIA_BGIMG, 'options[]', $options[25]); |
647 | 647 | $bgimgSelect->addOption('classic-map', _MB_EXTGALLERY_GRIA_BGIMG_OP1); |
648 | 648 | $bgimgSelect->addOption('classic-map-b', _MB_EXTGALLERY_GRIA_BGIMG_OP2); |
649 | - $form .= _MB_EXTGALLERY_GRIA_BGIMG . ' : ' . $bgimgSelect->render() . '<br>'; |
|
649 | + $form .= _MB_EXTGALLERY_GRIA_BGIMG.' : '.$bgimgSelect->render().'<br>'; |
|
650 | 650 | |
651 | 651 | $autoplaySelect = new \XoopsFormSelect(_MB_EXTGALLERY_GRIA_AUTOPLAY, 'options[]', $options[26]); |
652 | 652 | $autoplaySelect->addOption('true', _MB_EXTGALLERY_TRUE); |
653 | 653 | $autoplaySelect->addOption('false', _MB_EXTGALLERY_FALSE); |
654 | - $form .= _MB_EXTGALLERY_GRIA_AUTOPLAY . ' : ' . $autoplaySelect->render() . '<br>'; |
|
654 | + $form .= _MB_EXTGALLERY_GRIA_AUTOPLAY.' : '.$autoplaySelect->render().'<br>'; |
|
655 | 655 | $select_trans = new \XoopsFormSelect(_MB_EXTGALLERY_GRIA_TRANS, 'options[]', $options[27]); |
656 | 656 | $select_trans->addOption('fade', _MB_EXTGALLERY_GRIA_TRANS_TYP1); |
657 | 657 | $select_trans->addOption('flash', _MB_EXTGALLERY_GRIA_TRANS_TYP2); |
658 | 658 | $select_trans->addOption('pulse', _MB_EXTGALLERY_GRIA_TRANS_TYP3); |
659 | 659 | $select_trans->addOption('slide', _MB_EXTGALLERY_GRIA_TRANS_TYP4); |
660 | 660 | $select_trans->addOption('fadeslide', _MB_EXTGALLERY_GRIA_TRANS_TYP5); |
661 | - $form .= _MB_EXTGALLERY_GRIA_TRANS . ' : ' . $select_trans->render() . '<br>'; |
|
662 | - $form .= _MB_EXTGALLERY_GRIA_TSPEED . ' : <input name="options[]" size="5" maxlength="255" value="' . $options[28] . '" type="text"><br>'; |
|
661 | + $form .= _MB_EXTGALLERY_GRIA_TRANS.' : '.$select_trans->render().'<br>'; |
|
662 | + $form .= _MB_EXTGALLERY_GRIA_TSPEED.' : <input name="options[]" size="5" maxlength="255" value="'.$options[28].'" type="text"><br>'; |
|
663 | 663 | |
664 | 664 | $form .= '</fieldset><br>'; |
665 | 665 | |
666 | - $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>" . _MB_EXTGALLERY_MICRO . '</legend>'; |
|
666 | + $form .= "<fieldset><legend style='font-weight:bold; color:#990000;'>"._MB_EXTGALLERY_MICRO.'</legend>'; |
|
667 | 667 | $sizeSelect = new \XoopsFormSelect(_MB_EXTGALLERY_MICRO_SIZE, 'options[]', $options[29]); |
668 | 668 | $sizeSelect->addOption('small', _MB_EXTGALLERY_MICRO_SIZE_OP1); |
669 | 669 | $sizeSelect->addOption('medium', _MB_EXTGALLERY_MICRO_SIZE_OP2); |
670 | 670 | $sizeSelect->addOption('large', _MB_EXTGALLERY_MICRO_SIZE_OP3); |
671 | - $form .= _MB_EXTGALLERY_MICRO_SIZE . ' : ' . $sizeSelect->render() . '<br>'; |
|
671 | + $form .= _MB_EXTGALLERY_MICRO_SIZE.' : '.$sizeSelect->render().'<br>'; |
|
672 | 672 | $form .= '</fieldset><br>'; |
673 | 673 | |
674 | 674 | array_shift($options); |
@@ -717,7 +717,7 @@ discard block |
||
717 | 717 | { |
718 | 718 | $catHandler = Extgallery\Helper::getInstance()->getHandler('PublicCategory'); |
719 | 719 | |
720 | - $form = _MB_EXTGALLERY_USER_NUMBER . ' : <input name="options[]" size="5" maxlength="255" value="' . $options[0] . '" type="text"><br>'; |
|
720 | + $form = _MB_EXTGALLERY_USER_NUMBER.' : <input name="options[]" size="5" maxlength="255" value="'.$options[0].'" type="text"><br>'; |
|
721 | 721 | |
722 | 722 | array_shift($options); |
723 | 723 | |
@@ -805,7 +805,7 @@ discard block |
||
805 | 805 | function extgalleryListEdit($options) |
806 | 806 | { |
807 | 807 | $catHandler = Extgallery\Helper::getInstance()->getHandler('PublicCategory'); |
808 | - $form = _MB_EXTGALLERY_PHOTO_NUMBER . ' : <input name="options[]" size="5" maxlength="255" value="' . $options[0] . '" type="text"><br>'; |
|
808 | + $form = _MB_EXTGALLERY_PHOTO_NUMBER.' : <input name="options[]" size="5" maxlength="255" value="'.$options[0].'" type="text"><br>'; |
|
809 | 809 | //================================== |
810 | 810 | $y2Checked = ''; |
811 | 811 | $n2Checked = ''; |
@@ -814,7 +814,7 @@ discard block |
||
814 | 814 | } else { |
815 | 815 | $n2Checked = ' checked'; |
816 | 816 | } |
817 | - $form .= _MB_EXTGALLERY_DISPLAY_DATE . ' : <input type="radio" name="options[1]" value="1"' . $y2Checked . '> ' . _YES . ' <input type="radio" name="options[1]" value="0"' . $n2Checked . '>' . _NO . '<br>'; |
|
817 | + $form .= _MB_EXTGALLERY_DISPLAY_DATE.' : <input type="radio" name="options[1]" value="1"'.$y2Checked.'> '._YES.' <input type="radio" name="options[1]" value="0"'.$n2Checked.'>'._NO.'<br>'; |
|
818 | 818 | //================================== |
819 | 819 | $y3Checked = ''; |
820 | 820 | $n3Checked = ''; |
@@ -823,7 +823,7 @@ discard block |
||
823 | 823 | } else { |
824 | 824 | $n3Checked = ' checked'; |
825 | 825 | } |
826 | - $form .= _MB_EXTGALLERY_DISPLAY_HITS . ' : <input type="radio" name="options[2]" value="1"' . $y3Checked . '> ' . _YES . ' <input type="radio" name="options[2]" value="0"' . $n3Checked . '>' . _NO . '<br>'; |
|
826 | + $form .= _MB_EXTGALLERY_DISPLAY_HITS.' : <input type="radio" name="options[2]" value="1"'.$y3Checked.'> '._YES.' <input type="radio" name="options[2]" value="0"'.$n3Checked.'>'._NO.'<br>'; |
|
827 | 827 | //================================== |
828 | 828 | $y4Checked = ''; |
829 | 829 | $n4Checked = ''; |
@@ -832,7 +832,7 @@ discard block |
||
832 | 832 | } else { |
833 | 833 | $n4Checked = ' checked'; |
834 | 834 | } |
835 | - $form .= _MB_EXTGALLERY_DISPLAY_RATE . ' : <input type="radio" name="options[3]" value="1"' . $y4Checked . '> ' . _YES . ' <input type="radio" name="options[3]" value="0"' . $n4Checked . '>' . _NO . '<br>'; |
|
835 | + $form .= _MB_EXTGALLERY_DISPLAY_RATE.' : <input type="radio" name="options[3]" value="1"'.$y4Checked.'> '._YES.' <input type="radio" name="options[3]" value="0"'.$n4Checked.'>'._NO.'<br>'; |
|
836 | 836 | //================================== |
837 | 837 | $effectTypeSelect = new \XoopsFormSelect(_MB_EXTGALLERY_SHOW_TYPE, 'options[]', $options[4]); |
838 | 838 | $effectTypeSelect->addOption('RandomPhoto', _MB_EXTGALLERY_TYPE_OP1); |
@@ -840,7 +840,7 @@ discard block |
||
840 | 840 | $effectTypeSelect->addOption('TopViewPhoto', _MB_EXTGALLERY_TYPE_OP3); |
841 | 841 | $effectTypeSelect->addOption('TopRatedPhoto', _MB_EXTGALLERY_TYPE_OP4); |
842 | 842 | $effectTypeSelect->addOption('TopEcardPhoto', _MB_EXTGALLERY_TYPE_OP5); |
843 | - $form .= _MB_EXTGALLERY_SHOW_TYPE . ' : ' . $effectTypeSelect->render() . '<br>'; |
|
843 | + $form .= _MB_EXTGALLERY_SHOW_TYPE.' : '.$effectTypeSelect->render().'<br>'; |
|
844 | 844 | |
845 | 845 | array_shift($options); |
846 | 846 | array_shift($options); |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | $module_dirname = basename(dirname(__DIR__)); |
27 | 27 | // tags support |
28 | 28 | if (xoops_isActiveModule('tag')) { |
29 | - require_once XOOPS_ROOT_PATH . '/modules/tag/blocks/block.php'; |
|
29 | + require_once XOOPS_ROOT_PATH.'/modules/tag/blocks/block.php'; |
|
30 | 30 | |
31 | 31 | return tag_block_cloud_show($options, $module_dirname); |
32 | 32 | } |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | */ |
41 | 41 | function extgallery_tag_block_cloud_edit($options) |
42 | 42 | { |
43 | - require_once XOOPS_ROOT_PATH . '/modules/tag/blocks/block.php'; |
|
43 | + require_once XOOPS_ROOT_PATH.'/modules/tag/blocks/block.php'; |
|
44 | 44 | |
45 | 45 | return tag_block_cloud_edit($options); |
46 | 46 | } |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | |
57 | 57 | // tags support |
58 | 58 | if (xoops_isActiveModule('tag')) { |
59 | - require_once XOOPS_ROOT_PATH . '/modules/tag/blocks/block.php'; |
|
59 | + require_once XOOPS_ROOT_PATH.'/modules/tag/blocks/block.php'; |
|
60 | 60 | |
61 | 61 | return tag_block_top_show($options, $module_dirname); |
62 | 62 | } |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | */ |
71 | 71 | function extgallery_tag_block_top_edit($options) |
72 | 72 | { |
73 | - require_once XOOPS_ROOT_PATH . '/modules/tag/blocks/block.php'; |
|
73 | + require_once XOOPS_ROOT_PATH.'/modules/tag/blocks/block.php'; |
|
74 | 74 | |
75 | 75 | return tag_block_top_edit($options); |
76 | 76 | } |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | |
18 | 18 | use XoopsModules\Extgallery; |
19 | 19 | |
20 | -include __DIR__ . '/preloads/autoloader.php'; |
|
20 | +include __DIR__.'/preloads/autoloader.php'; |
|
21 | 21 | |
22 | 22 | $moduleDirName = basename(__DIR__); |
23 | 23 | |
@@ -39,10 +39,10 @@ discard block |
||
39 | 39 | // |
40 | 40 | 'release_info' => 'release_info', |
41 | 41 | 'release' => '2016-08-28', |
42 | - 'release_file' => XOOPS_URL . "/modules/{$moduleDirName}/docs/release_info file", |
|
42 | + 'release_file' => XOOPS_URL."/modules/{$moduleDirName}/docs/release_info file", |
|
43 | 43 | // |
44 | 44 | 'manual' => 'link to manual file', |
45 | - 'manual_file' => XOOPS_URL . "/modules/{$moduleDirName}/docs/install.txt", |
|
45 | + 'manual_file' => XOOPS_URL."/modules/{$moduleDirName}/docs/install.txt", |
|
46 | 46 | 'min_php' => '5.5', |
47 | 47 | 'min_xoops' => '2.5.9', |
48 | 48 | 'min_admin' => '1.2', |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | if (isset($GLOBALS['xoopsModule']) && is_object($GLOBALS['xoopsModule']) && 'extgallery' === $GLOBALS['xoopsModule']->getVar('dirname')) { |
85 | 85 | if (null !== $GLOBALS['xoopsUser'] && is_object($GLOBALS['xoopsUser'])) { |
86 | 86 | $modversion['sub'][0]['name'] = _MI_EXTGALLERY_USERALBUM; |
87 | - $modversion['sub'][0]['url'] = 'public-useralbum.php?id=' . $GLOBALS['xoopsUser']->uid(); |
|
87 | + $modversion['sub'][0]['url'] = 'public-useralbum.php?id='.$GLOBALS['xoopsUser']->uid(); |
|
88 | 88 | |
89 | 89 | // if (isset($GLOBALS['xoopsUser']) && '' !== $GLOBALS['xoopsUser']) { |
90 | 90 | // require_once XOOPS_ROOT_PATH . "/modules/$moduleDirName/class/publicPerm.php"; |
@@ -106,11 +106,11 @@ discard block |
||
106 | 106 | |
107 | 107 | // Tables created by sql file (without prefix!) |
108 | 108 | $modversion['tables'] = [ |
109 | - $moduleDirName . '_' . 'publiccat', |
|
110 | - $moduleDirName . '_' . 'publicphoto', |
|
111 | - $moduleDirName . '_' . 'quota', |
|
112 | - $moduleDirName . '_' . 'publicrating', |
|
113 | - $moduleDirName . '_' . 'publicecard' |
|
109 | + $moduleDirName.'_'.'publiccat', |
|
110 | + $moduleDirName.'_'.'publicphoto', |
|
111 | + $moduleDirName.'_'.'quota', |
|
112 | + $moduleDirName.'_'.'publicrating', |
|
113 | + $moduleDirName.'_'.'publicecard' |
|
114 | 114 | ]; |
115 | 115 | |
116 | 116 | // ------------------- Help files ------------------- // |
@@ -133,16 +133,16 @@ discard block |
||
133 | 133 | $modversion['comments']['itemName'] = 'photoId'; |
134 | 134 | $modversion['comments']['pageName'] = 'public-photo.php'; |
135 | 135 | $modversion['comments']['callbackFile'] = 'include/comment_function.php'; |
136 | -$modversion['comments']['callback']['update'] = $moduleDirName . 'ComUpdate'; |
|
136 | +$modversion['comments']['callback']['update'] = $moduleDirName.'ComUpdate'; |
|
137 | 137 | |
138 | 138 | // Search |
139 | 139 | $modversion['hasSearch'] = 1; |
140 | 140 | $modversion['search']['file'] = 'include/search.inc.php'; |
141 | -$modversion['search']['func'] = $moduleDirName . 'Search'; |
|
141 | +$modversion['search']['func'] = $moduleDirName.'Search'; |
|
142 | 142 | |
143 | 143 | // Config items |
144 | 144 | $i = 0; |
145 | -$modversion['config'][$i]['name'] = 'break' . $i; |
|
145 | +$modversion['config'][$i]['name'] = 'break'.$i; |
|
146 | 146 | $modversion['config'][$i]['title'] = '_MI_EXTGAL_PREFERENCE_BREAK_GENERAL'; |
147 | 147 | $modversion['config'][$i]['description'] = ''; |
148 | 148 | $modversion['config'][$i]['formtype'] = 'line_break'; |
@@ -224,7 +224,7 @@ discard block |
||
224 | 224 | $modversion['config'][$i]['valuetype'] = 'text'; |
225 | 225 | $modversion['config'][$i]['default'] = '10485760'; |
226 | 226 | ++$i; |
227 | -$modversion['config'][$i]['name'] = 'break' . $i; |
|
227 | +$modversion['config'][$i]['name'] = 'break'.$i; |
|
228 | 228 | $modversion['config'][$i]['title'] = '_MI_EXTGAL_PREFERENCE_BREAK_ALBUM'; |
229 | 229 | $modversion['config'][$i]['description'] = ''; |
230 | 230 | $modversion['config'][$i]['formtype'] = 'line_break'; |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | $modversion['config'][$i]['valuetype'] = 'int'; |
261 | 261 | $modversion['config'][$i]['default'] = 7; |
262 | 262 | ++$i; |
263 | -$modversion['config'][$i]['name'] = 'break' . $i; |
|
263 | +$modversion['config'][$i]['name'] = 'break'.$i; |
|
264 | 264 | $modversion['config'][$i]['title'] = '_MI_EXTGAL_PREFERENCE_BREAK_SLIDESHOW'; |
265 | 265 | $modversion['config'][$i]['description'] = ''; |
266 | 266 | $modversion['config'][$i]['formtype'] = 'line_break'; |
@@ -280,7 +280,7 @@ discard block |
||
280 | 280 | ]; |
281 | 281 | $modversion['config'][$i]['default'] = 'galleryview'; |
282 | 282 | ++$i; |
283 | -$modversion['config'][$i]['name'] = 'break' . $i; |
|
283 | +$modversion['config'][$i]['name'] = 'break'.$i; |
|
284 | 284 | $modversion['config'][$i]['title'] = '_MI_EXTGAL_PREFERENCE_BREAK_PHOTO'; |
285 | 285 | $modversion['config'][$i]['description'] = ''; |
286 | 286 | $modversion['config'][$i]['formtype'] = 'line_break'; |
@@ -371,7 +371,7 @@ discard block |
||
371 | 371 | $modversion['config'][$i]['valuetype'] = 'int'; |
372 | 372 | $modversion['config'][$i]['default'] = 0; |
373 | 373 | ++$i; |
374 | -$modversion['config'][$i]['name'] = 'break' . $i; |
|
374 | +$modversion['config'][$i]['name'] = 'break'.$i; |
|
375 | 375 | $modversion['config'][$i]['title'] = '_MI_EXTGAL_PREFERENCE_BREAK_INFO'; |
376 | 376 | $modversion['config'][$i]['description'] = ''; |
377 | 377 | $modversion['config'][$i]['formtype'] = 'line_break'; |
@@ -541,7 +541,7 @@ discard block |
||
541 | 541 | ]; |
542 | 542 | $modversion['config'][$i]['default'] = 0; |
543 | 543 | ++$i; |
544 | -$modversion['config'][$i]['name'] = 'break' . $i; |
|
544 | +$modversion['config'][$i]['name'] = 'break'.$i; |
|
545 | 545 | $modversion['config'][$i]['title'] = '_MI_EXTGAL_PREFERENCE_BREAK_RSS'; |
546 | 546 | $modversion['config'][$i]['description'] = ''; |
547 | 547 | $modversion['config'][$i]['formtype'] = 'line_break'; |
@@ -576,7 +576,7 @@ discard block |
||
576 | 576 | $modversion['config'][$i]['valuetype'] = 'text'; |
577 | 577 | $modversion['config'][$i]['default'] = '/assets/images/logo.png'; |
578 | 578 | ++$i; |
579 | -$modversion['config'][$i]['name'] = 'break' . $i; |
|
579 | +$modversion['config'][$i]['name'] = 'break'.$i; |
|
580 | 580 | $modversion['config'][$i]['title'] = '_MI_EXTGAL_PREFERENCE_BREAK_ADMIN'; |
581 | 581 | $modversion['config'][$i]['description'] = ''; |
582 | 582 | $modversion['config'][$i]['formtype'] = 'line_break'; |
@@ -590,7 +590,7 @@ discard block |
||
590 | 590 | $modversion['config'][$i]['valuetype'] = 'int'; |
591 | 591 | $modversion['config'][$i]['default'] = 10; |
592 | 592 | ++$i; |
593 | -$modversion['config'][$i]['name'] = 'break' . $i; |
|
593 | +$modversion['config'][$i]['name'] = 'break'.$i; |
|
594 | 594 | $modversion['config'][$i]['title'] = '_MI_EXTGAL_PREFERENCE_BREAK_GRAPHLIB'; |
595 | 595 | $modversion['config'][$i]['description'] = ''; |
596 | 596 | $modversion['config'][$i]['formtype'] = 'line_break'; |
@@ -612,7 +612,7 @@ discard block |
||
612 | 612 | $modversion['config'][$i]['valuetype'] = 'text'; |
613 | 613 | $modversion['config'][$i]['default'] = '/usr/local/bin/'; |
614 | 614 | ++$i; |
615 | -$modversion['config'][$i]['name'] = 'break' . $i; |
|
615 | +$modversion['config'][$i]['name'] = 'break'.$i; |
|
616 | 616 | $modversion['config'][$i]['title'] = '_MI_EXTGAL_PREFERENCE_BREAK_COMNOTI'; |
617 | 617 | $modversion['config'][$i]['description'] = ''; |
618 | 618 | $modversion['config'][$i]['formtype'] = 'line_break'; |
@@ -21,62 +21,62 @@ |
||
21 | 21 | $moduleDirName = basename(dirname(dirname(__DIR__))); |
22 | 22 | $moduleDirNameUpper = strtoupper($moduleDirName); |
23 | 23 | |
24 | -define('CO_' . $moduleDirNameUpper . '_GDLIBSTATUS', 'GD library support: '); |
|
25 | -define('CO_' . $moduleDirNameUpper . '_GDLIBVERSION', 'GD Library version: '); |
|
26 | -define('CO_' . $moduleDirNameUpper . '_GDOFF', "<span style='font-weight: bold;'>Disabled</span> (No thumbnails available)"); |
|
27 | -define('CO_' . $moduleDirNameUpper . '_GDON', "<span style='font-weight: bold;'>Enabled</span> (Thumbsnails available)"); |
|
28 | -define('CO_' . $moduleDirNameUpper . '_IMAGEINFO', 'Server status'); |
|
29 | -define('CO_' . $moduleDirNameUpper . '_MAXPOSTSIZE', 'Max post size permitted (post_max_size directive in php.ini): '); |
|
30 | -define('CO_' . $moduleDirNameUpper . '_MAXUPLOADSIZE', 'Max upload size permitted (upload_max_filesize directive in php.ini): '); |
|
31 | -define('CO_' . $moduleDirNameUpper . '_MEMORYLIMIT', 'Memory limit (memory_limit directive in php.ini): '); |
|
32 | -define('CO_' . $moduleDirNameUpper . '_METAVERSION', "<span style='font-weight: bold;'>Downloads meta version:</span> "); |
|
33 | -define('CO_' . $moduleDirNameUpper . '_OFF', "<span style='font-weight: bold;'>OFF</span>"); |
|
34 | -define('CO_' . $moduleDirNameUpper . '_ON', "<span style='font-weight: bold;'>ON</span>"); |
|
35 | -define('CO_' . $moduleDirNameUpper . '_SERVERPATH', 'Server path to XOOPS root: '); |
|
36 | -define('CO_' . $moduleDirNameUpper . '_SERVERUPLOADSTATUS', 'Server uploads status: '); |
|
37 | -define('CO_' . $moduleDirNameUpper . '_SPHPINI', "<span style='font-weight: bold;'>Information taken from PHP ini file:</span>"); |
|
38 | -define('CO_' . $moduleDirNameUpper . '_UPLOADPATHDSC', 'Note. Upload path *MUST* contain the full server path of your upload folder.'); |
|
24 | +define('CO_'.$moduleDirNameUpper.'_GDLIBSTATUS', 'GD library support: '); |
|
25 | +define('CO_'.$moduleDirNameUpper.'_GDLIBVERSION', 'GD Library version: '); |
|
26 | +define('CO_'.$moduleDirNameUpper.'_GDOFF', "<span style='font-weight: bold;'>Disabled</span> (No thumbnails available)"); |
|
27 | +define('CO_'.$moduleDirNameUpper.'_GDON', "<span style='font-weight: bold;'>Enabled</span> (Thumbsnails available)"); |
|
28 | +define('CO_'.$moduleDirNameUpper.'_IMAGEINFO', 'Server status'); |
|
29 | +define('CO_'.$moduleDirNameUpper.'_MAXPOSTSIZE', 'Max post size permitted (post_max_size directive in php.ini): '); |
|
30 | +define('CO_'.$moduleDirNameUpper.'_MAXUPLOADSIZE', 'Max upload size permitted (upload_max_filesize directive in php.ini): '); |
|
31 | +define('CO_'.$moduleDirNameUpper.'_MEMORYLIMIT', 'Memory limit (memory_limit directive in php.ini): '); |
|
32 | +define('CO_'.$moduleDirNameUpper.'_METAVERSION', "<span style='font-weight: bold;'>Downloads meta version:</span> "); |
|
33 | +define('CO_'.$moduleDirNameUpper.'_OFF', "<span style='font-weight: bold;'>OFF</span>"); |
|
34 | +define('CO_'.$moduleDirNameUpper.'_ON', "<span style='font-weight: bold;'>ON</span>"); |
|
35 | +define('CO_'.$moduleDirNameUpper.'_SERVERPATH', 'Server path to XOOPS root: '); |
|
36 | +define('CO_'.$moduleDirNameUpper.'_SERVERUPLOADSTATUS', 'Server uploads status: '); |
|
37 | +define('CO_'.$moduleDirNameUpper.'_SPHPINI', "<span style='font-weight: bold;'>Information taken from PHP ini file:</span>"); |
|
38 | +define('CO_'.$moduleDirNameUpper.'_UPLOADPATHDSC', 'Note. Upload path *MUST* contain the full server path of your upload folder.'); |
|
39 | 39 | |
40 | 40 | |
41 | -define('CO_' . $moduleDirNameUpper . '_PRINT', "<span style='font-weight: bold;'>Print</span>"); |
|
42 | -define('CO_' . $moduleDirNameUpper . '_PDF', "<span style='font-weight: bold;'>Create PDF</span>"); |
|
41 | +define('CO_'.$moduleDirNameUpper.'_PRINT', "<span style='font-weight: bold;'>Print</span>"); |
|
42 | +define('CO_'.$moduleDirNameUpper.'_PDF', "<span style='font-weight: bold;'>Create PDF</span>"); |
|
43 | 43 | |
44 | 44 | |
45 | -define('CO_' . $moduleDirNameUpper . '_UPGRADEFAILED0', "Update failed - couldn't rename field '%s'"); |
|
46 | -define('CO_' . $moduleDirNameUpper . '_UPGRADEFAILED1', "Update failed - couldn't add new fields"); |
|
47 | -define('CO_' . $moduleDirNameUpper . '_UPGRADEFAILED2', "Update failed - couldn't rename table '%s'"); |
|
48 | -define('CO_' . $moduleDirNameUpper . '_ERROR_COLUMN', 'Could not create column in database : %s'); |
|
49 | -define('CO_' . $moduleDirNameUpper . '_ERROR_BAD_XOOPS', 'This module requires XOOPS %s+ (%s installed)'); |
|
50 | -define('CO_' . $moduleDirNameUpper . '_ERROR_BAD_PHP', 'This module requires PHP version %s+ (%s installed)'); |
|
51 | -define('CO_' . $moduleDirNameUpper . '_ERROR_TAG_REMOVAL', 'Could not remove tags from Tag Module'); |
|
45 | +define('CO_'.$moduleDirNameUpper.'_UPGRADEFAILED0', "Update failed - couldn't rename field '%s'"); |
|
46 | +define('CO_'.$moduleDirNameUpper.'_UPGRADEFAILED1', "Update failed - couldn't add new fields"); |
|
47 | +define('CO_'.$moduleDirNameUpper.'_UPGRADEFAILED2', "Update failed - couldn't rename table '%s'"); |
|
48 | +define('CO_'.$moduleDirNameUpper.'_ERROR_COLUMN', 'Could not create column in database : %s'); |
|
49 | +define('CO_'.$moduleDirNameUpper.'_ERROR_BAD_XOOPS', 'This module requires XOOPS %s+ (%s installed)'); |
|
50 | +define('CO_'.$moduleDirNameUpper.'_ERROR_BAD_PHP', 'This module requires PHP version %s+ (%s installed)'); |
|
51 | +define('CO_'.$moduleDirNameUpper.'_ERROR_TAG_REMOVAL', 'Could not remove tags from Tag Module'); |
|
52 | 52 | |
53 | -define('CO_' . $moduleDirNameUpper . '_FOLDERS_DELETED_OK', 'Upload Folders have been deleted'); |
|
53 | +define('CO_'.$moduleDirNameUpper.'_FOLDERS_DELETED_OK', 'Upload Folders have been deleted'); |
|
54 | 54 | |
55 | 55 | // Error Msgs |
56 | -define('CO_' . $moduleDirNameUpper . '_ERROR_BAD_DEL_PATH', 'Could not delete %s directory'); |
|
57 | -define('CO_' . $moduleDirNameUpper . '_ERROR_BAD_REMOVE', 'Could not delete %s'); |
|
58 | -define('CO_' . $moduleDirNameUpper . '_ERROR_NO_PLUGIN', 'Could not load plugin'); |
|
56 | +define('CO_'.$moduleDirNameUpper.'_ERROR_BAD_DEL_PATH', 'Could not delete %s directory'); |
|
57 | +define('CO_'.$moduleDirNameUpper.'_ERROR_BAD_REMOVE', 'Could not delete %s'); |
|
58 | +define('CO_'.$moduleDirNameUpper.'_ERROR_NO_PLUGIN', 'Could not load plugin'); |
|
59 | 59 | |
60 | 60 | |
61 | 61 | //Help |
62 | -define('CO_' . $moduleDirNameUpper . '_DIRNAME', basename(dirname(dirname(__DIR__)))); |
|
63 | -define('CO_' . $moduleDirNameUpper . '_HELP_HEADER', __DIR__.'/help/helpheader.tpl'); |
|
64 | -define('CO_' . $moduleDirNameUpper . '_BACK_2_ADMIN', 'Back to Administration of '); |
|
65 | -define('CO_' . $moduleDirNameUpper . '_OVERVIEW', 'Overview'); |
|
62 | +define('CO_'.$moduleDirNameUpper.'_DIRNAME', basename(dirname(dirname(__DIR__)))); |
|
63 | +define('CO_'.$moduleDirNameUpper.'_HELP_HEADER', __DIR__.'/help/helpheader.tpl'); |
|
64 | +define('CO_'.$moduleDirNameUpper.'_BACK_2_ADMIN', 'Back to Administration of '); |
|
65 | +define('CO_'.$moduleDirNameUpper.'_OVERVIEW', 'Overview'); |
|
66 | 66 | |
67 | 67 | //define('CO_' . $moduleDirNameUpper . '_HELP_DIR', __DIR__); |
68 | 68 | |
69 | 69 | //help multi-page |
70 | -define('CO_' . $moduleDirNameUpper . '_DISCLAIMER', 'Disclaimer'); |
|
71 | -define('CO_' . $moduleDirNameUpper . '_LICENSE', 'License'); |
|
72 | -define('CO_' . $moduleDirNameUpper . '_SUPPORT', 'Support'); |
|
70 | +define('CO_'.$moduleDirNameUpper.'_DISCLAIMER', 'Disclaimer'); |
|
71 | +define('CO_'.$moduleDirNameUpper.'_LICENSE', 'License'); |
|
72 | +define('CO_'.$moduleDirNameUpper.'_SUPPORT', 'Support'); |
|
73 | 73 | |
74 | 74 | //Sample Data |
75 | -define('CO_' . $moduleDirNameUpper . '_' . 'ADD_SAMPLEDATA', 'Import Sample Data (will delete ALL current data)'); |
|
76 | -define('CO_' . $moduleDirNameUpper . '_' . 'SAMPLEDATA_SUCCESS', 'Sample Date uploaded successfully'); |
|
77 | -define('CO_' . $moduleDirNameUpper . '_' . 'SAVE_SAMPLEDATA', 'Export Tables to YAML'); |
|
78 | -define('CO_' . $moduleDirNameUpper . '_' . 'SHOW_SAMPLE_BUTTON', 'Show Sample Button?'); |
|
79 | -define('CO_' . $moduleDirNameUpper . '_' . 'SHOW_SAMPLE_BUTTON_DESC', 'If yes, the "Add Sample Data" button will be visible to the Admin. It is Yes as a default for first installation.'); |
|
80 | -define('CO_' . $moduleDirNameUpper . '_' . 'EXPORT_SCHEMA', 'Export DB Schema to YAML'); |
|
81 | -define('CO_' . $moduleDirNameUpper . '_' . 'EXPORT_SCHEMA_SUCCESS', 'Export DB Schema to YAML was a success'); |
|
82 | -define('CO_' . $moduleDirNameUpper . '_' . 'EXPORT_SCHEMA_ERROR', 'ERROR: Export of DB Schema to YAML failed'); |
|
75 | +define('CO_'.$moduleDirNameUpper.'_'.'ADD_SAMPLEDATA', 'Import Sample Data (will delete ALL current data)'); |
|
76 | +define('CO_'.$moduleDirNameUpper.'_'.'SAMPLEDATA_SUCCESS', 'Sample Date uploaded successfully'); |
|
77 | +define('CO_'.$moduleDirNameUpper.'_'.'SAVE_SAMPLEDATA', 'Export Tables to YAML'); |
|
78 | +define('CO_'.$moduleDirNameUpper.'_'.'SHOW_SAMPLE_BUTTON', 'Show Sample Button?'); |
|
79 | +define('CO_'.$moduleDirNameUpper.'_'.'SHOW_SAMPLE_BUTTON_DESC', 'If yes, the "Add Sample Data" button will be visible to the Admin. It is Yes as a default for first installation.'); |
|
80 | +define('CO_'.$moduleDirNameUpper.'_'.'EXPORT_SCHEMA', 'Export DB Schema to YAML'); |
|
81 | +define('CO_'.$moduleDirNameUpper.'_'.'EXPORT_SCHEMA_SUCCESS', 'Export DB Schema to YAML was a success'); |
|
82 | +define('CO_'.$moduleDirNameUpper.'_'.'EXPORT_SCHEMA_ERROR', 'ERROR: Export of DB Schema to YAML failed'); |