From a5cab9775714e49f8a497500d7f13f3da417923c Mon Sep 17 00:00:00 2001 From: Christophe HENRY Date: Sun, 8 Dec 2013 16:22:40 +0100 Subject: [PATCH] Removes some unwanted spaces The english text needs no space before ":" and "?". I also removed a space behind "Disabled". --- adblock.plugin.disabled.php | 26 +++++++++++++------------- js/adblock_plugin_js.js | 4 ++-- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/adblock.plugin.disabled.php b/adblock.plugin.disabled.php index 50e5afe..b342ba3 100755 --- a/adblock.plugin.disabled.php +++ b/adblock.plugin.disabled.php @@ -182,52 +182,52 @@ function adblock_plugin_setting_bloc(&$myUser) {

Plugin Adblock

-

Note :
+

Note:
You must enter a list of id of feeds in the blacklist / whitelist fields. This list must be one id per line. You can find the id of the feed you want in the address bar on the page of the feed in Leed (http://LEED_URL/index.php?action=selectedFeed&feed=ID).

-

Flash embedded contents :

+

Flash embedded contents:

- Enable / Disable blocking of flash contents in events :
+ Enable / Disable blocking of flash contents in events:

- +

-

Default behavior :
+

Default behavior:

-

'.(($flash_block) ? 'Whitelist :' : 'Blacklist :').'
+

'.(($flash_block) ? 'Whitelist:' : 'Blacklist:').'

-

Images :

+

Images:

- Enable / Disable blocking of images in events :
+ Enable / Disable blocking of images in events:

- +

-

Default behavior :
+

Default behavior:

-

Block images only on mobile devices ?
+

Block images only on mobile devices?

-

'.(($img_block) ? 'Whitelist :' : 'Blacklist :').'
+

'.(($img_block) ? 'Whitelist:' : 'Blacklist:').'

- Elegant degradation (replace content with same-size content) ?
+ Elegant degradation (replace content with same-size content)?
'.((!$getimagesize_available) ? ' (Not available because the getimagesize seems to not be available on your system or allow_url_fopen is set to Off in php.ini)' : '').'

diff --git a/js/adblock_plugin_js.js b/js/adblock_plugin_js.js index 35b9587..0337658 100644 --- a/js/adblock_plugin_js.js +++ b/js/adblock_plugin_js.js @@ -1,8 +1,8 @@ function adblock_whitelist_blacklist(id, whitelist_blacklist) { if(whitelist_blacklist == 0) - document.getElementById(id).innerHTML = "Blacklist :"; + document.getElementById(id).innerHTML = "Blacklist:"; else - document.getElementById(id).innerHTML = "Whitelist :"; + document.getElementById(id).innerHTML = "Whitelist:"; } function adblock_unblock_img(span, url) {