mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user