Page MenuHomeIn-Portal Phabricator

simple
No OneTemporary

File Metadata

Created
Tue, Aug 19, 6:35 PM
Index: branches/1.0.x/redirect.tpl
===================================================================
--- branches/1.0.x/redirect.tpl (nonexistent)
+++ branches/1.0.x/redirect.tpl (revision 12969)
@@ -0,0 +1,55 @@
+<!--##
+<NAME>Redirect</NAME>
+<DESC></DESC>
+<SECTION></SECTION>
+##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+ <div class="movable-element">
+
+ <script type="text/javascript">
+ function exec_refresh() {
+ window.status = 'Redirecting...' + myvar;
+ myvar = myvar + ' .';
+
+ var timerID = setTimeout('exec_refresh();', 100);
+
+ if (timeout > 0) {
+ // prints dots in status bar for timeout * 100 miliseconds (will be 2 seconds)
+ timeout -= 1;
+ }
+ else {
+ clearTimeout(timerID);
+ window.status = '';
+ window.location = '<inp2:m_Get name="redirect_to" js_escape="1"/>';
+ }
+ }
+
+ var myvar = '';
+ var timeout = 20;
+
+ exec_refresh();
+ </script>
+
+ <form action="<inp2:m_FormAction />" method="get">
+ <br />
+ <!-- lu_redirecting_text -->
+ <a href="<inp2:m_Get name='redirect_to'/>"><inp2:m_Phrase label="lu_text_Redirect" /></a><br />
+ <br />
+ <script type="text/javascript">
+ document.write('<input type="submit" class="button" value=" Proceed " accesskey="s" onclick="window.location=\'<inp2:m_Get name="redirect_to" js_escape="1"/>\'; return false" />');
+ </script>
+ </form>
+
+ <br /><br />
+
+ </div>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<!--## INCLUDE MAIN DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des"/>
+<!--## /INCLUDE MAIN DESIGN TEMPLATE ##-->
\ No newline at end of file

Event Timeline