fixed translation in javascript files
This commit is contained in:
parent
21f76faba3
commit
19cc09847d
|
@ -205,11 +205,11 @@ class HTML {
|
||||||
|
|
||||||
public static function bluditCoverImage($coverImage="")
|
public static function bluditCoverImage($coverImage="")
|
||||||
{
|
{
|
||||||
|
global $L;
|
||||||
|
|
||||||
// Javascript code
|
// Javascript code
|
||||||
include(PATH_JS.'bludit-cover-image.js');
|
include(PATH_JS.'bludit-cover-image.js');
|
||||||
|
|
||||||
global $L;
|
|
||||||
|
|
||||||
$style = '';
|
$style = '';
|
||||||
if(!empty($coverImage)) {
|
if(!empty($coverImage)) {
|
||||||
$style = 'background-image: url('.HTML_PATH_UPLOADS_THUMBNAILS.$coverImage.')';
|
$style = 'background-image: url('.HTML_PATH_UPLOADS_THUMBNAILS.$coverImage.')';
|
||||||
|
@ -263,11 +263,11 @@ class HTML {
|
||||||
|
|
||||||
public static function bluditImagesV8()
|
public static function bluditImagesV8()
|
||||||
{
|
{
|
||||||
|
global $L;
|
||||||
|
|
||||||
// Javascript code
|
// Javascript code
|
||||||
include(PATH_JS.'bludit-images-v8.js');
|
include(PATH_JS.'bludit-images-v8.js');
|
||||||
|
|
||||||
global $L;
|
|
||||||
|
|
||||||
$html = '<!-- BLUDIT IMAGES V8 -->';
|
$html = '<!-- BLUDIT IMAGES V8 -->';
|
||||||
$html .= '
|
$html .= '
|
||||||
<div id="bludit-images-v8" class="uk-modal">
|
<div id="bludit-images-v8" class="uk-modal">
|
||||||
|
|
|
@ -85,7 +85,7 @@ $(document).ready(function() {
|
||||||
},
|
},
|
||||||
|
|
||||||
notallowed: function(file, settings) {
|
notallowed: function(file, settings) {
|
||||||
alert("'.$L->g('Supported image file types').' "+settings.allow);
|
alert("<?php echo $L->g('error').'. '.$L->g('Supported image file types')?>: "+settings.allow);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -58,7 +58,7 @@ $(document).ready(function() {
|
||||||
},
|
},
|
||||||
|
|
||||||
notallowed: function(file, settings) {
|
notallowed: function(file, settings) {
|
||||||
alert("'.$L->g('Supported image file types').' "+settings.allow);
|
alert("<?php echo $L->g('error').'. '.$L->g('Supported image file types')?>: "+settings.allow);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue