/plugins/unsafe_image_rules/functions.phpUnsafe Image Rules plugin - Functions
The functions and inclusions needed for this plugin to work.
Copyright (c) 1999-2006 The SquirrelMail Project Team Copyright (c) 2008 The NaSMail Project
is_good_unsafe_image_regexp (line 302)
Checks if provided regular expression is valid
is_in_unsafe_image_rules_list (line 115)
Figure out if the message we're looking matches any details in our list.
is_unsafe_image_from_address_in_list (line 214)
Given the message and a list of addresses, see if it's from one of those addresses.
is_unsafe_image_from_our_id (line 193)
Function to figure out if sender is one of our IDs.
is_unsafe_image_from_sender_in_address_book (line 170)
Function to figure out if sender is in address book.
load_unsafe_image_rules (line 270)
Function to load trusted message details
remove_trusted_unsafe_image (line 392)
Removes specified rule
unsafe_image_rules_link_array (line 332)
unsafe_image_rules_link_do (line 339)
unsafe_image_rules_link_string (line 316)
unsafe_image_rules_main_do (line 42)
TODO: Undocumented function.
For some reason, probably backwards compability, "view_unsafe_images" and "view_unsafe_images_match" are passed to other functions using $_GET instead of being defined as global variables.
If "view_unsafe_images" is TRUE, the unsafe images will be displayed. If "view_unsafe_images_match" is TRUE, no link will be displayed in unsafe_image_rules_link_do().
unsafe_image_rules_match (line 137)
TODO: Undocumented function.
unsafe_image_rules_notice_do (line 406)
Prints notices from add.php on message display
unsafe_image_rules_optpage_register_block_do (line 251)
Register our options section.
Documentation generated on Sun, 22 Nov 2009 17:36:34 +0200 by phpDocumentor 1.4.3