Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 09:20 am EST
Geeklog Forums
I find a mıistake on mycal plugin main.php
Status: offline
nobese
Forum User
Chatty
Registered: 01/20/06
Posts: 44
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;
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;
8
8
Quote
All times are EST. The time is now 09:20 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content