projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more mysql goodness, thanks dale
[freeside.git]
/
httemplate
/
search
/
svc_domain.cgi
diff --git
a/httemplate/search/svc_domain.cgi
b/httemplate/search/svc_domain.cgi
index
c274750
..
fb372db
100755
(executable)
--- a/
httemplate/search/svc_domain.cgi
+++ b/
httemplate/search/svc_domain.cgi
@@
-1,4
+1,3
@@
-<!-- $Id: svc_domain.cgi,v 1.7 2002-02-09 18:24:02 ivan Exp $ -->
<%
my $conf = new FS::Conf;
<%
my $conf = new FS::Conf;
@@
-36,9
+35,14
@@
if ( scalar(@svc_domain) == 1 ) {
print $cgi->redirect(popurl(2). "view/svc_domain.cgi?". $svc_domain[0]->svcnum);
#exit;
} elsif ( scalar(@svc_domain) == 0 ) {
print $cgi->redirect(popurl(2). "view/svc_domain.cgi?". $svc_domain[0]->svcnum);
#exit;
} elsif ( scalar(@svc_domain) == 0 ) {
+%>
+<!-- mason kludge -->
+<%
eidiot "No matching domains found!\n";
} else {
eidiot "No matching domains found!\n";
} else {
-
+%>
+<!-- mason kludge -->
+<%
my($total)=scalar(@svc_domain);
print header("Domain Search Results",''), <<END;
my($total)=scalar(@svc_domain);
print header("Domain Search Results",''), <<END;