summaryrefslogtreecommitdiff
path: root/lib/plugins
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2006-01-21 13:14:35 +0100
committerAndreas Gohr <andi@splitbrain.org>2006-01-21 13:14:35 +0100
commit0c6b58a847e74cc5f51616e9a6f71935806dece0 (patch)
tree7da6bc2f997b11787b9b6f81f1b753aeadbf4361 /lib/plugins
parent247c1c5d1105cce361fd81b965640bc8e25aa09e (diff)
downloadrpg-0c6b58a847e74cc5f51616e9a6f71935806dece0.tar.gz
rpg-0c6b58a847e74cc5f51616e9a6f71935806dece0.tar.bz2
removed graphical list bullet
Unordered lists used a graphic for the list bullet. Using the same technique as in the ordered lists we don't need an image just to have the color. This has two advantages: 1. The list bullets still have the correct color when colors are adjusted in style.ini 2. List bullets grow and shrink correctly with the fontsize It has a disadvantage as well: All list items need to be marked up like this: <li><div class darcs-hash:20060121121435-7ad00-c6455f9b58c6e78b630c1121499e2052525fb556.gz
Diffstat (limited to 'lib/plugins')
-rw-r--r--lib/plugins/info/syntax.php4
-rw-r--r--lib/plugins/plugin/admin.php4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/plugins/info/syntax.php b/lib/plugins/info/syntax.php
index 25b2fff45..d5209397f 100644
--- a/lib/plugins/info/syntax.php
+++ b/lib/plugins/info/syntax.php
@@ -110,7 +110,7 @@ class syntax_plugin_info extends DokuWiki_Syntax_Plugin {
if (!$po =& plugin_load('syntax',$p)) continue;
$info = $po->getInfo();
- $renderer->doc .= '<li>';
+ $renderer->doc .= '<li><div class="li">';
$renderer->externallink($info['url'],$info['name']);
$renderer->doc .= ' ';
$renderer->doc .= '<em>'.$info['date'].'</em>';
@@ -120,7 +120,7 @@ class syntax_plugin_info extends DokuWiki_Syntax_Plugin {
$renderer->emaillink($info['email'],$info['author']);
$renderer->doc .= '<br />';
$renderer->doc .= strtr(htmlspecialchars($info['desc']),array("\n"=>"<br />"));
- $renderer->doc .= '</li>';
+ $renderer->doc .= '</div></li>';
unset($po);
}
diff --git a/lib/plugins/plugin/admin.php b/lib/plugins/plugin/admin.php
index cffcf8057..0f25cbc85 100644
--- a/lib/plugins/plugin/admin.php
+++ b/lib/plugins/plugin/admin.php
@@ -388,7 +388,7 @@ class ap_manage {
ptln('<p>'.$this->lang['downloads'].'</p>');
ptln('<ul>');
foreach ($this->downloaded as $plugin) {
- ptln('<li>'.$plugin.'</li>',2);
+ ptln('<li><div class="li">'.$plugin.'</div></li>',2);
}
ptln('</ul>');
} else { // none found in download
@@ -546,7 +546,7 @@ class ap_manage {
ptln('<p>'.$this->lang['updates'].'</p>');
ptln('<ul>');
foreach ($this->downloaded as $plugin) {
- ptln('<li>'.$plugin.'</li>',2);
+ ptln('<li><div class="li">'.$plugin.'</div></li>',2);
}
ptln('</ul>');
} else { // none found in download