Following is a small tip to add SEARCH or EDIT function for DMASOFTLAB Radius Manager admin page.
Ideally you should have HTML editor software, I use Ms FRONTPAGE, but if you know the basics of html, you can even use any good text editor like NOTEPAD++
in /var/www/radiusmanager folder, open the adminmain_tpl.htm file in the html editor.
(for centos , use /var/www/html/radiusmanager/)
You will see something like following.
Now search for word {CONTENT} and after this line, paste the following html code
<table border="1" width="100%"> <tr> <td><table width="100%" border="0" cellpadding="5" cellspacing="0" class="tb-bg"> <tr> <td><form name="form2" method="post" action="admin.php?cont=list_users"> <p class="title2"><font color="#FF0000">{FNDUSR23} User Database</font></p> <table border="0" align="center" cellpadding="2" cellspacing="2" width="421"> <tr> <td nowrap class="normal" width="112"><div align="left"> {FNDUSR2}: </div></td> <td class="normal"> <input name="username" type="text" class="normal" id="username" size="29" maxlength="32"></td> </tr> </table> <p align="center"> <input type="submit" name="Submit2" value="{FNDUSR23}"> </p> </form> </td> </tr> </table></td>
.
Now it will look like following after the edition.
Save this file. (If you are saving from windows, then after saving, upload the file backup to /var/www/radiusmanager/ folder [if you have Ubuntu.
[ If you have centos then copy to /var/www/html/radiusmanager/ ]
Now reload the admin page and you will see some thign like as below …
Regard’s
Syed Jahanzaib
Filed under: Radius Manager