Changeset 240

Show
Ignore:
Timestamp:
07/30/08 23:19:02 (4 months ago)
Author:
silver
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/magento/theme/silver_theme/app/design/frontend/default/silver/template/customer/account/dashboard/hello.phtml

    r225 r240  
    1818 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0) 
    1919 */ 
     20 
     21$pos = strrpos($this->getCustomerName(), " "); 
     22$name = substr($this->getCustomerName(),$pos+1); 
     23$name .= substr($this->getCustomerName(),0,$pos); 
    2024?> 
    2125<div class="dashboard-welcome"> 
    22     <p><strong><?php echo $this->__('Hello, %s!', $this->htmlEscape($this->getCustomerName())) ?></strong><br/> 
     26    <p><strong><?php echo $this->__('Hello, %s!', $this->htmlEscape($name)) ?></strong><br/> 
    2327<?php echo $this->__('From your My Account Dashboard you have the ability to view a snapshot of your recent account activity and update your account information. Select a link below to view or edit information.') ?></p></div>