Warning: Unknown: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /home/b2v/public_html/alex/displayfile.php on line 50

Deprecated: Assigning the return value of new by reference is deprecated in /home/b2v/public_html/alex/displayfile.php on line 50

Warning: header() [function.header]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Chicago' for 'CDT/-5.0/DST' instead in /home/b2v/public_html/alex/displayfile.php on line 21

Warning: Cannot modify header information - headers already sent by (output started at /home/b2v/public_html/alex/displayfile.php:50) in /home/b2v/public_html/alex/displayfile.php on line 21

Warning: Cannot modify header information - headers already sent by (output started at /home/b2v/public_html/alex/displayfile.php:50) in /home/b2v/public_html/alex/inc/includes.inc on line 162
Globs site - iAlertNotify.sh
Thunderbird Extensions
Apple - mac
Donation
Make a donation to help WiPhA development

Search




Preferences

Connect again
---

Your user name :

Your secret code


 Count of members 115 members


Connected :

(nobody)
Visits

 1381260 visitors

 25 visitors online

Private
iAlertNotify.sh

Download Download file

#!/bin/sh
 
# You need to select the 
# "Convert pamareters to UTF-8" option in Yamb preferences
 
subject="$1"
sender="$2"
recipients="$3"
size="$4"
folder="$5"
acctype="$6"
accname="$7"
body="$8"
 
 
 
if [ "$acctype" == "rss" ]
then
    /usr/local/bin/iAlertRegister TbRssAlert Thunderbird 'New Rss' 2 Feed Subject true 0 'From : <big><big><b><font color="blue"><%Feed%></font></b></big></big><%if(Subject)%><br>Sujet : <big><big><b><font color="cyan"><%Subject%></font></b></big></big><%end%>'
    /usr/local/bin/iAlertPost TbRssAlert Thunderbird 2 Feed "$folder" Subject "$subject"
else
    size="$(echo "scale=2; $size/1024" | bc -l) ko"
    /usr/local/bin/iAlertRegister TbMailAlert Thunderbird 'New Mail' 4 Sender Subject Size Body true 0 '<big><b><%Alert name%></b></big> (<%Size%>)<br>De : <big><big><b><font color="red"><%Sender%></font></b></big></big><%if(Subject)%><br>Sujet : <big><big><b><font color="orange"><%Subject%></font></b></big></big><%end%><br><br><%Body%>'
    /usr/local/bin/iAlertPost TbMailAlert Thunderbird 4 Sender "$sender" Subject "$subject" Size "$size" Body "$body"
fi

Code highlighted using GeSHi
© Nigel McNie, 2004, released under the GNU GPL
^ Top ^