/[drupal]/contributions/themes/dark/template.php
ViewVC logotype

Diff of /contributions/themes/dark/template.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2, Sat Nov 10 16:03:56 2007 UTC revision 1.3, Sat Dec 8 11:25:59 2007 UTC
# Line 2  Line 2 
2  /**  /**
3   * Allow themable wrapping of all comments.   * Allow themable wrapping of all comments.
4   */   */
5    function dark_hostname() {
6      $host = $_SERVER['SERVER_NAME'];
7      $port = $_SERVER['SERVER_PORT']=='80' ? '' : ':'.$_SERVER['SERVER_PORT'];
8      return 'http://' . $host . $port . '/';
9    }
10    
11  function dark_node_wrapper($content, $type = null) {  function dark_node_wrapper($content, $type = null) {
12    static $node_type;    static $node_type;
13    if (isset($type)) $node_type = $type;    if (isset($type)) $node_type = $type;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2