aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Include
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-07-13 15:28:30 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-07-13 15:28:30 +0000
commitd8e1f81df2e40574c0e685910bf99407f7e66017 (patch)
treea69b5a96dff0f22a37db460d5fb2d88ff49650ec /h-source/Application/Include
parentbe1d2d6c4c5623c6af59cf72e74e0335d1aa6cb5 (diff)
administrators can permanently delete a device page - part 1
Diffstat (limited to 'h-source/Application/Include')
-rw-r--r--h-source/Application/Include/languages.php3
-rw-r--r--h-source/Application/Include/myFunctions.php4
2 files changed, 6 insertions, 1 deletions
diff --git a/h-source/Application/Include/languages.php b/h-source/Application/Include/languages.php
index 2dd8d1c..37d88ad 100644
--- a/h-source/Application/Include/languages.php
+++ b/h-source/Application/Include/languages.php
@@ -241,7 +241,8 @@ class Lang
/*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",
/*0205*/"Device pages that have to be approved" => "Pagine di dispositivi da approvare",
- /*0206*/"The device page has to be approved by an administrator of the website" => "La pagina del dispositivo deve essere approvata da un amministratore del sito"
+ /*0206*/"The device page has to be approved by an administrator of the website" => "La pagina del dispositivo deve essere approvata da un amministratore del sito",
+ /*0207*/"permanently delete the device page" => "cancella definitivamente la pagina",
),
'es' => array
(
diff --git a/h-source/Application/Include/myFunctions.php b/h-source/Application/Include/myFunctions.php
index 4876676..1505512 100644
--- a/h-source/Application/Include/myFunctions.php
+++ b/h-source/Application/Include/myFunctions.php
@@ -4712,6 +4712,10 @@ function goToModeratedItem( $row = array() )
$hardInfo = getHardwareInfoFromId($row['id']);
$url = $hardInfo['controller'].'/view/'.Lang::$current.'/'.$row['id'].'/'.encodeUrl($hardInfo['model']);
break;
+ case 'device_cl':
+ $hardInfo = getHardwareInfoFromId($row['id']);
+ $url = $hardInfo['controller'].'/view/'.Lang::$current.'/'.$row['id'].'/'.encodeUrl($hardInfo['model']);
+ break;
}
return 'http://'.DOMAIN_NAME.'/'.$url;
}