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 .= " " . HDU_A172 . " - $hdu_ac_selhelp ".HDU_A503." + $hdu_ac_selhelp ".HDU_A503." 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_A504 . " " . HDU_A503 . "
+($HELPDESK_PREF['hduprefs_seo'] == 1 ?"checked='checked'":"") . " />" . HDU_A503 . "
@@ -113,14 +113,14 @@ $hdu_text .= " " . HDU_A9 . " - " . r_userclass("hduprefs_supervisorclass", $HELPDESK_PREF['hduprefs_supervisorclass'], "off", 'nobody, main,admin, classes') . " " . HDU_A503 . " + " . r_userclass("hduprefs_supervisorclass", $HELPDESK_PREF['hduprefs_supervisorclass'], "off", 'nobody, main,admin, classes') . " " . HDU_A503 . " "; $hdu_text .= " " . HDU_A203 . " - " . r_userclass("hduprefs_postclass", $HELPDESK_PREF['hduprefs_postclass'], "off", 'nobody,member, main,admin, classes') . " " . HDU_A503 . " + " . r_userclass("hduprefs_postclass", $HELPDESK_PREF['hduprefs_postclass'], "off", 'nobody,member, main,admin, classes') . " " . HDU_A503 . " "; @@ -128,7 +128,7 @@ $hdu_text .= " " . HDU_A11 . " - " . r_userclass("hduprefs_userclass", $HELPDESK_PREF['hduprefs_userclass'], "off", 'public,nobody, member,main,admin, classes') . " " . HDU_A503 . " + " . r_userclass("hduprefs_userclass", $HELPDESK_PREF['hduprefs_userclass'], "off", 'public,nobody, member,main,admin, classes') . " " . HDU_A503 . " "; @@ -136,7 +136,7 @@ $hdu_text .= " " . HDU_A107 . " -  " . HDU_A503 . " +  " . HDU_A503 . " "; @@ -144,7 +144,7 @@ $hdu_text .= " " . HDU_A108 . " -  " . HDU_A503 . " +  " . HDU_A503 . " "; @@ -152,14 +152,14 @@ $hdu_text .= " " . HDU_A20 . " -  " . HDU_A503 . " +  " . HDU_A503 . " "; $hdu_text .= " " . HDU_A501 . " -  " . HDU_A503 . " +  " . HDU_A503 . " "; @@ -167,7 +167,7 @@ $hdu_text .= " " . HDU_A1 . " -  " . HDU_A503 . " +  " . HDU_A503 . " "; @@ -175,7 +175,7 @@ $hdu_text .= " " . HDU_A15 . " -  " . HDU_A503 . " +  " . HDU_A503 . " "; @@ -183,7 +183,7 @@ $hdu_text .= " " . HDU_A25 . " -  " . HDU_A503 . " +  " . HDU_A503 . " "; @@ -191,7 +191,7 @@ $hdu_text .= " " . HDU_A115 . " -  " . HDU_A503 . " +  " . HDU_A503 . " "; @@ -199,7 +199,7 @@ $hdu_text .= " " . HDU_A116 . " -  " . HDU_A503 . " +  " . HDU_A503 . " "; @@ -207,7 +207,7 @@ $hdu_text .= " " . HDU_A16 . " -  " . HDU_A503 . " +  " . HDU_A503 . " "; @@ -217,7 +217,7 @@ " . HDU_A23 . " " . HDU_A503 . "
+($HELPDESK_PREF['hduprefs_escalateon'] == 1 ?"checked='checked'":"") . " />" . HDU_A503 . "
@@ -227,7 +227,7 @@ $hdu_text .= " " . HDU_A17 . " -  " . HDU_A503 . " +  " . HDU_A503 . " "; @@ -241,12 +241,12 @@ $hdu_pref_selbox1 .= "" ; } // while - $hdu_pref_selbox1 .= " " . HDU_A503 . ""; + $hdu_pref_selbox1 .= " " . HDU_A503 . ""; } else { $hdu_pref_selbox1 = " " . HDU_A503 . ""; + $hdu_pref_selbox1 = " " . HDU_A503 . ""; } $hdu_text .= " @@ -265,12 +265,12 @@ $hdu_pref_selbox2 .= "" ; } // while - $hdu_pref_selbox2 .= " " . HDU_A503 . ""; + $hdu_pref_selbox2 .= " " . HDU_A503 . ""; } else { $hdu_pref_selbox2 = " " . HDU_A503 . ""; + $hdu_pref_selbox2 = " " . HDU_A503 . ""; } $hdu_text .= " @@ -289,12 +289,12 @@ $hdu_pref_selbox3 .= "" ; } // while - $hdu_pref_selbox3 .= " " . HDU_A503 . ""; + $hdu_pref_selbox3 .= " " . HDU_A503 . ""; } else { $hdu_pref_selbox3 = " " . HDU_A503 . ""; + $hdu_pref_selbox3 = " " . HDU_A503 . ""; } $hdu_text .= " @@ -313,12 +313,12 @@ $hdu_pref_selbox4 .= "" ; } // while - $hdu_pref_selbox4 .= " " . HDU_A503 . ""; + $hdu_pref_selbox4 .= " " . HDU_A503 . ""; } else { $hdu_pref_selbox4 = " " . HDU_A503 . ""; + $hdu_pref_selbox4 = " " . HDU_A503 . ""; } $hdu_text .= " @@ -335,7 +335,7 @@    " . HDU_A503 . ""; +($HELPDESK_PREF['hduprefs_posteronly'] == 0 ?"checked='checked'":"") . " />" . HDU_A503 . ""; $hdu_text .= " @@ -348,7 +348,7 @@    " . HDU_A503 . ""; +($HELPDESK_PREF['hduprefs_reopen'] == 0 ?"checked='checked'":"") . " />" . HDU_A503 . ""; $hdu_text .= " @@ -361,7 +361,7 @@    " . HDU_A503 . ""; +($HELPDESK_PREF['hduprefs_allread'] == 0 ?"checked='checked'":"") . " />" . HDU_A503 . ""; $hdu_text .= " @@ -374,7 +374,7 @@    " . HDU_A503 . ""; +($HELPDESK_PREF['hduprefs_showassettag'] == 0?" checked='checked'":"") . " />" . HDU_A503 . ""; $hdu_text .= " @@ -387,7 +387,7 @@    " . HDU_A503 . ""; +($HELPDESK_PREF['hduprefs_showfixes'] == 0?" checked='checked'":"") . " />" . HDU_A503 . ""; $hdu_text .= " @@ -400,7 +400,7 @@    " . HDU_A503 . ""; +($HELPDESK_PREF['hduprefs_showfinance'] == 0?" checked='checked'":"") . " />" . HDU_A503 . ""; $hdu_text .= " @@ -413,7 +413,7 @@    " . HDU_A503 . ""; +($HELPDESK_PREF['hduprefs_showfinusers'] == 0?" checked='checked'":"") . " />" . HDU_A503 . ""; $hdu_text .= " @@ -422,7 +422,7 @@ $hdu_text .= " " . HDU_A129 . " -  " . HDU_A503 . " +  " . HDU_A503 . " "; @@ -434,7 +434,7 @@    " . HDU_A503 . ""; +($HELPDESK_PREF['hduprefs_autoassign'] == 0?" checked='checked'":"") . " />" . HDU_A503 . ""; $hdu_text .= " 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_A503." +  ".HDU_A503." "; @@ -82,7 +82,7 @@ -  ".HDU_A503." +  ".HDU_A503." "; @@ -94,7 +94,7 @@ -  ".HDU_A503." +  ".HDU_A503." "; @@ -113,7 +113,7 @@ extract($hdu_row); $hdu_ul .= ""; } // while -$hdu_ul .= " ".HDU_A503.""; +$hdu_ul .= " ".HDU_A503.""; $hdu_text .= " " . HDU_A471 . " @@ -126,7 +126,7 @@ " . HDU_A121 . " -  ".HDU_A503." +  ".HDU_A503." "; @@ -138,7 +138,7 @@    ".HDU_A503.""; +($HELPDESK_PREF['hduprefs_mailpdf'] == 0 ?"checked='checked'":"") . " />".HDU_A503.""; $hdu_text .= " @@ -148,7 +148,7 @@ " . HDU_A118 . " -  ".HDU_A503." +  ".HDU_A503." "; @@ -157,7 +157,7 @@ " . HDU_A120 . " -  ".HDU_A503." +  ".HDU_A503." "; @@ -166,7 +166,7 @@ " . HDU_A137 . " -  ".HDU_A503." +  ".HDU_A503." "; @@ -175,7 +175,7 @@ " . HDU_A139 . " -  ".HDU_A503." +  ".HDU_A503." "; @@ -184,7 +184,7 @@ " . HDU_A122 . " -  ".HDU_A503." +  ".HDU_A503." "; @@ -193,7 +193,7 @@ " . HDU_A124 . " -  ".HDU_A503." +  ".HDU_A503." "; @@ -202,7 +202,7 @@ " . HDU_A125 . " -  ".HDU_A503." +  ".HDU_A503." "; @@ -211,7 +211,7 @@ " . HDU_A127 . " -  ".HDU_A503." +  ".HDU_A503." "; 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 .= " " . EVERSION_U19 . " " . $evrsn_pversion . " " . EVERSION_U20 . ""; + $evrsn_text .= " " . EVERSION_U19 . " " . $evrsn_pversion . " " . EVERSION_U20 . ""; } $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 .= " " . EVERSION_U7 . " - " . $evrsn_serversion . ""; + $evrsn_text .= " " . EVERSION_U7 . " - " . $evrsn_serversion . ""; if ($evrsn_tmpupdate[2] > 0) { // is it a beta version? @@ -110,7 +110,7 @@ else { // It is the latest version - $evrsn_text .= " " . EVERSION_U9; + $evrsn_text .= " " . EVERSION_U9; $evrsn_text .= "

" . EVERSION_U13 . " " . EVERSION_U14 . "
"; } } 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 "" . HDU_104 . ""; + return "" . HDU_104 . ""; } SC_END @@ -187,7 +187,7 @@ global $helpdesk_obj, $id; if (!$helpdesk_obj->hdu_new && (!$helpdesk_obj->hduprefs_posteronly || $helpdesk_obj->hdu_super)) { - return "" . HDU_255 . ""; + return "" . HDU_255 . ""; } else { @@ -378,7 +378,7 @@ global $helpdesk_obj,$id,$from; if (!$helpdesk_obj->hdu_new && $helpdesk_obj->hdu_super) { - return "".HDU_228.""; + return "".HDU_228.""; } else {