Show hosts name in quotas
Moderator: Moderators
Re: Show hosts name in quotas
It is not reasonable to learn a whole language to correct a single line, in addition to my mother tongue being Arabic so to learn harder for me.
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Re: Show hosts name in quotas
If you want to help me tell me where the line will be modified, I will try. 

TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Re: Show hosts name in quotas
It is a non-trivial change because the entire page relies on the fact that the IP addresses are in that column to set the configuration properly.
I do not have the time to write a full solution for you.
You need a "-n" on this line
https://github.com/ericpaulbishop/gargo ... otas.sh#L8
as per the example in hosts.js here
https://github.com/ericpaulbishop/gargo ... osts.sh#L8
to get the mapping between hostnames and ips.
From there, you need to make heavy modification to hosts.js to use these mappings without breaking the functionality.
The two starting points are resetData() and saveChanges(). All other functions are called by one of those two.
I do not have the time to write a full solution for you.
You need a "-n" on this line
https://github.com/ericpaulbishop/gargo ... otas.sh#L8
as per the example in hosts.js here
https://github.com/ericpaulbishop/gargo ... osts.sh#L8
to get the mapping between hostnames and ips.
From there, you need to make heavy modification to hosts.js to use these mappings without breaking the functionality.
The two starting points are resetData() and saveChanges(). All other functions are called by one of those two.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Show hosts name in quotas
Thanks a lot, I'll try.
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen