issue27, fixed leading-space-eat-up-by-browser for MoinMoin Wiki List view
authorAndreas Unterkircher <unki@netshadow.at>
Sun, 22 Jul 2007 16:05:38 +0000 (16:05 +0000)
committerAndreas Unterkircher <unki@netshadow.at>
Sun, 22 Jul 2007 16:05:38 +0000 (16:05 +0000)
git-svn-id: file:///var/lib/svn/phpfspot/trunk@244 fa6a889d-dae6-447d-9e79-4ba9a3039384

phpfspot.class.php
themes/default/templates/export.tpl

index 2a2813545045235f2503eeeb7455efe4a14bdf91..d2bb8954e62599e1adc31be16a1ab11c92ba1276 100644 (file)
@@ -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;
          }
 
index a3e5641e7cb59e153ca22e25ca7df9a5a1d9d706..14354b746ae8703e12f157ab4399002b3fea79fe 100644 (file)
@@ -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>