]> git.mxchange.org Git - friendica.git/commitdiff
make the "new calendar" (javascript interactive) the default
authorfriendica <info@friendica.com>
Mon, 2 Apr 2012 08:46:35 +0000 (01:46 -0700)
committerfriendica <info@friendica.com>
Mon, 2 Apr 2012 08:46:35 +0000 (01:46 -0700)
mod/events.php

index 0906d16c2ee21687c32bc5d3e7553df82c0ba9d2..e66a2dc4423953a80b9fd2dbb1fdf1d4d81f3871 100755 (executable)
@@ -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(),