<@20> <$ifbreak(csrf_check(Form.csrf_check_key))> <@>タグ除去 <$v.tw_delete_spchar(Form.tw_id, Form.tw_widget_id)> <$v.tw_check_color(Form.tw_bg, Form.tw_fc, Form.tw_twbg, Form.tw_twfc, Form.tw_border, Form.tw_twlinks)> <@>int <$Form.tw_size_x = int(Form.tw_size_x)> <$Form.tw_size_y = int(Form.tw_size_y)> <$Form.tw_rpp = int(Form.tw_rpp)> <$t = Form.tw_type> <$ifset(t ne 'profile' && t ne 'faves', Form.tw_type, 'profile')> <@> 許可するキーの値 <$form = copy_with_key(Form, begin_ary)> tw_id tw_widget_id tw_size_x tw_size_y tw_noheader tw_nofooter tw_noborders tw_noscrollbar tw_noactions tw_transparent <@>色 tw_bg tw_fc tw_twbg tw_twfc tw_border tw_twlinks <$end> <@> 古い仕様のキーを削除 <$form.tw_type = undef> <$form.tw_rpp = undef> <$form.tw_scrollbar = undef> <$form.tw_avatars = undef> <$form.tw_timestamp = undef> <$form.tw_hashtags = undef> <$action_return = v.daybook_setting(form)> POST成功時の処理 <$ifexec(action_return eq '0', begin)> <$message('設定を保存しました')> <$jumpclear('sub/reload_message', v.myself)> <$end>