Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1103198
simple
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Aug 19, 6:35 PM
Size
1 KB
Mime Type
text/x-diff
Expires
Thu, Aug 21, 6:35 PM (11 h, 3 m)
Engine
blob
Format
Raw Data
Handle
714458
Attached To
rTSIM Themes.Simple
simple
View Options
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
Log In to Comment