From d8e1f81df2e40574c0e685910bf99407f7e66017 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Wed, 13 Jul 2011 15:28:30 +0000 Subject: administrators can permanently delete a device page - part 1 --- h-source/Application/Include/languages.php | 3 ++- h-source/Application/Include/myFunctions.php | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'h-source/Application/Include') 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; } -- cgit v1.2.3