Welcome to Geeklog Sunday, December 05 2021 @ 03:18 am EST

Geeklog Forums

I find a mıistake on mycal plugin main.php


Status: offline

nobese

Forum User
Chatty
Registered: 20/01/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 EST. The time is now 03:18 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