From 1b97a0d599f4946866b16aa1c90cb1a7983aa958 Mon Sep 17 00:00:00 2001 From: Jimako Date: Mon, 9 Dec 2024 16:02:16 +0100 Subject: [PATCH] #9 radios fixed --- helpdesk3/includes/helpdesk_class.php | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/helpdesk3/includes/helpdesk_class.php b/helpdesk3/includes/helpdesk_class.php index 0897501..405e7ea 100644 --- a/helpdesk3/includes/helpdesk_class.php +++ b/helpdesk3/includes/helpdesk_class.php @@ -2,6 +2,30 @@ include_lan(e_PLUGIN . HELPDESK_FOLDER . "/languages/admin/" . e_LANGUAGE . "_helpdesk_admin.php"); include_lan(e_PLUGIN . HELPDESK_FOLDER . "/languages/" . e_LANGUAGE . "_helpdesk.php"); + + +$admin_style_fix = ' +tr td.forumheader3:nth-of-type(2) { + display: flex; + align-items: center; + gap: 10px; /* Adjust spacing between elements */ + flex-wrap: wrap; /* Allows wrapping if needed */ +} + +tr td.forumheader3:nth-of-type(2) input[type="radio"], +tr td.forumheader3:nth-of-type(2) input[type="checkbox"] { + margin-right: 5px; /* Space between input and label */ +} + +tr td.forumheader3:nth-of-type(2) label { + margin-right: 15px; /* Space between label groups */ +} + +'; + +e107::css('inline', $admin_style_fix); + + require_once(e_HANDLER . "userclass_class.php"); class helpdesk { @@ -1337,7 +1361,7 @@ function update_ticket($id) // * // * // ********************************************************************************************** - function hdu_notify($hdu_notifyid = 0, $hdu_notifyaction) + function hdu_notify($hdu_notifyid = 0, $hdu_notifyaction = NULL) { global $tp, $sql, $sql2, $PLUGINS_DIRECTORY, $pref, $sysprefs, $pm_prefs, $HELPDESK_PREF, $hdu_up_db, $hdu_msg, $hdu_recno, @@ -1781,6 +1805,7 @@ function regen_htaccess($onoff) $file = file($hta); $skip_line = false; unset($new_line); + $new_line = array(); foreach($file as $line) { if (strpos($line, '*** HELPDESK REWRITE BEGIN ***') > 0)