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' ); +} +