mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Added device_settings.php, device_settings_delete.php, and device_settings_edit.php as well as modified app_config.php and app_languages.php to include the new labels and permissions.
This commit is contained in:
@@ -115,6 +115,7 @@ else {
|
||||
//echo th_order_by('device_username', $text['label-device_username'], $order_by, $order);
|
||||
//echo th_order_by('device_password', $text['label-device_password'], $order_by, $order);
|
||||
//echo th_order_by('device_time_zone', $text['label-device_time_zone'], $order_by, $order);
|
||||
echo "<th>".$text['label-tools']."</th>\n";
|
||||
echo th_order_by('device_description', $text['label-device_description'], $order_by, $order);
|
||||
echo "<td align='right' width='42'>\n";
|
||||
if (permission_exists('device_add')) {
|
||||
@@ -143,6 +144,9 @@ else {
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['device_username']." </td>\n";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['device_password']." </td>\n";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['device_time_zone']." </td>\n";
|
||||
echo " <td valign='middle' class='".$row_style[$c]."'>\n";
|
||||
echo " <a href='device_settings.php?id=".$row['device_uuid']."'>".$text['label-settings']."</a> \n";
|
||||
echo " </td>\n";
|
||||
echo " <td valign='top' class='row_stylebg'>".$row['device_description']." </td>\n";
|
||||
echo " <td valign='top' align='right'>\n";
|
||||
if (permission_exists('device_edit')) {
|
||||
@@ -159,10 +163,12 @@ else {
|
||||
} //end if results
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td colspan='7' align='left'>\n";
|
||||
echo "<td colspan='8' align='left'>\n";
|
||||
echo " <table width='100%' cellpadding='0' cellspacing='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td width='33.3%' nowrap='nowrap'> </td>\n";
|
||||
echo " <td width='33.3%' nowrap='nowrap'> </td>\n";
|
||||
echo " <td width='33.3%' nowrap='nowrap'> </td>\n";
|
||||
echo " <td width='33.3%' align='center' nowrap='nowrap'>$paging_controls</td>\n";
|
||||
echo " <td width='33.3%' align='right'>\n";
|
||||
if (permission_exists('device_add')) {
|
||||
|
||||
Reference in New Issue
Block a user