"; $outstr .= '
Modell | Erstinstallation | Aktualisierung |
---|---|---|
%s | ', $hw); // factory versions $hw_ver_links = array(); foreach ($versions as $hw_ver => $filename) { $filename = str_replace('-sysupgrade', '', $filename); $hw_ver_links[] = sprintf('%s.x', FF_HH_STABLE_BASEDIR.'factory/', $filename, $hw_ver); } $outstr .= 'Hardware Version ' . join(', ', $hw_ver_links) . ' | '; // sysupgrade versions $hw_ver_links = array(); foreach ($versions as $hw_ver => $filename) { $hw_ver_links[] = sprintf('%s.x', FF_HH_STABLE_BASEDIR.'sysupgrade/', $filename, $hw_ver); } $outstr .= 'Hardware Version ' . join(', ', $hw_ver_links) . ' | '; $outstr .= '
'.print_r($manifest, true).''; return $outstr; } register_uninstall_hook( __FILE__, 'ff_hh_uninstall_hook' ); function ff_hh_uninstall_hook() { delete_option( 'ff_hh_manifest' ); }