Mercurial > defr > drupal > core
comparison includes/theme.inc @ 13:8b6c45761e01 6.6
Drupal 6.6
| author | Franck Deroche <webmaster@defr.org> |
|---|---|
| date | Tue, 23 Dec 2008 14:32:33 +0100 |
| parents | 589fb7c02327 |
| children | 4347c45bb494 |
comparison
equal
deleted
inserted
replaced
| 12:4ca9f57cc4d4 | 13:8b6c45761e01 |
|---|---|
| 1 <?php | 1 <?php |
| 2 // $Id: theme.inc,v 1.415.2.12 2008/09/17 08:57:23 goba Exp $ | 2 // $Id: theme.inc,v 1.415.2.13 2008/10/16 13:50:59 dries Exp $ |
| 3 | 3 |
| 4 /** | 4 /** |
| 5 * @file | 5 * @file |
| 6 * The theme system, which controls the output of Drupal. | 6 * The theme system, which controls the output of Drupal. |
| 7 * | 7 * |
| 691 } | 691 } |
| 692 } | 692 } |
| 693 } | 693 } |
| 694 | 694 |
| 695 /** | 695 /** |
| 696 * Return the path to the currently selected theme. | 696 * Return the path to the current themed element. |
| 697 * | |
| 698 * It can point to the active theme or the module handling a themed implementation. | |
| 699 * For example, when invoked within the scope of a theming call it will depend | |
| 700 * on where the theming function is handled. If implemented from a module, it | |
| 701 * will point to the module. If implemented from the active theme, it will point | |
| 702 * to the active theme. When called outside the scope of a theming call, it will | |
| 703 * always point to the active theme. | |
| 697 */ | 704 */ |
| 698 function path_to_theme() { | 705 function path_to_theme() { |
| 699 global $theme_path; | 706 global $theme_path; |
| 700 | 707 |
| 701 if (!isset($theme_path)) { | 708 if (!isset($theme_path)) { |
