History log of /dokuwiki/inc/template.php (Results 51 – 75 of 539)
Revision Date Author Comments
# cef1629d 01-Jun-2019 Rainbow Spike <Dr-Yukon@users.noreply.github.com>

Update template.php


# 68491db9 01-Dec-2019 Phy <git@phy25.com>

PHP8 fix part 5: Trying to access array offset on value of type bool/null


# aac83cd4 01-Dec-2019 Phy <git@phy25.com>

PHP8 fix part 4: Trying to access array offset on value of type bool/null


# c238d757 22-Oct-2019 Simon DELAGE <sdelage@gmail.com>

Update template.php

Kind of applied given suggestion but switched $fallback to boolean to reduce possible values.


# 08a13262 10-Oct-2019 Simon DELAGE <sdelage@gmail.com>

Update template.php

Here is a solution attempt, sorry for the long delay.
According to my tests, absolute path isn't required


# ca5b6a64 29-Jan-2019 Simon DELAGE <sdelage@gmail.com>

Improve tpl_getMediaFile()

Previously, if no candidate is found, the result would still always be last candidate url even if it doesn't exist (and function would trigger a Warning for trying to geti

Improve tpl_getMediaFile()

Previously, if no candidate is found, the result would still always be last candidate url even if it doesn't exist (and function would trigger a Warning for trying to getimagesize() on a file that doesn't exist)

show more ...


# c0c77cd2 10-Oct-2019 Andreas Gohr <gohr@cosmocode.de>

Merge branch 'master' into psr2

changes from commit b15f23f6735eabb6dc7e4a996e4ae164139ab7f5 may have
been lost, because the code changed to much.

changes from commit df81ca99eeaf4753d6f09cbddbb529

Merge branch 'master' into psr2

changes from commit b15f23f6735eabb6dc7e4a996e4ae164139ab7f5 may have
been lost, because the code changed to much.

changes from commit df81ca99eeaf4753d6f09cbddbb529afe7ef71c7 need to be
verified. we might need to do some more adjustments.

* master: (49 commits)
translation update
translation update
translation update
translation update
translation update
translation update
translation update
Update config.class.php
translation update
translation update
Update lang.php
Add ugc hint to nofollow
add UGC hint
translation update
translation update
use a script to fetch the correct phpunit
Revert "output travis php version for easier debugging"
setup databases for unit tests in travis
output travis php version for easier debugging
translation update
...

show more ...


# cbb44eab 15-Jun-2018 Andreas Gohr <andi@splitbrain.org>

deprecated trigger_event() in favor of a static method on Event


# e1d9dcc8 15-Jun-2018 Andreas Gohr <andi@splitbrain.org>

First go at moving the plugin classes into their own namespace


# c2009796 09-Apr-2019 Zemoj <jeffgomez@zemoj.com>

Only ob_flush if there is actually a buffer.

If there is no buffer, application dies with no way to recover.


# e9f4a0f6 06-Mar-2019 Andreas Gohr <andi@splitbrain.org>

Merge branch 'master' into psr2

* master:
translation update
translation update
Use config cascade for style.ini files
translation update
translation update
use utf8_strtolower instead o

Merge branch 'master' into psr2

* master:
translation update
translation update
Use config cascade for style.ini files
translation update
translation update
use utf8_strtolower instead of strtolower
add test for utf8 capital letters in search #2613
compare cleaned pageid case-insensitive in search, fixes #2613
add tests for #2613
Defective transplantation of export from .htaccess

show more ...


# 4593dbd2 28-Feb-2019 Anna Dabrowska <dabrowska@cosmocode.de>

Use config cascade for style.ini files

This simplifies style loading and allows the plugins like farmer to
extend the the loading of style files. Also adds some first unit tests.

Originally discuss

Use config cascade for style.ini files

This simplifies style loading and allows the plugins like farmer to
extend the the loading of style files. Also adds some first unit tests.

Originally discussed in FS#2703 and #134

Squashed commit of the following:

commit 5ed550f6ba61a1d475b7572cbff18f0d790c78c2
Merge: 0cefed65e cab1833b0
Author: Andreas Gohr <gohr@cosmocode.de>
Date: Thu Feb 28 13:38:46 2019 +0100

Merge branch 'styleConfCascade' of https://github.com/annda/dokuwiki into annda-styleConfCascade

* 'styleConfCascade' of https://github.com/annda/dokuwiki:
Clean up StyleUtils
Update StyleUtils test
Fix array to boolean conversion
Use better placeholder string in config cascade
Calls to StyleUtils use the new constructor
Add test for StyleUtils
Refactor StyleUtils
WIP add temporary test comparing two implementations of StyleUtils
WIP add new style config cascade side by side with the old one

commit cab1833b09a59331a5580fe0e3e6f36d743dea09
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 17:54:27 2019 +0100

