Commit 52d0ecc74ad29bbf0c4004ae28c5a5941c79e561
1 parent
2c87a3b3
KTS-931: stop use of short tags
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@5416 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
5 changed files
with
34 additions
and
34 deletions
plugins/ktcore/folder/BulkImport.php
plugins/ktcore/folder/BulkUpload.php
setup/postcheckup.php
| ... | ... | @@ -87,13 +87,13 @@ if (PEAR::isError($loggingSupport)) { |
| 87 | 87 | } else { |
| 88 | 88 | ?> |
| 89 | 89 | <p>Logging support is operational.</p> |
| 90 | -<? | |
| 90 | +<?php | |
| 91 | 91 | } |
| 92 | 92 | ?> |
| 93 | 93 | |
| 94 | 94 | <h2>Database connectivity</h2> |
| 95 | 95 | |
| 96 | -<? | |
| 96 | +<?php | |
| 97 | 97 | if (PEAR::isError($dbSupport)) { |
| 98 | 98 | print '<p><font color="red">Database support is not currently working. Error is: ' . |
| 99 | 99 | htmlentities($dbSupport->toString()) . '</font></p>'; |
| ... | ... | @@ -102,7 +102,7 @@ if (PEAR::isError($dbSupport)) { |
| 102 | 102 | <p>Database connectivity successful.</p> |
| 103 | 103 | |
| 104 | 104 | <h3>Privileges</h3> |
| 105 | -<? | |
| 105 | +<?php | |
| 106 | 106 | $selectPriv = DBUtil::runQuery('SELECT COUNT(id) FROM ' . $default->documents_table); |
| 107 | 107 | if (PEAR::isError($selectPriv)) { |
| 108 | 108 | print '<p><font color="red">Unable to do a basic database query. |
| ... | ... | @@ -128,7 +128,7 @@ if (!empty($res)) { |
| 128 | 128 | DBUtil::whereDelete($sTable, array('name' => 'transactionTest')); |
| 129 | 129 | ?> |
| 130 | 130 | |
| 131 | -<? | |
| 131 | +<?php | |
| 132 | 132 | } |
| 133 | 133 | ?> |
| 134 | 134 | ... | ... |
setup/precheckup.php
| ... | ... | @@ -252,7 +252,7 @@ configuring your web server to use the .htaccess files that come with |
| 252 | 252 | KnowledgeTree. This will ensure that the settings for KnowledgeTree |
| 253 | 253 | (detailed below) are set up for optimal, reliable performance.</p> |
| 254 | 254 | |
| 255 | -<?=htaccess()?> | |
| 255 | +<?php echo htaccess()?> | |
| 256 | 256 | |
| 257 | 257 | <h2>PHP version and extensions</h2> |
| 258 | 258 | |
| ... | ... | @@ -263,31 +263,31 @@ PHP you are running, and which modules are available.</p> |
| 263 | 263 | <tbody> |
| 264 | 264 | <tr> |
| 265 | 265 | <th>PHP version 4.0 or above</th> |
| 266 | - <td><?=$phpversion4?></td> | |
| 266 | + <td><?php echo $phpversion4?></td> | |
| 267 | 267 | </tr> |
| 268 | 268 | <tr> |
| 269 | 269 | <th>PHP version 4.3 or above</th> |
| 270 | - <td><?=$phpversion43?></td> | |
| 270 | + <td><?php echo $phpversion43?></td> | |
| 271 | 271 | </tr> |
| 272 | 272 | <tr> |
| 273 | 273 | <th>PHP version below 5</th> |
| 274 | - <td><?=$phpversion5?></td> | |
| 274 | + <td><?php echo $phpversion5?></td> | |
| 275 | 275 | </tr> |
| 276 | 276 | <tr> |
| 277 | 277 | <th>Session support</th> |
| 278 | - <td><?=must_extension_loaded('session');?></td> | |
| 278 | + <td><?php echo must_extension_loaded('session');?></td> | |
| 279 | 279 | </tr> |
| 280 | 280 | <tr> |
| 281 | 281 | <th>MySQL support</th> |
| 282 | - <td><?=must_extension_loaded('mysql');?></td> | |
| 282 | + <td><?php echo must_extension_loaded('mysql');?></td> | |
| 283 | 283 | </tr> |
| 284 | 284 | <tr> |
| 285 | 285 | <th>Gettext support</th> |
| 286 | - <td><?=can_extension_loaded('gettext', "Only needed for using non-English languages");?></td> | |
| 286 | + <td><?php echo can_extension_loaded('gettext', "Only needed for using non-English languages");?></td> | |
| 287 | 287 | </tr> |
| 288 | 288 | <tr> |
| 289 | 289 | <th>Fileinfo support</th> |
| 290 | - <td><?=can_extension_loaded('fileinfo', "Provides better file identification support - not necessary if you use file extensions");?></td> | |
| 290 | + <td><?php echo can_extension_loaded('fileinfo', "Provides better file identification support - not necessary if you use file extensions");?></td> | |
| 291 | 291 | </tr> |
| 292 | 292 | </tbody> |
| 293 | 293 | </table> |
| ... | ... | @@ -307,19 +307,19 @@ PHP you are running, and which modules are available.</p> |
| 307 | 307 | </tr> |
| 308 | 308 | </thead> |
| 309 | 309 | <tbody> |
| 310 | -<?=boolSetting('Safe Mode','safe_mode','OFF')?> | |
| 311 | -<?=boolSetting('Display Errors','display_errors','ON', false, "Will be set correctly anyway.")?> | |
| 312 | -<?=boolSetting('Display Startup Errors','display_startup_errors','ON', false, "Will be set correctly anyway.")?> | |
| 313 | -<?=boolSetting('File Uploads','file_uploads','ON')?> | |
| 314 | -<?=boolSetting('Magic Quotes GPC','magic_quotes_gpc','OFF', false, "Quotes will be removed; not optimal")?> | |
| 315 | -<?=boolSetting('Magic Quotes Runtime','magic_quotes_runtime','OFF')?> | |
| 316 | -<?=boolSetting('Register Globals','register_globals','OFF', false, "Globals will be removed; not optimal, may be a security risk")?> | |
| 317 | -<?=boolSetting('Output Buffering','output_buffering','OFF')?> | |
| 318 | -<?=boolSetting('Session auto start','session.auto_start','OFF')?> | |
| 319 | -<?=emptySetting('Automatic prepend file','auto_prepend_file')?> | |
| 320 | -<?=emptySetting('Automatic append file','auto_append_file')?> | |
| 321 | -<?=emptySetting('Open base directory','open_basedir')?> | |
| 322 | -<?=stringSetting('Default MIME type', 'default_mimetype', 'text/html')?> | |
| 310 | +<?php echo boolSetting('Safe Mode','safe_mode','OFF')?> | |
| 311 | +<?php echo boolSetting('Display Errors','display_errors','ON', false, "Will be set correctly anyway.")?> | |
| 312 | +<?php echo boolSetting('Display Startup Errors','display_startup_errors','ON', false, "Will be set correctly anyway.")?> | |
| 313 | +<?php echo boolSetting('File Uploads','file_uploads','ON')?> | |
| 314 | +<?php echo boolSetting('Magic Quotes GPC','magic_quotes_gpc','OFF', false, "Quotes will be removed; not optimal")?> | |
| 315 | +<?php echo boolSetting('Magic Quotes Runtime','magic_quotes_runtime','OFF')?> | |
| 316 | +<?php echo boolSetting('Register Globals','register_globals','OFF', false, "Globals will be removed; not optimal, may be a security risk")?> | |
| 317 | +<?php echo boolSetting('Output Buffering','output_buffering','OFF')?> | |
| 318 | +<?php echo boolSetting('Session auto start','session.auto_start','OFF')?> | |
| 319 | +<?php echo emptySetting('Automatic prepend file','auto_prepend_file')?> | |
| 320 | +<?php echo emptySetting('Automatic append file','auto_append_file')?> | |
| 321 | +<?php echo emptySetting('Open base directory','open_basedir')?> | |
| 322 | +<?php echo stringSetting('Default MIME type', 'default_mimetype', 'text/html')?> | |
| 323 | 323 | </tbody> |
| 324 | 324 | </table> |
| 325 | 325 | |
| ... | ... | @@ -334,11 +334,11 @@ PHP you are running, and which modules are available.</p> |
| 334 | 334 | </tr> |
| 335 | 335 | </thead> |
| 336 | 336 | <tbody> |
| 337 | -<?=bigEnough('Maximum POST size', 'post_max_size', 32 * 1024 * 1024, true)?> | |
| 338 | -<?=bigEnough('Maximum upload size', 'upload_max_filesize', 32 * 1024 * 1024, true)?> | |
| 339 | -<?=bigEnough('Memory limit', 'memory_limit', 32 * 1024 * 1024, true)?> | |
| 340 | -<?=""; # bigEnough('Maximum execution time', 'max_execution_time', 30)?> | |
| 341 | -<?=""; # bigEnough('Maximum input time', 'max_input_time', 60)?> | |
| 337 | +<?php echo bigEnough('Maximum POST size', 'post_max_size', 32 * 1024 * 1024, true)?> | |
| 338 | +<?php echo bigEnough('Maximum upload size', 'upload_max_filesize', 32 * 1024 * 1024, true)?> | |
| 339 | +<?php echo bigEnough('Memory limit', 'memory_limit', 32 * 1024 * 1024, true)?> | |
| 340 | +<?php echo ""; # bigEnough('Maximum execution time', 'max_execution_time', 30)?> | |
| 341 | +<?php echo ""; # bigEnough('Maximum input time', 'max_input_time', 60)?> | |
| 342 | 342 | <tbody> |
| 343 | 343 | </table> |
| 344 | 344 | |
| ... | ... | @@ -381,7 +381,7 @@ if (is_null($username)) { |
| 381 | 381 | ?> |
| 382 | 382 | <tr> |
| 383 | 383 | <td width="33%">General</td> |
| 384 | -<td><?=$message?></td> | |
| 384 | +<td><?php echo $message?></td> | |
| 385 | 385 | </tr> |
| 386 | 386 | </tbody> |
| 387 | 387 | </table> | ... | ... |