$_REQUEST['glm_proto_width']);
$content['glm_proto_height'] = sanitize_text_field(
$_REQUEST['glm_proto_height']);
- $content['glm_proto_html'] = $_REQUEST['glm_proto_html'];
+ $content['glm_proto_html'] = stripslashes($_REQUEST['glm_proto_html']);
$content['glm_proto_background'] = sanitize_text_field(
$_REQUEST['glm_proto_background']);
$content['glm_proto_prototype'] = sanitize_text_field(
<td>
<textarea name="glm_proto_html" rows="4" cols="50" id="glm_proto_html" />{$content.glm_proto_html|escape:'html'}</textarea>
{if $content.glm_proto_html_error != ''}<br><span class="glm-proto-error">{$content.glm_proto_html_error}</span>{/if}
- <br>Optional. If not supplied a standard page for background and foreground prototype will be used.
+ <p>
+ Optional. If not supplied a standard page for background and foreground prototype will be used.
+ Use the following syntax to include parameters in this page.<br>
+ <b>Title</b> - {$content.title}<br>
+ <b>Width</b> - {$content.width}<br>
+ <b>Height</b> - {$content.height}<br>
+ <b>Background Image</b> - {$content.background}<br>
+ <b>Prototype Image</b> - {$content.prototype}<br>
+ <b>Image #3</b> - {$content.image 3}<br>
+ <b>Image #4</b> - {$content.image 4}<br>
+ <b>Image #5</b> - {$content.image 5}<br>
+ </p>
</td>
</tr>
<tr>
<td>
<textarea name="glm_proto_html" rows="4" cols="50" id="glm_proto_html" />{$content.glm_proto_html|escape:'html'}</textarea>
{if $content.glm_proto_html_error != ''}<br><span class="glm-proto-error">{$content.glm_proto_html_error}</span>{/if}
- <br>Optional. If not supplied a standard page for background and foreground prototype will be used.
+ <p>
+ Optional. If not supplied a standard page for background and foreground prototype will be used.
+ Use the following syntax to include parameters in this page.<br>
+ <b>Title</b> - {$content.title}<br>
+ <b>Width</b> - {$content.width}<br>
+ <b>Height</b> - {$content.height}<br>
+ <b>Background Image</b> - {$content.background}<br>
+ <b>Prototype Image</b> - {$content.prototype}<br>
+ <b>Image #3</b> - {$content.image 3}<br>
+ <b>Image #4</b> - {$content.image 4}<br>
+ <b>Image #5</b> - {$content.image 5}<br>
+ </p>
</td>
</tr>
<tr>