History log of /dokuwiki/inc/template.php (Results 26 – 50 of 539)
Revision Date Author Comments
# d868eb89 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: function declaration braces/spaces


# c1482d1c 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: function argument spacing


# 24870174 29-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply rector fixes to the rest of inc


# a46a7ce3 10-Mar-2023 asivery <asivery@protonmail.com>

Fix: Do not garbage collect the JpegMeta object after reading a tag


# 740897dc 25-Feb-2023 asivery <asivery@protonmail.com>

Fix: 'E_WARNING: Undefined array key "_data"'


# 90eb1b7b 02-Feb-2023 Eduardo Mozart de Oliveira <2974895+eduardomozart@users.noreply.github.com>

Update template.php


# 2cd6cc0a 02-Jan-2022 Andreas Gohr <andi@splitbrain.org>

move resolvers into File namespace


# 30903c8d 05-Apr-2021 Andreas Gohr <andi@splitbrain.org>

Merge branch 'master' into refactorResolving

* master: (257 commits)
add unit test for namespace exclusion in ft_pageLookup()
exclude ns in pagelook ups
translation update
Obsolete attribute

Merge branch 'master' into refactorResolving

* master: (257 commits)
add unit test for namespace exclusion in ft_pageLookup()
exclude ns in pagelook ups
translation update
Obsolete attribute
translation update
translation update
translation update
translation update
translation update
Add missing `;` causing syntax error in js.php
Run tests on PHP 8.0 now
translation update
translation update
test: run test in separate process in case of error
test: fix two tests on PHP8
style: fix test code style
fix method handling for RPC_CALL_ADD
destroy the JPEGMeta object after use
upgrade simplepie to 1.5.6
dwpage: output meta data as JSON
...

show more ...


# 8c6be208 05-Apr-2021 Andreas Gohr <andi@splitbrain.org>

replace deprecated function calls

Replaces the use of resolve_pageid() and resolve_mediaid() with the
proper class invocations


# de1dc35b 27-Mar-2021 Nicolas Friedli <nicolas@theologique.ch>

Obsolete attribute

According the W3 HTML validator: Warning: The charset attribute on the script element is obsolete.


# 01c53a65 16-Feb-2021 Andreas Gohr <andi@splitbrain.org>

destroy the JPEGMeta object after use

On windows systems a file can not be deleted while processes still have
a handle on them. JPEGMeta seems not to close its file handle correctly.
Usually thats n

destroy the JPEGMeta object after use

On windows systems a file can not be deleted while processes still have
a handle on them. JPEGMeta seems not to close its file handle correctly.
Usually thats not a problem in short lived processes where everything is
garbage collected at the end, however within a test request the object
may live on a little longer causing problems.

show more ...


# 63f13cad 06-Feb-2021 Damien Regad <dregad@mantisbt.org>

Fixed typos


# 056bf31f 06-Feb-2021 Damien Regad <dregad@mantisbt.org>

Fix various errors in PHPUnit tests on PHP 8


# 1eadd9e8 04-Feb-2021 Andreas Gohr <andi@splitbrain.org>

fix global access on detail.php and avoid null loading

Another problem surfaced in the tests


# 5fb6eef7 27-Jan-2021 Damien Regad <dregad@mantisbt.org>

Fix Undefined array key warnings in template.php

Warning: Undefined array key "__background__" in .../inc/ on line 1275

Triggered for the following language strings: __text__, __background__,
__tex

Fix Undefined array key warnings in template.php

Warning: Undefined array key "__background__" in .../inc/ on line 1275

Triggered for the following language strings: __text__, __background__,
__text_alt__, __background_alt__, __text_neu__, __background_neu__,
__border__ and __highlight__.

show more ...


# 87f229e8 02-Sep-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

add dbg_deprecated() calls


# c6977b3a 26-Aug-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

change event naming scheme

FORM_*_OUTPUT scheme had been introduced since Apriil 2018, see #2286


# 848cb786 23-Jul-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

Ui\Subscribe class replaces tpl_subscribe()


# 6dc405e1 02-Jun-2020 Andreas Gohr <andi@splitbrain.org>

fix formatting errors in template.php

These were introduced in #2684


# c01a0284 31-May-2020 Andreas Gohr <andi@splitbrain.org>

Merge pull request #2684 from geekitude/tpl_getMediaFile_check

Improve tpl_getMediaFile()


# 98169a0f 12-Apr-2020 Andreas Gohr <andi@splitbrain.org>

properly encode signature code

This addresses the XSS vulnerability mentioned in #3044


# 59305168 02-Mar-2020 Phy <git@phy25.com>

Remove obsolete attributes at <script> tag

Nowadays it is not necessary to specify "type" or "charset" attribute at <script> tag:

1. "type" attribute defaults to "application/javascript", so there

Remove obsolete attributes at <script> tag

Nowadays it is not necessary to specify "type" or "charset" attribute at <script> tag:

1. "type" attribute defaults to "application/javascript", so there is no need to specify that. The recent value "text/javascript" is obsolete in favor of the default "application/javascript", as stated e.g. here: https://www.iana.org/assignments/media-types/media-types.xhtml#text

2. "charset" attribute of the <script> tag defaults to encoding be the same as the encoding of the script element's node document. As DokuWiki's default encoding is "utf-8", there is no need to specify this encoding in external resources. See: https://html.spec.whatwg.org/multipage/scripting.html#the-script-element

Manual merging, closes #2921.

Co-Authored-By: petrkajzar <58340153+petrkajzar@users.noreply.github.com>

show more ...


# 2f19acc2 28-Feb-2020 bleistivt <bleistivt@users.noreply.github.com>

Show pencil symbol on preview


# fc6b11d2 26-Jan-2020 Michael Große <mic.grosse@googlemail.com>

Add feature flag for deferred javascript

This adds a feature flag for the jQuery and main-js requests added in
#2786 and #2958. This adds only a single feature flag since deferring
jQuery without d

Add feature flag for deferred javascript

This adds a feature flag for the jQuery and main-js requests added in
#2786 and #2958. This adds only a single feature flag since deferring
jQuery without deferring the main javascript request is likely to cause
errors and confusion.

The feature flag defaults to "on" as this should be unproblematic except
for a few plugins. Also, with this flag being on by default, it should
see more usage and is more likely to uncover existing issues.

This feature flag should be removed once this feature is deemed safe.

show more ...


# 16ad9412 11-Jan-2020 Rainbow Spike <Dr-Yukon@users.noreply.github.com>

CDN antibrake

GooglePage Speed Insights rank up 5-10 points
Otherwise, the browser render is waiting for loading and compiling big CDN script libraries


12345678910>>...22