Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F785138
default
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
Wed, Feb 12, 4:11 AM
Size
1 KB
Mime Type
text/x-diff
Expires
Fri, Feb 14, 4:11 AM (1 d, 14 h)
Engine
blob
Format
Raw Data
Handle
564197
Attached To
rTDEF Themes.Default
default
View Options
Index: branches/5.0.x/redirect.tpl
===================================================================
--- branches/5.0.x/redirect.tpl (nonexistent)
+++ branches/5.0.x/redirect.tpl (revision 12968)
@@ -0,0 +1,57 @@
+<!--##
+<NAME>Redirect</NAME>
+<DESC></DESC>
+<SECTION>Pages</SECTION>
+##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+ <inp2:m_RenderElement design="content_box">
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_Phrase name="lu_title_Redirect"/>
+ </inp2:m_Capture>
+
+ <br /><br />
+ <inp2:m_phrase name="lu_text_Redirect"/>
+
+ <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 />
+
+ </inp2:m_RenderElement>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<inp2:m_include template="designs/default_design.des" page_class="inner"/>
\ No newline at end of file
Event Timeline
Log In to Comment