[dokuwiki] Re: hsc() & ptln()
- From: Bob Baddeley <bob@xxxxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Fri, 31 Mar 2006 08:46:56 -0800
hear hear. I've had this problem, too, and would love to see it moved.
Chris Smith wrote:
Hi,
Any objections to moving these two functions out of template.php and
into common.php (or pageutils.php or parserutils.php). In moving
hsc() also adding ENT_QUOTES and 'UTF-8' as parameters.
I find I have used these two functions often in my plugins, however
when the page is being generated in response to a feed request neither
function is defined.
Cheers,
Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] Preserving Image Aspect Ratios
- From: Andrew Carson
- [dokuwiki] Re: Preserving Image Aspect Ratios
- From: Anika Henke
- [dokuwiki] Re: Preserving Image Aspect Ratios
- From: Roman Zimmermann
- [dokuwiki] Re: Preserving Image Aspect Ratios
- From: Anika Henke
- [dokuwiki] Cache Expiry Standardisation
- From: Chris Smith
- [dokuwiki] Re: Cache Expiry Standardisation
- From: Chris Smith
- [dokuwiki] hsc() & ptln()
- From: Chris Smith
Other related posts:
- » [dokuwiki] hsc() & ptln()
- » [dokuwiki] Re: hsc() & ptln()
- » [dokuwiki] Re: hsc() & ptln()
- » [dokuwiki] Re: hsc() & ptln()
- » [dokuwiki] Re: hsc() & ptln()
Hi,
Any objections to moving these two functions out of template.php and into common.php (or pageutils.php or parserutils.php). In moving hsc() also adding ENT_QUOTES and 'UTF-8' as parameters.
I find I have used these two functions often in my plugins, however when the page is being generated in response to a feed request neither function is defined.
Cheers,
Chris
-- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist
- [dokuwiki] Preserving Image Aspect Ratios
- From: Andrew Carson
- [dokuwiki] Re: Preserving Image Aspect Ratios
- From: Anika Henke
- [dokuwiki] Re: Preserving Image Aspect Ratios
- From: Roman Zimmermann
- [dokuwiki] Re: Preserving Image Aspect Ratios
- From: Anika Henke
- [dokuwiki] Cache Expiry Standardisation
- From: Chris Smith
- [dokuwiki] Re: Cache Expiry Standardisation
- From: Chris Smith
- [dokuwiki] hsc() & ptln()
- From: Chris Smith