]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
ECML keyword help page now properly lists all registered keywords.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 15 Apr 2010 02:50:28 +0000 (02:50 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 15 Apr 2010 02:50:28 +0000 (02:50 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@5742 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/ecml/views/default/ecml/help.php

index aed6bd2e17a57567739ac582e9e0ca376944d34c..ed2d1eeece0359cf829e4314ccda78ea32be6a15 100644 (file)
@@ -9,24 +9,24 @@
  * @link http://elgg.org/
  */
 
-$keywords = $vars['config']->sitepages_keywords;
+$keywords = $vars['config']->ecml_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>";
+       $keywords_html .= "
+<dt>[[$keyword]]</dt>
+<dd>$desc</dd>";
 }
 
 echo "
 <h3>$title</h3>
 <p>$instructions</p>
 $more_info
-<ul>
+<dl>
        $keywords_html
-</ul>
+</dl>
 ";
\ No newline at end of file