Changeset 36


Ignore:
Timestamp:
Feb 3, 2019, 12:34:18 AM (6 years ago)
Author:
chronos
Message:
  • Added: Set HTML viewport.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Meet.php

    r32 r36  
    347347      '(`Message` = "'.$this->Database->real_escape_string($this->Message).'") AND '.
    348348      '(`Email` = "'.$this->Database->real_escape_string($this->Email).'") AND '.
    349       '(`Time` = "'.$this->Database->real_escape_string(TimeToMysqlDateTime($this->Time)).'")');
     349      '(DATE(`Time`) = "'.$this->Database->real_escape_string(TimeToMysqlDate($this->Time)).'")');
    350350    if ($DbResult->num_rows == 0)
    351351    {
  • trunk/index.php

    r35 r36  
    429429      '<link rel="stylesheet" href="'.$this->Link('/style.css').'" type="text/css" media="all" />'.
    430430      '<meta http-equiv="content-type" content="application/xhtml+xml; charset='.$this->Config['Encoding'].'" />'.
     431      '<meta name="viewport" content="width=device-width, initial-scale=1">'.
    431432      '<script type="text/javascript" src="'.$this->Link('/jquery.js').'"></script>';
    432433    $Output .= '<link rel="alternate" title="Taneční seznamka" href="'.
     
    445446    $this->NoFullPage = true;
    446447    $Result = 'User-agent: *'."\n".
    447       'Disallow: /*?'."\n".
     448      'Disallow: /*?*'."\n".
    448449      'Sitemap: '.$this->AbsoluteLink('/sitemap.xml');
    449450    return($Result);
Note: See TracChangeset for help on using the changeset viewer.