cvs: qaweb /preview howtohelp.php index.php links.php members.php projects.php styles.css /preview/include functions.php /preview/templates
tmpl_home.html
| From: | Marco Kaiser | Date: | Sun, 21 Oct 2001 15:53:06 +0000 |
| Subject: | cvs: qaweb /preview howtohelp.php index.php links.php members.php projects.php styles.css /preview/include functions.php /preview/templates tmpl_home.html |
||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-3726@lists.php.net to get a copy of this message | ||
bate Sun Oct 21 11:53:06 2001 EDT
Removed files:
/qaweb/preview/templates tmpl_home.html
Modified files:
/qaweb/preview howtohelp.php index.php links.php members.php
projects.php styles.css
/qaweb/preview/include functions.php
Log:
Updated
Index: qaweb/preview/howtohelp.php diff -u qaweb/preview/howtohelp.php:1.2 qaweb/preview/howtohelp.php:1.3 --- qaweb/preview/howtohelp.php:1.2 Sat Oct 20 14:30:58 2001 +++ qaweb/preview/howtohelp.php Sun Oct 21 11:53:06 2001 @@ -1,2 +1,13 @@ -<?php +<?php +include("include/functions.php"); + +$TITLE = "How To Help [PHP-QAT: Quality Assurance Team]"; +$SITE_UPDATE = date("D M d H:i:s Y T", filectime($SCRIPT_FILENAME))."<br>/* $ID$ */"; + +siteHeader(); +?> + +<?php + +siteFooter(); ?> Index: qaweb/preview/index.php diff -u qaweb/preview/index.php:1.6 qaweb/preview/index.php:1.7 --- qaweb/preview/index.php:1.6 Sun Oct 21 09:39:00 2001 +++ qaweb/preview/index.php Sun Oct 21 11:53:06 2001 @@ -1,16 +1,47 @@ <?php -include("include/freeTemplate.class.php"); include("include/functions.php"); -$qa_cl = new freeTemplate; +$TITLE = "PHP-QAT: Quality Assurance Team"; +$SITE_UPDATE = date("D M d H:i:s Y T", filectime($SCRIPT_FILENAME))."<br>/* $ID$ */"; - $qa_cl->assignTemplate($template_array["home"]); - replace_default($qa_cl); - - $SITE_UPDATE = "/* $ID$ */"; - - - $qa_cl->printTemplate(); +siteHeader(); +?> + <table width="70%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> + <td width="100%"> + <h1>Welcome to the<br> + PHP Quality Assurance Team Web Page.</h1> + </td> + <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <p>The team is currently focused on several areas: </p> + <ul> + <li><span class="lihack">Reworking the bug tracking system. (Subscribe to to <a href="mailto:jitterbug-subscribe@lists.php.net">jitterbug-subscribe@lists.php.net</a> + for more information)</span></li> + <li><span class="lihack">Processing the open bug reports from the official PHP 4 bug + list (<a href="http://bugs.php.net" target="_blank">http://bugs.php.net</a>).</span></li> + <li><span class="lihack">Providing QA for the latest PHP release candidate.</span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%">If you would like to contribute to this effort, please + visit our How To Help page. (<a href="howtohelp.php">view</a>)</td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> </td> + <td width="10"> </td> + </tr> + </table> +<?php -unset($qa_cl); +siteFooter(); ?> Index: qaweb/preview/links.php diff -u qaweb/preview/links.php:1.2 qaweb/preview/links.php:1.3 --- qaweb/preview/links.php:1.2 Sat Oct 20 14:30:58 2001 +++ qaweb/preview/links.php Sun Oct 21 11:53:06 2001 @@ -1,2 +1,130 @@ -<?php +<?php +include("include/functions.php"); + +$TITLE = "Links & Resources [PHP-QAT: Quality Assurance Team]"; +$SITE_UPDATE = date("D M d H:i:s Y T", filectime($SCRIPT_FILENAME))."<br>/* $ID$ */"; + +siteHeader(); +?> + <table width="70%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> + <td width="100%"> + <h1>Links and Resources</h1> + </td> + <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> Please suggest links and resources for this page! + Email the PHP-QA list (<a href="mailto:php-qa@lists.php.net">php-qa@lists.php.net</a>) + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3>Official PHP Resources</h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack"><a href="http://bugs.php.net/" target="_blank">PHP: + Bug Reporting</a></span></li> + <li><span class="lihack"><a href="http://cvs.php.net" target="_blank">PHP: + CVS Repository</a></span></li> + <li><span class="lihack"><a href="http://www.php.net/docs.php" target="_blank">PHP: + Documentation</a></span></li> + <li><span class="lihack"><a href="http://www.php.net/FAQ.php" target="_blank">PHP: + Frequently Asked Questions</a></span></li> + <li><span class="lihack"><a href="http://www.php.net/links.php" target="_blank">PHP: + Links</a></span></li> + <li><span class="lihack"><a href="http://www.zend.com/" target="_blank">Zend + / Where PHP meets eBusiness</a></span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3>Build & Install Instructions</h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack"><a href="http://www.php.net/anoncvs.php" target="_blank">Building + the latest PHP source from CVS</a></span></li> + <li><span class="lihack"><a href="http://www.geocities.com/ro_marius/mod_php4.html" target="_blank">Win32 + mod_php4 - How To</a></span></li> + <li><span class="lihack"><a href="http://www.php.net/manual/en/install-windows.php" target="_blank">PHP + Build Instructions for Win32</a></span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3>Build & Install Tools</h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack"><a href="http://www.gnu.org/software/autoconf/autoconf.html" target="_blank">Autoconf</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/automake/automake.html" target="_blank">Automake</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/bison/bison.html" target="_blank">Bison</a></span></li> + <li><span class="lihack"><a href="http://www.cvshome.org/" target="_blank">CVS</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/flex/flex.html" target="_blank">Flex</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/gcc/gcc.html" target="_blank">GCC: + The GNU Compiler Collection</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/gdb/gdb.html" target="_blank">gdb: + GNU Debugger</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/gzip/gzip.html" target="_blank">gzip</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/libtool/libtool.html" target="_blank">libtool</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/m4/m4.html" target="_blank">m4</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/make/make.html" target="_blank">Make</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/tar/tar.html" target="_blank">tar</a></span></li> + <li><span class="lihack"><a href="http://www.perl.com/" target="_blank">Per</a></span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3>Other PHP Resources</h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack"><a href="http://www.zugeschaut-und-mitgebaut.de/php/" target="_blank">Hartmut + Holzgraefe's PHP Function & Documentation Resource</a></span></li> + <li><span class="lihack"><a href="http://www.php4win.de/" target="_blank">[napp] + (not another php portal) Basic support for PHP on win32. The main + focus is providing binary builds of PHP.</a></span></li> + <li><span class="lihack"><a href="http://sel.gsfc.nasa.gov/website/documents/online-doc.htm" target="_blank">NASA's + Software Engineering Lab - Online Documents</a></span></li> + <li><span class="lihack"><a href="http://www.construx.com/ladder/index.htm" target="_blank">Construx + Software Professional Developer Resources</a></span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + </table> +<?php + +siteFooter(); ?> Index: qaweb/preview/members.php diff -u qaweb/preview/members.php:1.2 qaweb/preview/members.php:1.3 --- qaweb/preview/members.php:1.2 Sat Oct 20 14:30:58 2001 +++ qaweb/preview/members.php Sun Oct 21 11:53:06 2001 @@ -1,2 +1,13 @@ -<?php +<?php +include("include/functions.php"); + +$TITLE = "Member List [PHP-QAT: Quality Assurance Team]"; +$SITE_UPDATE = date("D M d H:i:s Y T", filectime($SCRIPT_FILENAME))."<br>/* $ID$ */"; + +siteHeader(); +?> + +<?php + +siteFooter(); ?> Index: qaweb/preview/projects.php diff -u qaweb/preview/projects.php:1.2 qaweb/preview/projects.php:1.3 --- qaweb/preview/projects.php:1.2 Sat Oct 20 14:30:58 2001 +++ qaweb/preview/projects.php Sun Oct 21 11:53:06 2001 @@ -1,2 +1,149 @@ -<?php +<?php +include("include/functions.php"); + +$TITLE = "Projects & Goals [PHP-QAT: Quality Assurance Team]"; +$SITE_UPDATE = date("D M d H:i:s Y T", filectime($SCRIPT_FILENAME))."<br>/* $ID$ */"; + +siteHeader(); +?> + <table width="70%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> + <td width="100%"> + <h1>PHP-QAT Goals</h1> + </td> + <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3>Release Candidates Testing and QA</h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack">Release Candidate Build </span></li> + <li><span class="lihack">Automated Smoke Tests </span></li> + <li><span class="lihack">Automated QA Checklists </span></li> + <li><span class="lihack">Automated Regression Tests </span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3>Modify The Bug Database Interface</h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h4>The interface should:<br> + </h4> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack">reduce the occurance of multiple reports on the same bug</span></li> + <li><span class="lihack">improve the accuracy of the reports </span></li> + <li><span class="lihack">make it easier for the QAT to reproduce the bug </span></li> + <li><span class="lihack">track the solution to the bug </span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3><a class="h3_link" href="http://bugs.php.net" target="_blank">Bug + Hunting</a></h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack">analysing/closing existing bug reports at bugs.php.net </span></li> + <li><span class="lihack">analysing new bugs posted on the php-dev list </span></li> + <li><span class="lihack">actively seeking and tracking bugs on available platforms </span></li> + <li><span class="lihack">monitoring/reviewing information from existing PHP mailing lists</span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h1>Finish PHP-QAT Website</h1> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3>QA Team Roster Application</h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack">Finish how to help page </span></li> + <li><span class="lihack">Archive and condense important threads from the php-qa list + à la perl.com</span></li> + <li><span class="lihack">Expand projects/goals page: + <ul> + <li>add additional information on projects. </li> + <li>build simple interface to allow project managers to update + goals, status, members, etc... for projects</li> + </ul> + </span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3>Provide Client-Side Bug Reporting via PHP Interpreter</h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack">Add functionality to PHP to help php users submit accurate bugs. + </span></li> + <li><span class="lihack">Probably the best solution that has been proposed is the addition + of a submit_bug() function that would automatically send platform + data, along with PHP interpreter state when it is called. This + solution would address the security concerns that have been raised + by the possible display of platform information to malicious visitors. + </span></li> + <li><span class="lihack">Bugs gathered from this source would need to be filtered by + an agent before they could be considered truly useful. </span></li> + <li><span class="lihack">Note that filtering many spurious bug reports should be relatively + simple. Bug reports that were generated due to parse errors could + be ignored or flagged as low priority. </span></li> + <li><span class="lihack">However, all of this would require developer involvement and + is probably the least plausible goal! </span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + </table> +<?php + +siteFooter(); ?> Index: qaweb/preview/styles.css diff -u qaweb/preview/styles.css:1.3 qaweb/preview/styles.css:1.4 --- qaweb/preview/styles.css:1.3 Sat Oct 20 14:30:58 2001 +++ qaweb/preview/styles.css Sun Oct 21 11:53:06 2001 @@ -3,7 +3,12 @@ input.small { ; font-size: 75%} h1 { color: #FF9900; text-decoration: none; font-size: 18px; font-style: italic; font-weight: bold } h2 { color: #666666; text-decoration: none; font-size: 16px; font-style: italic; font-weight: bold } +h3 { color: #FF9900; text-decoration: none; font-size: 14px; font-weight: bold } +h4 { color: #FF9900; text-decoration: none; font-size: 14px; } +.h3_link { color: #FF9900; text-decoration: none; font-size: 14px; font-weight: bold; text-decoration: underline;} .headline_white { color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: bolder} .head_links { font-size: 9pt; color: #000000; text-decoration: none} .subhead_news { font-size: 9pt; color: #000000; text-decoration: none} .footer { color: #000000; text-decoration: none ; font-size: 8pt} +/* Use this w/spans to hack past Netscape's li css etc bug. */ +.lihack { font: 11pt Arial, Helvetica, sans-serif; text-decoration: none; color: #000000 } \ No newline at end of file Index: qaweb/preview/include/functions.php diff -u qaweb/preview/include/functions.php:1.2 qaweb/preview/include/functions.php:1.3 --- qaweb/preview/include/functions.php:1.2 Sun Oct 21 09:39:44 2001 +++ qaweb/preview/include/functions.php Sun Oct 21 11:53:06 2001 @@ -6,23 +6,233 @@ Version: $ID$ */ -$default_placeholder = array(0 => array("[%TITLE%]", - "PHP-QAT: Quality Assurance Team"), - - 1 => array("[%CURRENT_DATE%]", - date("l, F d, Y", time())), +function siteHeader() { +?> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> + <title><?= $GLOBALS["TITLE"]; ?></title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="MSSmartTagsPreventParsing" content="TRUE"> + <link rel="stylesheet" href="styles.css" type="text/css"> +</head> - 2 => array("[%SITE_UPDATE%]", - date("D M d H:i:s Y T", filectime($SCRIPT_FILENAME))."<br>$SITE_UPDATE") +<body bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" alink="#000000" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" background="gfx/grey_dark.jpg"> +<table width="100%" border="0" cellspacing="0" cellpadding="0" height="102"> + <tr> + <td background="gfx/orange_light.jpg"><img src="gfx/spacer.gif" width="5" height="1"><img src="gfx/logo_qa.jpg" width="111" height="58"></td> + <td background="gfx/orange_light.jpg" align="right" valign="bottom"> + <table border="0" cellspacing="0" cellpadding="0" height="70"> + <tr> + <td align="right" valign="top" class="headline_white"><?= date("l, F d, Y", time()); ?></td> + <td align="right" valign="top" class="headline_white"><img src="gfx/spacer.gif" width="5" height="1"></td> + </tr> + <tr> + <td valign="bottom" align="right"><a href="index.php" class="head_links">Home</a> + | <a href="projects.php" class="head_links">Projects and Goals</a> + | <a href="links.php" class="head_links">Links & Resources</a> + | <a href="members.php" class="head_links">Members</a> | <a href="howtohelp.php" class="head_links">How + to help</a></td> + <td valign="bottom" align="right" class="head_links"> </td> + </tr> + </table> + </td> + </tr> + <tr> + <td colspan="2" bgcolor="#000000" height="1"><img src="gfx/spacer.gif" width="1" height="1" border="0"></td> + </tr> + <tr> + <form method="get" action="http://bugs.php.net/search.php" target="_blank"> + <td colspan="2" background="gfx/orange_dark.jpg" align="right" class="head_links"> search + bugs for + <input type="hidden" name="cmd" value="display"> + <input type="text" name="search_for" value="" size="30" class="small"> + <input type="image" src="gfx/submit.gif" border="0" width="11" height="11" alt="search" align="bottom" name="image"> <img src="gfx/spacer.gif" width="3" height="8" border="0"></td> + </form> + </tr> + <tr> + <td colspan="2" bgcolor="#000000" height="1"><img src="gfx/spacer.gif" width="1" height="1"></td> + </tr> +</table> + +<table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td width="200" background="gfx/grey_light.jpg" align="center" valign="top"> + <table width="95%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td width="5"><img src="gfx/spacer.gif" width="5" height="1"></td> + <td> </td> + <td width="5"><img src="gfx/spacer.gif" width="5" height="1"></td> + </tr> + <tr> + <td width="5"> </td> + <td> + <h2>PHP-QAT</h2> + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td class="head_links"> + The PHP/QA Team is a small group of developers + whose primary goal is to support the PHP core developers by providing + them with timely quality assurance. + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td> </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td> + <h2>Projects & Goals</h2> + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td class="head_links"> + Find more information about PHP/QA Team's current + projects and future goals. (<a href="projects.php">view</a>) + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td> </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td> + <h2>Links & Resources</h2> + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td class="head_links"> + Visit the PHP|QAT Links & Resources page. + We have links to web based resources for ... (<a href="links.php">view</a>) + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td> </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td> + <h2>Members</h2> + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td class="head_links"> + View the PHP-QAT Member register. (<a href="members.php">view</a>) + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td> </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td> + <h2>Contact Information</h2> + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td class="head_links"> + + <p>Questions about the PHP/QAT should be sent to the <a href="mailto:php-qa@lists.php.net">PHP/QAT + Mailing List</a></p> + <p> Questions regarding this site should be sent to the <a href="mailto:bate@php.net">PHP/QAT + Site Administrator</a></p> + <p> Bug Reports should be submitted to the official PHP bug list + (<a href="http://bugs.php.net/" target="_blank">http://bugs.php.net</a>)</p> + <p> All other questions should be directed to the appropriate <a href="http://www.php.net/support.php" target="_blank">PHP + mailing list.</a> </p> + + </td> + <td width="5"> </td> + </tr> + </table> + <img src="gfx/spacer.gif" width="1" height="20"></td> + <td background="gfx/line_1.jpg" width="1"><img src="gfx/spacer.gif" width="1" height="1"><br> +</td> + <td align="left" valign="top" bgcolor="#FFFFFF"> <br> +<?php +} + +function siteFooter() { +?> + </tr> +</table> +<table width="100%" border="0" cellspacing="0" cellpadding="0" height="22"> + <tr> + <td bgcolor="#000000"><img src="gfx/spacer.gif" width="1" height="1"></td> + </tr> + <tr> + <td background="gfx/orange_dark.jpg"> </td> + </tr> + <tr> + <td bgcolor="#000000"><img src="gfx/spacer.gif" width="1" height="1"></td> + </tr> +</table> +<table width="100%" border="0" cellspacing="0" cellpadding="0" height="60"> + <tr valign="middle"> + <td background="gfx/grey_dark.jpg" align="left" width="100%"> + <table border="0" cellspacing="0" cellpadding="0"> + <tr> + <td width="80" align="center"><img src="gfx/php-logo.gif" width="69" height="36"></td> + <td class="footer"><a href="http://www.php.net/copyright.php" target="_blank">Copyright + © 2001 The PHP Group</a><br> + All rights reserved.</td> + </tr> + </table> + </td> + <td background="gfx/grey_dark.jpg" nowrap align="right" class="footer">Last + update: <?= $GLOBALS["SITE_UPDATE"]; ?></td> + </tr> +</table> +</body> +</html> +<?php +} + +$default_placeholder = array(0 => array("[%CURRENT_DATE%]", + ), + + 1 => array("[%SITE_UPDATE%]", + ) ); -$template_array = array("home" => "templates/tmpl_home.html", - "projects" => "templates/tmpl_projects.html", - "links" => "templates/tmpl_links.html", - "members" => "templates/tmpl_members.html", - "howtohelp" => "templates/tmpl_howtohelp.html", + + +$template_array = array("home" => array("templates/tmpl_home.html", + ""), + "projects" => array("templates/tmpl_projects.html", + ""), + "links" => array("templates/tmpl_links.html", + ""), + "members" => array("templates/tmpl_members.html", + ""), + "howtohelp" => array("templates/tmpl_howtohelp.html", + "") ); + function replace_default(&$class) { foreach ($GLOBALS["default_placeholder"] as $key) { $class->replaceVar($key[0], $key[1]); @@ -30,7 +240,13 @@ return true; } -function make_link($string, $text = "") { + +function make_link($string, $text = "", $target = "") { + $buffer = "<a href=\"$string\""; + if ($target!="") $buffer .= " target=\"$target\">"; else $buffer .= ">"; + if ($text!="") $buffer .= "$text"; else $buffer .= "$string"; + $buffer .= "</a>"; + return $buffer; } - + ?>
Index: qaweb/preview/howtohelp.php diff -u qaweb/preview/howtohelp.php:1.2 qaweb/preview/howtohelp.php:1.3 --- qaweb/preview/howtohelp.php:1.2 Sat Oct 20 14:30:58 2001 +++ qaweb/preview/howtohelp.php Sun Oct 21 11:53:06 2001 @@ -1,2 +1,13 @@ -<?php +<?php +include("include/functions.php"); + +$TITLE = "How To Help [PHP-QAT: Quality Assurance Team]"; +$SITE_UPDATE = date("D M d H:i:s Y T", filectime($SCRIPT_FILENAME))."<br>/* $ID$ */"; + +siteHeader(); +?> + +<?php + +siteFooter(); ?> Index: qaweb/preview/index.php diff -u qaweb/preview/index.php:1.6 qaweb/preview/index.php:1.7 --- qaweb/preview/index.php:1.6 Sun Oct 21 09:39:00 2001 +++ qaweb/preview/index.php Sun Oct 21 11:53:06 2001 @@ -1,16 +1,47 @@ <?php -include("include/freeTemplate.class.php"); include("include/functions.php"); -$qa_cl = new freeTemplate; +$TITLE = "PHP-QAT: Quality Assurance Team"; +$SITE_UPDATE = date("D M d H:i:s Y T", filectime($SCRIPT_FILENAME))."<br>/* $ID$ */"; - $qa_cl->assignTemplate($template_array["home"]); - replace_default($qa_cl); - - $SITE_UPDATE = "/* $ID$ */"; - - - $qa_cl->printTemplate(); +siteHeader(); +?> + <table width="70%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> + <td width="100%"> + <h1>Welcome to the<br> + PHP Quality Assurance Team Web Page.</h1> + </td> + <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <p>The team is currently focused on several areas: </p> + <ul> + <li><span class="lihack">Reworking the bug tracking system. (Subscribe to to <a href="mailto:jitterbug-subscribe@lists.php.net">jitterbug-subscribe@lists.php.net</a> + for more information)</span></li> + <li><span class="lihack">Processing the open bug reports from the official PHP 4 bug + list (<a href="http://bugs.php.net" target="_blank">http://bugs.php.net</a>).</span></li> + <li><span class="lihack">Providing QA for the latest PHP release candidate.</span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%">If you would like to contribute to this effort, please + visit our How To Help page. (<a href="howtohelp.php">view</a>)</td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> </td> + <td width="10"> </td> + </tr> + </table> +<?php -unset($qa_cl); +siteFooter(); ?> Index: qaweb/preview/links.php diff -u qaweb/preview/links.php:1.2 qaweb/preview/links.php:1.3 --- qaweb/preview/links.php:1.2 Sat Oct 20 14:30:58 2001 +++ qaweb/preview/links.php Sun Oct 21 11:53:06 2001 @@ -1,2 +1,130 @@ -<?php +<?php +include("include/functions.php"); + +$TITLE = "Links & Resources [PHP-QAT: Quality Assurance Team]"; +$SITE_UPDATE = date("D M d H:i:s Y T", filectime($SCRIPT_FILENAME))."<br>/* $ID$ */"; + +siteHeader(); +?> + <table width="70%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> + <td width="100%"> + <h1>Links and Resources</h1> + </td> + <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> Please suggest links and resources for this page! + Email the PHP-QA list (<a href="mailto:php-qa@lists.php.net">php-qa@lists.php.net</a>) + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3>Official PHP Resources</h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack"><a href="http://bugs.php.net/" target="_blank">PHP: + Bug Reporting</a></span></li> + <li><span class="lihack"><a href="http://cvs.php.net" target="_blank">PHP: + CVS Repository</a></span></li> + <li><span class="lihack"><a href="http://www.php.net/docs.php" target="_blank">PHP: + Documentation</a></span></li> + <li><span class="lihack"><a href="http://www.php.net/FAQ.php" target="_blank">PHP: + Frequently Asked Questions</a></span></li> + <li><span class="lihack"><a href="http://www.php.net/links.php" target="_blank">PHP: + Links</a></span></li> + <li><span class="lihack"><a href="http://www.zend.com/" target="_blank">Zend + / Where PHP meets eBusiness</a></span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3>Build & Install Instructions</h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack"><a href="http://www.php.net/anoncvs.php" target="_blank">Building + the latest PHP source from CVS</a></span></li> + <li><span class="lihack"><a href="http://www.geocities.com/ro_marius/mod_php4.html" target="_blank">Win32 + mod_php4 - How To</a></span></li> + <li><span class="lihack"><a href="http://www.php.net/manual/en/install-windows.php" target="_blank">PHP + Build Instructions for Win32</a></span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3>Build & Install Tools</h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack"><a href="http://www.gnu.org/software/autoconf/autoconf.html" target="_blank">Autoconf</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/automake/automake.html" target="_blank">Automake</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/bison/bison.html" target="_blank">Bison</a></span></li> + <li><span class="lihack"><a href="http://www.cvshome.org/" target="_blank">CVS</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/flex/flex.html" target="_blank">Flex</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/gcc/gcc.html" target="_blank">GCC: + The GNU Compiler Collection</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/gdb/gdb.html" target="_blank">gdb: + GNU Debugger</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/gzip/gzip.html" target="_blank">gzip</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/libtool/libtool.html" target="_blank">libtool</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/m4/m4.html" target="_blank">m4</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/make/make.html" target="_blank">Make</a></span></li> + <li><span class="lihack"><a href="http://www.gnu.org/software/tar/tar.html" target="_blank">tar</a></span></li> + <li><span class="lihack"><a href="http://www.perl.com/" target="_blank">Per</a></span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3>Other PHP Resources</h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack"><a href="http://www.zugeschaut-und-mitgebaut.de/php/" target="_blank">Hartmut + Holzgraefe's PHP Function & Documentation Resource</a></span></li> + <li><span class="lihack"><a href="http://www.php4win.de/" target="_blank">[napp] + (not another php portal) Basic support for PHP on win32. The main + focus is providing binary builds of PHP.</a></span></li> + <li><span class="lihack"><a href="http://sel.gsfc.nasa.gov/website/documents/online-doc.htm" target="_blank">NASA's + Software Engineering Lab - Online Documents</a></span></li> + <li><span class="lihack"><a href="http://www.construx.com/ladder/index.htm" target="_blank">Construx + Software Professional Developer Resources</a></span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + </table> +<?php + +siteFooter(); ?> Index: qaweb/preview/members.php diff -u qaweb/preview/members.php:1.2 qaweb/preview/members.php:1.3 --- qaweb/preview/members.php:1.2 Sat Oct 20 14:30:58 2001 +++ qaweb/preview/members.php Sun Oct 21 11:53:06 2001 @@ -1,2 +1,13 @@ -<?php +<?php +include("include/functions.php"); + +$TITLE = "Member List [PHP-QAT: Quality Assurance Team]"; +$SITE_UPDATE = date("D M d H:i:s Y T", filectime($SCRIPT_FILENAME))."<br>/* $ID$ */"; + +siteHeader(); +?> + +<?php + +siteFooter(); ?> Index: qaweb/preview/projects.php diff -u qaweb/preview/projects.php:1.2 qaweb/preview/projects.php:1.3 --- qaweb/preview/projects.php:1.2 Sat Oct 20 14:30:58 2001 +++ qaweb/preview/projects.php Sun Oct 21 11:53:06 2001 @@ -1,2 +1,149 @@ -<?php +<?php +include("include/functions.php"); + +$TITLE = "Projects & Goals [PHP-QAT: Quality Assurance Team]"; +$SITE_UPDATE = date("D M d H:i:s Y T", filectime($SCRIPT_FILENAME))."<br>/* $ID$ */"; + +siteHeader(); +?> + <table width="70%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> + <td width="100%"> + <h1>PHP-QAT Goals</h1> + </td> + <td width="10"><img src="gfx/spacer.gif" width="10" height="1"></td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3>Release Candidates Testing and QA</h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack">Release Candidate Build </span></li> + <li><span class="lihack">Automated Smoke Tests </span></li> + <li><span class="lihack">Automated QA Checklists </span></li> + <li><span class="lihack">Automated Regression Tests </span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3>Modify The Bug Database Interface</h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h4>The interface should:<br> + </h4> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack">reduce the occurance of multiple reports on the same bug</span></li> + <li><span class="lihack">improve the accuracy of the reports </span></li> + <li><span class="lihack">make it easier for the QAT to reproduce the bug </span></li> + <li><span class="lihack">track the solution to the bug </span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3><a class="h3_link" href="http://bugs.php.net" target="_blank">Bug + Hunting</a></h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack">analysing/closing existing bug reports at bugs.php.net </span></li> + <li><span class="lihack">analysing new bugs posted on the php-dev list </span></li> + <li><span class="lihack">actively seeking and tracking bugs on available platforms </span></li> + <li><span class="lihack">monitoring/reviewing information from existing PHP mailing lists</span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h1>Finish PHP-QAT Website</h1> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3>QA Team Roster Application</h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack">Finish how to help page </span></li> + <li><span class="lihack">Archive and condense important threads from the php-qa list + à la perl.com</span></li> + <li><span class="lihack">Expand projects/goals page: + <ul> + <li>add additional information on projects. </li> + <li>build simple interface to allow project managers to update + goals, status, members, etc... for projects</li> + </ul> + </span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <h3>Provide Client-Side Bug Reporting via PHP Interpreter</h3> + </td> + <td width="10"> </td> + </tr> + <tr> + <td width="10"> </td> + <td width="100%"> + <ul> + <li><span class="lihack">Add functionality to PHP to help php users submit accurate bugs. + </span></li> + <li><span class="lihack">Probably the best solution that has been proposed is the addition + of a submit_bug() function that would automatically send platform + data, along with PHP interpreter state when it is called. This + solution would address the security concerns that have been raised + by the possible display of platform information to malicious visitors. + </span></li> + <li><span class="lihack">Bugs gathered from this source would need to be filtered by + an agent before they could be considered truly useful. </span></li> + <li><span class="lihack">Note that filtering many spurious bug reports should be relatively + simple. Bug reports that were generated due to parse errors could + be ignored or flagged as low priority. </span></li> + <li><span class="lihack">However, all of this would require developer involvement and + is probably the least plausible goal! </span></li> + </ul> + </td> + <td width="10"> </td> + </tr> + </table> +<?php + +siteFooter(); ?> Index: qaweb/preview/styles.css diff -u qaweb/preview/styles.css:1.3 qaweb/preview/styles.css:1.4 --- qaweb/preview/styles.css:1.3 Sat Oct 20 14:30:58 2001 +++ qaweb/preview/styles.css Sun Oct 21 11:53:06 2001 @@ -3,7 +3,12 @@ input.small { ; font-size: 75%} h1 { color: #FF9900; text-decoration: none; font-size: 18px; font-style: italic; font-weight: bold } h2 { color: #666666; text-decoration: none; font-size: 16px; font-style: italic; font-weight: bold } +h3 { color: #FF9900; text-decoration: none; font-size: 14px; font-weight: bold } +h4 { color: #FF9900; text-decoration: none; font-size: 14px; } +.h3_link { color: #FF9900; text-decoration: none; font-size: 14px; font-weight: bold; text-decoration: underline;} .headline_white { color: #FFFFFF; text-decoration: none; font-size: 14px; font-weight: bolder} .head_links { font-size: 9pt; color: #000000; text-decoration: none} .subhead_news { font-size: 9pt; color: #000000; text-decoration: none} .footer { color: #000000; text-decoration: none ; font-size: 8pt} +/* Use this w/spans to hack past Netscape's li css etc bug. */ +.lihack { font: 11pt Arial, Helvetica, sans-serif; text-decoration: none; color: #000000 } \ No newline at end of file Index: qaweb/preview/include/functions.php diff -u qaweb/preview/include/functions.php:1.2 qaweb/preview/include/functions.php:1.3 --- qaweb/preview/include/functions.php:1.2 Sun Oct 21 09:39:44 2001 +++ qaweb/preview/include/functions.php Sun Oct 21 11:53:06 2001 @@ -6,23 +6,233 @@ Version: $ID$ */ -$default_placeholder = array(0 => array("[%TITLE%]", - "PHP-QAT: Quality Assurance Team"), - - 1 => array("[%CURRENT_DATE%]", - date("l, F d, Y", time())), +function siteHeader() { +?> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> + <title><?= $GLOBALS["TITLE"]; ?></title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="MSSmartTagsPreventParsing" content="TRUE"> + <link rel="stylesheet" href="styles.css" type="text/css"> +</head> - 2 => array("[%SITE_UPDATE%]", - date("D M d H:i:s Y T", filectime($SCRIPT_FILENAME))."<br>$SITE_UPDATE") +<body bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" alink="#000000" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" background="gfx/grey_dark.jpg"> +<table width="100%" border="0" cellspacing="0" cellpadding="0" height="102"> + <tr> + <td background="gfx/orange_light.jpg"><img src="gfx/spacer.gif" width="5" height="1"><img src="gfx/logo_qa.jpg" width="111" height="58"></td> + <td background="gfx/orange_light.jpg" align="right" valign="bottom"> + <table border="0" cellspacing="0" cellpadding="0" height="70"> + <tr> + <td align="right" valign="top" class="headline_white"><?= date("l, F d, Y", time()); ?></td> + <td align="right" valign="top" class="headline_white"><img src="gfx/spacer.gif" width="5" height="1"></td> + </tr> + <tr> + <td valign="bottom" align="right"><a href="index.php" class="head_links">Home</a> + | <a href="projects.php" class="head_links">Projects and Goals</a> + | <a href="links.php" class="head_links">Links & Resources</a> + | <a href="members.php" class="head_links">Members</a> | <a href="howtohelp.php" class="head_links">How + to help</a></td> + <td valign="bottom" align="right" class="head_links"> </td> + </tr> + </table> + </td> + </tr> + <tr> + <td colspan="2" bgcolor="#000000" height="1"><img src="gfx/spacer.gif" width="1" height="1" border="0"></td> + </tr> + <tr> + <form method="get" action="http://bugs.php.net/search.php" target="_blank"> + <td colspan="2" background="gfx/orange_dark.jpg" align="right" class="head_links"> search + bugs for + <input type="hidden" name="cmd" value="display"> + <input type="text" name="search_for" value="" size="30" class="small"> + <input type="image" src="gfx/submit.gif" border="0" width="11" height="11" alt="search" align="bottom" name="image"> <img src="gfx/spacer.gif" width="3" height="8" border="0"></td> + </form> + </tr> + <tr> + <td colspan="2" bgcolor="#000000" height="1"><img src="gfx/spacer.gif" width="1" height="1"></td> + </tr> +</table> + +<table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td width="200" background="gfx/grey_light.jpg" align="center" valign="top"> + <table width="95%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td width="5"><img src="gfx/spacer.gif" width="5" height="1"></td> + <td> </td> + <td width="5"><img src="gfx/spacer.gif" width="5" height="1"></td> + </tr> + <tr> + <td width="5"> </td> + <td> + <h2>PHP-QAT</h2> + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td class="head_links"> + The PHP/QA Team is a small group of developers + whose primary goal is to support the PHP core developers by providing + them with timely quality assurance. + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td> </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td> + <h2>Projects & Goals</h2> + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td class="head_links"> + Find more information about PHP/QA Team's current + projects and future goals. (<a href="projects.php">view</a>) + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td> </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td> + <h2>Links & Resources</h2> + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td class="head_links"> + Visit the PHP|QAT Links & Resources page. + We have links to web based resources for ... (<a href="links.php">view</a>) + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td> </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td> + <h2>Members</h2> + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td class="head_links"> + View the PHP-QAT Member register. (<a href="members.php">view</a>) + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td> </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td> + <h2>Contact Information</h2> + </td> + <td width="5"> </td> + </tr> + <tr> + <td width="5"> </td> + <td class="head_links"> + + <p>Questions about the PHP/QAT should be sent to the <a href="mailto:php-qa@lists.php.net">PHP/QAT + Mailing List</a></p> + <p> Questions regarding this site should be sent to the <a href="mailto:bate@php.net">PHP/QAT + Site Administrator</a></p> + <p> Bug Reports should be submitted to the official PHP bug list + (<a href="http://bugs.php.net/" target="_blank">http://bugs.php.net</a>)</p> + <p> All other questions should be directed to the appropriate <a href="http://www.php.net/support.php" target="_blank">PHP + mailing list.</a> </p> + + </td> + <td width="5"> </td> + </tr> + </table> + <img src="gfx/spacer.gif" width="1" height="20"></td> + <td background="gfx/line_1.jpg" width="1"><img src="gfx/spacer.gif" width="1" height="1"><br> +</td> + <td align="left" valign="top" bgcolor="#FFFFFF"> <br> +<?php +} + +function siteFooter() { +?> + </tr> +</table> +<table width="100%" border="0" cellspacing="0" cellpadding="0" height="22"> + <tr> + <td bgcolor="#000000"><img src="gfx/spacer.gif" width="1" height="1"></td> + </tr> + <tr> + <td background="gfx/orange_dark.jpg"> </td> + </tr> + <tr> + <td bgcolor="#000000"><img src="gfx/spacer.gif" width="1" height="1"></td> + </tr> +</table> +<table width="100%" border="0" cellspacing="0" cellpadding="0" height="60"> + <tr valign="middle"> + <td background="gfx/grey_dark.jpg" align="left" width="100%"> + <table border="0" cellspacing="0" cellpadding="0"> + <tr> + <td width="80" align="center"><img src="gfx/php-logo.gif" width="69" height="36"></td> + <td class="footer"><a href="http://www.php.net/copyright.php" target="_blank">Copyright + © 2001 The PHP Group</a><br> + All rights reserved.</td> + </tr> + </table> + </td> + <td background="gfx/grey_dark.jpg" nowrap align="right" class="footer">Last + update: <?= $GLOBALS["SITE_UPDATE"]; ?></td> + </tr> +</table> +</body> +</html> +<?php +} + +$default_placeholder = array(0 => array("[%CURRENT_DATE%]", + ), + + 1 => array("[%SITE_UPDATE%]", + ) ); -$template_array = array("home" => "templates/tmpl_home.html", - "projects" => "templates/tmpl_projects.html", - "links" => "templates/tmpl_links.html", - "members" => "templates/tmpl_members.html", - "howtohelp" => "templates/tmpl_howtohelp.html", + + +$template_array = array("home" => array("templates/tmpl_home.html", + ""), + "projects" => array("templates/tmpl_projects.html", + ""), + "links" => array("templates/tmpl_links.html", + ""), + "members" => array("templates/tmpl_members.html", + ""), + "howtohelp" => array("templates/tmpl_howtohelp.html", + "") ); + function replace_default(&$class) { foreach ($GLOBALS["default_placeholder"] as $key) { $class->replaceVar($key[0], $key[1]); @@ -30,7 +240,13 @@ return true; } -function make_link($string, $text = "") { + +function make_link($string, $text = "", $target = "") { + $buffer = "<a href=\"$string\""; + if ($target!="") $buffer .= " target=\"$target\">"; else $buffer .= ">"; + if ($text!="") $buffer .= "$text"; else $buffer .= "$string"; + $buffer .= "</a>"; + return $buffer; } - + ?>