Update group_edit.tpl

This commit is contained in:
Roman Kelesidis 2023-10-22 18:47:48 +07:00
parent d7c38fbf47
commit 13e1f93075

View File

@ -38,7 +38,7 @@ function manage_group(mode, value) {
<textarea cols="80" id="group_description" rows="6">{GROUP_DESCRIPTION}</textarea> <textarea cols="80" id="group_description" rows="6">{GROUP_DESCRIPTION}</textarea>
</p> </p>
<p> <p>
<input type="button" value="{L_AJAX_PREVIEW}" onclick="ajax.exec({ action: 'posts', type: 'view_message', message: $('textarea#group_description').val()});ajax.callback.posts=function(data){$('tr#preview_description').show();$('div.description').html(data.message_html);initPostBBCode('div.description')}"> <input type="button" value="{L_AJAX_PREVIEW}" onclick="ajax.exec({ action: 'posts', type: 'view_message', message: $('textarea#group_description').val()});ajax.callback.posts=function(data){$('tr#preview_description').show();$('div.description').html(data.message_html);initPostBBCode('div.description');}">
<input type="button" value="{L_SAVE}" onclick="manage_group('group_description',$('textarea#group_description').val())"> <input type="button" value="{L_SAVE}" onclick="manage_group('group_description',$('textarea#group_description').val())">
</p> </p>
</td> </td>
@ -56,7 +56,7 @@ function manage_group(mode, value) {
<textarea cols="80" id="group_signature" rows="3">{GROUP_SIGNATURE}</textarea> <textarea cols="80" id="group_signature" rows="3">{GROUP_SIGNATURE}</textarea>
</p> </p>
<p> <p>
<input type="button" value="{L_AJAX_PREVIEW}" onclick="ajax.exec({ action: 'posts', type: 'view_message', message: $('textarea#group_signature').val()});ajax.callback.posts=function(data){$('tr#preview_signature').show();$('div.signature').html(data.message_html);initPostBBCode('div.signature')}"> <input type="button" value="{L_AJAX_PREVIEW}" onclick="ajax.exec({ action: 'posts', type: 'view_message', message: $('textarea#group_signature').val()});ajax.callback.posts=function(data){$('tr#preview_signature').show();$('div.signature').html(data.message_html);initPostBBCode('div.signature');}">
<input type="button" value="{L_SAVE}" onclick="manage_group('group_signature',$('textarea#group_signature').val())"> <input type="button" value="{L_SAVE}" onclick="manage_group('group_signature',$('textarea#group_signature').val())">
</p> </p>
</td> </td>