@> <@>テーマ選択 <@> <$ifjump(! Auth.ok || !v.daybook_admin, '_main')> <$s = v.daybook_setting> <$ifjumpsuper(s.design_id ne '', 'sub/error_message', 0, "_default デザイン以外では、ここからテーマ選択はできません")> <@>テーマ確認のPOST? <$ifexec(Form.check, begin)> <$x = split('/', Form.theme)> <$v.template = x#0> <$v.theme = x#1> <$tag_escape(v.template, v.theme)> <$v.template_dir = v.theme_dir . v.template . '/'> <$user_skelton_dir = v.template_dir . '_skelton/'> <$end> <@> テーマ適応サンプル表示 <@ifexec( v.query_ary#1 ne '' && v.query_ary#2 ne '' ,begin )> <$v.template_dir = v.theme_dir . v.query_ary#1 . '/'> <$v.theme = v.query_ary#2> <$user_skelton_dir = v.template_dir . '_skelton/'> <$end> <$v.add_top = exec(begin)>