Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F848105
advanced
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
Sun, Apr 20, 12:19 AM
Size
3 KB
Mime Type
text/x-diff
Expires
Tue, Apr 22, 12:19 AM (18 h, 23 m)
Engine
blob
Format
Raw Data
Handle
602857
Attached To
rTADV Themes.Advanced
advanced
View Options
Index: branches/1.1.x/platform/designs/form.tpl
===================================================================
--- branches/1.1.x/platform/designs/form.tpl (revision 13386)
+++ branches/1.1.x/platform/designs/form.tpl (revision 13387)
@@ -1,70 +1,80 @@
<!--##
<NAME>Forms - Section Template</NAME>
<DESC>Online Form</DESC>
<SECTION>Platform</SECTION>
##-->
+
+<inp2:m_if check="form_Field" name="RequireLogin" db="db">
+ <inp2:m_RequireLogin login_template="platform/login/register"/>
+</inp2:m_if>
+
<inp2:m_include template="platform/elements/dynamic_forms.elm"/>
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:st_PageInfo type="title"/>
</inp2:m_DefineElement>
<!--## //PAGE TITLE ELEMENT ##-->
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<div class="movable-area">
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:st_PageInfo type="title"/>
</inp2:m_Capture>
<inp2:st_ContentBlock num="1"/>
<p>
<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
<inp2:formsubs_PresetFormFields/>
<inp2:m_if check="formsubs_HasError" field="any">
<inp2:m_RenderElement name="error_message" />
</inp2:m_if>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
<form method="post" action="<inp2:m_FormAction m_cat_id="0" m_cat_page="1"/>">
<table class="form-data fullwidth">
<inp2:formflds_PrintList render_as="form_field" SourcePrefix="formsubs" per_page="-1"/>
+ <inp2:m_if check="form_Field" name="UseSecurityImage" db="db">
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="0"/>
+ <inp2:m_RenderElement name="inp_edit_captcha" prefix="formsubs" is_last="1"/>
+ </inp2:m_if>
+
<inp2:m_RenderElement design="inp_edit_buttons">
<input type="submit" class="button" name="events[formsubs][OnCreate]" value="<inp2:m_Phrase label="lu_send" no_editing="1"/>"/>
<input type="hidden" name="<inp2:formsubs_InputName field="FormId"/>" value="<inp2:m_Get var="form_id"/>"/>
<input type="hidden" name="form_id" value="<inp2:m_Get var="form_id"/>"/>
<input type="hidden" name="success_template" value="<inp2:st_Field name="FormSubmittedTemplate"/>"/>
</inp2:m_RenderElement>
</table>
</form>
</p>
<inp2:st_ContentBlock num="2"/>
</inp2:m_RenderElement>
</div>
</div>
</inp2:m_DefineElement>
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Event Timeline
Log In to Comment