Commit 52d0ecc74ad29bbf0c4004ae28c5a5941c79e561

Authored by nbm
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
lib/i18n/i18n.inc.php
1 -<? 1 +<?php
2 2
3 /** 3 /**
4 * $Id$ 4 * $Id$
plugins/ktcore/folder/BulkImport.php
1 -<? 1 +<?php
2 2
3 /** 3 /**
4 * $Id$ 4 * $Id$
plugins/ktcore/folder/BulkUpload.php
1 -<? 1 +<?php
2 2
3 /** 3 /**
4 * $Id$ 4 * $Id$
setup/postcheckup.php
@@ -87,13 +87,13 @@ if (PEAR::isError($loggingSupport)) { @@ -87,13 +87,13 @@ if (PEAR::isError($loggingSupport)) {
87 } else { 87 } else {
88 ?> 88 ?>
89 <p>Logging support is operational.</p> 89 <p>Logging support is operational.</p>
90 -<? 90 +<?php
91 } 91 }
92 ?> 92 ?>
93 93
94 <h2>Database connectivity</h2> 94 <h2>Database connectivity</h2>
95 95
96 -<? 96 +<?php
97 if (PEAR::isError($dbSupport)) { 97 if (PEAR::isError($dbSupport)) {
98 print '<p><font color="red">Database support is not currently working. Error is: ' . 98 print '<p><font color="red">Database support is not currently working. Error is: ' .
99 htmlentities($dbSupport->toString()) . '</font></p>'; 99 htmlentities($dbSupport->toString()) . '</font></p>';
@@ -102,7 +102,7 @@ if (PEAR::isError($dbSupport)) { @@ -102,7 +102,7 @@ if (PEAR::isError($dbSupport)) {
102 <p>Database connectivity successful.</p> 102 <p>Database connectivity successful.</p>
103 103
104 <h3>Privileges</h3> 104 <h3>Privileges</h3>
105 -<? 105 +<?php
106 $selectPriv = DBUtil::runQuery('SELECT COUNT(id) FROM ' . $default->documents_table); 106 $selectPriv = DBUtil::runQuery('SELECT COUNT(id) FROM ' . $default->documents_table);
107 if (PEAR::isError($selectPriv)) { 107 if (PEAR::isError($selectPriv)) {
108 print '<p><font color="red">Unable to do a basic database query. 108 print '<p><font color="red">Unable to do a basic database query.
@@ -128,7 +128,7 @@ if (!empty($res)) { @@ -128,7 +128,7 @@ if (!empty($res)) {
128 DBUtil::whereDelete($sTable, array('name' => 'transactionTest')); 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,7 +252,7 @@ configuring your web server to use the .htaccess files that come with
252 KnowledgeTree. This will ensure that the settings for KnowledgeTree 252 KnowledgeTree. This will ensure that the settings for KnowledgeTree
253 (detailed below) are set up for optimal, reliable performance.</p> 253 (detailed below) are set up for optimal, reliable performance.</p>
254 254
255 -<?=htaccess()?> 255 +<?php echo htaccess()?>
256 256
257 <h2>PHP version and extensions</h2> 257 <h2>PHP version and extensions</h2>
258 258
@@ -263,31 +263,31 @@ PHP you are running, and which modules are available.&lt;/p&gt; @@ -263,31 +263,31 @@ PHP you are running, and which modules are available.&lt;/p&gt;
263 <tbody> 263 <tbody>
264 <tr> 264 <tr>
265 <th>PHP version 4.0 or above</th> 265 <th>PHP version 4.0 or above</th>
266 - <td><?=$phpversion4?></td> 266 + <td><?php echo $phpversion4?></td>
267 </tr> 267 </tr>
268 <tr> 268 <tr>
269 <th>PHP version 4.3 or above</th> 269 <th>PHP version 4.3 or above</th>
270 - <td><?=$phpversion43?></td> 270 + <td><?php echo $phpversion43?></td>
271 </tr> 271 </tr>
272 <tr> 272 <tr>
273 <th>PHP version below 5</th> 273 <th>PHP version below 5</th>
274 - <td><?=$phpversion5?></td> 274 + <td><?php echo $phpversion5?></td>
275 </tr> 275 </tr>
276 <tr> 276 <tr>
277 <th>Session support</th> 277 <th>Session support</th>
278 - <td><?=must_extension_loaded('session');?></td> 278 + <td><?php echo must_extension_loaded('session');?></td>
279 </tr> 279 </tr>
280 <tr> 280 <tr>
281 <th>MySQL support</th> 281 <th>MySQL support</th>
282 - <td><?=must_extension_loaded('mysql');?></td> 282 + <td><?php echo must_extension_loaded('mysql');?></td>
283 </tr> 283 </tr>
284 <tr> 284 <tr>
285 <th>Gettext support</th> 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 </tr> 287 </tr>
288 <tr> 288 <tr>
289 <th>Fileinfo support</th> 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 </tr> 291 </tr>
292 </tbody> 292 </tbody>
293 </table> 293 </table>
@@ -307,19 +307,19 @@ PHP you are running, and which modules are available.&lt;/p&gt; @@ -307,19 +307,19 @@ PHP you are running, and which modules are available.&lt;/p&gt;
307 </tr> 307 </tr>
308 </thead> 308 </thead>
309 <tbody> 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 </tbody> 323 </tbody>
324 </table> 324 </table>
325 325
@@ -334,11 +334,11 @@ PHP you are running, and which modules are available.&lt;/p&gt; @@ -334,11 +334,11 @@ PHP you are running, and which modules are available.&lt;/p&gt;
334 </tr> 334 </tr>
335 </thead> 335 </thead>
336 <tbody> 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 <tbody> 342 <tbody>
343 </table> 343 </table>
344 344
@@ -381,7 +381,7 @@ if (is_null($username)) { @@ -381,7 +381,7 @@ if (is_null($username)) {
381 ?> 381 ?>
382 <tr> 382 <tr>
383 <td width="33%">General</td> 383 <td width="33%">General</td>
384 -<td><?=$message?></td> 384 +<td><?php echo $message?></td>
385 </tr> 385 </tr>
386 </tbody> 386 </tbody>
387 </table> 387 </table>