1
1
Fork 0

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

View file

@ -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(),