Parent Directory
|
Revision Log
|
Revision Graph
|
Patch
| revision 1.19, Sat Jan 29 10:17:13 2005 UTC | revision 1.20, Thu Mar 31 19:53:48 2005 UTC | ||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| # | Line 1 | Line 1 | |||||||||||||||||||||||||||||||||||||||||||||
| 1 | <?php | <?php | |||||||||||||||||||||||||||||||||||||||||||||
| 2 | // $Id: interlaced.theme,v 1.18 2004/11/23 23:36:07 tdobes Exp $ | // $Id: interlaced.theme,v 1.19 2005/01/29 10:17:13 tdobes Exp $ | |||||||||||||||||||||||||||||||||||||||||||||
| 3 | |||||||||||||||||||||||||||||||||||||||||||||||
| 4 | function interlaced_features() { | function interlaced_features() { | |||||||||||||||||||||||||||||||||||||||||||||
| 5 | return array('toggle_name', 'toggle_primary_links'); | return array('toggle_name', 'toggle_primary_links'); | |||||||||||||||||||||||||||||||||||||||||||||
| # | Line 13 function interlaced_page($content) { | Line 13 function interlaced_page($content) { | |||||||||||||||||||||||||||||||||||||||||||||
| 13 | $output .= " <title>"; | $output .= " <title>"; | |||||||||||||||||||||||||||||||||||||||||||||
| 14 | |||||||||||||||||||||||||||||||||||||||||||||||
| 15 | if ($title = drupal_get_title()) { | if ($title = drupal_get_title()) { | |||||||||||||||||||||||||||||||||||||||||||||
| 16 | $output .= "$title - ". variable_get("site_name", "drupal"); | $output .= strip_tags($title) .' - '. variable_get("site_name", "drupal"); | |||||||||||||||||||||||||||||||||||||||||||||
| 17 | } | } | |||||||||||||||||||||||||||||||||||||||||||||
| 18 | else { | else { | |||||||||||||||||||||||||||||||||||||||||||||
| 19 | $output .= variable_get("site_name", "drupal"); | $output .= variable_get("site_name", "drupal"); | |||||||||||||||||||||||||||||||||||||||||||||
| # |
Line 72
$output .= '|
Line 72
$output .= ' | 72 |
|
|
73 |
$output .= " <td style=\"vertical-align: top;\" class=\"centercolumn\">\n"; |
$output .= " <td style=\"vertical-align: top;\" class=\"centercolumn\">\n"; |
74 |
|
|
75 |
if ($title = drupal_get_title()) { |
if ($title) { |
76 |
$output .= theme("breadcrumb", drupal_get_breadcrumb()); |
$output .= theme("breadcrumb", drupal_get_breadcrumb()); |
77 |
$output .= "<h2 class=\"title\">$title</h2>"; |
$output .= "<h2 class=\"title\">$title</h2>"; |
78 |
} |
} |
# |
Line 125
$output .= ' |
Line 125
$output .= ' | 125 |
} |
} |
126 |
|
|
127 |
function interlaced_node($node, $main = 0, $page = 0) { |
function interlaced_node($node, $main = 0, $page = 0) { |
128 |
$output = ' <!-- node: "' . $node->title . '" -->'; |
$output = ' <!-- node: "'. check_plain($node->title) .'" -->'; |
129 |
if (!$page) { |
if (!$page) { |
130 |
$output .= ' <div class="nodetitle">' . l($node->title, "node/$node->nid") . '</div>'; |
$output .= ' <div class="nodetitle">' . l($node->title, "node/$node->nid") . '</div>'; |
131 |
} |
} |
|
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |