Changeset 10301
- Timestamp:
- Apr 11, 2011, 10:03:50 PM (13 years ago)
- Location:
- extensions/Comments_on_Albums
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Comments_on_Albums/admin/template/config.tpl
r9766 r10301 64 64 <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="config_submit"/></p> 65 65 </form> 66 67 <p>{'COA_comment_validation_link'|@translate}</p> -
extensions/Comments_on_Albums/include/functions_comment.inc.php
r10213 r10301 300 300 } 301 301 302 /* function update_user_comment_albums($comment, $post_key)303 {304 global $conf;305 306 $comment_action = 'validate';307 308 if ( !verify_ephemeral_key($post_key, $comment['image_id']) )309 {310 $comment_action='reject';311 }312 313 // perform more spam check314 $comment_action =315 trigger_event('user_comment_check',316 $comment_action,317 array_merge($comment,318 array('author' => $GLOBALS['user']['username'])319 )320 );321 322 if ( $comment_action!='reject' )323 {324 $user_where_clause = '';325 if (!is_admin())326 {327 $user_where_clause = ' AND author_id = \''.328 $GLOBALS['user']['id'].'\'';329 }330 $query = '331 UPDATE '.COA_TABLE.'332 SET content = \''.$comment['content'].'\',333 validation_date = now()334 WHERE id = '.$comment['comment_id'].335 $user_where_clause.'336 ;';337 $result = pwg_query($query);338 if ($result) {339 email_admin('edit', array('author' => $GLOBALS['user']['username'],340 'content' => stripslashes($comment['content'])) );341 }342 }343 }*/344 345 302 if (!function_exists('email_admin')) { 346 303 function email_admin($action, $comment) -
extensions/Comments_on_Albums/language/en_UK/plugin.lang.php
r9766 r10301 13 13 <br> 14 14 You can add your owns in the folder <i>plugins/comments_on_pictures/template/s26</i>."; 15 15 $lang['COA_comment_validation_link'] = "Validation (if enabled) of comments on albums is on <a href='admin.php?page=comments§ion=albums'>the same page</a> as the comments on pictures."; 16 16 17 ?> -
extensions/Comments_on_Albums/language/fr_FR/plugin.lang.php
r9766 r10301 13 13 <br> 14 14 Vous pouvez ajouter les votres dans le dossier <i>plugins/comments_on_pictures/template/s26</i>."; 15 $lang['COA_comment_validation_link'] = "La validation (si activée) des commentaires sur les albums ce fait <a href='admin.php?page=comments§ion=albums'>sur la même page</a> que pour les commentaires sur les photos."; 15 16 16 17 ?> -
extensions/Comments_on_Albums/language/hu_HU/plugin.lang.php
r9766 r10301 13 13 <br> 14 14 Hozzáadhatsz saját mappát a <i>plugins/comments_on_pictures/template/s26</i> könyvtárhoz."; 15 15 $lang['COA_comment_validation_link'] = "Validation (if enabled) of comments on albums is on <a href='admin.php?page=comments§ion=albums'>the same page</a> as the comments on pictures."; 16 16 17 ?> -
extensions/Comments_on_Albums/template/coa_albums.tpl
r9968 r10301 5 5 6 6 <a name="comments"></a> 7 {if isset($COMMENT_COUNT)} 7 8 <div id="comments"> 8 9 {if $COMMENT_COUNT > 0} … … 30 31 {/if} 31 32 </div> 33 {/if}{*comments*}
Note: See TracChangeset
for help on using the changeset viewer.