Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* $Id: calendar.php 2179 2006-09-01 04:44:17Z chris $
| * $Id: calendar.php 2251 2006-09-23 22:18:21Z Tikitiki $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 41 | Zeile 41 |
---|
// Make $eid an easy-to-use variable. $eid = intval($mybb->input['eid']);
|
// Make $eid an easy-to-use variable. $eid = intval($mybb->input['eid']);
|
|
|
/* If we are looking at an event, select the date for that event first. */ if($mybb->input['action'] == "event")
| /* If we are looking at an event, select the date for that event first. */ if($mybb->input['action'] == "event")
|
Zeile 170 | Zeile 171 |
---|
if($event['username']) { $eventposter = "<a href=\"member.php?action=profile&uid=$event[author]\">".format_name($event['username'], $event['usergroup'], $event['displaygroup']) . "</a>";
|
if($event['username']) { $eventposter = "<a href=\"member.php?action=profile&uid=$event[author]\">".format_name($event['username'], $event['usergroup'], $event['displaygroup']) . "</a>";
|
} else
| } else
|
{ $eventposter = $lang->guest; } $eventdate = explode("-", $event['date']);
|
{ $eventposter = $lang->guest; } $eventdate = explode("-", $event['date']);
|
$eventdate = mktime(0, 0, 0, $eventdate[1], $eventdate[0], $eventdate[2]); $eventdate = my_date($mybb->settings['dateformat'], $eventdate, $eventdate, "", 0);
| $eventdate = gmmktime(0, 0, 0, $eventdate[1], $eventdate[0], $eventdate[2]); $eventdate = my_date($mybb->settings['dateformat'], $eventdate, "", 0);
|
add_breadcrumb($lang->nav_viewevent);
| add_breadcrumb($lang->nav_viewevent);
|
Zeile 368 | Zeile 369 |
---|
} $msel[$month] = " selected=\"selected\"";
|
} $msel[$month] = " selected=\"selected\"";
|
$dayopts = '';
| $dayopts = '';
|
//Construct option list for days for($i = 1; $i <= 31; $i++) {
| //Construct option list for days for($i = 1; $i <= 31; $i++) {
|
Zeile 562 | Zeile 563 |
---|
$plugins->run_hooks("calendar_start");
$time = mktime(0, 0, 0, $month, 1, $year);
|
$plugins->run_hooks("calendar_start");
$time = mktime(0, 0, 0, $month, 1, $year);
|
$days = my_date("t", $time);
| $days = date("t", $time);
|
$bdays = array();
// Load Birthdays
| $bdays = array();
// Load Birthdays
|
Zeile 614 | Zeile 615 |
---|
} $daybits = "<tr>\n"; $count = 0;
|
} $daybits = "<tr>\n"; $count = 0;
|
$sblanks = my_date("w", $time);
| $sblanks = date("w", $time);
|
// Blank space before first day if($sblanks) {
| // Blank space before first day if($sblanks) {
|