Mercurial > defr > drupal > core
comparison modules/block/block.module @ 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 |
comparison
equal
deleted
inserted
replaced
| 6:2cfdc3c92142 | 7:fff6d4c8c043 |
|---|---|
| 1 <?php | 1 <?php |
| 2 // $Id: block.module,v 1.299.2.2 2008/04/09 21:11:45 goba Exp $ | 2 // $Id: block.module,v 1.299.2.3 2008/06/24 14:40:08 goba Exp $ |
| 3 | 3 |
| 4 /** | 4 /** |
| 5 * @file | 5 * @file |
| 6 * Controls the boxes that are displayed around the main content. | 6 * Controls the boxes that are displayed around the main content. |
| 7 */ | 7 */ |
| 297 } | 297 } |
| 298 return $blocks; | 298 return $blocks; |
| 299 } | 299 } |
| 300 | 300 |
| 301 function block_box_get($bid) { | 301 function block_box_get($bid) { |
| 302 return db_fetch_array(db_query("SELECT bx.*, bl.title FROM {boxes} bx INNER JOIN {blocks} bl ON bx.bid = bl.delta WHERE bl.module = 'block' AND bx.bid = %d", $bid)); | 302 return db_fetch_array(db_query("SELECT * FROM {boxes} WHERE bid = %d", $bid)); |
| 303 } | 303 } |
| 304 | 304 |
| 305 /** | 305 /** |
| 306 * Define the custom block form. | 306 * Define the custom block form. |
| 307 */ | 307 */ |
