From f2a001783a54fbafaee627180b8279ed9c85e5f3 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Sun, 2 Oct 2011 18:13:17 +0000 Subject: when a device is not found the system suggest to insert it - sudoman issue --- h-source/Application/Include/languages.php | 2 ++ h-source/Application/Views/Search/results.php | 20 +++++++++++++++++--- h-source/Public/Css/main.css | 13 +++++++++++++ 3 files changed, 32 insertions(+), 3 deletions(-) (limited to 'h-source') diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php index 406fad0..d810cad 100644 --- a/h-source/Application/Include/languages.php +++ b/h-source/Application/Include/languages.php @@ -299,6 +299,8 @@ class Lang /*0251*/"No sd card readers found" => "Non รจ stato trovato alcun lettore di schede sd", /*0252*/"Sd card readers" => "Lettori di schede sd", /*0253*/"Download the xml file of all the sd card readers in the database" => "Scarica il file xml di tutti i lettori di schede sd presenti nel database", + /*0254*/"There are no devices in the database with the vendorid:productid code specified by you." => "Non ci sono dispositivi nel database con il codice vendorid:productid da te specificato", + /*0255*/"Would you like to add it to the database?" => "Vorresti inserirlo nel database?" ), 'es' => array ( diff --git a/h-source/Application/Views/Search/results.php b/h-source/Application/Views/Search/results.php index 2bc14f4..1b7fe82 100644 --- a/h-source/Application/Views/Search/results.php +++ b/h-source/Application/Views/Search/results.php @@ -57,9 +57,23 @@ -
- .. -
+ action,'pciid') === 0) { ?> + +
+ +
+ +
+ + +
+ . +
+ diff --git a/h-source/Public/Css/main.css b/h-source/Public/Css/main.css index f438227..a7c658e 100644 --- a/h-source/Public/Css/main.css +++ b/h-source/Public/Css/main.css @@ -1940,6 +1940,19 @@ div#description_tabs_content padding:6px 8px; margin:20px 0; } +.lspci_item_not_found_inner +{ + margin:10px 0 5px 0; + font-weight:bold; +} +.insert_suggestion_list +{ + list-style-type:none; +} +.insert_suggestion_list li +{ + margin:10px 0; +} /* Start - temporarily added due to transformation of help pages -- cgit v1.2.3