kipperjp Posted January 4, 2009 Share Posted January 4, 2009 Hello, The template system on whmcs is well thought out. Unfortunately I found a portion that is hard coded. The upgrade/downgrade of packages. I found the tables have hard coded styles: <table align="center" bgcolor="#cccccc" cellspacing="1" width="90%"> <tbody><tr style="text-align: center; font-weight: bold;" bgcolor="#efefef"><td width="55%">Description</td><td width="45%">Price</td></tr> <tr bgcolor="#ffffff"><td><input name="pid" value="2" type="hidden"><input name="billingcycle" value="monthly" type="hidden">Starter Hosting => Basic Hosting</td><td align="center">$9.33 USD</td></tr> <tr style="font-weight: bold;" bgcolor="#efefef"><td align="right">Subtotal: </td><td align="center">$9.33 USD</td></tr> <tr style="font-weight: bold;" bgcolor="#efefef"><td align="right">Total Due Today: </td><td align="center">$9.33 USD</td></tr> </tbody></table> Notice the style tags with the bgcolor and the font-weight attributes. Where is this code? It is not in the upgrade.tpl file. Thanks! -John 0 Quote Link to comment Share on other sites More sharing options...
bear Posted January 4, 2009 Share Posted January 4, 2009 Using a program like UltraEdit that allows for searching in unopened files makes locating these things simpler. I'm a bit behind on upgrading, and a search for "bgcolor="#efefef"><td align="right">Subtotal" turned up no results in the whole of the install directory. I did find something like it in the "upgradesummary.tpl" file in the default templates directory, however. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.