phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/themes/phpgroupware theme.p


From: Patrick Walsh <address@hidden>
Subject: [Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/themes/phpgroupware theme.php,1.1,1.2
Date: Sun, 01 Sep 2002 00:22:48 -0400

Update of /cvsroot/phpgroupware/sitemgr/sitemgr-site/themes/phpgroupware
In directory subversions:/tmp/cvs-serv26819/themes/phpgroupware

Modified Files:
        theme.php 
Log Message:
Lots of changes, including moving most preferences to the db.


Index: theme.php
===================================================================
RCS file: 
/cvsroot/phpgroupware/sitemgr/sitemgr-site/themes/phpgroupware/theme.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** theme.php   29 Aug 2002 09:02:41 -0000      1.1
--- theme.php   1 Sep 2002 04:22:46 -0000       1.2
***************
*** 126,154 ****
  
  function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, 
$topicname, $topicimage, $topictext) {
!     global $admin, $sid, $tipath;
!     $posted = ""._POSTEDON." $datetime "._BY." ";
!     $posted .= get_author($aid);
!     if ($notes != "") {
!       $notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
!     } else {
!       $notes = "";
!     }
!     if ("$aid" == "$informant") {
!       $content = "$thetext$notes\n";
!     } else {
!       if($informant != "") {
!           $content = "<a 
href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;uname=$informant\">$informant</a>
 ";
!       } else {
!           $content = "$anonymous ";
!       }
!       $content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
!     }
!     $tmpl_file = "themes/phpgroupware/story_page.html";
      $thefile = implode("", file($tmpl_file));
      $thefile = addslashes($thefile);
      $thefile = "\$r_file=\"".$thefile."\";";
        $thefile = parse_theme_vars($thefile);
      eval($thefile);
!     print $r_file;
  }
  
--- 126,137 ----
  
  function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, 
$topicname, $topicimage, $topictext) {
!     $tmpl_file = "themes/phpgroupware/center_block.html";
      $thefile = implode("", file($tmpl_file));
      $thefile = addslashes($thefile);
      $thefile = "\$r_file=\"".$thefile."\";";
        $thefile = parse_theme_vars($thefile);
+       $content = $thetext;
      eval($thefile);
!     return $r_file;
  }
  





reply via email to

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