phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/inc phpnuke.compat.inc.php,


From: Patrick Walsh <address@hidden>
Subject: [Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/inc phpnuke.compat.inc.php,1.3,1.4
Date: Sun, 01 Sep 2002 04:35:14 -0400

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

Modified Files:
        phpnuke.compat.inc.php 
Log Message:
i don't know why it says some of these were changed.  but whatever, the major 
differences should be the addition of {block-xxx} vars in content


Index: phpnuke.compat.inc.php
===================================================================
RCS file: 
/cvsroot/phpgroupware/sitemgr/sitemgr-site/inc/phpnuke.compat.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** phpnuke.compat.inc.php      1 Sep 2002 04:22:46 -0000       1.3
--- phpnuke.compat.inc.php      1 Sep 2002 08:35:12 -0000       1.4
***************
*** 88,91 ****
--- 88,105 ----
                        unset($ui);
                }
+               elseif (substr($var,0,6) == 'block-')
+               {
+                       if (file_exists('blocks/'.$var.'.php'))
+                       {
+                               $title=ereg_replace('_',' ',substr($var,6));
+                               include 'blocks/'.$var.'.php';
+                       }
+                       else
+                       {
+                               $title = 'Block not found';
+                               $content = 'Contact the administrator.';
+                       }
+                       $val = themecenterbox($title, $content);
+               }
                else
                {
***************
*** 435,438 ****
--- 449,453 ----
  
  
+       /*
        function themecenterbox($title, $content) 
        {
***************
*** 444,447 ****
--- 459,463 ----
                echo $contents;
        }
+       */
  
  ?>





reply via email to

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