]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/commit
Move global function CSS_URL() to static member function
authordairiki <dairiki@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Fri, 11 Jan 2002 19:43:15 +0000 (19:43 +0000)
committerdairiki <dairiki@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Fri, 11 Jan 2002 19:43:15 +0000 (19:43 +0000)
commitfa6bfda742291e7a836ad5982a9ed5ed3cfc1b09
tree9d2e423be321704d9615eabf2a1ffe26b9082c39
parent36dae26544a52a949d8d6547fb06c0c3abffe431
Move global function CSS_URL() to static member function
of class Template (which is the only place it's ever
likely to be used.)

Also, minor fixes of code in that function:

 o Default CSS should be listed first (Galeon, at least seems to use
   order to determine which is the default.

 o Element attributes passed to Element() and QElement() shouldn't be
   htmlspecialchar()ed.  (Element() takes care of that.)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@1172 96ab9672-09ca-45d6-a79d-3d69d39ca109
lib/Template.php
lib/stdlib.php