SOURCES: eventum-paths.patch - eventum also uses internally smarty...

glen glen at pld-linux.org
Wed Oct 26 16:33:33 CEST 2005


Author: glen                         Date: Wed Oct 26 14:33:33 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- eventum also uses internally smarty plugins, move plugins to includedir

---- Files affected:
SOURCES:
   eventum-paths.patch (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SOURCES/eventum-paths.patch
diff -u SOURCES/eventum-paths.patch:1.24 SOURCES/eventum-paths.patch:1.25
--- SOURCES/eventum-paths.patch:1.24	Wed Oct 26 16:19:06 2005
+++ SOURCES/eventum-paths.patch	Wed Oct 26 16:33:27 2005
@@ -272,7 +272,18 @@
          $this->smarty->compile_dir = "/var/cache/eventum";
          $this->smarty->config_dir = '';
          $this->smarty->register_modifier("activateLinks", array('Link_Filter', 'activateLinks'));
-+        $this->smarty->plugins_dir  = array('/usr/share/eventum/smarty', 'plugins');
++        $this->smarty->plugins_dir  = array('/usr/share/eventum/include/smarty', 'plugins');
      }
  
+ 
+--- ./include/class.misc.php	2005-10-26 17:17:17.000000000 +0300
++++ /tmp/class.misc.php	2005-10-26 17:30:12.000000000 +0300
+@@ -607,7 +607,7 @@
+      */
+     function highlightQuotedReply($text)
+     {
+-        include_once(APP_SMARTY_PATH . "plugins/modifier.highlight_quoted.php");
++        include_once(APP_INC_PATH. "smarty/modifier.highlight_quoted.php");
+         return smarty_modifier_highlight_quoted($text);
+     }
  
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/eventum-paths.patch?r1=1.24&r2=1.25&f=u




More information about the pld-cvs-commit mailing list