summaryrefslogtreecommitdiff
path: root/eg/export_template.pm
diff options
context:
space:
mode:
authorjeff <jeff>2008-03-12 16:22:11 +0000
committerjeff <jeff>2008-03-12 16:22:11 +0000
commit8b6ac2a239c1df4adc00601cde3013ccaa758278 (patch)
tree0536fcd97cf460ba62fcb04a15877419afd8ba08 /eg/export_template.pm
parent233ee7a1d81fc8bd87facd1d80212ab069f3e322 (diff)
allow exports to add links to customer view (#1407)
Diffstat (limited to 'eg/export_template.pm')
-rw-r--r--eg/export_template.pm9
1 files changed, 8 insertions, 1 deletions
diff --git a/eg/export_template.pm b/eg/export_template.pm
index 2830ce337..22eb36a42 100644
--- a/eg/export_template.pm
+++ b/eg/export_template.pm
@@ -56,7 +56,7 @@ sub _export_delete {
ref($err_or_queue) ? '' : $err_or_queue;
}
-#these two are optional
+#these three are optional
# fallback for svc_acct will change and restore password
sub _export_suspend {
my( $self, $svc_something ) = (shift, shift);
@@ -72,6 +72,13 @@ sub _export_unsuspend {
ref($err_or_queue) ? '' : $err_or_queue;
}
+sub export_links {
+ my($self, $svc_something, $arrayref) = (shift, shift, shift);
+ #push @$arrayref, qq!<A HREF="http://example.com/~!. $svc_something->username.
+ # qq!">!. $svc_something->username. qq!</A>!;
+ '';
+}
+
###
#a good idea to queue anything that could fail or take any time