Dotclear

source: plugins/dcLegacyEditor/tpl/index.tpl @ 2614:db6f6a1f4f25

Revision 2614:db6f6a1f4f25, 1.0 KB checked in by Nicolas <nikrou77@…>, 12 years ago (diff)

Move legacy editor to a plugin. First step for alternate editors.
Addresses #1896

Line 
1<html>
2  <head>
3    <title>dcLegacyEditor</title>
4  </head>
5  <body>
6    <h2><?php echo html::escapeHTML($core->blog->name);?> &gt; dcLegacyEditor</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="dclegacyeditor_active">
18         <?php echo form::checkbox('dclegacyeditor_active', 1, $dclegacyeditor_active);?>
19         <?php echo __('Enable dcLegacyEditor plugin');?>
20       </label>
21     </p>
22      </div>
23     
24      <p>
25     <input type="hidden" name="p" value="dcLegacyEditor"/>
26     <?php echo $core->formNonce();?>
27     <input type="submit" name="saveconfig" value="<?php echo __('Save configuration');?>" />
28      </p>
29    </form>
30    <?php endif;?>
31    <?php dcPage::helpBlock('dcLegacyEditor');?>
32  </body>
33</html>
Note: See TracBrowser for help on using the repository browser.

Sites map