projects
/
web
/
CityofMI.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ad83db
)
Common Events
author
Steve Sutton
<steve@gaslightmedia.com>
Mon, 4 Aug 2014 18:26:20 +0000
(14:26 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Mon, 4 Aug 2014 18:26:20 +0000
(14:26 -0400)
output the event list. No category blocks thing on first page.
static/10.phtml
patch
|
blob
|
history
diff --git
a/static/10.phtml
b/static/10.phtml
index
1258eee
..
4642746
100755
(executable)
--- a/
static/10.phtml
+++ b/
static/10.phtml
@@
-1,5
+1,11
@@
<?php
if (defined('COMMON_EVENTS') && COMMON_EVENTS) {
+ $search = filter_var($_REQUEST['search'], FILTER_VALIDATE_BOOLEAN);
+ $t = filter_var($_REQUEST['t']);
+ $eventId = filter_var($_REQUEST['eventid'], FILTER_VALIDATE_INT);
+ if (!$t && !$search && !$eventId) {
+ $_REQUEST['t'] = '30';
+ }
$calendarDateArray = filter_var_array(
$_REQUEST,
array(