/[drupal]/contributions/modules/glance/glance.module
ViewVC logotype

Diff of /contributions/modules/glance/glance.module

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

revision 1.1, Mon May 12 18:02:14 2008 UTC revision 1.2, Mon May 12 18:17:00 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2    
3  // $Id$  // $Id: glance.module,v 1.1 2008/05/12 18:02:14 malex Exp $
4    
5  function glance_perm()  function glance_perm()
6          {          {
# Line 25  function glance_worker() Line 25  function glance_worker()
25          $cache = cache_get("glance_stats", 'cache');          $cache = cache_get("glance_stats", 'cache');
26          if($cache === 0 || trim($cache->data) == "" || $cache->created < (time() - 86400)) //Cache is invalid, please rebuild.          if($cache === 0 || trim($cache->data) == "" || $cache->created < (time() - 86400)) //Cache is invalid, please rebuild.
27                  {                  {
28                  $out = "<p>Some data regarding your drupal site:</p>\n";                  $out = "<p>" . t('Some information about this site:') . "</p>\n";
29    
30                  $num_users = 0;                  $num_users = 0;
31                  $users = array();                  $users = array();

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

  ViewVC Help
Powered by ViewVC 1.1.2