X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fbrowse%2Fagent_type.cgi;h=5a84385896be31a13c5242af3c79b896f5952b52;hp=eb20c640433d0e684a93971278c5fef31ac8b499;hb=6d02e527490b2f0cf080f7b519443caeecd76357;hpb=50c327ded5ad9b96c5f5975643d46511abc01d49
diff --git a/httemplate/browse/agent_type.cgi b/httemplate/browse/agent_type.cgi
index eb20c6404..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 |