Mercurial > defr > drupal > core
comparison modules/system/system.admin.inc @ 7:fff6d4c8c043 6.3
Drupal 6.3
author | Franck Deroche <webmaster@defr.org> |
---|---|
date | Tue, 23 Dec 2008 14:30:28 +0100 |
parents | 2427550111ae |
children | 8b6c45761e01 |
comparison
equal
deleted
inserted
replaced
6:2cfdc3c92142 | 7:fff6d4c8c043 |
---|---|
1 <?php | 1 <?php |
2 // $Id: system.admin.inc,v 1.63.2.1 2008/03/25 11:58:16 goba Exp $ | 2 // $Id: system.admin.inc,v 1.63.2.3 2008/05/19 07:27:35 goba Exp $ |
3 | 3 |
4 /** | 4 /** |
5 * @file | 5 * @file |
6 * Admin page callbacks for the system module. | 6 * Admin page callbacks for the system module. |
7 */ | 7 */ |
1899 } | 1899 } |
1900 | 1900 |
1901 $output = '<div class="admin clear-block">'; | 1901 $output = '<div class="admin clear-block">'; |
1902 $output .= '<div class="compact-link">'; | 1902 $output .= '<div class="compact-link">'; |
1903 if (system_admin_compact_mode()) { | 1903 if (system_admin_compact_mode()) { |
1904 $output .= l(t('Show descriptions'), 'admin/compact/off', array('title' => t('Expand layout to include descriptions.'))); | 1904 $output .= l(t('Show descriptions'), 'admin/compact/off', array('attributes' => array('title' => t('Expand layout to include descriptions.')))); |
1905 } | 1905 } |
1906 else { | 1906 else { |
1907 $output .= l(t('Hide descriptions'), 'admin/compact/on', array('title' => t('Compress layout by hiding descriptions.'))); | 1907 $output .= l(t('Hide descriptions'), 'admin/compact/on', array('attributes' => array('title' => t('Compress layout by hiding descriptions.')))); |
1908 } | 1908 } |
1909 $output .= '</div>'; | 1909 $output .= '</div>'; |
1910 | 1910 |
1911 foreach ($container as $id => $data) { | 1911 foreach ($container as $id => $data) { |
1912 $output .= '<div class="'. $id .' clear-block">'; | 1912 $output .= '<div class="'. $id .' clear-block">'; |
2068 } | 2068 } |
2069 else { | 2069 else { |
2070 $row[] = '<strong>'. drupal_render($form['name'][$key]) .'</strong>'; | 2070 $row[] = '<strong>'. drupal_render($form['name'][$key]) .'</strong>'; |
2071 } | 2071 } |
2072 | 2072 |
2073 $row[] = drupal_render($form['version'][$key]); | 2073 $row[] = array('data' => drupal_render($form['version'][$key]), 'class' => 'version'); |
2074 $row[] = array('data' => $description, 'class' => 'description'); | 2074 $row[] = array('data' => $description, 'class' => 'description'); |
2075 $rows[] = $row; | 2075 $rows[] = $row; |
2076 } | 2076 } |
2077 $fieldset = array( | 2077 $fieldset = array( |
2078 '#title' => t($package), | 2078 '#title' => t($package), |