Dotclear


Ignore:
Timestamp:
03/08/18 17:58:39 (8 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Code formatting (PSR-2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/dcCKEditor/tpl/index.tpl

    r3725 r3730  
    77  <body> 
    88    <?php echo dcPage::breadcrumb(array(__('Plugins') => 
    9     '',__('dcCKEditor') => '')).dcPage::notices(); ?> 
    10     <?php if ($is_admin):?> 
     9    '', __('dcCKEditor') => '')) . dcPage::notices(); ?> 
     10    <?php if ($is_admin): ?> 
    1111    <h3 class="hidden-if-js"> 
    12       <?php echo __('Settings');?> 
     12      <?php echo __('Settings'); ?> 
    1313    </h3> 
    14     <form action="<?php echo $p_url;?>" enctype="multipart/form-data" method="post"> 
     14    <form action="<?php echo $p_url; ?>" enctype="multipart/form-data" method="post"> 
    1515      <div class="fieldset"> 
    1616        <h3> 
    17           <?php echo __('Plugin activation');?> 
     17          <?php echo __('Plugin activation'); ?> 
    1818        </h3> 
    1919        <p> 
    2020          <label class="classic" for="dcckeditor_active"> 
    21             <?php echo form::checkbox('dcckeditor_active', 1, $dcckeditor_active);?> 
    22             <?php echo __('Enable dcCKEditor plugin');?> 
     21            <?php echo form::checkbox('dcckeditor_active', 1, $dcckeditor_active); ?> 
     22            <?php echo __('Enable dcCKEditor plugin'); ?> 
    2323          </label> 
    2424        </p> 
    2525      </div> 
    26       <?php if ($dcckeditor_active):?> 
     26      <?php if ($dcckeditor_active): ?> 
    2727      <div class="fieldset"> 
    2828        <h3> 
     
    3232          <?php echo form::checkbox('dcckeditor_alignment_buttons', 1, $dcckeditor_alignment_buttons); ?> 
    3333          <label class="classic" for="dcckeditor_alignment_buttons"> 
    34             <?php echo __('Add alignment buttons');?> 
     34            <?php echo __('Add alignment buttons'); ?> 
    3535          </label> 
    3636        </p> 
     
    3838          <?php echo form::checkbox('dcckeditor_list_buttons', 1, $dcckeditor_list_buttons); ?> 
    3939          <label class="classic" for="dcckeditor_list_buttons"> 
    40             <?php echo __('Add lists buttons');?> 
     40            <?php echo __('Add lists buttons'); ?> 
    4141          </label> 
    4242        </p> 
     
    4444          <?php echo form::checkbox('dcckeditor_textcolor_button', 1, $dcckeditor_textcolor_button); ?> 
    4545          <label class="classic" for="dcckeditor_textcolor_button"> 
    46             <?php echo __('Add text color button');?> 
     46            <?php echo __('Add text color button'); ?> 
    4747          </label> 
    4848        </p> 
     
    5050          <?php echo form::checkbox('dcckeditor_background_textcolor_button', 1, $dcckeditor_background_textcolor_button); ?> 
    5151          <label class="classic" for="dcckeditor_background_textcolor_button"> 
    52             <?php echo __('Add background text color button');?> 
     52            <?php echo __('Add background text color button'); ?> 
    5353          </label> 
    5454        </p> 
     
    5656          <?php echo form::checkbox('dcckeditor_cancollapse_button', 1, $dcckeditor_cancollapse_button); ?> 
    5757          <label class="classic" for="dcckeditor_cancollapse_button"> 
    58             <?php echo __('Add collapse button');?> 
     58            <?php echo __('Add collapse button'); ?> 
    5959          </label> 
    6060        </p> 
    6161        <p> 
    62           <?php echo form::checkbox('dcckeditor_format_select', 1, $dcckeditor_format_select);?> 
     62          <?php echo form::checkbox('dcckeditor_format_select', 1, $dcckeditor_format_select); ?> 
    6363          <label class="classic" for="dcckeditor_format_select"> 
    64             <?php echo __('Add format selection');?> 
     64            <?php echo __('Add format selection'); ?> 
    6565          </label> 
    6666        </p> 
    6767        <p> 
    6868          <label class="classic" for="dcckeditor_format_tags"> 
    69             <?php echo __('Custom formats');?> 
     69            <?php echo __('Custom formats'); ?> 
    7070          </label> 
    71           <?php echo form::field('dcckeditor_format_tags', 100, 255, $dcckeditor_format_tags);?> 
     71          <?php echo form::field('dcckeditor_format_tags', 100, 255, $dcckeditor_format_tags); ?> 
    7272        </p> 
    7373        <p class="clear form-note"> 
    74           <?php echo __('Default formats are p;h1;h2;h3;h4;h5;h6;pre;address');?> 
     74          <?php echo __('Default formats are p;h1;h2;h3;h4;h5;h6;pre;address'); ?> 
    7575        </p> 
    7676        <p> 
    77           <?php echo form::checkbox('dcckeditor_table_button', 1, $dcckeditor_table_button);?> 
     77          <?php echo form::checkbox('dcckeditor_table_button', 1, $dcckeditor_table_button); ?> 
    7878          <label class="classic" for="dcckeditor_table_button"> 
    79             <?php echo __('Add table button');?> 
     79            <?php echo __('Add table button'); ?> 
    8080          </label> 
    8181        </p> 
    8282        <p> 
    83           <?php echo form::checkbox('dcckeditor_clipboard_buttons', 1, $dcckeditor_clipboard_buttons);?> 
     83          <?php echo form::checkbox('dcckeditor_clipboard_buttons', 1, $dcckeditor_clipboard_buttons); ?> 
    8484          <label class="classic" for="dcckeditor_clipboard_buttons"> 
    85             <?php echo __('Add clipboard buttons');?> 
     85            <?php echo __('Add clipboard buttons'); ?> 
    8686          </label> 
    8787        </p> 
    8888        <p class="clear form-note"> 
    89           <?php echo __('Copy, Paste, Paste Text, Paste from Word');?> 
     89          <?php echo __('Copy, Paste, Paste Text, Paste from Word'); ?> 
    9090        </p> 
    9191        <p> 
    92           <?php echo form::checkbox('dcckeditor_disable_native_spellchecker', 1, $dcckeditor_disable_native_spellchecker);?> 
     92          <?php echo form::checkbox('dcckeditor_disable_native_spellchecker', 1, $dcckeditor_disable_native_spellchecker); ?> 
    9393          <label class="classic" for="dcckeditor_disable_native_spellchecker"> 
    94             <?php echo __('Disables the built-in spell checker if the browser provides one');?> 
     94            <?php echo __('Disables the built-in spell checker if the browser provides one'); ?> 
    9595          </label> 
    9696        </p> 
     
    100100        <input name="p" type="hidden" value="dcCKEditor"/> 
    101101        <?php echo $core-> 
    102         formNonce();?> 
    103         <input name="saveconfig" type="submit" value="<?php echo __('Save configuration');?>"/> 
     102    formNonce(); ?> 
     103        <input name="saveconfig" type="submit" value="<?php echo __('Save configuration'); ?>"/> 
    104104      </p> 
    105105    </form> 
Note: See TracChangeset for help on using the changeset viewer.

Sites map