@@ -334,7 +334,7 @@ private function getXoopsFormSelectFile($language, $moduleDirname, $tableName, $
334334 $ contIf .= $ this ->cxc ->getClassAddElement ('fileTray ' , $ labelInfo1 , $ t . "\t" );
335335 $ formHidden = $ this ->cxc ->getClassXoopsFormHidden ('' , $ fieldName , $ ccFieldName , true , true , $ t , true );
336336 $ contElse = $ this ->cxc ->getClassAddElement ('fileTray ' , $ formHidden , $ t . "\t" );
337- $ ret .= $ this ->pc ->getPhpCodeConditions ('$permissionUpload ' , null , null , $ contIf , $ contElse , "\t\t" );
337+ $ ret .= $ this ->pc ->getPhpCodeConditions ('$permissionUpload ' , '' , '' , $ contIf , $ contElse , "\t\t" );
338338 $ ret .= $ this ->cxc ->getClassAddElement ('form ' , "\$fileTray {$ required }" , $ t );
339339
340340 return $ ret ;
@@ -420,7 +420,7 @@ private function getXoopsFormUploadImage($language, $moduleDirname, $tableName,
420420 $ contIf .= $ this ->cxc ->getClassAddElement ('imageTray ' , $ labelInfo3 , $ t . "\t" );
421421 $ formHidden = $ this ->cxc ->getClassXoopsFormHidden ('' , $ fieldName , $ ccFieldName , true , true , $ t , true );
422422 $ contElse = $ this ->cxc ->getClassAddElement ('imageTray ' , $ formHidden , $ t . "\t" );
423- $ ret .= $ this ->pc ->getPhpCodeConditions ('$permissionUpload ' , null , null , $ contIf , $ contElse , "\t\t" );
423+ $ ret .= $ this ->pc ->getPhpCodeConditions ('$permissionUpload ' , '' , '' , $ contIf , $ contElse , "\t\t" );
424424 $ ret .= $ this ->cxc ->getClassAddElement ('form ' , "\$imageTray {$ required }" , $ t );
425425
426426 return $ ret ;
@@ -450,7 +450,7 @@ private function getXoopsFormUploadFile($language, $moduleDirname, $tableName, $
450450 $ sprintf = $ this ->pc ->getPhpCodeSprintf ($ language . '_UPLOADS ' , '".{$fileDirectory}/" ' );
451451 $ xoopsFormLabel = $ this ->cxc ->getClassXoopsFormLabel ('' , $ sprintf , $ ccFieldName , true , "\t\t" , true );
452452 $ condIf = $ this ->cxc ->getClassAddElement ('fileUploadTray ' , $ xoopsFormLabel , $ t . "\t" );
453- $ uForm .= $ this ->pc ->getPhpCodeConditions ('!$this->isNew() ' , null , null , $ condIf , false , "\t\t\t" );
453+ $ uForm .= $ this ->pc ->getPhpCodeConditions ('!$this->isNew() ' , '' , '' , $ condIf , false , "\t\t\t" );
454454 $ getConfig = $ this ->xc ->getXcGetConfig ('maxsize_file ' );
455455 $ uForm .= $ this ->xc ->getXcEqualsOperator ('$maxsize ' , $ getConfig ,'' , "\t\t\t" );
456456 $ xoopsFormFile = $ this ->cxc ->getClassXoopsFormFile ('' , "'' " , $ fieldName , '$maxsize ' , true , '' );
@@ -462,7 +462,7 @@ private function getXoopsFormUploadFile($language, $moduleDirname, $tableName, $
462462 $ formHidden = $ this ->cxc ->getClassXoopsFormHidden ('' , $ fieldName , $ ccFieldName , true , true , "\t\t" , true );
463463 $ contElse = $ this ->cxc ->getClassAddElement ('form ' , $ formHidden , $ t );
464464
465- $ ret .= $ this ->pc ->getPhpCodeConditions ('$permissionUpload ' , null , null , $ uForm , $ contElse , "\t\t" );
465+ $ ret .= $ this ->pc ->getPhpCodeConditions ('$permissionUpload ' , '' , '' , $ uForm , $ contElse , "\t\t" );
466466
467467 return $ ret ;
468468 }
@@ -808,7 +808,7 @@ private function getXoopsFormTopic($language, $topicTableName, $fieldId, $fieldP
808808 $ contIf .= $ this ->cxc ->getClassXoopsMakeSelBox ($ ccFieldPid , $ stlTopicTableName . 'Tree ' , $ fieldPid , $ fieldMain , '-- ' , $ fieldPid , $ t . "\t" );
809809 $ formLabel = $ this ->cxc ->getClassXoopsFormLabel ('' , $ language , "\${$ ccFieldPid }" , true , '' );
810810 $ contIf .= $ this ->cxc ->getClassAddElement ('form ' , $ formLabel , $ t . "\t" );
811- $ ret .= $ this ->pc ->getPhpCodeConditions ("\${$ stlTopicTableName }Count " , null , null , $ contIf , false , $ t );
811+ $ ret .= $ this ->pc ->getPhpCodeConditions ("\${$ stlTopicTableName }Count " , '' , '' , $ contIf , false , $ t );
812812 $ ret .= $ this ->pc ->getPhpCodeUnset ('cr ' . $ ucfTopicTableName , $ t );
813813
814814 return $ ret ;
0 commit comments