Page MenuHomeIn-Portal Phabricator

advanced
No OneTemporary

File Metadata

Created
Wed, Feb 12, 4:20 PM

advanced

Index: branches/1.1.x/platform/my_account/my_account.tpl
===================================================================
--- branches/1.1.x/platform/my_account/my_account.tpl (revision 13814)
+++ branches/1.1.x/platform/my_account/my_account.tpl (revision 13815)
@@ -1,78 +1,79 @@
<!--##
<NAME>My Account</NAME>
<DESC>User account page</DESC>
<SECTION>My Account</SECTION>
##-->
<inp2:m_RequireLogin login_template="platform/login/register"/>
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:m_phrase name="lu_title_MyAccount" no_editing="1"/>
</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="my_account_element">
<tr>
<td class="directory-icon">
<img src="<inp2:m_TemplatesBase />/<inp2:m_param name="icon_image"/>" alt="" /><br />
</td>
<td class="directory-text">
<a href="<inp2:m_Link template="$template" m_cat_id="0" m_cat_page="1"/>" class="text-title"><inp2:m_Phrase name="$title"/></a>
<br />
<inp2:m_Phrase name="$description"/>
</td>
</tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount" templates="platform/my_account/my_account"/>
</div>
<div class="movable-element">
<!-- my account -->
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_MyAccount"/>
</inp2:m_Capture>
<table>
<inp2:m_RenderElement name="my_account_element" template="platform/my_account/my_profile" title="lu_MyProfile" description="lu_description_MyProfile" icon_image="platform/img/ic_myprofile46.gif" />
<inp2:m_RenderElement name="my_account_element" template="platform/my_account/my_favorites" title="lu_MyFavorites" description="lu_description_MyFavorites" icon_image="platform/img/ic_myfavorites46.gif"/>
<inp2:m_RenderElement name="my_account_element" template="platform/my_account/my_preferences" title="lu_MyPreferences" description="lu_description_MyPreferences" icon_image="platform/img/ic_mypreferences46.gif"/>
<inp2:m_ModuleInclude template="my_account/my_items.elm" place="contentbox" section="1"/>
</table>
</inp2:m_RenderElement>
<!-- // my account -->
<!-- my items -->
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_MyItems"/>
</inp2:m_Capture>
<table>
<inp2:m_ModuleInclude template="my_account/my_items.elm" place="contentbox" section="2"/>
</table>
</inp2:m_RenderElement>
<!-- // my items -->
</div>
</div>
</inp2:m_DefineElement>
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: branches/1.1.x/platform/my_account/my_profile.tpl
===================================================================
--- branches/1.1.x/platform/my_account/my_profile.tpl (revision 13814)
+++ branches/1.1.x/platform/my_account/my_profile.tpl (revision 13815)
@@ -1,81 +1,82 @@
<!--##
<NAME>My Profile</NAME>
<DESC></DESC>
<SECTION>My Account</SECTION>
##-->
<inp2:m_RequireLogin login_template="platform/login/register"/>
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:m_phrase name="lu_title_MyProfile" no_editing="1"/>
</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" titles="lu_title_MyAccount,lu_title_MyProfile" templates="platform/my_account/my_account,platform/my_account/my_profile"/>
</div>
<div class="movable-element">
<!-- my profile -->
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_MyProfile"/>
</inp2:m_Capture>
<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
<inp2:m_if check="u_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" enctype="multipart/form-data" action="<inp2:m_FormAction/>">
<table class="form-data fullwidth">
<inp2:m_RenderElement name="inp_label" prefix="u" field="Login" title="lu_fld_Login"/>
<inp2:m_RenderElement name="inp_edit_password" prefix="u" field="Password" title="lu_fld_Password" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_password" prefix="u" field="VerifyPassword" title="lu_fld_VerifyPassword" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="FirstName" title="lu_fld_FirstName" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="LastName" title="lu_fld_LastName" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Company" title="lu_fld_Company" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Phone" title="lu_fld_Phone" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Fax" title="lu_fld_Fax" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Email" title="lu_fld_Email" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_date" prefix="u" field="dob" title="lu_fld_BirthDate" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Street" title="lu_fld_AddressLine1" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Street2" title="lu_fld_AddressLine2" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="City" title="lu_fld_City" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="State" title="lu_fld_State" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Zip" title="lu_fld_Zip" style="width:55px" />
<inp2:m_RenderElement name="inp_edit_options" prefix="u" field="Country" title="lu_fld_Country" has_empty="1"/>
<inp2:m_RenderElement name="inp_edit_image_upload" prefix="u" field="PrimaryImage" title="lu_prompt_Avatar" is_last="1"/>
<inp2:m_RenderElement design="inp_edit_buttons">
<input class="button" type="submit" name="events[u][OnUpdate]" value="<inp2:m_Phrase label="lu_btn_Update" no_editing="1"/>"/>
<input type="hidden" name="next_template" value="platform/my_account/my_account"/>
</inp2:m_RenderElement>
</table>
</form>
</inp2:m_RenderElement>
<!-- // my profile -->
</div>
</div>
</inp2:m_DefineElement>
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: branches/1.1.x/platform/my_account/my_preferences.tpl
===================================================================
--- branches/1.1.x/platform/my_account/my_preferences.tpl (revision 13814)
+++ branches/1.1.x/platform/my_account/my_preferences.tpl (revision 13815)
@@ -1,122 +1,123 @@
<!--##
<NAME>My Preferences</NAME>
<DESC></DESC>
<SECTION>My Account</SECTION>
##-->
<inp2:m_RequireLogin login_template="platform/login/register"/>
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:m_phrase name="lu_title_MyPreferences" no_editing="1"/>
</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" titles="lu_title_MyAccount,lu_title_MyPreferences" templates="platform/my_account/my_account,platform/my_account/my_preferences"/>
</div>
<div class="movable-element">
<!-- my preferences -->
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_MyPreferences"/>
</inp2:m_Capture>
<table class="fullwidth tab-bottom-line">
<tr>
<td class="tab-left-padding">
<table>
<tr>
<inp2:m_ModuleInclude template="my_account/preferences_tab.elm" in-portal_template="platform/my_account/preferences_tab.elm"/>
</tr>
</table>
</td>
</tr>
</table>
<br/>
<strong><inp2:m_Phrase name="lu_Profile"/></strong><br /><br />
<form method="post" action="<inp2:m_FormAction/>">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
<table class="form-data fullwidth">
<tr>
<td style="width:140px">
<inp2:m_phrase name="lu_col_AccountInformation"/>
</td>
<td style="width:140px">
<inp2:m_phrase name="lu_col_CurrentValue"/>
</td>
<td>
<inp2:m_phrase name="lu_col_DisplayToPublic"/>
</td>
</tr>
<tr>
<td class="field-name"><inp2:m_phrase name="lu_fld_Login"/></td>
<td><inp2:u_Field field="Login"/></td>
<td class="field-value">&nbsp;</td>
</tr>
<tr>
<td colspan="3">
<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
</td>
</tr>
<inp2:m_include template="platform/elements/preferences.elm"/>
<inp2:m_RenderElement name="privacy_element" field="pp_firstname" title="lu_fld_FirstName"/>
<inp2:m_RenderElement name="privacy_element" field="pp_lastname" title="lu_fld_LastName"/>
<inp2:m_RenderElement name="privacy_element" field="pp_dob" title="lu_fld_BirthDate"/>
<inp2:m_RenderElement name="privacy_element" field="pp_email" title="lu_fld_Email"/>
<inp2:m_RenderElement name="privacy_element" field="pp_phone" title="lu_fld_Phone"/>
<inp2:m_RenderElement name="privacy_element" field="pp_street" title="lu_fld_AddressLine1"/>
<inp2:m_RenderElement name="privacy_element" field="pp_city" title="lu_fld_City"/>
<inp2:m_RenderElement name="privacy_element" field="pp_state" title="lu_fld_State"/>
<inp2:m_RenderElement name="privacy_element" field="pp_zip" title="lu_fld_Zip"/>
<inp2:m_RenderElement name="privacy_element" field="pp_country" title="lu_fld_Country" is_last="1"/>
<tr>
<td colspan="3">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" />
</td>
</tr>
<tr>
<td>&nbsp;
</td>
<td>
<br />
<input class="button" type="submit" name="events[user-profile][OnUpdate]" value="<inp2:m_Phrase label="lu_btn_Update" no_editing="1"/>"/>
<br /><br />
</td>
<td class="field-value">
<a href="<inp2:u.current_ProfileLink template="platform/my_account/public_profile"/>"><inp2:m_phrase name="lu_btn_ViewYourProfile"/></a>
</td>
</tr>
</table>
</form>
</inp2:m_RenderElement>
<!-- // my preferences -->
</div>
</div>
</inp2:m_DefineElement>
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: branches/1.1.x/platform/my_account/my_favorites.tpl
===================================================================
--- branches/1.1.x/platform/my_account/my_favorites.tpl (revision 13814)
+++ branches/1.1.x/platform/my_account/my_favorites.tpl (revision 13815)
@@ -1,46 +1,47 @@
<!--##
<NAME>My Favorites</NAME>
<DESC></DESC>
<SECTION>My Account</SECTION>
##-->
<inp2:m_RequireLogin login_template="platform/login/register"/>
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:m_phrase name="lu_title_MyFavorites" no_editing="1"/>
</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" titles="lu_title_MyAccount,lu_title_MyFavorites" templates="platform/my_account/my_account,platform/my_account/my_favorites"/>
</div>
<div class="movable-element">
<!-- my favorites -->
<inp2:m_Set favorites_found="0"/>
<inp2:m_ModuleInclude template="elements/content_boxes/my_favorites.elm"/>
<inp2:m_if check="m_GetEquals" var="favorites_found" value="0">
<inp2:m_include template="platform/elements/content_boxes/no_favorites.elm"/>
</inp2:m_if>
<!-- // my favorites -->
</div>
</div>
</inp2:m_DefineElement>
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: branches/1.1.x/platform/login/register.tpl
===================================================================
--- branches/1.1.x/platform/login/register.tpl (revision 13814)
+++ branches/1.1.x/platform/login/register.tpl (revision 13815)
@@ -1,110 +1,112 @@
<!--##
<NAME>User Registration</NAME>
<DESC></DESC>
<SECTION>My Account||Login</SECTION>
##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" />
+
<!--## PAGE TITLE ELEMENT ##-->
<inp2:m_DefineElement name="page_title">
<inp2:m_phrase name="lu_title_UserRegistration" no_editing="1"/>
</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 class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/recommend_site.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="platform/elements/side_boxes/mailing_list.elm" design="blue_box"/>
</div>
</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-area">
<div class="movable-element">
<inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_UserRegistration" templates="platform/login/register"/>
</div>
<div class="movable-element">
<!-- user registration -->
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_UserRegistration"/>
</inp2:m_Capture>
<span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
<inp2:u_PresetFormFields/>
<inp2:m_if check="u_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/>">
<table class="form-data fullwidth">
<inp2:m_if check="u_UseUsernames">
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Login" title="lu_fld_Login" style="width:155px" />
</inp2:m_if>
<inp2:m_if check="m_ConfigEquals" name="User_Password_Auto" value="0">
<inp2:m_RenderElement name="inp_edit_password" prefix="u" field="Password" title="lu_fld_Password" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_password" prefix="u" field="VerifyPassword" title="lu_fld_VerifyPassword" style="width:155px" />
</inp2:m_if>
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="FirstName" title="lu_fld_FirstName" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="LastName" title="lu_fld_LastName" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Company" title="lu_fld_Company" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Phone" title="lu_fld_Phone" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Fax" title="lu_fld_Fax" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Email" title="lu_fld_Email" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_date" prefix="u" field="dob" title="lu_fld_BirthDate" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Street" title="lu_fld_AddressLine1" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Street2" title="lu_fld_AddressLine2" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="City" title="lu_fld_City" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="State" title="lu_fld_State" style="width:155px" />
<inp2:m_RenderElement name="inp_edit_box" prefix="u" field="Zip" title="lu_fld_Zip" style="width:55px" />
<inp2:m_if check="m_GetConfig" name="AllowSelectGroupOnFront">
<inp2:m_RenderElement name="inp_edit_options" prefix="u" field="UserGroup" has_empty="1" title="lu_fld_UserGroup" />
</inp2:m_if>
<inp2:m_RenderElement name="inp_edit_options" prefix="u" field="Country" title="lu_fld_Country" has_empty="1" is_last="1"/>
<inp2:m_if check="m_ConfigEquals" option="RegistrationCaptcha" value="1">
<inp2:m_RenderElement name="inp_edit_field_separator" is_last="0"/>
<inp2:m_RenderElement name="inp_edit_captcha" prefix="u" style="width: 170px;" />
</inp2:m_if>
<inp2:m_ModuleInclude template="elements/registration_fields.elm"/>
<inp2:m_RenderElement design="inp_edit_buttons" no_editing="1">
<input type="hidden" name="next_template" value="<inp2:m_get var="next_template"/>" />
<input type="hidden" name="registration_confirm_template" value="platform/login/register_confirm" />
<input type="hidden" name="registration_confirm_pending_template" value="platform/login/register_confirm_pending" />
<input class="button" type="submit" name="events[u][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Register" no_editing="1"/>"/>
<input type="button" class="button" onclick="history.back();" value="<inp2:m_Phrase label="lu_btn_Cancel" no_editing="1"/>"/>
</inp2:m_RenderElement>
</table>
</form>
</inp2:m_RenderElement>
<!-- // user registration -->
</div>
</div>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file

Event Timeline