Created
April 9, 2012 12:17
-
-
Save NickToye/2343098 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
extract(array_merge(array( | |
'partial_step' => post('partial_step', false), | |
'section' => post('section', 'change_information') //defaults to the change_information section | |
), $params)); | |
?> | |
<div id="account_page" class="col span_12"> | |
<h2>My Account</h2> | |
<div class="row"> | |
<div id="account_page_section" class="col span_8"> | |
<? if($partial_step) { $this->render_block($section); return; } ?> | |
<? $this->render_block($section) ?> | |
</div> | |
<nav id="account_navigation" class="col span_4"> | |
<ul> | |
<li> | |
<a href="javascript:;" onclick="return LS.sendRequest('/account', 'on_action', { | |
update: {'account_page_section': 'ls_cms_page'}, | |
extraFields: {'section': 'change_information'} | |
})">Change Information</a> | |
</li> | |
<li> | |
<a href="javascript:;" onclick="return LS.sendRequest('/account', 'on_action', { | |
update: {'account_page_section': 'ls_cms_page'}, | |
extraFields: {'section': 'change_account'} | |
})">Change Account</a> | |
</li> | |
<li> | |
<a href="javascript:;" onclick="return LS.sendRequest('/account/orders', 'on_action', { | |
update: {'account_page_section': 'ls_cms_page'} | |
})">View Orders</a> | |
</li> | |
</ul> | |
</nav> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment