From: Steve Sutton Date: Mon, 26 Aug 2019 18:25:00 +0000 (-0400) Subject: Update for smarty X-Git-Tag: v1.0.1^2~4 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=4afc459eb3a5fe0c68ad1648a3dc3271d9346e33;p=WP-Plugins%2Fglm-member-db-relay.git Update for smarty use smarty3 Updating call to editor --- diff --git a/views/admin/relay/edit.html b/views/admin/relay/edit.html index 79807e0..c813869 100644 --- a/views/admin/relay/edit.html +++ b/views/admin/relay/edit.html @@ -40,14 +40,7 @@ Dashboard Message - {php} - wp_editor('{$message.fieldData.dashboard_message|escape:quotes}', 'dashboard_message', array( - 'wpautop' => false, - 'textarea_name' => 'dashboard_message', - 'editor_height' => 200, - 'teeny' => true, - )); - {/php} + {wp_editor( '{$message.fieldData.dashboard_message|escape:quotes}', 'dashboard_message', [ 'wpautop' => false, 'textarea_name' => 'dashboard_message', 'editor_height' => 200, 'teeny' => true ])} {if $message.fieldFail.dashboard_message}

{$message.fieldFail.dashboard_message}

{/if}
@@ -55,14 +48,7 @@ Message - {php} - wp_editor('{$message.fieldData.message|escape:quotes}', 'message', array( - 'wpautop' => false, - 'textarea_name' => 'message', - 'editor_height' => 400, - 'teeny' => true, - )); - {/php} + {wp_editor( '{$message.fieldData.massage|escape:quotes}', 'massage', [ 'wpautop' => false, 'textarea_name' => 'massage', 'editor_height' => 400, 'teeny' => true ])} {if $message.fieldFail.message}

{$message.fieldFail.message}

{/if}