- Timestamp:
- Sep 24, 2013, 6:40:00 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Comments_on_Albums/trunk/include/coa_comments_page.php
r24545 r24609 29 29 // comments on albums page | 30 30 // +-----------------------------------------------------------------------+ 31 31 if ( isset($_GET['display_mode']) and $_GET['display_mode'] == 'albums' ) 32 32 { 33 33 include_once(COA_PATH.'include/functions_comment.inc.php'); // custom functions … … 342 342 343 343 function coa_change_comments_list($content, &$smarty) { 344 $search = '<a href="{$comment.U_PICTURE}">'; 345 $replacement = $search.'{$comment.ALT}<br/>'; 344 $search[0] = '<a href="{$comment.U_PICTURE}">'; 345 $replacement[0] = $search[0].'{$comment.ALT}<br/>'; 346 $search[1] = '<input type="submit"'; 347 $replacement[1] = '<input type=hidden name=display_mode value=albums>'.$search[1]; 346 348 return str_replace($search, $replacement, $content); 347 349 }
Note: See TracChangeset
for help on using the changeset viewer.