Hello Paul,
I have install the plugin addgraphics 2.3 and the
plugin compatibility, both the newest from the webpage, but the addgraphics
does not work.
I Have change the config.php, is my change correct????
Christian
<?php
/*
* addgraphics
* By Mark Motley <mmotley <at> la-mirada.net>
* Changes By Paul Lesneiwski
<pdontthink <at> angrynerds.com>
* (c) 2000 (GNU GPL - see ../../COPYING)
*
* This plugin adds a customized graphic at the
top of the left-hand
* frame of the main SquirrelMail mailbox screen.
*
* The graphic can be any size, but you should
probably try to make
* it rather small (like 200 x 100). It should
also be a GIF with
* transparency to support changing of the
background color by the
* user.
*
* The graphic can be changed on a per-domain
basis if you host
* more than one (virtual) domain.
*
* See config.php for image specification.
*
*/
global $left_image, $differentImagePerDomain,
$left_image_alt,
$addgraphics_virtualDomains, $image_height,
$image_width,
$div_style;
/*
* Indicate the path and filename of the default
image. Make
* sure you put in the appropriate URI stuff. If
you place it
* in the "images" directory off the
source Squirrelmail directory,
* '../images/<filename>' should usually
suffice.
*/
$left_image = '/srv/www/htdocs/squirrelmail/images/Computer_Christian_001.jpg';
/*
* Default alternate text for the image, in case
user doens't let it load
*/
$left_image_alt = ' ';
/**
* Assign a default URL if you want your image(s)
to be clickable (the URL
* will be opened in a new browser window) (the
image will not be a link
* if you leave this as an empty string)
*/
//$left_image_url = '';
$left_image_url = 'http://www.beilfuss.org';
/*
* Specify optional default image width and height
- this is mostly
* useful for specifying zero width/height as
default, which will
* turn off image display. Otherwise you should
comment these lines
* out (by placing two forward slashes in front of
the lines).
*/
//$image_width = 308;
//$image_height = 111;
//$image_width = 0;
//$image_height = 0;
/*
* The image is placed within
<DIV></DIV> tags that
* accept style attributes. If you want more
control
* over how the image is displayed (different
* positioning, add decoration, etc), you can fill
* in CSS style attributes here. If nothing is
* specified, the image is merely centered above
the
* folder list.
*
* To learn more about CSS Style, see
* http://www.htmlhelp.com/reference/css/
* List of available properties:
*
http://www.htmlhelp.com/reference/css/properties.html
*
* Example: $div_style="position:absolute;top:200px;left:5px;";
*
* If you don't need to add any style changes, just
* leave this line commented out (with two slashes
in
* front).
*/
//$div_style='position:absolute;top:200px;left:5px;';
/*
* Set this variable to 1 if you want to display a
different image
* for each of the domains you host.
*/
$differentImagePerDomain = 0;
/*
* If you are using the same image for all domains
or only host
* one domain, you can ignore this setting.
*
* Indicate the path and filename of the images for
each of the domains
* you host - any that are left out will use the
default image specified
* above. Also be sure to specify the alternate
text for each one and
* a URL if you want any of them to be clickable
links.
*
* Specifying the image width is optional and
usually not needed.
*
* Note that the name of the domain can be only
partial. That is,
* "mydomain" is enough to represent
"mydomain.com"
*
* NOTE that if you use the Virtual Host Login
(vlogin) plugin, you
* may specify these settings in vlogin's
$virtualDomains array instead
* of here. You will still want to set
$differentImagePerDomain above
* to 1, but you can otherwise skip this setting.
The corresponding
* settings you need to use in vlogin are:
addgraphics_left_image,
* addgraphics_left_image_alt,
addgraphics_left_image_url, addgraphics_image_width,
* addgraphics_image_height, and
addgraphics_div_style.
*
*/
$addgraphics_virtualDomains = array(
'mydomain' => array(
'left_image' => '/srv/www/htdocs/squirrelmail/images/Computer_Christian_001.jpg',
'left_image_alt' => 'My Domain',
'left_image_url' => '', // this one
won't be a link
//'div_style' => 'position:absolute;top:200px;left:5px;',
//'image_width' => 100,
//'image_height' => 100,
),
'anotherdomain' => array(
'left_image' => '/srv/www/htdocs/squirrelmail/images/Computer_Christian_001.jpg',
'left_image_alt' => 'Another Domain',
'left_image_url' => 'http://www.anotherdomain.org',
// this one will be a link
//'div_style' => 'text-align: center;',
//'image_width' => 100,
//'image_height' => 100,
),
);
?>
-----Ursprüngliche Nachricht-----
Von: squirrelmail-plugins-bounces <at> lists.sourceforge.net
[mailto:squirrelmail-plugins-bounces <at> lists.sourceforge.net] Im Auftrag von Paul
Lesniewski
Gesendet: Samstag, 2. Februar 2008 21:58
An: Squirrelmail Plugins Mailing List
Betreff: Re: [SM-PLUGINS] Plugin for my Logo
> what I need is a Plugin to have my Logo on the screen. Look I
have male a
> example with paint:
Try:
http://squirrelmail.org/plugin_view.php?id=30
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins