image_buttons is missing two icons

View: New views
1 Messages — Rating Filter:   Alert me  

image_buttons is missing two icons

by Gerry Massat :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have a small problem with the image_buttons plugin.  It's installed
and configured, but the Calendar icon is missing.  Going to the Calendar
page, the Month View icon is also missing.

The following is logged in httpd_errors:
[Wed Jun 18 23:50:44 2008] [error] [client 76.202.231.32] PHP Fatal
error:  Call to undefined function ImageFontWidth() in
/usr/local/www/squirrelmail/plugins/image_buttons/create_button.php on
line 60, referer: https://massat.net/squirrelmail/src/right_main.php

Replacing the cal.gif with a working icon like help.gif does not fix the
problem.  I found one post in the archives that suggests
image_buttons/config.php has old filenames, but offers no suggestion for
the fix:

    $image_buttons_img['compose.php']     = "new.gif";
    $image_buttons_img['addressbook.php'] = "abook.gif";
    $image_buttons_img['folders.php']     = "folders.gif";
    $image_buttons_img['options.php']     = "options.gif";
    $image_buttons_img['search.php']      = "search.gif";
    $image_buttons_img['help.php']        = "help.gif";
    $image_buttons_img['signout.php']     = "signout.gif";

    // add more here for each plugin that is registered for the menu
    $image_buttons_img['calendar_check.php'] = "cal.gif";
    $image_buttons_img['year.php']           = "year.gif";
    $image_buttons_img['calendar.php']       = "month.gif";
    $image_buttons_img['day.php']            = "day2.gif";
    $image_buttons_img['fetch.php']          = "fetch.gif";
    $image_buttons_img['gothotmail.php']     = "fetch.gif";
    $image_buttons_img['utils.php']          = "utilities.gif";
    $image_buttons_img['bug_report.php']     = "bugs.gif";
    $image_buttons_img['table.php']          = "Coffeefilter.gif";
    $image_buttons_img['right_main.php']     = "readmail.gif";
    $image_buttons_img['useracl.php']        = "useracl.gif";
    $image_buttons_img['bookmarks.php']      = "bookmarks.gif";

so I'm guessing there's an issue with 'calendar_check.php' and
'calendar.php'?

Thanks!
----------------------------------------------
FreeBSD 5.5
My browser information:
  Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14
My web server information:
  PHP Version 5.2.6
  PHP Extensions (List)
    * 0 = session
    * 1 = Reflection
    * 2 = date
    * 3 = libxml
    * 4 = apache2handler
    * 5 = ctype
    * 6 = hash
    * 7 = iconv
    * 8 = json
    * 9 = filter
    * 10 = PDO
    * 11 = pdo_sqlite
    * 12 = posix
    * 13 = SimpleXML
    * 14 = SPL
    * 15 = dom
    * 16 = tokenizer
    * 17 = xmlreader
    * 18 = xmlwriter
    * 19 = SQLite
    * 20 = bcmath
    * 21 = mysql
    * 22 = mysqli
    * 23 = mcrypt
    * 24 = standard
    * 25 = imap
    * 26 = mhash
    * 27 = gettext
    * 28 = mbstring
    * 29 = pcre
    * 30 = openssl
    * 31 = xml

SquirrelMail-specific information:
  Version:  1.4.13
  Plugins (List)
    * 0 = calendar
    * 1 = message_details
    * 2 = newmail
    * 3 = squirrelspell
    * 4 = abook_take
    * 5 = calendar_file_backend
    * 6 = delete_move_next
    * 7 = unsafe_image_rules
    * 8 = compose_fix
    * 9 = image_buttons
    * 10 = bug_report

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins@...
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins