f1d93f4c6d
images (that are linked to remote sites) will be shown in HTML messages. If a message matches any of the rules and contains images that would normally be initially hidden, then they are now shown by default. The user may choose to always show unsafe images, for all message. This is obviously not recommended by the core SquirrelMail Project Team - or they wouldn't have built this functionality to begin with ( See the following: http://www.squirrelmail.org/wiki/UnsafeImages ). A new section is added to the options page titled, 'Unsafe Image Rules'. Within this page the user may define a number of rules to determine when messages are from a trusted source. These options are very similar to the core message filters plugin. A message field (To, From, CC, Subject) can be matched either against a regular expression, or simply searched to see if the given string is within the field. If a match is found then unsafe images are always shown for this source. WWW: http://www.squirrelmail.org/plugin_view.php?id=98
14 lines
1,000 B
Text
14 lines
1,000 B
Text
@unexec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --remove-plugin %%SQUIRREL_PLUGIN_NAME%%; fi
|
|
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/INSTALL
|
|
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/README
|
|
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/add.php
|
|
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/config.php.sample
|
|
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/functions.php
|
|
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/index.php
|
|
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/options.php
|
|
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/setup.php
|
|
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/unsafe_image_rules.pot
|
|
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/version
|
|
%%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%/xgetpot
|
|
@dirrm %%SQUIRRELDIR%%/plugins/%%SQUIRREL_PLUGIN_NAME%%
|
|
@exec if [ -f %D/%%SQUIRRELDIR%%/config/config.php ]; then %D/%%SQUIRRELDIR%%/config/conf.pl --install-plugin %%SQUIRREL_PLUGIN_NAME%%; fi
|