From 75ec879ff9bb928c1ccac9e1cfab1585795ce34c Mon Sep 17 00:00:00 2001 From: reliberate Date: Thu, 7 Apr 2016 12:00:19 -0600 Subject: [PATCH] Theme: Integrate settings to customize the style of edit form tables (label, field, heading and row cells). Editor: Prevent / (slashes) in clip name. Dialplan Editor: Code cleanup, and minor adjustments for theme compatibility. Functions: Add option to check_str() to skip string trim. --- app/dialplan/dialplan_edit.php | 46 +++------- app/edit/clipadd.php | 5 ++ app/edit/clipupdate.php | 8 +- resources/functions.php | 5 +- themes/default/app_defaults.php | 152 +++++++++++++++++++++++++++++++- themes/default/template.php | 129 +++++++++++++++------------ 6 files changed, 250 insertions(+), 95 deletions(-) diff --git a/app/dialplan/dialplan_edit.php b/app/dialplan/dialplan_edit.php index 25b3b7082a..2b5329623b 100644 --- a/app/dialplan/dialplan_edit.php +++ b/app/dialplan/dialplan_edit.php @@ -497,12 +497,6 @@ else { //dialplan details if ($action == "update") { - - //define the alternating row styles - $c = 0; - $row_style["0"] = "row_style0"; - $row_style["1"] = "row_style1"; - ?>