/[drupal]/contributions/modules/spaces/spaces_site/spaces_site.module
ViewVC logotype

Diff of /contributions/modules/spaces/spaces_site/spaces_site.module

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

revision 1.1.2.4.2.2, Tue Apr 21 22:04:08 2009 UTC revision 1.1.2.4.2.3, Sat Sep 5 21:56:46 2009 UTC
# Line 65  if (function_exists('spaces_menu')) { Line 65  if (function_exists('spaces_menu')) {
65      }      }
66    
67      /**      /**
68       * Implementation of space->links().       * Implementation of space->user_links().
69       */       */
70      function links(&$links) {      function user_links() {
71        if ($this->admin_access()) {        return array();
72          // Add settings link for administering spaces      }
73          $links['settings'] = array(  
74            'title' => t('Site settings'),      /**
75            'href' => 'spaces/features',       * Implementation of space->admin_links().
76            'attributes' => array('class' => 'settings'),       */
77          );      function admin_links() {
78        }        $links = array();
79          $links['settings'] = array(
80            'title' => t('Site settings'),
81            'href' => 'spaces/features',
82            'attributes' => array('class' => 'settings'),
83          );
84          return $links;
85      }      }
86    
87      /**      /**

Legend:
Removed from v.1.1.2.4.2.2  
changed lines
  Added in v.1.1.2.4.2.3

  ViewVC Help
Powered by ViewVC 1.1.2