Dotclear


Ignore:
Timestamp:
09/09/13 17:37:35 (12 years ago)
Author:
kevin@…
Branch:
Ticket #1539
Message:

Ticket #1539 : déplace le bouton de validation xhtml dans les pages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/pages/page.php

    r1741 r1828  
    406406                         '<p>'.form::combo('post_format',$formaters_combo,$post_format,'maximal'). 
    407407                         '</p>'. 
    408                          '<p>'.($post_id && $post_format != 'xhtml' ?  
    409                          '<a id="convert-xhtml" class="button maximal" href="post.php?id='.$post_id.'&amp;xconv=1">'. 
    410                          __('Convert to XHTML').'</a>' : '').'</p></div>')), 
     408                         '<p class="format_control control_wiki">'. 
     409                         '<a id="convert-xhtml" class="button'.($post_id && $post_format != 'wiki' ? ' hide' : '').'" href="post.php?id='.$post_id.'&amp;xconv=1">'. 
     410                         __('Convert to XHTML').'</a></p></div>')), 
    411411          'metas-box' => array( 
    412412               'title' => __('Ordering'), 
     
    473473           
    474474          "post_content" => 
    475                '<p class="area"><label class="required" '. 
     475               '<p class="area" id="content-area"><label class="required" '. 
    476476               'for="post_content"><abbr title="'.__('Required field').'">*</abbr> '.__('Content:').'</label> '. 
    477477               form::textarea('post_content',50,$core->auth->getOption('edit_size'),html::escapeHTML($post_content)). 
     
    490490 
    491491     echo '<div class="multi-part" title="'.__('Edit page').'" id="edit-entry">'; 
     492     echo '<h3 class="hidden">'.__('Edit page').'</h3>'; 
    492493     echo '<form action="'.html::escapeURL($redir_url).'" method="post" id="entry-form">'; 
    493494 
Note: See TracChangeset for help on using the changeset viewer.

Sites map