Changeset 741
- Timestamp:
- 01/03/09 12:43:34 (1 year ago)
- Files:
-
- 0.5/library/kumbia/builder/base_builders/app/template/views/index.phtml (modified) (1 diff)
- 0.5/library/kumbia/filter/base_filters/htmlentities.php (modified) (1 diff)
- 0.5/library/kumbia/filter/base_filters/htmlspecialchars.php (modified) (1 diff)
- 0.5/library/kumbia/helpers/tags.php (modified) (1 diff)
- 0.5/library/kumbia/kumbia.php (modified) (2 diffs)
- 0.5/library/kumbia/xml/xml.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
0.5/library/kumbia/builder/base_builders/app/template/views/index.phtml
r740 r741 2 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 3 <head> 4 <meta http-equiv='Content-type' content='text/html; charset=<?= KUMBIA_CHARSET ?>' />4 <meta http-equiv='Content-type' content='text/html; charset=<?= APP_CHARSET ?>' /> 5 5 <title>Kumbia PHP Framework</title> 6 6 <?= stylesheet_link_tag('style', 'use_variables: true') ?> 0.5/library/kumbia/filter/base_filters/htmlentities.php
r740 r741 32 32 */ 33 33 public function execute($value){ 34 return htmlentities((string)$value, ENT_QUOTES, KUMBIA_CHARSET);34 return htmlentities((string)$value, ENT_QUOTES, APP_CHARSET); 35 35 } 36 36 0.5/library/kumbia/filter/base_filters/htmlspecialchars.php
r740 r741 32 32 */ 33 33 public function execute($value){ 34 return htmlspecialchars((string)$value, ENT_QUOTES, KUMBIA_CHARSET);34 return htmlspecialchars((string)$value, ENT_QUOTES, APP_CHARSET); 35 35 } 36 36 0.5/library/kumbia/helpers/tags.php
r740 r741 1603 1603 <head> 1604 1604 <title>Kumbia PHP Framework</title> 1605 <meta http-equiv="Content-type" content="text/html; charset='. KUMBIA_CHARSET.'" />'."\n";1605 <meta http-equiv="Content-type" content="text/html; charset='.APP_CHARSET.'" />'."\n"; 1606 1606 print stylesheet_link_tag("style", 'use_variables: true'); 1607 1607 kumbia::stylesheet_link_tags(). 0.5/library/kumbia/kumbia.php
r740 r741 233 233 } 234 234 /** 235 * Establecer el charset de la app en la constante KUMBIA_CHARSET235 * Establecer el charset de la app en la constante APP_CHARSET 236 236 */ 237 define(' KUMBIA_CHARSET', $config->kumbia->charset);237 define('APP_CHARSET', $config->kumbia->charset); 238 238 } 239 239 /** … … 972 972 */ 973 973 public static function get_active_app_charset() { 974 return KUMBIA_CHARSET;974 return APP_CHARSET; 975 975 } 976 976 0.5/library/kumbia/xml/xml.php
r740 r741 38 38 function __construct(){ 39 39 $active_app = Kumbia::$active_app; 40 $this->code.="<?xml version='1.0' encoding='{ KUMBIA_CHARSET}'?>\r\n<response>\r\n";40 $this->code.="<?xml version='1.0' encoding='{APP_CHARSET}'?>\r\n<response>\r\n"; 41 41 } 42 42