-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_form.php
133 lines (118 loc) · 5.26 KB
/
config_form.php
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?php
$view = get_view();
?>
<p><?php echo __('Please note: when enabling new media types, check that they are allowed as per <a href="/admin/settings/edit-security" title="click to open the configuration page" target="_blank">Omeka configuration</a>.'); ?></p>
<h2><?php echo __('Microsoft Office formats'); ?></h2>
<div class="field">
<div class="two columns alpha">
<?php echo $view->formLabel('more_media_types_msofficeformats', __('Add standard formats')); ?>
</div>
<div class="inputs five columns omega">
<p class="explanation">
<?php echo __('If checked, adds images for Microsoft standard formats: Word, Excel and PowerPoint.'); ?>
</p>
<?php echo $view->formCheckbox('more_media_types_msofficeformats', get_option('more_media_types_msofficeformats'), null, array('1', '0')); ?>
</div>
</div>
<div class="field">
<div class="two columns alpha">
<?php echo $view->formLabel('more_media_types_msofficexformats', __('Add XML formats')); ?>
</div>
<div class="inputs five columns omega">
<p class="explanation">
<?php echo __('If checked, adds images for Microsoft Office xml formats of Word, Excel and PowerPoint (warning: check that the media type is allowed in Omeka configuration).'); ?>
</p>
<?php echo $view->formCheckbox('more_media_types_msofficexformats', get_option('more_media_types_msofficexformats'), null, array('1', '0')); ?>
</div>
</div>
<h2><?php echo __('Open Office formats'); ?></h2>
<div class="field">
<div class="two columns alpha">
<?php echo $view->formLabel('more_media_types_openofficeformats', __('Add standard formats')); ?>
</div>
<div class="inputs five columns omega">
<p class="explanation">
<?php echo __('If checked, adds images for Open Office standard formats: Writer, Calc and Impress.'); ?>
</p>
<?php echo $view->formCheckbox('more_media_types_openofficeformats', get_option('more_media_types_openofficeformats'), null, array('1', '0')); ?>
</div>
</div>
<h2><?php echo __('Other formats'); ?></h2>
<div class="field">
<div class="two columns alpha">
<?php echo $view->formLabel('more_media_types_text', __('Add text format')); ?>
</div>
<div class="inputs five columns omega">
<p class="explanation">
<?php echo __('If checked, adds image for text format.'); ?>
</p>
<?php echo $view->formCheckbox('more_media_types_text', get_option('more_media_types_text'), null, array('1', '0')); ?>
</div>
</div>
<div class="field">
<div class="two columns alpha">
<?php echo $view->formLabel('more_media_types_text', __('Add RTF format')); ?>
</div>
<div class="inputs five columns omega">
<p class="explanation">
<?php echo __('If checked, adds image for RTF (Rich Text Format) format.'); ?>
</p>
<?php echo $view->formCheckbox('more_media_types_rtf', get_option('more_media_types_rtf'), null, array('1', '0')); ?>
</div>
</div>
<div class="field">
<div class="two columns alpha">
<?php echo $view->formLabel('more_media_types_html', __('Add HTML format')); ?>
</div>
<div class="inputs five columns omega">
<p class="explanation">
<?php echo __('If checked, adds image for HTML (HyperText Markup Language) format.'); ?>
</p>
<?php echo $view->formCheckbox('more_media_types_html', get_option('more_media_types_html'), null, array('1', '0')); ?>
</div>
</div>
<div class="field">
<div class="two columns alpha">
<?php echo $view->formLabel('more_media_types_pdf', __('Add PDF format')); ?>
</div>
<div class="inputs five columns omega">
<p class="explanation">
<?php echo __('If checked, adds image for PDF (Portable Document Format) format.'); ?>
</p>
<?php echo $view->formCheckbox('more_media_types_pdf', get_option('more_media_types_pdf'), null, array('1', '0')); ?>
</div>
</div>
<div class="field">
<div class="two columns alpha">
<?php echo $view->formLabel('more_media_types_ebook', __('Add eBook formats (ePub & MOBI)')); ?>
</div>
<div class="inputs five columns omega">
<p class="explanation">
<?php echo __('If checked, adds image for eBook (ePub & MOBI) formats.'); ?>
</p>
<?php echo $view->formCheckbox('more_media_types_ebook', get_option('more_media_types_ebook'), null, array('1', '0')); ?>
</div>
</div>
<div class="field">
<div class="two columns alpha">
<?php echo $view->formLabel('more_media_types_compressed', __('Add compressed formats')); ?>
</div>
<div class="inputs five columns omega">
<p class="explanation">
<?php echo __('If checked, adds image for ZIP, RAR and ARJ compressed formats.'); ?>
</p>
<?php echo $view->formCheckbox('more_media_types_compressed', get_option('more_media_types_compressed'), null, array('1', '0')); ?>
</div>
</div>
<h2><?php echo __('Default images'); ?></h2>
<div class="field">
<div class="two columns alpha">
<?php echo $view->formLabel('more_media_types_replacestandardicons', __('Change default images')); ?>
</div>
<div class="inputs five columns omega">
<p class="explanation">
<?php echo __('If checked, changes default images for Image, Audio and Video formats, as well as the default fallback one.'); ?>
</p>
<?php echo $view->formCheckbox('more_media_types_replacestandardicons', get_option('more_media_types_replacestandardicons'), null, array('1', '0')); ?>
</div>
</div>