[Cs-content-commits] SF.net SVN: cs-content:[379] trunk/1.0/contentSystem.class.php
PHP Templating & Includes System
Brought to you by:
crazedsanity
From: <cra...@us...> - 2009-05-22 17:28:37
|
Revision: 379 http://cs-content.svn.sourceforge.net/cs-content/?rev=379&view=rev Author: crazedsanity Date: 2009-05-22 17:28:18 +0000 (Fri, 22 May 2009) Log Message: ----------- Added "curYear" template var, since it is used in an example template. Modified Paths: -------------- trunk/1.0/contentSystem.class.php Modified: trunk/1.0/contentSystem.class.php =================================================================== --- trunk/1.0/contentSystem.class.php 2009-05-22 16:29:11 UTC (rev 378) +++ trunk/1.0/contentSystem.class.php 2009-05-22 17:28:18 UTC (rev 379) @@ -149,6 +149,7 @@ //setup some default template vars. $this->templateObj->add_template_var('date', date('m-d-Y')); $this->templateObj->add_template_var('time', date('H:i:s')); + $this->templateObj->add_template_var('curYear', date('Y')); $myUrl = '/'; if(strlen($this->section) && $this->section !== 0) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |