I installed some mods but still I have a problem with one of mods,
I installed Calendar Lite version: 1.4.6 then I installed Birthday version 1.5.9 and this works fine together I’m trying to install Birthdays_on_callite_1_1_1, all of these 3 mods should work together I mean that’s what it says in downloads area.
all 3 mods together
The problem is some of the code which supposed to be in Calendar Lite is not there:
This code should be in cal_lite.php file but it’s not there and I get error:
Code: Alles auswählen
Fatal error: Call to undefined function: button_prev_year() in /homepages/12/d175856246/htdocs/cal_lite.php on line 1289Code: Alles auswählen
#
#-----[ FIND ]------------------------------------------
#
function button_prev($url, $align='left')
{
// Previous Month
$button_prev = "<form method=post action=$url><td align='$align'> ";
$button_prev .= "<input type=submit value='<<' class=mainoption> </td></form>";
return $button_prev;
}
function button_next($url, $align='right')
{
// Next Month
$button_next = "<form method=post action=$url><td align='$align'> ";
$button_next .= "<input type=submit value='>>' class=mainoption> ";
$button_next .= "</td></form>";
return $button_next;
}
#
#-----[ REPLACE WITH ]------------------------------------------
#
# // If the eventslist-mod from me is already installed, skip this part!
#
function button_prev($url)
{
// Previous Month
$button_prev = '<a href="'.$url.'"><img src="images/icon_left_arrow.gif" border="0"></a>';
return $button_prev;
}
function button_next($url)
{
// Next Month
$button_next = '<a href="'.$url.'"><img src="images/icon_right_arrow.gif" border="0"></a>';
return $button_next;
}
function button_prev_year($url)
{
// Previous Year
$button_prev = '<a href="'.$url.'"><img src="images/icon_double_left_arrow.gif" border="0"></a>';
return $button_prev;
}
function button_next_year($url)
{
// Next Year
$button_next = '<a href="'.$url.'"><img src="images/icon_double_right_arrow.gif" border="0"></a>';
return $button_next;
}Any ideas what can I do with this?
Thanks in advance...