diff options
author | jeff <jeff> | 2008-03-12 16:24:34 +0000 |
---|---|---|
committer | jeff <jeff> | 2008-03-12 16:24:34 +0000 |
commit | 99037cf94d9d6b5d7c1e512a6dca842706851710 (patch) | |
tree | 71414d57ee5f6a9e9a82116b370665dfaf077a63 /eg | |
parent | 523a6ea6ecb07ed1b953c05ce36ef7b33293cf18 (diff) |
allow exports to add links to customer view (#1407)
Diffstat (limited to 'eg')
-rw-r--r-- | eg/export_template.pm | 9 |
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 |