iliaa           Wed Sep 14 18:00:07 2005 EDT

  Modified files:              
    /livedocs/themes/default    html_format.php 
  Log:
  Added a search element at the top of pages in default templates.
  
  # Thanks to Sean Coates for the patch
  
  
http://cvs.php.net/diff.php/livedocs/themes/default/html_format.php?r1=1.15&r2=1.16&ty=u
Index: livedocs/themes/default/html_format.php
diff -u livedocs/themes/default/html_format.php:1.15 
livedocs/themes/default/html_format.php:1.16
--- livedocs/themes/default/html_format.php:1.15        Wed Sep 14 11:08:48 2005
+++ livedocs/themes/default/html_format.php     Wed Sep 14 18:00:06 2005
@@ -18,7 +18,7 @@
 // | headers and footers for the HTML rendering                           |
 // +----------------------------------------------------------------------+
 //  
-// $Id: html_format.php,v 1.15 2005/09/14 15:08:48 iliaa Exp $
+// $Id: html_format.php,v 1.16 2005/09/14 22:00:06 iliaa Exp $
 
 // in livedoc.php
 
@@ -26,6 +26,7 @@
 {
        global $lang, $title, $css_url;
        $dir = RTL;
+       $base = WEBBASE;
        $head =<<<HEAD
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
@@ -36,6 +37,13 @@
 <link rel="stylesheet" href="$css_url" type="text/css"/>
 </head>
 <body$dir>
+<div style="width: 100%; background-color: #DDD; border-bottom: 1px dotted 
black; text-align: right; padding: 3px;">
+ <form action="{$base}search.php" method="get" style="padding: 0; margin: 0;">
+  <input type="text" width="30" name="q" />
+  Strict: <input type="checkbox" value="1" name="s" />
+  <input type="submit" name="search" value="Search" />
+ </form>
+</div>
 <table border="0" cellpadding="0" cellspacing="0" width="100%">
 <tr><td height="1"></td><td rowspan="2" valign="top">
 HEAD;

Reply via email to