From: <al...@us...> - 2008-10-28 12:08:22
|
Revision: 770 http://sciret.svn.sourceforge.net/sciret/?rev=770&view=rev Author: alpeb Date: 2008-10-28 12:08:02 +0000 (Tue, 28 Oct 2008) Log Message: ----------- removed some old code Modified Paths: -------------- trunk/classes/template.php Modified: trunk/classes/template.php =================================================================== --- trunk/classes/template.php 2008-10-27 22:16:49 UTC (rev 769) +++ trunk/classes/template.php 2008-10-28 12:08:02 UTC (rev 770) @@ -47,9 +47,6 @@ /* last error message is retained here */ var $last_error = ''; - // if true change all phpGroupWare into eGroupWare in set_var - var $egroupware_hack = True; - /***************************************************************************/ /* public: Constructor. * root: template directory. @@ -183,10 +180,7 @@ echo "<p>Template::set_var('$k','$v')</p>\n"; } $this->varkeys[$k] = $this->varname($k); - $this->varvals[$k] = $this->egroupware_hack ? str_replace( - array('phpGroupWare','www.phpgroupware.org'), - array('eGroupWare','www.eGroupWare.org'),$v - ) : $v; + $this->varvals[$k] = $v; } } } @@ -469,8 +463,6 @@ { echo('<b>Halted.</b>'); } - - $GLOBALS['phpgw']->common->phpgw_exit(True); } /* public, override: haltmsg($msg) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |