summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Unterkircher <unki@netshadow.at>2007-07-22 16:05:38 +0000
committerAndreas Unterkircher <unki@netshadow.at>2007-07-22 16:05:38 +0000
commitaf63ef618032bc13637167e74bc6c3ae19693cd8 (patch)
tree49349f20d8dbb54e411fe5dfc08cae052ac091f6
parent9b898a713707b6ff09f2550307a2d23ae248cd1b (diff)
issue27, fixed leading-space-eat-up-by-browser for MoinMoin Wiki List view
git-svn-id: file:///var/lib/svn/phpfspot/trunk@244 fa6a889d-dae6-447d-9e79-4ba9a3039384
-rw-r--r--phpfspot.class.php9
-rw-r--r--themes/default/templates/export.tpl1
2 files changed, 8 insertions, 2 deletions
diff --git a/phpfspot.class.php b/phpfspot.class.php
index 2a28135..d2bb895 100644
--- a/phpfspot.class.php
+++ b/phpfspot.class.php
@@ -1551,8 +1551,13 @@ class PHPFSPOT {
break;
case 'MoinMoin':
- // [%pictureurl% %thumbnailurl%]
- print htmlspecialchars(" * [".$orig_url." ".$thumb_url."&fake=1.jpg]") ."<br />\n";
+ // "[%pictureurl% %thumbnailurl%]"
+ print htmlspecialchars("[".$orig_url." ".$thumb_url."&fake=1.jpg]") ."<br />\n";
+ break;
+
+ case 'MoinMoinList':
+ // " * [%pictureurl% %thumbnailurl%]"
+ print "&nbsp;" . htmlspecialchars("* [".$orig_url." ".$thumb_url."&fake=1.jpg]") ."<br />\n";
break;
}
diff --git a/themes/default/templates/export.tpl b/themes/default/templates/export.tpl
index a3e5641..14354b7 100644
--- a/themes/default/templates/export.tpl
+++ b/themes/default/templates/export.tpl
@@ -8,6 +8,7 @@
<select name="format">
<option value="HTML">HTML</option>
<option value="MoinMoin">MoinMoin Wiki</option>
+ <option value="MoinMoinList">MoinMoin Wiki List</option>
</select>
<input type="image" src="resources/doit.png" alt="Switch View" />
</form>