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">.comoption>
              <
option value=".net">.netoption>
              <
option value=".org">.orgoption>
              <
option value=".info">.infooption>
              <
option value=".biz">.bizoption>
              <
option value=".us">.usoption>
              <
option value=".ws">.wsoption>
              <
option value=".bz">.bzoption>
              <
option value=".nu">.nuoption>
              <
option value=".ca">.caoption>
              <
option value=".cc">.ccoption>
              <
option value=".name">.nameoption>
              <
option value=".tv">.tvoption>
            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">.comoption>
              <
option value=".net">.netoption>
              <
option value=".org">.orgoption>
              <
option value=".info">.infooption>
              <
option value=".biz">.bizoption>
              <
option value=".us">.usoption>
              <
option value=".ws">.wsoption>
              <
option value=".bz">.bzoption>
              <
option value=".nu">.nuoption>
              <
option value=".ca">.caoption>
              <
option value=".cc">.ccoption>
              <
option value=".name">.nameoption>
              <
option value=".tv">.tvoption>
            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