Modules

xWhois V1.0 - minor template problem

seventhseal  20-Jan-2005 22:25 4051 Reads   No comments 
We found a minor problem with the block templates included with xWhois V1.0. Basically, the form created would not pass the correct variable names to the processing component. We've corrected it in the package. You can get it HERE!

OR...

You can just replace both of the block templates with each of the following code:

b_xwhois.html
<table width="100%" cellpadding="0" cellspacing="0" align="center">
  <
tr><td align="center">
    <
form action="/modules/xwhois/domainresult.php" method="post">
      <
table align="center" width="100%">
        <
tr>
          <
td align="right">
            
Domain Name Searchwww.
          </
td>
          <
td>
            <
input name="xwhois_domain" type="text" size="20" maxlength="100">  
          </
td>
          <
td>
            <
select name="xwhois_domainext" size="1">
              <
option value=".com">.com</option>
              <
option value=".net">.net</option>
              <
option value=".org">.org</option>
              <
option value=".info">.info</option>
              <
option value=".biz">.biz</option>
              <
option value=".us">.us</option>
              <
option value=".ws">.ws</option>
              <
option value=".bz">.bz</option>
              <
option value=".nu">.nu</option>
              <
option value=".ca">.ca</option>
              <
option value=".cc">.cc</option>
              <
option value=".name">.name</option>
              <
option value=".tv">.tv</option>
            </
select>
          </
td>
          <
td>
            <
input type="submit" value="<{$block.search}>">
          </
td>
        </
tr>
      </
table>
    </
form>
  </
td></tr>
  <
tr><td align="center"><{$block.instr}></td></tr>
</
table>


and for bc_xwhois.html
<table width="100%" cellpadding="0" cellspacing="0" align="center">
  <
tr><td align="center">
    <
form action="/modules/xwhois/domainresult.php" method="post">
      
www.<input name="xwhois_domain" type="text" size="20" maxlength="100">  
          <
select name="xwhois_domainext" size="1">
              <
option value=".com">.com</option>
              <
option value=".net">.net</option>
              <
option value=".org">.org</option>
              <
option value=".info">.info</option>
              <
option value=".biz">.biz</option>
              <
option value=".us">.us</option>
              <
option value=".ws">.ws</option>
              <
option value=".bz">.bz</option>
              <
option value=".nu">.nu</option>
              <
option value=".ca">.ca</option>
              <
option value=".cc">.cc</option>
              <
option value=".name">.name</option>
              <
option value=".tv">.tv</option>
            </
select>
          <
input type="submit" value="<{$block.search}>">
    </
form>
  </
td></tr>
  <
tr><td align="center"><{$block.instr}></td></tr>
</
table>


No one had posted any issues, so the blocks may not be getting used too much. The module and underlying code works perfectly. So, no version change here. Thanks!
Rating 0/5
Rating: 0/5 (0 votes)
Voting is disabled!


Login

Who's Online

218 user(s) are online (3 user(s) are browsing Publisher)


Members: 0


Guests: 218


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits

Categories