Mercurial > defr > drupal > core
comparison modules/node/node.pages.inc @ 15:4347c45bb494 6.7
Drupal 6.7
| author | Franck Deroche <webmaster@defr.org> |
|---|---|
| date | Tue, 23 Dec 2008 14:32:44 +0100 |
| parents | 589fb7c02327 |
| children |
comparison
equal
deleted
inserted
replaced
| 14:626fcabfa4b8 | 15:4347c45bb494 |
|---|---|
| 1 <?php | 1 <?php |
| 2 // $Id: node.pages.inc,v 1.28.2.2 2008/09/17 07:42:35 goba Exp $ | 2 // $Id: node.pages.inc,v 1.28.2.3 2008/11/10 10:18:54 goba Exp $ |
| 3 | 3 |
| 4 /** | 4 /** |
| 5 * @file | 5 * @file |
| 6 * Page callbacks for adding, editing, deleting, and revisions management for content. | 6 * Page callbacks for adding, editing, deleting, and revisions management for content. |
| 7 */ | 7 */ |
| 30 $output = ''; | 30 $output = ''; |
| 31 | 31 |
| 32 if ($content) { | 32 if ($content) { |
| 33 $output = '<dl class="node-type-list">'; | 33 $output = '<dl class="node-type-list">'; |
| 34 foreach ($content as $item) { | 34 foreach ($content as $item) { |
| 35 $output .= '<dt>'. l($item['title'], $item['href'], $item['options']) .'</dt>'; | 35 $output .= '<dt>'. l($item['title'], $item['href'], $item['localized_options']) .'</dt>'; |
| 36 $output .= '<dd>'. filter_xss_admin($item['description']) .'</dd>'; | 36 $output .= '<dd>'. filter_xss_admin($item['description']) .'</dd>'; |
| 37 } | 37 } |
| 38 $output .= '</dl>'; | 38 $output .= '</dl>'; |
| 39 } | 39 } |
| 40 return $output; | 40 return $output; |
