-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathconfig_form.php
executable file
·35 lines (33 loc) · 1.34 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
<?php $view = get_view(); ?>
<fieldset>
<legend><?php echo __('Google Maps API Settings'); ?></legend>
<div class="field">
<div class="two columns alpha">
<label for="api_key"><?php echo __('API Key'); ?></label>
</div>
<div class="inputs five columns omega">
<p class="explanation">
<?php
echo __('Google Maps API key for Neatline. For more information, see %s.',
'<a target="_blank" href="https://developers.google.com/maps/web/">developers.google.com/maps/web</a>'
);
?>
</p>
<?php echo $view->formText('neatline_googlemaps_apikey', get_option('neatline_googlemaps_apikey')); ?>
</div>
</div>
<legend><?php echo __('Exhibit Builder: Neatline Block Layout Settings'); ?></legend>
<div class="field">
<div class="two columns alpha">
<label for="neatline_block_height"><?php echo __('Neatline Page Block Height'); ?></label>
</div>
<div class="inputs five columns omega">
<p class="explanation">
<?php
echo __('The height of the Neatline page block in Exhibit Builder. If left blank, the default height of 500px will be used.');
?>
</p>
<?php echo $view->formText('neatline_exhibitblock_height', get_option('neatline_exhibitblock_height')); ?>
</div>
</div>
</fieldset>