1 <!-- CONTEXT HELP DIVS -->
2 <div id="tooltipPool" style="display: none">
3 <div id="eventsVisibilityHelp" class="tip">
4 ${ _("""<b>Indicates when events from this category are shown in the event overview webpage.</b><br>
5 - <b>Everywhere</b>: events are shown in the event overview webpage for this category and the parent categories<br>
6 - <b>""" + name + """</b>: events are shown only in the overview webpage for this category (""" + name + """)<br>
7 - <b>Nowhere</b>: events are not shown in any overview webpage.""")}
10 <!-- END OF CONTEXT HELP DIVS -->
12 <div class="groupTitle">${ _("General Settings")}</div>
17 <table width="90%" align="left" border="0">
19 <td class="dataCaptionTD"><span class="dataCaptionFormat"> ${ _("Name")}</span></td>
20 <td bgcolor="white" width="100%" class="blacktext">${ name }</td>
21 <td rowspan="2" valign="bottom" align="right">
22 <form action="${ dataModificationURL }" method="POST">
28 <td class="dataCaptionTD"><span class="dataCaptionFormat">${ _("Description")}</span></td>
29 <td bgcolor="white" width="100%" class="blacktext">${ description }</td>
32 <td class="dataCaptionTD"><span class="dataCaptionFormat">${ _("Default Timezone")}</span></td>
33 <td bgcolor="white" width="100%" class="blacktext">${ defaultTimezone }</td>
36 <td class="dataCaptionTD"><span class="dataCaptionFormat">${ _("Icon")}</span></td>
37 <td bgcolor="white" width="100%" class="blacktext">${ icon }</td>
40 <td class="dataCaptionTD"><span class="dataCaptionFormat"> ${ _("Default lectures style")}</span></td>
41 <td bgcolor="white" width="100%" class="blacktext">${ defaultLectureStyle }</td>
44 <td class="dataCaptionTD"><span class="dataCaptionFormat"> ${ _("Default meetings style")}</span></td>
45 <td bgcolor="white" width="100%" class="blacktext">${ defaultMeetingStyle }</td>
48 <td class="dataCaptionTD"><span class="dataCaptionFormat"> ${ _("Events visibility")}</span></td>
49 <td bgcolor="white" width="100%" class="blacktext">${ defaultVisibility } ${contextHelp('eventsVisibilityHelp')}</td>
52 <td colspan="3" class="horizontalLine"> </td>
56 <td class="dataCaptionTD">
57 <a name="sections"></a>
58 <span class="dataCaptionFormat"> ${ _("Management features")}</span>
61 <img src=${ enablePic } alt="Click to disable"> <small> ${ _("Enabled feature")}</small>
63 <img src=${ disablePic } alt="Click to enable"> <small> ${ _("Disabled feature")}</small>
65 <td bgcolor="white" width="100%" class="blacktext" style="padding-left:20px">
77 <td colspan="3" class="horizontalLine"> </td>
84 <table width="90%" align="left" border="0">
86 <td class="dataCaptionTD">
87 <span class="dataCaptionFormat"> ${ _("Contents")}</span>
90 <form action="${ removeItemsURL }" name="contentForm" method="POST">
94 <td align="left" style="border-bottom: 2px solid rgb(119, 119, 119);">
95 <table cellspacing="0" cellpadding="0" align="left">
97 <td align="left" valign="bottom">
98 <input type="submit" class="btn" value="${ _("add subcateg")}" onClick="this.form.action='${ addSubCategoryURL }';">
99 <input type="submit" class="btn" name="reallocate" value="${ _("re-allocate")}">
100 <input type="submit" class="btn" name="remove" value="${ _("remove")}">
101 % if not containsEvents:
102 <input type="submit" class="btn" name="sort" value="${ _("sort alphabetically")}">
111 <td bgcolor="white" width="100%">
117 <td align="left" style="border-top: 2px solid rgb(119, 119, 119); padding-bottom: 5px;">
118 <table cellspacing="0" cellpadding="0" align="left">
120 <td align="left" valign="bottom">
121 <input type="submit" class="btn" value="${ _("add subcateg")}" onClick="this.form.action='${ addSubCategoryURL }';">
122 <input type="submit" class="btn" name="reallocate" value="${ _("re-allocate")}">
123 <input type="submit" class="btn" name="remove" value="${ _("remove")}">
124 % if not containsEvents:
125 <input type="submit" class="btn" name="sort" value="${ _("sort alphabetically")}">
137 <td colspan="2" class="horizontalLine"> </td>
144 <script type="text/javascript">
146 function selectAll(element)
148 if (!element.length){
151 for (i = 0; i < element.length; i++) {
152 element[i].checked=true
157 function deselectAll(element)
159 if (!element.length) {
160 element.checked=false
162 for (i = 0; i < element.length; i++) {
163 element[i].checked=false