Reboot and Check Sync

This commit is contained in:
Mark Crane
2014-05-13 01:27:18 +00:00
parent b210e4358a
commit 4bea3bd16a
3 changed files with 25 additions and 10 deletions
+2 -2
View File
@@ -210,8 +210,8 @@ require_once "resources/check_auth.php";
//echo " <td class='".$row_style[$c]."'>&nbsp;".$row['mwi-account']."&nbsp;</td>\n";
echo " <td class='".$row_style[$c]."'>&nbsp;".$row['status']."&nbsp;</td>\n";
echo " <td class='".$row_style[$c]."' align='right'>\n";
//echo " <input type='button' class='btn' value='resync' onclick=\"document.location.href='cmd.php?cmd=resync&user=".$row['sip-auth-user']."&domain=".$row['sip-auth-realm']."&agent=".urlencode($row['agent'])."';\" />\n";
echo " <input type='button' class='btn' value='".$text['button-reboot']."' onclick=\"document.location.href='cmd.php?cmd=reboot&user=".$row['sip-auth-user']."&domain=".$row['sip-auth-realm']."&agent=".urlencode($row['agent'])."';\" />\n";
echo " <input type='button' class='btn' value='".$text['button-reboot']."' onclick=\"document.location.href='cmd.php?cmd=reboot&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&user=".$row['user']."&domain=".$row['sip-auth-realm']."&agent=".urlencode($row['agent'])."';\" />\n";
echo " </td>\n";
echo "</tr>\n";
if ($c==0) { $c=1; } else { $c=0; }