/[drupal]/contributions/modules/rpg/inc/rpg.theme.inc
ViewVC logotype

Diff of /contributions/modules/rpg/inc/rpg.theme.inc

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

revision 1.11, Sat Mar 8 00:31:04 2008 UTC revision 1.12, Sat Apr 26 01:03:25 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: rpg.theme.inc,v 1.10 2008/01/03 01:59:56 aaron Exp $  // $Id: rpg.theme.inc,v 1.11 2008/03/08 00:31:04 aaron Exp $
3    
4  function theme_rpg_play($pc) {  function theme_rpg_play($pc) {
5    $output = t('You are playing !pc.', array('!pc' => l(rpg_get('name', $pc), 'rpg/view/' . rpg_id($pc))));    $output = t('You are playing !pc.', array('!pc' => l(rpg_get('name', $pc), 'rpg/view/' . rpg_id($pc))));
# Line 118  function theme_rpg_browse_page ($objects Line 118  function theme_rpg_browse_page ($objects
118    return $output;    return $output;
119  }  }
120    
121    /**
122     *  This will display the intro text for rpg. In general, you should either override this theme function in your template.php file,
123     *  or override the /rpg path entirely, pointing to your own node page, panel, view, or what have you.
124     */
125  function theme_rpg_page() {  function theme_rpg_page() {
126    $output .= t('Welcome to Drupal RPG! Things are still in development, so !play at your own risk. If you are the administrator, you will probably want to create a new theme function to override this message. See the Drupal Handbook for more help.', array('!play' => l(t('play'), 'rpg/play')));    $output .= t('Welcome to Drupal RPG! Things are still in development, so !play at your own risk. If you are the administrator, you will probably want to create a new theme function to override this message. See the Drupal Handbook for more help.', array('!play' => l(t('play'), 'rpg/play')));
127    return $output;    return $output;

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.2