Changeset 29 for trunk


Ignore:
Timestamp:
Dec 27, 2018, 4:54:23 PM (6 years ago)
Author:
chronos
Message:
  • Fixed: Better HTML validaty.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r28 r29  
    7878    while($Dance = $DbResult->fetch_assoc())
    7979    {
    80       $Output .= '<tr><td>'.$Dance['Name'].'</th><td>'.$Dance['GroupName'].'</td>';
     80      $Output .= '<tr><td>'.$Dance['Name'].'</td><td>'.$Dance['GroupName'].'</td>';
    8181      $DbResult2 = $this->Database->select('ResourceGroup', '*');
    8282      while($ResourceGroup = $DbResult2->fetch_assoc())
     
    144144      }
    145145    } else {
    146     $Output .= '<script>function reloadlist(){ $(\'#meetlist\').load(document.URL + \' #meetlist\');}'.
     146    $Output .= '<script type="text/javascript">function reloadlist(){ $(\'#meetlist\').load(document.URL + \' #meetlist\');}'.
    147147      ' var load_timer = 100;
    148148   var ltimer = null;
     
    201201      '<div class="label-box">Jméno</div>'.
    202202      '<input value="'.$_SESSION['name'].'" onkeyup="if(event.keyCode!=9) upf(\'name\',$(this).val(),(event.keyCode==13?0:1)); '.
    203       '" id="name" autocomplete="off" type="text">'.
     203      '" id="name" autocomplete="off" type="text"/>'.
    204204      '</div> ';
    205205    $Output .= '<div class="filter-num-box">'.
    206206      '<div class="label-box">Věk</div>'.
    207207      '<input value="'.$_SESSION['vekod'].'" onkeyup="if(event.keyCode!=9) upf(\'vekod\',$(this).val(),(event.keyCode==13?0:1)); '.
    208       '" id="vekod" autocomplete="off" type="text">'.
     208      '" id="vekod" autocomplete="off" type="text"/>'.
    209209      '<div class="label-box">-</div>'.
    210210      '<input value="'.$_SESSION['vekdo'].'" onkeyup="'.
     
    216216      '<div class="label-box">Výška</div>'.
    217217      '<input value="'.$_SESSION['vyskaod'].'" onkeyup="if(event.keyCode!=9) upf(\'vyskaod\',$(this).val(),(event.keyCode==13?0:1)); '.
    218       '" id="vyskaod" autocomplete="off" type="text">'.
     218      '" id="vyskaod" autocomplete="off" type="text"/>'.
    219219      '<div class="label-box">-</div>'.
    220220      '<input value="'.$_SESSION['vyskado'].'" onkeyup="'.
    221221      'if(event.keyCode!=9) upf(\'vyskado\',$(this).val(),(event.keyCode==13?0:1));" '.
    222       'id="vyskado" autocomplete="off" type="text">'.
     222      'id="vyskado" autocomplete="off" type="text"/>'.
    223223      '<div class="label-box">cm</div>'.
    224224      '</div> ';
     
    226226      '<div class="label-box">Váha</div>'.
    227227      '<input value="'.$_SESSION['vahaod'].'" onkeyup="if(event.keyCode!=9) upf(\'vahaod\',$(this).val(),(event.keyCode==13?0:1)); '.
    228       '" id="vahaod" autocomplete="off" type="text">'.
     228      '" id="vahaod" autocomplete="off" type="text"/>'.
    229229      '<div class="label-box">-</div>'.
    230230      '<input value="'.$_SESSION['vahado'].'" onkeyup="'.
    231231      'if(event.keyCode!=9) upf(\'vahado\',$(this).val(),(event.keyCode==13?0:1));" '.
    232       'id="vahado" autocomplete="off" type="text">'.
     232      'id="vahado" autocomplete="off" type="text"/>'.
    233233      '<div class="label-box">Kg</div>'.
    234234      '</div> ';
     
    236236      '<div class="label-box">Umístění</div>'.
    237237      '<input value="'.$_SESSION['location'].'" onkeyup="if(event.keyCode!=9) upf(\'location\',$(this).val(),(event.keyCode==13?0:1)); '.
    238       '" id="location" autocomplete="off" type="text">'.
     238      '" id="location" autocomplete="off" type="text"/>'.
    239239      '</div> ';   
    240240    $Output .= '<div class="filter-num-box">'.
    241241      '<div class="label-box">Zpráva</div>'.
    242242      '<input value="'.$_SESSION['message'].'" onkeyup="if(event.keyCode!=9) upf(\'message\',$(this).val(),(event.keyCode==13?0:1)); '.
    243       '" id="message" autocomplete="off" type="text">'.
     243      '" id="message" autocomplete="off" type="text"/>'.
    244244      '</div> ';   
    245245    }
     
    308308    else
    309309    {
    310       $Output .= '<a href="'.$this->Link('/seznamka/rss/').'"><img src="'.$this->Link('/images/rss20.png').'" alt="rss20"/></a><br/>';
     310      $Output .= '<div><a href="'.$this->Link('/seznamka/rss/').'"><img src="'.$this->Link('/images/rss20.png').'" alt="rss20"/></a></div>';
    311311    }
    312312
     
    395395      '<link rel="stylesheet" href="'.$this->Link('/style.css').'" type="text/css" media="all" />'.
    396396      '<meta http-equiv="content-type" content="application/xhtml+xml; charset='.$this->Config['Encoding'].'" />'.
    397       '<script src="'.$this->Link('/jquery.js').'"></script>';
     397      '<script type="text/javascript" src="'.$this->Link('/jquery.js').'"></script>';
    398398    $Output .= '<link rel="alternate" title="Taneční seznamka" href="'.
    399399      $this->Link('/seznamka/rss/').'" type="application/rss+xml" />';
Note: See TracChangeset for help on using the changeset viewer.