From 3ce7691203a7737406bf2d4442f7fd84b81f847e Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 23 Aug 2006 22:25:39 +0000 Subject: Will things ever be the same again? It's the final masonize --- httemplate/search/sql.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'httemplate/search/sql.html') diff --git a/httemplate/search/sql.html b/httemplate/search/sql.html index b28c045d1..681a95d60 100644 --- a/httemplate/search/sql.html +++ b/httemplate/search/sql.html @@ -1,4 +1,4 @@ -<%= include( 'elements/search.html', +<% include( 'elements/search.html', 'title' => 'Query Results', 'name' => 'rows', 'query' => 'SELECT '. ( $cgi->param('sql') -- cgit v1.2.1 From 590603ecaea3184f64530755a76626be8205da49 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 3 Feb 2007 11:36:30 +0000 Subject: add customer status column to customer & most other reports. also put the C in ACL in the search/ and graph/ directories. --- httemplate/search/sql.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'httemplate/search/sql.html') diff --git a/httemplate/search/sql.html b/httemplate/search/sql.html index 681a95d60..5f64ebc28 100644 --- a/httemplate/search/sql.html +++ b/httemplate/search/sql.html @@ -5,3 +5,9 @@ || eidiot('Empty query') ), ) %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Raw SQL'); + + -- cgit v1.2.1