Commit graph

28 commits

Author SHA1 Message Date
d3717045f7 [various] Replace remaining $a->page by DI::page() 2019-12-30 15:53:43 -05:00
905823ea63 Update obsolete App::getBaseUrl calls to DI::baseUrl 2019-12-29 21:55:10 -05:00
c27b1cb66f Replace deprecated Addon::*registerHook by Hook::*register 2018-12-26 10:20:18 -05:00
d836593a3b Replace x() by !empty() or defaults()
- Remove extraneous parentheses around !empty()
2018-11-30 09:11:56 -05:00
Adam Magness
1ac32c622e Functions moved to Strings class
implement functions from Strings class
2018-11-09 07:09:15 -05:00
1454abfdb4
rename App Methods
- rename get_baseurl() to getBaseURL()
2018-10-10 00:04:49 +02:00
7a29893ecb some more notices and some code beautification 2018-08-08 06:24:47 +00:00
Michael Vogel
475299e642 Avoid warnings in addons (#639)
* Avoid warnings in addons

* And some warnings removed

* And more ...

* And some more ...

* Added comment

* And again ...

* And again ...

* Partly reworked "newmemberwidget"

* And more warnings ...

* The next round
2018-07-10 08:30:23 -04:00
Hypolite Petovan
02eb1b74f7 [showmore] Prevent use with content filters 2018-04-01 02:39:29 -04:00
Adam Magness
b191d5716c Remove sprintf with translations
don't use sprintf with translation functions
2018-01-23 22:59:20 -05:00
Adam Magness
f8c162cbfb Update t() calls
Update all t() calls.
2018-01-22 18:09:05 -05:00
Adam Magness
c71f7b0e1a Update function names
update function names and hook calls
2018-01-20 08:57:41 -05:00
Adam Magness
0afd633346 Addon class
plugin moved to Addon src class
2018-01-19 07:20:17 -05:00
Hypolite Petovan
27b60e003f Use short form array syntax everywhere 2018-01-15 08:15:33 -05:00
f8d9efe8c7 some files were executable, now they are not 2017-12-07 14:26:26 +01:00
Adam Magness
48dcbc6f3f Issue 3873
Replace deprecated functions with new syntax
2017-11-06 18:55:24 -05:00
rabuzarus
16315e876f showmore: add css classes to elements 2016-04-14 01:28:04 +02:00
0b459e8379 Merge pull request #166 from annando/master
inflate/deflate settings
2013-12-01 02:25:26 -08:00
Michael Vogel
468868ae07 showmore: inflate/deflate settings 2013-11-30 21:23:32 +01:00
5c5c23acb0 wording submit -> save settings 2013-11-19 14:10:27 +01:00
Domovoy
7639f91179 Oooops, put back the warnings ignore for DomDocument 2012-07-27 10:12:12 +02:00
Domovoy
27a924f286 return 0 from get_body_length before loading the body to DomDocument if body is empty 2012-07-27 10:08:30 +02:00
Domovoy
47a5a5c03a Supree the warning of DomDocument::loadHTML 2012-07-23 21:22:20 +02:00
Domovoy
7f34be5a9a The $node parameter of DomDocument::saveHTML was added only in php version 5.3.6.
No problem, strip_tags gets out anything we don't want anyway.
2012-07-23 20:46:09 +02:00
Domovoy
7b786e0214 showmore now only count what is visible to know if it should act, fixes #1 2012-07-23 20:07:15 +02:00
Michael Vogel
3689c821b6 Showmore: A little html bug was fixed (missing </div>) 2012-04-06 23:36:41 +02:00
Michael Vogel
619c758263 Show more: Changed "Show More" to "show more" 2012-03-17 11:09:21 +01:00
ike
516c678827 First commit: Addon for shortening long content and "show more" link. 2012-02-19 19:48:09 +01:00