Skip to content

Commit

Permalink
Merge pull request #5147 from Alex-e107nl/master
Browse files Browse the repository at this point in the history
Minor cosmetic change
  • Loading branch information
CaMer0n authored Jul 26, 2024
2 parents 1298c48 + b0d9541 commit 0083a44
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 0 additions & 5 deletions e107_admin/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,7 @@ function loadJSAddons()
e107::js('footer', '{e_WEB}js/core/admin.jquery.js', 'jquery', 5); // Load all default functions.
e107::js('footer', '{e_WEB}js/core/all.jquery.js', 'jquery', 5); // Load all default functions.

$plUpload = 'plupload/i18n/' . e_LAN . '.js';

if(e_LAN != 'en' && file_exists(e_WEB_JS . $plUpload))
{
e107::js('footer', e_WEB_JS . $plUpload, 'jquery', 5);
}
}


Expand Down
6 changes: 6 additions & 0 deletions e107_admin/image.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@
e107::js('core', 'plupload/plupload.full.min.js', 'jquery', 2);
e107::css('core', 'plupload/jquery.plupload.queue/css/jquery.plupload.queue.css', 'jquery');
e107::js('core', 'plupload/jquery.plupload.queue/jquery.plupload.queue.min.js', 'jquery', 2);
$plUpload = 'plupload/i18n/' . e_LAN . '.js';

if(e_LAN != 'en' && file_exists(e_WEB_JS . $plUpload))
{
e107::js('footer', e_WEB_JS . $plUpload, 'jquery', 5);
}
e107::js('core', 'core/mediaManager.js', 'jquery',5);
// issue #3051 Preview url is wrong when target page is a plugin
// Using this variable to check for the plugins directory and replace with empty space in case of...
Expand Down
2 changes: 1 addition & 1 deletion e107_plugins/chatbox_menu/chatbox_menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
if(!empty($pref['cb_emote']) && !empty($pref['smiley_activate']))
{
$texta .= "
<input class='btn btn-default btn-secondary button' type='button' style='cursor:pointer' size='30' value='" . CHATBOX_L14 . "' onclick=\"expandit('emote')\" />
<input class='btn btn-sm btn-default btn-secondary button' type='button' style='cursor:pointer' size='30' value='" . CHATBOX_L14 . "' onclick=\"expandit('emote')\" />
<div class='well' style='display:none' id='emote'>" . r_emote() . "</div>\n";
}

Expand Down

0 comments on commit 0083a44

Please sign in to comment.