Index: /de-v6/suche.php
===================================================================
--- /de-v6/suche.php (revision 273)
+++ /de-v6/suche.php (revision 274)
@@ -10,4 +10,7 @@
require "../lib/technikum29.php";
+
+ // Todo: add interlang link from page. needs some kind of
+ // callback
?>
Suchen
Index: /lib/search.php
===================================================================
--- /lib/search.php (revision 274)
+++ /lib/search.php (revision 274)
@@ -0,0 +1,37 @@
+ 'print_opensearch_desc',
+ );
+
+ function page_handler() {
+ if(!isset($_GET['action']))
+ return;
+ $action = $_GET['action'];
+ if(array_key_exists($action, self::$actions)) {
+ $method_name = self::$actions[$action];
+ $this->$method_name();
+ } else {
+ print "Page action $action unkown!\n";
+ }
+ }
+
+
+ function print_opensearch_desc() {
+ header('Content-Type: application/opensearchdescription+xml');
+ print ''.PHP_EOL;
+ ?>
+
+ technikum29 (de)
+ technikum29 (de)
+ http://www.technikum29.de/favicon.ico
+
+
+
+ http://www.technikum29.de/de-v6/suche.php
+
+