[%USE O%][%USE this.plugin%]
<script>
var VAR1 = {};
</script>
<div class="bgbody">
[% IF createpage == 0 %]
<h1 class="title">WHM Single Sign-on</h1>
<div class="rvclear"> </div>
<h2 class="title">Web Access Settings</h2>
<div class="databox">
<div class="infodata_msg">Here you can create a URL for RVLogin Access as a Single sign-on server, such as yourdomainname.com. This will help you easily access to your Single sign-on server.</div>
</div>
<div class="rvclear"> </div>
<div><img src="./themes/default/images/info_whm.jpg" alt="" /></div>
<div class="rvclear"> </div>
<form method="post" action="index.cgi?/rvlogin/rvlogin/action/createlogin" name="createloginpage">
<div><input type="submit" name="" value="Create RVLogin Gateway Page" class="btn" /></div>
</form>
<div class="rvclear spacing"></div>
[% ELSE %]
<h1 class="title">WHM Single Sign-on</h1>
<div class="databox">
<div class="infodata_msg">Here you can create a URL for RVLogin Access as a Single sign-on server, such as yourdomainname.com. This will help you easily access to your Single sign-on server.</div>
</div>
<div class="rvclear"> </div>
<h2 class="title">WHM Single sign-on URL</h2>
<form method="post" action="index.cgi?/rvlogin/rvlogin/action/docreatelogin" name="editloginpage" onsubmit="return validateLoginForm();">
<div>
<div class="form_txtname">Login URL:</div>
<div class="form_inputbox"><input type="text" id="loginurl" name="loginurl" value="[% url %]" /></div>
<input type="hidden" id="loginurl_old" name="loginurl_old" value="[% url %]" />
</div>
<div class="rvclear"></div>
<div style="display:none;" id="loginurl_error">
<div class="form_txtname"></div>
<div class="form_inputbox"><span style="color:red">Login URL Invalid</span></div>
</div>
<div style="display:none;" id="loginurl_warning">
<div class="form_txtname"></div>
<div class="form_inputbox"><span style="color:#f3c749">The Login URL is not the updated one yet. Please check again.</span></div>
</div>
<div class="rvclear spacing"></div>
<div>
<div class="form_txtname">Login User:</div>
<div class="form_inputbox_dis"><input type="text" name="" value="root" disabled/></div>
</div>
<div class="rvclear spacing"></div>
<input type="hidden" id="defauleLoginUrl" value="[% url %]">
<div class="form_description"><input type="submit" name="" value="Update" class="btn" /> <input type="button" name="" id="resetLoginUrl" value="Reset to default" class="btn" /></div>
</form>
<div class="rvclear spacing"></div>
<h2 class="title">WHM Single sign-on URL settings:</h2>
<div class="databox">
<div class="infodata_msg"> If you want to change URL for WHM Single sign-on. You can do it by the following settings.</div>
</div>
<div class="rvclear"> </div>
<div class="lineheight">
<div>1. Remove the current Implement file from the old URL.</div>
<div>2. Click the Implement file here. <a href="./rvloginindex.html" target="_blank" download>Download</a> (The current file from the old URL cannot be used)</div>
<div>Upload the downloaded file to the destination domain, in File Manager -> publish_html.</div>
</div>
[% END %]
</div>
Copyright 2K16 - 2K18 Indonesian Hacker Rulez