| 1 |
<?php |
| 2 |
global $post; |
| 3 |
$maxgallery_options = new MaxGalleryOptions($post->ID); |
| 4 |
?> |
| 5 |
|
| 6 |
<div class="meta-options"> |
| 7 |
<table> |
| 8 |
<tr> |
| 9 |
<td colspan="2"> |
| 10 |
<strong><?php _e('Custom Styles', 'maxgalleria') ?></strong> |
| 11 |
</td> |
| 12 |
</tr> |
| 13 |
<tr> |
| 14 |
<td colspan="2"> |
| 15 |
<div style="color: #808080; font-style: italic; padding-bottom: 5px;"><?php _e('Add custom styles by using another stylesheet. This stylesheet will be loaded after all other gallery styles.', 'maxgalleria') ?></div> |
| 16 |
</td> |
| 17 |
</tr> |
| 18 |
<tr> |
| 19 |
<td width="60"> |
| 20 |
<label for="<?php echo $maxgallery_options->custom_styles_enabled_key ?>"><?php _e('Enabled:', 'maxgalleria') ?></label> |
| 21 |
</td> |
| 22 |
<td> |
| 23 |
<input type="checkbox" id="<?php echo $maxgallery_options->custom_styles_enabled_key ?>" name="<?php echo $maxgallery_options->custom_styles_enabled_key ?>" <?php echo (($maxgallery_options->get_custom_styles_enabled() == 'on') ? 'checked' : '') ?> /> |
| 24 |
</td> |
| 25 |
</tr> |
| 26 |
<tr> |
| 27 |
<td width="60"> |
| 28 |
<?php _e('URL:', 'maxgalleria') ?> |
| 29 |
</td> |
| 30 |
<td> |
| 31 |
<input type="text" class="wide" id="<?php echo $maxgallery_options->custom_styles_url_key ?>" name="<?php echo $maxgallery_options->custom_styles_url_key ?>" value="<?php echo $maxgallery_options->get_custom_styles_url() ?>" /> |
| 32 |
</td> |
| 33 |
</tr> |
| 34 |
<tr> |
| 35 |
<td colspan="2"> |
| 36 |
<br /><!-- Spacer --> |
| 37 |
</td> |
| 38 |
</tr> |
| 39 |
<tr> |
| 40 |
<td colspan="2"> |
| 41 |
<strong><?php _e('Custom Scripts', 'maxgalleria') ?></strong> |
| 42 |
</td> |
| 43 |
</tr> |
| 44 |
<tr> |
| 45 |
<td colspan="2"> |
| 46 |
<div style="color: #808080; font-style: italic; padding-bottom: 5px;"><?php _e('Add custom scripts by using another JavaScript file. This file will be loaded after all other gallery scripts.', 'maxgalleria') ?></div> |
| 47 |
</td> |
| 48 |
</tr> |
| 49 |
<tr> |
| 50 |
<td width="60"> |
| 51 |
<label for="<?php echo $maxgallery_options->custom_scripts_enabled_key ?>"><?php _e('Enabled:', 'maxgalleria') ?></label> |
| 52 |
</td> |
| 53 |
<td> |
| 54 |
<input type="checkbox" id="<?php echo $maxgallery_options->custom_scripts_enabled_key ?>" name="<?php echo $maxgallery_options->custom_scripts_enabled_key ?>" <?php echo (($maxgallery_options->get_custom_scripts_enabled() == 'on') ? 'checked' : '') ?> /> |
| 55 |
</td> |
| 56 |
</tr> |
| 57 |
<tr> |
| 58 |
<td width="60"> |
| 59 |
<?php _e('URL:', 'maxgalleria') ?> |
| 60 |
</td> |
| 61 |
<td> |
| 62 |
<input type="text" class="wide" id="<?php echo $maxgallery_options->custom_scripts_url_key ?>" name="<?php echo $maxgallery_options->custom_scripts_url_key ?>" value="<?php echo $maxgallery_options->get_custom_scripts_url() ?>" /> |
| 63 |
</td> |
| 64 |
</tr> |
| 65 |
<tr> |
| 66 |
<td colspan="2"> |
| 67 |
<br /><!-- Spacer --> |
| 68 |
</td> |
| 69 |
</tr> |
| 70 |
<tr> |
| 71 |
<td colspan="2"> |
| 72 |
<strong><?php _e('Reset', 'maxgalleria') ?></strong> |
| 73 |
</td> |
| 74 |
</tr> |
| 75 |
<tr> |
| 76 |
<td colspan="2"> |
| 77 |
<div style="color: #808080; font-style: italic; padding-bottom: 5px;"><?php _e('Reset all gallery options to their default values. This action cannot be undone.', 'maxgalleria') ?></div> |
| 78 |
</td> |
| 79 |
</tr> |
| 80 |
<tr> |
| 81 |
<td colspan="2"> |
| 82 |
<input type="checkbox" id="<?php echo $maxgallery_options->reset_options_key ?>" name="<?php echo $maxgallery_options->reset_options_key ?>" /> |
| 83 |
<label for="<?php echo $maxgallery_options->reset_options_key ?>"><?php _e('Yes, I understand', 'maxgalleria') ?></label> |
| 84 |
</td> |
| 85 |
</tr> |
| 86 |
</table> |
| 87 |
</div> |
| 88 |
|