This commit is contained in:
Ruben Barkow 2017-10-20 18:10:55 +00:00 committed by GitHub
commit b02ce18fad

View file

@ -78,7 +78,7 @@ function ff_hh_shortcode_versions( $atts, $content, $name ) {
$manifest = ff_hh_getmanifest( FF_HH_STABLE_BASEDIR );
$outstr = "<div class=\"ff $name\">";
$outstr .= '<table><tr><th>Modell</th><th>Erstinstallation</th><th>Aktualisierung</th></tr>';
$outstr .= '<table><tr><th>Modell</th><th>Erstinstallation</th><th>Aktualisierung</th><th>Preissuche</th></tr>';
# optionally filter output by given substring
if ( is_array( $atts )
@ -132,6 +132,10 @@ function ff_hh_shortcode_versions( $atts, $content, $name ) {
}
$outstr .= '<td>Hardware Ver. ' . join( ', ', $hw_ver_links ) . '</td>';
// link to Geizhals
$outstr .= sprintf( "\n<tr><td><a href=\"http://geizhals.de/?fs=%s\" target=\"_blank\">Suchen</a></td>", $hw );
$outstr .= '</tr>';
}