summaryrefslogtreecommitdiff
path: root/eg/export_template.pm
diff options
context:
space:
mode:
authorjeff <jeff>2008-03-12 16:24:34 +0000
committerjeff <jeff>2008-03-12 16:24:34 +0000
commit99037cf94d9d6b5d7c1e512a6dca842706851710 (patch)
tree71414d57ee5f6a9e9a82116b370665dfaf077a63 /eg/export_template.pm
parent523a6ea6ecb07ed1b953c05ce36ef7b33293cf18 (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 2830ce3..22eb36a 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