This repository has been archived by the owner on Dec 7, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
config_form.php
31 lines (30 loc) · 1.57 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
<div class="field">
<label for="headings">Print headings:</label>
<?php if (get_option('subject_browse_headers')){
echo checkbox(array('name'=> 'headers', 'id' => 'headers', 'value' => 1), true);
}
else {
echo checkbox(array('name'=> 'headers', 'id' => 'headers', 'value' => 1));
}
echo '<p class="explanation">Print headers for each section (#0-9 and symbols, A, B, etc.)</p></div>';
?>
<div class="field">
<label for="alphabetical_skiplinks">Print skip links:</label>
<?php if (get_option('subject_browse_alphabetical_skiplinks')){
echo checkbox(array('name'=> 'alphabetical_skiplinks', 'id' => 'alphabetical_skiplinks', 'value' => 1), true);
}
else {
echo checkbox(array('name'=> 'alphabetical_skiplinks', 'id' => 'alphabetical_skiplinks', 'value' => 1));
}
echo '<br /><br /><p class="explanation">Print skiplinks at the top and bottom of each page, which link to the alphabetical headers.</p><p class="explanation">Note that if headers are turned off, skiplinks do not work.</p></div>';
?>
<div class="field">
<label for="item_links">Add Links in Item pages:</label>
<?php if (get_option('subject_browse_item_links')){
echo checkbox(array('name'=> 'item_links', 'id' => 'item_links', 'value' => 1), true);
}
else {
echo checkbox(array('name'=> 'item_links', 'id' => 'item_links', 'value' => 1));
}
echo '<p class="explanation">Makes subject links in item display pages clickable links.</p></div>';
?>