wok diff wikiss/stuff/plugins/wkp_Upload.php @ rev 22561

updated boxbackup-client and boxbackup-server (0.11.1 -> 0.12)
author Hans-G?nter Theisgen
date Sun Jan 05 11:14:45 2020 +0100 (2020-01-05)
parents 423d8ab737fc
children
line diff
     1.1 --- a/wikiss/stuff/plugins/wkp_Upload.php	Fri Jun 03 11:01:10 2011 +0200
     1.2 +++ b/wikiss/stuff/plugins/wkp_Upload.php	Sun Jan 05 11:14:45 2020 +0100
     1.3 @@ -94,6 +94,13 @@
     1.4        }
     1.5        return TRUE;
     1.6     } // action
     1.7 +
     1.8 +   function formatEnd()
     1.9 +   {
    1.10 +      global $CONTENT;
    1.11 +      $CONTENT = preg_replace('#\[(.*)|(pages/.*)\]#','<a href="$1">$2</a>',$CONTENT);
    1.12 +      $CONTENT = preg_replace('#\[(pages/.*)\]#','<a href="$1">$1</a>',$CONTENT);
    1.13 +   }
    1.14  }
    1.15  
    1.16  ?>