From bdb6344bc56252553678c38bb550ab6fea64812c Mon Sep 17 00:00:00 2001
From: Urban Müller
Date: Thu, 26 Nov 2009 20:23:58 +0000
Subject: use same case for static and global func
---
it_html.class | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'it_html.class')
diff --git a/it_html.class b/it_html.class
index 5935730..f87f740 100644
--- a/it_html.class
+++ b/it_html.class
@@ -52,7 +52,7 @@ function it_html($p = array())
'show_boot_dom' => false, # If true, append invisible
at the end of body
'show_content_type' => true, # If true, add header
'show_favicon' => true, # If true, add tag to /favicon.ico if it exists
- 'staticallycallable' => 'q,u,select', # Those methods are statically callable (have same arguments as global stubs) but are a bit slower
+ 'staticallycallable' => 'Q,U,select', # Those methods are statically callable (have same arguments as global stubs) but are a bit slower
'tags' => 'a,b,br,button,div,em,fieldset,form,h1,h2,h3,h4,h5,h6,hr,input,label,legend,li,meta,noscript,p,span,style,table,td,textarea,th,tr,ul',
'title' => '', # HTML title (default: no title added)
'use_it_state' => false, # If true, generate code needed by state.js (aka 'history iframe')
@@ -421,7 +421,7 @@ function sanitize($html)
* @param $string String to encode with htmlspecialchars()
* @return htmlspecialchars($string)
*/
-function q($string)
+function Q($string)
{
if ($GLOBALS['it_html']->p['charset'] == "iso-8859-1")
$string = preg_replace('/[\x00-\x08\x0b-\x0c\x0e-\x1f\x80-\x9f]/', ' ', strtr($string, array("\x80" => "EUR", "\x82" => "'", "\x84" => "\"", "\x85" => "...", "\x8a" => "S", "\x8c" => "OE", "\x8e" => "Z", "\x91" => "'", "\x92" => "'", "\x93" => "\"", "\x94" => "\"", "\x96" => "-", "\x97" => "-", "\x9a" => "s", "\x9e" => "z")));
@@ -434,7 +434,7 @@ function q($string)
* Build a complete url from base-url and params
* @param ... scalar args and numeric indices build base-url, rest as params
*/
-function u(/* ... */)
+function U(/* ... */)
{
$args = func_get_args();
list($base, $params) = it_html::_parse_args($args);
--
cgit v1.2.3