mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
Enable textarea to be used as member agreement editor
This commit is contained in:
parent
499a7e4457
commit
c4f3110291
3 changed files with 19 additions and 4 deletions
|
|
@ -262,6 +262,8 @@ class memberAdminController extends member
|
|||
$agreement = new stdClass;
|
||||
$agreement->title = escape(utf8_trim($args->{'agreement_' . $i . '_title'}));
|
||||
$agreement->content = $args->{'agreement_' . $i . '_content'};
|
||||
$agreement->use_editor = $args->use_editor;
|
||||
getModel('editor')->converter($agreement, 'document');
|
||||
$agreement->type = $args->{'agreement_' . $i . '_type'};
|
||||
if (!in_array($agreement->type, array('required', 'optional', 'disabled')))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue