Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html *
|
* $Id: calendar.php 3030 2007-04-26 00:19:47Z Tikitiki $
| * $Id: calendar.php 3478 2007-11-15 04:11:36Z Tikitiki $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 46 | Zeile 46 |
---|
/* If we are looking at an event, select the date for that event first. */
|
/* If we are looking at an event, select the date for that event first. */
|
if($mybb->input['action'] == "event")
| if($mybb->input['action'] == "event" || $mybb->input['action'] == "editevent" || $mybb->input['action'] == "do_editevent")
|
{ $options = array( "limit" => 1
| { $options = array( "limit" => 1
|
Zeile 174 | Zeile 174 |
---|
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']);
|
Zeile 436 | Zeile 436 |
---|
// Redirect back to the main calendar view. redirect("calendar.php", $lang->redirect_eventdeleted);
|
// Redirect back to the main calendar view. redirect("calendar.php", $lang->redirect_eventdeleted);
|
} else
| } else
|
{ // Set up eventhandler. require_once MYBB_ROOT."inc/datahandlers/event.php";
| { // Set up eventhandler. require_once MYBB_ROOT."inc/datahandlers/event.php";
|
Zeile 568 | Zeile 568 |
---|
$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 = date("t", $time);
| $days = my_date("t", $time);
|
$bdays = array();
// Load Birthdays
| $bdays = array();
// Load Birthdays
|
Zeile 621 | Zeile 621 |
---|
} $daybits = "<tr>\n"; $count = 0;
|
} $daybits = "<tr>\n"; $count = 0;
|
$sblanks = date("w", $time);
| $sblanks = my_date("w", $time);
|
// Blank space before first day if($sblanks) {
| // Blank space before first day if($sblanks) {
|