Changeset d2e7d1


Ignore:
Timestamp:
11/18/13 17:52:15 (5 years ago)
Author:
pierre-alain <pierre-alain@…>
Branches:
master
Children:
5419f2
Parents:
909557
git-author:
pierre-alain <pierre-alain@…> (11/18/13 17:52:15)
git-committer:
pierre-alain <pierre-alain@…> (11/18/13 17:52:15)
Message:

Theme instead of Themes

Files:
8 edited
2 moved

Legend:

Unmodified
Added
Removed
  • OWR/Controller.php

    r0c173d rd2e7d1  
    5656 * @uses Logs the logs/errors storing object 
    5757 * @uses OWR\View\Utilities translate errors 
    58  * @uses Themes the theme manager 
     58 * @uses Theme the theme manager 
    5959 * @package OWR 
    6060 */ 
     
    685685        $this->getPageDatas($tpl, $datas, $noCacheDatas); 
    686686         
    687         $page = Themes::iGet()->$tpl($datas, $noCacheDatas); 
     687        $page = Theme::iGet()->$tpl($datas, $noCacheDatas); 
    688688         
    689689        if(!empty($page)) 
  • OWR/Includes/Themes/Original/Theme.php

    r909557 rd2e7d1  
    22 
    33namespace OWR\Includes\Themes\Original; 
    4 use OWR\Themes, OWR\User, OWR\Config; 
     4use OWR\Theme as pTheme, OWR\User, OWR\Config; 
    55 
    66/** 
     
    1212 * @package OWR 
    1313 */ 
    14 class Theme extends Themes 
     14class Theme extends pTheme 
    1515{ 
    1616    /** 
  • OWR/Includes/Themes/Original/tpl/blocks/content.html

    rd7cbbe rd2e7d1  
    44                <a href="javascript:;" class="hidden-phone full_rounded shadow backgrounded opac" id="board_toggler" title="<?php echo $this->_utilities->_('Toggle board');?>" onclick="rP.toggleBoard();"></a> 
    55                <div id="body_container"> 
    6 <?php echo OWR\Themes::iGet()->posts($datas, $noCacheDatas);?> 
     6<?php echo OWR\Theme::iGet()->posts($datas, $noCacheDatas);?> 
    77                </div> 
    88            </div> 
  • OWR/Includes/Themes/Original/tpl/blocks/menu.html

    rd7cbbe rd2e7d1  
    2020                            </div> 
    2121                        </li> 
    22 <?php echo OWR\Themes::iGet()->categories($datas, $noCacheDatas);?> 
     22<?php echo OWR\Theme::iGet()->categories($datas, $noCacheDatas);?> 
    2323                    </ul> 
    2424                </li> 
     
    2626                <li class="noborder"> 
    2727                    <ul class="menu_streams" id="menu_tags"> 
    28 <?php echo OWR\Themes::iGet()->tags($datas, $noCacheDatas);?> 
     28<?php echo OWR\Theme::iGet()->tags($datas, $noCacheDatas);?> 
    2929                    </ul> 
    3030                </li> 
  • OWR/Interfaces/Theme.php

    r7c60cc rd2e7d1  
    4141 * @subpackage Interfaces 
    4242 */ 
    43 interface Themes 
     43interface Theme 
    4444{ 
    4545    /** 
  • OWR/Theme.php

    rfaa4e3 rd2e7d1  
    3535 */ 
    3636namespace OWR; 
    37 use OWR\Interfaces\Themes as iThemes; 
     37use OWR\Interfaces\Theme as iTheme; 
    3838/** 
    3939 * Abstract class used to manage themes 
     
    4545 * @package OWR 
    4646 */ 
    47 abstract class Themes implements iThemes 
     47abstract class Theme implements iTheme 
    4848{ 
    4949    /** 
  • OWR/View.php

    rd7cbbe rd2e7d1  
    149149        extract((array) $datas, EXTR_SKIP); 
    150150        ob_start(); 
    151         include Themes::iGet()->getPath($tpl) . $tpl . '.html'; 
     151        include Theme::iGet()->getPath($tpl) . $tpl . '.html'; 
    152152        return ob_get_clean(); 
    153153    } 
  • css/owr.css.php

    rfaa4e3 rd2e7d1  
    1111require HOME_PATH . 'cfg.php'; 
    1212 
    13 $theme = Themes::iGet(); 
     13$theme = Theme::iGet(); 
    1414$filename = basename($_GET['f']); 
    1515 
     
    2020        break; 
    2121} 
    22 while($theme = Themes::getParentTheme()); 
     22while($theme = Theme::getParentTheme()); 
    2323 
    2424if(empty($theme)) 
  • images/images.php

    rd0983f rd2e7d1  
    1111require HOME_PATH . 'cfg.php'; 
    1212 
    13 $theme = Themes::iGet(); 
     13$theme = Theme::iGet(); 
    1414$filename = basename($_GET['f']); 
    1515 
     
    2020        break; 
    2121} 
    22 while($theme = Themes::getParentTheme()); 
     22while($theme = Theme::getParentTheme()); 
    2323 
    2424if(empty($theme)) 
  • js/owr.js.php

    rfaa4e3 rd2e7d1  
    1111require HOME_PATH . 'cfg.php'; 
    1212 
    13 $theme = Themes::iGet(); 
     13$theme = Theme::iGet(); 
    1414$filename = basename($_GET['f']); 
    1515 
     
    2020        break; 
    2121} 
    22 while($theme = Themes::getParentTheme()); 
     22while($theme = Theme::getParentTheme()); 
    2323 
    2424if(empty($theme)) 
Note: See TracChangeset for help on using the changeset viewer.