Ignore:
Timestamp:
Apr 14, 2015, 10:20:16 PM (10 years ago)
Author:
chronos
Message:
  • Removed: Spaces on end of line.
  • Modified: Tabs converted to spaces.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/SpeedTest/SpeedTest.php

    r615 r738  
    2424    $this->Dependencies = array();
    2525  }
    26  
     26
    2727  function DoStart()
    2828  {
    2929    $this->System->Pages['speedtest'] = 'PageSpeedTest';
    30   } 
     30  }
    3131}
    3232
     
    3636  var $ShortTitle = 'Test rychlosti';
    3737  var $ParentClass = 'PagePortal';
    38  
     38
    3939  function Show()
    4040  {
     
    4646    } else return($this->ShowMain());
    4747  }
    48  
     48
    4949  function ShowDownload()
    5050  {
    5151    global $config;
    5252    require_once(dirname(__FILE__)."/download.php");
    53    
     53
    5454  }
    55  
     55
    5656  function ShowMain()
    57   {   
     57  {
    5858    global $config;
    59    
     59
    6060    require_once(dirname(__FILE__)."/common.php");
    6161    ReadConfig(dirname(__FILE__)."/speedtest.cfg");
    62    
     62
    6363## Redirect immediately to download.php if auto_start = 1
    6464if($config->{'general'}->{'auto_start'}) {
     
    7070<head>
    7171<title>'.$config->{'general'}->{'page_title'}.' - Fancy Speed Test</title>
    72 <meta http-equiv="Expires" CONTENT="Fri, Jan 1 1980 00:00:00 GMT" /> 
    73 <meta http-equiv="Pragma" CONTENT="no-cache" /> 
    74 <meta http-equiv="Cache-Control" CONTENT="no-cache" /> 
     72<meta http-equiv="Expires" CONTENT="Fri, Jan 1 1980 00:00:00 GMT" />
     73<meta http-equiv="Pragma" CONTENT="no-cache" />
     74<meta http-equiv="Cache-Control" CONTENT="no-cache" />
    7575<link rel="stylesheet" href="style.css" />
    7676</head>
     
    8989    ## Include "welcome.html" for a custom welcome page, if the file exists
    9090    include("welcome.html");
    91 } else { 
     91} else {
    9292    ## Else print a standard welcome message
    9393
Note: See TracChangeset for help on using the changeset viewer.