summaryrefslogtreecommitdiffstats
path: root/application/views/scripts/event/index.phtml
diff options
context:
space:
mode:
authorSebastian Wagner2011-09-08 17:42:42 +0200
committerSebastian Wagner2011-09-08 17:42:42 +0200
commit3a56fe7cdd588448978a97267232143deb075f98 (patch)
treedf98051ac5a9a4ed3ae4de45ac456064a6da3dad /application/views/scripts/event/index.phtml
parentadd some functions (diff)
downloadpoolctrl-3a56fe7cdd588448978a97267232143deb075f98.tar.gz
poolctrl-3a56fe7cdd588448978a97267232143deb075f98.tar.xz
poolctrl-3a56fe7cdd588448978a97267232143deb075f98.zip
minor
Diffstat (limited to 'application/views/scripts/event/index.phtml')
-rw-r--r--application/views/scripts/event/index.phtml9
1 files changed, 2 insertions, 7 deletions
diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml
index 3a9e8a9..b63bb10 100644
--- a/application/views/scripts/event/index.phtml
+++ b/application/views/scripts/event/index.phtml
@@ -4,7 +4,7 @@
</head>
<h1>Pool Control</h1>
-<?php echo $this->formButton('addEvent', 'Add Event', array(
+<!-- <?php echo $this->formButton('addEvent', 'Add Event', array(
'onclick' => 'self.location="/event/add/"',
'class' => 'addbutton'))
?>
@@ -17,7 +17,7 @@
echo "<option value='" . $p->getID() . "'>" . $p->getTitle() . "</option>";
}
} else echo '<option> No Pools </option>';?>
-</select></form>
+</select></form> -->
<div id='calendar' style='margin: 3em 0; font-size: 13px'></div>
@@ -132,17 +132,12 @@ var selected = true;
if (!confirm("Are you sure to add an Event from " + startDate + " to " + endDate + " ?")) {
$('#calendar').fullCalendar( 'unselect' );
}else {
- //var startDate = $.fullCalendar.formatDate(startDate, 'MM/dd/yyyy hh:mm');
- //var endDate = $.fullCalendar.formatDate(endDate, 'MM/dd/yyyy hh:mm');
self.location="/event/add/evstart/" + startDate + "/evend/" + endDate;
}
},
eventResize: function( event, dayDelta, minuteDelta, revertFunc ) {
-
- var length;
- var min = minuteDelta;
if (minuteDelta > 0) { length = 'longer';
}else{ length = 'shorter'; }