X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fbrowse%2Fagent_type.cgi;h=5a84385896be31a13c5242af3c79b896f5952b52;hp=d75c45081d7461ca57baf88df11b54a429c9fef3;hb=3ef62a0570055da710328937e7f65dbb2c027c62;hpb=69c6e80a7253f927af1780a3e0dd3fcf50110599
diff --git a/httemplate/browse/agent_type.cgi b/httemplate/browse/agent_type.cgi
index d75c45081..5a8438589 100755
--- a/httemplate/browse/agent_type.cgi
+++ b/httemplate/browse/agent_type.cgi
@@ -1,16 +1,19 @@
-
-<%
-
-print header("Agent Type Listing", menubar(
+
+<%= header("Agent Type Listing", menubar(
'Main Menu' => $p,
-)), "Agent types define groups of packages that you can then assign to".
- " particular agents.
", &table(), <
- Agent Type |
- Packages |
-
-END
+ 'Agents' => $p. 'browse/agent.cgi',
+)) %>
+Agent types define groups of packages that you can then assign to particular
+agents.
+Add a new agent type
+
+<%= table() %>
+
+ Agent Type |
+ Packages |
+
+<%
foreach my $agent_type ( sort {
$a->getfield('typenum') <=> $b->getfield('typenum')
} qsearch('agent_type',{}) ) {
@@ -47,7 +50,6 @@ END
}
print <Add a new agent type |