CINXE.COM
UPU Portal
<!--- Description>>> Template Page for Login Page Provides the user with user cerdentials form for logging in to IVE. re Template Variables>>> prompts - This variable is an array of hashes that contain username/password text box information. LoginPageErrorCode - This argument contains the error code in case of an Error or Message. 1020: Password Change Success 1021: Account Disabled 1022: Account Locked out 1023: Account Expired Usage: RealmList - List of Realms If size is 0. Allow the user to enter the Realm in text box IF size is > 1 , Allow the user to enter in List box AnonymousAuthentication - Set if IVE allows anonymous auth CertificateAuthentication -Set if IVE allows certificate auth SAMLAuthentication -Set if IVE allows SAML consumer auth If any of above two is set, the realm is avaialable in RealmList.0. It needs to be sent in the form as hidden variable. LoginPageErrorMessage Required Template Variables>>> LoginPageErrorMessage The four new variables added are: hcInAcTimeout - Specifies the HC login inactivity timeout in minutes hcRunning - Specifies whether HC is running or not, by looking at the DSPREAUTH cookie. ccInAcTimeout - Specifies the CC login inactivity timeout in minutes ccRunning - Specifies whether CC is running or not, by looking at the DSPREAUTH cookie. Other>>> 1. The following HTML Code with appropriate formatting is required to be present in the FORM: <input type="hidden" name="tz_offset"> username <input type="text" name="username">password <input type="password" name="password"> 2. FORM Action must be 'login.cgi' 3. For custom pages to display the custom logo and not the juniper logo, do the following change in the way logo image is being refrenced below. change the following occurance src="welcome.cgi?p=logo&signinId=url_9" to src="/dana-na/auth/url_9/imgs/custom-logo.gif" where custom-logo.gif is the image/file name that was uploaded as part of the modified custom sign-in page zip file. ---> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Language"> <meta http-equiv="Content-Type" content="text/html"> <meta name=robots content="none"> <!-- UPU CUSTOMS --> <title>UPU Portal</title> <!-- END UPU CUSTOMS --> <script src="/dana-na/css/ds.js"></script> <script> WriteCSS(); </script> <script> <!-- if (window.top != self) { top.location = location; } if(window.name == "newpincancel" || window.name == "nexttokencancel") { window.close(); } //--></script> <script> <!-- function hideJSWarn() { if(window.top == self) { document.getElementById('noJSWarn').style.display = "none"; } } //--></script> <script src="/dana-na/auth/lastauthserverused.js"></script> <script>function deletepreauth() { document.cookie = "DSPREAUTH="+ escape("")+ ";path=/dana-na/;expires=12-Nov-1996"; } </script> <link rel="stylesheet" href="/dana-na/auth/url_9/css/screen.css" type="text/css" media="screen"> <link href="/dana-na/auth/url_9/css/jquery.zrssfeed.css" rel="stylesheet" type="text/css" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script> <script src="/dana-na/auth/url_9/js/jquery.zrssfeed.min.js" type="text/javascript"></script> <script src="/dana-na/auth/url_9/js/jquery.vticker.js" type="text/javascript"></script> <script> $(function(){ $(".autoEmpty").each(function(){ var defaultText = $(this).val(); $(this).focus(function(){ if($(this).val()==defaultText){ $(this).val(""); } }); $(this).blur(function(){ if($(this).val()==""){ $(this).val(defaultText); } }); }); }); </script> <script type="text/javascript"> $(document).ready(function () { $('#ticker').rssfeed('http://news.upu.int/news/?type=100',{linktarget:'_new'}, function(e) { $(e).find('div.rssBody').vTicker({ showItems: 2}); }); }); </script> </head> <body onload="FinishLoad(1);hideJSWarn();"> <div id="noJSWarn" class="cssSecurityWarning">Your browser is executing scripts on this page. If this message persists, please make sure that you are visiting a correct site and JavaSript support is enabled in your browser, and then try again.</div><div id="header"> <img src="img/logo_en.png" /> <h1>Welcome to the UPU portal</h1> <h2>Access for visitors</h2> <div id="menu"> <a href="/" id="lk-home"> Home </a> </div> </div> <div id="container"> <div id="postal-net"></div> <div id="bk-login"> <form id="frmLogin" name="frmLogin" action="login.cgi" method="POST" autocomplete="off" onsubmit="return Login(1)"> <fieldset> <!-- <legend>Please sign in to begin your secure session</legend> --> <input type="hidden" name="tz_offset"> <div id="frmLoginFields"> <p> <label>username</label> <input type="text" name="username" size="20" class="autoEmpty" id="username" value="Type your username"> </p> <p> <label>password</label> <input type="password" name="password" size="20" class="autoEmpty" id="password" value="Type your password"> </p> <input type="hidden" name="realm" value="visitor"> <p><input id="btn-login" type="submit" value="Sign In" name="btnSubmit"></p> </div> </fieldset> </form> </div> </div> <div id="footer"> <div id="footer-col1"> <h3>Contact us</h3> <div class="post-adr"> <a href="http://maps.google.fr/maps?q=universal+postal+union,+weltpoststrasse+4,+3015+berne+switzerland&hl=fr&sll=32.39654,-93.766122&sspn=70.503579,135.263672&hq=universal+postal+union,&hnear=Weltpoststrasse+4,+Kirchenfeld-Schosshalde,+3015+Bern,+Berne,+Suisse&t=m&z=17" target="_new"> Universal postal union<br> Weltpoststrasse 4<br> 3015 Berne<br> SWITZERLAND </a> </div> <div class="phone"> T: +41 (0)31.350.31.11 </div> <div class="fax"> F: +41 (0)31.350.31.11 </div> <div class="spacer"> </div> <h3>Other links</h3> <a id="lk-www" class="footer-lk" target="_new" title="Le site internet de l'UPU" href="http://www.upu.int"> <span>Site internet de l'UPU</span> </a> <a id="lk-fs" class="footer-lk" target="_new" title="Securely transfer heavy files" href="http://files.upu.int"> <span>Secure file transfer</span> </a> <a id="lk-gm" class="footer-lk" target="_new" title="Google map" href="http://maps.google.fr/maps?q=universal+postal+union,+weltpoststrasse+4,+3015+berne+switzerland&hl=fr&sll=32.39654,-93.766122&sspn=70.503579,135.263672&hq=universal+postal+union,&hnear=Weltpoststrasse+4,+Kirchenfeld-Schosshalde,+3015+Bern,+Berne,+Suisse&t=m&z=17"> <span>Google map</span> </a> </div> <div id="footer-col2"> <h3>Latest news</h3> <div id="ticker"></div> <h3>Follow us online</h3> <div id="social-media"> <a id="lk-news" class="footer-lk" target="_new" title="UPU news" href="http://news.upu.int"> <span>UPU news</span> </a> <a id="lk-fb" class="footer-lk" target="_new" title="Follow us on Facebook" href="http://www.facebook.com/universalpostalunion"> <span>Facebook UPU</span> </a> <a id="lk-fkr" class="footer-lk" target="_new" title="Flickr UPU" href="http://www.flickr.com/photos/universal_postal_union/sets/"> <span>Flickr UPU</span> </a> <a id="lk-yt" class="footer-lk" target="_new" title="Follow us on Youtube" href="http://www.youtube.com/user/UniversalPostalUnion"> <span>Youtube channel UPU</span> </a> <a id="lk-rss" class="footer-lk" target="_new" title="RSS feed UPU" href="http://news.upu.int/news/?type=100"> <span>RSS feed UPU</span> </a> </div> </div> <div id="footer-col3"> <iframe id="youtube-player" width="300" height="300" src="https://www.youtube.com/embed/videoseries?list=UUNh_kQgg0_z7cQ5ophpdgJA&hl=fr_FR" frameborder="0" allowfullscreen></iframe> <div id="copyrights"> © Universal postal union 2012 - <a href="#">Disclaimer</a> - <a href="#">Technical requirements</a> </div> </div> </div> </body> </html>