Dotclear


Ignore:
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • admin/_charte.html

    r1749 r1760  
    1515     <style type="text/css"> 
    1616          #content > h2 {padding-top: 2.5em;} 
    17           #content > h3, #content > h4 {padding-top: 2em; color: #d30e70;} 
    18           #content > h2:first-child {padding-top: 0;} 
     17          #content > h2:first-child {padding-top: 0} 
    1918          .one-box .box {border: 1px solid #ddd; padding: 2px .5em;} 
    2019     </style> 
  • admin/categories.php

    r1741 r1760  
    168168     '<p class="col checkboxes-helpers"></p>'. 
    169169     '<p class="col right" id="mov-cat">'. 
    170      '<label for="mov_cat" class="classic">'.__('Category which will receive entries of deleted categories:').'</label> '. 
     170     '<label for="mov_cat" class="classic">'.__('Category where entries of deleted categories will be moved:').'</label> '. 
    171171     form::combo('mov_cat',$categories_combo,'',''). 
    172172     '</p>'. 
     
    176176     '</div>'; 
    177177 
    178      echo '<h3 class="clear hidden-if-no-js">'.__('Categories order').'</h3>'; 
     178     echo '<div class="fieldset"><h3 class="clear hidden-if-no-js">'.__('Categories order').'</h3>'; 
    179179 
    180180     if ($core->auth->check('categories',$core->blog->id) && $rs->count()>1) { 
     
    194194     '<p class="hidden-if-no-js"><input type="submit" name="reset" value="'.__('Reorder all categories on the top level').'" />'. 
    195195     $core->formNonce().'</p>'. 
    196      '</form>'; 
     196     '</div></form>'; 
    197197} 
    198198 
  • admin/install/index.php

    r1620 r1765  
    208208               'images/menu/edit.png','images/menu/edit-b.png', 
    209209               'usage,contentadmin',null,'menu-new-post'); 
    210           $init_fav['posts'] = array('posts','Entries','posts.php', 
    211                'images/menu/entries.png','images/menu/entries-b.png', 
    212                'usage,contentadmin',null,null); 
    213           $init_fav['comments'] = array('comments','Comments','comments.php', 
    214                'images/menu/comments.png','images/menu/comments-b.png', 
    215                'usage,contentadmin',null,null); 
    216           $init_fav['prefs'] = array('prefs','My preferences','preferences.php', 
    217                'images/menu/user-pref.png','images/menu/user-pref-b.png', 
    218                '*',null,null); 
    219           $init_fav['blog_pref'] = array('blog_pref','Blog settings','blog_pref.php', 
    220                'images/menu/blog-pref.png','images/menu/blog-pref-b.png', 
     210          $init_fav['newpage'] = array('newpage','New page','plugin.php?p=pages&amp;act=page', 
     211               'index.php?pf=pages/icon-np.png','index.php?pf=pages/icon-np-big.png', 
     212               'contentadmin,pages',null,null); 
     213          $init_fav['media'] = array('media','Media manager','media.php', 
     214               'images/menu/media.png','images/menu/media-b.png', 
     215               'media,media_admin',null,null); 
     216          $init_fav['widgets'] = array('widgets','Presentation widgets','plugin.php?p=widgets', 
     217               'index.php?pf=widgets/icon.png','index.php?pf=widgets/icon-big.png', 
    221218               'admin',null,null); 
    222219          $init_fav['blog_theme'] = array('blog_theme','Blog appearance','blog_theme.php', 
    223220               'images/menu/themes.png','images/menu/blog-theme-b.png', 
    224221               'admin',null,null); 
    225  
    226           $init_fav['pages'] = array('pages','Pages','plugin.php?p=pages', 
    227                'index.php?pf=pages/icon.png','index.php?pf=pages/icon-big.png', 
    228                'contentadmin,pages',null,null); 
    229           $init_fav['blogroll'] = array('blogroll','Blogroll','plugin.php?p=blogroll', 
    230                'index.php?pf=blogroll/icon-small.png','index.php?pf=blogroll/icon.png', 
    231                'usage,contentadmin',null,null); 
    232222 
    233223          $count = 0; 
  • admin/js/_preferences-dragdrop.js

    r160 r1766  
    11$(function() { 
    22     $("#my-favs ul").sortable({'cursor':'move'}); 
    3      $("#my-favs ul").hover(function () { 
    4           $(this).css({'cursor':'move'}); 
    5      }, function () { 
    6           $(this).css({'cursor':'auto'}); 
    7      }); 
     3     $("#my-favs ul, #my-favs ul *").css({'cursor':'move'}); 
    84     $('#favs-form').submit(function() { 
    95          var order=[]; 
  • admin/js/common.js

    r1818 r1827  
    244244                    imgE.style.position = 'absolute'; 
    245245                    imgE.style.top = '1.7em'; 
    246                     imgE.style.left = ($(this).width()+4)+'px'; 
     246                    imgE.style.left = ($(this).width()+12)+'px'; 
    247247                    imgE.alt=dotclear.msg.click_to_unlock; 
    248248                    $(imgE).css('cursor','pointer'); 
     
    382382     $('#help').helpViewer(); 
    383383 
    384      $('.message').backgroundFade({sColor:'#cccccc',eColor:'#666666',steps:20}); 
     384     $('.message').backgroundFade({sColor:'#cccccc',eColor:'#676e78',steps:20}); 
    385385     $('.error').backgroundFade({sColor:'#ffdec8',eColor:'#ffbaba',steps:20}); 
    386386     $('.success').backgroundFade({sColor:'#9BCA1C',eColor:'#bee74b',steps:20}); 
  • admin/js/jquery/jquery.pageTabs.js

    r1737 r1758  
    7878          var i = 0; 
    7979          var to_trigger = null; 
     80          var exists = false; 
    8081 
    8182          this.divs.each(function() { 
    8283               if ((this.id != '' && this.id == index) || i == index) { 
    83                     jQuery(this).show(0); 
    84                     This.items[i].className = This.params.listClassName+'-active'; 
    85                     to_trigger = i; 
    86                } else { 
    87                     jQuery(this).hide(0); 
    88                     This.items[i].className = ''; 
     84                    exists = true; 
    8985               } 
    90  
    9186               i++; 
    9287          }); 
     88           
     89          i = 0; 
     90           
     91          if( exists ) { 
     92               this.divs.each(function() { 
     93                    if ((this.id != '' && this.id == index) || i == index) { 
     94                         jQuery(this).show(0); 
     95                         This.items[i].className = This.params.listClassName+'-active'; 
     96                         to_trigger = i; 
     97                    } else { 
     98                         jQuery(this).hide(0); 
     99                         This.items[i].className = ''; 
     100                    } 
     101      
     102                    i++; 
     103               }); 
     104          } 
    93105 
    94106          if (to_trigger != null) { 
  • admin/js/jsToolBar/jsToolBar.js

    r1755 r1759  
    167167     space: function(toolName) { 
    168168          var tool = new jsSpace(toolName); 
    169           if (!this.elements[toolName].format[this.mode]) return null; 
     169          if (this.elements[toolName].format != undefined && !this.elements[toolName].format[this.mode]) return null; 
    170170          if (this.elements[toolName].width !== undefined) { 
    171171               tool.width = this.elements[toolName].width; 
  • admin/media.php

    r1725 r1760  
    348348     echo  
    349349     '<h3 class="hidden">'.sprintf(__('In %s:'),($d == '' ? '“'.__('Media manager').'”' : '“'.$d.'”')).'</h3>'. 
    350      '<div class="media-action-box">'; 
     350     '<div class="two-boxes odd fieldset">'; 
    351351      
    352352     if ($user_ui_enhanceduploader) { 
     
    404404if ($core_media_writable || $core_media_archivable) { 
    405405 
    406      echo '<div class="media-action-box">'; 
     406     echo '<div class="two-boxes even fieldset">'; 
    407407 
    408408     # Create directory 
     
    428428          '<h4>'.__('Backup content').'</h4>'. 
    429429          '<p>'.__('Compress this directory with its content as a zip file and download it.').'</p>'. 
    430           '<p><a class="submit" href="'.html::escapeURL($page_url).'&amp;zipdl=1">'. 
     430          '<p><a class="button submit" href="'.html::escapeURL($page_url).'&amp;zipdl=1">'. 
    431431          __('Download').'</a></p>'; 
    432432     } 
  • admin/preferences.php

    r1726 r1764  
    4747 
    4848if (!empty($_GET['append']) || !empty($_GET['removed']) || !empty($_GET['neworder']) ||  
    49      !empty($_GET['replaced']) || !empty($_POST['appendaction']) || !empty($_POST['removeaction'])) { 
     49     !empty($_GET['replaced']) || !empty($_POST['appendaction']) || !empty($_POST['removeaction']) ||  
     50     !empty($_GET['db-updated'])) { 
    5051     $default_tab = 'user-favorites'; 
    5152} elseif (!empty($_GET['updated'])) { 
     
    178179           
    179180          http::redirect('preferences.php?updated=1'); 
     181     } 
     182     catch (Exception $e) 
     183     { 
     184          $core->error->add($e->getMessage()); 
     185     } 
     186} 
     187 
     188# Dashboard options 
     189if (isset($_POST['db-options'])) { 
     190     try 
     191     { 
     192          # --BEHAVIOR-- adminBeforeUserOptionsUpdate 
     193          $core->callBehavior('adminBeforeDashboardOptionsUpdate',$core->auth->userID()); 
     194           
     195          # Update user prefs 
     196          $core->auth->user_prefs->dashboard->put('doclinks',!empty($_POST['user_dm_doclinks']),'boolean'); 
     197          $core->auth->user_prefs->dashboard->put('dcnews',!empty($_POST['user_dm_dcnews']),'boolean'); 
     198          $core->auth->user_prefs->dashboard->put('quickentry',!empty($_POST['user_dm_quickentry']),'boolean'); 
     199          $core->auth->user_prefs->interface->put('iconset',(!empty($_POST['user_ui_iconset']) ? $_POST['user_ui_iconset'] : '')); 
     200          $core->auth->user_prefs->interface->put('nofavmenu',empty($_POST['user_ui_nofavmenu']),'boolean'); 
     201           
     202          # --BEHAVIOR-- adminAfterUserOptionsUpdate 
     203          $core->callBehavior('adminAfterDashboardOptionsUpdate',$core->auth->userID()); 
     204           
     205          http::redirect('preferences.php?db-updated=1'); 
    180206     } 
    181207     catch (Exception $e) 
     
    369395     dcPage::success(__('Personal options has been successfully updated.')); 
    370396} 
     397if (!empty($_GET['db-updated'])) { 
     398     dcPage::success(__('Dashboard options has been successfully updated.')); 
     399} 
    371400if (!empty($_GET['append'])) { 
    372401     dcPage::success(__('Favorites have been successfully added.')); 
     
    501530 
    502531echo 
    503 '</div>'. 
    504  
    505 '<div class="col">'. 
    506 '<h4>'.__('Dashboard and menu').'</h4>'. 
    507  
    508 '<p><label for="user_ui_nofavmenu" class="classic">'. 
    509 form::checkbox('user_ui_nofavmenu',1,$user_ui_nofavmenu).' '. 
    510 __('Hide My favorites menu').'</label></p>'; 
    511  
    512 if (count($iconsets_combo) > 1) { 
    513      echo  
    514           '<p><label for="user_ui_iconset" class="classic">'.__('Iconset:').'</label> '. 
    515           form::combo('user_ui_iconset',$iconsets_combo,$user_ui_iconset).'</p>'; 
    516 } else { 
    517      form::hidden('user_ui_iconset',''); 
    518 } 
    519  
    520 echo 
    521 '<h5>'.('Dashboard modules').'</h5>'. 
    522  
    523 '<p><label for="user_dm_doclinks" class="classic">'. 
    524 form::checkbox('user_dm_doclinks',1,$user_dm_doclinks).' '. 
    525 __('Display documentation links').'</label></p>'. 
    526  
    527 '<p><label for="user_dm_dcnews" class="classic">'. 
    528 form::checkbox('user_dm_dcnews',1,$user_dm_dcnews).' '. 
    529 __('Display Dotclear news').'</label></p>'. 
    530  
    531 '<p><label for="user_dm_quickentry" class="classic">'. 
    532 form::checkbox('user_dm_quickentry',1,$user_dm_quickentry).' '. 
    533 __('Display quick entry form').'</label><br class="clear" />'. //Opera sucks 
    534 '</p>'; 
    535  
    536 echo 
    537 '</div>'. 
    538532'</div>'; 
    539533 
    540534echo 
    541 '<p class="clear border-top">'. 
     535'</div>'; 
     536 
     537echo 
     538'<p class="clear">'. 
    542539$core->formNonce(). 
    543540'<input type="submit" accesskey="s" value="'.__('Save my options').'" /></p>'. 
     
    546543echo '</div>'; 
    547544 
    548 # User favorites 
    549 echo '<div class="multi-part" id="user-favorites" title="'.__('My favorites').'">'; 
     545# My dashboard 
     546echo '<div class="multi-part" id="user-favorites" title="'.__('My dashboard').'">'; 
    550547$ws = $core->auth->user_prefs->addWorkspace('favorites'); 
    551 echo '<form action="preferences.php" method="post" id="favs-form">'; 
    552 echo '<div class="two-cols">'; 
    553  
    554 echo '<div class="col70">'; 
    555 echo '<div id="my-favs" class="fieldset"><h3>'.__('My favorites').'</h3>'; 
     548echo '<h3 class="hidden-if-js">'.__('Mon tableau de bord').'</h3>'; 
     549 
     550echo '<form action="preferences.php" method="post" id="favs-form" class="two-boxes">'; 
     551 
     552echo '<div id="my-favs" class="fieldset"><h4>'.__('My favorites').'</h4>'; 
    556553 
    557554$count = 0; 
     
    561558          $fav = unserialize($v['value']); 
    562559          if (($fav['permissions'] == '*') || $core->auth->check($fav['permissions'],$core->blog->id)) { 
    563                if ($count == 0) echo '<ul>'; 
     560               if ($count == 0) echo '<ul class="fav-list">'; 
    564561               $count++; 
    565                echo '<li id="fu-'.$k.'">'. 
    566                     '<img src="'.dc_admin_icon_url($fav['large-icon']).'" alt="" /> '. 
     562               echo '<li id="fu-'.$k.'">'.'<label for="fuk-'.$k.'">'. 
     563                    '<img src="'.dc_admin_icon_url($fav['small-icon']).'" alt="" /> '.'<span class="zoom"><img src="'.dc_admin_icon_url($fav['large-icon']).'" alt="" /></span>'. 
    567564                    form::field(array('order['.$k.']'),2,3,$count,'position','',false,'title="'.sprintf(__('position of %s'),$fav['title']).'"'). 
    568565                    form::hidden(array('dynorder[]','dynorder-'.$k.''),$k). 
    569                     '<label for="fuk-'.$k.'">'.form::checkbox(array('remove[]','fuk-'.$k),$k).__($fav['title']).'</label>'. 
     566                    form::checkbox(array('remove[]','fuk-'.$k),$k).__($fav['title']).'</label>'. 
    570567                    '</li>'; 
    571568          } 
     
    587584     ($core->auth->isSuperAdmin() ?  
    588585          '<hr />'. 
    589           '<p>'.__('If you are a super administrator, you may define this set of favorites to be used by default on all blogs of this installation:').'</p>'. 
     586          '<div class="info">'. 
     587          '<p>'.__('If you are a super administrator, you may define this set of favorites to be used by default on all blogs of this installation.').'</p>'. 
    590588          '<p><input class="reset" type="submit" name="replace" value="'.__('Define as default favorites').'" />' :  
    591589          ''). 
    592590          '</p>'. 
     591          '</div>'. 
    593592     '</div>'; 
    594593} else { 
     
    597596} 
    598597 
    599 echo '</div>'; 
    600  
     598/* 
    601599echo '<div id="default-favs"><h3>'.__('Default favorites').'</h3>'; 
    602600echo '<p>'.__('Those favorites are displayed when My Favorites list is empty.').'</p>'; 
     
    616614if ($count > 0) echo '</ul>'; 
    617615echo '</div>'; 
    618 echo '</div>'; 
    619  
    620  
    621 echo '<div class="col30 fieldset" id="available-favs">'; 
    622 # Available favorites 
    623 echo '<h3>'.__('Available favorites').'</h3>'; 
     616*/ 
     617 
     618echo '</div>'; # /box my-fav 
     619 
     620echo '<div class="fieldset" id="available-favs">'; 
     621# Available favorites ------------------------------------- Ici, si possible afficher plutôt les Autres favoris disponibles 
     622echo '<h5>'.__('Available favorites').'</h5>'; 
    624623$count = 0; 
    625624$array = $_fav; 
     
    637636          $count++; 
    638637          echo '<li id="fa-'.$fav[0].'">'.'<label for="fak-'.$fav[0].'">'. 
     638               '<img src="'.dc_admin_icon_url($fav[3]).'" alt="" /> '. 
     639               '<span class="zoom"><img src="'.dc_admin_icon_url($fav[4]).'" alt="" /></span>'. 
    639640               form::checkbox(array('append[]','fak-'.$fav[0]),$k). 
    640                '<img src="'.dc_admin_icon_url($fav[3]).'" alt="" /> '.'<span class="zoom"><img src="'.dc_admin_icon_url($fav[4]).'" alt="" /></span>'. 
    641641               __($fav[1]).'</label>'.'</li>'; 
    642642     } 
     
    647647$core->formNonce(). 
    648648'<input type="submit" name="appendaction" value="'.__('Add to my favorites').'" /></p>'; 
     649echo '</div>'; # /available favorites 
     650 
     651echo '</form>'; 
     652 
     653echo 
     654'<form action="preferences.php" method="post" id="db-forms" class="two-boxes even">'. 
     655 
     656'<div class="fieldset">'. 
     657'<h4 class="smart-title">'.__('Menu').'</h4>'. 
     658'<p><label for="user_ui_nofavmenu" class="classic">'. 
     659form::checkbox('user_ui_nofavmenu',1,!$user_ui_nofavmenu).' '. 
     660__('Display favorites at the top of the menu').'</label></p></div>'; 
     661 
     662if (count($iconsets_combo) > 1) { 
     663     echo  
     664          '<div class="fieldset">'. 
     665          '<h4 class="smart-title">'.__('Dashboard icons').'</h4>'. 
     666          '<p><label for="user_ui_iconset" class="classic">'.__('Iconset:').'</label> '. 
     667          form::combo('user_ui_iconset',$iconsets_combo,$user_ui_iconset).'</p>'. 
     668          '</div>'; 
     669} else { 
     670     form::hidden('user_ui_iconset',''); 
     671} 
     672 
     673echo 
     674'<div class="fieldset">'. 
     675'<h4 class="smart-title">'.__('Dashboard modules').'</h4>'. 
     676 
     677'<p><label for="user_dm_doclinks" class="classic">'. 
     678form::checkbox('user_dm_doclinks',1,$user_dm_doclinks).' '. 
     679__('Display documentation links').'</label></p>'. 
     680 
     681'<p><label for="user_dm_dcnews" class="classic">'. 
     682form::checkbox('user_dm_dcnews',1,$user_dm_dcnews).' '. 
     683__('Display Dotclear news').'</label></p>'. 
     684 
     685'<p><label for="user_dm_quickentry" class="classic">'. 
     686form::checkbox('user_dm_quickentry',1,$user_dm_quickentry).' '. 
     687__('Display quick entry form').'</label><br class="clear" />'. //Opera sucks 
     688'</p>'; 
    649689echo '</div>'; 
    650690 
    651  
    652 echo '</div>'; # Two-cols 
    653 echo '</form>'; 
    654 echo '</div>'; # user-favorites 
     691# --BEHAVIOR-- adminDashboardOptionsForm 
     692$core->callBehavior('adminDashboardOptionsForm',$core); 
     693 
     694echo 
     695'<p>'. 
     696form::hidden('db-options','-'). 
     697$core->formNonce(). 
     698'<input type="submit" accesskey="s" value="'.__('Save my dashboard options').'" /></p>'. 
     699'</form>'; 
     700 
     701echo '</div>'; # /multipart-user-favorites 
    655702 
    656703dcPage::helpBlock('core_user_pref'); 
  • admin/style/default.css

    r1823 r1827  
    108108     display: inline-block; 
    109109     vertical-align: top; 
     110     -moz-box-sizing: border-box;  
     111     -webkit-box-sizing: border-box;  
     112     box-sizing: border-box; 
    110113     } 
    111114     .two-boxes:first-child, .two-boxes.odd, .two-boxes.odd:last-child { 
     
    121124     margin-left: 2.5%; 
    122125     margin-right: 2.5%;  
     126     -moz-box-sizing: border-box;  
     127     -webkit-box-sizing: border-box;  
     128     box-sizing: border-box; 
    123129     } 
    124130     .three-boxes:first-child { 
     
    139145     } 
    140146/* ---------------------------------------------------------------- layout: popups */ 
    141 body.popup #wrapper, body.popup #top { 
     147.popup #wrapper, .popup #top { 
    142148     width: 100%; 
    143149     padding: 0; 
    144 } 
    145 body.popup #wrapper { 
    146      float: none; 
    147      margin:0; 
    148      display: block; 
    149 } 
    150 body.popup h1, body.popup #top { 
     150     } 
     151.popup h1, .popup #top { 
    151152     margin: 0; 
    152153     border-bottom: 1px solid; 
     
    157158     text-indent: .5em; 
    158159     line-height: 1.3em; 
    159 } 
    160 body.popup #main { 
    161      margin-bottom: 1em 0; 
    162 } 
    163 body.popup #content { 
    164      margin: 0; 
    165      padding: .5em 0; 
    166 } 
    167 body.popup #content h2 { 
    168      margin: 0 0 1em; 
    169 } 
    170 body.popup #footer p { 
    171      border: none; 
    172 } 
    173 /* ------------------------------------------------------------- layout: compléments */ 
     160     } 
     161.popup #wrapper { 
     162     float: none; 
     163     margin:0; 
     164     display: block; 
     165     } 
     166     .popup #main { 
     167          margin-bottom: 1em 0; 
     168          } 
     169     .popup #content { 
     170          margin: 0; 
     171          padding: .5em 0; 
     172          } 
     173          .popup #content h2 { 
     174               margin: 0 0 1em; 
     175               } 
     176     .popup #footer p { 
     177          border: none; 
     178          } 
     179/* -------------------------------------------------------- layout: classes de complément */ 
    174180.constrained { 
    175181     margin: 0; 
     
    204210     } 
    205211.frame-shrink { 
    206      border: 1px solid #666; 
     212     border: 1px solid #676e78; 
    207213     padding: 0.5em; 
    208214     margin-bottom: 1em; 
     
    232238     } 
    233239h2 { 
    234      color: #666; 
     240     color: #676e78; 
    235241     font-size: 18px; /* ie < 9 sucks */ 
    236242     font-size: 1.8rem; 
     
    259265h3, .as_h3 { 
    260266     margin-top: 1em; 
    261      color: #676e78; 
     267     color: #D33800; 
     268     font-weight: normal; 
    262269     font-size: 16px; /* ie < 9 sucks */ 
    263270     font-size: 1.6rem; 
    264271     } 
     272     h3:first-child {margin-top: 0;} 
    265273h4, as_h4 { 
    266274     font-size: 14px; /* ie < 9 sucks */ 
     
    268276     color: #676e78; 
    269277     } 
    270      .smart-title, .box h3, .media-action-box h4 { /* pour les h3 ou les h4 titres de boîtes */ 
     278     .smart-title, .box h3, .fieldset h3, .fieldset h4 { /* pour les h3 ou les h4 titres de boîtes */ 
    271279          font-size: 1em; 
    272280          text-transform: uppercase; 
     
    275283          text-shadow: 0 1px 0 rgba(200, 200, 200, 0.6) 
    276284          } 
     285     h4 label, h5 label {color: #333;} 
    277286h5 { 
    278287     font-size: 12px; /* ie < 9 sucks */ 
    279288     font-size: 1.2rem; 
     289     font-weight: bold; 
    280290     color: #676e78; 
    281291     } 
     
    384394     } 
    385395legend { 
    386      font-weight: bold; 
    387396     padding: 0.2em 0.6em; 
    388397     border-width: 1px; 
    389398     border-style: solid; 
    390      border-color: #333; 
     399     border-color: #676e78; 
    391400     background: #fff; 
    392401     margin-bottom: 0.5em; 
     
    502511     font-style: italic; 
    503512     font-weight: normal; 
    504      color: #666; 
     513     color: #676e78; 
    505514     } 
    506515     p.form-note { 
     
    516525input[type=submit], input[type=reset], input[type=button], input[type=delete], 
    517526input.submit, input.reset, input.button, input.delete, 
    518 a.button, a.submit, a.delete, a.reset { 
     527a.button, a.button.submit, a.delete, a.reset { 
    519528     display: inline-block; 
    520529     cursor: pointer; 
     
    527536     line-height: 1.5em; 
    528537     } 
    529      a.button, a.submit, a.reset { 
     538     a.button, a.button.submit, a.reset { 
    530539          padding-bottom: 1px; 
    531540          } 
    532541 /* validation */ 
    533 input[type=submit], a.submit { 
     542input[type=submit], a.button.submit { 
    534543     color: #fff; 
    535544     text-shadow: 0 -1px 0 rgba(100, 100, 100, 0.6); 
     
    543552     } 
    544553     input[type=submit]:hover, input[type=submit]:focus, 
    545      a.submit:hover, a.submit:focus { 
     554     a.button.submit:hover, a.button.submit:focus { 
    546555          background:#188BC0; 
    547556          background:-moz-linear-gradient(top,#188BC0 0%,#25A6E1 100%); 
     
    617626input.disabled { 
    618627     text-shadow: none; 
    619      color: #666; 
     628     color: #676e78; 
    620629     background: #F5F5F5; 
    621630     border: 1px solid #CCC; 
    622631     } 
    623632     input.disabled:hover { 
    624           color: #666; 
     633          color: #676e78; 
    625634          background: #DFDFDF; 
    626635          border: 1px solid #CCC; 
     
    654663     margin-bottom: 1em; 
    655664     border-radius: 8px; 
     665     box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); 
    656666     } 
    657667     p.error, p.message, p.static-msg, p.success, p.warning-msg { 
     
    670680          .message a, .static-msg a { 
    671681               color: #fff; 
    672           } 
     682               } 
    673683     .success, .warning-msg { 
    674684          color: #000; 
     
    692702     text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); 
    693703     color: #34495e; 
     704     box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1) 
    694705     } 
    695706     .dc-update h3 { 
     
    707718               } 
    708719          .dc-update a.button { 
    709                border-color: #ccc; 
    710                font-weight: bold; 
    711720               padding: .5em 1em;  
    712721               } 
     
    832841     margin: 0; 
    833842     padding: 10px 0 10px 8px; 
    834      color: #666; 
     843     color: #676e78; 
    835844     font-size: 14px; /* ie < 9 sucks */ 
    836845     font-size: 1.4rem; 
     
    12341243          } 
    12351244          #icons a span { 
    1236                border-bottom: 1px dotted #f90; 
     1245               border-bottom: 1px dotted #999; 
    12371246               color: #333; 
    12381247               } 
     
    12721281          border: 1px solid #99f; 
    12731282          padding: .2em 1em .1em 24px; 
    1274           color: #666; 
     1283          color: #676e78; 
    12751284          } 
    12761285     #quick #new_cat, .q-cat, .q-cat label { 
     
    13011310          .db-items li, .db-contents li { 
    13021311               margin: 0.25em 0 0 0; 
    1303                color: #666; 
     1312               color: #676e78; 
    13041313               } 
    13051314     #news dt { 
     
    13821391               } 
    13831392          span.theme-version { 
    1384                color: #666; 
     1393               color: #676e78; 
    13851394               } 
    13861395          .theme-css { 
     
    14261435               } 
    14271436          #theme-box span.theme-version { 
    1428                color: #666; 
     1437               color: #676e78; 
    14291438               } 
    14301439          #theme-box span.theme-parent-ok { 
    1431                color: #666; 
     1440               color: #676e78; 
    14321441               } 
    14331442          #theme-box span.theme-parent-missing { 
     
    16351644          } 
    16361645/* ---------------------------------------------------------- preferences.php */ 
    1637 #my-favs { 
    1638      border: 1px solid #A8DC26; 
    1639      padding: 1em 2em 
    1640 } 
    1641 #my-favs ul { 
     1646.fav-list { 
     1647     border-top: 1px solid #eee; 
    16421648     list-style-type: none; 
    16431649     margin-left: 0; 
    16441650     padding-left: 0; 
    1645      line-height: 1.2; 
    1646 } 
    1647 #my-favs li { 
    1648      display: block; 
    1649      float: left; 
    1650      width: 164px; 
    1651      margin-top: 1em; 
    1652      margin-bottom: 1.5em; 
    1653 } 
    1654 #my-favs label {height: 2.5em;width:140px;margin-top:.3em;} 
    1655 #my-favs label input {display:inline;} 
    1656 #my-favs img { 
    1657      display: block; 
    1658 } 
    1659 #my-favs input.position { 
    1660      margin: 0 0 .4em .2em; 
    1661 } 
    1662 #available-favs input, #available-favs label, #available-favs label span { 
    1663      white-space: normal; 
    1664      display: inline; 
    1665 } 
    1666 #default-favs h3 { 
    1667      margin-top: 2em; 
    1668      margin-bottom: 1em; 
    1669 } 
    1670 .fav-list { 
    1671      list-style-type: none; 
    1672      margin-left: 0; 
    1673      padding-left: 0; 
    1674 } 
     1651     } 
    16751652.fav-list li { 
    16761653     line-height: 2; 
    16771654     margin-left: 0; 
    16781655     padding-left: 0; 
     1656     border-bottom: 1px solid #eee; 
     1657     padding-top: 3px; 
     1658     padding-bottom: 3px; 
    16791659     position: relative; 
    1680 } 
     1660     } 
    16811661.fav-list img { 
    16821662     vertical-align: middle; 
    16831663     margin-right: .2em; 
    1684 } 
     1664     } 
     1665.fav-list li span.zoom { 
     1666     display: none; 
     1667     } 
     1668.fav-list li:hover span.zoom { 
     1669     display: block; 
     1670     position: absolute; 
     1671     bottom: 0; 
     1672     left: 10em; 
     1673     background-color: #f7f7f7; 
     1674     border: 1px solid #ddd; 
     1675     padding: .2em; 
     1676     border-radius: .5em; 
     1677     } 
     1678#my-favs input.position { 
     1679     margin: 0 0 .4em .2em; 
     1680     } 
     1681#available-favs input, #available-favs label, #available-favs label span { 
     1682     white-space: normal; 
     1683     display: inline; 
     1684     } 
    16851685#available-favs label span.zoom { 
    16861686     display: none; 
    1687 } 
     1687     } 
    16881688#available-favs li:hover label span.zoom { 
    16891689     display: block; 
     
    16951695     padding: .2em; 
    16961696     border-radius: .5em; 
    1697 } 
     1697     } 
    16981698#user-options label.ib { 
    16991699     display: inline-block; 
     
    18681868     } 
    18691869     .fieldset h3 { 
    1870           color: #333; 
     1870          margin-top: 0; 
    18711871          } 
    18721872.right, .txt-right { 
     
    19071907          } 
    19081908.offline { 
    1909      color: #666; 
     1909     color: #676e78; 
    19101910     } 
    19111911/* caché pour tout le monde */ 
  • admin/style/iesucks.css

    r213 r1760  
    1 #content {zoom:1;} 
     1.clearfix, #content {zoom:1;} 
    22label .maximal, textarea.maximal, input.maximal { 
    33     width : 98% !important; 
  • admin/style/jsToolBar/jsToolBar.css

    r1749 r1760  
    2828} 
    2929.jstElements { 
    30      height: 28px; 
    3130     padding: 0 1rem;  
    3231     border: 1px solid #dfdfdf; 
  • inc/dbschema/upgrade.php

    r1581 r1765  
    152152                         'images/menu/edit.png','images/menu/edit-b.png', 
    153153                         'usage,contentadmin',null,'menu-new-post'); 
    154                     $init_fav['posts'] = array('posts','Entries','posts.php', 
    155                          'images/menu/entries.png','images/menu/entries-b.png', 
    156                          'usage,contentadmin',null,null); 
    157                     $init_fav['comments'] = array('comments','Comments','comments.php', 
    158                          'images/menu/comments.png','images/menu/comments-b.png', 
    159                          'usage,contentadmin',null,null); 
    160                     $init_fav['prefs'] = array('prefs','My preferences','preferences.php', 
    161                          'images/menu/user-pref.png','images/menu/user-pref-b.png', 
    162                          '*',null,null); 
    163                     $init_fav['blog_pref'] = array('blog_pref','Blog settings','blog_pref.php', 
    164                          'images/menu/blog-pref.png','images/menu/blog-pref-b.png', 
     154                    $init_fav['newpage'] = array('newpage','New page','plugin.php?p=pages&amp;act=page', 
     155                         'index.php?pf=pages/icon-np.png','index.php?pf=pages/icon-np-big.png', 
     156                         'contentadmin,pages',null,null); 
     157                    $init_fav['media'] = array('media','Media manager','media.php', 
     158                         'images/menu/media.png','images/menu/media-b.png', 
     159                         'media,media_admin',null,null); 
     160                    $init_fav['widgets'] = array('widgets','Presentation widgets','plugin.php?p=widgets', 
     161                         'index.php?pf=widgets/icon.png','index.php?pf=widgets/icon-big.png', 
    165162                         'admin',null,null); 
    166163                    $init_fav['blog_theme'] = array('blog_theme','Blog appearance','blog_theme.php', 
    167164                         'images/menu/themes.png','images/menu/blog-theme-b.png', 
    168165                         'admin',null,null); 
    169  
    170                     $init_fav['pages'] = array('pages','Pages','plugin.php?p=pages', 
    171                          'index.php?pf=pages/icon.png','index.php?pf=pages/icon-big.png', 
    172                          'contentadmin,pages',null,null); 
    173                     $init_fav['blogroll'] = array('blogroll','Blogroll','plugin.php?p=blogroll', 
    174                          'index.php?pf=blogroll/icon-small.png','index.php?pf=blogroll/icon.png', 
    175                          'usage,contentadmin',null,null); 
    176166 
    177167                    $count = 0; 
  • locales/fr/main.po

    r1745 r1763  
    19261926msgstr "Êtes-vous sûr de vouloir retirer les favoris sélectionnés ?" 
    19271927 
    1928 msgid "If you are a super administrator, you may define this set of favorites to be used by default on all blogs of this installation:" 
    1929 msgstr "Si vous êtes super administrateur, vous pouvez définir ce jeu de favoris comme l'ensemble par défaut pour tous les blogs de l'installation :" 
     1928msgid "If you are a super administrator, you may define this set of favorites to be used by default on all blogs of this installation." 
     1929msgstr "Si vous êtes super administrateur, vous pouvez faire de ces favoris le jeu par défaut pour tous les blogs de l'installation." 
    19301930 
    19311931msgid "Define as default favorites" 
     
    32063206msgstr "Cette catégorie sera créée lorsque vous enregistrerez votre billet." 
    32073207 
    3208 msgid "Category which will receive entries of deleted categories:" 
    3209 msgstr "Catégorie d'accueil pour les billets des catégories supprimées :" 
     3208msgid "Category where entries of deleted categories will be moved:" 
     3209msgstr "Catégorie où seront déplacés les billets des catégories supprimées :" 
    32103210 
    32113211msgid "Delete selected categories" 
     
    33393339msgid "The URL of blog or the URL scan method might not be well set (<code>%s</code> does not return an ATOM feed)." 
    33403340msgstr "L'URL du blog ou la méthode de lecture de l'URL ne semblent pas être bien réglées (<code>%s</code> ne retourne pas un flux ATOM)" 
     3341 
     3342msgid "Dashboard options has been successfully updated." 
     3343msgstr "Les options du tableau de bord ont été enregistrées avec succès." 
     3344 
     3345msgid "Save my dashboard options" 
     3346msgstr "Enregistrer les options de mon tableau de bord" 
     3347 
     3348msgid "Favorites" 
     3349msgstr "Favoris" 
     3350 
     3351msgid "Display favorites at the top of the menu" 
     3352msgstr "Afficher les favoris en haut du menu" 
     3353 
     3354msgid "Dashboard icons" 
     3355msgstr "Icônes du tableau de bord" 
  • plugins/maintenance/index.php

    r1553 r1760  
    142142{ 
    143143     echo 
     144     '<div class="two-boxes">'. 
    144145     '<h3>'.__('Optimize database room').'</h3>'. 
    145146     '<form action="plugin.php" method="post">'. 
     
    148149     form::hidden(array('action'),'vacuum'). 
    149150     form::hidden(array('p'),'maintenance').'</p>'. 
    150      '</form>'; 
     151     '</form></div>'; 
    151152      
    152153     echo 
     154     '<div class="two-boxes">'. 
    153155     '<h3>'.__('Counters').'</h3>'. 
    154156     '<form action="plugin.php" method="post">'. 
     
    157159     form::hidden(array('action'),'commentscount'). 
    158160     form::hidden(array('p'),'maintenance').'</p>'. 
    159      '</form>'; 
     161     '</form></div>'; 
    160162      
    161163     echo 
    162      '<h3>'.__('Search engine index').' ('.__('This may take a very long time').')</h3>'. 
     164     '<div class="two-boxes">'. 
     165     '<h3>'.__('Search engine index').'</h3>'. 
    163166     '<form action="plugin.php" method="get">'. 
    164167     '<p><input type="submit" name="indexposts" value="'.__('Index all posts').'" /> '. 
     
    166169     form::hidden(array('action'),'index'). 
    167170     form::hidden(array('p'),'maintenance').'</p>'. 
    168      '</form>'; 
     171     '<p class="form-note info">'.__('This may take a very long time').'.</p>'. 
     172     '</form></div>'; 
    169173      
    170174     echo 
     175     '<div class="two-boxes">'. 
    171176     '<h3>'.__('Vacuum logs').'</h3>'. 
    172177     '<form action="plugin.php" method="post">'. 
     
    175180     form::hidden(array('action'),'log'). 
    176181     form::hidden(array('p'),'maintenance').'</p>'. 
    177      '</form>'; 
     182     '</form></div>'; 
    178183      
    179184     echo 
     185     '<div class="two-boxes">'. 
    180186     '<h3>'.__('Empty templates cache directory').'</h3>'. 
    181187     '<form action="plugin.php" method="post">'. 
     
    184190     form::hidden(array('action'),'empty_cache'). 
    185191     form::hidden(array('p'),'maintenance').'</p>'. 
    186      '</form>'; 
     192     '</form></div>'; 
    187193} 
    188194dcPage::helpBlock('maintenance'); 
  • plugins/widgets/dragdrop.js

    r1659 r1766  
    3030          connectWith: ".connected, .sortable-delete", 
    3131          start: function( event, ui ) { 
    32                // petit décalage éstétique 
     32               // petit décalage esthétique 
    3333               ui.item.css('left', ui.item.position().left + 20); 
    3434          }, 
     
    4242               ui.item.css('left', 'auto'); 
    4343                
    44                // signale les zone vide 
     44               // signale les zones vides 
    4545               if( ul.find('li').length == 0 ) 
    4646                     field.find('.empty-widgets').show(); 
     
    5858                    ul.find('li').each(function(i) { 
    5959                          
    60                          // trouve la zone de récéption 
     60                         // trouve la zone de réception 
    6161                         var name = ul.attr('id').split('dnd').join(''); 
    6262                          
     
    9595          } 
    9696     }); 
    97       
     97     $("li.ui-draggable, ul.ui-sortable li").css({'cursor':'move'}); 
    9898}); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map