1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 22:27:34 +02:00

Issue #6 Fix for missing LANS

This commit is contained in:
Cameron
2016-12-21 09:16:39 -08:00
parent db1aa937aa
commit e58a2f1a69
2 changed files with 126 additions and 117 deletions

View File

@@ -357,6 +357,11 @@ class news_shortcodes extends e_shortcode
return $this->sc_newsimage($parm);
}
public function sc_news_related($parm=null)
{
return $this->sc_newsrelated($parm);
}
public function sc_news_visibility($parm=null)
{
$string= e107::getUserClass()->getIdentifier($this->news_item['news_class']);

View File

@@ -43,7 +43,7 @@ define("IMALAN_15", "Show nothing");
// define("IMALAN_17", "Click here");
define("IMALAN_18", "Uploaded Avatar Images");
// define("IMALAN_19", "Show 'disabled' message");
define('IMALAN_20', "Nothing changed");
define("IMALAN_20", "Nothing changed");
define("IMALAN_21", "Used by");
define("IMALAN_22", "Image not in use");
define("IMALAN_23", "Avatars");
@@ -77,123 +77,127 @@ define("IMALAN_51", "Avatar for ");
define("IMALAN_52", "Path to ImageMagick appears to be incorrect");
define("IMALAN_53", "Path to ImageMagick appears to be correct, but convert file may not be valid");
define("IMALAN_54", "GD version installed:");
define('IMALAN_55', "Not installed");
define("IMALAN_55", "Not installed");
//v0.8
//uploaded avatar list
define('IMALAN_56', "Click to select");
define('IMALAN_57', "Image too big - click to enlarge");
define("IMALAN_56", "Click to select");
define("IMALAN_57", "Image too big - click to enlarge");
//avatar check
// define('IMALAN_61', "Options");
define('IMALAN_62', "Reason");
define('IMALAN_65', "Nothing found");
define('IMALAN_66', "Filename");
define('IMALAN_68', "Close");
define('IMALAN_69', "Folder");
define('IMALAN_70', "Non-system folder is found!");
// define("IMALAN_61", "Options");
define("IMALAN_62", "Reason");
define("IMALAN_65", "Nothing found");
define("IMALAN_66", "Filename");
define("IMALAN_68", "Close");
define("IMALAN_69", "Folder");
define("IMALAN_70", "Non-system folder is found!");
// define("IMALAN_72", "Icons");
define('IMALAN_73', "Thumbnail Quality");
define('IMALAN_74', "Set this as low as possible before quality loss is apparent. Max. 100");
define('IMALAN_75', "Avatar Width");
define('IMALAN_76', "Avatar images will be constrained to these dimensions (in pixels)");
define('IMALAN_77', "Avatar Height");
define('IMALAN_78', "General");
define('IMALAN_79', "Resize-Image Dimensions");
define('IMALAN_80', "Watermark Activation");
define('IMALAN_81', "All images with a width or height greater than this value will be given a watermark during resizing.");
define('IMALAN_82', "Watermark Text");
define('IMALAN_83', "Optional Watermark Text");
define('IMALAN_84', "Watermark Font");
define('IMALAN_85', "Optional Watermark Font. Upload more .ttf fonts to the /fonts folder in your theme directory.");
define('IMALAN_86', "Watermark Size");
define('IMALAN_87', "Size of the font in pts");
define('IMALAN_88', "Watermark Position");
define('IMALAN_89', "Watermark");
define('IMALAN_90', "Watermark Margin");
define('IMALAN_91', "The distance that watermark will appear from the edge of the image.");
define('IMALAN_92', "Watermark Color");
define('IMALAN_93', "Color of the watermark eg. 000000");
define('IMALAN_94', "Watermark Shadow-Color");
define('IMALAN_95', "Shadow Color of the watermark eg. ffffff");
define('IMALAN_96', "Watermark Opacity");
define('IMALAN_97', "Enter a number between 1 and 100");
define('IMALAN_98', "Default YouTube account");
define('IMALAN_99', "Used by the Media-Manager Youtube browser. Enter account name. eg. e107inc");
define('IMALAN_100', "Show Related Videos");
define('IMALAN_101', "Show Video Info");
define('IMALAN_102', "Show Closed-Captions by default");
define('IMALAN_103', "Use Modest Branding");
define('IMALAN_104', "Make the YouTube bbcode responsive");
define('IMALAN_105', "Resize images during media import");
define('IMALAN_106', "Leave empty to disable");
define('IMALAN_107', "Couldn't generated path from upload data");
define('IMALAN_108', "Couldn't move file from [x] to [y]");
define('IMALAN_109', "Couldn't get path");
define('IMALAN_110', "Path");
define('IMALAN_111', "Couldn't detect mime-type([x]). Upload failed.");
define('IMALAN_112', "Couldn't create folder ([x]).");
define('IMALAN_113', "Scanning for new media (images, videos, files) in folder:");
define('IMALAN_114', "No media Found! Please upload some files.");
define('IMALAN_115', "Title (internal use)");
define('IMALAN_116', "Caption (seen by public)");
//define('IMALAN_117', "Author"); // use LAN_AUTHOR
define('IMALAN_118', "Mime Type");
define('IMALAN_119', "File Size");
define('IMALAN_120', "Dimensions");
define('IMALAN_121', "Preview"); // use LAN_PREVIEW
define('IMALAN_122', "[x] couldn't be renamed. Check file perms.");
define('IMALAN_123', "Import into Category:");
define('IMALAN_124', "Import Selected Files");
define('IMALAN_125', "Delete Selected Files");
define('IMALAN_126', "Please check at least one file.");
define('IMALAN_127', "Couldn't get file info from:");
define('IMALAN_128', "Importing Media:");
define('IMALAN_129', "You are about to delete [x] records and <strong>ALL CORRESPONDING FILES</strong>! Please confirm to continue!");
define('IMALAN_130', "Previous page");
define('IMALAN_131', "Next page");
define('IMALAN_132', "Tags/Keywords");
define('IMALAN_133', "Bottom Right");
define('IMALAN_134', "Bottom Left");
define('IMALAN_135', "Top Right");
define('IMALAN_136', "Top Left");
define('IMALAN_137', "Center");
define('IMALAN_138', "Right");
define('IMALAN_139', "Left");
define('IMALAN_140', "Top");
define('IMALAN_141', "Bottom");
define('IMALAN_142', "Tile");
define('IMALAN_143', "Image");
define('IMALAN_144', "File");
define('IMALAN_145', "From your computer");
define('IMALAN_146', "No HTML5 support.");
define('IMALAN_147', "From a remote location");
define('IMALAN_148', "Image/File URL");
define('IMALAN_149', "Start Upload");
define('IMALAN_150', "Upload a File");
define('IMALAN_151', "Choose from Library");
define('IMALAN_152', "Appearance");
define('IMALAN_153', "Image in use");
define('IMALAN_154', "Not in use");
define('IMALAN_155', "Avatar Pre-selection Folder");
define('IMALAN_156', "Delete all unused images");
define('IMALAN_157', "Text flow");
define('IMALAN_158', "Margin-Left");
define('IMALAN_159', "Margin-Right");
define('IMALAN_160', "Margin-Top");
define('IMALAN_161', "Margin-Bottom");
define('IMALAN_162', "Displaying [x] - [y] of [z] images.");
define('IMALAN_163', "Video");
define('IMALAN_164', "Deleted Icons from Media-Manager");
define('IMALAN_165', "No images");
define('IMALAN_166', "Upload images or files");
define('IMALAN_167', "No file");
define('IMALAN_168', "Click on the avatar to change it");
define('IMALAN_169', "No Avatars Available");
define('IMALAN_170', "Choose this avatar");
define('IMALAN_171', "Admin-Only Notice: The folder");
define('IMALAN_172', "is empty. Upload some default avatars images to this folder for users to choose avatars from.");
define('IMALAN_173', "No media owner found.");
define('IMALAN_174', "Youtube search requires a (free) YouTube v3 api key.[br]This key is not required unless you wish to perform a keyword, playlist or channel search.[br]Entering a Youtube video URL directly into the box above will still work without having an api key.[br][x]");
define('IMALAN_175', "Search Youtube. Paste any YouTube URL here for a specific video/playlist/channel");
define('IMALAN_176', "There was a problem grabbing the file");
define('IMALAN_177', "Click here for more information and to enter your api key");
?>
define("IMALAN_73", "Thumbnail Quality");
define("IMALAN_74", "Set this as low as possible before quality loss is apparent. Max. 100");
define("IMALAN_75", "Avatar Width");
define("IMALAN_76", "Avatar images will be constrained to these dimensions (in pixels)");
define("IMALAN_77", "Avatar Height");
define("IMALAN_78", "General");
define("IMALAN_79", "Resize-Image Dimensions");
define("IMALAN_80", "Watermark Activation");
define("IMALAN_81", "All images with a width or height greater than this value will be given a watermark during resizing.");
define("IMALAN_82", "Watermark Text");
define("IMALAN_83", "Optional Watermark Text");
define("IMALAN_84", "Watermark Font");
define("IMALAN_85", "Optional Watermark Font. Upload more .ttf fonts to the /fonts folder in your theme directory.");
define("IMALAN_86", "Watermark Size");
define("IMALAN_87", "Size of the font in pts");
define("IMALAN_88", "Watermark Position");
define("IMALAN_89", "Watermark");
define("IMALAN_90", "Watermark Margin");
define("IMALAN_91", "The distance that watermark will appear from the edge of the image.");
define("IMALAN_92", "Watermark Color");
define("IMALAN_93", "Color of the watermark eg. 000000");
define("IMALAN_94", "Watermark Shadow-Color");
define("IMALAN_95", "Shadow Color of the watermark eg. ffffff");
define("IMALAN_96", "Watermark Opacity");
define("IMALAN_97", "Enter a number between 1 and 100");
define("IMALAN_98", "Default YouTube account");
define("IMALAN_99", "Used by the Media-Manager Youtube browser. Enter account name. eg. e107inc");
define("IMALAN_100", "Show Related Videos");
define("IMALAN_101", "Show Video Info");
define("IMALAN_102", "Show Closed-Captions by default");
define("IMALAN_103", "Use Modest Branding");
define("IMALAN_104", "Make the YouTube bbcode responsive");
define("IMALAN_105", "Resize images during media import");
define("IMALAN_106", "Leave empty to disable");
define("IMALAN_107", "Couldn't generated path from upload data");
define("IMALAN_108", "Couldn't move file from [x] to [y]");
define("IMALAN_109", "Couldn't get path");
define("IMALAN_110", "Path");
define("IMALAN_111", "Couldn't detect mime-type([x]). Upload failed.");
define("IMALAN_112", "Couldn't create folder ([x]).");
define("IMALAN_113", "Scanning for new media (images, videos, files) in folder:");
define("IMALAN_114", "No media Found! Please upload some files.");
define("IMALAN_115", "Title (internal use)");
define("IMALAN_116", "Caption (seen by public)");
//define("IMALAN_117", "Author"); // use LAN_AUTHOR
define("IMALAN_118", "Mime Type");
define("IMALAN_119", "File Size");
define("IMALAN_120", "Dimensions");
define("IMALAN_121", "Preview"); // use LAN_PREVIEW
define("IMALAN_122", "[x] couldn't be renamed. Check file perms.");
define("IMALAN_123", "Import into Category:");
define("IMALAN_124", "Import Selected Files");
define("IMALAN_125", "Delete Selected Files");
define("IMALAN_126", "Please check at least one file.");
define("IMALAN_127", "Couldn't get file info from:");
define("IMALAN_128", "Importing Media:");
define("IMALAN_129", "You are about to delete [x] records and <strong>ALL CORRESPONDING FILES</strong>! Please confirm to continue!");
define("IMALAN_130", "Previous page");
define("IMALAN_131", "Next page");
define("IMALAN_132", "Tags/Keywords");
define("IMALAN_133", "Bottom Right");
define("IMALAN_134", "Bottom Left");
define("IMALAN_135", "Top Right");
define("IMALAN_136", "Top Left");
define("IMALAN_137", "Center");
define("IMALAN_138", "Right");
define("IMALAN_139", "Left");
define("IMALAN_140", "Top");
define("IMALAN_141", "Bottom");
define("IMALAN_142", "Tile");
define("IMALAN_143", "Image");
define("IMALAN_144", "File");
define("IMALAN_145", "From your computer");
define("IMALAN_146", "No HTML5 support.");
define("IMALAN_147", "From a remote location");
define("IMALAN_148", "Image/File URL");
define("IMALAN_149", "Start Upload");
define("IMALAN_150", "Upload a File");
define("IMALAN_151", "Choose from Library");
define("IMALAN_152", "Appearance");
define("IMALAN_153", "Image in use");
define("IMALAN_154", "Not in use");
define("IMALAN_155", "Avatar Pre-selection Folder");
define("IMALAN_156", "Delete all unused images");
define("IMALAN_157", "Text flow");
define("IMALAN_158", "Margin-Left");
define("IMALAN_159", "Margin-Right");
define("IMALAN_160", "Margin-Top");
define("IMALAN_161", "Margin-Bottom");
define("IMALAN_162", "Displaying [x] - [y] of [z] images.");
define("IMALAN_163", "Video");
define("IMALAN_164", "Deleted Icons from Media-Manager");
define("IMALAN_165", "No images");
define("IMALAN_166", "Upload images or files");
define("IMALAN_167", "No file");
define("IMALAN_168", "Click on the avatar to change it");
define("IMALAN_169", "No Avatars Available");
define("IMALAN_170", "Choose this avatar");
define("IMALAN_171", "Admin-Only Notice: The folder");
define("IMALAN_172", "is empty. Upload some default avatars images to this folder for users to choose avatars from.");
define("IMALAN_173", "No media owner found.");
define("IMALAN_174", "Youtube search requires a (free) YouTube v3 api key.[br]This key is not required unless you wish to perform a keyword, playlist or channel search.[br]Entering a Youtube video URL directly into the box above will still work without having an api key.[br][x]");
define("IMALAN_175", "Search Youtube. Paste any YouTube URL here for a specific video/playlist/channel");
define("IMALAN_176", "There was a problem grabbing the file");
define("IMALAN_177", "Click here for more information and to enter your api key");
define("IMALAN_178", "Avatars Folder (user selectable)");
define("IMALAN_179", "Avatars Folder (private)");