Dotclear

Changeset 74:8491a85d7c5b


Ignore:
Timestamp:
05/01/11 08:28:21 (14 years ago)
Author:
kozlika
Branch:
userprefs
Message:

Formulaires des plugins de la distrib, étape 1. NOTE : le plugin Blogroll mériterait d'être amélioré…

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r71 r74  
    305305} 
    306306#dashboard-main #quick p.qinfo { 
    307      margin: -1em -1em 1em; 
    308      padding: 1em; 
    309      background: #ebeadd; 
     307     margin: -.7em -1em 1em; 
     308     background: #eef url(info.png) no-repeat .2em .2em; 
     309     border: 1px solid #99f; 
     310     padding: .2em 1em .1em 24px; 
     311     color: #666; 
    310312} 
    311313 
     
    10671069} 
    10681070p.form-note { 
    1069      margin-top: -1em; 
    1070      color: #5A0094; 
    1071      font-style: italic; 
    10721071     font-style:normal; 
    10731072     background: #eef url(info.png) no-repeat .2em .2em; 
     
    10771076     color: #666; 
    10781077} 
     1078.form-note a {border-bottom: 1px solid #99f;} 
    10791079 
    10801080label.classic { 
     
    10971097} 
    10981098label.required abbr { 
    1099      color: red; 
     1099     color: #dd0000; 
    11001100     font-size: 1.3em; 
    11011101} 
     
    11581158     width: 100%; 
    11591159} 
    1160  
    1161 #login-screen #safe_mode_help { 
    1162      display : none; 
    1163      margin : 0 0 1em 0; 
    1164      padding: 5px 10px 5px 30px; 
    1165      background: #fbfbfb url(msg-std.png) no-repeat 5px 5px; 
    1166      border: 1px solid #999; 
    1167      -moz-border-radius: 4px; 
    1168      -webkit-border-radius: 4px; 
     1160#login-screen #issue { 
     1161     margin-left: .5em; 
    11691162} 
    11701163 
  • plugins/aboutConfig/index.php

    r0 r74  
    8888  <?php echo dcPage::jsPageTabs($part); ?> 
    8989  <style type="text/css"> 
    90   .ns-name { background: #ccc; color: #000; padding-top: 0.3em; padding-bottom: 0.3em; font-size: 1.1em; } 
     90  .ns-name { background: #dfdfdf; color: #333; padding-top: 0.3em; padding-bottom: 0.3em; font-size: 1.1em; } 
    9191  </style> 
    9292</head> 
  • plugins/akismet/class.dc.filter.akismet.php

    r0 r74  
    137137          $res = 
    138138          '<form action="'.html::escapeURL($url).'" method="post">'. 
    139           '<p><label class="classic">'.__('Akismet API key:').' '. 
     139          '<p><label for="ak_key" class="classic">'.__('Akismet API key:').' '. 
    140140          form::field('ak_key',12,128,$ak_key).'</label>'; 
    141141           
  • plugins/antispam/_admin.php

    r3 r74  
    4545          echo 
    4646          '<fieldset><legend>Antispam</legend>'. 
    47           '<p><label class="classic">'.__('Delete junk comments older than').' '. 
     47          '<p><label for="antispam_moderation_ttl" class="classic">'.__('Delete junk comments older than').' '. 
    4848          form::field('antispam_moderation_ttl', 3, 3, $ttl). 
    4949          ' '.__('days'). 
  • plugins/blogroll/edit.php

    r3 r74  
    108108     '<fieldset><legend>'.__('Edit category').'</legend>'. 
    109109      
    110      '<p><label class="required classic" title="'.__('Required field').'">'.__('Title:').' '. 
     110     '<p><label for="link_desc" class="required classic"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').' '. 
    111111     form::field('link_desc',30,255,html::escapeHTML($link_desc)).'</label> '. 
    112112      
     
    128128     '<fieldset class="two-cols"><legend>'.__('Edit link').'</legend>'. 
    129129      
    130      '<p class="col"><label class="required" title="'.__('Required field').'">'.__('Title:').' '. 
     130     '<p class="col"><label for="link_title" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').' '. 
    131131     form::field('link_title',30,255,html::escapeHTML($link_title)).'</label></p>'. 
    132132      
    133      '<p class="col"><label class="required" title="'.__('Required field').'">'.__('URL:').' '. 
     133     '<p class="col"><label for="link_href" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('URL:').' '. 
    134134     form::field('link_href',30,255,html::escapeHTML($link_href)).'</label></p>'. 
    135135      
    136      '<p class="col"><label>'.__('Description:').' '. 
     136     '<p class="col"><label for="link_desc">'.__('Description:').' '. 
    137137     form::field('link_desc',30,255,html::escapeHTML($link_desc)).'</label></p>'. 
    138138      
    139      '<p class="col"><label>'.__('Language:').' '. 
     139     '<p class="col"><label for="link_lang">'.__('Language:').' '. 
    140140     form::field('link_lang',5,5,html::escapeHTML($link_lang)).'</label></p>'. 
    141141      
  • plugins/blogroll/index.php

    r3 r74  
    252252     echo 
    253253     '<tr class="line" id="l_'.$rs->link_id.'">'. 
    254      '<td class="handle minimal">'.form::field(array('order['.$rs->link_id.']'),2,5,$position).'</td>'. 
    255      '<td class="minimal">'.form::checkbox(array('remove[]'),$rs->link_id).'</td>'; 
     254     '<td class="handle minimal">'.form::field(array('order['.$rs->link_id.']'),2,5,$position,'','',false,'title="'.__('position').'"').'</td>'. 
     255     '<td class="minimal">'.form::checkbox(array('remove[]'),$rs->link_id,'','','',false,'title="'.__('select this link').'"').'</td>'; 
    256256      
    257257      
     
    304304'<form action="plugin.php" method="post" id="add-link-form">'. 
    305305'<fieldset class="two-cols"><legend>'.__('Add a new link').'</legend>'. 
    306 '<p class="col"><label class="required" title="'.__('Required field').'">'.__('Title:').' '. 
     306'<p class="col"><label for="link_title" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').' '. 
    307307form::field('link_title',30,255,$link_title,'',2). 
    308308'</label></p>'. 
    309309 
    310 '<p class="col"><label class="required" title="'.__('Required field').'">'.__('URL:').' '. 
     310'<p class="col"><label for="link_href" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('URL:').' '. 
    311311form::field('link_href',30,255,$link_href,'',3). 
    312312'</label></p>'. 
    313313 
    314 '<p class="col"><label>'.__('Description:').' '. 
     314'<p class="col"><label for="link_desc">'.__('Description:').' '. 
    315315form::field('link_desc',30,255,$link_desc,'',4). 
    316316'</label></p>'. 
    317317 
    318 '<p class="col"><label>'.__('Language:').' '. 
     318'<p class="col"><label for="link_lang">'.__('Language:').' '. 
    319319form::field('link_lang',5,5,$link_lang,'',5). 
    320320'</label></p>'. 
     
    330330'<form action="plugin.php" method="post" id="add-category-form">'. 
    331331'<fieldset><legend>'.__('Add a new category').'</legend>'. 
    332 '<p><label class=" classic required" title="'.__('Required field').'">'.__('Title:').' '. 
     332'<p><label for="cat_title" class=" classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').' '. 
    333333form::field('cat_title',30,255,$cat_title,'',7).'</label> '. 
    334334form::hidden(array('p'),'blogroll'). 
     
    345345     '<form action="plugin.php" method="post" id="import-links-form" enctype="multipart/form-data">'. 
    346346     '<fieldset><legend>'.__('Import links').'</legend>'. 
    347      '<p><label class=" classic required" title="'.__('Required field').'">'.__('OPML or XBEL File:').' '. 
    348      '<input type="file" name="links_file" /></label></p>'. 
     347     '<p><label for="links_file" class=" classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('OPML or XBEL File:').' '. 
     348     '<input type="file" id="links_file" name="links_file" /></label></p>'. 
    349349     '<p>'.form::hidden(array('p'),'blogroll'). 
    350350     $core->formNonce(). 
Note: See TracChangeset for help on using the changeset viewer.

Sites map