".format(
-// event.item['author-avatar'],
-// event.item['author-name'],
-// event.item.desc,
-// event.item.location
-// ));
-// break;
-// }
-// }
-//
-// })
-//
-// // center on date
-// var args=location.href.replace(baseurl,"").split("/");
-// if (args.length>=4) {
-// $("#events-calendar").fullCalendar('gotoDate',args[2] , args[3]-1);
-// }
-//
-// // echo the title
-// var view = $('#events-calendar').fullCalendar('getView');
-// $('#fc-title').text(view.title);
-//
-// // show event popup
-// var hash = location.hash.split("-")
-// if (hash.length==2 && hash[0]=="#link") showEvent(hash[1]);
-//
-// });
-
\ No newline at end of file
diff --git a/view/theme/frio/templates/event_form.tpl b/view/theme/frio/templates/event_form.tpl
index 6ccce703b2..97892d186b 100644
--- a/view/theme/frio/templates/event_form.tpl
+++ b/view/theme/frio/templates/event_form.tpl
@@ -24,32 +24,42 @@
+ {{* The tab conten with the necessary basic settings *}}
+ {{* The event title *}}
{{include file="field_input.tpl" field=$summary}}
+ {{* The field for event starting time *}}
{{$s_dsel}}
+ {{* The field for event finish time *}}
{{$f_dsel}}
+ {{* checkbox if the the event doesn't have a finish time *}}
{{include file="field_checkbox.tpl" field=$nofinish}}
+ {{* checkbox for adjusting the event time to the timezone of the user *}}
{{include file="field_checkbox.tpl" field=$adjust}}
+ {{* checkbox to enable event sharing and the permissions tab *}}
{{if ! $eid}}
{{include file="field_checkbox.tpl" field=$share}}
{{/if}}
+ {{* The submit button - saves the event *}}
+ {{* The advanced tab *}}
+ {{* The textarea for the event description *}}
{{$d_text}}
@@ -96,6 +106,7 @@
+ {{* The textarea for the event location *}}
{{$l_text}}
@@ -143,10 +154,12 @@
+ {{* The tab for the permissions (if event sharing is enabled) *}}
{{$acl}}
+ {{* The tab for the event preview (content is inserted by js) *}}
diff --git a/view/theme/frio/templates/events-js.tpl b/view/theme/frio/templates/events-js.tpl
index 8734d4ea83..9e46b5c48a 100644
--- a/view/theme/frio/templates/events-js.tpl
+++ b/view/theme/frio/templates/events-js.tpl
@@ -2,10 +2,13 @@
{{$tabs}}
{{include file="section_title.tpl" title=$title}}
+ {{* The link to create a new event *}}