Jump to content

Template login.htm is blank in version 5.2


chrispopp

Recommended Posts

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.

Link to comment
Share on other sites

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>
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...