diff options
author | ivan <ivan> | 2003-08-08 05:42:13 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-08-08 05:42:13 +0000 |
commit | e283ab567e6890727e4d8e35c1d8097398678753 (patch) | |
tree | 2b15e95819c245027d1b8cb9f0976fd49b5b4190 /httemplate/search/sql.html | |
parent | ef7bb336cc67f127fb1d77532ad3da1369c0ae36 (diff) |
- (finish) includes! (closes: Bug#551)
- (finish) moving SQL search to including generic elements/search.html
- new elements: menubar.html, header.html, pager.html and table.html
- have masonize process .html files also
Diffstat (limited to 'httemplate/search/sql.html')
-rw-r--r-- | httemplate/search/sql.html | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/httemplate/search/sql.html b/httemplate/search/sql.html index e61ce1538..7d7fc0890 100644 --- a/httemplate/search/sql.html +++ b/httemplate/search/sql.html @@ -1,8 +1,12 @@ -<%= include( '/elements/header', 'Query Results', - include( '/elements/menubar', 'Main Menu' => $p ) +<%= include( '/elements/header.html', 'Query Results', + include( '/elements/menubar.html', 'Main Menu' => $p ) + ) %> + <%= include( 'elements/search.html', - 'name' => 'rows', - + 'name' => 'rows', + 'query' => 'SELECT '. ( $cgi->param('sql') + || eidiot('Empty query') ), + ) %> |