From: ivan Date: Sun, 13 Apr 2008 10:20:09 +0000 (+0000) Subject: add a tr- for just the select bit of a selectlayers... X-Git-Tag: root_of_webpay_support~710 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=0fa6b21504e13fb8997eec6961623c7ab52be733 add a tr- for just the select bit of a selectlayers... --- diff --git a/httemplate/elements/selectlayers.html b/httemplate/elements/selectlayers.html index 4496892ff..302621775 100644 --- a/httemplate/elements/selectlayers.html +++ b/httemplate/elements/selectlayers.html @@ -50,13 +50,15 @@ Example: # ("what" is the element) 'js_only' => 0, #set true to return only the JS portions 'html_only' => 0, #set true to return only the HTML portions + 'select_only' => 0, #set true to return only the +% } +% unless ( grep $opt{$_}, qw(js_only select_only layers_only) ) { + <% ref($between) ? &{$between}($key) : $between %> +% } +% +% unless ( grep $opt{$_}, qw(js_only select_only) ) { + % foreach my $layer ( keys %$options ) {
1 ) %>