[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/themes/phpgroupware blocks.
From: |
Patrick Walsh <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/themes/phpgroupware blocks.html,NONE,1.1 center_bottom.html,NONE,1.1 footer.html,NONE,1.1 header.html,NONE,1.1 index.html,NONE,1.1 tables.php,NONE,1.1 theme.php,NONE,1.1 |
Date: |
Thu, 29 Aug 2002 05:02:43 -0400 |
Update of /cvsroot/phpgroupware/sitemgr/sitemgr-site/themes/phpgroupware
In directory subversions:/tmp/cvs-serv32370/phpgroupware
Added Files:
blocks.html center_bottom.html footer.html header.html
index.html tables.php theme.php
Log Message:
working on the phpgroupware.org theme
--- NEW FILE ---
<br>
<table width="142" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td height="20"
background="themes/phpgroupware/images/side_top.bg.gif" valign="top">
<div align="center"><b><font color="537991"
size="2" face="Verdana, Arial, Helvetica, sans-serif">
$title</font></b></div>
</td>
</tr>
<tr>
<td
background="themes/phpgroupware/images/side_bg.gif" valign="top">
<table width="100%" border="0" cellspacing="0"
cellpadding="4">
<tr>
<td><font color="#FFFFFF"><b><font size="1"
face="Verdana, Arial, Helvetica, sans-serif">
$content</font></b></font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="20"
background="themes/phpgroupware/images/side_bottom.bg.gif"> </td>
</tr>
</table>
<br>
--- NEW FILE ---
<br>
</td>
</tr>
</table>
</td>
<td valign="top" bgcolor="#FFFFFF" width="1"><img
src="themes/phpgroupware/images/spacer.gif" width="1" height="80"></td>
<td valign="top" bgcolor="#52809E" width="160">
<table width="160" border="0" cellspacing="0" cellpadding="0"
align="center">
<tr>
<td>
<div align="center"><b><font face="Verdana, Arial,
Helvetica, sans-serif"><img src="themes/phpgroupware/images/spacer.gif"
width="39" height="1"></font></b><br>
--- NEW FILE ---
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#FFFFFF" height="5">
<div align="center">
<p>$foot1</p>
<p><a href="{?page_name=privacy"><font color="537991"
size="2"><font face="Verdana, Arial, Helvetica, sans-serif">privacy
policy</font></font></a> <font face="Verdana, Arial, Helvetica,
sans-serif"><font size="2"> <font color="537991">::</font>
<font color="537991">Copyright © 2000 -
2002 phpGroupWare</font></font> <font
size="2"> <font color="537991">::</font>
<a href="http://www.ov-media.com/"><font
color="537991">site
design by ov media</font></a><br>
<img src="themes/phpgroupware/images/spacer.gif" width="510"
height="1"></font></font></p>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</BODY>
</HTML>
--- NEW FILE ---
<BODY BGCOLOR="#4F748A" leftmargin="0" topmargin="0" marginwidth="0"
marginheight="0">
<table width="510" border="0" cellspacing="0" cellpadding="1" bgcolor="#FFFFFF"
height="100%" align="center">
<tr>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
height="100%" align="center">
<tr>
<td height="102" width="684">
<table width=684 border=0 cellpadding=0 cellspacing=0>
<tr>
<td width=124 height=82><img
src="themes/phpgroupware/images/logo.gif" width=124 height=82></td>
<td width=130 height=82><img
src="themes/phpgroupware/images/header01.gif" width=130 height=82></td>
<td width=430 height=82><img
src="themes/phpgroupware/images/header02.gif" width=430 height=82></td>
</tr>
<tr>
<td width=124 height=20><img
src="themes/phpgroupware/images/layout02-header_04.gif" width=124 height=20
align="top"></td>
<td width=130 height=20
background="themes/phpgroupware/images/current_release.gif">
<div align="center"><b><font
face="Verdana, Arial, Helvetica, sans-serif"
size="1">current release: <a href="{?page_name=downloads}"><font
color="#000000">1.5.9</font></a></font></b>
</div>
</td>
<td width="430" height="20"
background="themes/phpgroupware/images/current_release.gif">
<table border="0" cellspacing="0"
cellpadding="0" height="20" width="100%">
<tr>
<td width="86"><a
href="{?home=1}"><img src="themes/phpgroupware/images/home.gif" width="86"
height="20" hspace="0" vspace="0" border="0" alt="Home"></a></td>
<td width="86"><a
href="{?page_name=about}"><img src="themes/phpgroupware/images/about.gif"
width="86" height="20" hspace="0" vspace="0" border="0" alt="About"></a></td>
<td width="86"><a
href="{?page_name=documentation}"><img
src="themes/phpgroupware/images/documentation.gif" width="86" height="20"
hspace="0" vspace="0" border="0" alt="Documentation"></a></td>
<td width="86"><a
href="{?page_name=support}"><img src="themes/phpgroupware/images/support.gif"
width="86" height="20" hspace="0" vspace="0" border="0" alt="Support"></a></td>
<td width="86"><a
href="{?page_name=downloads}"><img
src="themes/phpgroupware/images/downloads.gif" width="86" height="20"
hspace="0" vspace="0" border="0" alt="Downloads"></a></td>
</tr></table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
height="100%" bgcolor="#52809E">
<tr>
<td valign="top" bgcolor="#52809E" width="*%">
<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tr>
<td>
<p><b><font face="Verdana,
Arial, Helvetica, sans-serif"><img src="themes/phpgroupware/images/spacer.gif"
width="39" height="1"></font></b><br>
<font color="#ffffff">
{header}
</font>
</p>
--- NEW FILE ---
--- NEW FILE ---
<?php
/************************************************************/
/* OpenTable Functions */
/* */
/* Define the tables look&feel for you whole site. For this */
/* we have two options: OpenTable and OpenTable2 functions. */
/* Then we have CloseTable and CloseTable2 function to */
/* properly close our tables. The difference is that */
/* OpenTable has a 100% width and OpenTable2 has a width */
/* according with the table content */
/************************************************************/
function OpenTable() {
global $bgcolor1, $bgcolor2;
$content = "<table width=\"100%\" border=\"0\" cellspacing=\"1\"
cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
$content .= "<table width=\"100%\" border=\"0\" cellspacing=\"1\"
cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
return $content;
}
function CloseTable() {
return "</td></tr></table></td></tr></table>\n";
}
function OpenTable2() {
global $bgcolor1, $bgcolor2;
$content = "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\"
bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
$content .= "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\"
bgcolor=\"$bgcolor1\"><tr><td>\n";
return $content;
}
function CloseTable2() {
return "</td></tr></table></td></tr></table>\n";
}
?>
--- NEW FILE ---
<?php
/************************************************************/
/* IMPORTANT NOTE FOR THEMES DEVELOPERS! */
/* */
/* When you start coding your theme, if you want to */
/* distribute it, please double check it to fit the HTML */
/* 4.01 Transitional Standard. You can use the W3 validator */
/* located at http://validator.w3.org */
/* If you don't know where to start with your theme, just */
/* start modifying this theme, it's validate and is cool ;) */
/************************************************************/
/************************************************************/
/* Theme Colors Definition */
/* */
/* Define colors for your web site. $bgcolor2 is generaly */
/* used for the tables border as you can see on OpenTable() */
/* function, $bgcolor1 is for the table background and the */
/* other two bgcolor variables follows the same criteria. */
/* $texcolor1 and 2 are for tables internal texts */
/************************************************************/
$bgcolor1 = "#efefef";
$bgcolor2 = "#cfcfbb";
$bgcolor3 = "#efefef";
$bgcolor4 = "#cfcfbb";
$textcolor1 = "#000000";
$textcolor2 = "#000000";
include("themes/phpgroupware/tables.php");
/************************************************************/
/* Function themeheader() */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************************/
function themeheader() {
$tmpl_file = "themes/phpgroupware/header.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
$thefile = parse_theme_vars($thefile);
eval($thefile);
print $r_file;
}
/************************************************************/
/* Function themefooter() */
/* */
/* Control the footer for your site. You don't need to */
/* close BODY and HTML tags at the end. In some part call */
/* the function for right blocks with: blocks(right); */
/* Also, $index variable need to be global and is used to */
/* determine if the page your're viewing is the Homepage or */
/* and internal one. */
/************************************************************/
function themefooter() {
global $index, $foot1, $foot2, $foot3, $foot4;
$tmpl_file = "themes/phpgroupware/center_bottom.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
$thefile = parse_theme_vars($thefile);
eval($thefile);
print $r_file;
blocks('left');
blocks('right');
$footer_message = $foot1;
$tmpl_file = "themes/phpgroupware/footer.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
$thefile = parse_theme_vars($thefile);
eval($thefile);
print $r_file;
}
/************************************************************/
/* Function themeindex() */
/* */
/* This function format the stories on the Homepage */
/************************************************************/
function themeindex ($aid, $informant, $time, $title, $counter, $topic,
$thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
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&op=userinfo&uname=$informant\">$informant</a>
";
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
}
$posted = ""._POSTEDBY." ";
$posted .= get_author($aid);
$posted .= " "._ON." $time $timezone ($counter "._READS.")";
$tmpl_file = "themes/phpgroupware/story_home.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
$thefile = parse_theme_vars($thefile);
eval($thefile);
print $r_file;
}
/************************************************************/
/* Function themearticle() */
/* */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home */
/************************************************************/
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&op=userinfo&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;
}
/************************************************************/
/* Function themesidebox() */
/* */
/* Control look of your blocks. Just simple. */
/************************************************************/
function themesidebox($title, $content) {
$tmpl_file = "themes/phpgroupware/blocks.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
$thefile = parse_theme_vars($thefile);
eval($thefile);
print $r_file;
}
?>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/themes/phpgroupware blocks.html,NONE,1.1 center_bottom.html,NONE,1.1 footer.html,NONE,1.1 header.html,NONE,1.1 index.html,NONE,1.1 tables.php,NONE,1.1 theme.php,NONE,1.1,
Patrick Walsh <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/themes/phpgroupware/style index.html,NONE,1.1 style.css,NONE,1.1
- Next by Date:
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/themes/phpgroupware/images/PSDs layout02-header.psd,NONE,1.1 layout02.psd,NONE,1.1 newlogo.psd,NONE,1.1
- Previous by thread:
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/themes/phpgroupware/style index.html,NONE,1.1 style.css,NONE,1.1
- Next by thread:
[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site/themes/phpgroupware/images/PSDs layout02-header.psd,NONE,1.1 layout02.psd,NONE,1.1 newlogo.psd,NONE,1.1
- Index(es):