added link to price search engine for each model
This commit is contained in:
parent
af55ec2a69
commit
6f0a978965
|
@ -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 )
|
||||
|
@ -120,6 +120,10 @@ function ff_hh_shortcode_versions( $atts, $content, $name ) {
|
|||
}
|
||||
$outstr .= '<td>Hardware Version ' . 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>';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue