Changeset 203


Ignore:
Timestamp:
Apr 30, 2009, 11:53:58 PM (15 years ago)
Author:
george
Message:
  • Opraveno: Validace HTML stránky otvírací doby subjektů.
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/error.php

    r187 r203  
    5353          //$err = "Datum: ".$dt."\nHlášení: ".$errmsg."\nSkript: ".$filename."\nŘádek: ".$linenum;
    5454    // mail($Config['Web']['AdminEmail'], $Config['Web']['Title'].' - Chybové hlášení', $err);          // Pošli mi zprávu (pokud je to kritická chyba)
    55           echo('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>'.
    56     '<meta http-equiv="Content-Language" content="cs">'.
    57     '<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body>'.
     55          echo('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs"><head>'.
     56    '<meta http-equiv="content-language" content="cs" />'.
     57    '<meta http-equiv="content-type" content="text/html; charset=utf-8" /></head><body>'.
    5858    'Došlo k vnitřní chybě!<br /> O chybě byl uvědoměn správce webu a chybu brzy odstraní.<br /><br />');
    5959        if($Config['Web']['ShowError'] == true) echo('<pre>'.$err.'</pre><br />');                      // V případě ladění chybu i zobraz
  • trunk/index.php

    r202 r203  
    282282      if($_GET['Action'] == 'UserRegisterConfirm')
    283283      {
    284         $Output .= $this->SystemMessage('Registrace nového účtu', $this->System->Modules['User']->RegisterConfirm($_GET['User'], $_GET['H']));
     284        $Output .= $this->SystemMessage('Potvrzení registrace', $this->System->Modules['User']->RegisterConfirm($_GET['User'], $_GET['H']));
    285285      } else
    286286      if($_GET['Action'] == 'PasswordRecovery')
     
    310310        $Form->LoadValuesFromForm();
    311311        $Result = $this->System->Modules['User']->Register($Form->Values['Login'], $Form->Values['Password'], $Form->Values['Password2'], $Form->Values['Email'], $Form->Values['Name'], $Form->Values['PhoneNumber'], $Form->Values['ICQ']);
    312         $Output .= $this->SystemMessage('Nastavení', $Result);
     312        $Output .= $this->SystemMessage('Registrace nového účtu', $Result);
    313313        if($Result <> USER_REGISTRATED)
    314314        {
  • trunk/otevreno.php

    r164 r203  
    1111  function Show()
    1212  {
    13     $Output = '<div align="center">';
     13    $Output = '<div class="Centred">';
    1414    $DbResult = $this->Database->query('SELECT SubjectOpenTime.*, DATE_FORMAT(SubjectOpenTime.UpdateTime, "%e.%c.%Y") as UpdateTime, Subject.Name as Name FROM SubjectOpenTime JOIN Subject ON Subject.Id = SubjectOpenTime.Subject ORDER BY Name');
    1515    while($Subject = $DbResult->fetch_assoc())
     
    2929      }
    3030
    31           $Output .= '<table class="WideTable">
     31            $Output .= '<table class="WideTable">
    3232<tr><th>Den</th><th>Čas</th></tr>';
    3333      foreach($this->DaysOfWeek as $DayIndex => $DayOfWeek)
     
    4646      }
    4747      $Output .= '</table>Aktualizováno: '.$Subject['UpdateTime'].'<br />';
    48       if($Subject['Notice'] != '') $Output .= '</table>Poznámka: '.$Subject['Notice'].'<br />';
     48      if($Subject['Notice'] != '') $Output .= 'Poznámka: '.$Subject['Notice'].'<br />';
    4949      $Output .= '<br />';
    5050    }
     51    $Output .= '</div>';
    5152    return($Output);
    5253  }
  • trunk/style.css

    r202 r203  
    264264  border-width: 1px 1px 0px 0px;
    265265  border-spacing: 0px;
     266  text-align: center;
     267  margin-left: auto;
     268  margin-right: auto; 
    266269}
    267270
Note: See TracChangeset for help on using the changeset viewer.