Changeset 22843 for events

Show
Ignore:
Timestamp:
11/06/08 20:43:01 (5 years ago)
Author:
riaf
Message:

textmate がバグるから今日はこのへんでやめる

Location:
events/phpframework/rhaco/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • events/phpframework/rhaco/trunk/library/view/PhwittrUser.php

    r22835 r22843  
    3333    function picture(){ 
    3434        $users = $this->loginRequired(); 
    35         if($this->isVariable('delete')){ 
     35        if($this->isPost() && $this->isVariable('delete')){ 
     36            @unlink(Rhaco::resource('templates/img/user/'). $users->image); 
    3637            $users->image = null; 
    3738            $this->dbUtil->update($users); 
  • events/phpframework/rhaco/trunk/resources/templates/password.html

    r22835 r22843  
    33<div class="wrapper"> 
    44<div id="main"> 
    5 <h2><img src="<rt:if param="{$image}"><rt:else />img/friend_icon.png</rt:if>" alt="{$userName}" /> {$userName}</h2> 
     5<h2><img src="<rt:if param="{$image}">img/user/{$image}<rt:else />img/friend_icon.png</rt:if>" alt="{$userName}" /> {$userName}</h2> 
    66 
    77<ul class="tabNav"> 
  • events/phpframework/rhaco/trunk/resources/templates/settings.html

    r22835 r22843  
    66<div class="wrapper"> 
    77<div id="main"> 
    8 <h2><img src="<rt:if param="{$image}"><rt:else />img/friend_icon.png</rt:if>" alt="{$userName}" /> {$userName}</h2> 
     8<h2><img src="<rt:if param="{$image}">img/user/{$image}<rt:else />img/friend_icon.png</rt:if>" alt="{$userName}" /> {$userName}</h2> 
    99 
    1010<ul class="tabNav">