Commit e9ed3dc4eeab0a1c5a8546fd3f6652325afe43a5
1 parent
afab2a5d
KTS-1687
"Double quote to single quote conversion" Fixed. Reviewed by: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@6222 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
15 additions
and
15 deletions
help.php
| ... | ... | @@ -25,16 +25,16 @@ |
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | 27 | // main library routines and defaults |
| 28 | -require_once("config/dmsDefaults.php"); | |
| 29 | -require_once(KT_LIB_DIR . "/templating/templating.inc.php"); | |
| 30 | -require_once(KT_LIB_DIR . "/templating/kt3template.inc.php"); | |
| 31 | -require_once(KT_LIB_DIR . "/dispatcher.inc.php"); | |
| 32 | -require_once(KT_LIB_DIR . "/util/ktutil.inc"); | |
| 28 | +require_once('config/dmsDefaults.php'); | |
| 29 | +require_once(KT_LIB_DIR . '/templating/templating.inc.php'); | |
| 30 | +require_once(KT_LIB_DIR . '/templating/kt3template.inc.php'); | |
| 31 | +require_once(KT_LIB_DIR . '/dispatcher.inc.php'); | |
| 32 | +require_once(KT_LIB_DIR . '/util/ktutil.inc'); | |
| 33 | 33 | |
| 34 | -require_once(KT_LIB_DIR . "/security/Permission.inc"); | |
| 34 | +require_once(KT_LIB_DIR . '/security/Permission.inc'); | |
| 35 | 35 | |
| 36 | -require_once(KT_LIB_DIR . "/help/helpreplacement.inc.php"); | |
| 37 | -require_once(KT_LIB_DIR . "/help/help.inc.php"); | |
| 36 | +require_once(KT_LIB_DIR . '/help/helpreplacement.inc.php'); | |
| 37 | +require_once(KT_LIB_DIR . '/help/help.inc.php'); | |
| 38 | 38 | |
| 39 | 39 | /* |
| 40 | 40 | * KT3 Help functionality. |
| ... | ... | @@ -55,7 +55,7 @@ require_once(KT_LIB_DIR . "/help/help.inc.php"); |
| 55 | 55 | |
| 56 | 56 | class HelpDispatcher extends KTStandardDispatcher { |
| 57 | 57 | |
| 58 | - var $sSection = "dashboard"; | |
| 58 | + var $sSection = 'dashboard'; | |
| 59 | 59 | var $bIsReplacement = false; |
| 60 | 60 | |
| 61 | 61 | function HelpDispatcher() { |
| ... | ... | @@ -130,11 +130,11 @@ class HelpDispatcher extends KTStandardDispatcher { |
| 130 | 130 | $oTemplating =& KTTemplating::getSingleton(); |
| 131 | 131 | $oTemplate = $oTemplating->loadTemplate("ktcore/help_with_edit"); |
| 132 | 132 | $aTemplateData = array( |
| 133 | - "context" => $this, | |
| 134 | - "help_body" => $aHelpData['body'], | |
| 135 | - "help_title" => $aHelpData['title'], | |
| 136 | - "target_name" => KTUtil::arrayGet($aLocInfo, 'subpath'), | |
| 137 | - "back_key" => $sBackKey, | |
| 133 | + 'context' => $this, | |
| 134 | + 'help_body' => $aHelpData['body'], | |
| 135 | + 'help_title' => $aHelpData['title'], | |
| 136 | + 'target_name' => KTUtil::arrayGet($aLocInfo, 'subpath'), | |
| 137 | + 'back_key' => $sBackKey, | |
| 138 | 138 | 'can_edit' => $bCanEdit, |
| 139 | 139 | ); |
| 140 | 140 | return $oTemplate->render($aTemplateData); |
| ... | ... | @@ -195,7 +195,7 @@ class HelpDispatcher extends KTStandardDispatcher { |
| 195 | 195 | redirect($sReferer); |
| 196 | 196 | exit(0); |
| 197 | 197 | } else { |
| 198 | - $this->errorRedirectToMain(_kt("Invalid return key from help system.")); | |
| 198 | + $this->errorRedirectToMain(_kt('Invalid return key from help system.')); | |
| 199 | 199 | } |
| 200 | 200 | } |
| 201 | 201 | } | ... | ... |