cvs: phpweb / search.php zend2_example.phps /include layout.inc /manual about-notes.php phpfi2.php /stats php.conf-dist
| From: | Gabor Hojtsy | Date: | Mon, 16 Dec 2002 20:02:27 +0000 |
| Subject: | cvs: phpweb / search.php zend2_example.phps /include layout.inc /manual about-notes.php phpfi2.php /stats php.conf-dist | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-14261@lists.php.net to get a copy of this message | ||
goba Mon Dec 16 15:02:27 2002 EDT
Modified files:
/phpweb zend2_example.phps search.php
/phpweb/manual about-notes.php phpfi2.php
/phpweb/include layout.inc
/phpweb/stats php.conf-dist
Log:
Make all these files short_open_tags = off compatible.
As far as I have seen all the other files use the standard
<?php tag, which should be used in all places!
Index: phpweb/zend2_example.phps
diff -u phpweb/zend2_example.phps:1.1 phpweb/zend2_example.phps:1.2
--- phpweb/zend2_example.phps:1.1 Wed Jun 12 11:25:18 2002
+++ phpweb/zend2_example.phps Mon Dec 16 15:02:25 2002
@@ -217,7 +217,7 @@
Example 7: Exception handling
=============================
-<?
+<?php
class MyException {
function MyException($_error) {
$this->error = $_error;
@@ -253,7 +253,7 @@
Example 8: __clone()
===================
-<?
+<?php
class MyCloneable {
static $id = 0;
@@ -293,7 +293,7 @@
Example 9: Unified constructors
===============================
-<?
+<?php
class BaseClass {
function __construct()
Index: phpweb/search.php
diff -u phpweb/search.php:1.48 phpweb/search.php:1.49
--- phpweb/search.php:1.48 Mon Dec 16 13:02:00 2002
+++ phpweb/search.php Mon Dec 16 15:02:25 2002
@@ -282,15 +282,15 @@
<td align="right">
Restrict the search to:<br /></td>
<td>
-<? if (!isset($show)) { $show = 'quickref'; } ?>
+<?php if (!isset($show)) { $show = 'quickref'; } ?>
<select name="show">
- <option value="quickref" <? echo ($show=='quickref') ?
'selected':''?>>function list
- <option value="wholesite" <? echo ($show=='wholesite') ?
'selected':''?>>whole site
- <option value="manual" <? echo ($show=='manual') ?
'selected':''?>>online documentation
- <option value="bugdb" <? echo ($show=='bugdb') ?
'selected':''?>>bug database
- <option value="maillist" <? echo ($show=='maillist') ?
'selected':''?>>general mailing list
- <option value="devlist" <? echo ($show=='devlist') ?
'selected':''?>>developer mailing list
- <option value="phpdoc" <? echo ($show=='phpdoc') ?
'selected':''?>>documentation mailing list
+ <option value="quickref" <?php echo ($show=='quickref') ?
'selected':''?>>function list
+ <option value="wholesite" <?php echo ($show=='wholesite') ?
'selected':''?>>whole site
+ <option value="manual" <?php echo ($show=='manual') ?
'selected':''?>>online documentation
+ <option value="bugdb" <?php echo ($show=='bugdb') ?
'selected':''?>>bug database
+ <option value="maillist" <?php echo ($show=='maillist') ?
'selected':''?>>general mailing list
+ <option value="devlist" <?php echo ($show=='devlist') ?
'selected':''?>>developer mailing list
+ <option value="phpdoc" <?php echo ($show=='phpdoc') ?
'selected':''?>>documentation mailing list
</select><br />
</td>
</tr>
Index: phpweb/manual/about-notes.php
diff -u phpweb/manual/about-notes.php:1.3 phpweb/manual/about-notes.php:1.4
--- phpweb/manual/about-notes.php:1.3 Tue Aug 28 02:45:35 2001
+++ phpweb/manual/about-notes.php Mon Dec 16 15:02:26 2002
@@ -1,15 +1,21 @@
-<?
-require_once 'prepend.inc';
+<?php
+include_once 'prepend.inc';
commonHeader("Manual Notes");
?>
-<P>The manual notes interface allows you to add notes to the online
+<p>
+The manual notes interface allows you to add notes to the online
version of the PHP manual. These notes are then shared with other
PHP users when they browse the manual online.
+</p>
-<P>Periodically, the developers may go through the notes and incorporate
+<p>
+Periodically, the developers may go through the notes and incorporate
the information in them into the documentation proper.
+</p>
-<P>These notes are <B>not</B> the place to report <A href="http://bugs.php.net">bugs</A>!
+<p>
+These notes are <b>not</b> the place to report <a href="http://bugs.php.net">bugs</a>!
+</p>
-<?commonFooter();?>
+<?php commonFooter(); ?>
Index: phpweb/manual/phpfi2.php
diff -u phpweb/manual/phpfi2.php:1.2 phpweb/manual/phpfi2.php:1.3
--- phpweb/manual/phpfi2.php:1.2 Wed Mar 7 19:18:11 2001
+++ phpweb/manual/phpfi2.php Mon Dec 16 15:02:26 2002
@@ -1,5 +1,5 @@
-<?
-require_once 'prepend.inc';
+<?php
+include_once 'prepend.inc';
commonHeader('PHP/FI Version 2.0 Documentation');
?>
@@ -5438,4 +5438,4 @@
using a regular malloc call by various libraries that could be linked into
PHP. The gdbm library is one such example.<P>
-<? commonFooter(); ?>
+<?php commonFooter(); ?>
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.106 phpweb/include/layout.inc:1.107
--- phpweb/include/layout.inc:1.106 Mon Dec 16 12:59:25 2002
+++ phpweb/include/layout.inc Mon Dec 16 15:02:26 2002
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.106 2002/12/16 17:59:25 goba Exp $ */
+/* $Id: layout.inc,v 1.107 2002/12/16 20:02:26 goba Exp $ */
# spacer()
# print a IMG tag for a sized spacer GIF
@@ -286,7 +286,7 @@
You are using <?php echo $MYSITE; ?>. However, foo.php.net is closer. We would appreciate if
you could use that mirror.
</div>
-<? */ }
+<?php */ }
# commonfooter()
Index: phpweb/stats/php.conf-dist
diff -u phpweb/stats/php.conf-dist:1.2 phpweb/stats/php.conf-dist:1.3
--- phpweb/stats/php.conf-dist:1.2 Mon Sep 21 12:30:04 1998
+++ phpweb/stats/php.conf-dist Mon Dec 16 15:02:27 2002
@@ -76,15 +76,15 @@
# You _MUST_ specify the <BODY> tag on the first one, do what you
# want on the rest (if any). Default is shown below.
-HTMLPre <? require("shared-stat.inc"); ?>
+HTMLPre <?php require("shared-stat.inc"); ?>
# Code for the Head
-HTMLHead <? commonStatHeader("Stats"); ?>
+HTMLHead <?php commonStatHeader("Stats"); ?>
# Code for the body
-HTMLBody <? commonStatBody("Stats"); ?>
+HTMLBody <?php commonStatBody("Stats"); ?>
# HTMLPost defines the HTML code to insert immediately before the
# first <HR> on the document, which is just after the title and
@@ -105,7 +105,7 @@
# Code for HTMLEnd
-HTMLEnd <? commonStatFooter(); ?>
+HTMLEnd <?php commonStatFooter(); ?>
# The Quiet option suppresses output messages... Useful when run
# as a cron job to prevent bogus e-mails. Values can be either