]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
make a list of plugins
authorEvan Prodromou <evan@status.net>
Fri, 8 Jan 2010 01:28:31 +0000 (17:28 -0800)
committerEvan Prodromou <evan@status.net>
Fri, 8 Jan 2010 01:28:31 +0000 (17:28 -0800)
actions/version.php

index 92a59ed4743b7f875edbc6cbc860b1aa481d78e3..3d74560c71f7171655b1d8126b10e3102f82a37f 100644 (file)
@@ -158,7 +158,10 @@ class VersionAction extends Action
         if (count($this->pluginVersions)) {
             $this->element('h2', null, _('Plugins'));
 
+            $this->elementStart('ul');
+
             foreach ($this->pluginVersions as $plugin) {
+                $this->elementStart('li');
                 $this->elementStart('dl');
                 $this->element('dt', null, _('Name'));
                 if (array_key_exists('homepage', $plugin)) {
@@ -185,7 +188,9 @@ class VersionAction extends Action
                     $this->element('dd', null, $plugin['description']);
                 }
                 $this->elementEnd('dl');
+                $this->elementEnd('li');
             }
+            $this->elementEnd('ul');
         }
 
     }