summaryrefslogtreecommitdiffstats
path: root/application/views/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/scripts')
-rwxr-xr-xapplication/views/scripts/event/getpoollist.phtml6
-rwxr-xr-xapplication/views/scripts/event/index.phtml1
2 files changed, 6 insertions, 1 deletions
diff --git a/application/views/scripts/event/getpoollist.phtml b/application/views/scripts/event/getpoollist.phtml
index 423cb4b..1e64e21 100755
--- a/application/views/scripts/event/getpoollist.phtml
+++ b/application/views/scripts/event/getpoollist.phtml
@@ -3,6 +3,10 @@ if(count($this->poollist) == 0){
echo "<option>no pool</option>";
}
foreach($this->poollist as $p){
- echo "<option value='" . $p->getID() . "'>" . $p->getTitle() . "</option>";
+ if(isset($this->poolID) && $this->poolID == $p->getID()) {
+ echo '<option selected="selected" value="' . $p->getID() . '">' . $p->getTitle() . '</option>';
+ } else {
+ echo '<option value="' . $p->getID() . '">' . $p->getTitle() . '</option>';
+ }
}
?> \ No newline at end of file
diff --git a/application/views/scripts/event/index.phtml b/application/views/scripts/event/index.phtml
index c190dd2..f630c16 100755
--- a/application/views/scripts/event/index.phtml
+++ b/application/views/scripts/event/index.phtml
@@ -185,6 +185,7 @@ var clickTmp = true;
overlapEventsSeparate: false,
slotMinutes: 30,
defaultEventMinutes: 20,
+ events:
//disableResizing: true,