cvs: qaweb /preview index.php /preview/templates tmpl_home.html
| From: | Marco Kaiser | Date: | Sun, 21 Oct 2001 01:19:53 +0000 |
| Subject: | cvs: qaweb /preview index.php /preview/templates tmpl_home.html | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-3721@lists.php.net to get a copy of this message | ||
bate Sat Oct 20 21:19:53 2001 EDT
Modified files:
/qaweb/preview index.php
/qaweb/preview/templates tmpl_home.html
Log:
Added Template Class and started function list.
Index: qaweb/preview/index.php
diff -u qaweb/preview/index.php:1.4 qaweb/preview/index.php:1.5
--- qaweb/preview/index.php:1.4 Sat Oct 20 14:30:58 2001
+++ qaweb/preview/index.php Sat Oct 20 21:19:52 2001
@@ -1,2 +1,13 @@
-<?php
+<?php
+include("include/freeTemplate.class.php");
+include("include/functions.php");
+
+$qa_cl = new freeTemplate;
+
+ $qa_cl->assignTemplate($template_array["home"]);
+ replace_default($qa_cl);
+
+ $qa_cl->printTemplate();
+
+unset($qa_cl);
?>
Index: qaweb/preview/templates/tmpl_home.html
diff -u qaweb/preview/templates/tmpl_home.html:1.1 qaweb/preview/templates/tmpl_home.html:1.2
--- qaweb/preview/templates/tmpl_home.html:1.1 Sat Oct 20 14:30:58 2001
+++ qaweb/preview/templates/tmpl_home.html Sat Oct 20 21:19:52 2001
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
- <title>PHP-QAT: Quality Assurance Team</title>
+ <title>[%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">
@@ -36,7 +36,7 @@
<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">
+ <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>