phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: sitemgr/inc class.contributor_ManagePage_UI.inc.


From: Patrick Walsh <address@hidden>
Subject: [Phpgroupware-cvs] CVS: sitemgr/inc class.contributor_ManagePage_UI.inc.php,1.1.1.1,1.2
Date: Fri, 30 Aug 2002 04:13:56 -0400

Update of /cvsroot/phpgroupware/sitemgr/inc
In directory subversions:/tmp/cvs-serv9458

Modified Files:
        class.contributor_ManagePage_UI.inc.php 
Log Message:
Fixed bug where {} were stripped by template system


Index: class.contributor_ManagePage_UI.inc.php
===================================================================
RCS file: 
/cvsroot/phpgroupware/sitemgr/inc/class.contributor_ManagePage_UI.inc.php,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** class.contributor_ManagePage_UI.inc.php     29 Aug 2002 03:03:17 -0000      
1.1.1.1
--- class.contributor_ManagePage_UI.inc.php     30 Aug 2002 08:13:54 -0000      
1.2
***************
*** 83,90 ****
                        }
                
                        $this->t->set_var(array(
                                'title' =>$this->page->title,
                                'subtitle' => $this->page->subtitle,
!                               'main'=>$this->page->content,
                                'name'=>$this->page->name,
                                'pageid'=>$page_id,
--- 83,91 ----
                        }
                
+                       $trans = array("{" => "&#123;", "}" => "&#125;");
                        $this->t->set_var(array(
                                'title' =>$this->page->title,
                                'subtitle' => $this->page->subtitle,
!                               'main'=>strtr($this->page->content,$trans),
                                'name'=>$this->page->name,
                                'pageid'=>$page_id,





reply via email to

[Prev in Thread] Current Thread [Next in Thread]