Add links to certain column text in a list view.
Misc bug fixes.
This commit is contained in:
@@ -46,19 +46,20 @@
|
||||
$text['label-response']['pt-pt'] = "Resposta:";
|
||||
$text['label-response']['fr-fr'] = "Réponse:";
|
||||
|
||||
$text['button-reboot']['en-us'] = "Reboot";
|
||||
$text['button-reboot']['pt-pt'] = "Reinicialização";
|
||||
$text['button-reboot']['fr-fr'] = "Redémarrage";
|
||||
$text['button-unregister']['en-us'] = "Unregister";
|
||||
$text['button-unregister']['es-cl'] = "";
|
||||
$text['button-unregister']['pt-pt'] = "";
|
||||
$text['button-unregister']['fr-fr'] = "";
|
||||
|
||||
$text['button-reboot']['en-us'] = "Reboot";
|
||||
$text['button-reboot']['es-cl'] = "Reiniciar";
|
||||
$text['button-reboot']['pt-pt'] = "Reinicialização";
|
||||
$text['button-reboot']['fr-fr'] = "Redémarrage";
|
||||
|
||||
$text['button-check_sync']['en-us'] = "Check Sync";
|
||||
$text['button-check_sync']['es-cl'] = "Compruebe Sync";
|
||||
$text['button-check_sync']['pt-pt'] = "Sincronização";
|
||||
$text['button-check_sync']['fr-fr'] = "Contrôle Sync";
|
||||
$text['button-provision']['en-us'] = "Provision";
|
||||
$text['button-provision']['es-cl'] = "";
|
||||
$text['button-provision']['pt-pt'] = "";
|
||||
$text['button-provision']['fr-fr'] = "";
|
||||
|
||||
$text['label-message']['en-us'] = "Message";
|
||||
$text['label-message']['es-cl'] = "Mensaje";
|
||||
|
||||
@@ -160,9 +160,10 @@ require_once "resources/check_auth.php";
|
||||
echo " <td class='".$row_style[$c]."'><a href='http://".$row['network-ip']."' target='_blank'>".$row['network-ip']."</a> </td>\n";
|
||||
echo " <td class='".$row_style[$c]."'>".$row['network-port']." </td>\n";
|
||||
echo " <td class='".$row_style[$c]."'>".$row['status']." </td>\n";
|
||||
echo " <td class='".$row_style[$c]."' style='text-align: right;'>\n";
|
||||
echo " <input type='button' class='btn' value='".$text['button-reboot']."' onclick=\"document.location.href='cmd.php?cmd=reboot&profile=".$sip_profile_name."&user=".$row['user']."&domain=".$row['sip-auth-realm']."&agent=".urlencode($row['agent'])."';\" />\n";
|
||||
echo " <input type='button' class='btn' value='".$text['button-check_sync']."' onclick=\"document.location.href='cmd.php?cmd=check_sync&profile=".$sip_profile_name."&user=".$row['user']."&domain=".$row['sip-auth-realm']."&agent=".urlencode($row['agent'])."';\" />\n";
|
||||
echo " <td class='".$row_style[$c]."' style='text-align: right;' nowrap='nowrap'>\n";
|
||||
echo " <input type='button' class='btn' value='".$text['button-unregister']."' onclick=\"document.location.href='cmd.php?cmd=reboot&profile=".$sip_profile_name."&user=".$row['user']."&domain=".$row['sip-auth-realm']."&agent=".urlencode($row['agent'])."';\" />\n";
|
||||
echo " <input type='button' class='btn' value='".$text['button-provision']."' onclick=\"document.location.href='cmd.php?cmd=check_sync&profile=".$sip_profile_name."&user=".$row['user']."&domain=".$row['sip-auth-realm']."&agent=".urlencode($row['agent'])."';\" />\n";
|
||||
echo " <input type='button' class='btn' value='".$text['button-reboot']."' disabled='disabled' onclick=\"\" />\n";
|
||||
echo " </td>\n";
|
||||
echo "</tr>\n";
|
||||
if ($c==0) { $c=1; } else { $c=0; }
|
||||
|
||||
Reference in New Issue
Block a user