diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2012-05-29 18:43:41 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2012-05-29 18:43:41 -0700 |
| commit | dcaa62482395cc9d67e03994fff8e68fb471f812 (patch) | |
| tree | 0e0c0c82d964789d714f098956c233374319bad0 | |
| parent | 2a6a07983efbc87df88f48c3b09e51b90a93d21e (diff) | |
missing file from #17579
| -rw-r--r-- | httemplate/view/cust_main/custom_content.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/httemplate/view/cust_main/custom_content.html b/httemplate/view/cust_main/custom_content.html new file mode 100644 index 000000000..dd3d1f0d4 --- /dev/null +++ b/httemplate/view/cust_main/custom_content.html @@ -0,0 +1,31 @@ +% foreach my $item (@content) { +% +% if ( $item =~ /^\s*$/ ) { + <BR> +% next; +% } +% +% if ( $items{$item} ) { + <& "custom_content/$item.html", $cust_main &> +% } else { + Unknown item <% $item |h %><BR> +% } +% } +<%init> + +my($cust_main) = @_; + +my $conf = new FS::Conf; + +my @content = $conf->config('cust_main-custom_content'); + +my %items = map { $_=>1 } qw( + small_custview + birthdate + spouse_birthdate + svc_acct + svc_phone + svc_hardware +); + +</%init> |
