Add CDR column_overflow default setting (#7314)

* Add cdr column_overflow default setting

* Update app_config.php

* Update xml_cdr.php

* Update default_setting_edit.php

* Update template.php

* Update app_languages.php

* Update css.php
This commit is contained in:
Alex
2025-03-13 13:49:30 -07:00
committed by GitHub
parent 77d2b3099a
commit 5dffd4d6e0
6 changed files with 89 additions and 6 deletions

View File

@@ -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-2024
Portions created by the Initial Developer are Copyright (C) 2008-2025
the Initial Developer. All Rights Reserved.
Contributor(s):
@@ -658,6 +658,22 @@
$param = substr($param, 1); //remove leading '&'
$param = substr($param, 0, strrpos($param, '&order_by=')); //remove trailing order by
//column overflow setting
echo "<style>\n";
if ($settings->get('cdr', 'column_overflow', 'hidden') == 'scroll') {
echo ".hide-sm-dn, .hide-md-dn, .hide-lg-dn {\n";
echo " all: revert;\n";
echo "}\n";
echo ".list {\n";
echo " overflow-x: scroll;\n";
echo "}\n";
} else {
echo ".list {\n";
echo " overflow-x: hidden;\n";
echo "}\n";
}
echo "</style>\n";
//show the results
echo "<form id='form_list' method='post'>\n";
echo "<input type='hidden' id='action' name='action' value=''>\n";