Skip to content

Commit

Permalink
Update streams.php (fusionpbx#7127)
Browse files Browse the repository at this point in the history
* Update streams.php

* Update call_center_queue.php

* Update menu.php

* Update vars.php

* Update dashboard.php

* Update dashboard_edit.php
  • Loading branch information
alexdcrane authored Sep 9, 2024
1 parent 20283be commit 0c5a2ca
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/call_center_active/call_center_queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

//show the content
echo "<div class='action_bar' id='action_bar'>\n";
echo " <div class='heading'><b>".$text['header-active_call_center']." (".$num_rows.")</b></div>\n";
echo " <div class='heading'><b>".$text['header-active_call_center']."</b><div class='count'>".number_format($num_rows)."</div></div>\n";
echo " <div class='actions'>\n";
echo "<form id='form_search' class='inline' method='get'>\n";
echo "<input type='text' class='txt list-search' name='search' id='search' value=\"".escape($search)."\" placeholder=\"".$text['label-search']."\" onkeydown='list_search_reset();'>";
Expand Down Expand Up @@ -158,4 +158,4 @@
//show the footer
require_once "resources/footer.php";

?>
?>
2 changes: 1 addition & 1 deletion app/streams/streams.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@

//show the content
echo "<div class='action_bar' id='action_bar'>\n";
echo " <div class='heading'><b>".$text['title-streams']." (".$num_rows.")</b></div>\n";
echo " <div class='heading'><b>".$text['title-streams']."</b><div class='count'>".number_format($num_rows)."</div></div>\n";
echo " <div class='actions'>\n";
if (permission_exists('stream_add')) {
echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$_SESSION['theme']['button_icon_add'],'id'=>'btn_add','link'=>'stream_edit.php']);
Expand Down
2 changes: 1 addition & 1 deletion app/vars/vars.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@

//show the content
echo "<div class='action_bar' id='action_bar'>\n";
echo " <div class='heading'><b>".$text['header-variables']." (".$num_rows.")</b></div>\n";
echo " <div class='heading'><b>".$text['header-variables']."</b><div class='count'>".number_format($num_rows)."</div></div>\n";
echo " <div class='actions'>\n";
if (permission_exists('var_add')) {
echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$_SESSION['theme']['button_icon_add'],'id'=>'btn_add','link'=>'var_edit.php']);
Expand Down
2 changes: 2 additions & 0 deletions core/dashboard/dashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@
echo "<input type='hidden' id='action' name='action' value=''>\n";
echo "<input type='hidden' name='search' value=\"".escape($search ?? '')."\">\n";

echo "<div class='card'>\n";
echo "<table class='list'>\n";
echo "<tr class='list-header'>\n";
if (permission_exists('dashboard_add') || permission_exists('dashboard_edit') || permission_exists('dashboard_delete')) {
Expand Down Expand Up @@ -340,6 +341,7 @@
}

echo "</table>\n";
echo "</div>\n";
echo "<br />\n";
echo "<div align='center'>".($paging_controls ?? '')."</div>\n";
echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
Expand Down
2 changes: 2 additions & 0 deletions core/dashboard/dashboard_edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,7 @@
}
}

echo "<div class='card'>\n";
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";

echo "<tr>\n";
Expand Down Expand Up @@ -1175,6 +1176,7 @@
echo "</tr>\n";

echo "</table>";
echo "</div>\n";
echo "<br /><br />";

echo "<input type='hidden' name='".$token['name']."' value='".$token['hash']."'>\n";
Expand Down
2 changes: 1 addition & 1 deletion core/menu/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@

//show the content
echo "<div class='action_bar' id='action_bar'>\n";
echo " <div class='heading'><b>".$text['title-menus']." (".$num_rows.")</b></div>\n";
echo " <div class='heading'><b>".$text['title-menus']."</b><div class='count'>".number_format($num_rows)."</div></div>\n";
echo " <div class='actions'>\n";
if (permission_exists('menu_add')) {
echo button::create(['type'=>'button','label'=>$text['button-add'],'icon'=>$_SESSION['theme']['button_icon_add'],'id'=>'btn_add','link'=>'menu_edit.php']);
Expand Down

0 comments on commit 0c5a2ca

Please sign in to comment.