language/english/admin.php
File admin.php
has 376 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
define('_AM_EXTGALLERY_CATEGORY', 'Category');
define('_AM_EXTGALLERY_INFORMATION', 'Information');
define('_AM_EXTGALLERY_PARENT_CAT', 'Parent category');
Line exceeds 120 characters; contains 138 characters Open
Open
define('_AM_EXTGALLERY_PUBLIC_ECARD_INFO', "Allows you to restrict the send eCard feature. All eCard's senders IP addresses are logged.");
- Exclude checks
Line exceeds 120 characters; contains 187 characters Open
Open
define('_AM_EXTGALLERY_XOOPS_VERSION_NOT_SUPPORTED', 'Your XOOPS version is not supported by the new eXtGallery version. Please upgrade to the <b>%s</b> XOOPS version or greater first.');
- Exclude checks
Line exceeds 120 characters; contains 212 characters Open
Open
define('_AM_EXTGALLERY_ADD_BATCH_INFO', 'There are <b>%d</b> photos in the batch folder. By pressing the SUBMIT button below, all photos in the batch folder will be uploaded to the album/albums selected below.');
- Exclude checks
Line exceeds 120 characters; contains 122 characters Open
Open
define('_AM_EXTGALLERY_PUBLIC_AUTOAPROVE_DESC', "Select categories where public photo uploads don't need admin approval");
- Exclude checks
Line exceeds 120 characters; contains 132 characters Open
Open
define('_AM_EXTGALLERY_LG_FILE_DONT_EXIST', "Language files don't exist on repository :<br><b>Server : </b>%s<br><b>File : </b>%s");
- Exclude checks
Line exceeds 120 characters; contains 133 characters Open
Open
define('_AM_EXTGALLERY_EXT_FILE_DONT_EXIST', "Extension file don't exist on repository :<br><b>Server : </b>%s<br><b>File : </b>%s");
- Exclude checks
Line exceeds 120 characters; contains 230 characters Open
Open
define('_AM_EXTGALLERY_ADMIN_FOOTER', "<div class='right smallsmall italic pad5'>XOOPS Tag is maintained by the <a class='tooltip' rel='external' href='https://xoops.org/' title='Visit XOOPS Community'>XOOPS Community</a></div>");
- Exclude checks
Line exceeds 120 characters; contains 198 characters Open
Open
define('_AM_EXTGALLERY_PUBLIC_DISPLAYED_INFO', 'Allows you to not display category names but still allow image access. For example, you could use photos in these categories for your site content.');
- Exclude checks
Line exceeds 120 characters; contains 175 characters Open
Open
define('_AM_EXTGALLERY_ALBUM_NOT_ENABLE', 'Album not enabled. you can set Album options at here but for use Album in user side you must enable Album from module Preferences');
- Exclude checks
Line exceeds 120 characters; contains 130 characters Open
Open
define('_AM_EXTGALLERY_MD_FILE_DONT_EXIST', "Module files don't exist on repository :<br><b>Server : </b>%s<br><b>File : </b>%s");
- Exclude checks
Line exceeds 120 characters; contains 167 characters Open
Open
define('_AM_EXTGALLERY_ADD_PUBLIC_CAT_INFO', 'You can add a category only under a category without a photo. Only valid category are diplayed in the selection below.');
- Exclude checks
Line exceeds 120 characters; contains 192 characters Open
Open
define('_AM_EXTGALLERY_SELECT_PERM_DESC', 'Please check all parts and update permission. If you want users to be able to see your albums and photos, you must select permission for all group');
- Exclude checks
Line exceeds 120 characters; contains 362 characters Open
Open
'This extension allow you to display photo on all the site just by adding a <b>gallery</b> tag to your text. A button ( <button type="button" class="btn btn-default");" onmouseover="style.cursor=\"hand\' title=""><span class="fa fa-file-image-o" aria-hidden="true"></span><span style="font-size:75%;"> Gallery</span></button> ) is displayed on XOOPS editor.'
- Exclude checks
Line exceeds 120 characters; contains 121 characters Open
Open
define('_AM_EXTGALLERY_EDITDELETE_PHOTOTABLE_INFO', 'Only photos where the box is checked will be modified or deleted.');
- Exclude checks
Line exceeds 120 characters; contains 361 characters Open
Open
'Selecting effects will change photo display when thumbs are clicked. Ajax effects or Normal can be selected.<br><br> <b>Normal</b> : No effects<br><b>Lightbox</b> : Use Lightbox effect<br><b>Overlay</b> : use Overlay effect<br><b>Tooltip</b> : use Tooltip effect<br><b>Fancybox</b> : use Fancybox effect<br><b>PrettyPhoto</b> : use PrettyPhoto effect<br>'
- Exclude checks
Line exceeds 120 characters; contains 198 characters Open
Open
<div class="marg10">2- Edit <b>XOOPS_ROOT_PATH /class/textsanitizer/config.php</b> and add (( <b>"gallery" => 1</b> )) to config extensions array ( you can find edited file in module archive)</div>
- Exclude checks
Line exceeds 120 characters; contains 189 characters Open
Open
<div class="marg10">4- If you want to use module install function, you must <b>XOOPS_ROOT_PATH /class/textsanitizer</b> chmod to 777 . after installation you must change chmod to 644.</div>
- Exclude checks
Line exceeds 120 characters; contains 220 characters Open
Open
define('_AM_EXTGALLERY_MODDELETE_PUBLICCAT_INFO', 'You can find a list of all categories/albums available on your web site. The number between the bracket at the end of the category name is the weight of the category.');
- Exclude checks
Line exceeds 120 characters; contains 224 characters Open
Open
define('_AM_EXTGALLERY_PUBLIC_PERM_MASK_INFO', "Here you can set the default mask permissions that will be applied to a new category. Don't give over generous permissions here because all new categories will inherit them.");
- Exclude checks
Line exceeds 120 characters; contains 250 characters Open
Open
define('_AM_EXTGALLERY_PUBLIC_DOWNLOAD_ORIG_DESC', "Select categories where users can download original photos.<br>To download originals the 'Save original photo' feature must be enable in 'Preferences' plus group settings must allow the download.");
- Exclude checks
Line exceeds 120 characters; contains 204 characters Open
Open
define('_AM_EXTGALLERY_WATERMARK_FREETYPE_WARN', '<b>PHP must be compiled with FreeType support to enable watermarking. See <a href="http://www.freetype.org/">FreeType.org</a> for more information.</b>');
- Exclude checks
Line exceeds 120 characters; contains 124 characters Open
Open
define('_AM_EXTGALLERY_DOWN_UPLOADPATHDSC', 'Note. Upload path *MUST* contain the full server path of your upload folder.');
- Exclude checks
Line exceeds 120 characters; contains 163 characters Open
Open
define('_AM_EXTGALLERY_REBUILD_THUMB_INFO', 'Select the category where thumb will be rebuilt. This feature is useful if you want to change thumb size or quality');
- Exclude checks
Line exceeds 120 characters; contains 192 characters Open
Open
define('_AM_EXTGALLERY_SLIDESHOW_NOT_ENABLE', 'SlideShow not enabled . You can set slideshow options here but to use slideshow in user side you must enable slideshow from module Preferences');
- Exclude checks
Line exceeds 120 characters; contains 175 characters Open
Open
define('_AM_EXTGALLERY_RATE_PERM_INFO', 'Allows you to restrict the ratings feature. A restricted user cannot rate in a category but can still see the rating for the image.');
- Exclude checks
Line exceeds 120 characters; contains 255 characters Open
Open
"Allows you to prevent the automatic display of submitted public images until they are approved by an Admin. Select category where public user uploads don't need to be approved. Public users must be allowed to submit photos to enable this permission."
- Exclude checks
Line exceeds 120 characters; contains 150 characters Open
Open
define('_AM_EXTGALLERY_ADD_FONT_LINK', 'There are %s fonts available. <a href="watermark-border.php?op=uploadfont">Click here</a> to add a new font');
- Exclude checks
Line exceeds 120 characters; contains 291 characters Open
Open
define('_AM_EXTGALLERY_PUBLIC_DOWNLOAD_ORIG_INFO', 'Allows you to restrict the download of original images. If a user is allowed to download original they can access the original image (without border and watermark, and not resized) if the "Save original photo" is enabled in preferences.');
- Exclude checks
Line exceeds 120 characters; contains 165 characters Open
Open
<div class="marg10">1- Add <b>gallery.php</b> to <b>XOOPS_ROOT_PATH /class/textsanitizer/gallery/gallery.php</b> ( you can find gallery.php in module archive)</div>
- Exclude checks
Line exceeds 120 characters; contains 240 characters Open
Open
define('_AM_EXTGALLERY_PUBLIC_DOWNLOAD_INFO', 'Allows you to restrict the download of large image. If a user is allowed to download, they will also have access to large image downloads if the "Save large photo" is enabled in preferences.');
- Exclude checks
Line exceeds 120 characters; contains 123 characters Open
Open
define('_AM_EXTGALLERY_WATERMARK_BORDER_EXEMPLE_INFO', "If the image doesn't appear refresh your browser to clear cache ");
- Exclude checks
Line exceeds 120 characters; contains 174 characters Open
Open
define('_AM_EXTGALLERY_ACCESS_PERM_INFO', "Allows you to restrict access to this category. A restricted user can't see a category unless they have permission set to do so.");
- Exclude checks
Line exceeds 120 characters; contains 121 characters Open
Open
define('_AM_EXTGALLERY_SLIDESHOW_ENABLE', 'SlideShow enabled. You can select which script you want use and set options');
- Exclude checks