diff --git a/conlib/local.php b/conlib/local.php index b15c158..9adde42 100644 --- a/conlib/local.php +++ b/conlib/local.php @@ -41,6 +41,7 @@ if (!defined('CON_FRAMEWORK')) { * DB-class for all DB handling */ class DB_ConLite extends DB_Sql { + protected bool $NoRecord; /** * Constructor of database class. diff --git a/conlite/classes/class.htmlelements.php b/conlite/classes/class.htmlelements.php index c20f353..c539b47 100644 --- a/conlite/classes/class.htmlelements.php +++ b/conlite/classes/class.htmlelements.php @@ -866,6 +866,7 @@ class cHTMLRadiobutton extends cHTMLFormElement { * @access private */ var $_value; + protected string $_labelText; /** * Constructor. Creates an HTML radio button element. diff --git a/setup/dbupdate.php b/setup/dbupdate.php index 5b0065d..4b9b409 100644 --- a/setup/dbupdate.php +++ b/setup/dbupdate.php @@ -253,6 +253,4 @@ function txtFileToArray($sFile) { $aFileArray = explode("\n", file_get_contents($sFile)); } return $aFileArray; -} - -?> \ No newline at end of file +} \ No newline at end of file diff --git a/setup/lib/class.setupcontrols.php b/setup/lib/class.setupcontrols.php index 2913f76..35b1ee3 100644 --- a/setup/lib/class.setupcontrols.php +++ b/setup/lib/class.setupcontrols.php @@ -33,9 +33,9 @@ class cHTMLAlphaImage extends cHTMLImage { - public $_sClickImage; - public $_sMouseoverClickImage; - public $_sMouseoverSrc; + protected $_sClickImage; + protected $_sMouseoverClickImage; + protected $_sMouseoverSrc; public function __construct() { @@ -84,7 +84,8 @@ class cHTMLAlphaImage extends cHTMLImage { } class cHTMLErrorMessageList extends cHTMLDiv { - + protected cHTMLTable $_oTable; + /** * cHTMLErrorMessageList list all errors using a table */ @@ -107,7 +108,13 @@ class cHTMLErrorMessageList extends cHTMLDiv { } class cHTMLFoldableErrorMessage extends cHTMLTableRow { - + protected cHTMLTableData $_oFolding; + public cHTMLTableData $_oContent; + protected cHTMLTableData $_oIcon; + protected cHTMLAlphaImage $_oIconImg; + protected cHTMLDiv $_oTitle; + protected cHTMLDiv $_oMessage; + /** * * @param string $sTitle @@ -173,7 +180,9 @@ class cHTMLFoldableErrorMessage extends cHTMLTableRow { } class cHTMLInfoMessage extends cHTMLTableRow { - + protected cHTMLTableData $_oTitle; + protected cHTMLTableData $_oMessage; + /** * * @param string $sTitle diff --git a/setup/lib/class.setupmask.php b/setup/lib/class.setupmask.php index 66f1bc8..eaa6175 100644 --- a/setup/lib/class.setupmask.php +++ b/setup/lib/class.setupmask.php @@ -46,6 +46,8 @@ class cSetupMask { * @var string */ protected $_sHeader; + public mixed $_bBackstep; + public mixed $_bNextstep; /** * @param string $sStepTemplate diff --git a/setup/lib/functions.filesystem.php b/setup/lib/functions.filesystem.php index 89b38f4..15cee90 100644 --- a/setup/lib/functions.filesystem.php +++ b/setup/lib/functions.filesystem.php @@ -143,7 +143,7 @@ function canWriteFile($sFilename) { /* Ignore errors in case isWriteable() returns * a wrong information */ - $fp = fopen($sFilename, "w"); + $fp = @fopen($sFilename, "w"); if (is_resource($fp)) { fclose($fp); } diff --git a/setup/steps/forms/systemtest.php b/setup/steps/forms/systemtest.php index c28a077..92d00b3 100644 --- a/setup/steps/forms/systemtest.php +++ b/setup/steps/forms/systemtest.php @@ -24,6 +24,8 @@ define("C_SEVERITY_ERROR", 4); class cSetupSystemtest extends cSetupMask { + public array $_aMessages; + public function __construct($step, $previous, $next) { parent::__construct("templates/setup/forms/systemtest.tpl", $step); $bErrors = false;