+ userConfig: add configuration items of save template form.
This commit is contained in:
@@ -131,3 +131,8 @@ $config->user->form->cropAvatar['top'] = array('required' => false, 'ty
|
||||
$config->user->form->cropAvatar['right'] = array('required' => false, 'type' => 'int', 'default' => 0);
|
||||
$config->user->form->cropAvatar['bottom'] = array('required' => false, 'type' => 'int', 'default' => 0);
|
||||
$config->user->form->cropAvatar['scaled'] = array('required' => false, 'type' => 'bool', 'default' => false);
|
||||
|
||||
$config->user->form->ajaxSaveTemplate = array();
|
||||
$config->user->form->ajaxSaveTemplate['title'] = array('required' => true, 'type' => 'string', 'default' => '');
|
||||
$config->user->form->ajaxSaveTemplate['content'] = array('required' => true, 'type' => 'editor', 'default' => '');
|
||||
$config->user->form->ajaxSaveTemplate['public'] = array('required' => false, 'type' => 'string', 'default' => '');
|
||||
|
||||
Reference in New Issue
Block a user