Browse Source

new event current date off by one, submit button misplaced

pull/29/head
friendica 10 years ago
parent
commit
d2a9341128
  1. 2
      boot.php
  2. 6
      mod/events.php
  3. 1
      view/event_form.tpl

2
boot.php

@ -9,7 +9,7 @@ require_once('include/nav.php');
require_once('include/cache.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica');
define ( 'FRIENDICA_VERSION', '2.3.1234' );
define ( 'FRIENDICA_VERSION', '2.3.1235' );
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
define ( 'DB_UPDATE_VERSION', 1116 );

6
mod/events.php

@ -279,9 +279,9 @@ function events_content(&$a) {
$sdt = ((x($orig_event)) ? $orig_event['start'] : 'now');
$fdt = ((x($orig_event)) ? $orig_event['finish'] : 'now');
$tz = ((x($orig_event) && $orig_event['adjust']) ? date_default_timezone_get() : 'UTC');
$tz = date_default_timezone_get();
if(x($orig_event))
$tz = (($orig_event['adjust']) ? date_default_timezone_get() : 'UTC');
$syear = datetime_convert('UTC', $tz, $sdt, 'Y');
$smonth = datetime_convert('UTC', $tz, $sdt, 'm');

1
view/event_form.tpl

@ -38,6 +38,7 @@ $f_dsel $f_tsel
$acl
<div class="clear"></div>
<input id="event-submit" type="submit" name="submit" value="$submit" />
</form>

Loading…
Cancel
Save