On 2/8/07, Sturla Holm Hansen <sturla@xxxxxxxxxxxxx> wrote:
Hi list, I'm trying to get the "mark read"-plugin to work, and I understand it needs the compatibility-plugin.. I get the link beside each folder, but when trying to use it I get: Fatal error: Cannot redeclare check_php_version() (previously declared in /usr/share/squirrelmail/plugins/compatibility/includes/1.2.11/global.php:34) in /usr/share/squirrelmail/functions/global.php on line 168 I tried commenting out this in global.php, but then it just moves to the next include in the list... Any ideas?
You have to use Compatibility 1.x to work with this plugin. See: http://www.squirrelmail.org/wiki/CompatibilityDependencies However, I kindly just spent an hour updating the plugin in various ways. Still might not be 100% compliant with all new standards (no offense to Dave, standards have changed a lot lately), but it seemed to work at first blush and might be release-able, of course totally at the discretion of the maintainer (Dave). See attached. Also, layout on the folders page is funky. I fixed in in 1.4.10SVN, but if any of you want it now: --- branches/SM-1_4-STABLE/squirrelmail/src/folders.php 2007-02-08 20:28:20 UTC (rev 12244) +++ branches/SM-1_4-STABLE/squirrelmail/src/folders.php 2007-02-08 22:06:59 UTC (rev 12245) @@ -289,8 +289,9 @@ . _("Subscribe to:") . '<br />' . '<tt><input type="text" name="mailbox[]" size="35" />' . '<input type="submit" value="'. _("Subscribe") . "\" />\n" - . "</form></td></tr></table><br />\n"; + . "</form></td></tr></table>\n"; } +echo "\n<br /><br />\n"; do_hook('folders_bottom'); ?>
Attachment:
mark_read-1.4.2-1.2.tar.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users