Dotclear

Changeset 1728:509991b301ef


Ignore:
Timestamp:
09/05/13 08:54:15 (11 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

(j'en avais oublié des bouts)
Amélioration de l'affichage des modules additionnels du tableau de bord (à améliorer encore)
Listes-tableaux : présentation plus aérée.
Pagination plus discrète (okazou, en attendant le ticket #1607)
Barre d'outil de l'éditeur : suppression des dégradés, éclaircissement, cassededi to html-edition

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin/index.php

    r1719 r1728  
    144144          if ($feed) 
    145145          { 
    146                $latest_news = '<h3>'.__('Latest news').'</h3><dl id="news">'; 
     146               $latest_news = '<h3>'.__('Dotclear news').'</h3><dl id="news">'; 
    147147               $i = 1; 
    148148               foreach ($feed->items as $item) 
    149149               { 
    150                     $dt = isset($item->link) ? '<a href="'.$item->link.'" title="'.$item->title.' '.__('(external link)').'">'. 
    151                          $item->title.'</a>' : $item->title; 
     150                    $dt = isset($item->link) ? '<a href="'.$item->link.'" title="'.$item->title.' ('.__('new window').')">'. 
     151                         $item->title.' <img src="images/outgoing-blue.png" alt="" /></a>' : $item->title; 
    152152                
    153153                    if ($i < 3) { 
     
    179179      
    180180          foreach ($__resources['doc'] as $k => $v) { 
    181                $doc_links .= '<li><a href="'.$v.'" title="'.$k.' '.__('(external link)').'">'.$k.'</a></li>'; 
     181               $doc_links .= '<li><a href="'.$v.'" title="'.$k.' ('.__('new window').')">'.$k. 
     182               ' <img src="images/outgoing-blue.png" alt="" /></a></li>'; 
    182183          } 
    183184      
     
    342343     if ($i->count() > 0) 
    343344     { 
    344           $dashboardItems .= '<div class="db-item">'; 
     345          $dashboardItems .= '<div class="db-box">'; 
    345346          foreach ($i as $v) { 
    346347               $dashboardItems .= $v; 
     
    351352 
    352353# Dashboard icons 
    353 echo '<div id="dashboard-main"'.($dashboardItems ? '' : ' class="fullwidth"').'><div id="icons">'; 
     354echo '<div id="dashboard-main"><div id="icons">'; 
    354355foreach ($__dashboard_icons as $i) 
    355356{ 
     
    413414     if ($i->count() > 0) 
    414415     { 
    415           $dashboardContents .= '<div>'; 
     416          $dashboardContents .= '<div class="db-box">'; 
    416417          foreach ($i as $v) { 
    417418               $dashboardContents .= $v; 
     
    420421     } 
    421422} 
    422 echo ($dashboardContents ? '<div id="dashboard-contents">'.$dashboardContents.'</div>' : ''); 
     423 
     424$class = ' '.(($dashboardItems != '') && ($dashboardContents != '') ? 'two-db' : 'one-db'); 
     425 
     426if ($dashboardContents != '' || $dashboardItems != '') { 
     427     echo  
     428     '<div id="dashboard-widgets">'; 
     429          echo ($dashboardContents ? '<div class="db-contents'.$class.'">'.$dashboardContents.'</div>' : ''); 
     430          echo ($dashboardItems ? '<div class="db-items'.$class.'">'.$dashboardItems.'</div>' : ''); 
     431     echo 
     432     '</div>';       
     433} 
    423434 
    424435echo '</div>'; 
    425  
    426 echo ($dashboardItems ? '<div id="dashboard-items">'.$dashboardItems.'</div>' : ''); 
    427436 
    428437dcPage::close(); 
  • locales/fr/main.po

    r1725 r1728  
    33133313msgstr "%1$s : %2$s" 
    33143314 
     3315msgid "Dotclear news" 
     3316msgstr "Actualité de Dotclear" 
     3317 
    33153318msgid "The cache directory does not exist or is not writable. You must create this directory with sufficient rights and affect this location to \"DC_TPL_CACHE\" in inc/config.php file." 
    33163319msgstr "Le répertoire de cache n'existe pas ou n'est pas accessible en écriture. Vous devez créer ce répertoire avec les droits suffisants et affecter celui-ci à \"DC_TPL_CACHE\" dans le fichier inc/config.php." 
Note: See TracChangeset for help on using the changeset viewer.

Sites map