diff --git a/helpdesk3/admin_cat.php b/helpdesk3/admin_cat.php
index f7162ba..704a76e 100644
--- a/helpdesk3/admin_cat.php
+++ b/helpdesk3/admin_cat.php
@@ -186,7 +186,7 @@
$hdu_ac_text .= "
-
diff --git a/helpdesk3/admin_config.php b/helpdesk3/admin_config.php
index a97a6c9..449f0c8 100644
--- a/helpdesk3/admin_config.php
+++ b/helpdesk3/admin_config.php
@@ -104,7 +104,7 @@
-
";
$hdu_text .= "
-
";
@@ -128,7 +128,7 @@
$hdu_text .= "
-
";
@@ -136,7 +136,7 @@
$hdu_text .= "
-
";
@@ -144,7 +144,7 @@
$hdu_text .= "
-
";
@@ -152,14 +152,14 @@
$hdu_text .= "
-
";
$hdu_text .= "
-
";
@@ -167,7 +167,7 @@
$hdu_text .= "
-
";
@@ -175,7 +175,7 @@
$hdu_text .= "
-
";
@@ -183,7 +183,7 @@
$hdu_text .= "
-
";
@@ -191,7 +191,7 @@
$hdu_text .= "
-
";
@@ -199,7 +199,7 @@
$hdu_text .= "
-
";
@@ -207,7 +207,7 @@
$hdu_text .= "
-
";
@@ -217,7 +217,7 @@
-
";
@@ -241,12 +241,12 @@
$hdu_pref_selbox1 .= "" . $tp->toFORM($hdures_resolution) . " " ;
} // while
- $hdu_pref_selbox1 .= " ";
+ $hdu_pref_selbox1 .= " ";
}
else
{
$hdu_pref_selbox1 = "";
- $hdu_pref_selbox1 = "" . HDU_A113 . " ";
+ $hdu_pref_selbox1 = "" . HDU_A113 . " ";
}
$hdu_text .= "
@@ -265,12 +265,12 @@
$hdu_pref_selbox2 .= "" . $tp->toFORM($hdures_resolution) . " " ;
} // while
- $hdu_pref_selbox2 .= " ";
+ $hdu_pref_selbox2 .= " ";
}
else
{
$hdu_pref_selbox2 = "";
- $hdu_pref_selbox2 = "" . HDU_A113 . " ";
+ $hdu_pref_selbox2 = "" . HDU_A113 . " ";
}
$hdu_text .= "
@@ -289,12 +289,12 @@
$hdu_pref_selbox3 .= "" . $tp->toFORM($hdures_resolution) . " " ;
} // while
- $hdu_pref_selbox3 .= " ";
+ $hdu_pref_selbox3 .= " ";
}
else
{
$hdu_pref_selbox3 = "";
- $hdu_pref_selbox3 = "" . HDU_A113 . " ";
+ $hdu_pref_selbox3 = "" . HDU_A113 . " ";
}
$hdu_text .= "
@@ -313,12 +313,12 @@
$hdu_pref_selbox4 .= "" . $tp->toFORM($hdures_resolution) . " " ;
} // while
- $hdu_pref_selbox4 .= " ";
+ $hdu_pref_selbox4 .= " ";
}
else
{
$hdu_pref_selbox4 = "";
- $hdu_pref_selbox4 = "" . HDU_A113 . " ";
+ $hdu_pref_selbox4 = "" . HDU_A113 . " ";
}
$hdu_text .= "
@@ -335,7 +335,7 @@
" . HDU_A28 . "
" . HDU_A29 . " ";
+($HELPDESK_PREF['hduprefs_posteronly'] == 0 ?"checked='checked'":"") . " /> " . HDU_A29 . " ";
$hdu_text .= "
" . HDU_A318 . "
@@ -348,7 +348,7 @@
" . HDU_A28 . "
" . HDU_A29 . " ";
+($HELPDESK_PREF['hduprefs_reopen'] == 0 ?"checked='checked'":"") . " /> " . HDU_A29 . " ";
$hdu_text .= "
" . HDU_A319 . "
@@ -361,7 +361,7 @@
" . HDU_A28 . "
" . HDU_A29 . " ";
+($HELPDESK_PREF['hduprefs_allread'] == 0 ?"checked='checked'":"") . " /> " . HDU_A29 . " ";
$hdu_text .= "
" . HDU_A320 . "
@@ -374,7 +374,7 @@
" . HDU_A28 . "
" . HDU_A29 . " ";
+($HELPDESK_PREF['hduprefs_showassettag'] == 0?" checked='checked'":"") . " /> " . HDU_A29 . " ";
$hdu_text .= "
" . HDU_A321 . "
@@ -387,7 +387,7 @@
" . HDU_A28 . "
" . HDU_A29 . " ";
+($HELPDESK_PREF['hduprefs_showfixes'] == 0?" checked='checked'":"") . " /> " . HDU_A29 . " ";
$hdu_text .= "
" . HDU_A322 . "
@@ -400,7 +400,7 @@
" . HDU_A28 . "
" . HDU_A29 . " ";
+($HELPDESK_PREF['hduprefs_showfinance'] == 0?" checked='checked'":"") . " />" . HDU_A29 . " ";
$hdu_text .= "
" . HDU_A323 . "
@@ -413,7 +413,7 @@
" . HDU_A28 . "
" . HDU_A29 . " ";
+($HELPDESK_PREF['hduprefs_showfinusers'] == 0?" checked='checked'":"") . " /> " . HDU_A29 . " ";
$hdu_text .= "
" . HDU_A324 . "
@@ -422,7 +422,7 @@
$hdu_text .= "
-
";
@@ -434,7 +434,7 @@
" . HDU_A28 . "
" . HDU_A29 . " ";
+($HELPDESK_PREF['hduprefs_autoassign'] == 0?" checked='checked'":"") . " /> " . HDU_A29 . " ";
$hdu_text .= "
" . HDU_A327 . "
diff --git a/helpdesk3/admin_mail.php b/helpdesk3/admin_mail.php
index 992299a..41f3b6b 100644
--- a/helpdesk3/admin_mail.php
+++ b/helpdesk3/admin_mail.php
@@ -69,7 +69,7 @@
" . HDU_A468 . "
" . HDU_A469 . "
" . HDU_A470 . "
-
+
" . HDU_A340 . "
";
@@ -82,7 +82,7 @@
" . HDU_A468 . "
" . HDU_A469 . "
" . HDU_A470 . "
-
+
" . HDU_A506 . "
";
@@ -94,7 +94,7 @@
" . HDU_A468 . "
" . HDU_A469 . "
" . HDU_A470 . "
-
+
" . HDU_A341 . "
";
@@ -113,7 +113,7 @@
extract($hdu_row);
$hdu_ul .= "" . $tp->toFORM($user_name) . " ";
} // while
-$hdu_ul .= " ";
+$hdu_ul .= " ";
$hdu_text .= "
@@ -126,7 +126,7 @@
";
@@ -138,7 +138,7 @@
" . HDU_A28 . "
" . HDU_A29." ";
+($HELPDESK_PREF['hduprefs_mailpdf'] == 0 ?"checked='checked'":"") . " /> " . HDU_A29." ";
$hdu_text .= "
" . HDU_A331 . "
@@ -148,7 +148,7 @@
";
@@ -157,7 +157,7 @@
";
@@ -166,7 +166,7 @@
";
@@ -175,7 +175,7 @@
";
@@ -184,7 +184,7 @@
";
@@ -193,7 +193,7 @@
";
@@ -202,7 +202,7 @@
";
@@ -211,7 +211,7 @@
";
diff --git a/helpdesk3/admin_vupdate.php b/helpdesk3/admin_vupdate.php
index 1de0da4..21519b1 100644
--- a/helpdesk3/admin_vupdate.php
+++ b/helpdesk3/admin_vupdate.php
@@ -71,7 +71,7 @@
if ($evrsn_pcurrent != $evrsn_current)
{
- $evrsn_text .= " ";
+ $evrsn_text .= " ";
}
$evrsn_nownotbeta = false;
// Check if now not beta
@@ -82,7 +82,7 @@
if ($evrsn_update > $evrsn_current || $evrsn_nownotbeta)
{
// if server version greater than installed version
- $evrsn_text .= " ";
}
}
diff --git a/helpdesk3/helpdesk_defines.php b/helpdesk3/helpdesk_defines.php
new file mode 100644
index 0000000..d130bbf
--- /dev/null
+++ b/helpdesk3/helpdesk_defines.php
@@ -0,0 +1,6 @@
+hdu_new)
{
- return " ";
+ return " ";
}
SC_END
@@ -187,7 +187,7 @@
global $helpdesk_obj, $id;
if (!$helpdesk_obj->hdu_new && (!$helpdesk_obj->hduprefs_posteronly || $helpdesk_obj->hdu_super))
{
- return " ";
+ return " ";
}
else
{
@@ -378,7 +378,7 @@
global $helpdesk_obj,$id,$from;
if (!$helpdesk_obj->hdu_new && $helpdesk_obj->hdu_super)
{
- return " ";
+ return " ";
}
else
{