Changeset 2390:3b3d86f3529a
- Timestamp:
- 10/16/13 20:58:46 (12 years ago)
- Branch:
- 2.6
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/_charte.php
r2387 r2390 240 240 <p><label for="ex1">Label simple + input text :</label><input id="ex1" type="text" /></p> 241 241 <p class="form-note">p class="form-note".</p> 242 <p><label for="ex2" class="required"><abbr title="'.__('Required field').'">*</abbr> Label class="required" :</label> <input id="ex2" type="text" /></p> 242 <p><label for="ex4" class="classic">Label class="classic" + input text :</label> <input id="ex4" type="text" /></p> 243 <p><label for="ex2" class="required"><abbr title="'.__('Required field').'">*</abbr> Label class="required" :</label> <input id="ex2" type="text" /><span class="form-note">span class="form-note"</span></p> 244 <p><label for="ex11" class="bold">Label class="bold" :</label> <input id="ex11" type="text" /></p> 245 <p class="form-note">La class="bold" est bien sûr à écrire en minuscules.</p> 243 246 <p><label for="ex3">Input class="maximal" :</label> <input id="ex3" type="text" class="maximal" /></p> 244 <p><label for="ex4" class="classic">Label class="classic" :</label> <input id="ex4" type="text" /></p>245 247 </div> 246 248 <div class="col"> … … 253 255 <p><label class="classic" for="ex8-1"><input type="radio" checked="checked" id="ex8-1" value="ex8-1" name="ex8-1" /> 254 256 Bouton radio 1 (label.classic)</label></p> 255 257 <p><label class="classic" for="ex8-2"><input type="radio" id="ex8-2" value="ex8-2" name="ex8-2" /> 256 258 Bouton radio 2 (label.classic)</label></p> 257 <p class="form-note">Les checkboxes et les boutons radio sont dans la balise <label>.</p> 259 <p class="form-note">Les checkboxes et les boutons radio sont dans la balise <label>.</p> 260 <p><label class="classic" for="ex9"><input type="checkbox" 261 checked="checked" id="ex9" value="1" title="intitulé du champ" /></label> <label 262 for="ex10" class="classic">checkbox.classic + label class="classic" :</label> <input id="ex10" type="text" /></p> 258 263 </div> 259 264 </form> … … 540 545 </table> 541 546 </div> 547 548 <p>Test pour Bruno et Michel</p> 549 542 550 </div><!-- /content --> 543 551 </div><!-- /main --> -
admin/post.php
r2385 r2390 452 452 'items' => array( 453 453 'post_status' => 454 '<p class="entry-status"><label for="post_status" class="ib">'.__('Entry status').' '.$img_status.'</label>'.454 '<p class="entry-status"><label for="post_status">'.__('Entry status').' '.$img_status.'</label>'. 455 455 form::combo('post_status',$status_combo,$post_status,'maximal','',!$can_publish). 456 456 '</p>', 457 457 'post_dt' => 458 '<p><label for="post_dt" class="ib">'.__('Publication date and hour').'</label>'.458 '<p><label for="post_dt">'.__('Publication date and hour').'</label>'. 459 459 form::field('post_dt',16,16,$post_dt,($bad_dt ? 'invalid' : '')). 460 460 '</p>', 461 461 'post_lang' => 462 '<p><label for="post_lang" class="ib">'.__('Entry language').'</label>'.462 '<p><label for="post_lang">'.__('Entry language').'</label>'. 463 463 form::combo('post_lang',$lang_combo,$post_lang). 464 464 '</p>', 465 465 'post_format' => 466 466 '<div>'. 467 '<h5 id="label_format"><label for="post_format" class=" ib">'.__('Text formatting').'</label></h5>'.467 '<h5 id="label_format"><label for="post_format" class="classic">'.__('Text formatting').'</label></h5>'. 468 468 '<p>'.form::combo('post_format',$formaters_combo,$post_format,'maximal'). 469 469 '</p>'. … … 522 522 '</div>', 523 523 'post_password' => 524 '<p><label for="post_password" class="ib">'.__('Password').'</label>'.524 '<p><label for="post_password">'.__('Password').'</label>'. 525 525 form::field('post_password',10,32,html::escapeHTML($post_password),'maximal'). 526 526 '</p>', 527 527 'post_url' => 528 528 '<div class="lockable">'. 529 '<p><label for="post_url" class="ib">'.__('Edit basename').'</label>'.529 '<p><label for="post_url">'.__('Edit basename').'</label>'. 530 530 form::field('post_url',10,255,html::escapeHTML($post_url),'maximal'). 531 531 '</p>'. … … 538 538 "post_title" => 539 539 '<p class="col">'. 540 '<label class="required no-margin "><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label>'.540 '<label class="required no-margin bold"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label>'. 541 541 form::field('post_title',20,255,html::escapeHTML($post_title),'maximal'). 542 542 '</p>', 543 543 544 544 "post_excerpt" => 545 '<p class="area" id="excerpt-area"><label for="post_excerpt" >'.__('Excerpt:').' <span class="form-note">'.545 '<p class="area" id="excerpt-area"><label for="post_excerpt" class="bold">'.__('Excerpt:').' <span class="form-note">'. 546 546 __('Introduction to the post.').'</span></label> '. 547 547 form::textarea('post_excerpt',50,5,html::escapeHTML($post_excerpt)). … … 549 549 550 550 "post_content" => 551 '<p class="area" id="content-area"><label class="required " '.551 '<p class="area" id="content-area"><label class="required bold" '. 552 552 'for="post_content"><abbr title="'.__('Required field').'">*</abbr> '.__('Content:').'</label> '. 553 553 form::textarea('post_content',50,$core->auth->getOption('edit_size'),html::escapeHTML($post_content)). … … 555 555 556 556 "post_notes" => 557 '<p class="area" id="notes-area"><label for="post_notes" >'.__('Personal notes:').' <span class="form-note">'.557 '<p class="area" id="notes-area"><label for="post_notes" class="bold">'.__('Personal notes:').' <span class="form-note">'. 558 558 __('Unpublished notes.').'</span></label>'. 559 559 form::textarea('post_notes',50,5,html::escapeHTML($post_notes)). -
admin/style/default.css
r2384 r2390 595 595 font-size: 1.3em; 596 596 } 597 label.bold { 598 text-transform: uppercase; 599 font-weight: bold; 600 margin-top: 2em; 601 } 597 602 label.area, p.area { 598 603 width: inherit !important; … … 2100 2105 width: 16em; 2101 2106 float: right; 2102 }2103 #entry-content label {2104 text-transform: uppercase;2105 font-weight: bold;2106 margin-top: 2em;2107 display: inline-block;2108 }2109 #entry-content label:first-child {2110 margin-top: 0;2111 2107 } 2112 2108 #entry-sidebar h4 { -
plugins/pages/page.php
r2314 r2390 390 390 'items' => array( 391 391 'post_status' => 392 '<p><label for="post_status" class="ib">'.__('Page status').'</label> '.392 '<p><label for="post_status">'.__('Page status').'</label> '. 393 393 form::combo('post_status',$status_combo,$post_status,'','',!$can_publish). 394 394 '</p>', 395 395 'post_dt' => 396 '<p><label for="post_dt" class="ib">'.__('Publication date and hour').'</label>'.396 '<p><label for="post_dt">'.__('Publication date and hour').'</label>'. 397 397 form::field('post_dt',16,16,$post_dt,($bad_dt ? 'invalid' : '')). 398 398 '</p>', 399 399 'post_lang' => 400 '<p><label for="post_lang" class="ib">'.__('Page language').'</label>'.400 '<p><label for="post_lang">'.__('Page language').'</label>'. 401 401 form::combo('post_lang',$lang_combo,$post_lang). 402 402 '</p>', 403 403 'post_format' => 404 404 '<div>'. 405 '<h5 id="label_format"><label for="post_format" class=" ib">'.__('Text formatting').'</label></h5>'.405 '<h5 id="label_format"><label for="post_format" class="classic">'.__('Text formatting').'</label></h5>'. 406 406 '<p>'.form::combo('post_format',$formaters_combo,$post_format,'maximal'). 407 407 '</p>'. … … 447 447 '</p>', 448 448 'post_password' => 449 '<p><label for="post_password" class="ib">'.__('Password').'</label>'.449 '<p><label for="post_password">'.__('Password').'</label>'. 450 450 form::field('post_password',10,32,html::escapeHTML($post_password),'maximal'). 451 451 '</p>', 452 452 'post_url' => 453 453 '<div class="lockable">'. 454 '<p><label for="post_url" class="ib">'.__('Edit basename').'</label>'.454 '<p><label for="post_url">'.__('Edit basename').'</label>'. 455 455 form::field('post_url',10,255,html::escapeHTML($post_url),'maximal'). 456 456 '</p>'. … … 462 462 "post_title" => 463 463 '<p class="col">'. 464 '<label class="required no-margin "><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label>'.464 '<label class="required no-margin bold"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label>'. 465 465 form::field('post_title',20,255,html::escapeHTML($post_title),'maximal'). 466 466 '</p>', 467 467 468 468 "post_excerpt" => 469 '<p class="area" id="excerpt-area"><label for="post_excerpt" >'.__('Excerpt:').' <span class="form-note">'.469 '<p class="area" id="excerpt-area"><label for="post_excerpt" class="bold">'.__('Excerpt:').' <span class="form-note">'. 470 470 __('Introduction to the page.').'</span></label> '. 471 471 form::textarea('post_excerpt',50,5,html::escapeHTML($post_excerpt)). … … 473 473 474 474 "post_content" => 475 '<p class="area" id="content-area"><label class="required " '.475 '<p class="area" id="content-area"><label class="required bold" '. 476 476 'for="post_content"><abbr title="'.__('Required field').'">*</abbr> '.__('Content:').'</label> '. 477 477 form::textarea('post_content',50,$core->auth->getOption('edit_size'),html::escapeHTML($post_content)). … … 479 479 480 480 "post_notes" => 481 '<p class="area" id="notes-area"><label for="post_notes" >'.__('Personal notes:').' <span class="form-note">'.481 '<p class="area" id="notes-area"><label for="post_notes" class="bold">'.__('Personal notes:').' <span class="form-note">'. 482 482 __('Unpublished notes.').'</span></label>'. 483 483 form::textarea('post_notes',50,5,html::escapeHTML($post_notes)).
Note: See TracChangeset
for help on using the changeset viewer.