Search found 12025 matches

by cmb
Wed Dec 13, 2017 6:14 pm
Forum: Open Development
Topic: Warning: A non-numeric value encountered in...
Replies: 14
Views: 90

Re: Warning: A non-numeric value encountered in...

I was googling after some localisation but haven't found nothing. Well, there is strftime() , but this relies on the locale setting, which is not really reliable on multi-threaded web servers. Furthermore, there is IntlDateFormatter , but the Intl extension is often unavailable. The EN day names ma...
by cmb
Wed Dec 13, 2017 4:55 pm
Forum: Open Development
Topic: Warning: A non-numeric value encountered in...
Replies: 14
Views: 90

Re: Warning: A non-numeric value encountered in...

I'll wait. But anyway, there is still the issue with 2lang. There is shown nothing even on localhost. Hm, the "daily" pages need to have English names as well, since date('l', …) returns always English day names. Added <?php if (function_exists('opcache_invalidate')) opcache_invalidate(__...
by cmb
Wed Dec 13, 2017 3:50 pm
Forum: Open Development
Topic: Warning: A non-numeric value encountered in...
Replies: 14
Views: 90

Re: Warning: A non-numeric value encountered in...

Tata wrote:Now, changing these two lines it works, but only on localhost and only in main language.

Ah, yes, it has to be data('l', …) in this case.

Tata wrote:On the server there is still the "4" only both in main and 2lang.

I'm pretty sure that is a caching issue.
by cmb
Wed Dec 13, 2017 2:39 pm
Forum: Open Development
Topic: Warning: A non-numeric value encountered in...
Replies: 14
Views: 90

Re: Warning: A non-numeric value encountered in...

In the next plugin (week_plan_xh), which is basically the w_plan_pro extended clone remains the problem described in the code ...    $next_day = date('Y-m-d', strtotime(' + 1 day')); This way $next_day contains something like "2017-12-13", but not the number of the weekday. Use the follow...
by cmb
Wed Dec 13, 2017 2:08 pm
Forum: Addons and Plugins
Topic: OGra_XH
Replies: 2
Views: 81

Re: OGra_XH

The PlugIn creates the OG tags for Facebook, XING and LinkedIn according to the Open Graph Protocol. Great! Some notes: ⋅ I'm not sure whether $sl is sufficient for og:locale. The spec claims it should be language_TERRITORY. It occurs to me that CMSimple_XH should provide a language setti...
by cmb
Wed Dec 13, 2017 1:38 pm
Forum: General Discussions & Announcements
Topic: More links in "Important links"
Replies: 15
Views: 356

Re: More links in "Important links"

Sind sie nicht. Das GIF hat keine halb transparenten Pixel. Da hast du natürlich recht. Da muss aber aufgepasst werden. Verrutscht es auch nur um 1px, dann stimmt der Verlauf nicht mehr. Na ja, dann vielleicht doch lieber als PNG. Die kleine Anpassung im Code sollte kein großes Problem sein. Holger...
by cmb
Wed Dec 13, 2017 1:06 pm
Forum: General Discussions & Announcements
Topic: More links in "Important links"
Replies: 15
Views: 356

Re: More links in "Important links"

frase wrote:GIF - Das sähe etwas treppenstufig aus.

Wieso? Das Original-PNG hatte 121 Farbindizes; das umgewandelte GIF auch. Beide Bilder sollten identisch sein (nur das PNG halt etwas kleiner).
by cmb
Wed Dec 13, 2017 12:53 pm
Forum: Open Development
Topic: Warning: A non-numeric value encountered in...
Replies: 14
Views: 90

Re: Warning: A non-numeric value encountered in... SOLVED

Other thing is the difference in weekdays. I don't know how to support the right days order while changing the language. Both in en.php and sk.php (de.php) the days are defined (in respective language) as $plugin_tx['week_plan_xh']['day_names'] = "Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Sat...
by cmb
Wed Dec 13, 2017 12:18 pm
Forum: General Discussions & Announcements
Topic: More links in "Important links"
Replies: 15
Views: 356

Re: More links in "Important links"

Von wem das "XH" ursprünglich stammt, weiß ich nicht. Mein Vorschlag: frei verwendbar - bitte ohne Namensnennung. Das ursprüngliche "XH" Logo ist von svasti. Ich bin ziemlich sicher, dass er der freien Verwendbarkeit zustimmen würde. Es muss doch etwas geändert werden - das Bild...
by cmb
Tue Dec 12, 2017 11:01 pm
Forum: Deutsch
Topic: Portable_XH
Replies: 113
Views: 11095

Re: Portable_XH

lck wrote:Kurz angetestet, da gibt's meinerseits nichts zu beanstanden :)

Danke! :)

Go to advanced search