Commit graph

30 commits

Author SHA1 Message Date
Eike Rathke 3b3dc99159
linktrimmer 1.6.6: Avoid error in javascript generation (#151)
is_countable() would demand PHP >= 7.3.0 as of which it is available.
See https://www.php.net/manual/en/function.is-countable.php
Use a polyfill for PHP < 7.3.0

Loading serendipity_admin.php with $serendipity['production'] = false
yielded a red alert box:

The Serendipity JavaScript-library could not be loaded. This can happen
due to PHP or Plugin errors, or even a malformed browser cache. To check
the exact error please open
https://.../index.php?/plugin/admin/serendipity_editor.js manually in
your browser and check for error messages.

Where at the end of that file could be found:

== ERROR-REPORT (BETA/ALPHA-BUILDS) ==
<p><b>Warning:</b> count(): Parameter must be an array or an object that
implements Countable in
plugins/serendipity_event_linktrimmer/serendipity_event_linktrimmer.php
on line 323.</p>
2023-01-01 02:09:01 +01:00
surrim 6c664e415c updated plugin versions 2021-07-12 15:44:23 +02:00
surrim 22d4608f9f using serendipity_plugin_api::load_language() for some more plugins 2021-07-12 15:44:23 +02:00
Thomas Hochstein 9eb4302072 Add German translations to plugins (3rd pass).
Added German translation to the following plugins:

* event_backup
* event_cpgselector
* event_disqus
* event_facebook
* event_httpauth
* event_linktrimmer
* event_markread
* event_tinypng
* event_wrapurl
* plugin_quicklink

Signed-off-by: Thomas Hochstein <thh@inter.net>
2019-08-17 21:24:43 +02:00
Matthias Mees c3e8443d73 Improve accessibility of iconfont icons
Iconfont icons are of no value to screenreader users; in our case,
they get alternative text. By adding 'aria-hidden="true"' to the
<span> holding the iconfont icon, we avoid the screenreader trying
to announce the iconfont icon.

This commit is to ensure consistency with the core across the
additional_plugins repository. While I was at it, I also cleaned
up the ChangeLogs, trying to establish a common pattern.
2016-10-26 15:07:46 +02:00
Garvin Hicking 8bfdd891b2 upstream patch by ian 2016-09-23 11:21:00 +02:00
Matthias Mees ee759496b9 Increment version numbers
Now that 2.0.1 is released, adminnotes and linktrimmer can be
pushed out as well. Both require 2.0.1 to work properly.

References s9y/Serendipity#298
2015-03-12 21:24:25 +01:00
Matthias Mees bbfcb2042c Revert version numbers so Spartacus does not push changes
References s9y/Serendipity#297
2015-02-08 18:32:18 +01:00
Matthias Mees 81f20690af Adapt plugins for new dashboard widget style
- Add new class .dashboard_widget to apply necessary styles
- Remove obsolete plugin JS to cycle odd/even classes

Note: I have no idea why the diff for linktrimmer is huge. Might
      have been encoded utf-8 before? Now it's iso-8859-1.

References s9y/Serendipity#297
2015-02-08 16:17:58 +01:00
Ian d1c02424e5 the other half of da04025 2014-11-29 15:51:17 +01:00
Ian da04025a7b remove utf-8 location of documentary files
which never becomes true
2014-11-29 13:53:49 +01:00
Ian badcfa914f linktrimmer Smarty2 fix 2014-06-20 09:53:48 +02:00
onli 821c9dbccb minor: linktrimmer debug output removed 2014-06-15 18:25:57 +02:00
onli ea21eb1ee4 linktrimmer: Fix redirect to frontpage (#182) 2014-06-15 18:21:31 +02:00
Ian f8c039b2e7 linktrimmer remove frames serendipity.js
because of ReferenceError: jQuery is not defined with
jQuery(function() {
    jQuery('input[type="url"]').change(function() {
        if (this.value != '' && ! (this.value.substr(0,7) == 'http://' || this.value.substr(0,8) == 'https://')) {
            this.value = 'http://' + this.value;
        }
    });
})

This is specific to netzgestaltung. I dont have that issue.
2014-06-12 19:55:22 +02:00
Ian 41049274ab fix for enablePopup mode 2014-06-10 10:24:10 +02:00
Ian d4e739dfaa adapt linktrimmer for 2.0 2014-06-08 20:44:50 +02:00
Vladimír Ajgl 7842af973e czech translations - removed leading slash from first line (introduced erroneously in previous commit) 2013-12-28 21:43:44 +01:00
Vladimír Ajgl c5248f893e czech translations - cvs/snv tags removed 2013-12-27 20:04:36 +01:00
Vladimír Ajgl 2f257dd84f line endings in czech files changed to unix style 2013-12-27 17:58:04 +01:00
Garvin Hicking 71589a887f Remove $Id$ for CVS compoatibility. Thought I already did this some time ago?!?! 2013-08-12 09:49:28 +02:00
Vladimir Ajgl e09688821a new and updated czech translations and documentation 2013-06-22 12:13:06 +02:00
Ian ce803ca0ae linktrimmer - frontpage option and nativ API use 2013-06-14 10:54:04 +02:00
Ian bc0cc85172 whitespace cleanup 2013-05-11 15:58:52 +02:00
Garvin Hicking bf20e0dabc static fix circumventing php error, thanks to Ian 2013-05-11 15:20:23 +02:00
Garvin Hicking 98378026a6 static php5 fix 2013-05-10 10:52:05 +02:00
Ian 1657abdb2b linktrimmer - do not show in Dashboard (POC) 2013-05-09 13:11:58 +02:00
Ian 9ce7e7398d plugin CKEDITOR readiness 2013-05-06 12:47:20 +02:00
Garvin Hicking e4db993a16 $id$ remove 2011-12-25 19:42:26 +01:00
Garvin Hicking 516df79a4e Migrate plugins 2011-12-13 12:29:05 +01:00