Assembla home | Assembla project page
 

Changeset 741

Show
Ignore:
Timestamp:
01/03/09 12:43:34 (6 months ago)
Author:
joanhey
Message:

Cambiada constante KUMBIA_CHARSET a APP_CHARSET mucho mas descriptiva

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 0.5/library/kumbia/builder/base_builders/app/template/views/index.phtml

    r740 r741  
    22<html xmlns="http://www.w3.org/1999/xhtml"> 
    33 <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 ?>' /> 
    55  <title>Kumbia PHP Framework</title> 
    66  <?= stylesheet_link_tag('style', 'use_variables: true') ?> 
  • 0.5/library/kumbia/filter/base_filters/htmlentities.php

    r740 r741  
    3232         */ 
    3333        public function execute($value){ 
    34                 return htmlentities((string)$value, ENT_QUOTES, KUMBIA_CHARSET); 
     34                return htmlentities((string)$value, ENT_QUOTES, APP_CHARSET); 
    3535        } 
    3636 
  • 0.5/library/kumbia/filter/base_filters/htmlspecialchars.php

    r740 r741  
    3232         */ 
    3333        public function execute($value){ 
    34                 return htmlspecialchars((string)$value, ENT_QUOTES, KUMBIA_CHARSET); 
     34                return htmlspecialchars((string)$value, ENT_QUOTES, APP_CHARSET); 
    3535        } 
    3636 
  • 0.5/library/kumbia/helpers/tags.php

    r740 r741  
    16031603<head> 
    16041604<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"; 
    16061606print stylesheet_link_tag("style", 'use_variables: true'); 
    16071607kumbia::stylesheet_link_tags(). 
  • 0.5/library/kumbia/kumbia.php

    r740 r741  
    233233        } 
    234234                /** 
    235         * Establecer el charset de la app en la constante KUMBIA_CHARSET 
     235        * Establecer el charset de la app en la constante APP_CHARSET 
    236236        */ 
    237                 define('KUMBIA_CHARSET', $config->kumbia->charset); 
     237                define('APP_CHARSET', $config->kumbia->charset); 
    238238    } 
    239239    /** 
     
    972972     */ 
    973973    public static function get_active_app_charset() { 
    974         return KUMBIA_CHARSET; 
     974        return APP_CHARSET; 
    975975    } 
    976976 
  • 0.5/library/kumbia/xml/xml.php

    r740 r741  
    3838        function __construct(){ 
    3939                $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"; 
    4141        } 
    4242