packages: CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec, CodeIgniter-l...

uzsolt uzsolt at pld-linux.org
Tue Oct 25 07:36:36 CEST 2011


Author: uzsolt                       Date: Tue Oct 25 05:36:36 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- update to compatible with Smarty 3.1.x

---- Files affected:
packages/CodeIgniter-lib-smarty:
   CodeIgniter-lib-smarty.spec (1.2 -> 1.3) , Smarty_tpl.php (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec
diff -u packages/CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec:1.2 packages/CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec:1.3
--- packages/CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec:1.2	Thu May 12 17:33:59 2011
+++ packages/CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec	Tue Oct 25 07:36:31 2011
@@ -4,13 +4,13 @@
 %include	/usr/lib/rpm/macros.php
 Summary:	Use smarty template engine in CodeIgniter
 Name:		CodeIgniter-lib-%{shortname}
-Version:	1
+Version:	2
 Release:	0.1
 License:	GPL
 Group:		Development/Languages/PHP
 Source0:	Smarty_tpl.php
 Requires:	CodeIgniter >= 2.0.0
-Requires:	php-Smarty >= 3.0
+Requires:	php-Smarty >= 3.1
 Requires:	php-common >= 4:%{php_min_version}
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,6 +41,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2011/10/25 05:36:31  uzsolt
+- update to compatible with Smarty 3.1.x
+
 Revision 1.2  2011/05/12 15:33:59  glen
 - _noautoreq (ever heard of template-specs/? in pld cvs)
 - make php_min_version macro of use

================================================================
Index: packages/CodeIgniter-lib-smarty/Smarty_tpl.php
diff -u packages/CodeIgniter-lib-smarty/Smarty_tpl.php:1.3 packages/CodeIgniter-lib-smarty/Smarty_tpl.php:1.4
--- packages/CodeIgniter-lib-smarty/Smarty_tpl.php:1.3	Wed May 25 09:00:39 2011
+++ packages/CodeIgniter-lib-smarty/Smarty_tpl.php	Tue Oct 25 07:36:31 2011
@@ -10,18 +10,18 @@
     function smarty_tpl() {
         $this->Smarty();
         // templates folder
-        $this->template_dir=    APPPATH."views/templates";
+        $this->setTemplateDir(APPPATH."views/templates");
         // compiled templates folder
-        $this->compile_dir=     APPPATH."views/templates_c";
+	$this->setCompileDir(APPPATH."views/templates_c");
         // cache folder
-        $this->cache_dir=       APPPATH."views/cache";
+        $this->setCacheDir(APPPATH."views/cache");
         //config folder
-        $this->config_dir=      APPPATH."views/config";
+        $this->setConfigDir(APPPATH."views/config");
 	//plugins folder
-	$this->plugins_dir = array(
+	$this->setPluginsDir(array(
 		"/usr/share/php/Smarty3/plugins/",
 		"/usr/share/php/Smarty3/sysplugins/"
-	);
+	));
 
         // template recheck on
         $this->compile_check=   true;
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/CodeIgniter-lib-smarty/CodeIgniter-lib-smarty.spec?r1=1.2&r2=1.3&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/CodeIgniter-lib-smarty/Smarty_tpl.php?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list