'sitepages:keywords_instructions_more' =>
'
- You can build your own keywords for views and entities.<br /><br />
+ <p>You can build your own keywords for views and entities.</p>
- [[entity: type=type, subtype=subtype, owner=username, limit=number]]<br />
+ <p>[[entity: type=type, subtype=subtype, owner=username, limit=number]]<br />
EX: To show 5 blog posts by admin:<br />
- [[entity: type=object, subtype=blog, owner=admin, limit=5]]
+ [[entity: type=object, subtype=blog, owner=admin, limit=5]]</p>
- <br /><br />
+ <p>You can also specify a valid Elgg view:<br />
+ [[view: elgg_view, name=value]]</p>
- You can also specify a valid Elgg view:<br />
- [[view: elgg_view, name=value]]<br />
-
- Ex: To show a text input with a default value:<br />
- [[view: input/text, value=This is a default value]]
-
- <br /><br />',
+ <p>Ex: To show a text input with a default value:<br />
+ [[view: input/text, value=This is a default value]]</p>',
'sitepages:keywords:login_box' => 'A standard login box. Useful for the logged out content area.',
'sitepages:keywords:site_stats' => 'This does not exist yet.',
$submit_input = elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('save')));
$hidden_value = elgg_view('input/hidden', array('internalname' => 'page_type', 'value' => $page_type));
-$tag_label = '<h3>' . elgg_echo('tags') . '</h3>';
+$tag_label = elgg_echo('tags');
$external_page_title = elgg_echo("sitepages:$page_type");
$form_body = <<<___EOT
-<h3 class='settings'>$external_page_title</h3>
-<p class='longtext_editarea'>$input_area</p>
-<p>
- $tag_label
- $tag_input
-</p>
+<p><label>$external_page_title
+$input_area</p></label>
+
+<p><label>$tag_label
+$tag_input</p></label>
+
$hidden_value
$hidden_guid
-<br />
$submit_input
___EOT;
//construct the form
$form_body = <<<___EOT
- <h3 class='settings'>$css_title</h3>
- <p class='longtext_editarea'>$input_css</p><br />
+ <p><label>$css_title
+ $input_css</label></p>
+ <p><label>$logged_in_content_title
+ $input_logged_in_content</label></p>
- <h3 class='settings'>$logged_in_content_title</h3>
- <p class='longtext_editarea'>$input_logged_in_content</p><br />
-
- <h3 class='settings'>$logged_out_content_title</h3>
- <p class='longtext_editarea'>$input_logged_out_content</p>
+ <p><label>$logged_out_content_title
+ $input_logged_out_content</label></p>
$hidden_guid
- <br />
$submit_input
$preview
\r
$form_body = <<<___EOT\r
\r
- <h3 class='settings'>$description</h3>\r
- <p class='longtext_editarea'>$input_description</p><br />\r
- <h3 class='settings'>$metatags</h3>\r
- <p class='longtext_editarea'>$input_keywords</p>\r
-\r
- $hidden_guid\r
- <br />\r
- $submit_input\r
+<p><label>$description\r
+$input_description</p></label>\r
+\r
+<p><label>$metatags\r
+$input_keywords</p></label>\r
+\r
+$hidden_guid\r
+$submit_input\r
\r
___EOT;\r
\r