Skip to content

Commit

Permalink
#9 radios fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jimmi08 committed Dec 9, 2024
1 parent 4b28832 commit 1b97a0d
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion helpdesk3/includes/helpdesk_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 1b97a0d

Please sign in to comment.