From d6650cedabfe2fa1bb2a02bcd29e67910d7ab556 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sat, 4 Sep 2010 23:29:18 +0200 Subject: Initial commit --- zem_tpl.php | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 zem_tpl.php (limited to 'zem_tpl.php') diff --git a/zem_tpl.php b/zem_tpl.php new file mode 100644 index 0000000..29cbbac --- /dev/null +++ b/zem_tpl.php @@ -0,0 +1,77 @@ +TextileThis($plugin['help']); + } + + $plugin['md5'] = md5( $plugin['code'] ); + + // to produce a copy of the plugin for distribution, load this file in a browser. + + header('Content-type: text/plain'); + $header = << admin > plugins +# Paste the following text into the 'Install plugin' box: +# ...................................................................... +EOF; + + return $header . "\n\n" . trim(chunk_split(base64_encode(serialize($plugin)), 72)). "\n"; + +} + + +?> -- cgit v1.2.3-70-g09d2