Changeset 1728:509991b301ef for admin
- Timestamp:
- 09/05/13 08:54:15 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/index.php
r1719 r1728 144 144 if ($feed) 145 145 { 146 $latest_news = '<h3>'.__(' Latestnews').'</h3><dl id="news">';146 $latest_news = '<h3>'.__('Dotclear news').'</h3><dl id="news">'; 147 147 $i = 1; 148 148 foreach ($feed->items as $item) 149 149 { 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; 152 152 153 153 if ($i < 3) { … … 179 179 180 180 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>'; 182 183 } 183 184 … … 342 343 if ($i->count() > 0) 343 344 { 344 $dashboardItems .= '<div class="db- item">';345 $dashboardItems .= '<div class="db-box">'; 345 346 foreach ($i as $v) { 346 347 $dashboardItems .= $v; … … 351 352 352 353 # Dashboard icons 353 echo '<div id="dashboard-main" '.($dashboardItems ? '' : ' class="fullwidth"').'><div id="icons">';354 echo '<div id="dashboard-main"><div id="icons">'; 354 355 foreach ($__dashboard_icons as $i) 355 356 { … … 413 414 if ($i->count() > 0) 414 415 { 415 $dashboardContents .= '<div >';416 $dashboardContents .= '<div class="db-box">'; 416 417 foreach ($i as $v) { 417 418 $dashboardContents .= $v; … … 420 421 } 421 422 } 422 echo ($dashboardContents ? '<div id="dashboard-contents">'.$dashboardContents.'</div>' : ''); 423 424 $class = ' '.(($dashboardItems != '') && ($dashboardContents != '') ? 'two-db' : 'one-db'); 425 426 if ($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 } 423 434 424 435 echo '</div>'; 425 426 echo ($dashboardItems ? '<div id="dashboard-items">'.$dashboardItems.'</div>' : '');427 436 428 437 dcPage::close();
Note: See TracChangeset
for help on using the changeset viewer.