[3875] | 1 | <html> |
---|
| 2 | <head> |
---|
| 3 | <title> |
---|
| 4 | dcCKEditor |
---|
| 5 | </title> |
---|
| 6 | </head> |
---|
| 7 | <body> |
---|
| 8 | <?php echo dcPage::breadcrumb([__('Plugins') => |
---|
| 9 | '', __('dcCKEditor') => '']) . dcPage::notices(); ?> |
---|
| 10 | <?php if ($is_admin): ?> |
---|
| 11 | <h3 class="hidden-if-js"> |
---|
| 12 | <?php echo __('Settings'); ?> |
---|
| 13 | </h3> |
---|
| 14 | <form action="<?php echo $p_url; ?>" enctype="multipart/form-data" method="post"> |
---|
| 15 | <div class="fieldset"> |
---|
| 16 | <h3> |
---|
| 17 | <?php echo __('Plugin activation'); ?> |
---|
| 18 | </h3> |
---|
| 19 | <p> |
---|
| 20 | <label class="classic" for="dcckeditor_active"> |
---|
| 21 | <?php echo form::checkbox('dcckeditor_active', 1, $dcckeditor_active); ?> |
---|
| 22 | <?php echo __('Enable dcCKEditor plugin'); ?> |
---|
| 23 | </label> |
---|
| 24 | </p> |
---|
| 25 | </div> |
---|
| 26 | <?php if ($dcckeditor_active): ?> |
---|
| 27 | <div class="fieldset"> |
---|
| 28 | <h3> |
---|
| 29 | <?php echo __('Options'); ?> |
---|
| 30 | </h3> |
---|
| 31 | <p> |
---|
| 32 | <?php echo form::checkbox('dcckeditor_alignment_buttons', 1, $dcckeditor_alignment_buttons); ?> |
---|
| 33 | <label class="classic" for="dcckeditor_alignment_buttons"> |
---|
| 34 | <?php echo __('Add alignment buttons'); ?> |
---|
| 35 | </label> |
---|
| 36 | </p> |
---|
| 37 | <p> |
---|
| 38 | <?php echo form::checkbox('dcckeditor_list_buttons', 1, $dcckeditor_list_buttons); ?> |
---|
| 39 | <label class="classic" for="dcckeditor_list_buttons"> |
---|
| 40 | <?php echo __('Add lists buttons'); ?> |
---|
| 41 | </label> |
---|
| 42 | </p> |
---|
| 43 | <p> |
---|
| 44 | <?php echo form::checkbox('dcckeditor_textcolor_button', 1, $dcckeditor_textcolor_button); ?> |
---|
| 45 | <label class="classic" for="dcckeditor_textcolor_button"> |
---|
| 46 | <?php echo __('Add text color button'); ?> |
---|
| 47 | </label> |
---|
| 48 | </p> |
---|
| 49 | <p> |
---|
| 50 | <?php echo form::checkbox('dcckeditor_background_textcolor_button', 1, $dcckeditor_background_textcolor_button); ?> |
---|
| 51 | <label class="classic" for="dcckeditor_background_textcolor_button"> |
---|
| 52 | <?php echo __('Add background text color button'); ?> |
---|
| 53 | </label> |
---|
| 54 | </p> |
---|
| 55 | <p> |
---|
| 56 | <?php echo form::checkbox('dcckeditor_cancollapse_button', 1, $dcckeditor_cancollapse_button); ?> |
---|
| 57 | <label class="classic" for="dcckeditor_cancollapse_button"> |
---|
| 58 | <?php echo __('Add collapse button'); ?> |
---|
| 59 | </label> |
---|
| 60 | </p> |
---|
| 61 | <p> |
---|
| 62 | <?php echo form::checkbox('dcckeditor_format_select', 1, $dcckeditor_format_select); ?> |
---|
| 63 | <label class="classic" for="dcckeditor_format_select"> |
---|
| 64 | <?php echo __('Add format selection'); ?> |
---|
| 65 | </label> |
---|
| 66 | </p> |
---|
| 67 | <p> |
---|
| 68 | <label class="classic" for="dcckeditor_format_tags"> |
---|
| 69 | <?php echo __('Custom formats'); ?> |
---|
| 70 | </label> |
---|
| 71 | <?php echo form::field('dcckeditor_format_tags', 100, 255, $dcckeditor_format_tags); ?> |
---|
| 72 | </p> |
---|
| 73 | <p class="clear form-note"> |
---|
| 74 | <?php echo __('Default formats are p;h1;h2;h3;h4;h5;h6;pre;address'); ?> |
---|
| 75 | </p> |
---|
| 76 | <p> |
---|
| 77 | <?php echo form::checkbox('dcckeditor_table_button', 1, $dcckeditor_table_button); ?> |
---|
| 78 | <label class="classic" for="dcckeditor_table_button"> |
---|
| 79 | <?php echo __('Add table button'); ?> |
---|
| 80 | </label> |
---|
| 81 | </p> |
---|
| 82 | <p> |
---|
| 83 | <?php echo form::checkbox('dcckeditor_clipboard_buttons', 1, $dcckeditor_clipboard_buttons); ?> |
---|
| 84 | <label class="classic" for="dcckeditor_clipboard_buttons"> |
---|
| 85 | <?php echo __('Add clipboard buttons'); ?> |
---|
| 86 | </label> |
---|
| 87 | </p> |
---|
| 88 | <p class="clear form-note"> |
---|
| 89 | <?php echo __('Copy, Paste, Paste Text, Paste from Word'); ?> |
---|
| 90 | </p> |
---|
| 91 | <p> |
---|
| 92 | <?php echo form::checkbox('dcckeditor_disable_native_spellchecker', 1, $dcckeditor_disable_native_spellchecker); ?> |
---|
| 93 | <label class="classic" for="dcckeditor_disable_native_spellchecker"> |
---|
| 94 | <?php echo __('Disables the built-in spell checker if the browser provides one'); ?> |
---|
| 95 | </label> |
---|
| 96 | </p> |
---|
| 97 | </div> |
---|
| 98 | <?php endif;?> |
---|
| 99 | <p> |
---|
| 100 | <input name="p" type="hidden" value="dcCKEditor"/> |
---|
| 101 | <?php echo $core-> |
---|
| 102 | formNonce(); ?> |
---|
| 103 | <input name="saveconfig" type="submit" value="<?php echo __('Save configuration'); ?>"/> |
---|
| 104 | </p> |
---|
| 105 | </form> |
---|
| 106 | <?php endif;?> |
---|
| 107 | <?php dcPage::helpBlock('dcCKEditor');?> |
---|
| 108 | </body> |
---|
| 109 | </html> |
---|