Clean up StyleUtils

commit 766e3907cf7b234c3f2fa7bf86f205c1c8c7c6e1
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 17:51:15 2019 +0100

Update StyleUtils test

commit f5c08787ddf9db60e3429421e5c627d5c81d876a
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 12:51:53 2019 +0100

Fix array to boolean conversion

commit c9671698992328d5671a43b2707ffc6c5b117423
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 12:38:55 2019 +0100

Use better placeholder string in config cascade

commit 4845eff54d227325476bb00b7c8402ce58cf72df
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 12:24:16 2019 +0100

Calls to StyleUtils use the new constructor

commit 7a6337a8f8f2cc0cedbf54ae0b43e94033192cb8
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 12:22:44 2019 +0100

Add test for StyleUtils

commit 5ae9e8f69e076ab2a18b24aa178cca15fea6b000
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Thu Feb 21 12:16:57 2019 +0100

Refactor StyleUtils

commit a2adcc9f37be93f4bcf90fdba4089ea4b0d6436e
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Sat Feb 16 23:58:04 2019 +0100

WIP add temporary test comparing two implementations of StyleUtils

commit 845c40c4faf379a65134e171514a09d47ffe95f1
Author: Anna Dabrowska <dabrowska@cosmocode.de>
Date: Sat Feb 16 23:59:41 2019 +0100

WIP add new style config cascade side by side with the old one

show more ...


# d9d27cdb 17-May-2018 Andreas Gohr <gohr@cosmocode.de>

Merge branch 'master' into psr2

* master:
fix appveyor, download from https always
Issue #1250, associated unit test
translation update
translation update
fix(TASK_RECENTCHANGES_TRIM event

Merge branch 'master' into psr2

* master:
fix appveyor, download from https always
Issue #1250, associated unit test
translation update
translation update
fix(TASK_RECENTCHANGES_TRIM event): Add isMedia flag
rename task event
add missing visibility indicator and docblocks
translation update
refactor: Rename lib/exe/indexer.php to taskrunner.php ��
refactor: Move the remainder of code from lib/exe/indexer.php to TaskRunner::run ��
Fix for Issue#1250 Footnotes break metadata abstract saving
feat: Trigger new event when changelog is trimmed ✨
style(TaskRunner): automatic whitespace fixes ��
refactor: Extract code from lib/exe/indexer into new TaskRunner class ��
translation update

show more ...


# 4af80fe8 16-May-2018 Michael Große <grosse@cosmocode.de>

refactor: Rename lib/exe/indexer.php to taskrunner.php ��


# 64159a61 27-Apr-2018 Andreas Gohr <andi@splitbrain.org>

line lengths shortened

This makes sure all files use line lenghts shorter than 120 characters.

This is a quick fix. It might not always be the nicest change.


# b4f2363a 27-Apr-2018 Andreas Gohr <andi@splitbrain.org>

remove DOKU_INC checks

There is no need for this check, since these files should not have any
main code that is executed on direct call.

Fixes PSR1.Files.SideEffects.FoundWithSymbols


# a8c33ded 23-Apr-2018 Michael Große <grosse@cosmocode.de>

fix: print 'you are here' again for startpages

This bug was introduced in #2251
c4a386f17daa381f6a50b7c30e73b316bd321e04

Fixes #2325


# d9e82b09 05-Apr-2018 Andreas Gohr <andi@splitbrain.org>

Merge pull request #2190 from splitbrain/betterJSINFO

feat: canonically provide $ACT to javascript


# 0c39d46c 05-Apr-2018 Michael Große <grosse@cosmocode.de>

refactor: rename and move function to set $JSINFO

This is a more consistent place relative to pageinfo()


# 5c0b2e60 05-Apr-2018 Michael Große <mic.grosse@googlemail.com>

Merge pull request #2286 from splitbrain/betterCoreSearch

Better core search


# 430a27b9 05-Apr-2018 Michael Große <mic.grosse@googlemail.com>

Merge pull request #2241 from splitbrain/manifest

PWA manifest and new @ini_theme_color replacement


# 7bf31909 29-Mar-2018 Michael Große <grosse@cosmocode.de>

fix: add missing global $ACT for $JSINFO


# 1d739e3d 29-Mar-2018 Michael Große <grosse@cosmocode.de>

refactor: use native json_encode for $JSINFO

json_encode is available natively since PHP 5.2


# b3054f02 29-Mar-2018 Michael Große <grosse@cosmocode.de>

refactor: rename JSINFO.DOKU_UHN and JSINFO.DOKU_UHC

This should make their purpose more obvious.


# 10cf78c4 29-Mar-2018 Michael Große <grosse@cosmocode.de>

refactor: extract $JSINFO initialization into tpl_ function


12345678910>>...22