make the "new calendar" (javascript interactive) the default

This commit is contained in:
friendica 2012-04-02 01:46:35 -07:00
parent 62e528ba43
commit 2352e6c1cb
1 changed files with 4 additions and 4 deletions

View File

@ -284,11 +284,11 @@ function events_content(&$a) {
if (x($_GET,'id')){
$tpl = get_markup_template("event.tpl");
} else {
if (get_config('experimentals','new_calendar')==1){
// if (get_config('experimentals','new_calendar')==1){
$tpl = get_markup_template("events-js.tpl");
} else {
$tpl = get_markup_template("events.tpl");
}
// } else {
// $tpl = get_markup_template("events.tpl");
// }
}
$o = replace_macros($tpl, array(
'$baseurl' => $a->get_baseurl(),