/[corp_html]/contact.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /contact.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.14 by dpavlin, Tue Oct 2 09:59:03 2001 UTC revision 1.15 by dpavlin, Wed Nov 21 10:27:39 2001 UTC
# Line 16  if (! isset($from) || $from == "") { Line 16  if (! isset($from) || $from == "") {
16          if (strstr($from,"?")) $from=substr($from,0,strpos($from,"?"));          if (strstr($from,"?")) $from=substr($from,0,strpos($from,"?"));
17          if ($from == $HTTP_HOST || $from=="www.pliva.hr") $from="index";          if ($from == $HTTP_HOST || $from=="www.pliva.hr") $from="index";
18  }  }
19    $smarty->assign("from",$from);
20    
21  $email="webmaster@pliva.hr";    // default  $email="webmaster@pliva.hr";    // default
22    
# Line 55  if (isset($mailto) && check_required()) Line 56  if (isset($mailto) && check_required())
56          $main=$smarty->fetch("$main_file.tpl");          $main=$smarty->fetch("$main_file.tpl");
57  }  }
58    
59  $smarty->assign( array(MAIN=>$main, from=>$from,  $smarty->assign( array(MAIN=>$main,
60          contact_section=>1,          contact_section=>1,
61          ));          ));
62    

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.26