[new] [if session arg] [set interpolate=1 name="arg"][data session arg][/set] [elsif value mvc_directive] [set interpolate=1 name="arg"][value mvc_directive][/set] [/elsif] [else] [set interpolate=1 name="arg"][value code][/set] [/else] [/if] [L]Set[/L] [scratch arg] [if value mvc_write] [then] [title-bar][scratch arg] [set name=result int][write-config interpolate=1 name="[value mvc_directive]" complex="[value mvc_complex]"][value name="mvc_value"][/write-config][/set] [if scratch result] -- [L]successfully set[/L] [else] [L]ERROR WRITING DIRECTIVE[/L] [/else] [/if] [value name=mvc_write set=""] [/title-bar] [/then] [else] [title-bar][scratch arg][/title-bar] [/else] [/if]
[if scratch arg =~ /^database$/i]

[L]Select table[/L]

[loop arg="[list-databases]"] [loop-code]
[/loop] [else] [display-directive name="[scratch arg]"] [/else] [/if]
[if type=file term="config/extra/[scratch arg]"] [include file="config/extra/[scratch arg]"] [/if] [send-help name="[scratch arg]"]