aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-06-23 19:45:28 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-06-23 19:45:28 +0000
commite29f02659a5328a52042fb43bd3baad321ee3e91 (patch)
treeb8f6fc9ba122bc5094974e932458f069285fc6b0 /h-source/Application/Include
parent34adb20d0ffe996bf454ade33ff02fef70968730 (diff)
administrators can now approve device page submitted by anonymous users
Diffstat (limited to 'h-source/Application/Include')
-rw-r--r--h-source/Application/Include/hardware.php1
-rw-r--r--h-source/Application/Include/languages.php4
-rw-r--r--h-source/Application/Include/myFunctions.php4
3 files changed, 8 insertions, 1 deletions
diff --git a/h-source/Application/Include/hardware.php b/h-source/Application/Include/hardware.php
index 3e5342f..5f6ea9b 100644
--- a/h-source/Application/Include/hardware.php
+++ b/h-source/Application/Include/hardware.php
@@ -215,6 +215,7 @@ class Notebooks extends Hardware
"Dell" => "Dell",
"emachines" => "emachines",
"FUJITSU" => "FUJITSU",
+ "Garlach44" => "Garlach44",
"Gateway" => "Gateway",
"Hewlett Packard" => "Hewlett-Packard",
"IBM" => "IBM",
diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php
index 798a0aa..b524432 100644
--- a/h-source/Application/Include/languages.php
+++ b/h-source/Application/Include/languages.php
@@ -237,7 +237,9 @@ class Lang
/*0199*/"see the page" => "guarda la pagina",
/*0200*/"hidden device pages" => "pagine nascoste di dispositivi",
/*0201*/"panel" => "pannello",
- /*0202*/"List of hidden device pages" => "Lista di pagine nascoste di dispositivi"
+ /*0202*/"List of hidden device pages" => "Lista di pagine nascoste di dispositivi",
+ /*0203*/"approve the device page" => "approva la pagina del dispositivo",
+ /*0204*/"This device page has not been approved yet" => "La pagina del dispositivo non รจ ancora stata approvata",
),
'es' => array
(
diff --git a/h-source/Application/Include/myFunctions.php b/h-source/Application/Include/myFunctions.php
index 174c7ea..4876676 100644
--- a/h-source/Application/Include/myFunctions.php
+++ b/h-source/Application/Include/myFunctions.php
@@ -4708,6 +4708,10 @@ function goToModeratedItem( $row = array() )
$hardInfo = getHardwareInfoFromId($row['id']);
$url = $hardInfo['controller'].'/view/'.Lang::$current.'/'.$row['id'].'/'.encodeUrl($hardInfo['model']);
break;
+ case 'device_app':
+ $hardInfo = getHardwareInfoFromId($row['id']);
+ $url = $hardInfo['controller'].'/view/'.Lang::$current.'/'.$row['id'].'/'.encodeUrl($hardInfo['model']);
+ break;
}
return 'http://'.DOMAIN_NAME.'/'.$url;
}