simplify the design, drop login.php for now, it will come back (maybe) at some point...
[platal.git] / plugins / pmwiki.platalSkin.php
index 98f34fb..634b7fa 100644 (file)
@@ -12,7 +12,11 @@ $InputTags['e_form'] = array(
 // set profiles to point to plat/al fiche
 Markup('[[~platal', '<[[~', '/\[\[~([^|\]]*)\|([^\]]*)\]\]/e',
     'PreserveText("=", \'<a href="'.$globals->baseurl
-    .'/fiche.php?user=$1" class="popup2">$2</a>\', "")');
+    .'/profile/$1" class="popup2">$2</a>\', "")');
+
+// prevent restorelinks before block apply (otherwise [[Sécurité]] will give
+//  .../S<span class='e9curit'>e9'>Sécurité</a>
+Markup('restorelinks','<%%',"//", '');
 
 ## [[#anchor]] in standard XHTML
 Markup('[[#','<[[','/(?>\\[\\[#([A-Za-z][-.:\\w]*))\\]\\]/e',