Skip to content

Commit 3adb0a2

Browse files
Rich Lelandrajumsys
authored andcommitted
Add help text about requiring content variable
Refs #10
1 parent fd6406d commit 3adb0a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

trunk/admin.widget.class.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,9 @@ public function render_password_field()
230230
public function render_template_field()
231231
{
232232
printf(
233-
'<input type="text" id="template" name="sp_settings[template]" class="regular-text" value="%s" /><br/>',
233+
'<input type="text" id="template" name="sp_settings[template]" class="regular-text" value="%s" /><br/>
234+
<small>The template must have a variable in it named <code>{{{content}}}</code>.<br/>
235+
Note the triple curly braces, which are required to include non-escaped HTML.</small>',
234236
isset($this->options['template']) ? $this->options['template'] : ''
235237
);
236238
}

0 commit comments

Comments
 (0)