From: Juergen N. <jue...@fu...> - 2013-01-17 16:48:30
|
Today I implemented a "yellow sticker" functionality for SquirrelMail in a plugin -- show some eye-catching text as a "yellow sticker" above the folder list *if* a certain file is present, using the text (HTML, actually) from that file. We have been using functionality like this for a while, mainly to notify our users of planned service outages and the like. The main idea is to make it easy to use by just putting a file with a text somewhere, and the contents is displayed; remove the file and the yellow sticker is gone. Automation via at(1) can make it appear and disappear without human intervention, if necessary. I had implemented a previous version by hacking the code directly into the SquirrelMail proper, but in between I have learned more about plugins and what you can do with them, so I put that code into a plugin I have written for some local things. Now I wonder -- do other people feel the need for such a functionality? I could extract the "yellow sticker" code to a separate, independent plugin, which then could be distributed or even put on the SquirrelMail website, if there is sufficient demand. If not, I wouldn't bother. See the attached screenshot for an example how this could look. Regards, Juergen. -- <Jue...@fu...> Tel. +49.30.838-50740 Zentraleinrichtung fuer Datenverarbeitung, Central Systems (Unix) Freie Universitaet Berlin, Fabeckstrasse 32, 14195 Berlin, DE |