Welcome to Geeklog, Anonymous Wednesday, April 24 2024 @ 07:52 am EDT

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;


 Quote

All times are EDT. The time is now 07:52 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