From b62e63b770f153ad80c2dcf4f85b9111f1618469 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 22 Aug 2009 00:59:33 +0000 Subject: [PATCH] Double to single quotes converted --- inc/classes/main/helper/class_BaseHelper.php | 2 +- .../main/helper/web/forms/class_WebFormHelper.php | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/inc/classes/main/helper/class_BaseHelper.php b/inc/classes/main/helper/class_BaseHelper.php index 81e4197c..7a0a77b6 100644 --- a/inc/classes/main/helper/class_BaseHelper.php +++ b/inc/classes/main/helper/class_BaseHelper.php @@ -402,7 +402,7 @@ class BaseHelper extends BaseFrameworkSystem { // Now "walk" through all groups and sub-groups for ($idx = 1; $idx <= $this->totalCounter; $idx++) { - // Is this a group and is it closed? + // Is this a sub/group and is it closed? if ((isset($this->groups[$idx])) && ($this->groups[$this->groups[$idx]]['opened'] === false)) { // Then add it's content $groupContent = trim($this->groups[$this->groups[$idx]]['content']); diff --git a/inc/classes/main/helper/web/forms/class_WebFormHelper.php b/inc/classes/main/helper/web/forms/class_WebFormHelper.php index b91f646a..adfe7be4 100644 --- a/inc/classes/main/helper/web/forms/class_WebFormHelper.php +++ b/inc/classes/main/helper/web/forms/class_WebFormHelper.php @@ -322,7 +322,7 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate { // Is the form opened? if (($this->formOpened === false) && ($this->formEnabled === true)) { // Throw an exception - throw new FormClosedException (array($this, "reset"), self::EXCEPTION_CLOSED_FORM); + throw new FormClosedException (array($this, 'reset'), self::EXCEPTION_CLOSED_FORM); } // END - if // Generate the content @@ -347,7 +347,7 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate { // Is the form opened? if (($this->formOpened === false) && ($this->formEnabled === true)) { // Throw an exception - throw new FormClosedException (array($this, "submit"), self::EXCEPTION_CLOSED_FORM); + throw new FormClosedException (array($this, 'submit'), self::EXCEPTION_CLOSED_FORM); } // END - if // Generate the content @@ -519,8 +519,8 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate { } // END - if // Set the block type - $block = "div"; - if ($this->ifGroupOpenedPreviously()) $block = "span"; + $block = 'div'; + if ($this->ifGroupOpenedPreviously()) $block = 'span'; // Generate the content $inputContent = sprintf(" <%s id=\"%s_text\"> @@ -549,7 +549,7 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate { // Is the form opened? if (($this->formOpened === false) && ($this->formEnabled === true)) { // Throw an exception - throw new FormClosedException (array($this, "form_notes"), self::EXCEPTION_CLOSED_FORM); + throw new FormClosedException (array($this, 'form_notes'), self::EXCEPTION_CLOSED_FORM); } // END - if // Generate the content @@ -577,7 +577,7 @@ class WebFormHelper extends BaseWebHelper implements HelpableTemplate { // Is the form group opened? if (($this->formOpened === false) && ($this->formEnabled === true)) { // Throw an exception - throw new FormClosedException (array($this, "form_notes"), self::EXCEPTION_CLOSED_FORM); + throw new FormClosedException (array($this, 'form_notes'), self::EXCEPTION_CLOSED_FORM); } // END - if // Shall we close or open the sub group? -- 2.39.2