Jump to content

Domainchecker.tpl modification


MJHost

Recommended Posts

replace the pricing table part of domainchecker.tpl with this...

 

<div id="pricingTable"{if $performingLookup} class="hidden"{/if}>

   <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
       <div class="panel panel-default">
           <div class="panel-heading" role="tab" id="heading{$tldCategory->id}">
               <h4 class="panel-title">
                   <a data-toggle="collapse" data-parent="#accordion" href="#collapseAll" aria-expanded="true" aria-controls="collapseAll" class="domain-tld-pricing-category">
                       {$LANG.alltldpricing}
                   </a>
               </h4>
           </div>
           <div id="collapseAll" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingAll">
               <div class="panel-body">
                   <div class="row">
                       <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2 table-responsive domain-tld-pricing-table-responsive">
                           <table class="table table-striped table-framed">
                               <thead>
                                   <tr>
                                       <th class="text-center">{$LANG.domaintld}</th>
                                       <th class="text-center">{$LANG.domainminyears}</th>
                                       <th class="text-center">{$LANG.domainsregister}</th>
                                       <th class="text-center">{$LANG.domainstransfer}</th>
                                       <th class="text-center">{$LANG.domainsrenew}</th>
                                   </tr>
                               </thead>
                               <tbody>
                                   {foreach $tldpricelist as $tld}
                                       <tr>
                                           <td>{$tld.tld}</td>
                                           <td class="text-center">{$tld.period}</td>
                                           <td class="text-center">{if $tld.register}{$tld.register}{else}{$LANG.domainregnotavailable}{/if}</td>
                                           <td class="text-center">{if $tld.transfer}{$tld.transfer}{else}{$LANG.domainregnotavailable}{/if}</td>
                                           <td class="text-center">{if $tld.renew}{$tld.renew}{else}{$LANG.domainregnotavailable}{/if}</td>
                                       </tr>
                                   {/foreach}
                               </tbody>
                           </table>
                       </div>
                   </div>
               </div>
           </div>
       </div>
   </div>

</div>

Link to comment
Share on other sites

  • 9 months later...
  • 1 month later...
  • 2 months later...
  • 3 weeks later...

you mean the 'domainpricelist.php' file that is part of ResellerClubMods free addon - or some other file ?

if so, it's encrypted and can't be tweaked - unless there is an option in the settings to do this.

 

it would be relatively simple to produce a page to show all TLD pricing - if nothing else, you could use the domainpricing.php data feed to show them.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated