SOURCES: php-eaccelerator-no-short-open-tag.patch (NEW)=?UTF-8?Q?=20?=- use '<?php' inste...

baggins baggins at pld-linux.org
Thu Nov 13 11:52:10 CET 2008


Author: baggins                      Date: Thu Nov 13 10:52:10 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- use '<?php' instead of '<?', short open tag can be disabled in php config

---- Files affected:
SOURCES:
   php-eaccelerator-no-short-open-tag.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/php-eaccelerator-no-short-open-tag.patch
diff -u /dev/null SOURCES/php-eaccelerator-no-short-open-tag.patch:1.1
--- /dev/null	Thu Nov 13 11:52:11 2008
+++ SOURCES/php-eaccelerator-no-short-open-tag.patch	Thu Nov 13 11:52:05 2008
@@ -0,0 +1,19 @@
+--- eaccelerator/control.php.orig	2007-05-16 21:07:31.000000000 +0200
++++ eaccelerator/control.php	2008-11-13 11:47:19.374455547 +0100
+@@ -115,11 +115,11 @@
+ ?>
+     <table>
+         <tr>
+-            <th><a href="<?=$_SERVER['PHP_SELF']?>?sort=file&order=<?=($order == "asc" ? "desc" : "asc")?>">Filename</a> <? if($sortby == "file") echo ($order == "asc" ? "↓" : "↑")?></th>
+-            <th><a href="<?=$_SERVER['PHP_SELF']?>?sort=mtime&order=<?=($order == "asc" ? "desc" : "asc")?>">MTime</a> <? if($sortby == "mtime") echo ($order == "asc" ? "↓" : "↑")?></th>
+-            <th><a href="<?=$_SERVER['PHP_SELF']?>?sort=size&order=<?=($order == "asc" ? "desc" : "asc")?>">Size</a> <? if($sortby == "size") echo ($order == "asc" ? "↓" : "↑")?></th>
+-            <th><a href="<?=$_SERVER['PHP_SELF']?>?sort=reloads&order=<?=($order == "asc" ? "desc" : "asc")?>">Reloads</a> <? if($sortby == "reloads") echo ($order == "asc" ? "↓" : "↑")?></th>
+-            <th><a href="<?=$_SERVER['PHP_SELF']?>?sort=hits&order=<?=($order == "asc" ? "desc" : "asc")?>">Hits</a> <? if($sortby == "hits") echo ($order == "asc" ? "↓" : "↑")?></th>
++            <th><a href="<?php $_SERVER['PHP_SELF']?>?sort=file&order=<?php echo ($order == "asc" ? "desc" : "asc")?>">Filename</a> <?php if($sortby == "file") echo ($order == "asc" ? "↓" : "↑")?></th>
++            <th><a href="<?php $_SERVER['PHP_SELF']?>?sort=mtime&order=<?php echo ($order == "asc" ? "desc" : "asc")?>">MTime</a> <?php if($sortby == "mtime") echo ($order == "asc" ? "↓" : "↑")?></th>
++            <th><a href="<?php $_SERVER['PHP_SELF']?>?sort=size&order=<?php echo ($order == "asc" ? "desc" : "asc")?>">Size</a> <?php if($sortby == "size") echo ($order == "asc" ? "↓" : "↑")?></th>
++            <th><a href="<?php $_SERVER['PHP_SELF']?>?sort=reloads&order=<?php echo ($order == "asc" ? "desc" : "asc")?>">Reloads</a> <?php if($sortby == "reloads") echo ($order == "asc" ? "↓" : "↑")?></th>
++            <th><a href="<?php $_SERVER['PHP_SELF']?>?sort=hits&order=<?php echo ($order == "asc" ? "desc" : "asc")?>">Hits</a> <?php if($sortby == "hits") echo ($order == "asc" ? "↓" : "↑")?></th>
+         </tr>
+     <?php
+           switch ($sortby) {
================================================================



More information about the pld-cvs-commit mailing list