This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Compiles language strings | |
* Standalone: | |
* {{"some.string_here"}} = <?php echo \Lang::line("some.string_here")->get(); ?> | |
* Not Standalone (ie, within a function,etc) | |
* {"some.string_Here"} = \Lang::line('some.string_here')->get() | |
* @param string Template | |
* @return string Template | |
**/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* A custom view class that is used for themeing | |
* | |
* PHP versions 4 and 5 | |
* | |
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org) | |
* Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) | |
* | |
* Licensed under The MIT License |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Makes it extremely easy to integrate code igniter and smarty as well as provide layout capabilites | |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); | |
require "smarty/Smarty.class.php"; | |
class Template extends Smarty{ | |
var $theme = "default"; |