Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Mon, Oct 27, 11:45 AM

in-portal

Index: trunk/themes/default2007/platform/my_account/my_account.tpl
===================================================================
--- trunk/themes/default2007/platform/my_account/my_account.tpl (revision 8822)
+++ trunk/themes/default2007/platform/my_account/my_account.tpl (revision 8823)
@@ -1,88 +1,55 @@
<inp2:m_RequireLogin login_template="platform/login/register"/>
<inp2:m_DefineElement name="sidebar">
<inp2:m_RenderElements
elements="
platform/elements/side_boxes/login,
"
design="blue_box"/>
</inp2:m_DefineElement>
+<inp2:m_DefineElement name="my_account_element">
+<tr>
+ <td class="directory-icon">
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/directory_icon.gif" width="22" height="17" alt="" /><br />
+ </td>
+ <td class="directory-text">
+ <a href="<inp2:m_Link template="$template" m_cat_id="0"/>" 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">
<inp2:m_include template="platform/elements/navigation_bar" titles="lu_title_MyAccount" templates="platform/my_account/my_account"/>
<!-- 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>
- <tr>
- <td class="directory-icon">
- <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/directory_icon.gif" width="22" height="17" alt="" /><br />
- </td>
- <td class="directory-text">
- <a href="#" class="text-title">Zend / PHP Conference 2006</a>
- <br />
- About the conference or it you are interested
- </td>
- </tr>
- <tr>
- <td colspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="directory-icon">
- <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/directory_icon.gif" width="22" height="17" alt="" /><br />
- </td>
- <td class="directory-text">
-
- <a href="#" class="text-title">Zend / PHP Conference 2006</a>
- <br />
- About the conference or it you are interested
- </td>
- </tr>
- <tr>
- <td colspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="directory-icon">
- <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/directory_icon.gif" width="22" height="17" alt="" /><br />
- </td>
- <td class="directory-text">
-
- <a href="#" class="text-title">Zend / PHP Conference 2006</a>
- <br />
- About the conference or it you are interested
- </td>
- </tr>
- <tr>
- <td colspan="2">
- &nbsp;
- </td>
- </tr>
- <tr>
- <td class="directory-icon">
- <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/directory_icon.gif" width="22" height="17" alt="" /><br />
- </td>
- <td class="directory-text">
-
- <a href="#" class="text-title">Zend / PHP Conference 2006</a>
- <br />
- About the conference or it you are interested
- </td>
- </tr>
+ <inp2:m_RenderElement name="my_account_element" template="platform/my_account/my_profile" title="lu_MyProfile" description="lu_description_MyProfile"/>
+ <inp2:m_RenderElement name="my_account_element" template="platform/my_account/my_favorites" title="lu_MyFavorites" description="lu_description_MyFavorites"/>
+ <inp2:m_RenderElement name="my_account_element" template="platform/my_account/my_preferences" title="lu_MyPreferences" description="lu_description_MyPreferences"/>
+
+ <inp2:m_ModuleInclude template="my_account/my_items" 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" place="contentbox" section="2"/>
+ </table>
</inp2:m_RenderElement>
-
- <!-- // my account -->
+ <!-- // my items -->
</inp2:m_DefineElement>
<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
\ No newline at end of file
Property changes on: trunk/themes/default2007/platform/my_account/my_account.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.9
\ No newline at end of property
+1.10
\ No newline at end of property
Index: trunk/themes/default2007/platform/elements/side_boxes/login.tpl
===================================================================
--- trunk/themes/default2007/platform/elements/side_boxes/login.tpl (revision 8822)
+++ trunk/themes/default2007/platform/elements/side_boxes/login.tpl (revision 8823)
@@ -1,98 +1,100 @@
<inp2:m_Capture to_var="header">
<table class="fullwidth">
<tr>
<td class="side-box-title" align="left">
<inp2:m_phrase name="lu_title_LoginBox"/>
</td>
<td align="right" class="login-status">
<inp2:m_if check="m_LoggedIn">
<a href="<inp2:m_Link template="platform/my_account/my_profile" m_cat_id="0"/>"><inp2:u_Field name="FirstName"/> <inp2:u_Field name="LastName"/></a><br />
<inp2:m_else/>
<table>
<tr>
<td width="11">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/not_logged.gif" alt="" width="11" height="11" border="0" /><br />
</td>
<td class="login-status">
&nbsp;<inp2:m_Phrase label="lu_NotLoggedIn"/>
</td>
</tr>
</table>
</inp2:m_if>
</td>
</tr>
</table>
</inp2:m_Capture>
<inp2:m_if check="m_LoggedIn">
<table width="100%" style="border-width: 0px;">
<tr>
<td colspan="2">
<!--<inp2:m_Phrase label="lu_comm_Welcome"/>,<br />-->
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="5" height="5" border="0" /><br />
</td>
</tr>
<inp2:m_RenderElement name="box_element" template="platform/my_account/my_profile" title="lu_MyProfile"/>
<inp2:m_RenderElement name="box_element" template="platform/my_account/my_favorites" title="lu_MyFavorites"/>
<inp2:m_RenderElement name="box_element" template="platform/my_account/my_preferences" title="lu_MyPreferences"/>
+ <inp2:m_ModuleInclude template="my_account/my_items" place="sidebox" section="1"/>
+
<tr>
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/menu-li-2-level.gif" alt="" width="4" height="4" border="0" /><br />
</td>
<td>
<a href="<inp2:u_LogoutLink/>"><inp2:m_Phrase label="lu_comm_Logout"/></a>
</td>
</tr>
<tr>
<td colspan="2">
<strong><inp2:m_phrase name="lu_section_MyItems"/></strong>
</td>
</tr>
- <inp2:m_ModuleInclude template="my_account/my_items"/>
+ <inp2:m_ModuleInclude template="my_account/my_items" place="sidebox" section="2"/>
</table>
<inp2:m_else/>
<form method="post" action="<inp2:m_FormAction />">
<inp2:m_if check="u_UseUsernames">
<inp2:m_phrase label="lu_username"/><br />
<input class="input-text" type="text" name="login" style="width:155px" /><br />
<inp2:m_else/>
<inp2:m_phrase label="lu_email"/><br />
<input class="input-text" type="text" name="email" /><br />
</inp2:m_if>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt=""/><br />
<inp2:m_Phrase label="lu_Password"/><br />
<input type="password" class="input-text" name="password" style="width:155px" /><br />
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="1" height="10" border="0" /><br />
<table>
<tr>
<td width="10">
<input class="button" name="events[u][OnLogin]" type="submit" value="<inp2:m_Phrase label="lu_comm_Login"/>" /><br />
</td>
<td align="left">
<input type="checkbox" /> <span class="remember-login">Remember login</span>
</td>
</tr>
</table>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="5" height="5" border="0" /><br />
<inp2:m_if check="u_HasError" field="any">
<span class="field-error"><inp2:u_Error field="ValidateLogin"/></span><br />
</inp2:m_if>
<inp2:m_if check="u_RegistrationEnabled">
<a href="<inp2:m_Link template="platform/login/register"/>" class="more-link" ><inp2:m_Phrase label="lu_Register"/></a> <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/side_link_str.gif" width="6" height="5" alt="" /><br />
</inp2:m_if>
<a href="<inp2:m_Link template="platform/login/forgotpass" />" class="more-link" ><inp2:m_Phrase label="lu_ForgotPassword"/>?</a> <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/side_link_str.gif" width="6" height="5" alt="" />
<input type="hidden" name="next_template" value="<inp2:m_get var="next_template"/>" />
<input type="hidden" name="pending_disabled_template" value="platform/login/login_pending_disabled" />
</form>
</inp2:m_if>
Property changes on: trunk/themes/default2007/platform/elements/side_boxes/login.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.9
\ No newline at end of property
+1.10
\ No newline at end of property

Event Timeline