cvs: qaweb /preview/include functions.php
| From: | Marco Kaiser | Date: | Sun, 21 Oct 2001 16:31:26 +0000 |
| Subject: | cvs: qaweb /preview/include functions.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-3728@lists.php.net to get a copy of this message | ||
bate Sun Oct 21 12:31:26 2001 EDT
Modified files:
/qaweb/preview/include functions.php
Log:
changed code style
Index: qaweb/preview/include/functions.php
diff -u qaweb/preview/include/functions.php:1.3 qaweb/preview/include/functions.php:1.4
--- qaweb/preview/include/functions.php:1.3 Sun Oct 21 11:53:06 2001
+++ qaweb/preview/include/functions.php Sun Oct 21 12:31:26 2001
@@ -211,36 +211,6 @@
<?php
}
-$default_placeholder = array(0 => array("[%CURRENT_DATE%]",
- ),
-
- 1 => array("[%SITE_UPDATE%]",
- )
- );
-
-
-
-$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]);
- }
-return true;
-}
-
-
function make_link($string, $text = "", $target = "") {
$buffer = "<a href=\"$string\"";
if ($target!="") $buffer .= " target=\"$target\">"; else $buffer
.= ">";