make the "new calendar" (javascript interactive) the default
This commit is contained in:
parent
62e528ba43
commit
2352e6c1cb
|
@ -284,11 +284,11 @@ function events_content(&$a) {
|
||||||
if (x($_GET,'id')){
|
if (x($_GET,'id')){
|
||||||
$tpl = get_markup_template("event.tpl");
|
$tpl = get_markup_template("event.tpl");
|
||||||
} else {
|
} else {
|
||||||
if (get_config('experimentals','new_calendar')==1){
|
// if (get_config('experimentals','new_calendar')==1){
|
||||||
$tpl = get_markup_template("events-js.tpl");
|
$tpl = get_markup_template("events-js.tpl");
|
||||||
} else {
|
// } else {
|
||||||
$tpl = get_markup_template("events.tpl");
|
// $tpl = get_markup_template("events.tpl");
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
$o = replace_macros($tpl, array(
|
$o = replace_macros($tpl, array(
|
||||||
'$baseurl' => $a->get_baseurl(),
|
'$baseurl' => $a->get_baseurl(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user