Changeset 654 for trunk/app/views/news/display.ctp
- Timestamp:
- 07/15/08 15:38:15 (4 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/news/display.ctp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/news/display.ctp
r653 r654 15 15 array('alt'=>$val['Theme']['theme'], 16 16 'title'=>$val['Theme']['theme'], 17 'class'=>'themes' )17 'class'=>'themes', 'id'=>'new'.$val['News']['id']) 18 18 ), 19 19 '/news/category/'.$val['News']['theme_id'], null, null, false 20 20 ) 21 )21 ) 22 22 ); 23 23 … … 28 28 e($html->para(null,$html->link(__('Put your comment', true).' ('. count($val['Discussion']).')','/news/view/'.$val['News']['id']))); 29 29 endif; 30 ?> 31 <br /> 32 <span style="font-size:7pt;">Permalink:</span> <br /> 33 <?php echo $html->link( 30 31 echo $html->para(null, '<span style="font-size:7pt;">Permalink:</span> ' .$html->link( 34 32 'http://'.$_SERVER['HTTP_HOST'].'/news/view/'.$val['News']['id'], 35 33 'http://'.$_SERVER['HTTP_HOST'].'/news/view/'.$val['News']['id'] 36 ); 37 ?> 38 <br /><br /> 39 <b><?php __('Reference'); ?>:</b> 34 )); 35 if ( strlen($val['News']['reference']) > 10) : 40 36 41 <?php echo $html->link( 42 $html->image('static/newwindow.gif', array("alt"=>"Open new window", "title"=>"Open new window")), 43 $val['News']['reference'], 44 array("onclick"=>"window.open(this.href, '_help', 'status,scrollbars,resizable,width=800,height=600,left=10,top=10,menubar,toolbar')"), 45 null, 46 null, 47 false); 48 37 echo $html->para(null, __('Reference', true). ' ' .$html->link( 38 $html->image('static/newwindow.gif', array('alt'=>'Open new window', 'title'=>'Open new window')), 39 '#new'.$val['News']['id'], 40 array("onclick"=>"window.open('".$val['News']['reference']."', '_help', 'status,scrollbars,resizable,width=800,height=600,left=10,top=10,menubar,toolbar')"), null, null, false)); 41 endif; 42 49 43 echo $news->socialNets($val['News']['id'], $val['News']['title']); // Social nets buttons 50 44
