{echo:JS::import('dialog?skin=brief');} {echo:JS::import('dialogtools');} {echo:JS::import('form');} {if:!isset($msg) || $msg[0]=='warning'}