mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Added content card to applications (#7121)
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2023
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2024
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
@@ -823,7 +823,7 @@
|
||||
case 'hour': //hours of day
|
||||
<?php
|
||||
if ( $_SESSION['domain']['time_format']['text'] =="24h") {
|
||||
|
||||
|
||||
for ($h = 0; $h <= 23; $h++) {
|
||||
echo "sel_start.options[sel_start.options.length] = new Option(".$h.", ".$h.");\n";
|
||||
echo "sel_stop.options[sel_stop.options.length] = new Option(".$h.", ".$h.");\n";
|
||||
@@ -978,6 +978,7 @@ echo "</div>\n";
|
||||
echo $text['description-time_conditions']."\n";
|
||||
echo "<br /><br />\n";
|
||||
|
||||
echo "<div class='card'>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
@@ -1062,7 +1063,7 @@ if ($action == 'update') {
|
||||
|
||||
//adjust time one minute earlier to account for freeswitch one minute early on start condition behavior.
|
||||
$cond_val_start = $cond_val_start - 1;
|
||||
|
||||
|
||||
$cond_val_start = number_pad(floor($cond_val_start / 60),2).":".number_pad(fmod($cond_val_start, 60),2);
|
||||
if ($cond_val_stop != '') {
|
||||
$cond_val_stop = number_pad(floor($cond_val_stop / 60),2).":".number_pad(fmod($cond_val_stop, 60),2);
|
||||
@@ -1333,6 +1334,7 @@ if ($action == 'update') {
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
echo "<br /><br />\n";
|
||||
|
||||
if ($action == "update") {
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
The Initial Developer of the Original Code is
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2023
|
||||
Portions created by the Initial Developer are Copyright (C) 2008-2024
|
||||
the Initial Developer. All Rights Reserved.
|
||||
|
||||
Contributor(s):
|
||||
@@ -191,6 +191,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('time_condition_edit') || permission_exists('time_condition_delete')) {
|
||||
@@ -271,6 +272,7 @@
|
||||
unset($dialplans);
|
||||
|
||||
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";
|
||||
|
||||
Reference in New Issue
Block a user