Welcome to Geeklog, Anonymous Saturday, April 20 2024 @ 07:25 am EDT

Geeklog Forums

month dropdown menu for calendar empty


Status: offline

esprittordu

Forum User
Newbie
Registered: 09/06/09
Posts: 2
Hello geeklog devs and enthusiasts. I have had a geeklog site running for my mother's english classes for a few years now and due to some vulnerabilities in a previous version the site got hacked and there were stories about cialis and other nonsense posted. I removed the offending users, changed passwords, and upgraded to a new version which fixed a formatting problem with the calendar where the grid separating the days of the month wasn't showing up but the dropdown menu displaying the number of the month appears empty. I can select months and geeklog will display that month but it is too much to ask high school students to guess the month. Is there any way I can change the font color or something so that the month is visible in the dropdown menu? Or should I just reinstall?
site is http://smadsenenglish.com/ap
thanks!
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
It's not a problem with the font color - the text is simply not there.

Double-check that you uploaded the new language files that came with the version of Geeklog you upgraded to. The names of the months are in Geeklog's main language file, language/english.php

bye, Dirk
 Quote

Status: offline

esprittordu

Forum User
Newbie
Registered: 09/06/09
Posts: 2
The language file is there, furthermore the following is contained within the language file: $LANG_MONTH = array(
1 => 'January',
2 => 'February',
3 => 'March',
4 => 'April',
5 => 'May',
6 => 'June',
7 => 'July',
8 => 'August',
9 => 'September',
10 => 'October',
11 => 'November',
12 => 'December'
);

...but I think that this is what should be showing up, a series of numbers. This table is in the source of the rendered geeklog page for my firefox instance:

" <table border="0" cellpadding="5" cellspacing="0">
<tr>
<td colspan="2" align="center">
<form method="post" action="calendar.php">
<input type="hidden" name="mode" value="">
<select name="month" onChange="this.form.submit()">

<option value="1" ></option>
<option value="2" ></option>
<option value="3" ></option>
<option value="4" ></option>
<option value="5" ></option>
<option value="6" ></option>
<option value="7" ></option>
<option value="8" ></option>
<option value="9" selected="selected"></option>

<option value="10" ></option>
<option value="11" ></option>
<option value="12" ></option>
</select>&nbsp;
<select name="year" onChange="this.form.submit()">
<option value="2004">2004</option>
<option value="2005">2005</option>
<option value="2006">2006</option>

<option value="2007">2007</option>
<option value="2008">2008</option>
<option value="2009" selected="selected">2009</option>
<option value="2010">2010</option>
<option value="2011">2011</option>
<option value="2012">2012</option>
<option value="2013">2013</option>
<option value="2014">2014</option>

</select>
</form><br /> </td>
</tr>
<tr>
<td align="right">
<form method="post" action="http://smadsenenglish.com/ap/submit.php?type=event">
<input type="submit" name="action" value="">
<input type="hidden" name="month" value="09">

<input type="hidden" name="year" value="2009">
<input type="hidden" name="mode" value="">
</form>

</td>
<td>
&nbsp;

</td>
</tr>
</table>
"

...so I don't know why it isn't showing up on the page itself! The /language/english.php file is certainly there though...
 Quote

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