X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fedit%2Felements%2Fedit.html;h=8dd15dcfb973c96e5b2b4caddf9b280a576141d0;hp=7b02994d1a307d0b30709069e5ab606475dbf893;hb=4f3d9e2ef5ce5305363ae426b87ed2b873b355d8;hpb=c422010521a7c09673a8d4d0068d3fd482dd2dbc diff --git a/httemplate/edit/elements/edit.html b/httemplate/edit/elements/edit.html index 7b02994d1..8dd15dcfb 100644 --- a/httemplate/edit/elements/edit.html +++ b/httemplate/edit/elements/edit.html @@ -7,7 +7,7 @@ Example: # (preferred, will be pluralized automatically) 'name' => #name for the record # (deprecated, will be pluralized simplistically) - 'table' => + 'table' => #database table #? 'primary_key' => #required when the dbdef doesn't know...??? 'labels' => { @@ -135,6 +135,8 @@ Example: 'form_init' => '', #after html_init, error and the opening
, but #before any other form contents + 'html_table_class' => '', #HTML 'html_table_bottom' => '', @@ -270,7 +272,11 @@ Example: % } % my $tablenum = $opt{'tablenum'} || 0; -
+
+> % my $g_row = 0; % my @g_row_stack = (); @@ -356,7 +362,7 @@ Example: % $include_common{$_} = $f->{$_} foreach grep exists($f->{$_}), % qw( js_only html_only select_only layers_only cell_style ),#selectlayers,? % qw( empty_label ), # select-* -% qw( value_col compare_sub order_by ), # select-table +% qw( value_col compare_sub order_by addl_from ), # select-table % qw( table name_col ), #(select,checkboxes)-table % qw( target_table link_table ), #checkboxes-table % qw( hashref agent_virt agent_null agent_null_right ),#*-table @@ -644,7 +650,7 @@ Example: var newrow = <% include(@layer_opt, html_only=>1) |js_string %>; % #until the rest have html/js_only -% if ( $type eq 'selectlayers' || $type =~ /^select-cgp_rule_/ ) { +% if ( ($type eq 'selectlayers') || ($type eq 'selectlayersx') || ($type =~ /^select-cgp_rule_/) ) { var newfunc = <% include(@layer_opt, js_only=>1) |js_string %>; % } else { var newfunc = '';