Changeset 15924
- Timestamp:
- Jun 21, 2012, 3:39:25 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/comments.php
r15578 r15924 364 364 365 365 $template->assign('navbar', $navbar); 366 367 $url_self = PHPWG_ROOT_PATH 368 .'comments.php' 369 .get_query_string_diff(array('edit','delete','validate','pwg_token')); 366 370 367 371 // +-----------------------------------------------------------------------+ … … 516 520 $tpl_comment['CONTENT'] = $comment['content']; 517 521 $tpl_comment['PWG_TOKEN'] = get_pwg_token(); 522 $tpl_comment['U_CANCEL'] = $url_self; 518 523 } 519 524 } -
trunk/include/picture_comment.inc.php
r15570 r15924 208 208 $tpl_comment['CONTENT'] = $row['content']; 209 209 $tpl_comment['PWG_TOKEN'] = get_pwg_token(); 210 $tpl_comment['U_CANCEL'] = $url_self; 210 211 } 211 212 } -
trunk/themes/default/template/comment_list.tpl
r13865 r15924 26 26 <a href="{$comment.U_DELETE}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');"> 27 27 {'Delete'|@translate} 28 </a>{if isset($comment.U_VALIDATE) or isset($comment.U_EDIT) or isset($comment.U_CANCEL)} | {/if} 29 {/if} 30 {if isset($comment.U_CANCEL)} 31 <a href="{$comment.U_CANCEL}"> 32 {'Cancel'|@translate} 28 33 </a>{if isset($comment.U_VALIDATE) or isset($comment.U_EDIT)} | {/if} 29 34 {/if}
Note: See TracChangeset
for help on using the changeset viewer.