Changeset 341
- Timestamp:
- 03/01/10 22:56:38 (2 years ago)
- Location:
- trunk/views
- Files:
-
- 3 edited
-
elements/admin_menu.ctp (modified) (1 diff)
-
entries/view.ctp (modified) (4 diffs)
-
layouts/admin.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/views/elements/admin_menu.ctp
r326 r341 9 9 $html->link(__('New Entry', True), '/admin/entries/edit'), 10 10 $html->link(__('Themes', True), '/admin/themeblogs/listing'), 11 $html->link(__('Comments', True), '/admin/com ments/listing'),11 $html->link(__('Comments', True), '/admin/comentblogs/listing'), 12 12 $html->link(__('Quotes', True), '/admin/quotes/listing'), 13 13 $html->link(__('CSS', True), '/admin/styles/edit'), -
trunk/views/entries/view.ctp
r338 r341 18 18 if ( $discution == 1 ): 19 19 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')); 22 21 echo '</div>'; 23 22 endif; … … 35 34 foreach ($data['Comentblog'] as $v): 36 35 $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']; 38 37 echo '<div style="border:2px dotted #e2e2e2;margin:15px 0 15px 0;padding:4px;background-color:'.$bg.'">' . $k++ . '.- <b>' . $user . '</b> wrote: '; 39 38 echo '<br /><br />'; 40 39 41 echo nl2br($v['com ent']) . '<br /><br />';40 echo nl2br($v['comment']) . '<br /><br />'; 42 41 43 42 echo '<span class="small" style="font-size:7pt;font-weight:bold;">' . $v['created'] . '</span></div>'; … … 49 48 echo $form->hidden('Comentblog.entry_id', array('value'=>$entry_id)); 50 49 ?> 51 52 50 <fieldset> 53 51 <legend id="new_comment">New Comentblog</legend> … … 67 65 68 66 endif; 69 echo $form->input('Comentblog.com ent', array('type'=>'textarea', 'label'=>False, 'rows' => 10, 'cols' => 50));67 echo $form->input('Comentblog.comment', array('type'=>'textarea', 'label'=>False, 'rows' => 10, 'cols' => 50)); 70 68 echo $form->end('Send'); 71 69 ?> 72 70 </fieldset> 73 71 <?php 74 echo "</div>";72 echo '</div>'; 75 73 endif; 76 74 ?> -
trunk/views/layouts/admin.ctp
r329 r341 40 40 41 41 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); 45 43 ?> 46 44 </div>
Note: See TracChangeset
for help on using the changeset viewer.
