Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Where is this part?
#1
Hello,
Actually,I'm not the real owner of this acc.
I'm only one of staff (admin) in his (real owner) hosting service.
I borrowed this acc. with his permission & this is my first post in here.
My real nickname is adisp007.I ever joined the discussion on THT' Google Code: http://code.google.com/p/thehostingtool/...ail?id=123

To the point.
When I edited the P2H package,show this:
   
I want to fix it.
But,where is that part? Which the file that I must to edit?

Oh,1 more question.
We are using MyBB forum software.& there are features to change username forum & allow "space" on it.
Will that features be affect to forum username on THT database?

Thanks in advance.
Here are my domains
Free offshore hosting
Cheap Offshore Reseller,VPS,Dedicated hosting
Thanks to Tht for this amazing open-source script.
Reply
#2
That bug existed in previous versions as well. It doesn't affect any function though, so that should be fine.
Remote Servers - Shared, Reseller & KVM Hosting Services
Reply
#3
(11-15-2011, 04:33 AM)Liam D. Wrote: That bug existed in previous versions as well. It doesn't affect any function though, so that should be fine.

Yep.
Kevin Mark - TheHostingTool Lead Developer
Reply
#4
Yeah,but I only want to edit it. Big Grin

admin/pages/packages.php

PHP Code:
...
                        global 
$type;

                        
$array['FORM'] = $type->acpPedit($data['type'], $cform);

                        
$query $db->query("SELECT * FROM `<PRE>servers`");

                        while(
$data $db->fetch_array($query)) {

                            
$values[] = array($data['name'], $data['id']);    

                        }

                        
$array['SERVER'] = $array['THEME'] = $main->dropDown("server"$values$data['server']);

                        echo 
$style->replaceVar("tpl/editpackage.tpl"$array);
... 

Then,I go to: includes/tpl/editpackage.tpl

PHP Code:
...
<
table width="100%" border="0" cellspacing="2" cellpadding="0">

  <
tr>

    <
td colspan="2" id="customform">%FORM%</td>

  </
tr>

</
table>
... 

What is %FORM% ???
Confused



Regards,

adisp007
Here are my domains
Free offshore hosting
Cheap Offshore Reseller,VPS,Dedicated hosting
Thanks to Tht for this amazing open-source script.
Reply
#5
%FORM% is generated on line 157 of admin/pages/packages.php

You can take a look, but I will warn you that is messy as hell
Kevin Mark - TheHostingTool Lead Developer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)