Changeset 912

Show
Ignore:
Timestamp:
04/29/08 11:19:23 (3 months ago)
Author:
bastnic
Message:

fixed #553 : adding some style from templates, p=Mickaël Fradin

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/jelix/CREDITS

    r904 r912  
    9292Mickaël Fradin (aka mike) 
    9393 - improvements in the jtpl plugin: formcontrols (#223) 
     94 - added style feature in the meta_html plugin (#553) 
    9495 
    9596Olivier Gambier (aka d-m-p) 
  • trunk/lib/jelix/CREDITS

    r904 r912  
    9292Mickaël Fradin (aka mike) 
    9393 - improvements in the jtpl plugin: formcontrols (#223) 
     94 - added style feature in the meta_html plugin (#553) 
    9495 
    9596Olivier Gambier (aka d-m-p) 
  • trunk/lib/jelix/CREDITS

    r904 r912  
    9292Mickaël Fradin (aka mike) 
    9393 - improvements in the jtpl plugin: formcontrols (#223) 
     94 - added style feature in the meta_html plugin (#553) 
    9495 
    9596Olivier Gambier (aka d-m-p) 
  • trunk/lib/jelix/CREDITS

    r904 r912  
    9292Mickaël Fradin (aka mike) 
    9393 - improvements in the jtpl plugin: formcontrols (#223) 
     94 - added style feature in the meta_html plugin (#553) 
    9495 
    9596Olivier Gambier (aka d-m-p) 
  • trunk/lib/jelix/plugins/tpl/html/meta.html.php

    r676 r912  
    44* @subpackage   jtpl_plugin 
    55* @author       Jouanneau Laurent 
    6 * @contributor  Yann (description and keywords), Dominique Papin (ie7 support) 
    7 * @copyright    2005-2006 Jouanneau laurent, 2007 Dominique Papin 
     6* @contributor  Yann (description and keywords), Dominique Papin (ie7 support), Mickaël Fradin (style) 
     7* @copyright    2005-2006 Jouanneau laurent, 2007 Dominique Papin, 2008 Mickaël Fradin 
    88* @link         http://www.jelix.org 
    99* @licence      GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html 
     
    5959            $gJCoord->response->addCSSLink($gJConfig->urlengine['basePath'].'themes/'.$gJConfig->theme.'/'.$param,array(),'lt IE 7'); 
    6060            break; 
     61        case 'style': 
     62            if(is_array($param)){ 
     63                foreach($param as $p1=>$p2){ 
     64                    $gJCoord->response->addStyle($p1,$p2); 
     65                } 
     66            } 
     67            break; 
    6168        case 'bodyattr': 
    6269            if(is_array($param)){ 
  • trunk/lib/jelix/plugins/tpl/html/meta.html.php

    r676 r912  
    44* @subpackage   jtpl_plugin 
    55* @author       Jouanneau Laurent 
    6 * @contributor  Yann (description and keywords), Dominique Papin (ie7 support) 
    7 * @copyright    2005-2006 Jouanneau laurent, 2007 Dominique Papin 
     6* @contributor  Yann (description and keywords), Dominique Papin (ie7 support), Mickaël Fradin (style) 
     7* @copyright    2005-2006 Jouanneau laurent, 2007 Dominique Papin, 2008 Mickaël Fradin 
    88* @link         http://www.jelix.org 
    99* @licence      GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html 
     
    5959            $gJCoord->response->addCSSLink($gJConfig->urlengine['basePath'].'themes/'.$gJConfig->theme.'/'.$param,array(),'lt IE 7'); 
    6060            break; 
     61        case 'style': 
     62            if(is_array($param)){ 
     63                foreach($param as $p1=>$p2){ 
     64                    $gJCoord->response->addStyle($p1,$p2); 
     65                } 
     66            } 
     67            break; 
    6168        case 'bodyattr': 
    6269            if(is_array($param)){ 
  • trunk/lib/jelix/plugins/tpl/html/meta.html.php

    r676 r912  
    44* @subpackage   jtpl_plugin 
    55* @author       Jouanneau Laurent 
    6 * @contributor  Yann (description and keywords), Dominique Papin (ie7 support) 
    7 * @copyright    2005-2006 Jouanneau laurent, 2007 Dominique Papin 
     6* @contributor  Yann (description and keywords), Dominique Papin (ie7 support), Mickaël Fradin (style) 
     7* @copyright    2005-2006 Jouanneau laurent, 2007 Dominique Papin, 2008 Mickaël Fradin 
    88* @link         http://www.jelix.org 
    99* @licence      GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html 
     
    5959            $gJCoord->response->addCSSLink($gJConfig->urlengine['basePath'].'themes/'.$gJConfig->theme.'/'.$param,array(),'lt IE 7'); 
    6060            break; 
     61        case 'style': 
     62            if(is_array($param)){ 
     63                foreach($param as $p1=>$p2){ 
     64                    $gJCoord->response->addStyle($p1,$p2); 
     65                } 
     66            } 
     67            break; 
    6168        case 'bodyattr': 
    6269            if(is_array($param)){ 
  • trunk/lib/jelix/plugins/tpl/html/meta.html.php

    r676 r912  
    44* @subpackage   jtpl_plugin 
    55* @author       Jouanneau Laurent 
    6 * @contributor  Yann (description and keywords), Dominique Papin (ie7 support) 
    7 * @copyright    2005-2006 Jouanneau laurent, 2007 Dominique Papin 
     6* @contributor  Yann (description and keywords), Dominique Papin (ie7 support), Mickaël Fradin (style) 
     7* @copyright    2005-2006 Jouanneau laurent, 2007 Dominique Papin, 2008 Mickaël Fradin 
    88* @link         http://www.jelix.org 
    99* @licence      GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html 
     
    5959            $gJCoord->response->addCSSLink($gJConfig->urlengine['basePath'].'themes/'.$gJConfig->theme.'/'.$param,array(),'lt IE 7'); 
    6060            break; 
     61        case 'style': 
     62            if(is_array($param)){ 
     63                foreach($param as $p1=>$p2){ 
     64                    $gJCoord->response->addStyle($p1,$p2); 
     65                } 
     66            } 
     67            break; 
    6168        case 'bodyattr': 
    6269            if(is_array($param)){ 
Download in other formats: Unified Diff Zip Archive