diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-13 19:13:36 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-13 19:13:36 +0000 |
commit | 444fb4e8a3e5189868b8b12c5fdccc4bef6868fc (patch) | |
tree | 2df668e1e079d354006938b2f6a0528b2b22d09b /mod/ecml/views/default/ecml/help.php | |
parent | ece80595836be086201629824bceeae05892cd55 (diff) | |
download | elgg-444fb4e8a3e5189868b8b12c5fdccc4bef6868fc.tar.gz elgg-444fb4e8a3e5189868b8b12c5fdccc4bef6868fc.tar.bz2 |
First version of ecml.
git-svn-id: http://code.elgg.org/elgg/trunk@5722 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/ecml/views/default/ecml/help.php')
-rw-r--r-- | mod/ecml/views/default/ecml/help.php | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/mod/ecml/views/default/ecml/help.php b/mod/ecml/views/default/ecml/help.php new file mode 100644 index 000000000..aed6bd2e1 --- /dev/null +++ b/mod/ecml/views/default/ecml/help.php @@ -0,0 +1,32 @@ +<?php +/** + * Lists available keywords + * + * @package ECML + * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2 + * @author Curverider Ltd + * @copyright Curverider Ltd 2008-2010 + * @link http://elgg.org/ + */ + +$keywords = $vars['config']->sitepages_keywords; +$title = elgg_echo('ecml:keywords_title'); +$instructions = elgg_echo('ecml:keywords_instructions'); +$more_info = elgg_echo('ecml:keywords_instructions_more'); + + + +$keywords_html = ''; +foreach ($keywords as $keyword => $info) { + $desc = htmlentities($info['description']); + $keywords_html .= "<li><acronym title=\"$desc\">[[$keyword]]</acronym></li>"; +} + +echo " +<h3>$title</h3> +<p>$instructions</p> +$more_info +<ul> + $keywords_html +</ul> +";
\ No newline at end of file |