mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Theme: Add additional Settings to control the style of various elements, remove old css classes.
Default/Domain/User Settings: Add color previews in list view.
This commit is contained in:
@@ -242,7 +242,7 @@ require_once "resources/header.php";
|
||||
echo "<div align='center'>";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='2'>\n";
|
||||
|
||||
echo "<tr class='border'>\n";
|
||||
echo "<tr>\n";
|
||||
echo " <td align=\"center\">\n";
|
||||
echo " <br>";
|
||||
|
||||
|
||||
@@ -23,19 +23,7 @@
|
||||
Contributor(s):
|
||||
Mark J Crane <markjcrane@fusionpbx.com>
|
||||
*/
|
||||
/*
|
||||
echo "<br><br>";
|
||||
echo "</td></tr></table>";
|
||||
|
||||
echo "<span class='smalltext'>";
|
||||
echo "fusionpbx ";
|
||||
echo " ";
|
||||
echo "<a href='http://fusionpbx.com'>http://fusionpbx.com</a>";
|
||||
echo " ";
|
||||
echo "Author: Mark J. Crane ";
|
||||
|
||||
echo "</span>";
|
||||
*/
|
||||
echo "<div>";
|
||||
echo "</body>";
|
||||
echo "</html>";
|
||||
|
||||
@@ -376,7 +376,6 @@ else {
|
||||
$c = 0;
|
||||
$row_style["0"] = "row_style0";
|
||||
$row_style["1"] = "row_style1";
|
||||
$row_style["2"] = "row_style2";
|
||||
|
||||
//show the default category
|
||||
if (permission_exists('music_on_hold_default_view')) {
|
||||
@@ -411,7 +410,7 @@ else {
|
||||
echo "<tr>\n";
|
||||
echo " <td class='".$row_style[$c]."'>".$file."</td>\n";
|
||||
if (strlen($file) > 0) {
|
||||
echo " <td valign='top' class='".$row_style["2"]." ".((!$c) ? "row_style_hor_mir_grad" : null)." tr_link_void'>";
|
||||
echo " <td valign='top' class='".$row_style[$c]." row_style_slim tr_link_void'>";
|
||||
$recording_file_path = $file;
|
||||
$recording_file_name = strtolower(pathinfo($recording_file_path, PATHINFO_BASENAME));
|
||||
$recording_file_ext = pathinfo($recording_file_name, PATHINFO_EXTENSION);
|
||||
@@ -485,7 +484,7 @@ else {
|
||||
echo "<tr>\n";
|
||||
echo " <td class='".$row_style[$c]."'>".$file."</td>\n";
|
||||
if (strlen($file) > 0) {
|
||||
echo " <td valign='top' class='".$row_style["2"]." ".((!$c) ? "row_style_hor_mir_grad" : null)." tr_link_void'>";
|
||||
echo " <td valign='top' class='".$row_style[$c]." row_style_slim tr_link_void'>";
|
||||
$recording_file_path = $file;
|
||||
$recording_file_name = strtolower(pathinfo($row['recording_filename'], PATHINFO_BASENAME));
|
||||
$recording_file_ext = pathinfo($recording_file_name, PATHINFO_EXTENSION);
|
||||
|
||||
@@ -284,7 +284,6 @@ require_once "resources/check_auth.php";
|
||||
$c = 0;
|
||||
$row_style["0"] = "row_style0";
|
||||
$row_style["1"] = "row_style1";
|
||||
$row_style["2"] = "row_style2";
|
||||
|
||||
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo "<tr>\n";
|
||||
@@ -319,7 +318,7 @@ require_once "resources/check_auth.php";
|
||||
echo " <td class='".$row_style[$c]."' style='text-align: center;'>".$tmp_filesize."</td>\n";
|
||||
}
|
||||
if (permission_exists('recording_play') || permission_exists('recording_download')) {
|
||||
echo " <td valign='top' class='".$row_style["2"]." ".((!$c) ? "row_style_hor_mir_grad" : null)." tr_link_void'>";
|
||||
echo " <td valign='top' class='".$row_style[$c]." row_style_slim tr_link_void'>";
|
||||
if (permission_exists('recording_play')) {
|
||||
$recording_file_path = $row['recording_filename'];
|
||||
$recording_file_name = strtolower(pathinfo($recording_file_path, PATHINFO_BASENAME));
|
||||
|
||||
@@ -352,7 +352,6 @@ require_once "resources/check_auth.php";
|
||||
$c = 0;
|
||||
$row_style["0"] = "row_style0";
|
||||
$row_style["1"] = "row_style1";
|
||||
$row_style["2"] = "row_style2";
|
||||
|
||||
echo "<table class='tr_hover' width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo "<tr>\n";
|
||||
@@ -397,7 +396,7 @@ require_once "resources/check_auth.php";
|
||||
echo " <td class='".$row_style[$c]."' style='text-align: right;' nowrap>".$tmp_filesize."</td>\n";
|
||||
}
|
||||
if (permission_exists('voicemail_greeting_play') || permission_exists('voicemail_greeting_download')) {
|
||||
echo " <td valign='top' class='".$row_style["2"]." ".((!$c) ? "row_style_hor_mir_grad" : null)." tr_link_void'>";
|
||||
echo " <td valign='top' class='".$row_style[$c]." row_style_slim tr_link_void'>";
|
||||
if (permission_exists('voicemail_greeting_play')) {
|
||||
$greeting_file_path = $row['greeting_filename'];
|
||||
$greeting_file_name = strtolower(pathinfo($greeting_file_path, PATHINFO_BASENAME));
|
||||
|
||||
@@ -93,7 +93,6 @@ if (!(check_str($_REQUEST["action"]) == "download" && check_str($_REQUEST["src"]
|
||||
$c = 0;
|
||||
$row_style["0"] = "row_style0";
|
||||
$row_style["1"] = "row_style1";
|
||||
$row_style["2"] = "row_style2";
|
||||
|
||||
//loop through the voicemail messages
|
||||
if (count($voicemails) > 0) {
|
||||
@@ -165,7 +164,7 @@ if (!(check_str($_REQUEST["action"]) == "download" && check_str($_REQUEST["src"]
|
||||
echo " <td valign='top' class='".$row_style[$c]."' style=\"".$style."\" nowrap='nowrap'>".$row['created_date']."</td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."' style=\"".$style."\">".$row['caller_id_name']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style[$c]."' style=\"".$style."\">".$row['caller_id_number']." </td>\n";
|
||||
echo " <td valign='top' class='".$row_style["2"]." ".((!$c) ? "row_style_hor_mir_grad" : null)." tr_link_void' onclick=\"$(this).closest('tr').children('td').css('font-weight','normal');\">";
|
||||
echo " <td valign='top' class='".$row_style[$c]." row_style_slim tr_link_void' onclick=\"$(this).closest('tr').children('td').css('font-weight','normal');\">";
|
||||
$recording_file_path = $file;
|
||||
$recording_file_name = strtolower(pathinfo($recording_file_path, PATHINFO_BASENAME));
|
||||
$recording_file_ext = pathinfo($recording_file_name, PATHINFO_EXTENSION);
|
||||
|
||||
@@ -529,7 +529,7 @@ else {
|
||||
//recording
|
||||
if (permission_exists('recording_play') || permission_exists('recording_download')) {
|
||||
if ($recording_file_path != '') {
|
||||
echo " <td valign='top' align='center' class='".$row_style["2"]." ".((!$c) ? "row_style_hor_mir_grad" : null)." tr_link_void' nowrap='nowrap'>";
|
||||
echo " <td valign='top' align='center' class='".$row_style[$c]." row_style_slim tr_link_void' nowrap='nowrap'>";
|
||||
if (permission_exists('recording_play')) {
|
||||
echo "<audio id='recording_audio_".$row['uuid']."' style='display: none;' preload='none' ontimeupdate=\"update_progress('".$row['uuid']."')\" onended=\"recording_reset('".$row['uuid']."');\" src=\"".PROJECT_PATH."/app/recordings/recordings.php?a=download&type=rec&filename=".base64_encode($recording_file_path)."\" type='".$recording_type."'></audio>";
|
||||
echo "<span id='recording_button_".$row['uuid']."' onclick=\"recording_play('".$row['uuid']."')\" title='".$text['label-play']." / ".$text['label-pause']."'>".$v_link_label_play."</span>";
|
||||
|
||||
@@ -362,6 +362,5 @@ else {
|
||||
$c = 0;
|
||||
$row_style["0"] = "row_style0";
|
||||
$row_style["1"] = "row_style1";
|
||||
$row_style["2"] = "row_style2";
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user