Index: flag_content.module
===================================================================
--- flag_content.module	(revision 631)
+++ flag_content.module	(working copy)
@@ -93,7 +93,7 @@
     '#maxlength' => 128,
     '#required' => true,
     '#default_value' => variable_get(FLAG_CONTENT_EMAIL, variable_get('site_mail', ini_get('sendmail_from'))),
-    '#description' => t('Email address to send alerts on flagged items to.'),
+    '#description' => t('Email address to send alerts on flagged items to. Use %admin for site admin email.'),
   );
 
   return $form;
@@ -255,6 +255,9 @@
     
     // Email the admin
     $email = theme('flag_content_mail', $entry, $type);
+    // replace admin token
+    if ($email['to'] == "%admin") $email['to'] = variable_get('site_mail', ini_get('sendmail_from'));
+    
     user_mail($email['to'], $email['subject'], $email['body'], $email['headers']);
 
     // Log the operation:
