Changeset 12562 for extensions/Comments_on_Albums/include/coa_albums.php
- Timestamp:
- Nov 6, 2011, 7:38:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Comments_on_Albums/include/coa_albums.php
r11417 r12562 42 42 array( 43 43 'comment_id' => $_GET['comment_to_edit'], 44 ' image_id' => $category['id'],44 'category_id' => $category['id'], 45 45 'content' => $_POST['content'] 46 46 ), … … 130 130 'author' => trim( @$_POST['author'] ), 131 131 'content' => trim( $_POST['content'] ), 132 ' image_id' => $category['id'],132 'category_id' => $category['id'], 133 133 ); 134 134 … … 356 356 { 357 357 $template->set_prefilter('index', 'coa_messages'); 358 359 function coa_messages($content, &$smarty) 360 { 361 $search = '{if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if}'; 362 363 $replacement = $search.' 358 } 359 360 function coa_messages($content, &$smarty) 361 { 362 $replacement = ' 364 363 {if isset($errors)} 365 364 <div class="errors"> … … 381 380 {/if}'; 382 381 383 return str_replace($search, $replacement, $content); 384 } 382 return $replacement.$content; 385 383 } 386 384 }
Note: See TracChangeset
for help on using the changeset viewer.