/[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.15 by dpavlin, Wed Nov 21 10:27:39 2001 UTC revision 1.16 by dpavlin, Wed Nov 21 10:29:57 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  }  }
 $smarty->assign("from",$from);  
19    
20  $email="webmaster@pliva.hr";    // default  $email="webmaster@pliva.hr";    // default
21    
# Line 47  $smarty->assign(array(countries=>$countr Line 46  $smarty->assign(array(countries=>$countr
46    
47  include("common.inc");  include("common.inc");
48    
49    $smarty->assign("from",$from);
50    
51  if (isset($mailto) && check_required()) {  if (isset($mailto) && check_required()) {
52          $main="Your comment is sent to $mailto. Thank you.";          $main="Your comment is sent to $mailto. Thank you.";
53          include("quoted-printable.inc");          include("quoted-printable.inc");

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

  ViewVC Help
Powered by ViewVC 1.1.26