Changeset 439


Ignore:
Timestamp:
Oct 13, 2012, 5:56:32 PM (12 years ago)
Author:
chronos
Message:
  • Opraveno: Odkazy na jednotku Global.
  • Opraveno: Správné zobrazování URL jako klikacích odkazů v aktualitách.
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Common/Forms.php

    r438 r439  
    11<?php
    22
    3 include_once('form_classes.php');
     3include_once('../form_classes.php');
    44include_once('Database.php');
    55
  • trunk/Common/User.php

    r438 r439  
    344344      $Mail->Subject = 'Obnova hesla';
    345345      $Mail->From = $Config['Web']['Title'].' <noreplay@zdechov.net>';
    346       $Mail->Recipients[] = $Row['Email'];
     346      $Mail->AddTo($Row['Email'], $Row['Name']);
    347347      $Mail->AddBody('Požádali jste o zaslání nového hesla na serveru <a href="http://'.
    348348        $Config['Web']['Host'].$Config['Web']['RootFolder'].'">http://'.
     
    369369      if(($NewPassword == $NewPassword2) and ($Hash == $Row['Password']))
    370370      {
    371         $PasswordHash = new PasswordHast();
     371        $PasswordHash = new PasswordHash();
    372372        $Salt = $PasswordHash->GetSalt();
    373373        $this->Database->update('User', 'Id='.$Row['Id'], array('Password' => $PasswordHash->Hash($NewPassword, $Salt),
  • trunk/aktuality/news.php

    r312 r439  
    2929          $URL = substr($Content, 0, strpos($Content, ' '));
    3030          else $URL = substr($Content, 0);
     31        if(strpos($Content, '<') !== false)
     32          $URL = substr($Content, 0, strpos($Content, '<'));
     33          else $URL = substr($Content, 0);
     34        echo('['.$URL.']');
    3135        $Result .= '<a href="'.$URL.'">'.$URL.'</a>';
    3236        $Content = substr($Content, strlen($URL));
  • trunk/mapa.php

    r417 r439  
    11<?php
    22
    3 include_once('global.php');
    4 
     3include_once('Common/Global.php');
    54
    65class WebMapPage extends Page
  • trunk/system/generators/linux/iptables.php

    r239 r439  
    11<?php
    22if(isset($_SERVER['REMOTE_ADDR'])) die();
    3 include_once('../../global.php');
     3include_once('../../Common/Global.php');
    44
    55// Generate firewall rules
Note: See TracChangeset for help on using the changeset viewer.