This is getting to be a habit guys!
See also Bugs: http://sourceforge.net/tracker/index.php?func=detail&aid=513582&group_id=6121&atid=106121
if ($isWikiPage) { $class = 'cal-day'; $title = $page_for_date; $mday = HTML::em($mday);
* $url = WikiURL($page_for_date, array('action' => 'edit')); }
Thanks for the fix, it is now checked in to CVS. Carsten
RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/Calendar.php,v retrieving revision 1.16 retrieving revision 1.17 diff -u -b -I^#: -d -r1.16 -r1.17 --- Calendar.php 2002/02/03 09:49:06 1.16 +++ Calendar.php 2002/02/06 02:41:25 1.17 @@ -2,7 +2,7 @@ rcs_id('$Id$');
if (!defined('SECONDS_PER_DAY')) - define('SECONDS_PER_DAY', 24 * 3600); +define('SECONDS_PER_DAY', 24 * 3600);
// FIXME: Still needs: // @@ -34,13 +34,12 @@ else { $class = 'cal-hide'; $title = sprintf(_("Edit %s"), $page_for_date); - $url = WikiURL($page_for_date, array('action' => 'edit')); } if ($istoday) { $mday = HTML::strong($mday); $this->setAttr('class', 'cal-today'); } - + $url = WikiURL($page_for_date, array('action' => 'edit')); $this->pushContent(HTML::a(array('href' => $url, 'class' => $class, 'title' => $title), $mday));
Log in to post a comment.
This is getting to be a habit guys!
See also Bugs: http://sourceforge.net/tracker/index.php?func=detail&aid=513582&group_id=6121&atid=106121
if ($isWikiPage) {
$class = 'cal-day';
$title = $page_for_date;
$mday = HTML::em($mday);
* $url = WikiURL($page_for_date, array('action' => 'edit'));
}
Thanks for the fix, it is now checked in to CVS.
Carsten
Index: Calendar.php
RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/Calendar.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -b -I^#: -d -r1.16 -r1.17
--- Calendar.php 2002/02/03 09:49:06 1.16
+++ Calendar.php 2002/02/06 02:41:25 1.17
@@ -2,7 +2,7 @@
rcs_id('$Id$');
if (!defined('SECONDS_PER_DAY'))
- define('SECONDS_PER_DAY', 24 * 3600);
+define('SECONDS_PER_DAY', 24 * 3600);
// FIXME: Still needs:
//
@@ -34,13 +34,12 @@
else {
$class = 'cal-hide';
$title = sprintf(_("Edit %s"), $page_for_date);
- $url = WikiURL($page_for_date, array('action' => 'edit'));
}
if ($istoday) {
$mday = HTML::strong($mday);
$this->setAttr('class', 'cal-today');
}
-
+ $url = WikiURL($page_for_date, array('action' => 'edit'));
$this->pushContent(HTML::a(array('href' => $url,
'class' => $class,
'title' => $title), $mday));