chrispopp Posted February 25, 2014 Report Share Posted February 25, 2014 Using v5.2 (CentOS) and when i got to Administrator templates and select login.htm, I find that it's blank. Whatever I modify in it, does not modify the login page. Any ideas, or is this the wrong file to edit in order to change the main screen. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted February 26, 2014 Report Share Posted February 26, 2014 We have changed the login procedure. Now you can really stay logged in and also the login in controlled by REST/JSON. Anyway, we had to rename the file to make sure that everybody gets the update. Otherwise you would get locked out from your PBX! We forgot to reflect the chance in the reg_texts, but you can edit that template yourself and change login to welcome. Then you can start editing that file as usual. Quote Link to comment Share on other sites More sharing options...
chrispopp Posted February 26, 2014 Author Report Share Posted February 26, 2014 Which part needs to change, this is my content of reg_texts: <html> <head> <title># sysadmin</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <link href="twocol.css" type="text/css" rel="stylesheet" /> <script src="pbx.js" type="text/javascript"></script> <script src="webtempl.js" type="text/javascript"></script> <script src="reg_format.js" type="text/javascript"></script> </head> <body> <table class="maintable"> <tr id="topbanner"></tr> <tr> <td id="navbar"></td> <td id="sepbar"></td> <td id="contbar"> <h1><span>#title</span> <span>help:AWEtem1</span></h1> <p>#expl</p> <p># cust_templates</p> <table class="toggtbl" id="ct"> </table> <div> <p># select</p> <form name="doc" method="post" onsubmit="return savePage(this.page, this.content, this.save);"> <p> <span>#custtype</span> <select name="ttype" id="ttype" onchange="showTemplates();"> <option value="">#templ</option> <option value="webr">#webr</option> <option value="webd">#webd</option> <option value="webu">#webu</option> <option value="email">#email</option> <option value="phone">#phone</option> </select> <span>#custpage</span> <select name="page" id="page" onchange="selectPage(this);"> <option value=""># page</option> </select> </p> <p id="welcome"> <textarea cols="80" rows="40" name="content" id="content"></textarea> </p> <p><input type="submit" name="templates" id="save" /></p> </form> </div> </td> </tr> </table> <script type="text/javascript"> // <!-- translateFiles["reg_domains.htm"] = 1; translateFiles["client_side_scripts.js"] = 1; setupRegEnvironment(); document.getElementById("save").value = lang("button", "save"); loadChangedTemplates(); // --> </script> </body> </html> Quote Link to comment Share on other sites More sharing options...
chrispopp Posted February 26, 2014 Author Report Share Posted February 26, 2014 Another issue that seems to be here with the templates is that the reg_footer does not reflect the changes on the admin page. But the changes are reflected in the dom, and usr, which is fine, maybe something to look at. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted February 26, 2014 Report Share Posted February 26, 2014 For time being, just use the attached file (rename it to webtemp.js and drop it into the html folder in the working directory of the PBX). Make sure you delete it when the next release is available. webtempl.txt Quote Link to comment Share on other sites More sharing options...
chrispopp Posted February 27, 2014 Author Report Share Posted February 27, 2014 When's the new release coming out? I rather wait, since this is just a tester. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted February 27, 2014 Report Share Posted February 27, 2014 I would assume end of next week. Still struggling with a few nitty gritty problems. 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.
Note: Your post will require moderator approval before it will be visible.