aboutsummaryrefslogtreecommitdiffstats
path: root/mod/events.php
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2011-06-09 10:20:47 +0200
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2011-06-09 10:20:47 +0200
commit7ffd0ee41a70d30cadf18032f655222911304b7c (patch)
tree8951d4ac7d5a8b1d27929742890914c8c57c23e0 /mod/events.php
parent6f9fd92c2eabd1b26182e2f7157f35e44f94dc67 (diff)
parent9203b48527050b0b4a17120a95b2b3202842d56d (diff)
downloadvolse-hubzilla-7ffd0ee41a70d30cadf18032f655222911304b7c.tar.gz
volse-hubzilla-7ffd0ee41a70d30cadf18032f655222911304b7c.tar.bz2
volse-hubzilla-7ffd0ee41a70d30cadf18032f655222911304b7c.zip
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'mod/events.php')
-rw-r--r--mod/events.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/events.php b/mod/events.php
index f19a438fd..af829c28d 100644
--- a/mod/events.php
+++ b/mod/events.php
@@ -54,6 +54,9 @@ function events_post(&$a) {
$str_contact_deny = perms2str($_POST['contact_deny']);
+ // until publishing is ready
+ $str_contact_allow = '<' . local_user() . '>';
+
if($event_id) {
$r = q("UPDATE `event` SET
`edited` = '%s',
@@ -169,7 +172,7 @@ function events_content(&$a) {
$prevyear --;
}
-
+ $o .= '<div id="new-event-link"><a href="' . $a->get_baseurl() . '/events/new' . '" >' . t('Create New Event') . '</a></div>';
$o .= '<a href="' . $a->get_baseurl() . '/events/' . $prevyear . '/' . $prevmonth . '" class="prevcal">' . t('&lt;&lt; Previous') . '</a> | <a href="' . $a->get_baseurl() . '/events/' . $nextyear . '/' . $nextmonth . '" class="nextcal">' . t('Next &gt;&gt;') . '</a>';
$o .= cal($y,$m,false, ' eventcal');