Posted on: 03/12/07 03:44pm
By: nobese
I find a mıistake on mycal plugin main.php
when it show the days on a block, it can go last month but do not go next week because of $
$BlockDisplay .= "</table>"
. "<table width='100%' border='0'><tr>"
. "<td>"
. "<form method='post' action='".$_CONF['site_url'] . "/index.php' >"
. "<input type='submit' value=' < '>"
. "<input type='hidden' name='month' value='".$PrevMonth."'>"
. "</form></td>"
. "<td align='center'><font size='-2'>"._mycal_ClickonDate."</font></td>"
. "<td>"
. "<form align='right' method='post' action='".$$_CONF['site_url'] . "/index.php' >"
. "<input type='submit' value=' > '>"
. "<input type='hidden' name='month' value='".$NextMonth."'>"
. "</form></td>"
. "</table>";
return $BlockDisplay;
I changed like that and now working.
$BlockDisplay .= "</table>"
. "<table width='100%' border='0'><tr>"
. "<td>"
. "<form method='post' action='".$_CONF['site_url'] . "/index.php' >"
. "<input type='submit' value=' < '>"
. "<input type='hidden' name='month' value='".$PrevMonth."'>"
. "</form></td>"
. "<td align='center'><font size='-2'>"._mycal_ClickonDate."</font></td>"
. "<td>"
. "<form align='right' method='post' action='".$_CONF['site_url'] . "/index.php' >"
. "<input type='submit' value=' > '>"
. "<input type='hidden' name='month' value='".$NextMonth."'>"
. "</form></td>"
. "</table>";
return $BlockDisplay;