Description column style mods, just for consistency.
This commit is contained in:
parent
774482d6ab
commit
e143301f2a
|
|
@ -120,7 +120,7 @@ else {
|
|||
echo " </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['broadcast_concurrent_limit']." </td>\n";
|
||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['recordingid']."</td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['broadcast_description']." </td>\n";
|
||||
echo " <td valign='top' class='row_stylebg'>".$row['broadcast_description']." </td>\n";
|
||||
echo " <td class='list_control_icons'>";
|
||||
if (permission_exists('call_broadcast_edit')) {
|
||||
echo "<a href='call_broadcast_edit.php?id=".$row['call_broadcast_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@ require_once "resources/paging.php";
|
|||
echo " <td valign='top' class='".$row_style[$c]."'><a href='destination_edit.php?id=".$row['destination_uuid']."'>".$row['destination_number']."</a></td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['destination_context']."</td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".ucwords($row['destination_enabled'])."</td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['destination_description']."</td>\n";
|
||||
echo " <td valign='top' class='row_stylebg'>".$row['destination_description']."</td>\n";
|
||||
echo " <td class='list_control_icons'>";
|
||||
echo "<a href='destination_edit.php?id=".$row['destination_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
||||
echo "<a href='destination_delete.php?id=".$row['destination_uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>";
|
||||
|
|
|
|||
|
|
@ -217,17 +217,6 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-description'].":\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='module_description' maxlength='255' value=\"$module_description\">\n";
|
||||
echo "<br />\n";
|
||||
echo "\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-module_category'].":\n";
|
||||
|
|
@ -287,6 +276,18 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
echo "\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-description'].":\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <input class='formfld' type='text' name='module_description' maxlength='255' value=\"$module_description\">\n";
|
||||
echo "<br />\n";
|
||||
echo "\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo " <tr>\n";
|
||||
echo " <td colspan='2' align='right'>\n";
|
||||
if ($action == "update") {
|
||||
|
|
|
|||
|
|
@ -118,10 +118,10 @@ if (strlen($_GET["a"]) > 0) {
|
|||
$tmp_module_header = "\n";
|
||||
$tmp_module_header .= "<tr>\n";
|
||||
$tmp_module_header .= "<th>".$text['label-label']."</th>\n";
|
||||
$tmp_module_header .= "<th>".$text['label-description']."</th>\n";
|
||||
$tmp_module_header .= "<th>".$text['label-status']."</th>\n";
|
||||
$tmp_module_header .= "<th>".$text['label-action']."</th>\n";
|
||||
$tmp_module_header .= "<th>".$text['label-enabled']."</th>\n";
|
||||
$tmp_module_header .= "<th>".$text['label-description']."</th>\n";
|
||||
$tmp_module_header .= "<td class='list_control_icons'>";
|
||||
$tmp_module_header .= "<a href='module_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
|
||||
$tmp_module_header .= "</td>\n";
|
||||
|
|
@ -166,7 +166,6 @@ if (strlen($_GET["a"]) > 0) {
|
|||
echo $row["module_label"];
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row["module_description"]." </td>\n";
|
||||
if ($mod->active($row["module_name"])) {
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$text['label-running']."</td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'><a href='modules.php?a=stop&m=".$row["module_name"]."' alt='".$text['label-stop']."'>".$text['label-stop']."</a></td>\n";
|
||||
|
|
@ -188,6 +187,7 @@ if (strlen($_GET["a"]) > 0) {
|
|||
echo $text['option-false'];
|
||||
}
|
||||
echo "</td>\n";
|
||||
echo " <td valign='top' class='row_stylebg'>".$row["module_description"]." </td>\n";
|
||||
echo " <td class='list_control_icons'>";
|
||||
if (permission_exists('module_edit')) {
|
||||
echo "<a href='module_edit.php?id=".$row["module_uuid"]."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ else {
|
|||
echo "</td>\n";
|
||||
$var_description = str_replace("\n", "<br />", trim(substr(base64_decode($row['var_description']),0,40)));
|
||||
$var_description = str_replace(" ", " ", $var_description);
|
||||
echo " <td valign='top' align='left' class='".$row_style[$c]."'>".$var_description." </td>\n";
|
||||
echo " <td valign='top' align='left' class='row_stylebg'>".$var_description." </td>\n";
|
||||
echo " <td valign='top' align='right'>";
|
||||
if (permission_exists('var_edit')) {
|
||||
echo "<a href='var_edit.php?id=".$row['var_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ foreach($profiles_array as $profile){
|
|||
<td class='<?php echo $row_style[$c]; ?>'><?php echo $profile['context']; ?> </td>
|
||||
<td class='<?php echo $row_style[$c]; ?>'><?php echo $profile['status']; ?> </td>
|
||||
<td class='<?php echo $row_style[$c]; ?>'><?php echo ucwords($profile['enabled']); ?> </td>
|
||||
<td class='<?php echo $row_style[$c]; ?>'><?php echo $profile['description']; ?> </td>
|
||||
<td class='row_stylebg'><?php echo $profile['description']; ?> </td>
|
||||
<td class='list_control_icons'>
|
||||
<?php
|
||||
if (permission_exists('xmpp_edit')) {
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ require_once "resources/paging.php";
|
|||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['category']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['subcategory']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['version']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."' width='35%'>".$row['description']['en-us']." </td>\n";
|
||||
echo " <td valign='top' class='row_stylebg' width='35%'>".$row['description']['en-us']." </td>\n";
|
||||
/* // temporarily disabled
|
||||
echo " <td class='list_control_icons'>";
|
||||
if (permission_exists('app_edit')) {
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@ require_once "resources/paging.php";
|
|||
echo " \n";
|
||||
echo " </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".ucwords($row['domain_setting_enabled'])." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['domain_setting_description']." </td>\n";
|
||||
echo " <td valign='top' class='row_stylebg'>".$row['domain_setting_description']." </td>\n";
|
||||
echo " <td class='list_control_icons'>";
|
||||
if (permission_exists('domain_setting_edit')) {
|
||||
echo "<a href='domain_setting_edit.php?domain_uuid=".$row['domain_uuid']."&id=".$row['domain_setting_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ else {
|
|||
echo $row['domain_name'];
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['domain_description']." </td>\n";
|
||||
echo " <td valign='top' class='row_stylebg'>".$row['domain_description']." </td>\n";
|
||||
echo " <td class='list_control_icons'>";
|
||||
if (permission_exists('domain_edit')) {
|
||||
echo "<a href='domain_edit.php?id=".$row['domain_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ require_once "resources/paging.php";
|
|||
echo "<tr ".$tr_link.">\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'><a href='menu_edit.php?id=".$row['menu_uuid']."'>".$row['menu_name']."</a></td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['menu_language']."</td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['menu_description']."</td>\n";
|
||||
echo " <td valign='top' class='row_stylebg'>".$row['menu_description']." </td>\n";
|
||||
echo " <td class='list_control_icons'>";
|
||||
echo "<a href='menu_edit.php?id=".$row['menu_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>";
|
||||
echo "<a href='menu_delete.php?id=".$row['menu_uuid']."&menu_uuid=".$row['menu_uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>";
|
||||
|
|
|
|||
|
|
@ -391,7 +391,7 @@ require_once "resources/paging.php";
|
|||
}
|
||||
echo " ".$row['name']."\n";
|
||||
echo " </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."'>\n";
|
||||
echo " <td valign='top' class='row_stylebg'>\n";
|
||||
echo " ".$row['description']."\n";
|
||||
echo " </td>\n";
|
||||
echo "</tr>\n";
|
||||
|
|
|
|||
|
|
@ -88,9 +88,9 @@ else {
|
|||
$strlist = "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
$strlist .= "<tr class='border'>\n";
|
||||
$strlist .= " <th nowrap>".$text['label-group_name']."</th>\n";
|
||||
$strlist .= " <th nowrap>".$text['label-group_description']."</th>\n";
|
||||
$strlist .= " <th nowrap>".$text['label-group_tools']."</th>\n";
|
||||
$strlist .= " <th style='text-align: center;' nowrap>".$text['label-group_protected']."</th>\n";
|
||||
$strlist .= " <th nowrap>".$text['label-group_description']."</th>\n";
|
||||
$strlist .= " <td class='list_control_icons' style='width: 25px;'>";
|
||||
if (permission_exists('group_add')) {
|
||||
$strlist .= "<a href='groupadd.php' alt='".$text['button-add']."'>$v_link_label_add</a>";
|
||||
|
|
@ -129,7 +129,6 @@ else {
|
|||
}
|
||||
*/
|
||||
$strlist .= "</td>\n";
|
||||
$strlist .= "<td class='".$row_style[$c]."' nowrap>".$group_description."</td>\n";
|
||||
$strlist .= "<td class='".$row_style[$c]."' nowrap>\n";
|
||||
if (permission_exists('group_add') || if_group("superadmin")) {
|
||||
$strlist .= "<a class='' href='group_permissions.php?group_name=".$group_name."' title='".$text['label-group_permissions']."'>".$text['label-group_permissions']."</a> ";
|
||||
|
|
@ -146,6 +145,7 @@ else {
|
|||
$strlist .= " <input type='checkbox' name='group_protected' value='false' onchange=\"window.location='".PROJECT_PATH."/core/users/groups.php?change=true&group_name=".$group_name."';\">\n";
|
||||
}
|
||||
$strlist .= "</td>\n";
|
||||
$strlist .= "<td class='row_stylebg' nowrap>".$group_description."</td>\n";
|
||||
$strlist .= "<td class='list_control_icons' style='width: 25px;'>";
|
||||
/*
|
||||
if (permission_exists('group_edit')) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue