[2738] | 1 | <html> |
---|
| 2 | <head> |
---|
| 3 | <title>dcCKEditor</title> |
---|
| 4 | </head> |
---|
| 5 | <body> |
---|
| 6 | <h2><?php echo html::escapeHTML($core->blog->name);?> > dcCKEditor</h2> |
---|
| 7 | <?php if (!empty($message)):?> |
---|
| 8 | <p class="message"><?php echo $message;?></p> |
---|
| 9 | <?php endif;?> |
---|
| 10 | |
---|
| 11 | <?php if ($is_super_admin):?> |
---|
| 12 | <h3 class="hidden-if-js"><?php echo __('Settings');?></h3> |
---|
| 13 | <form action="<?php echo $p_url;?>" method="post" enctype="multipart/form-data"> |
---|
| 14 | <div class="fieldset"> |
---|
| 15 | <h3><?php echo __('Plugin activation');?></h3> |
---|
| 16 | <p> |
---|
| 17 | <label class="classic" for="dcckeditor_active"> |
---|
| 18 | <?php echo form::checkbox('dcckeditor_active', 1, $dcckeditor_active);?> |
---|
| 19 | <?php echo __('Enable dcCKEditor plugin');?> |
---|
| 20 | </label> |
---|
| 21 | </p> |
---|
| 22 | </div> |
---|
| 23 | |
---|
| 24 | <?php if ($dcckeditor_active):?> |
---|
| 25 | <div class="fieldset"> |
---|
| 26 | <h3><?php echo __('Options'); ?></h3> |
---|
| 27 | <p> |
---|
| 28 | <?php echo form::checkbox('dcckeditor_alignment_buttons', 1, $dcckeditor_alignment_buttons); ?> |
---|
| 29 | <label class="classic" for="dcckeditor_alignment_buttons"> <?php echo __('Add alignment buttons');?></label> |
---|
| 30 | </p> |
---|
| 31 | <p> |
---|
| 32 | <?php echo form::checkbox('dcckeditor_list_buttons', 1, $dcckeditor_list_buttons); ?> |
---|
| 33 | <label class="classic" for="dcckeditor_list_buttons"> <?php echo __('Add lists buttons');?></label> |
---|
| 34 | </p> |
---|
| 35 | <p> |
---|
| 36 | <?php echo form::checkbox('dcckeditor_textcolor_button', 1, $dcckeditor_textcolor_button); ?> |
---|
| 37 | <label class="classic" for="dcckeditor_textcolor_button"> <?php echo __('Add text color button');?></label> |
---|
| 38 | </p> |
---|
| 39 | <p> |
---|
| 40 | <?php echo form::checkbox('dcckeditor_cancollapse_button', 1, $dcckeditor_cancollapse_button); ?> |
---|
| 41 | <label class="classic" for="dcckeditor_cancollapse_button"> <?php echo __('Add collapse button');?></label> |
---|
| 42 | </p> |
---|
| 43 | <p> |
---|
| 44 | <?php echo form::checkbox('dcckeditor_format_select', 1, $dcckeditor_format_select);?> |
---|
| 45 | <label class="classic" for="dcckeditor_format_select"> <?php echo __('Add format selection');?></label> |
---|
| 46 | </p> |
---|
| 47 | <p> |
---|
| 48 | <?php echo form::checkbox('dcckeditor_table_button', 1, $dcckeditor_table_button);?> |
---|
| 49 | <label class="classic" for="dcckeditor_table_button"> <?php echo __('Add table button');?></label> |
---|
| 50 | </p> |
---|
| 51 | <p> |
---|
| 52 | <?php echo form::checkbox('dcckeditor_clipboard_buttons', 1, $dcckeditor_clipboard_buttons);?> |
---|
| 53 | <label class="classic" for="dcckeditor_clipboard_buttons"> <?php echo __('Add clipboard buttons');?></label> |
---|
| 54 | </p> |
---|
| 55 | <p class="clear form-note"> |
---|
| 56 | <?php echo __('Copy, Paste, Paste Text, Paste from Word');?> |
---|
| 57 | </p> |
---|
| 58 | </div> |
---|
| 59 | <div class="fieldset"> |
---|
| 60 | <h3><?php echo __('Advanced options'); ?></h3> |
---|
| 61 | <p> |
---|
| 62 | <label class="classic" for="dcckeditor_textareas"> <?php echo __('Text areas to be used by CKEditor');?></label> |
---|
| 63 | <?php echo form::field('dcckeditor_textareas', 50, 255, $dcckeditor_textareas);?> |
---|
| 64 | </p> |
---|
| 65 | <p class="clear form-note"> |
---|
| 66 | <?php echo __('Comma separed list of textareas - jQuery selector. Defaut: '), DEFAULT_TEXTAREAS;?> |
---|
| 67 | </p> |
---|
| 68 | </div> |
---|
| 69 | |
---|
| 70 | <?php endif;?> |
---|
| 71 | <p> |
---|
| 72 | <input type="hidden" name="p" value="dcCKEditor"/> |
---|
| 73 | <?php echo $core->formNonce();?> |
---|
| 74 | <input type="submit" name="saveconfig" value="<?php echo __('Save configuration');?>" /> |
---|
| 75 | </p> |
---|
| 76 | </form> |
---|
| 77 | <?php endif;?> |
---|
| 78 | <?php dcPage::helpBlock('dcCKEditor');?> |
---|
| 79 | </body> |
---|
| 80 | </html> |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | |
---|