Dotclear

Changeset 2131:a1a18627d23d


Ignore:
Timestamp:
09/22/13 18:39:29 (11 years ago)
Author:
Lepeltier kévin <kevin@…>
Branch:
Ticket #1548
Message:

Ticket #1707 : Merge pécédent mal fait.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r2130 r2131  
    2020#header { 
    2121     background: #676e78; 
    22      position: relative; 
     22     color: #FFF; 
    2323     border-bottom: 4px solid #A2CBE9; 
    2424     width: 100%; 
    25      } 
    26 #wrapper { 
     25     display: table; 
     26     } 
     27#wrapper, #wrapper.with-prelude { 
    2728     position: relative; 
    28      padding-top: 1em; 
    29      overflow: hidden; 
     29     padding-top: 1.5em; 
    3030     float: left; 
    3131     width: 100%; 
    3232     z-index: 10; 
    33      /*background: #f7f7f7 url(bg_wrapper.png) repeat-y 15.5em;*/ 
     33     background: #F7F7F7 url(bg_wrapper.png) repeat-y 15em; 
    3434     } 
    3535.with-js #wrapper { 
     
    3939     width: 100%; 
    4040     float: right; 
    41      margin-left: -15.5em; 
     41     margin-left: -14em; 
    4242     margin-top: 0; 
    4343     } 
    4444#content { 
    45      margin: 0 0 0 15.5em; 
    46      padding: .75em 1em; 
     45     margin: 0 0 0 14em; 
     46     padding: .75em 1.5em .75em 2.5em; 
    4747     background: #fff; 
    4848     } 
     
    6464     border-top: 1px solid #ccc; 
    6565     background-color: #fff; 
    66      } 
    67 #content, #main-menu { /* hauteurs égales */ 
    68      padding-bottom: 200em; 
    69      margin-bottom: -200em; 
    7066     } 
    7167/* to hide main-menu */ 
     
    137133          margin-right: 0; 
    138134          } 
     135     .two-cols table { 
     136          width: 90%; 
     137          } 
    139138/* -------------------------------------------------------------- layout: three-cols */ 
    140139.three-cols { 
     
    201200     } 
    202201/* ---------------------------------------------------------------- layout: popups */ 
    203 .popup #wrapper, .popup #top { 
     202.popup h1 { 
     203     display: block; 
    204204     width: 100%; 
    205      padding: 0; 
    206      } 
    207 .popup h1, .popup #top { 
    208205     margin: 0; 
    209      border-bottom: 1px solid; 
     206     background: #676e78; 
     207     font-size: 1.5em; 
     208     text-indent: 1em; 
     209     line-height: 1.5em; 
    210210     font-weight: normal; 
    211211     color: #fff; 
    212      background: #676e78; 
    213      font-size: 1.5em; 
    214      text-indent: .5em; 
    215      line-height: 1.3em; 
    216212     } 
    217213.popup #wrapper { 
     214     display: block; 
    218215     float: none; 
    219      margin:0; 
    220      display: block; 
    221      } 
    222      .popup #main { 
    223           margin-bottom: 1em 0; 
    224           } 
    225      .popup #content { 
    226           margin: 0; 
    227           padding: .5em 0; 
    228           } 
    229           .popup #content h2 { 
    230                margin: 0 0 1em; 
    231                } 
    232      .popup #footer p { 
    233           border: none; 
    234           } 
     216     width: 100%; 
     217     margin: 0; 
     218     padding: 0; 
     219     background-position: 0 0; 
     220     } 
     221.popup #main { 
     222     margin: 0; 
     223     padding: 0; 
     224     } 
     225.popup #content { 
     226     margin: 0; 
     227     padding: 1em; 
     228     } 
     229.popup #content h2 { 
     230     margin: 0 0 1em 0; 
     231     padding: 0; 
     232     } 
     233.popup #footer p { 
     234     border: none; 
     235     } 
    235236/* -------------------------------------------------------- layout: classes de complément */ 
    236237.constrained { 
     
    301302     /* titre de page */ 
    302303     #content > h2 { 
    303           padding: 0 18px 6px; /* ie < 9 sucks */ 
    304           padding: 0 1.8rem .6rem; 
    305           margin: 0 -18px .5em; /* ie < 9 sucks */ 
    306           margin: 0 -1.8rem 1rem; 
     304          padding: 0 1em .5em 1em; 
     305          margin: 0 -1em .5em -1em; 
    307306          background: #fff url(bg_h2.png) repeat-x center bottom; 
    308307          } 
     
    366365     } 
    367366/* ---------------------------------------------------------------- tableaux */ 
     367.table-outer { 
     368     width: 100%; 
     369     overflow: auto; 
     370     } 
    368371table { 
    369372     font-size: 12px; /* ie < 9 sucks */ 
     
    371374     border-collapse: collapse; 
    372375     margin: 0 0 1em 0; 
     376     width: 100%; 
    373377     } 
    374378caption { 
     
    438442     } 
    439443a:hover, a:active, a:focus { 
    440      text-decoration: underline; 
     444     border-bottom-style: solid; 
    441445     } 
    442446a img, a:link img, a:visited img { 
     
    572576          display: inline-block; 
    573577          } 
    574 a.form-control { 
    575      display: none; 
    576      background: url(../images/expand.png) no-repeat 4px center; 
    577      padding-left: 20px; 
    578      color: #000; 
    579      } 
    580 a.form-control.open { 
    581      background: url(../images/hide.png) no-repeat 4px center; 
    582      } 
    583578.form-note { 
    584579     font-style: italic; 
     
    746741     display: block; 
    747742     padding: 1em 1em .33em 1em; 
     743     margin-bottom: 1em; 
    748744     } 
    749745     .warn, .warning { 
     
    794790               border: 1px solid #F7E07E; 
    795791               } 
    796           .success a, .warning-msg a { 
     792          .success a, .warning-msg a, .info a { 
    797793               color: #333; 
    798794               } 
     
    856852          border-bottom-color: #A2CBE9; 
    857853          } 
    858 /* top (h1) */ 
    859 #top { 
     854/* header global h1, form#top-info-blog, ul#top-info-user */ 
     855#header a { 
     856     color: #FFF; 
     857     } 
     858#header img { 
     859     vertical-align: middle; 
     860     padding-left: .5em; 
     861     } 
     862h1, #top-info-blog, #top-info-user { 
     863     display: table-cell; 
     864     padding: 8px 0; 
    860865     margin: 0; 
    861      padding: 0; 
    862      width: 14.5em; 
    863      float: left; 
    864      } 
    865      h1 { 
    866           padding: 0; 
    867           margin: 0; 
    868           height: 36px; 
    869           text-indent: -1000px; 
    870           } 
    871           h1 a { 
    872                position: absolute; 
    873                top: 0; 
    874                left: 0; 
    875                width: 174px; /* ie < 9 sucks */ 
    876                width: 17.4rem; 
    877                height: 36px; /* ie < 9 sucks */ 
    878                height: 3.6rem; 
    879                color: #fff; 
    880                background: transparent url(dc_logos/b-dotclear120.png) no-repeat 0 6px; 
    881                } 
    882           h1 a:hover, h1 a:focus { 
    883                background-position: 0 -94px; 
    884                } 
    885 /* info-boxes */ 
    886 #info-boxes { 
    887      font-size: 12px; /* ie < 9 sucks */ 
    888      font-size: 1.2rem; 
    889      line-height: 3em; 
    890      } 
    891      #info-boxes a { 
    892           font-weight: bold; 
     866     font-size: 1em; 
     867     vertical-align: top; 
     868     } 
     869/* h1 */ 
     870h1 { 
     871     text-indent: -1000px; 
     872     width: 16.5em; 
     873     } 
     874     h1 a { 
     875          position: absolute; 
     876          top: 0; 
     877          left: 0; 
     878          width: 174px; /* ie < 9 sucks */ 
     879          width: 17.4rem; 
     880          height: 36px; /* ie < 9 sucks */ 
     881          height: 3.6rem; 
    893882          color: #fff; 
    894           border-bottom-color: #ccc; 
    895           margin-left: .3em; 
    896           margin-right: .3em; 
    897           white-space: nowrap; 
    898           font-weight: normal; 
    899           } 
    900      #info-boxes a img { 
    901           vertical-align: middle; 
    902           padding-left: .3em; 
    903           } 
    904      #info-box1 { 
    905           margin: 0; 
    906           padding: 0 3px 0 18px; 
    907           color: #fff; 
    908           display: inline-block; 
    909           } 
    910           #info-box1 p { 
    911                margin: 0; 
    912                display: inline; 
    913                } 
    914           .with-js #info-box1 .hidden-if-js { 
    915                display: none; 
    916                } 
    917           #info-box1 select { 
    918                width: 145px; /* ie < 9 sucks */ 
    919                width: 14.5em; 
    920                } 
    921           #info-box1 a { 
    922                margin-left: 1.33em; 
    923                } 
    924           #info-box1 input[type=submit] { 
    925                background: #000; 
    926                border-color: #999; 
    927                margin-left: .33em;  
    928                } 
    929           #info-box1 input[type=submit]:hover { 
    930                background: #999; 
    931                } 
    932      #info-box2 { 
    933           margin: 0; 
    934           padding: 0 18px 0 0; 
    935           color: #fff; 
    936           float: right; 
    937           text-align: right; 
    938           } 
    939           #info-box2 span { 
    940                color: #999; 
    941                } 
    942           #info-box2 .logout { 
    943                margin-right: 0; 
    944                } 
    945           #info-box2 a.active { 
    946                border-bottom-color: #fff; 
    947                margin: 0; 
    948                padding: 1.2em .5em; 
    949                background-color: #fff; 
    950                color: #333; 
    951                font-weight: bold; 
    952                } 
     883          background: transparent url(dc_logos/b-dotclear120.png) no-repeat 0 6px; 
     884          } 
     885     h1 a:hover, h1 a:focus { 
     886          background-position: 0 -94px; 
     887          } 
     888/* top-info-blog */ 
     889#top-info-blog select { 
     890     max-width: 20em; 
     891     } 
     892.with-js #top-info-blog select, .no-js #top-info-blog input[type=submit] { 
     893     margin-right: 1.33em; 
     894     } 
     895#top-info-blog input[type=submit] { 
     896     background: #000; 
     897     border-color: #999; 
     898     margin-left: .33em;  
     899     } 
     900#top-info-blog input[type=submit]:hover { 
     901     background: #999; 
     902     } 
     903#top-info-blog p { 
     904     display: inline-block; 
     905     margin: 0; 
     906     } 
     907/* top-info-user */ 
     908#top-info-user { 
     909     padding-right: 18px; 
     910     list-style-type: none; 
     911     text-align: right; 
     912     } 
     913#top-info-user li { 
     914     display: inline-block; 
     915     margin-left: .5em; 
     916     padding-left: .5em; 
     917     border-left: 1px solid #999; 
     918     } 
     919#top-info-user li:first-child { 
     920     border-left: none; 
     921     } 
     922#top-info-user a.active { 
     923     border-bottom-color: #fff; 
     924     margin: 0; 
     925     padding: 16px .5em; 
     926     background-color: #fff; 
     927     color: #333; 
     928     font-weight: bold; 
     929     } 
    953930/* ---------------------------------------------------------- MAIN-MENU ELEMENTS */ 
    954931#favorites-menu, #blog-menu, #system-menu, #plugins-menu { 
     
    10301007          } 
    10311008          #qx:focus { 
    1032                border-color: #bee74b; 
     1009               border: 1px solid #bee74b; 
    10331010               } 
    10341011     #search-menu input[type="submit"] { 
     
    11201097     line-height: 3.6rem; 
    11211098     } 
     1099     #help-button.floatable { 
     1100          border-top: 2px solid #ccc; 
     1101          border-left: 2px solid #ccc; 
     1102          border-bottom: 2px solid #ccc; 
     1103          border-bottom-left-radius: 1em; 
     1104          border-top-left-radius: 1em; 
     1105        background-color: #f5f5f5; 
     1106        position: fixed; 
     1107        top: 10px; 
     1108        } 
    11221109     .no-js #help-button { 
    11231110          top: 1em; 
     
    11281115          } 
    11291116     #content.with-help #help-button { 
    1130           right: 282px; /* ie < 9 sucks */ 
     1117          right: 280px; /* ie < 9 sucks */ 
    11311118          right: 28rem; 
    11321119          background-color: #f5f5f5; 
    11331120          position: fixed; 
    1134           top: 54px; 
     1121          top: 50px; 
    11351122          z-index: 100; 
    11361123          border-top: 2px solid #FFD478; 
     
    11481135          } 
    11491136     #content.with-help .help-content { 
    1150           padding: 0 .5em 1em; 
     1137          padding: 0 1em 1em; 
    11511138          } 
    11521139          .help-content dt { 
     
    12661253     } 
    12671254/* ----------------------------------------------------------- BOITES À FILTRES */ 
     1255a.form-control { 
     1256     display: none; 
     1257     background: url(../images/expand.png) no-repeat 4px center; 
     1258     padding-left: 20px; 
     1259     color: #000; 
     1260     } 
     1261a.form-control.open { 
     1262     background: url(../images/hide.png) no-repeat 4px center; 
     1263     } 
    12681264#filters-form { 
    12691265     border: 1px dashed #999; 
     
    13691365     #icons a:hover, 
    13701366     #icons a:focus { 
    1371           border-bottom-width: 0px; 
     1367          border-bottom-width: 0; 
    13721368          text-decoration: none; 
    13731369          } 
     
    13891385                    } 
    13901386               #icons a:focus span, #icons a:hover span { 
    1391                     text-decoration: underline; 
     1387                    border-bottom-style: solid; 
    13921388                    } 
    13931389/* billet rapide */ 
     
    20912087     } 
    20922088/* password indicator */ 
     2089.install .pw-table, .install .pw-cell, .install .pwindicator { 
     2090     display: block; 
     2091     } 
    20932092.pw-table { 
    20942093     display: table; 
     
    23342333/* ------------------------------------------------------------------------------------ 
    23352334                                                                           UN POIL DE MEDIA QUERIES 
    2336 ------------------------------------------------------------------------------------ */ 
     2335------------------------------------------------------------------------------------ 
    23372336@media screen and (max-width: 920px) { 
    23382337     #top, #top h1 a { 
     
    24042403     #info-box1 p.nomobile, label.nomobile { display: none; } 
    24052404     } 
     2405*/ 
  • inc/admin/lib.pager.php

    r2130 r2131  
    5050          $this->form_hidden = ''; 
    5151          foreach ($args as $k=>$v) { 
    52                $this->form_hidden .= form::hidden(array($k),$v); 
     52               if (is_array($v)) { 
     53                    foreach ($v as $k2=>$v2) { 
     54                         $this->form_hidden .= form::hidden(array($k.'[]'),$v2); 
     55                    } 
     56               } else { 
     57                    $this->form_hidden .= form::hidden(array($k),$v); 
     58               } 
    5359          } 
    5460          $this->form_action = $url['path']; 
     
    164170                    } 
    165171               } 
    166                $html_block  = '<table class="clear">'; 
     172               $html_block  =  
     173               '<div class="table-outer">'. 
     174               '<table class="clear">'; 
    167175                
    168176               if( $filter ) { 
     
    180188               '<th scope="col">'.__('Trackbacks').'</th>'. 
    181189               '<th scope="col">'.__('Status').'</th>'. 
    182                '</tr>%s</table>'; 
     190               '</tr>%s</table></div>'; 
    183191                
    184192               if ($enclose_block) { 
     
    284292                
    285293               $html_block = 
    286                '<table class="clear"><caption class="hidden">'.__('Entries list').'</caption><tr>'. 
     294               '<div class="table-outer clear">'. 
     295               '<table><caption class="hidden">'.__('Entries list').'</caption><tr>'. 
    287296               '<th scope="col">'.__('Title').'</th>'. 
    288297               '<th scope="col">'.__('Date').'</th>'. 
    289298               '<th scope="col">'.__('Author').'</th>'. 
    290299               '<th scope="col">'.__('Status').'</th>'. 
    291                '</tr>%s</table>'; 
     300               '</tr>%s</table></div>'; 
    292301                
    293302               if ($enclose_block) { 
     
    375384               $pager = new dcPager($page,$this->rs_count,$nb_per_page,10); 
    376385                
     386               $comments = array(); 
     387               if (isset($_REQUEST['comments'])) { 
     388                    foreach ($_REQUEST['comments'] as $v) { 
     389                         $comments[(integer)$v]=true; 
     390                    } 
     391               }               
    377392               $html_block = 
     393               '<div class="table-outer">'. 
    378394               '<table><caption class="hidden">'.__('Comments and trackbacks list').'</caption><tr>'. 
    379395               '<th colspan="2" scope="col" abbr="comm" class="first">'.__('Type').'</th>'. 
     
    382398               '<th scope="col" class="txt-center">'.__('Status').'</th>'. 
    383399               '<th scope="col" abbr="entry">'.__('Entry title').'</th>'. 
    384                '</tr>%s</table>'; 
     400               '</tr>%s</table></div>'; 
    385401 
    386402               if ($enclose_block) { 
     
    396412               while ($this->rs->fetch()) 
    397413               { 
    398                     echo $this->commentLine(); 
     414                    echo $this->commentLine(isset($comments[$this->rs->comment_id])); 
    399415               } 
    400416                
     
    405421     } 
    406422      
    407      private function commentLine() 
     423     private function commentLine($checked=false) 
    408424     { 
    409425          global $author, $status, $sortby, $order, $nb_per_page; 
     
    484500                
    485501               $html_block = 
    486                '<table class="clear"><caption class="hidden">'.__('Users list').'</caption><tr>'. 
     502               '<div class="table-outer clear">'. 
     503               '<table><caption class="hidden">'.__('Users list').'</caption><tr>'. 
    487504               '<th colspan="2" scope="col" class="first">'.__('Username').'</th>'. 
    488505               '<th scope="col">'.__('First Name').'</th>'. 
     
    490507               '<th scope="col">'.__('Display name').'</th>'. 
    491508               '<th scope="col" class="nowrap">'.__('Entries (all types)').'</th>'. 
    492                '</tr>%s</table>'; 
     509               '</tr>%s</table></div>'; 
    493510                
    494511               if ($enclose_block) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map