xWhois V1.0 - minor template problem

Date 2005/1/21 7:19:14 | Topic: Modules

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!



This article comes from XOOPS Web Application System
https://xoops.org

The URL for this story is:
https://xoops.org/modules/news/article.php?storyid=2015