Changeset 341


Ignore:
Timestamp:
03/01/10 22:56:38 (2 years ago)
Author:
aarkerio
Message:

Small Update

Location:
trunk/views
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/views/elements/admin_menu.ctp

    r326 r341  
    99                                                                                           $html->link(__('New Entry', True), '/admin/entries/edit'), 
    1010                                                               $html->link(__('Themes', True), '/admin/themeblogs/listing'), 
    11                                                                            $html->link(__('Comments', True), '/admin/comments/listing'), 
     11                                                                           $html->link(__('Comments', True), '/admin/comentblogs/listing'), 
    1212                                                               $html->link(__('Quotes', True), '/admin/quotes/listing'), 
    1313                                                               $html->link(__('CSS', True), '/admin/styles/edit'), 
  • trunk/views/entries/view.ctp

    r338 r341  
    1818 if ( $discution == 1 ): 
    1919      echo '<div id="new_comment">'; 
    20       echo $html->link('Add comment ('.count($data['Comentblog']).')',  
    21                         '/entries/view/'.$Element[0]["User"]["username"].'/'.$entry_id, array("style"=>"font-size:7pt")); 
     20      echo $html->link('Add comment ('.count($data['Comentblog']).')', '/entries/view/'.$Element[0]['User']['username'].'/'.$entry_id, array('style'=>'font-size:7pt')); 
    2221      echo '</div>'; 
    2322 endif;    
     
    3534        foreach ($data['Comentblog'] as $v):       
    3635               $bg = ($k%2==0) ? "#e2e2e2" : "#fff";        
    37                $user = ( $v["user_id"] != 0 ) ? $html->link($v["username"], '/users/about/'.$v["username"]) : $v["username"]; 
     36               $user = ( $v['user_id'] != 0 ) ? $html->link($v['username'], '/users/about/'.$v['username']) : $v['username']; 
    3837               echo '<div style="border:2px dotted #e2e2e2;margin:15px 0 15px 0;padding:4px;background-color:'.$bg.'">' . $k++ . '.- <b>' . $user  . '</b> wrote: '; 
    3938               echo '<br /><br />'; 
    4039                
    41                echo nl2br($v['coment']) . '<br /><br />'; 
     40               echo nl2br($v['comment']) . '<br /><br />'; 
    4241                
    4342               echo '<span class="small" style="font-size:7pt;font-weight:bold;">' . $v['created'] . '</span></div>'; 
     
    4948        echo $form->hidden('Comentblog.entry_id', array('value'=>$entry_id)); 
    5049?> 
    51  
    5250<fieldset> 
    5351  <legend id="new_comment">New Comentblog</legend> 
     
    6765         
    6866      endif; 
    69       echo $form->input('Comentblog.coment', array('type'=>'textarea', 'label'=>False, 'rows' => 10, 'cols' => 50)); 
     67      echo $form->input('Comentblog.comment', array('type'=>'textarea', 'label'=>False, 'rows' => 10, 'cols' => 50)); 
    7068      echo $form->end('Send'); 
    7169 ?> 
    7270</fieldset> 
    7371<?php 
    74    echo "</div>"; 
     72   echo '</div>'; 
    7573 endif; 
    7674?> 
  • trunk/views/layouts/admin.ctp

    r329 r341  
    4040            
    4141    echo $html->link($html->image('static/help-icon.png', array('alt'=>"Help", 'title'=>"Help", 'class'=>"helping")),  
    42                                   '#header', 
    43                                    array("onclick"=>$t), 
    44                                   null, false); 
     42                                  '#header', array('onclick'=>$t),False, False); 
    4543?>        
    4644</div> 
Note: See TracChangeset for help on using the changeset viewer.