X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fselectlayers.html;fp=httemplate%2Felements%2Fselectlayers.html;h=302621775a9541c45bc2b6e4994cc94d60e71238;hp=4496892ffc6f274ef4d81fcb0f2400c28a45ab6f;hb=0fa6b21504e13fb8997eec6961623c7ab52be733;hpb=7aef77aa2c25b7bca3569376f08b1d2cc57a1592 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 ) {