Dotclear

Changeset 1621:ee70ba4550a7


Ignore:
Timestamp:
08/30/13 10:45:43 (11 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Page: add New comment button and new comment form in "Comments" tab.
CSS: inputs borders

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • admin/post.php

    r1620 r1621  
    641641      
    642642     if ($has_action) { 
    643           echo '<form action="comments_actions.php" id="form-comments" method="post" class="clear">'; 
    644      } 
    645       
    646      echo '<h3 class="clear">'.__('Trackbacks').'</h3>'; 
     643          echo '<form action="comments_actions.php" id="form-comments" method="post">'; 
     644     } 
     645      
     646     echo '<h3>'.__('Trackbacks').'</h3>'; 
    647647      
    648648     if (!$trackbacks->isEmpty()) { 
  • admin/style/default.css

    r1619 r1621  
    2626     padding: 0; 
    2727} 
     28 
    2829a, a:link, a:visited { 
    2930     color: #2373A8; 
     
    378379} 
    379380#search-menu * { 
    380      height: 20px; /* ie < 9 sucks */ 
    381      height: 2rem; 
     381     height: 22px; /* ie < 9 sucks */ 
     382     height: 2.2rem; 
     383     display: inline-block; 
     384     vertical-align: top; 
     385     line-height: 22px; 
    382386} 
    383387#search-menu p { 
    384      display: inline-block; 
    385388     border: 1px solid #999; 
    386389     border-radius: .3em; 
     
    388391     overflow: hidden; 
    389392} 
    390 #search-menu #qx { 
    391      width: 120px; /* ie < 9 sucks */ 
    392      width: 12rem; 
     393#qx { 
     394     width: 124px; /* ie < 9 sucks */ 
     395     width: 12.4rem; 
    393396     border-bottom-left-radius: .3em; 
    394397     border-top-left-radius: .3em; 
    395398     background: transparent url(search.png) no-repeat 4px center; 
    396399     text-indent: 18px; 
    397      padding: 0 2px; 
     400     padding: 0; 
    398401     border: none; 
     402     height: 22px; 
     403     height: 2.2rem; 
     404} 
     405#qx:focus { 
     406     border: 2px solid #BBDB58; 
    399407} 
    400408#search-menu input[type="submit"] { 
    401409     padding: 0 3px; 
    402410     padding: 0 .3rem; 
     411     margin-left: -4px; 
    403412     background: #dfdfdf; 
    404413     border-color: #999; 
     
    621630     float: right; 
    622631} 
    623 #entry-sidebar input[type="text"], 
    624632#entry-sidebar select { 
    625      width: 14em; /* to prevent inline with label */ 
     633     width: 100%; 
    626634} 
    627635#entry-sidebar input#post_position { 
     
    11811189     margin-top: 2em; 
    11821190} 
     1191p.clear.vertical-separator { 
     1192     padding-top: 2em; 
     1193} 
    11831194.border-top { 
    11841195     border-top: 1px solid #999; 
     
    14181429     background: #f9f9f9; 
    14191430     color: #000; 
    1420      border-width: 1px; 
     1431     border-width: 2px; 
    14211432     border-style: solid; 
    1422      border-color: #666 #ccc #ccc #999; 
     1433     border-color: #ccc #ddd #ddd #ccc;  
     1434} 
     1435select { 
     1436     border-right: none; 
    14231437} 
    14241438input.invalid, textarea.invalid, select.invalid { 
     
    15471561     -webkit-box-sizing: border-box; 
    15481562     -moz-box-sizing: border-box; 
    1549      box-sizing: border-box;   
     1563     box-sizing: border-box; 
    15501564     border: 2px solid #BBDB58; 
    15511565} 
  • admin/style/jsToolBar/jsToolBar.css

    r1618 r1621  
    66} 
    77.jstEditor textarea, .jstEditor iframe { 
    8   margin: 0; 
    9   border: 0; 
    10   padding: 0; 
    11 } 
    12 .jstEditor textarea { 
    138     -webkit-box-sizing: border-box; 
    149     -moz-box-sizing: border-box; 
    1510     box-sizing: border-box;   
     11     margin: 0; 
     12     border: 2px solid #f9f9f9; 
    1613     width: 100%; 
    1714     padding: .5em 0 0 0; 
     
    2623     border-style: solid; 
    2724} 
    28 .jstEditor textarea:focus { 
     25.jstEditor textarea:focus, .jstEditor iframe:focus { 
    2926     border: 2px solid #BBDB58; 
    3027} 
  • admin/user.php

    r1620 r1621  
    206206 
    207207echo 
    208 '<form action="user.php" method="post" id="user-form" class="fieldset">'. 
     208'<form action="user.php" method="post" id="user-form">'. 
    209209'<div class="two-cols">'. 
    210210 
     
    224224 
    225225echo 
    226 '<form action="user.php" method="post" id="user-form">'. 
    227 '<fieldset><legend>'.__('User information').'</legend>'. 
    228 '<div class="two-cols">'. 
    229 '<div class="col">'. 
    230 '<p><label for="user_id" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Username:').' '. 
    231 form::field('user_id',20,255,html::escapeHTML($user_id)). 
    232 '</label></p>'. 
    233 '<p class="form-note">'.__('At least 2 characters using letters, numbers or symbols.').'</p>'. 
    234  
    235226'<div class="pw-table">'. 
    236227     '<p class="pw-cell">'. 
     
    319310 
    320311echo 
    321 '<p class="clear border-top"><label for="your_pwd" class="required">'. 
     312'<p class="clear vertical-separator"><label for="your_pwd" class="required">'. 
    322313'<abbr title="'.__('Required field').'">*</abbr> '.__('Your password:').'</label>'. 
    323314form::password('your_pwd',20,255).'</p>'. 
     
    387378     }  
    388379     else { 
    389           echo '<p>'.sprintf(__('User %s is super admin.'),$user_id).'</p>'; 
     380          echo '<p>'.sprintf(__('%s is super admin (all rights on all blogs).'),'<strong>'.$user_id.'</strong>').'</p>'; 
    390381     }     
    391382     echo '</div>'; 
  • locales/fr/main.po

    r1620 r1621  
    32443244msgstr "Identifiant (login) :" 
    32453245 
     3246msgid "%s is super admin (all rights on all blogs)." 
     3247msgstr "%s est super administrateur (tous les droits sur tous les blogs)." 
     3248 
    32463249msgid "Interface" 
    32473250msgstr "Interface" 
  • plugins/pages/page.php

    r1620 r1621  
    455455                    'post_hide' =>  
    456456                         '<p><label for="post_selected" class="classic">'.form::checkbox('post_selected',1,$post_selected).' '. 
    457                          __('Hide in widget Pages').'</label></p>'. 
     457                         __('Hide in widget Pages').'</label>'. 
    458458                         '</p>', 
    459459                    'post_password' => 
     
    557557      
    558558     echo '</form>'; 
    559      echo '</div>'; 
     559     echo '</div>';      // End  
    560560      
    561561     if ($post_id && !empty($post_media)) 
     
    600600     '<div id="comments" class="multi-part" title="'.__('Comments').'">'; 
    601601      
     602     echo 
     603     '<p class="top-add"><a class="button add onblog_link" href="#comment-form">'.__('Add a comment').'</a></p>'; 
     604 
    602605     if ($has_action) { 
    603606          echo '<form action="comments_actions.php" method="post">'; 
     
    632635          '</form>'; 
    633636     } 
    634       
    635      echo '</div>'; 
    636 } 
    637  
    638 /* Add a comment 
    639 -------------------------------------------------------- */ 
    640 if ($post_id) 
    641 { 
     637          /* Add a comment 
     638     -------------------------------------------------------- */ 
     639 
    642640     echo 
    643      '<div class="multi-part" id="add-comment" title="'.__('Add a comment').'">'. 
     641     '<div class="fieldset clear">'. 
    644642     '<h3>'.__('Add a comment').'</h3>'. 
    645643      
     
    658656     '</p>'. 
    659657      
    660      '<p class="area"><label for="comment_content" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Comment:').'</label> '. 
     658     '<p class="area"><label for="comment_content" class="required"><abbr title="'.__('Required field').'">*</abbr> '. 
     659     __('Comment:').'</label> '. 
    661660     form::textarea('comment_content',50,8,html::escapeHTML('')). 
    662661     '</p>'. 
     
    665664     $core->formNonce(). 
    666665     '<input type="submit" name="add" value="'.__('Save').'" /></p>'. 
    667      '</div>'. 
     666     '</div>'. #constrained 
     667 
    668668     '</form>'. 
    669      '</div>'; 
     669     '</div>'. #add comment 
     670     '</div>'; #comments 
    670671} 
    671672 
Note: See TracChangeset for help on using the changeset viewer.

Sites map