Changeset 849 for trunk/picture.php


Ignore:
Timestamp:
Aug 25, 2005, 12:22:29 AM (19 years ago)
Author:
plg
Message:
  • deletion : no mail notification anymore. Feature replaced by RSS feed notification.
  • improvement : on waiting pictures management. Ability to validate all or reject all in one clic.
  • regrouped fields in admin/update
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r847 r849  
    388388      $template->assign_block_vars('information',
    389389                                   array('INFORMATION'=>$message));
    390       // notification to the administrators
    391       if ( $conf['mail_notification'] )
    392       {
    393         // find any related category (can be unreachable to this admin)
    394         $category = $related_categories[0];
    395         // locally, we change the $conf['level_separator']
    396         $conf_separator = $conf['level_separator'];
    397         $conf['level_separator'] = ' > ';
    398         $cat_name = get_cat_display_name_cache($category['uppercats'],
    399                                                '',
    400                                                false);
    401         $conf['level_separator'] = $conf_separator;
    402        
    403         $cat_name = strip_tags( $cat_name );
    404         notify( 'comment', $cat_name.' > '.$picture['current']['name']);
    405       }
    406390    }
    407391    else
Note: See TracChangeset for help on using the changeset viewer.