/[drupal]/contributions/themes/slash/slash.theme
ViewVC logotype

Diff of /contributions/themes/slash/slash.theme

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

revision 1.6, Mon Apr 18 11:37:20 2005 UTC revision 1.7, Sat Apr 30 18:42:48 2005 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: slash.theme,v 1.5 2005/04/14 13:30:04 frjo Exp $  // $Id: slash.theme,v 1.6 2005/04/18 11:37:20 frjo Exp $
3    
4  /************************************************************/  /************************************************************/
5  /* Function features                                        */  /* Function features                                        */
# Line 90  function slash_page($content) { Line 90  function slash_page($content) {
90      $output .= $tabs;      $output .= $tabs;
91    }    }
92    
93    if ($help = menu_get_active_help()) {    $output .= theme('help');
     $output .= "<div class=\"help\">$help</div><hr />";  
   }  
94    
95    $output .= theme_status_messages();    $output .= theme('status_messages');
96    
97    // Only parse the mission block if we are on the frontpage.    // Only parse the mission block if we are on the frontpage.
98    // Show different content if visitor are anonymous or a logged in user.    // Show different content if visitor are anonymous or a logged in user.
# Line 245  function slash_block($block) { Line 243  function slash_block($block) {
243    return $output;    return $output;
244  }  }
245    
246    function slash_help() {
247      if ($help = menu_get_active_help()) {
248        return '<div class="help">'. $help .'</div><hr />';
249      }
250    }
251    
252  ?>  ?>

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.2