summaryrefslogtreecommitdiff
path: root/it_html.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_html.class')
-rw-r--r--it_html.class6
1 files changed, 3 insertions, 3 deletions
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 <div id="it_boot_dom"> at the end of body
'show_content_type' => true, # If true, add <meta http-equiv="Content-Type" ...> header
'show_favicon' => true, # If true, add <link> 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);