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

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

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

revision 1.1, Thu Mar 2 04:19:42 2006 UTC revision 1.2, Sat Mar 4 06:13:13 2006 UTC
# Line 62  function internet_center_primary_links() Line 62  function internet_center_primary_links()
62    
63  /* Checks to see if we're in the admin section */  /* Checks to see if we're in the admin section */
64  function internet_center_is_admin() {  function internet_center_is_admin() {
65    if (((arg(0) == 'admin') || (arg(0) == 'sadmin') || (arg(0) == 'user') ) && (user_access('access administration pages'))) {    if (((arg(0) == 'admin') || (arg(0) == 'administer') || (arg(0) == 'user') ) && (user_access('access administration pages'))) {
66      return true;      return true;
67    }    }
68  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.2