[set violation]1[/set] [perl arg="values session scratch" int] my $arg = q{[data session arg]} || $Safe{'values'}{mvc_data_table}; $Safe{'values'}{mvc_data_table} = $arg; my $allowed = q{[scratch dbs_to_edit]}; my $configured = q{[list-databases]}; if($allowed =~ /\b$arg\b/ and $configured =~ /\b$arg\b/) { undef $Safe{scratch}{violation}; $Safe{'values'}{mv_data_table} = $arg; $Safe{'values'}{mvc_data_table} = $arg; } else { undef $Safe{'values'}{mv_data_table}; undef $Safe{'values'}{mvc_data_table}; } return ''; [/perl] [bounce href="[area special/violation]" if="[scratch violation]"]
Upload/Download/Export Menu for table [value mv_data_table]
[scratch menu]
Change to: [loop arg="[list-databases]"][loop-code] [/loop]
[value name=mvc_dbedit_autoshow set="[if value mvc_too_large]0[else]1[/else][/if]" hide=1] [if value mvc_dbedit_autoshow] [title-bar]Edit Existing Key[/title-bar]
[/if][title-bar]New or Existing Key to edit/insert[/title-bar]
[if value mvc_too_large][set Spreadsheet][/set] [else] [title-bar]Spreadsheet edit[/title-bar] [set Spreadsheet] mv_todo=return mv_nextpage=config/spread [/set] [/else] [/if] [title-bar]Search by keyword for records[/title-bar] [if type=explicit compare="[calc] q{[dbinfo table='[value mv_data_table]' attribute=type]} eq '8'; [/calc]"] [title-bar]Search in SQL[/title-bar] [/if]
Upload/Download/Export Menu for table [value mv_data_table]
[scratch menu]