blob: 8c3878cccafa1ca451893faf9aca12e834b14f9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{strip}
{form legend="Data Options" id="data_options"}
<div class="row caloptions">
{forminput}
{foreach from=$calContentTypes key=value item=type}
<div class="cal{$value}">
<label>
<input type="checkbox" value="{$value}" name="content_type_guid[]"
{foreach from=$smarty.session.calendar.content_type_guid item=selected}
{if $selected eq $value}
checked="checked"
{/if}
{/foreach}
/> {$type}
</label>
</div>
{/foreach}
<script type="text/javascript">/* <![CDATA[ */
document.write("<label><input name=\"switcher\" id=\"switcher\" type=\"checkbox\" onclick=\"switchCheckboxes(this.form.id,'content_type_guid[]','switcher')\" /> {tr}Select all{/tr}</label><br />");
/* ]]> */</script>
{/forminput}
</div>
<div class="row submit">
<input type="submit" name="refresh" value="{tr}Update Calendar{/tr}" />
</div>
{/form}
{/strip}
|