From 079192e87387f6e4fe61f1ad2dd41479f5595095 Mon Sep 17 00:00:00 2001 From: "info@mschuette.name" Date: Tue, 8 Apr 2014 11:14:30 +0000 Subject: [PATCH] version 0.1 --- freifunk-versions.php | 57 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 freifunk-versions.php diff --git a/freifunk-versions.php b/freifunk-versions.php new file mode 100644 index 0000000..e073596 --- /dev/null +++ b/freifunk-versions.php @@ -0,0 +1,57 @@ +"; + $outstr .= ''; + + foreach ($manifest as $line) { + $outstr .= sprintf('', $line['hw'], FF_HH_STABLE_BASEDIR, $line['filename'], $line['ver']); + } + + $outstr .= '
ModellStable
%s%s
'; + //$outstr .= '
'.print_r($manifest, true).'
'; + $outstr .= ''; + return $outstr; +} + +register_uninstall_hook( __FILE__, 'ff_hh_uninstall_hook' ); +function ff_hh_uninstall_hook() { + delete_option( 'ff_hh_manifest' ); +} +