Commit 8a3c052f authored by Reto Da Forno's avatar Reto Da Forno
Browse files

minor change

parent 54dd4bb8
......@@ -66,16 +66,18 @@
this.end = new Date(this.start.getTime() + 1000);
}
<?php
if ($_SESSION['is_admin']) {
echo '
if (this.color=="chocolate" || !this.hasOwnProperty("color"))
this.url="webdavs://'.$_SESSION['username'].'@'.preg_replace('#/[^/]*$#','',$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']).'/webdav/"+this.id+"/";
';}
else {
echo '
if (this.color=="chocolate")
this.url="webdavs://'.$_SESSION['username'].'@'.preg_replace('#/[^/]*$#','',$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']).'/webdav/"+this.id+"/";
';}
if ($_SESSION['is_admin']) {
echo '
if (this.color=="chocolate" || !this.hasOwnProperty("color"))
this.url="webdavs://'.$_SESSION['username'].'@'.preg_replace('#/[^/]*$#','',$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']).'/webdav/"+this.id+"/";
';
}
else {
echo '
if (this.color=="chocolate")
this.url="webdavs://'.$_SESSION['username'].'@'.preg_replace('#/[^/]*$#','',$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']).'/webdav/"+this.id+"/";
';
}
?>
events.push(this);
}
......@@ -100,11 +102,11 @@ echo '
}
}
},
});
});
});
</script>
<h1>Full Calendar</h1>
<div id='calendar' class='calendar'></div>
<h1>Full Calendar</h1>
<div id='calendar' class='calendar'></div>
<?php
do_layout('Full Calendar','Full Calendar');
do_layout('Full Calendar','Full Calendar');
?>
......@@ -338,8 +338,13 @@ div.content table.recaptchatable {
padding: 0px;
float: none;
}
#minicalendar .fc-header-title {
display: none;
}
#minicalendar .fc-header-title h2 {
font-size: 1.0em;
font-size: 10px;
line-height: 100%;
font-weight: normal;
white-space: normal !important;
}
#minicalendar .fc-view-month .fc-event, #minicalendar .fc-view-agendaWeek .fc-event {
......
......@@ -31,12 +31,15 @@ html .fc,
------------------------------------------------------------------------*/
.fc-header {
display: none;
}
.fc-header td {
white-space: nowrap;
}
.fc-header td:hover {
background-color: #FFFFFF;
}
.fc-header-left {
width: 25%;
......@@ -60,6 +63,9 @@ html .fc,
.fc-header-title h2 {
margin-top: 0;
white-space: nowrap;
font-size: 14px;
font-weight: normal;
line-height: 200%;
}
.fc .fc-header-space {
......@@ -470,7 +476,7 @@ table.fc-border-separate {
/* make axis border take precedence */
.fc-agenda-days .fc-agenda-axis {
border-right-width: 1px;
border-right-width: 0px;
}
.fc-agenda-days .fc-col0 {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment