~ubuntu-branches/ubuntu/karmic/drupal5/karmic

« back to all changes in this revision

Viewing changes to modules/system/system.module

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-05-13 05:20:16 UTC
  • mfrom: (3.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20090513052016-e4t5zqr6nyng2o44
Tags: 5.17-1ubuntu1
* Merge from debian unstable, remaining changes: LP: #375750
  + debian/patches/02_htaccess:
    - Add RewriteBase /drupal5
  + debian/control:
    - Replace exim4 with postfix in Depends.
  + Fix for debian/watch.
    - Bump version from 2 to 3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
 
// $Id: system.module,v 1.440.2.46 2009/01/14 23:32:15 drumm Exp $
 
2
// $Id: system.module,v 1.440.2.51 2009/04/30 00:13:48 drumm Exp $
3
3
 
4
4
/**
5
5
 * @file
6
6
 * Configuration system that lets administrators modify the workings of the site.
7
7
 */
8
8
 
9
 
define('VERSION', '5.15');
 
9
define('VERSION', '5.17');
10
10
 
11
11
/**
12
12
 * Implementation of hook_help().
526
526
 
527
527
function _system_zonelist() {
528
528
  $timestamp = time();
529
 
  $zonelist = array(-11, -10, -9.5, -9, -8, -7, -6, -5, -4, -3.5, -3, -2, -1, 0, 1, 2, 3, 3.5, 4, 5, 5.5, 5.75, 6, 6.5, 7, 8, 9, 9.5, 10, 10.5, 11, 11.5, 12, 12.75, 13, 14);
 
529
  $zonelist = array(-11, -10, -9.5, -9, -8, -7, -6, -5, -4, -3.5, -3, -2.5, -2, -1, 0, 1, 2, 3, 3.5, 4, 5, 5.5, 5.75, 6, 6.5, 7, 8, 9, 9.5, 10, 10.5, 11, 11.5, 12, 12.75, 13, 14);
530
530
  $zones = array();
531
531
  foreach ($zonelist as $offset) {
532
532
    $zone = $offset * 3600;