cvs: phpweb(NEW_LOOK_2008) /include layout.inc
| From: | Hannes Magnusson | Date: | Tue, 19 Aug 2008 22:11:25 +0000 |
| Subject: | cvs: phpweb(NEW_LOOK_2008) /include layout.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-2466@lists.php.net to get a copy of this message | ||
bjori Tue Aug 19 22:11:25 2008 UTC
Modified files: (Branch: NEW_LOOK_2008)
/phpweb/include layout.inc
Log:
Specify which element the extra classes should go to
http://cvs.php.net/viewvc.cgi/phpweb/include/layout.inc?r1=1.287.2.3&r2=1.287.2.4&diff_format=u
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.287.2.3 phpweb/include/layout.inc:1.287.2.4
--- phpweb/include/layout.inc:1.287.2.3 Tue Aug 19 22:06:08 2008
+++ phpweb/include/layout.inc Tue Aug 19 22:11:25 2008
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.287.2.3 2008/08/19 22:06:08 bjori Exp $ */
+/* $Id: layout.inc,v 1.287.2.4 2008/08/19 22:11:25 bjori Exp $ */
// Set the static content root differently on php.net
$_SERVER['STATIC_ROOT'] = ($MYSITE == 'http://www.php.net/') ?
@@ -662,7 +662,7 @@
$published = substr($item["published"], 0, 10);
$newsdate = date("d-M-Y", strtotime($published));
- echo block_info_start(CORNERS_TOP, $extra);
+ echo block_info_start(CORNERS_TOP, array("info" => $extra));
echo <<< EOT
<h3 class="summary entry-title"><a name="{$id}"
id="{$id}" href="{$permlink}" rel="bookmark"
class="bookmark">{$item["title"]}</a></h3>
<p class="news-date"><abbr class="published newsdate"
title="{$item["published"]}">$newsdate</abbr></p>