<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-4377</id>
	<title>Nabble - squirrelmail-plugins</title>
	<updated>2009-11-25T01:46:49Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/squirrelmail-plugins-f4377.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/squirrelmail-plugins-f4377.html" />
	<subtitle type="html">Mailing list archive for squirrelmail-plugins</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26510004</id>
	<title>Re: Does restrict_senders have the ability of excluding users?</title>
	<published>2009-11-25T01:46:49Z</published>
	<updated>2009-11-25T01:46:49Z</updated>
	<author>
		<name>Paul Lesniewski</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 8:12 AM, Eric Wolff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510004&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ewolff@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; When I was setting up restrict_senders, I could have sworn I saw a place
&lt;br&gt;&amp;gt; to specify email addresses that would not be subject to the limits
&lt;br&gt;&amp;gt; imposed by the plugin, but I can't find it now. Does this feature exist,
&lt;br&gt;&amp;gt; or am I just delusional?
&lt;br&gt;&lt;br&gt;Duplicate posting. &amp;nbsp;Those reading the archives should look for the
&lt;br&gt;other thread by the same name.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Paul Lesniewski
&lt;br&gt;SquirrelMail Team
&lt;br&gt;Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/donate_paul_lesniewski.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donate_paul_lesniewski.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510004&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Does-restrict_senders-have-the-ability-of-excluding-users--tp26509603p26510004.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26507829</id>
	<title>Re: shared calendar</title>
	<published>2009-11-24T21:37:01Z</published>
	<updated>2009-11-24T21:37:01Z</updated>
	<author>
		<name>Bob Miller-9</name>
	</author>
	<content type="html">Thanks Paul,
&lt;br&gt;&lt;br&gt;&amp;gt; Given all your testing and that I see the problem in Firefox, too, and
&lt;br&gt;&amp;gt; that I see the full page with no issues in IE, and that the file is
&lt;br&gt;&amp;gt; over a half a meg of forms, it's likely just too much for the browser.
&lt;br&gt;&amp;gt; &amp;nbsp;The best solution is to refactor this page.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;You are suggesting to trim interfaces/admin_interface.php so that it
&lt;br&gt;puts out smaller html files?
&lt;br&gt;If I load the file as a text file in my browser, it loads up fine, so it
&lt;br&gt;doesn't seem to be file size limitation. &amp;nbsp;I have also tried increasing
&lt;br&gt;cache size in firefox, but that did not help either. &amp;nbsp;And just for fun I
&lt;br&gt;did a few google searches on firefox limitations, and other than 33
&lt;br&gt;nested tables and ~65MB file size in the cache, there doesn't really
&lt;br&gt;seem to be any that fit the situation. &amp;nbsp;The issue does seem
&lt;br&gt;characteristic of what is described as an incremental reflow bug,
&lt;br&gt;however the suggested fixes have no apparent effect.
&lt;br&gt;In short, there does not seem to be an immediate workaround, so it would
&lt;br&gt;seem you are correct.
&lt;br&gt;&lt;br&gt;Bob Miller
&lt;br&gt;334-7117/633-3760
&lt;br&gt;&lt;a href=&quot;http://computerisms.ca&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507829&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bob@...&lt;/a&gt;
&lt;br&gt;Network, Internet, Server,
&lt;br&gt;and Open Source Solutions
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26507829&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/shared-calendar-tp26500638p26507829.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26506841</id>
	<title>Re: shared calendar</title>
	<published>2009-11-24T18:53:05Z</published>
	<updated>2009-11-24T18:53:05Z</updated>
	<author>
		<name>Paul Lesniewski</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 5:41 PM, Bob Miller &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506841&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bob@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Paul,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I should further define what happens on the interface, the last few
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; calendars are mis-shaped - after the last &amp;quot;good&amp;quot; calendar, the next one
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; has flattened drop down menus (where the permissions are listed), below
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; that the next calendar has check mark boxes, but no content, below that,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; the next calendar has no content at all, just the coloured border, and
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This sounds a little like there might be some input sanitizing
&lt;br&gt;&amp;gt;&amp;gt; problem, but that's hard to say without seeing the HTML.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; See my next comment below:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; There are currently 98 calendars.  I tried looking for anomalies in the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; ics files, but after several hours came up empty.  I traced down the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; file that appears to be responsible for generating the list of calendars
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; (interfaces/admin_interface.php).  I am not a coder, but nothing looked
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; amiss to me there.  It creates a stanza beginning with &amp;lt;form&amp;gt; and ending
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; with &amp;lt;/form&amp;gt; and I can find no open tags or typos in the stanzas.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; So I copied the source from the frame to a file and viewed it in a
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Copied what exactly?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Turns out they are a little to big to attach to this mail, so here are links:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://computerisms.ca/test.2.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca/test.2.html&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://computerisms.ca/test.3.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca/test.3.html&lt;/a&gt;&lt;br&gt;&amp;gt; contents of test.2 is the html source of the right frame on the production
&lt;br&gt;&amp;gt; server, and is what I am referring to here about what I copied.  I made it
&lt;br&gt;&amp;gt; into a .html file and  opened it in my browser, and was able to see the same
&lt;br&gt;&amp;gt; symptoms as exist on the live system.  Since this file has a &amp;lt;html&amp;gt; and
&lt;br&gt;&amp;gt; &amp;lt;/html&amp;gt; tag, I expected that I could figure the problem without working on the
&lt;br&gt;&amp;gt; production server.  I expect if you open the file in your browser, you will
&lt;br&gt;&amp;gt; see the same thing.  I can provide screen shots if you don't see it.
&lt;br&gt;&amp;gt; test3 contains 94 copies of the &amp;lt;form&amp;gt; to &amp;lt;/form&amp;gt; stanza.  You can see (or
&lt;br&gt;&amp;gt; I can at least) that the 94th implementation has changed.  if you download the
&lt;br&gt;&amp;gt; file and remove one stanza, it will display correctly.  If you add more stanzas,
&lt;br&gt;&amp;gt; it will continue to get worse.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; browser, and was able to see the same problem.  After a great deal of
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; monkeying around, it seems that this problem goes away if there are 93
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; or less calendars - or stanzas from &amp;lt;form&amp;gt; to &amp;lt;/form&amp;gt;.  I even went so
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 93 of ANY calendars?  That is, did you change the listed calendars to
&lt;br&gt;&amp;gt;&amp;gt; make sure it's not the particular calendars being listed?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Apparently any calendar, yes.  When I initially started messing around
&lt;br&gt;&amp;gt; it was by switching the stanzas around so that the bottom ones which
&lt;br&gt;&amp;gt; didn't display were moved up, and then they would display, but the
&lt;br&gt;&amp;gt; stanzas that were moved to the bottom would not display, having the same
&lt;br&gt;&amp;gt; symptoms.  I thought there might be one stanza that had a missing tag or
&lt;br&gt;&amp;gt; something like that, or maybe a special character got typed in during data
&lt;br&gt;&amp;gt; entry that caused a stanza to be misinterpreted, but I couldn't find such a
&lt;br&gt;&amp;gt; problem.
&lt;br&gt;&amp;gt; For all I know, that may still be true and I overlooked it, but I don't think so.
&lt;br&gt;&amp;gt; After that I started removing random calendars, and the problem went away
&lt;br&gt;&amp;gt; after removing 5 or so stanzas.  I took roughly the first half of the stanzas and
&lt;br&gt;&amp;gt; moved them to the last half of the file and removed the last 5 there too.  I
&lt;br&gt;&amp;gt; took the bottom calendars, and I took random ones from the list, every time it
&lt;br&gt;&amp;gt; seemed related to the total number of calendars.
&lt;br&gt;&amp;gt; Then, when I copied the same calendar/stanza 90+ times, it was a random calendar
&lt;br&gt;&amp;gt; I picked from about 1/3 the way down the list that was displaying properly before.
&lt;br&gt;&amp;gt; I did not try pasting a different calendar 90+ times, though I am willing if
&lt;br&gt;&amp;gt; you think it might provide a clue.  As of now, I am fairly confident I
&lt;br&gt;&amp;gt; will see these symptoms regardless of which calendar, whether it is all
&lt;br&gt;&amp;gt; different calendars or the same, or what order they are in.
&lt;/div&gt;&lt;br&gt;Given all your testing and that I see the problem in Firefox, too, and
&lt;br&gt;that I see the full page with no issues in IE, and that the file is
&lt;br&gt;over a half a meg of forms, it's likely just too much for the browser.
&lt;br&gt;&amp;nbsp;The best solution is to refactor this page.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; far as to strip the file out of all stanzas, then paste one stanza in 95
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; times and saw the problem.  reduced it to 93 and problem gone.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I have tried upping memory limit in php.ini, but it changed nothing.  I
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; also used firebug to look at the page, not sure what to make of what I
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; saw there.  Firebug lists each stanza as nested in the previous one, and
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; eventually it comes to an empty stanza in the middle somewhere.  One
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; time, there was a missing &amp;lt;/form&amp;gt; tag, and when I entered it, everything
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; came back to normal, but I have been unable to find/create that spot
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; again.  Not sure if that was a fluke or a clue.  But as I understand the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; code, I see no nesting of the stanzas, so I am really not sure why
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; firebug displays them that way.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; My troubleshooting has led me to the conclusion I must have reached some
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; sort of limit, but I am stuck for a clue as to what kind; php, html,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; browser, apache2?  Might there be any suggestions?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; It is certainly possible that that's too many form fields for the
&lt;br&gt;&amp;gt;&amp;gt; browser.  A good way to test that is to try different browsers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have tried this on firefox, epiphany, and galeon.  However, I think
&lt;br&gt;&amp;gt; these are all mozilla based browsers.  I must have a windows machine around
&lt;br&gt;&amp;gt; here somewhere so that I can test internet explorer, so I can try that a
&lt;br&gt;&amp;gt; little later on to test...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks Paul, you assistance is much appreciated :)
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Paul Lesniewski
&lt;br&gt;SquirrelMail Team
&lt;br&gt;Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/donate_paul_lesniewski.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donate_paul_lesniewski.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506841&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/shared-calendar-tp26500638p26506841.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26506813</id>
	<title>Re: shared calendar</title>
	<published>2009-11-24T18:49:21Z</published>
	<updated>2009-11-24T18:49:21Z</updated>
	<author>
		<name>Paul Lesniewski</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 5:41 PM, Bob Miller &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506813&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bob@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Paul,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I should further define what happens on the interface, the last few
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; calendars are mis-shaped - after the last &amp;quot;good&amp;quot; calendar, the next one
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; has flattened drop down menus (where the permissions are listed), below
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; that the next calendar has check mark boxes, but no content, below that,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; the next calendar has no content at all, just the coloured border, and
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This sounds a little like there might be some input sanitizing
&lt;br&gt;&amp;gt;&amp;gt; problem, but that's hard to say without seeing the HTML.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; See my next comment below:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; There are currently 98 calendars.  I tried looking for anomalies in the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; ics files, but after several hours came up empty.  I traced down the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; file that appears to be responsible for generating the list of calendars
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; (interfaces/admin_interface.php).  I am not a coder, but nothing looked
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; amiss to me there.  It creates a stanza beginning with &amp;lt;form&amp;gt; and ending
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; with &amp;lt;/form&amp;gt; and I can find no open tags or typos in the stanzas.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; So I copied the source from the frame to a file and viewed it in a
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Copied what exactly?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Turns out they are a little to big to attach to this mail, so here are links:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://computerisms.ca/test.2.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca/test.2.html&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://computerisms.ca/test.3.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca/test.3.html&lt;/a&gt;&lt;br&gt;&amp;gt; contents of test.2 is the html source of the right frame on the production
&lt;br&gt;&amp;gt; server, and is what I am referring to here about what I copied.  I made it
&lt;br&gt;&amp;gt; into a .html file and  opened it in my browser, and was able to see the same
&lt;br&gt;&amp;gt; symptoms as exist on the live system.  Since this file has a &amp;lt;html&amp;gt; and
&lt;br&gt;&amp;gt; &amp;lt;/html&amp;gt; tag, I expected that I could figure the problem without working on the
&lt;br&gt;&amp;gt; production server.  I expect if you open the file in your browser, you will
&lt;br&gt;&amp;gt; see the same thing.  I can provide screen shots if you don't see it.
&lt;br&gt;&amp;gt; test3 contains 94 copies of the &amp;lt;form&amp;gt; to &amp;lt;/form&amp;gt; stanza.  You can see (or
&lt;br&gt;&amp;gt; I can at least) that the 94th implementation has changed.  if you download the
&lt;br&gt;&amp;gt; file and remove one stanza, it will display correctly.  If you add more stanzas,
&lt;br&gt;&amp;gt; it will continue to get worse.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; browser, and was able to see the same problem.  After a great deal of
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; monkeying around, it seems that this problem goes away if there are 93
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; or less calendars - or stanzas from &amp;lt;form&amp;gt; to &amp;lt;/form&amp;gt;.  I even went so
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 93 of ANY calendars?  That is, did you change the listed calendars to
&lt;br&gt;&amp;gt;&amp;gt; make sure it's not the particular calendars being listed?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Apparently any calendar, yes.  When I initially started messing around
&lt;br&gt;&amp;gt; it was by switching the stanzas around so that the bottom ones which
&lt;br&gt;&amp;gt; didn't display were moved up, and then they would display, but the
&lt;br&gt;&amp;gt; stanzas that were moved to the bottom would not display, having the same
&lt;br&gt;&amp;gt; symptoms.  I thought there might be one stanza that had a missing tag or
&lt;br&gt;&amp;gt; something like that, or maybe a special character got typed in during data
&lt;br&gt;&amp;gt; entry that caused a stanza to be misinterpreted, but I couldn't find such a
&lt;br&gt;&amp;gt; problem.
&lt;br&gt;&amp;gt; For all I know, that may still be true and I overlooked it, but I don't think so.
&lt;br&gt;&amp;gt; After that I started removing random calendars, and the problem went away
&lt;br&gt;&amp;gt; after removing 5 or so stanzas.  I took roughly the first half of the stanzas and
&lt;br&gt;&amp;gt; moved them to the last half of the file and removed the last 5 there too.  I
&lt;br&gt;&amp;gt; took the bottom calendars, and I took random ones from the list, every time it
&lt;br&gt;&amp;gt; seemed related to the total number of calendars.
&lt;br&gt;&amp;gt; Then, when I copied the same calendar/stanza 90+ times, it was a random calendar
&lt;br&gt;&amp;gt; I picked from about 1/3 the way down the list that was displaying properly before.
&lt;br&gt;&amp;gt; I did not try pasting a different calendar 90+ times, though I am willing if
&lt;br&gt;&amp;gt; you think it might provide a clue.  As of now, I am fairly confident I
&lt;br&gt;&amp;gt; will see these symptoms regardless of which calendar, whether it is all
&lt;br&gt;&amp;gt; different calendars or the same, or what order they are in.
&lt;/div&gt;&lt;br&gt;Given all your testing and that I see the problem in Firefox, too, and
&lt;br&gt;that I see the full page with no issues in IE, and that the file is
&lt;br&gt;over a half a meg of forms, it's likely just too much for the browser.
&lt;br&gt;&amp;nbsp;The best solution is to refactor this page.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; far as to strip the file out of all stanzas, then paste one stanza in 95
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; times and saw the problem.  reduced it to 93 and problem gone.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I have tried upping memory limit in php.ini, but it changed nothing.  I
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; also used firebug to look at the page, not sure what to make of what I
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; saw there.  Firebug lists each stanza as nested in the previous one, and
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; eventually it comes to an empty stanza in the middle somewhere.  One
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; time, there was a missing &amp;lt;/form&amp;gt; tag, and when I entered it, everything
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; came back to normal, but I have been unable to find/create that spot
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; again.  Not sure if that was a fluke or a clue.  But as I understand the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; code, I see no nesting of the stanzas, so I am really not sure why
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; firebug displays them that way.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; My troubleshooting has led me to the conclusion I must have reached some
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; sort of limit, but I am stuck for a clue as to what kind; php, html,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; browser, apache2?  Might there be any suggestions?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; It is certainly possible that that's too many form fields for the
&lt;br&gt;&amp;gt;&amp;gt; browser.  A good way to test that is to try different browsers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have tried this on firefox, epiphany, and galeon.  However, I think
&lt;br&gt;&amp;gt; these are all mozilla based browsers.  I must have a windows machine around
&lt;br&gt;&amp;gt; here somewhere so that I can test internet explorer, so I can try that a
&lt;br&gt;&amp;gt; little later on to test...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks Paul, you assistance is much appreciated :)
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Paul Lesniewski
&lt;br&gt;SquirrelMail Team
&lt;br&gt;Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/donate_paul_lesniewski.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donate_paul_lesniewski.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506813&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/shared-calendar-tp26500638p26506813.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26506790</id>
	<title>Re: shared calendar</title>
	<published>2009-11-24T18:46:12Z</published>
	<updated>2009-11-24T18:46:12Z</updated>
	<author>
		<name>Paul Lesniewski</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 5:41 PM, Bob Miller &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506790&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bob@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Paul,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I should further define what happens on the interface, the last few
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; calendars are mis-shaped - after the last &amp;quot;good&amp;quot; calendar, the next one
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; has flattened drop down menus (where the permissions are listed), below
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; that the next calendar has check mark boxes, but no content, below that,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; the next calendar has no content at all, just the coloured border, and
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This sounds a little like there might be some input sanitizing
&lt;br&gt;&amp;gt;&amp;gt; problem, but that's hard to say without seeing the HTML.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; See my next comment below:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; There are currently 98 calendars.  I tried looking for anomalies in the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; ics files, but after several hours came up empty.  I traced down the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; file that appears to be responsible for generating the list of calendars
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; (interfaces/admin_interface.php).  I am not a coder, but nothing looked
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; amiss to me there.  It creates a stanza beginning with &amp;lt;form&amp;gt; and ending
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; with &amp;lt;/form&amp;gt; and I can find no open tags or typos in the stanzas.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; So I copied the source from the frame to a file and viewed it in a
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Copied what exactly?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Turns out they are a little to big to attach to this mail, so here are links:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://computerisms.ca/test.2.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca/test.2.html&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://computerisms.ca/test.3.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca/test.3.html&lt;/a&gt;&lt;br&gt;&amp;gt; contents of test.2 is the html source of the right frame on the production
&lt;br&gt;&amp;gt; server, and is what I am referring to here about what I copied.  I made it
&lt;br&gt;&amp;gt; into a .html file and  opened it in my browser, and was able to see the same
&lt;br&gt;&amp;gt; symptoms as exist on the live system.  Since this file has a &amp;lt;html&amp;gt; and
&lt;br&gt;&amp;gt; &amp;lt;/html&amp;gt; tag, I expected that I could figure the problem without working on the
&lt;br&gt;&amp;gt; production server.  I expect if you open the file in your browser, you will
&lt;br&gt;&amp;gt; see the same thing.  I can provide screen shots if you don't see it.
&lt;br&gt;&amp;gt; test3 contains 94 copies of the &amp;lt;form&amp;gt; to &amp;lt;/form&amp;gt; stanza.  You can see (or
&lt;br&gt;&amp;gt; I can at least) that the 94th implementation has changed.  if you download the
&lt;br&gt;&amp;gt; file and remove one stanza, it will display correctly.  If you add more stanzas,
&lt;br&gt;&amp;gt; it will continue to get worse.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; browser, and was able to see the same problem.  After a great deal of
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; monkeying around, it seems that this problem goes away if there are 93
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; or less calendars - or stanzas from &amp;lt;form&amp;gt; to &amp;lt;/form&amp;gt;.  I even went so
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 93 of ANY calendars?  That is, did you change the listed calendars to
&lt;br&gt;&amp;gt;&amp;gt; make sure it's not the particular calendars being listed?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Apparently any calendar, yes.  When I initially started messing around
&lt;br&gt;&amp;gt; it was by switching the stanzas around so that the bottom ones which
&lt;br&gt;&amp;gt; didn't display were moved up, and then they would display, but the
&lt;br&gt;&amp;gt; stanzas that were moved to the bottom would not display, having the same
&lt;br&gt;&amp;gt; symptoms.  I thought there might be one stanza that had a missing tag or
&lt;br&gt;&amp;gt; something like that, or maybe a special character got typed in during data
&lt;br&gt;&amp;gt; entry that caused a stanza to be misinterpreted, but I couldn't find such a
&lt;br&gt;&amp;gt; problem.
&lt;br&gt;&amp;gt; For all I know, that may still be true and I overlooked it, but I don't think so.
&lt;br&gt;&amp;gt; After that I started removing random calendars, and the problem went away
&lt;br&gt;&amp;gt; after removing 5 or so stanzas.  I took roughly the first half of the stanzas and
&lt;br&gt;&amp;gt; moved them to the last half of the file and removed the last 5 there too.  I
&lt;br&gt;&amp;gt; took the bottom calendars, and I took random ones from the list, every time it
&lt;br&gt;&amp;gt; seemed related to the total number of calendars.
&lt;br&gt;&amp;gt; Then, when I copied the same calendar/stanza 90+ times, it was a random calendar
&lt;br&gt;&amp;gt; I picked from about 1/3 the way down the list that was displaying properly before.
&lt;br&gt;&amp;gt; I did not try pasting a different calendar 90+ times, though I am willing if
&lt;br&gt;&amp;gt; you think it might provide a clue.  As of now, I am fairly confident I
&lt;br&gt;&amp;gt; will see these symptoms regardless of which calendar, whether it is all
&lt;br&gt;&amp;gt; different calendars or the same, or what order they are in.
&lt;/div&gt;&lt;br&gt;Given all your testing and that I see the problem in Firefox, too, and
&lt;br&gt;that I see the full page with no issues in IE, and that the file is
&lt;br&gt;over a half a meg of forms, it's likely just too much for the browser.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; far as to strip the file out of all stanzas, then paste one stanza in 95
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; times and saw the problem.  reduced it to 93 and problem gone.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I have tried upping memory limit in php.ini, but it changed nothing.  I
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; also used firebug to look at the page, not sure what to make of what I
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; saw there.  Firebug lists each stanza as nested in the previous one, and
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; eventually it comes to an empty stanza in the middle somewhere.  One
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; time, there was a missing &amp;lt;/form&amp;gt; tag, and when I entered it, everything
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; came back to normal, but I have been unable to find/create that spot
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; again.  Not sure if that was a fluke or a clue.  But as I understand the
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; code, I see no nesting of the stanzas, so I am really not sure why
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; firebug displays them that way.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; My troubleshooting has led me to the conclusion I must have reached some
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; sort of limit, but I am stuck for a clue as to what kind; php, html,
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; browser, apache2?  Might there be any suggestions?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; It is certainly possible that that's too many form fields for the
&lt;br&gt;&amp;gt;&amp;gt; browser.  A good way to test that is to try different browsers.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have tried this on firefox, epiphany, and galeon.  However, I think
&lt;br&gt;&amp;gt; these are all mozilla based browsers.  I must have a windows machine around
&lt;br&gt;&amp;gt; here somewhere so that I can test internet explorer, so I can try that a
&lt;br&gt;&amp;gt; little later on to test...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks Paul, you assistance is much appreciated :)
&lt;/div&gt;&lt;br&gt;-- 
&lt;br&gt;Paul Lesniewski
&lt;br&gt;SquirrelMail Team
&lt;br&gt;Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/donate_paul_lesniewski.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donate_paul_lesniewski.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506790&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/shared-calendar-tp26500638p26506790.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26506791</id>
	<title>Re: shared calendar</title>
	<published>2009-11-24T18:45:27Z</published>
	<updated>2009-11-24T18:45:27Z</updated>
	<author>
		<name>Bob Miller-9</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;Well, it's not too often I can say something good about internet
&lt;br&gt;explorer, but it does not seem to suffer the same limitation as firefox.
&lt;br&gt;At least it does display the contents of
&lt;br&gt;&lt;a href=&quot;http://computerisms.ca/test.2.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca/test.2.html&lt;/a&gt;&amp;nbsp;as I expect it should. &amp;nbsp;The missing
&lt;br&gt;calendars are in place and they look normal. &amp;nbsp;Firefox on a windows
&lt;br&gt;machine still throws the same fit.
&lt;br&gt;So, either there is broken html that IE can somehow render, or firefox
&lt;br&gt;has a bug/limitation. &amp;nbsp;Since bug reports are easier to search than code,
&lt;br&gt;I will start there...
&lt;br&gt;&lt;br&gt;On Tue, 2009-11-24 at 17:41 -0800, Bob Miller wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Paul,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I should further define what happens on the interface, the last few
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; calendars are mis-shaped - after the last &amp;quot;good&amp;quot; calendar, the next one
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; has flattened drop down menus (where the permissions are listed), below
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; that the next calendar has check mark boxes, but no content, below that,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; the next calendar has no content at all, just the coloured border, and
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; This sounds a little like there might be some input sanitizing
&lt;br&gt;&amp;gt; &amp;gt; problem, but that's hard to say without seeing the HTML.
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt; See my next comment below:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; There are currently 98 calendars. &amp;nbsp;I tried looking for anomalies in the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; ics files, but after several hours came up empty. &amp;nbsp;I traced down the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; file that appears to be responsible for generating the list of calendars
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; (interfaces/admin_interface.php). &amp;nbsp;I am not a coder, but nothing looked
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; amiss to me there. &amp;nbsp;It creates a stanza beginning with &amp;lt;form&amp;gt; and ending
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; with &amp;lt;/form&amp;gt; and I can find no open tags or typos in the stanzas.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; So I copied the source from the frame to a file and viewed it in a
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Copied what exactly?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Turns out they are a little to big to attach to this mail, so here are links:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://computerisms.ca/test.2.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca/test.2.html&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://computerisms.ca/test.3.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca/test.3.html&lt;/a&gt;&lt;br&gt;&amp;gt; contents of test.2 is the html source of the right frame on the production 
&lt;br&gt;&amp;gt; server, and is what I am referring to here about what I copied. &amp;nbsp;I made it
&lt;br&gt;&amp;gt; into a .html file and &amp;nbsp;opened it in my browser, and was able to see the same
&lt;br&gt;&amp;gt; symptoms as exist on the live system. &amp;nbsp;Since this file has a &amp;lt;html&amp;gt; and 
&lt;br&gt;&amp;gt; &amp;lt;/html&amp;gt; tag, I expected that I could figure the problem without working on the
&lt;br&gt;&amp;gt; production server. &amp;nbsp;I expect if you open the file in your browser, you will 
&lt;br&gt;&amp;gt; see the same thing. &amp;nbsp;I can provide screen shots if you don't see it.
&lt;br&gt;&amp;gt; test3 contains 94 copies of the &amp;lt;form&amp;gt; to &amp;lt;/form&amp;gt; stanza. &amp;nbsp;You can see (or 
&lt;br&gt;&amp;gt; I can at least) that the 94th implementation has changed. &amp;nbsp;if you download the
&lt;br&gt;&amp;gt; file and remove one stanza, it will display correctly. &amp;nbsp;If you add more stanzas,
&lt;br&gt;&amp;gt; it will continue to get worse.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; browser, and was able to see the same problem. &amp;nbsp;After a great deal of
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; monkeying around, it seems that this problem goes away if there are 93
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; or less calendars - or stanzas from &amp;lt;form&amp;gt; to &amp;lt;/form&amp;gt;. &amp;nbsp;I even went so
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 93 of ANY calendars? &amp;nbsp;That is, did you change the listed calendars to
&lt;br&gt;&amp;gt; &amp;gt; make sure it's not the particular calendars being listed?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Apparently any calendar, yes. &amp;nbsp;When I initially started messing around
&lt;br&gt;&amp;gt; it was by switching the stanzas around so that the bottom ones which
&lt;br&gt;&amp;gt; didn't display were moved up, and then they would display, but the
&lt;br&gt;&amp;gt; stanzas that were moved to the bottom would not display, having the same
&lt;br&gt;&amp;gt; symptoms. &amp;nbsp;I thought there might be one stanza that had a missing tag or 
&lt;br&gt;&amp;gt; something like that, or maybe a special character got typed in during data
&lt;br&gt;&amp;gt; entry that caused a stanza to be misinterpreted, but I couldn't find such a 
&lt;br&gt;&amp;gt; problem.
&lt;br&gt;&amp;gt; For all I know, that may still be true and I overlooked it, but I don't think so.
&lt;br&gt;&amp;gt; After that I started removing random calendars, and the problem went away 
&lt;br&gt;&amp;gt; after removing 5 or so stanzas. &amp;nbsp;I took roughly the first half of the stanzas and 
&lt;br&gt;&amp;gt; moved them to the last half of the file and removed the last 5 there too. &amp;nbsp;I
&lt;br&gt;&amp;gt; took the bottom calendars, and I took random ones from the list, every time it
&lt;br&gt;&amp;gt; seemed related to the total number of calendars.
&lt;br&gt;&amp;gt; Then, when I copied the same calendar/stanza 90+ times, it was a random calendar
&lt;br&gt;&amp;gt; I picked from about 1/3 the way down the list that was displaying properly before. &amp;nbsp;
&lt;br&gt;&amp;gt; I did not try pasting a different calendar 90+ times, though I am willing if
&lt;br&gt;&amp;gt; you think it might provide a clue. &amp;nbsp;As of now, I am fairly confident I
&lt;br&gt;&amp;gt; will see these symptoms regardless of which calendar, whether it is all 
&lt;br&gt;&amp;gt; different calendars or the same, or what order they are in.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; far as to strip the file out of all stanzas, then paste one stanza in 95
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; times and saw the problem. &amp;nbsp;reduced it to 93 and problem gone.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; I have tried upping memory limit in php.ini, but it changed nothing. &amp;nbsp;I
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; also used firebug to look at the page, not sure what to make of what I
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; saw there. &amp;nbsp;Firebug lists each stanza as nested in the previous one, and
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; eventually it comes to an empty stanza in the middle somewhere. &amp;nbsp;One
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; time, there was a missing &amp;lt;/form&amp;gt; tag, and when I entered it, everything
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; came back to normal, but I have been unable to find/create that spot
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; again. &amp;nbsp;Not sure if that was a fluke or a clue. &amp;nbsp;But as I understand the
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; code, I see no nesting of the stanzas, so I am really not sure why
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; firebug displays them that way.
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; My troubleshooting has led me to the conclusion I must have reached some
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; sort of limit, but I am stuck for a clue as to what kind; php, html,
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; browser, apache2? &amp;nbsp;Might there be any suggestions?
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; It is certainly possible that that's too many form fields for the
&lt;br&gt;&amp;gt; &amp;gt; browser. &amp;nbsp;A good way to test that is to try different browsers.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I have tried this on firefox, epiphany, and galeon. &amp;nbsp;However, I think
&lt;br&gt;&amp;gt; these are all mozilla based browsers. &amp;nbsp;I must have a windows machine around 
&lt;br&gt;&amp;gt; here somewhere so that I can test internet explorer, so I can try that a 
&lt;br&gt;&amp;gt; little later on to test...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks Paul, you assistance is much appreciated :)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -- 
&lt;br&gt;&amp;gt; &amp;gt; Paul Lesniewski
&lt;br&gt;&amp;gt; &amp;gt; SquirrelMail Team
&lt;br&gt;&amp;gt; &amp;gt; Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://squirrelmail.org/donate_paul_lesniewski.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donate_paul_lesniewski.php&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; &amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; &amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; &amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; -----
&lt;br&gt;&amp;gt; &amp;gt; squirrelmail-plugins mailing list
&lt;br&gt;&amp;gt; &amp;gt; Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506791&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;&amp;gt; Bob Miller
&lt;br&gt;&amp;gt; 334-7117/633-3760
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://computerisms.ca&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506791&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bob@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Network, Internet, Server,
&lt;br&gt;&amp;gt; and Open Source Solutions
&lt;br&gt;&amp;gt; Bob Miller
&lt;br&gt;&amp;gt; 334-7117/633-3760
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://computerisms.ca&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506791&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bob@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Network, Internet, Server,
&lt;br&gt;&amp;gt; and Open Source Solutions
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; -----
&lt;br&gt;&amp;gt; squirrelmail-plugins mailing list
&lt;br&gt;&amp;gt; Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;&amp;gt; List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506791&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;&amp;gt; List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;&amp;gt; List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;/div&gt;Bob Miller
&lt;br&gt;334-7117/633-3760
&lt;br&gt;&lt;a href=&quot;http://computerisms.ca&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506791&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bob@...&lt;/a&gt;
&lt;br&gt;Network, Internet, Server,
&lt;br&gt;and Open Source Solutions
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506791&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/shared-calendar-tp26500638p26506791.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26506403</id>
	<title>Re: shared calendar</title>
	<published>2009-11-24T17:41:00Z</published>
	<updated>2009-11-24T17:41:00Z</updated>
	<author>
		<name>Bob Miller-9</name>
	</author>
	<content type="html">Hi Paul,
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; I should further define what happens on the interface, the last few
&lt;br&gt;&amp;gt; &amp;gt; calendars are mis-shaped - after the last &amp;quot;good&amp;quot; calendar, the next one
&lt;br&gt;&amp;gt; &amp;gt; has flattened drop down menus (where the permissions are listed), below
&lt;br&gt;&amp;gt; &amp;gt; that the next calendar has check mark boxes, but no content, below that,
&lt;br&gt;&amp;gt; &amp;gt; the next calendar has no content at all, just the coloured border, and
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This sounds a little like there might be some input sanitizing
&lt;br&gt;&amp;gt; problem, but that's hard to say without seeing the HTML.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;See my next comment below:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;gt; There are currently 98 calendars. &amp;nbsp;I tried looking for anomalies in the
&lt;br&gt;&amp;gt; &amp;gt; ics files, but after several hours came up empty. &amp;nbsp;I traced down the
&lt;br&gt;&amp;gt; &amp;gt; file that appears to be responsible for generating the list of calendars
&lt;br&gt;&amp;gt; &amp;gt; (interfaces/admin_interface.php). &amp;nbsp;I am not a coder, but nothing looked
&lt;br&gt;&amp;gt; &amp;gt; amiss to me there. &amp;nbsp;It creates a stanza beginning with &amp;lt;form&amp;gt; and ending
&lt;br&gt;&amp;gt; &amp;gt; with &amp;lt;/form&amp;gt; and I can find no open tags or typos in the stanzas.
&lt;br&gt;&amp;gt; &amp;gt; So I copied the source from the frame to a file and viewed it in a
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Copied what exactly?
&lt;br&gt;&lt;br&gt;Turns out they are a little to big to attach to this mail, so here are links:
&lt;br&gt;&lt;a href=&quot;http://computerisms.ca/test.2.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca/test.2.html&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://computerisms.ca/test.3.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca/test.3.html&lt;/a&gt;&lt;br&gt;contents of test.2 is the html source of the right frame on the production 
&lt;br&gt;server, and is what I am referring to here about what I copied. &amp;nbsp;I made it
&lt;br&gt;into a .html file and &amp;nbsp;opened it in my browser, and was able to see the same
&lt;br&gt;symptoms as exist on the live system. &amp;nbsp;Since this file has a &amp;lt;html&amp;gt; and 
&lt;br&gt;&amp;lt;/html&amp;gt; tag, I expected that I could figure the problem without working on the
&lt;br&gt;production server. &amp;nbsp;I expect if you open the file in your browser, you will 
&lt;br&gt;see the same thing. &amp;nbsp;I can provide screen shots if you don't see it.
&lt;br&gt;test3 contains 94 copies of the &amp;lt;form&amp;gt; to &amp;lt;/form&amp;gt; stanza. &amp;nbsp;You can see (or 
&lt;br&gt;I can at least) that the 94th implementation has changed. &amp;nbsp;if you download the
&lt;br&gt;file and remove one stanza, it will display correctly. &amp;nbsp;If you add more stanzas,
&lt;br&gt;it will continue to get worse.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; browser, and was able to see the same problem. &amp;nbsp;After a great deal of
&lt;br&gt;&amp;gt; &amp;gt; monkeying around, it seems that this problem goes away if there are 93
&lt;br&gt;&amp;gt; &amp;gt; or less calendars - or stanzas from &amp;lt;form&amp;gt; to &amp;lt;/form&amp;gt;. &amp;nbsp;I even went so
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 93 of ANY calendars? &amp;nbsp;That is, did you change the listed calendars to
&lt;br&gt;&amp;gt; make sure it's not the particular calendars being listed?
&lt;br&gt;&lt;br&gt;Apparently any calendar, yes. &amp;nbsp;When I initially started messing around
&lt;br&gt;it was by switching the stanzas around so that the bottom ones which
&lt;br&gt;didn't display were moved up, and then they would display, but the
&lt;br&gt;stanzas that were moved to the bottom would not display, having the same
&lt;br&gt;symptoms. &amp;nbsp;I thought there might be one stanza that had a missing tag or 
&lt;br&gt;something like that, or maybe a special character got typed in during data
&lt;br&gt;entry that caused a stanza to be misinterpreted, but I couldn't find such a 
&lt;br&gt;problem.
&lt;br&gt;For all I know, that may still be true and I overlooked it, but I don't think so.
&lt;br&gt;After that I started removing random calendars, and the problem went away 
&lt;br&gt;after removing 5 or so stanzas. &amp;nbsp;I took roughly the first half of the stanzas and 
&lt;br&gt;moved them to the last half of the file and removed the last 5 there too. &amp;nbsp;I
&lt;br&gt;took the bottom calendars, and I took random ones from the list, every time it
&lt;br&gt;seemed related to the total number of calendars.
&lt;br&gt;Then, when I copied the same calendar/stanza 90+ times, it was a random calendar
&lt;br&gt;I picked from about 1/3 the way down the list that was displaying properly before. &amp;nbsp;
&lt;br&gt;I did not try pasting a different calendar 90+ times, though I am willing if
&lt;br&gt;you think it might provide a clue. &amp;nbsp;As of now, I am fairly confident I
&lt;br&gt;will see these symptoms regardless of which calendar, whether it is all 
&lt;br&gt;different calendars or the same, or what order they are in.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; far as to strip the file out of all stanzas, then paste one stanza in 95
&lt;br&gt;&amp;gt; &amp;gt; times and saw the problem. &amp;nbsp;reduced it to 93 and problem gone.
&lt;br&gt;&amp;gt; &amp;gt; I have tried upping memory limit in php.ini, but it changed nothing. &amp;nbsp;I
&lt;br&gt;&amp;gt; &amp;gt; also used firebug to look at the page, not sure what to make of what I
&lt;br&gt;&amp;gt; &amp;gt; saw there. &amp;nbsp;Firebug lists each stanza as nested in the previous one, and
&lt;br&gt;&amp;gt; &amp;gt; eventually it comes to an empty stanza in the middle somewhere. &amp;nbsp;One
&lt;br&gt;&amp;gt; &amp;gt; time, there was a missing &amp;lt;/form&amp;gt; tag, and when I entered it, everything
&lt;br&gt;&amp;gt; &amp;gt; came back to normal, but I have been unable to find/create that spot
&lt;br&gt;&amp;gt; &amp;gt; again. &amp;nbsp;Not sure if that was a fluke or a clue. &amp;nbsp;But as I understand the
&lt;br&gt;&amp;gt; &amp;gt; code, I see no nesting of the stanzas, so I am really not sure why
&lt;br&gt;&amp;gt; &amp;gt; firebug displays them that way.
&lt;br&gt;&amp;gt; &amp;gt; My troubleshooting has led me to the conclusion I must have reached some
&lt;br&gt;&amp;gt; &amp;gt; sort of limit, but I am stuck for a clue as to what kind; php, html,
&lt;br&gt;&amp;gt; &amp;gt; browser, apache2? &amp;nbsp;Might there be any suggestions?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It is certainly possible that that's too many form fields for the
&lt;br&gt;&amp;gt; browser. &amp;nbsp;A good way to test that is to try different browsers.
&lt;/div&gt;&lt;br&gt;I have tried this on firefox, epiphany, and galeon. &amp;nbsp;However, I think
&lt;br&gt;these are all mozilla based browsers. &amp;nbsp;I must have a windows machine around 
&lt;br&gt;here somewhere so that I can test internet explorer, so I can try that a 
&lt;br&gt;little later on to test...
&lt;br&gt;&lt;br&gt;Thanks Paul, you assistance is much appreciated :)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Paul Lesniewski
&lt;br&gt;&amp;gt; SquirrelMail Team
&lt;br&gt;&amp;gt; Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://squirrelmail.org/donate_paul_lesniewski.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donate_paul_lesniewski.php&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; -----
&lt;br&gt;&amp;gt; squirrelmail-plugins mailing list
&lt;br&gt;&amp;gt; Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;&amp;gt; List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506403&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;&amp;gt; List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;&amp;gt; List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;/div&gt;Bob Miller
&lt;br&gt;334-7117/633-3760
&lt;br&gt;&lt;a href=&quot;http://computerisms.ca&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506403&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bob@...&lt;/a&gt;
&lt;br&gt;Network, Internet, Server,
&lt;br&gt;and Open Source Solutions
&lt;br&gt;Bob Miller
&lt;br&gt;334-7117/633-3760
&lt;br&gt;&lt;a href=&quot;http://computerisms.ca&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506403&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bob@...&lt;/a&gt;
&lt;br&gt;Network, Internet, Server,
&lt;br&gt;and Open Source Solutions
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26506403&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/shared-calendar-tp26500638p26506403.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26505784</id>
	<title>Re: Does restrict_senders have the ability to excludeusers?</title>
	<published>2009-11-24T16:38:00Z</published>
	<updated>2009-11-24T16:38:00Z</updated>
	<author>
		<name>Eric Wolff-2</name>
	</author>
	<content type="html">I have restrict_senders set up to not allow an email to be sent out with
&lt;br&gt;more than 25 recipients via Squirrel Mail. One of our customers has
&lt;br&gt;requested the ability to send emails with more than 25 recipients.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Paul Lesniewski [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505784&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;paul@...&lt;/a&gt;] 
&lt;br&gt;Sent: Tuesday, November 24, 2009 4:34 PM
&lt;br&gt;To: Squirrelmail Plugins Mailing List
&lt;br&gt;Subject: Re: [SM-PLUGINS] Does restrict_senders have the ability to
&lt;br&gt;excludeusers?
&lt;br&gt;&lt;br&gt;On Tue, Nov 24, 2009 at 3:55 PM, Eric Wolff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505784&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ewolff@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; When I was setting up restrict_senders (v1.4), I could have sworn I
&lt;br&gt;saw
&lt;br&gt;&amp;gt; a place to specify email addresses that would not be subject to the
&lt;br&gt;&amp;gt; limits imposed by the plugin, but I can't find it now. Does this
&lt;br&gt;feature
&lt;br&gt;&amp;gt; exist, or am I just delusional?
&lt;br&gt;&lt;br&gt;That depends on what restrictions you are referring to. &amp;nbsp;Please be
&lt;br&gt;more specific. &amp;nbsp;Check the README file for information about
&lt;br&gt;$restrictDomains, $restrictSubsequentMassEmailsWhitelist and note that
&lt;br&gt;Login Manager can be used to change the plugin's settings on a per
&lt;br&gt;user basis.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Paul Lesniewski
&lt;br&gt;SquirrelMail Team
&lt;br&gt;Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/donate_paul_lesniewski.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donate_paul_lesniewski.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------
&lt;br&gt;------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008
&lt;br&gt;30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and
&lt;br&gt;focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505784&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options):
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;&lt;br&gt;No virus found in this incoming message.
&lt;br&gt;Checked by AVG - www.avg.com 
&lt;br&gt;Version: 9.0.707 / Virus Database: 270.14.80/2523 - Release Date:
&lt;br&gt;11/23/09 23:46:00
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505784&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Does-restrict_senders-have-the-ability-to-exclude-users--tp26505454p26505784.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26505749</id>
	<title>Re: Does restrict_senders have the ability to exclude users?</title>
	<published>2009-11-24T16:33:52Z</published>
	<updated>2009-11-24T16:33:52Z</updated>
	<author>
		<name>Paul Lesniewski</name>
	</author>
	<content type="html">On Tue, Nov 24, 2009 at 3:55 PM, Eric Wolff &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505749&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ewolff@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; When I was setting up restrict_senders (v1.4), I could have sworn I saw
&lt;br&gt;&amp;gt; a place to specify email addresses that would not be subject to the
&lt;br&gt;&amp;gt; limits imposed by the plugin, but I can't find it now. Does this feature
&lt;br&gt;&amp;gt; exist, or am I just delusional?
&lt;br&gt;&lt;br&gt;That depends on what restrictions you are referring to. &amp;nbsp;Please be
&lt;br&gt;more specific. &amp;nbsp;Check the README file for information about
&lt;br&gt;$restrictDomains, $restrictSubsequentMassEmailsWhitelist and note that
&lt;br&gt;Login Manager can be used to change the plugin's settings on a per
&lt;br&gt;user basis.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Paul Lesniewski
&lt;br&gt;SquirrelMail Team
&lt;br&gt;Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/donate_paul_lesniewski.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donate_paul_lesniewski.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505749&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Does-restrict_senders-have-the-ability-to-exclude-users--tp26505454p26505749.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26505454</id>
	<title>Does restrict_senders have the ability to exclude users?</title>
	<published>2009-11-24T15:55:51Z</published>
	<updated>2009-11-24T15:55:51Z</updated>
	<author>
		<name>Eric Wolff-2</name>
	</author>
	<content type="html">When I was setting up restrict_senders (v1.4), I could have sworn I saw
&lt;br&gt;a place to specify email addresses that would not be subject to the
&lt;br&gt;limits imposed by the plugin, but I can't find it now. Does this feature
&lt;br&gt;exist, or am I just delusional?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26505454&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Does-restrict_senders-have-the-ability-to-exclude-users--tp26505454p26505454.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26501627</id>
	<title>Re: shared calendar</title>
	<published>2009-11-24T11:06:32Z</published>
	<updated>2009-11-24T11:06:32Z</updated>
	<author>
		<name>Paul Lesniewski</name>
	</author>
	<content type="html">Hi Bob,
&lt;br&gt;&lt;br&gt;&amp;gt; I set up shared calendars for an organization that has been using the
&lt;br&gt;&amp;gt; heck out of them.  I received a report that the user administration page
&lt;br&gt;&amp;gt; was garbled at the bottom and there were calendars missing from the page
&lt;br&gt;&amp;gt; even though the users could access them normally.
&lt;br&gt;&amp;gt; I should further define what happens on the interface, the last few
&lt;br&gt;&amp;gt; calendars are mis-shaped - after the last &amp;quot;good&amp;quot; calendar, the next one
&lt;br&gt;&amp;gt; has flattened drop down menus (where the permissions are listed), below
&lt;br&gt;&amp;gt; that the next calendar has check mark boxes, but no content, below that,
&lt;br&gt;&amp;gt; the next calendar has no content at all, just the coloured border, and
&lt;br&gt;&lt;br&gt;This sounds a little like there might be some input sanitizing
&lt;br&gt;problem, but that's hard to say without seeing the HTML.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; below that the last calendar is a complete block of colour with
&lt;br&gt;&amp;gt; flattened drop down menus sprinkled randomly in it.  Most of the time,
&lt;br&gt;&amp;gt; this block goes a long long way, you cannot scroll to the bottom of it
&lt;br&gt;&amp;gt; with the mouse wheel, instead you need to use the scroll bar.
&lt;br&gt;&amp;gt; I counted up the calendars on the page, and matched it against the ics
&lt;br&gt;&amp;gt; files and found there were some missing calendars as well.  However, if
&lt;br&gt;&amp;gt; I used ctrl-F to find the missing calendars in the webpage, firefox
&lt;br&gt;&amp;gt; indicates the content is found, but it doesn't display it.
&lt;br&gt;&amp;gt; My investigation eventually led me to an ability to recreate the
&lt;br&gt;&amp;gt; problem, but I have no idea how to approach fixing it.  It turns out
&lt;br&gt;&amp;gt; that the garbled calendars are the missing ones.
&lt;br&gt;&amp;gt; There are currently 98 calendars.  I tried looking for anomalies in the
&lt;br&gt;&amp;gt; ics files, but after several hours came up empty.  I traced down the
&lt;br&gt;&amp;gt; file that appears to be responsible for generating the list of calendars
&lt;br&gt;&amp;gt; (interfaces/admin_interface.php).  I am not a coder, but nothing looked
&lt;br&gt;&amp;gt; amiss to me there.  It creates a stanza beginning with &amp;lt;form&amp;gt; and ending
&lt;br&gt;&amp;gt; with &amp;lt;/form&amp;gt; and I can find no open tags or typos in the stanzas.
&lt;br&gt;&amp;gt; So I copied the source from the frame to a file and viewed it in a
&lt;/div&gt;&lt;br&gt;Copied what exactly?
&lt;br&gt;&lt;br&gt;&amp;gt; browser, and was able to see the same problem.  After a great deal of
&lt;br&gt;&amp;gt; monkeying around, it seems that this problem goes away if there are 93
&lt;br&gt;&amp;gt; or less calendars - or stanzas from &amp;lt;form&amp;gt; to &amp;lt;/form&amp;gt;.  I even went so
&lt;br&gt;&lt;br&gt;93 of ANY calendars? &amp;nbsp;That is, did you change the listed calendars to
&lt;br&gt;make sure it's not the particular calendars being listed?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; far as to strip the file out of all stanzas, then paste one stanza in 95
&lt;br&gt;&amp;gt; times and saw the problem.  reduced it to 93 and problem gone.
&lt;br&gt;&amp;gt; I have tried upping memory limit in php.ini, but it changed nothing.  I
&lt;br&gt;&amp;gt; also used firebug to look at the page, not sure what to make of what I
&lt;br&gt;&amp;gt; saw there.  Firebug lists each stanza as nested in the previous one, and
&lt;br&gt;&amp;gt; eventually it comes to an empty stanza in the middle somewhere.  One
&lt;br&gt;&amp;gt; time, there was a missing &amp;lt;/form&amp;gt; tag, and when I entered it, everything
&lt;br&gt;&amp;gt; came back to normal, but I have been unable to find/create that spot
&lt;br&gt;&amp;gt; again.  Not sure if that was a fluke or a clue.  But as I understand the
&lt;br&gt;&amp;gt; code, I see no nesting of the stanzas, so I am really not sure why
&lt;br&gt;&amp;gt; firebug displays them that way.
&lt;br&gt;&amp;gt; My troubleshooting has led me to the conclusion I must have reached some
&lt;br&gt;&amp;gt; sort of limit, but I am stuck for a clue as to what kind; php, html,
&lt;br&gt;&amp;gt; browser, apache2?  Might there be any suggestions?
&lt;/div&gt;&lt;br&gt;It is certainly possible that that's too many form fields for the
&lt;br&gt;browser. &amp;nbsp;A good way to test that is to try different browsers.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Paul Lesniewski
&lt;br&gt;SquirrelMail Team
&lt;br&gt;Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/donate_paul_lesniewski.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donate_paul_lesniewski.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26501627&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/shared-calendar-tp26500638p26501627.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26500638</id>
	<title>shared calendar</title>
	<published>2009-11-24T09:56:35Z</published>
	<updated>2009-11-24T09:56:35Z</updated>
	<author>
		<name>Bob Miller-9</name>
	</author>
	<content type="html">Greetings,
&lt;br&gt;I set up shared calendars for an organization that has been using the
&lt;br&gt;heck out of them. &amp;nbsp;I received a report that the user administration page
&lt;br&gt;was garbled at the bottom and there were calendars missing from the page
&lt;br&gt;even though the users could access them normally. 
&lt;br&gt;I should further define what happens on the interface, the last few
&lt;br&gt;calendars are mis-shaped - after the last &amp;quot;good&amp;quot; calendar, the next one
&lt;br&gt;has flattened drop down menus (where the permissions are listed), below
&lt;br&gt;that the next calendar has check mark boxes, but no content, below that,
&lt;br&gt;the next calendar has no content at all, just the coloured border, and
&lt;br&gt;below that the last calendar is a complete block of colour with
&lt;br&gt;flattened drop down menus sprinkled randomly in it. &amp;nbsp;Most of the time,
&lt;br&gt;this block goes a long long way, you cannot scroll to the bottom of it
&lt;br&gt;with the mouse wheel, instead you need to use the scroll bar.
&lt;br&gt;I counted up the calendars on the page, and matched it against the ics
&lt;br&gt;files and found there were some missing calendars as well. &amp;nbsp;However, if
&lt;br&gt;I used ctrl-F to find the missing calendars in the webpage, firefox
&lt;br&gt;indicates the content is found, but it doesn't display it.
&lt;br&gt;My investigation eventually led me to an ability to recreate the
&lt;br&gt;problem, but I have no idea how to approach fixing it. &amp;nbsp;It turns out
&lt;br&gt;that the garbled calendars are the missing ones.
&lt;br&gt;There are currently 98 calendars. &amp;nbsp;I tried looking for anomalies in the
&lt;br&gt;ics files, but after several hours came up empty. &amp;nbsp;I traced down the
&lt;br&gt;file that appears to be responsible for generating the list of calendars
&lt;br&gt;(interfaces/admin_interface.php). &amp;nbsp;I am not a coder, but nothing looked
&lt;br&gt;amiss to me there. &amp;nbsp;It creates a stanza beginning with &amp;lt;form&amp;gt; and ending
&lt;br&gt;with &amp;lt;/form&amp;gt; and I can find no open tags or typos in the stanzas. &amp;nbsp;
&lt;br&gt;So I copied the source from the frame to a file and viewed it in a
&lt;br&gt;browser, and was able to see the same problem. &amp;nbsp;After a great deal of
&lt;br&gt;monkeying around, it seems that this problem goes away if there are 93
&lt;br&gt;or less calendars - or stanzas from &amp;lt;form&amp;gt; to &amp;lt;/form&amp;gt;. &amp;nbsp;I even went so
&lt;br&gt;far as to strip the file out of all stanzas, then paste one stanza in 95
&lt;br&gt;times and saw the problem. &amp;nbsp;reduced it to 93 and problem gone.
&lt;br&gt;I have tried upping memory limit in php.ini, but it changed nothing. &amp;nbsp;I
&lt;br&gt;also used firebug to look at the page, not sure what to make of what I
&lt;br&gt;saw there. &amp;nbsp;Firebug lists each stanza as nested in the previous one, and
&lt;br&gt;eventually it comes to an empty stanza in the middle somewhere. &amp;nbsp;One
&lt;br&gt;time, there was a missing &amp;lt;/form&amp;gt; tag, and when I entered it, everything
&lt;br&gt;came back to normal, but I have been unable to find/create that spot
&lt;br&gt;again. &amp;nbsp;Not sure if that was a fluke or a clue. &amp;nbsp;But as I understand the
&lt;br&gt;code, I see no nesting of the stanzas, so I am really not sure why
&lt;br&gt;firebug displays them that way.
&lt;br&gt;My troubleshooting has led me to the conclusion I must have reached some
&lt;br&gt;sort of limit, but I am stuck for a clue as to what kind; php, html,
&lt;br&gt;browser, apache2? &amp;nbsp;Might there be any suggestions? &amp;nbsp;
&lt;br&gt;&lt;br&gt;Bob Miller
&lt;br&gt;334-7117/633-3760
&lt;br&gt;&lt;a href=&quot;http://computerisms.ca&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://computerisms.ca&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500638&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bob@...&lt;/a&gt;
&lt;br&gt;Network, Internet, Server,
&lt;br&gt;and Open Source Solutions
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26500638&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/shared-calendar-tp26500638p26500638.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26509603</id>
	<title>Does restrict_senders have the ability of excluding users?</title>
	<published>2009-11-24T08:12:27Z</published>
	<updated>2009-11-24T08:12:27Z</updated>
	<author>
		<name>Eric Wolff-2</name>
	</author>
	<content type="html">When I was setting up restrict_senders, I could have sworn I saw a place
&lt;br&gt;to specify email addresses that would not be subject to the limits
&lt;br&gt;imposed by the plugin, but I can't find it now. Does this feature exist,
&lt;br&gt;or am I just delusional?
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509603&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Does-restrict_senders-have-the-ability-of-excluding-users--tp26509603p26509603.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26490012</id>
	<title>Login Notes plugin</title>
	<published>2009-11-23T19:29:54Z</published>
	<updated>2009-11-23T19:29:54Z</updated>
	<author>
		<name>John Kelly-9</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;Thanks for the Login Notes plugin.
&lt;br&gt;&lt;br&gt;I use it to display a download link for my self created root certificate. 
&lt;br&gt;My users can download and import the cert to their browser, and then login
&lt;br&gt;with SSL.
&lt;br&gt;&lt;br&gt;To see it at work, free accounts available at:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.beewyz.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.beewyz.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26490012&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Login-Notes-plugin-tp26490012p26490012.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26422750</id>
	<title>Re: Vadmin</title>
	<published>2009-11-19T00:45:32Z</published>
	<updated>2009-11-19T00:45:32Z</updated>
	<author>
		<name>Paul Lesniewski</name>
	</author>
	<content type="html">&amp;gt; I've done all the things which you mentioned in INSTALL file in vadmin
&lt;br&gt;&amp;gt; plugin directory but I don't know how to view it in my browser, I mean whta
&lt;br&gt;&amp;gt; should I write in my address bar in my browser.
&lt;br&gt;&lt;br&gt;Most plugins add a section to the Options page. &amp;nbsp;If it didn't add
&lt;br&gt;anything there, you need to read:
&lt;br&gt;&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Paul Lesniewski
&lt;br&gt;SquirrelMail Team
&lt;br&gt;Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/donate_paul_lesniewski.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donate_paul_lesniewski.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422750&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Vadmin-tp26422642p26422750.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26422586</id>
	<title>Re: Request for help - Change Password Options with Squirrelmail</title>
	<published>2009-11-19T00:34:00Z</published>
	<updated>2009-11-19T00:34:00Z</updated>
	<author>
		<name>Fredrik Jervfors-4</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; This is to request the System Administrators who're dealing with
&lt;br&gt;&amp;gt; Squirrelmail e-mail client for their help in resolving the Change
&lt;br&gt;&amp;gt; Password Plug-in.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 1.	E-mail Server is running on Solaris 9 (Sun Sparc)
&lt;br&gt;&amp;gt; 2.	Squirrelmail Webmail Client Version is: squirrelmail-1.4.20-RC2
&lt;br&gt;&amp;gt; 3.	Change Passwd: change_passwd-4.0-1.2.8
&lt;br&gt;&amp;gt; 4.	Compatibility: compatibility-2.0.14-1.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; E-mail Service is up and running fine. However, users are not able to
&lt;br&gt;&amp;gt; change their password thru webmail (System Password /etc/password &amp;
&lt;br&gt;&amp;gt; /etc/shadow)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The error is as follows:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; PHP Fatal error: &amp;nbsp;Call to undefined function sqgetGlobalVar() in
&lt;br&gt;&amp;gt; /usr/local/squirrelmail-1.4.20-RC2/plugins/compatibility/includes/1.5.2/
&lt;br&gt;&amp;gt; global.php on line 942
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please let me know how this issue can be resolved.
&lt;/div&gt;&lt;br&gt;Try downloading the latest 1.4.20 SVN snapshot to see if that solves the
&lt;br&gt;problem.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fredrik Jervfors
&lt;br&gt;The SquirrelMail Project
&lt;br&gt;Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/donations.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donations.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422586&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Request-for-help---Change-Password-Options-with-Squirrelmail-tp26421953p26422586.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26422291</id>
	<title>Re: Request for help - Change Password Options with Squirrelmail</title>
	<published>2009-11-19T00:11:51Z</published>
	<updated>2009-11-19T00:11:51Z</updated>
	<author>
		<name>Paul Lesniewski</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; This is to request the System Administrators who’re dealing with
&lt;br&gt;&amp;gt; Squirrelmail e-mail client for their help in resolving the Change Password
&lt;br&gt;&amp;gt; Plug-in.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; E-mail Server is running on Solaris 9 (Sun Sparc)
&lt;br&gt;&amp;gt; Squirrelmail Webmail Client Version is: squirrelmail-1.4.20-RC2
&lt;br&gt;&amp;gt; Change Passwd: change_passwd-4.0-1.2.8
&lt;br&gt;&amp;gt; Compatibility: compatibility-2.0.14-1.0
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; E-mail Service is up and running fine. However, users are not able to change
&lt;br&gt;&amp;gt; their password thru webmail (System Password /etc/password &amp; /etc/shadow)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The error is as follows:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; PHP Fatal error:  Call to undefined function sqgetGlobalVar() in
&lt;br&gt;&amp;gt; /usr/local/squirrelmail-1.4.20-RC2/plugins/compatibility/includes/1.5.2/global.php
&lt;br&gt;&amp;gt; on line 942
&lt;/div&gt;&lt;br&gt;Maybe you should read the mailing list posting guidelines before you
&lt;br&gt;post. &amp;nbsp;The mailing list archives are a good place to seek out
&lt;br&gt;frequently asked questions.
&lt;br&gt;&lt;br&gt;&amp;gt; Please let me know how this issue can be resolved.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Paul Lesniewski
&lt;br&gt;SquirrelMail Team
&lt;br&gt;Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/donate_paul_lesniewski.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donate_paul_lesniewski.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422291&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Request-for-help---Change-Password-Options-with-Squirrelmail-tp26421953p26422291.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26421953</id>
	<title>Request for help - Change Password Options with Squirrelmail</title>
	<published>2009-11-18T23:12:18Z</published>
	<updated>2009-11-18T23:12:18Z</updated>
	<author>
		<name>S. Govindarajan</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=us-ascii&quot;&gt;


&lt;meta name=ProgId content=Word.Document&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 10&quot;&gt;
&lt;meta name=Originator content=&quot;Microsoft Word 10&quot;&gt;
&lt;link rel=File-List href=&quot;cid:filelist.xml@01CA6915.BB2208C0&quot;&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:OfficeDocumentSettings&gt;
  &lt;o:DoNotRelyOnCSS/&gt;
 &lt;/o:OfficeDocumentSettings&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:DontDisplayPageBoundaries/&gt;
  &lt;w:SpellingState&gt;Clean&lt;/w:SpellingState&gt;
  &lt;w:DocumentKind&gt;DocumentEmail&lt;/w:DocumentKind&gt;
  &lt;w:EnvelopeVis/&gt;
  &lt;w:DrawingGridHorizontalSpacing&gt;9.35 pt&lt;/w:DrawingGridHorizontalSpacing&gt;
  &lt;w:DisplayVerticalDrawingGridEvery&gt;2&lt;/w:DisplayVerticalDrawingGridEvery&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:ApplyBreakingRules/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
 &lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;

&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */ 
 table.MsoNormalTable
	{mso-style-name:&quot;Table Normal&quot;;
	mso-tstyle-rowband-size:0;
	mso-tstyle-colband-size:0;
	mso-style-noshow:yes;
	mso-style-parent:&quot;&quot;;
	mso-padding-alt:0in 5.4pt 0in 5.4pt;
	mso-para-margin:0in;
	mso-para-margin-bottom:.0001pt;
	mso-pagination:widow-orphan;
	font-size:10.0pt;
	font-family:&quot;Times New Roman&quot;;}
&lt;/style&gt;
&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple style='tab-interval:.5in'&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Dear Friends,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;This is to request the System Administrators who&amp;#8217;re
dealing with Squirrelmail e-mail client for their help in resolving the Change
Password Plug-in.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;ol style='mso-margin-top-alt:0in' start=1 type=1&gt;
 &lt;li class=MsoNormal style='mso-list:l0 level1 lfo1;tab-stops:list .5in'&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;E-mail
     Server is running on Solaris 9 (Sun Sparc)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/li&gt;
 &lt;li class=MsoNormal style='mso-list:l0 level1 lfo1;tab-stops:list .5in'&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;Squirrelmail
     Webmail Client Version is: squirrelmail-1.4.20-RC2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/li&gt;
 &lt;li class=MsoNormal style='mso-list:l0 level1 lfo1;tab-stops:list .5in'&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;Change
     Passwd: change_passwd-4.0-1.2.8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/li&gt;
 &lt;li class=MsoNormal style='mso-list:l0 level1 lfo1;tab-stops:list .5in'&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;Compatibility:
     compatibility-2.0.14-1.0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;E-mail Service is up and running fine. However, users are
not able to change their password thru webmail (System Password /etc/password
&amp;amp; /etc/shadow)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;The error is as follows:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;PHP Fatal error:&lt;span style='mso-spacerun:yes'&gt;&amp;nbsp;
&lt;/span&gt;Call to undefined function sqgetGlobalVar() in /usr/local/squirrelmail-1.4.20-RC2/plugins/compatibility/includes/1.5.2/global.php
on line 942&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Please let me know how this issue can be resolved.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Thanks in-advance,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;With Best Regards,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Rajan&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26421953&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Request-for-help---Change-Password-Options-with-Squirrelmail-tp26421953p26421953.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26422642</id>
	<title>Vadmin</title>
	<published>2009-11-18T07:25:49Z</published>
	<updated>2009-11-18T07:25:49Z</updated>
	<author>
		<name>alireza Golibooshehri</name>
	</author>
	<content type="html">Hi&lt;br&gt;I&amp;#39;ve done all the things which you mentioned in INSTALL file in vadmin plugin directory but I don&amp;#39;t know how to view it in my browser, I mean whta should I write in my address bar in my browser.&lt;br&gt;Regards&lt;br&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422642&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Vadmin-tp26422642p26422642.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26406645</id>
	<title>Avelsieve error tracking...</title>
	<published>2009-11-18T03:59:11Z</published>
	<updated>2009-11-18T03:59:11Z</updated>
	<author>
		<name>q3media</name>
	</author>
	<content type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body style=&quot;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; &quot;&gt;&lt;div&gt;Hi guys&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;I am still trying to get Avelsieve to work on Mac OS X 10.6 Server.&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;No luck until now.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Using Avelsieve 1.9.7 &amp;amp; Mac OS X 10.6.2 I now get a different error.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I used to get:&lt;/div&gt;&lt;div&gt;&lt;i&gt;&quot;Could not log on to timsieved daemon on your IMAP server localhost:&amp;nbsp;&lt;br&gt;2003.&amp;nbsp;&lt;br&gt;Please contact your administrator.&quot;&amp;nbsp;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Now I get:&lt;/div&gt;&lt;div&gt;&lt;i&gt;&quot;Could not set active script on your IMAP server .&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;Please contact your administrator.&quot;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;The problem is: I am the administrator.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;No, seriously:&amp;nbsp;&lt;/div&gt;&lt;div&gt;How come Avelsieve has no way of telling me where the problem is?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;I know I can set the debug level to 1.&lt;/div&gt;&lt;div&gt;But then all I get is:&lt;/div&gt;&lt;div&gt;&quot;&lt;i&gt;Debug: Using Backend: ManageSieve.&lt;/i&gt;&quot;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;No other information.&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;So sieve seems to work, where the heck is the problem?&lt;/div&gt;&lt;div&gt;How do I get more information on what is going on?&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;Thanks&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;div&gt;kurt&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26406645&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Avelsieve-error-tracking...-tp26406645p26406645.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26403826</id>
	<title>Re: Plesk Mail Alias</title>
	<published>2009-11-17T23:50:01Z</published>
	<updated>2009-11-17T23:50:01Z</updated>
	<author>
		<name>Paul Lesniewski</name>
	</author>
	<content type="html">On Tue, Nov 17, 2009 at 12:19 AM, Fredrik Jervfors
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26403826&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jervfors@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; I have recently migrated my web server to a CentOS box with Plesk.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; In my previous configuration, the username and email address didn't
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; match:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; username: yjk00
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26403826&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;johndoe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; In Plesk, both must be equal. Therefore, in order to keep the system
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; compatible with the configuration of the email clients I added an
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; alias for every account:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; email/username: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26403826&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yjk00@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; alias: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26403826&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;johndoe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Email clients works fine, the problem now is Squirrelmail. Users
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; can't log into webmail if they don't know their username, but even if
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; they do, emails would be sent using the username, not the alias
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26403826&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yjk00@...&lt;/a&gt; instead of &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26403826&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;johndoe@...&lt;/a&gt;). I want to know if
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; there's a plugin (or any other mean) to: a) Configure squirrelmail to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; use certain alias by default for every user. b) if possible, login
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; using an alias instead of an username, and I mean Plesk alias, which
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; are already defined in a database, not user-defined alias.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Have you tried this one:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://squirrelmail.org/plugin_view.php?id=37&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/plugin_view.php?id=37&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Login Aliases was the first plugin I tried. However, I failed to find a
&lt;br&gt;&amp;gt;&amp;gt; way to add aliases automatically (with an script, for example) instead of
&lt;br&gt;&amp;gt;&amp;gt; requiring each user to go to options-&amp;gt;personal info and do it by
&lt;br&gt;&amp;gt;&amp;gt; themselves.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; With the Login Aliases plugin:
&lt;br&gt;&amp;gt;&amp;gt; -Where/how are the aliases stored in the HD?
&lt;br&gt;&amp;gt;&amp;gt; -If an user loggs in using an alias, is that alias used by default to send
&lt;br&gt;&amp;gt;&amp;gt;  emails?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I haven't use this plugin myself, so I downloaded it and took a look at
&lt;br&gt;&amp;gt; the code. The aliases seem to be stored in the file &amp;quot;login_alias.pref&amp;quot; in
&lt;br&gt;&amp;gt; the data directory (check your SquirrelMail configuration to find it), so
&lt;br&gt;&amp;gt; it should be possible to add aliases through a script. As far as I can
&lt;br&gt;&amp;gt; tell (based on a two minute look at the code), the alias isn't used for
&lt;br&gt;&amp;gt; anything but logging in.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here's my suggestion: create a new user, log in as that user, change the
&lt;br&gt;&amp;gt; preferences for that user, adding an alias, analyse the file
&lt;br&gt;&amp;gt; &amp;quot;login_alias.pref&amp;quot; to see how the data is stored, then write a script
&lt;br&gt;&amp;gt; matching that format and add aliases for all other users.
&lt;/div&gt;&lt;br&gt;The Login Aliases plugin is intended to let users create their own
&lt;br&gt;aliases. &amp;nbsp;It could be a way for you to accomplish what you want, but
&lt;br&gt;you'd need to hard-code your aliases in the SM configuration and
&lt;br&gt;remove the interface options for the plugin.
&lt;br&gt;&lt;br&gt;What I'd recommend instead is the Login Manager plugin. &amp;nbsp;It has some
&lt;br&gt;alias mapping options which can be dynamically maintained. &amp;nbsp;Please
&lt;br&gt;read its documentation carefully.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Paul Lesniewski
&lt;br&gt;SquirrelMail Team
&lt;br&gt;Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/donate_paul_lesniewski.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donate_paul_lesniewski.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26403826&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Plesk-Mail-Alias-tp26335478p26403826.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26422703</id>
	<title>Week View - Shared Calendar</title>
	<published>2009-11-17T09:07:01Z</published>
	<updated>2009-11-17T09:07:01Z</updated>
	<author>
		<name>Andrés Bertetich</name>
	</author>
	<content type="html">Hi evrybody,
&lt;br&gt;&amp;nbsp; &amp;nbsp;I was working on implementing a week view for Shared Calendars. I
&lt;br&gt;attach a modified version of shared_calendars-2.1beta6-1.2.7.tar.gz,
&lt;br&gt;which is also as attachment. I included also a unified diff patch.
&lt;br&gt;This version is for testing purposes only. If you want to try it,
&lt;br&gt;don't forget to change the config file.
&lt;br&gt;&amp;nbsp; &amp;nbsp;I'm not an experienced coder. Any suggestion is very welcome.
&lt;br&gt;&amp;nbsp; Thank you,
&lt;br&gt;Andrés
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Andrés Bertetich
&lt;br&gt;E: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422703&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aberte@...&lt;/a&gt; &amp;nbsp; | &amp;nbsp;T: +39 3476831085
&lt;br&gt;&lt;br /&gt;Index: data/config.php
&lt;br&gt;===================================================================
&lt;br&gt;--- data/config.php	(revision 0)
&lt;br&gt;+++ data/config.php	(revision 12)
&lt;br&gt;@@ -0,0 +1,472 @@
&lt;br&gt;+&amp;lt;?php
&lt;br&gt;+
&lt;br&gt;+global $cal_admins, $cal_debug, $max_events_per_day_on_month_view_default,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; $calendar_theme, $color, $show_week_numbers_in_month_view_override_default,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; $day_view_start_time_default, $day_view_end_time_default, 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; $show_small_calendar_default, $always_show_full_event_date_and_time,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; $max_displayable_early_morn_late_nite_event_names,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; $day_view_short_time_default, $highlight_threshold_default, 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; $cal_user_can_override_defaults, $small_calendar_size_default,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; $small_calendar_calID_default, $week_start_day_default,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; $small_calendar_header_color_default, $small_calendar_today_color_default,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; $small_calendar_event_italic_style_default, $small_calendar_event_color_default,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; $small_calendar_day_color_default, $small_calendar_separator_default,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; $small_calendar_show_year_default, $small_calendar_show_today_link_default,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; $small_calendar_inherit_day_background_colors_default,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; $external_calendar_clock_skew_default, $day_view_show_hourly_add_buttons_default,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; $month_view_show_event_start_time_default, $month_view_show_daily_add_buttons_default,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; $useDomainInCalID, $allow_small_calendar, $event_click_to_day_view_default,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; $migrateOldCalendarData, $calendar_overlay_selector_size_default,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; $DAV_force_SSL, $DAV_auth_scheme, $DAV_secure_port;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Calendar administrators
&lt;br&gt;+//
&lt;br&gt;+//
&lt;br&gt;+// Specify each administrator and whether or not they 
&lt;br&gt;+// should have access to ALL calendars (&amp;quot;yes&amp;quot; or &amp;quot;no&amp;quot;)
&lt;br&gt;+// (if &amp;quot;no&amp;quot;, this administrator can only edit calendars
&lt;br&gt;+// that they own)
&lt;br&gt;+//
&lt;br&gt;+//
&lt;br&gt;+// These users can administer the calendars that they
&lt;br&gt;+// have created (and optionally ALL calendars) by going
&lt;br&gt;+// to Options-&amp;gt;Calendar Administration
&lt;br&gt;+//
&lt;br&gt;+//
&lt;br&gt;+// Note that you may use the wildcards * and ? in the
&lt;br&gt;+// usernames, where * means &amp;quot;zero or more of any character&amp;quot;
&lt;br&gt;+// and ? means &amp;quot;exactly one character&amp;quot;
&lt;br&gt;+//
&lt;br&gt;+//
&lt;br&gt;+$cal_admins = array(
&lt;br&gt;+
&lt;br&gt;+// for example only, real entries
&lt;br&gt;+// should not have the two slashes
&lt;br&gt;+// at the beginning of the line:
&lt;br&gt;+//
&lt;br&gt;+ &amp;nbsp; 'andres' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; 'yes',
&lt;br&gt;+// &amp;nbsp; '&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422703&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;pavel@...&lt;/a&gt;' &amp;nbsp;=&amp;gt; 'yes',
&lt;br&gt;+// &amp;nbsp; 'jennifer@example.*' =&amp;gt; 'no',
&lt;br&gt;+
&lt;br&gt;+);
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Can users override default settings?
&lt;br&gt;+// Set to 0 (zero) if not, 1 to enable 
&lt;br&gt;+// user overrides. &amp;nbsp;Note that this will
&lt;br&gt;+// completely remove the &amp;quot;Calendar Preferences&amp;quot;
&lt;br&gt;+// link from the SquirrelMail Options page.
&lt;br&gt;+//
&lt;br&gt;+$cal_user_can_override_defaults = 1;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Turn this off (set to zero) if you can guarantee
&lt;br&gt;+// that your usernames are all unique. &amp;nbsp;If your IMAP
&lt;br&gt;+// usernames do NOT already include domain name,
&lt;br&gt;+// and there is possibility of overlap between personal
&lt;br&gt;+// calendars, you'll want to turn this on.
&lt;br&gt;+//
&lt;br&gt;+$useDomainInCalID = 0;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// What day of the week do weeks start on?
&lt;br&gt;+// Valid values are 0 through 6, or the contants
&lt;br&gt;+// SU, MO, TU, WE, TH, FR, SA, where SU is 0 and
&lt;br&gt;+// SA is 6.
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$week_start_day_default = MO;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Clicking on events on month view or year view
&lt;br&gt;+// can go to the event itself or the day view for
&lt;br&gt;+// that event's day.
&lt;br&gt;+// 
&lt;br&gt;+// 0 = go to event view
&lt;br&gt;+// 1 = go to day view
&lt;br&gt;+// 
&lt;br&gt;+$event_click_to_day_view_default = 0;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Show times on left side of the day view as small
&lt;br&gt;+// as possible? &amp;nbsp;Set to 1 to show the compacted 
&lt;br&gt;+// view, 0 (zero) for regular view.
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$day_view_short_time_default = 0;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Show add buttons next to each hour on left 
&lt;br&gt;+// side of the day view? &amp;nbsp;Set to 1 to show these
&lt;br&gt;+// 0 (zero) to hide them.
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$day_view_show_hourly_add_buttons_default = 1;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// The threshold at which events will be shown
&lt;br&gt;+// in a different color (such as red, to notate 
&lt;br&gt;+// importance/urgency)
&lt;br&gt;+// Possible values are 0 thru 9, or the constants:
&lt;br&gt;+//
&lt;br&gt;+// SM_CAL_EVENT_PRIORITY_UNKNOWN
&lt;br&gt;+// SM_CAL_EVENT_PRIORITY_EMERGENCY
&lt;br&gt;+// SM_CAL_EVENT_PRIORITY_URGENT
&lt;br&gt;+// SM_CAL_EVENT_PRIORITY_SERIOUS
&lt;br&gt;+// SM_CAL_EVENT_PRIORITY_IMPORTANT
&lt;br&gt;+// SM_CAL_EVENT_PRIORITY_NORMAL
&lt;br&gt;+// SM_CAL_EVENT_PRIORITY_SECONDARY
&lt;br&gt;+// SM_CAL_EVENT_PRIORITY_LOW
&lt;br&gt;+// SM_CAL_EVENT_PRIORITY_INSIGNIFICANT
&lt;br&gt;+// SM_CAL_EVENT_PRIORITY_IGNORE
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$highlight_threshold_default = SM_CAL_EVENT_PRIORITY_URGENT;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Event times can be shown in a context-sensitive format
&lt;br&gt;+// such as &amp;quot;[Today - Apr 25, 2005]&amp;quot;. &amp;nbsp;If this is desirable,
&lt;br&gt;+// this setting must be zero. &amp;nbsp;If you turn this setting
&lt;br&gt;+// on, event times will always be shown with the full date
&lt;br&gt;+// and time, regardless of context, such as 
&lt;br&gt;+// &amp;quot;[Apr 23, 2005 - Apr 25, 2005]&amp;quot;
&lt;br&gt;+// 
&lt;br&gt;+// 
&lt;br&gt;+$always_show_full_event_date_and_time = 0;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Calendar Theming
&lt;br&gt;+//
&lt;br&gt;+// A lot of care has been taken to create theming for the
&lt;br&gt;+// calendar that works across most SquirrelMail themes.
&lt;br&gt;+// Change these with care, and always test by changing your
&lt;br&gt;+// SquirrelMail theme a few times, unless you decide to 
&lt;br&gt;+// hard-code these values
&lt;br&gt;+//
&lt;br&gt;+$calendar_theme = array(
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'day_view_title_background' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; $color[0],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'day_view_time_header' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; $color[5],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'day_view_no_event_background_0' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; $color[12],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'day_view_no_event_background_1' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; $color[4],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'day_view_event_background_0' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; $color[0],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'day_view_event_background_1' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; $color[4],
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'month_view_title_background' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; $color[0],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'month_view_day_header' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; $color[5],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'month_view_today_text' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; $color[1],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'helper_month_view_today_background' &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; $color[2],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'month_view_holiday_text' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; $color[1],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'month_view_event_text_normal' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; $color[8],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'month_view_event_text_urgent' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;=&amp;gt; $color[1],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'month_view_day_background' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; $color[4],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'month_view_weekend_background' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; $color[5], // or set the same as regular days: $color[4],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'month_view_holiday_background' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; =&amp;gt; $color[5],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'month_view_non_month_day_background' &amp;nbsp; &amp;nbsp; =&amp;gt; $color[0],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'month_view_non_month_weekend_background' =&amp;gt; $color[0],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;'month_view_non_month_holiday_background' =&amp;gt; $color[0],
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; );
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// The maximum number of events shown for any one
&lt;br&gt;+// day in the month view
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$max_events_per_day_on_month_view_default = 4;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Show event start times on month view?
&lt;br&gt;+// Set to 1 to show times, or 0 (zero)
&lt;br&gt;+// to hide them.
&lt;br&gt;+// 
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$month_view_show_event_start_time_default = 0;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Show add buttons next to each day on month view?
&lt;br&gt;+// Set to 1 to show these 0 (zero) to hide them.
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$month_view_show_daily_add_buttons_default = 0;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// The hour of the day to start showing on the day view 
&lt;br&gt;+// screen (given based on 24-hour time: 0 - 23)
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$day_view_start_time_default = 7;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// The hour of the day to stop showing on the day view 
&lt;br&gt;+// screen (given based on 24-hour time: 0 - 23)
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$day_view_end_time_default = 20;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// The maximum number of event names displayed at the
&lt;br&gt;+// bottom of the day view screen for events that fall
&lt;br&gt;+// outside the displayable hours specified by 
&lt;br&gt;+// $day_view_start_time and $day_view_end_time above
&lt;br&gt;+//
&lt;br&gt;+$max_displayable_early_morn_late_nite_event_names = 4;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// An extra column can be shown to the left on the month view
&lt;br&gt;+// screen with the week number in it if desired. &amp;nbsp;Set to
&lt;br&gt;+// 1 to show week numbers, 0 (zero) to hide them.
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$show_week_numbers_in_month_view_override_default = 0;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Enable small (miniature) calendar?
&lt;br&gt;+//
&lt;br&gt;+$allow_small_calendar = 1;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Show the miniature calendar view beneath the
&lt;br&gt;+// folder list? &amp;nbsp;Set to 1 to enable it, or 0 (zero)
&lt;br&gt;+// to hide it.
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$show_small_calendar_default = 0;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Text size of miniature calendar view, per CSS
&lt;br&gt;+// font-size attribute format.
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$small_calendar_size_default = '14px';
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Default ID of the calendar to be shown for 
&lt;br&gt;+// the miniature calendar view.
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$small_calendar_calID_default = 'personal';
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Default color of miniature calendar
&lt;br&gt;+// header text.
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$small_calendar_header_color_default = $color[11];
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Default color of miniature calendar
&lt;br&gt;+// today text.
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$small_calendar_today_color_default = $color[8];
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Default text style for event days on
&lt;br&gt;+// miniature calendar view.
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$small_calendar_event_italic_style_default = 'italic';
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Default color of miniature calendar
&lt;br&gt;+// event text.
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$small_calendar_event_color_default = $color[2];
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Default color of miniature calendar
&lt;br&gt;+// regular day text.
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$small_calendar_day_color_default = $color[8];
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Default miniature calendar separator style.
&lt;br&gt;+// 0 for no separator, 1 for a &amp;lt;hr&amp;gt;, or 2 for
&lt;br&gt;+// a box around whole calendar.
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$small_calendar_separator_default = 0;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Show year on top of miniature calendar view?
&lt;br&gt;+// 1 = yes, 0 (zero) = no
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$small_calendar_show_year_default = 0;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Show link for &amp;quot;today&amp;quot; on top of miniature calendar?
&lt;br&gt;+// 1 = yes, 0 (zero) = no
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$small_calendar_show_today_link_default = 0;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Show background colors for days for miniature
&lt;br&gt;+// calendar view the same as regular calendar view?
&lt;br&gt;+// 1 = yes, 0 (zero) = no
&lt;br&gt;+//
&lt;br&gt;+// If $cal_user_can_override_defaults is turned
&lt;br&gt;+// on, this only serves as a default.
&lt;br&gt;+//
&lt;br&gt;+$small_calendar_inherit_day_background_colors_default = 0;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Default skew between clocks on local machine and those
&lt;br&gt;+// of any machine serving us an external calendar file
&lt;br&gt;+// (used to determine if we need to update our cache of
&lt;br&gt;+// such a calendar). &amp;nbsp;Only used when remote machine
&lt;br&gt;+// does not supply file modification time in HTTP headers.
&lt;br&gt;+//
&lt;br&gt;+// Given in minutes
&lt;br&gt;+//
&lt;br&gt;+$external_calendar_clock_skew_default = 1;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Default size of calendar overlay selector at the bottom of
&lt;br&gt;+// calendar views. &amp;nbsp;Set to 0 (zero) to disable overlay
&lt;br&gt;+// functionality, or any other number to choose the number of
&lt;br&gt;+// rows of a multiple selection widget should be displayed.
&lt;br&gt;+//
&lt;br&gt;+// $calendar_overlay_selector_size_default = 0;
&lt;br&gt;+//
&lt;br&gt;+$calendar_overlay_selector_size_default = 3;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// You may set this to 1 if you want the plugin to attempt
&lt;br&gt;+// to automatically convert users' personal calendars from
&lt;br&gt;+// older versions of the calendar plugin (both core
&lt;br&gt;+// SquirrelMail calendar as well as Shared Calendars plugins)
&lt;br&gt;+// Note that this requires you to make the scripts/convert_cal_to_ical.pl
&lt;br&gt;+// file accessible to (executable by) your web server. &amp;nbsp;Here
&lt;br&gt;+// is a sample setup which allows Apache to execute this
&lt;br&gt;+// file when running as the &amp;quot;apache&amp;quot; group:
&lt;br&gt;+//
&lt;br&gt;+// # chown root:apache scripts/convert_cal_to_ical.pl
&lt;br&gt;+// # chmod 754 scripts/convert_cal_to_ical.pl
&lt;br&gt;+//
&lt;br&gt;+// -rwxr-xr-- &amp;nbsp;1 root apache 2900 Feb 25 16:51 convert_cal_to_ical.pl*
&lt;br&gt;+//
&lt;br&gt;+// If you have problems getting apache to execute this,
&lt;br&gt;+// turn on $cal_debug below to see more debugging output.
&lt;br&gt;+//
&lt;br&gt;+$migrateOldCalendarData = 0;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Define the authentication scheme to be used for all DAV connections
&lt;br&gt;+// Digest is always recommended, but Basic is also a possibility, in which
&lt;br&gt;+// case it is strongly recommended to turn $DAV_force_ssl (see below) on.
&lt;br&gt;+//
&lt;br&gt;+// NOTE: Digest is NOT currently supported!
&lt;br&gt;+// TODO: Can't support Digest without direct access to user passwords, which we 
&lt;br&gt;+// &amp;nbsp; &amp;nbsp; &amp;nbsp; can't get in SquirrelMail without knowing about whatever IMAP auth 
&lt;br&gt;+// &amp;nbsp; &amp;nbsp; &amp;nbsp; backend is being used on each system. &amp;nbsp;that's not so great, but either 
&lt;br&gt;+// &amp;nbsp; &amp;nbsp; &amp;nbsp; is plaintext basic http auth
&lt;br&gt;+//
&lt;br&gt;+//$DAV_auth_scheme = 'Digest realm=&amp;quot;SquirrelMail Calendar&amp;quot; qop=&amp;quot;auth&amp;quot; nonce=&amp;quot;' . uniqid() . '&amp;quot; opaque=&amp;quot;' . md5('SquirrelMail Calendar') . '&amp;quot;';
&lt;br&gt;+//$DAV_auth_scheme = 'Digest realm=&amp;quot;SquirrelMail Calendar&amp;quot;, qop=&amp;quot;auth&amp;quot;, nonce=&amp;quot;' . uniqid() . '&amp;quot;, opaque=&amp;quot;' . md5('SquirrelMail Calendar') . '&amp;quot;';
&lt;br&gt;+$DAV_auth_scheme = 'Basic realm=&amp;quot;SquirrelMail Calendar&amp;quot;';
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Force all DAV connections to SSL? &amp;nbsp;This is recommended if you
&lt;br&gt;+// are using Basic for your $DAV_auth_scheme.
&lt;br&gt;+// 1 = yes, 0 (zero) = no
&lt;br&gt;+//
&lt;br&gt;+$DAV_force_SSL = 0;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// If your HTTPS is being served on a non-standard port (anything
&lt;br&gt;+// other than 443), and when $DAV_force_SSL (see above) is turned
&lt;br&gt;+// on, make sure to set this value to the port number that HTTPS
&lt;br&gt;+// is being served on.
&lt;br&gt;+//
&lt;br&gt;+//$DAV_secure_port = 888;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Turn debugging for calendar module on/off
&lt;br&gt;+//
&lt;br&gt;+$cal_debug = 0;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;Index: event_manage.php
&lt;br&gt;===================================================================
&lt;br&gt;--- event_manage.php	(revision 1)
&lt;br&gt;+++ event_manage.php	(revision 12)
&lt;br&gt;@@ -1,5 +1,12 @@
&lt;br&gt;&amp;nbsp;&amp;lt;?php
&lt;br&gt;-
&lt;br&gt;+function reminder_add($sth,$calID)
&lt;br&gt;+{
&lt;br&gt;+	do_hook('reminder_add', $sth,$calID);
&lt;br&gt;+}
&lt;br&gt;+function reminder_del($eventID,$calID)
&lt;br&gt;+{
&lt;br&gt;+	do_hook('reminder_del', array($eventID,$calID));	
&lt;br&gt;+}
&lt;br&gt;&amp;nbsp;/**
&lt;br&gt;&amp;nbsp; &amp;nbsp;* SquirrelMail Shared Calendar Plugin
&lt;br&gt;&amp;nbsp; &amp;nbsp;* Copyright (c) 2004-2009 Paul Lesniewski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422703&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;paul@...&lt;/a&gt;&amp;gt;,
&lt;br&gt;@@ -215,11 +222,18 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; sqgetGlobalVar('eventPriority', $eventPriority, SQ_FORM);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;//TODO: reminders/alarms
&lt;br&gt;- &amp;nbsp; sqgetGlobalVar('enableReminder', $enableReminder, SQ_FORM);
&lt;br&gt;- &amp;nbsp; if ($enableReminder == 1)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;sqgetGlobalVar('reminderTime', $reminderTime, SQ_FORM);
&lt;br&gt;- &amp;nbsp; else
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;$reminderTime = -1;
&lt;br&gt;+	// we will save the reminderTime, even if reminder is not enabled ($enableReminder=FALSE)
&lt;br&gt;+	sqgetGlobalVar('enableReminder', $enableReminder, SQ_FORM);
&lt;br&gt;+	if (isset($enableReminder) &amp;&amp; $enableReminder == 'YES')
&lt;br&gt;+	{
&lt;br&gt;+		sqgetGlobalVar('reminderTime', $reminderTime, SQ_FORM);
&lt;br&gt;+		$enableReminder = 'YES';
&lt;br&gt;+	}
&lt;br&gt;+	else
&lt;br&gt;+	{
&lt;br&gt;+		$reminderTime = -1;
&lt;br&gt;+		$enableReminder = 'NO';
&lt;br&gt;+	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; // build RRULE
&lt;br&gt;@@ -323,12 +337,12 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; $event = new Event('', 0, $domain, $eventType, $eventName, $eventLocation, $eventContent, 
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$otherNotes, '', $eventPriority, $startTimestamp, 
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$endTimestamp, '', '', $recurrenceRule, $recurrenceDates,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$recurrenceExclusionRule, $recurrenceExclusionDates,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0, array($calID), $username, '', '', '', '', 
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;array($username));
&lt;br&gt;+	$event = new Event('', 0, $domain, $eventType, $eventName, $eventLocation, $eventContent,
&lt;br&gt;+						$otherNotes, '', $eventPriority, $startTimestamp,
&lt;br&gt;+						$endTimestamp, '', '', $recurrenceRule, $recurrenceDates,
&lt;br&gt;+						$recurrenceExclusionRule, $recurrenceExclusionDates,
&lt;br&gt;+						0, array($calID), $username, '', '', '', '', array($username),array($username),
&lt;br&gt;+						$enableReminder, $reminderTime);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; if (($errorMessage = $event-&amp;gt;validateFields()) == '')
&lt;br&gt;@@ -345,6 +359,9 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$msg = _(&amp;quot;Event Created Successfully&amp;quot;);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sq_change_text_domain('squirrelmail');
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;//reminder_del($event-&amp;gt;getID(),$calID);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;//reminder_add($event,$calID);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;display_event_edit_interface($color, $year, $month, $day, $hour, $minute, $calID, 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; get_event($calID, $newEventID), SM_CAL_EVENT_ACTION_UPDATE,
&lt;br&gt;@@ -377,7 +394,8 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;gmdate('Ymd\THis\Z', $oldEvent-&amp;gt;createdOn()), 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$username, gmdate('Ymd\THis\Z'), 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$oldEvent-&amp;gt;getOwners(), $oldEvent-&amp;gt;getReadableUsers(), 
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$oldEvent-&amp;gt;getWriteableUsers(), $oldEvent-&amp;gt;getUnknownAttributes());
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$oldEvent-&amp;gt;getWriteableUsers(), $enableReminder, $reminderTime,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$oldEvent-&amp;gt;getUnknownAttributes());
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -402,7 +420,8 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $oldEvent-&amp;gt;lastUpdatedBy(), 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gmdate('Ymd\THis\Z', $oldEvent-&amp;gt;lastUpdatedOn()), 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $oldEvent-&amp;gt;getOwners(), $oldEvent-&amp;gt;getReadableUsers(), 
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $oldEvent-&amp;gt;getWriteableUsers(), $oldEvent-&amp;gt;getUnknownAttributes());
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $oldEvent-&amp;gt;getWriteableUsers(), $enableReminder, $reminderTime,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $oldEvent-&amp;gt;getUnknownAttributes());
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;display_event_edit_interface($color, $year, $month, $day, $hour, $minute, $calID, 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $event, SM_CAL_EVENT_ACTION_UPDATE,
&lt;br&gt;@@ -416,6 +435,9 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sq_change_text_domain('squirrelmail');
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;//reminder_del($eventID,$calID);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;//reminder_add($event,$calID);
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;display_event_edit_interface($color, $year, $month, $day, $hour, $minute, $calID, 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; get_event($calID, $eventID), SM_CAL_EVENT_ACTION_UPDATE,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $msg);
&lt;br&gt;@@ -485,3 +507,4 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;echo '&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;';
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+
&lt;br&gt;Index: week.php
&lt;br&gt;===================================================================
&lt;br&gt;--- week.php	(revision 0)
&lt;br&gt;+++ week.php	(revision 12)
&lt;br&gt;@@ -0,0 +1,137 @@
&lt;br&gt;+&amp;lt;?php
&lt;br&gt;+
&lt;br&gt;+/**
&lt;br&gt;+ &amp;nbsp;* SquirrelMail Shared Calendar Plugin
&lt;br&gt;+ &amp;nbsp;* Copyright (c) 2004-2009 Paul Lesniewski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422703&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;paul@...&lt;/a&gt;&amp;gt;,
&lt;br&gt;+ &amp;nbsp;* Licensed under the GNU GPL. For full terms see the file COPYING.
&lt;br&gt;+ &amp;nbsp;*
&lt;br&gt;+ &amp;nbsp;* @package plugins
&lt;br&gt;+ &amp;nbsp;* @subpackage calendar
&lt;br&gt;+ &amp;nbsp;*
&lt;br&gt;+ &amp;nbsp;*/
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// set up SquirrelMail environment
&lt;br&gt;+//
&lt;br&gt;+if (file_exists('../../include/init.php'))
&lt;br&gt;+ &amp;nbsp; include_once('../../include/init.php');
&lt;br&gt;+else if (file_exists('../../include/validate.php'))
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; define('SM_PATH', '../../');
&lt;br&gt;+ &amp;nbsp; include_once(SM_PATH . 'include/validate.php');
&lt;br&gt;+}
&lt;br&gt;+else
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; chdir('..');
&lt;br&gt;+ &amp;nbsp; define('SM_PATH', '../');
&lt;br&gt;+ &amp;nbsp; include_once(SM_PATH . 'src/validate.php');
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// Make sure plugin is activated!
&lt;br&gt;+//
&lt;br&gt;+global $plugins, $username;
&lt;br&gt;+if (!in_array('calendar', $plugins))
&lt;br&gt;+ &amp;nbsp; exit;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+include_once(SM_PATH . 'functions/date.php');
&lt;br&gt;+include_once(SM_PATH . 'functions/url_parser.php');
&lt;br&gt;+include_once(SM_PATH . 'plugins/calendar/functions.php');
&lt;br&gt;+calendar_init();
&lt;br&gt;+include_once(SM_PATH . 'plugins/calendar/interface/calendar.php');
&lt;br&gt;+include_once(SM_PATH . 'plugins/calendar/load_prefs.php');
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// get calendar...
&lt;br&gt;+//
&lt;br&gt;+sqgetGlobalVar('calID', $calID, SQ_FORM);
&lt;br&gt;+$calID = str_replace(array('&amp;quot;', '\'', '&amp;lt;', '&amp;gt;'), '', urldecode($calID));
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// personal calendar: get ID from backend, then get calendar
&lt;br&gt;+//
&lt;br&gt;+if ($calID == 'personal') 
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; $calID = get_personal_cal_id($username, $domain);
&lt;br&gt;+ &amp;nbsp; $calendar = get_calendar($calID);
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// for any other type of calendar, we should check 
&lt;br&gt;+// that user has access rights 
&lt;br&gt;+// 
&lt;br&gt;+else
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; $calendar = get_calendar($calID);
&lt;br&gt;+ &amp;nbsp; if (!$calendar-&amp;gt;canRead($username) &amp;&amp; !$calendar-&amp;gt;canWrite($username) &amp;&amp; !$calendar-&amp;gt;isOwner($username))
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;exit;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// get overlays...
&lt;br&gt;+//
&lt;br&gt;+if (!sqgetGlobalVar('overlay', $overlay_ids, SQ_FORM))
&lt;br&gt;+ &amp;nbsp; $overlay_ids = '';
&lt;br&gt;+$overlay_ids = explode('|', str_replace(array('&amp;quot;', '\'', '&amp;lt;', '&amp;gt;'), '', urldecode($overlay_ids)));
&lt;br&gt;+foreach ($overlay_ids as $id) if (!empty($id))
&lt;br&gt;+ &amp;nbsp; $calendar-&amp;gt;add_overlay($id, $username);
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+sqgetGlobalVar('allday', $allDay, SQ_FORM);
&lt;br&gt;+if ($allDay == 'yes') $allDay = TRUE; else $allDay = FALSE;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+sqgetGlobalVar('year', $year, SQ_FORM);
&lt;br&gt;+sqgetGlobalVar('month', $month, SQ_FORM);
&lt;br&gt;+sqgetGlobalVar('day', $day, SQ_FORM);
&lt;br&gt;+$year = (int)$year;
&lt;br&gt;+$month = (int)$month;
&lt;br&gt;+$day = (int)$day;
&lt;br&gt;+list($todaysYear, $todaysMonth, $todaysDay) = explode('-', date('Y-n-j'));
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// make sure we have viewing day
&lt;br&gt;+//
&lt;br&gt;+if (empty($year) || empty($month) || empty($day))
&lt;br&gt;+{
&lt;br&gt;+ &amp;nbsp; $year = $todaysYear;
&lt;br&gt;+ &amp;nbsp; $month = $todaysMonth;
&lt;br&gt;+ &amp;nbsp; $day = $todaysDay;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// make sure day number isn't greater than the 
&lt;br&gt;+// number of days in the requested month
&lt;br&gt;+//
&lt;br&gt;+$daysInMonth = date('t', mktime(0, 0, 0, $month, 1, $year));
&lt;br&gt;+if ($day &amp;gt; $daysInMonth) $day = $daysInMonth;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// print standard SM page header
&lt;br&gt;+// and generic calendar header
&lt;br&gt;+//
&lt;br&gt;+global $color;
&lt;br&gt;+if (!isset($color[12])) $color[12] = '';
&lt;br&gt;+displayPageHeader($color, 'None');
&lt;br&gt;+showCalendarHeader($calendar, SM_CAL_VIEW_MODE_WEEK, $year, $month, $day);
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+// show the calendar
&lt;br&gt;+//
&lt;br&gt;+$calendar-&amp;gt;showWeek($year, $month, $day, $username, $allDay);
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+echo '&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;';
&lt;br&gt;+
&lt;br&gt;Index: setup.php
&lt;br&gt;===================================================================
&lt;br&gt;--- setup.php	(revision 1)
&lt;br&gt;+++ setup.php	(revision 12)
&lt;br&gt;@@ -25,11 +25,6 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; $squirrelmail_plugin_hooks['generic_header']['calendar'] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 'small_calendar_style';
&lt;br&gt;&amp;nbsp; &amp;nbsp; $squirrelmail_plugin_hooks['left_main_after']['calendar'] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 'render_small_calendar';
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; // caused chicken-and-egg problems with i18n'd strings in constants file
&lt;br&gt;- &amp;nbsp; // (that is needed by config file)
&lt;br&gt;- &amp;nbsp; //
&lt;br&gt;- &amp;nbsp; //$squirrelmail_plugin_hooks['loading_prefs']['calendar'] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 'cal_load_prefs';
&lt;br&gt;-
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Index: classes/calendar.php
&lt;br&gt;===================================================================
&lt;br&gt;--- classes/calendar.php	(revision 1)
&lt;br&gt;+++ classes/calendar.php	(revision 12)
&lt;br&gt;@@ -26,6 +26,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; var $prodID;
&lt;br&gt;&amp;nbsp; &amp;nbsp; var $type;
&lt;br&gt;&amp;nbsp; &amp;nbsp; var $name;
&lt;br&gt;+ &amp;nbsp; var $calcolor;
&lt;br&gt;&amp;nbsp; &amp;nbsp; var $owners;
&lt;br&gt;&amp;nbsp; &amp;nbsp; var $readable_users;
&lt;br&gt;&amp;nbsp; &amp;nbsp; var $writeable_users;
&lt;br&gt;@@ -63,6 +64,8 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;May be specified as a string or a Property object.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; * @param mixed $name The name of this calendar
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;May be specified as a string or a Property object.
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @param mixed $calcolor The calcolor of this calendar
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; May be specified as a string or a Property object.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; * @param mixed $createdBy The name of the user who created this calendar
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; May be specified as a string or a Property object.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; * @param mixed $createdOn The date/time this calendar was created (optional;
&lt;br&gt;@@ -108,7 +111,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; * to be a PUBLIC calendar! &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; */
&lt;br&gt;- &amp;nbsp; function Calendar($id='', $sequence=0, $dom='', $prodID='', $type='', $name='', 
&lt;br&gt;+ &amp;nbsp; function Calendar($id='', $sequence=0, $dom='', $prodID='', $type='', $name='', $calcolor='', 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $createdBy='', $createdOn='', $lastUpdatedBy='', $lastUpdatedOn='', 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $owners=array(), $readable_users=array(), $writeable_users=array(),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $unknownAttributes=array(), $fallbackName='', $uploadFilename='',
&lt;br&gt;@@ -151,6 +154,11 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $this-&amp;gt;name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= new Property('X-SQ-CALNAME', $name);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;if (is_object($calcolor) &amp;&amp; strtolower(get_class($calcolor)) == 'property')
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $this-&amp;gt;calcolor &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= $calcolor;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $this-&amp;gt;calcolor &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= new Property('X-SQ-CALCOLOR', $calcolor);
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (is_object($createdBy) &amp;&amp; strtolower(get_class($createdBy)) == 'property')
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $this-&amp;gt;createdBy &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = $createdBy;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;@@ -299,6 +307,12 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;name-&amp;gt;setValue($this-&amp;gt;getProductID());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;+	$cc = $this-&amp;gt;getColor();
&lt;br&gt;+	if (empty($cc))
&lt;br&gt;+	{
&lt;br&gt;+		$this-&amp;gt;calcolor-&amp;gt;setValue('FFC0CB');//TODO: shoud be random Random
&lt;br&gt;+	}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp;//TODO: yikes, is this too permissive? &amp;nbsp;should we go the other way, assume private?
&lt;br&gt;&amp;nbsp;// &amp;nbsp; &amp;nbsp; &amp;nbsp;although a user only has ONE private calendar, so that might be a bad idea
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$t = $this-&amp;gt;getCalendarType();
&lt;br&gt;@@ -733,6 +747,55 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+	/**
&lt;br&gt;+	 * Get Calendar calcolor
&lt;br&gt;+	 * 
&lt;br&gt;+	 * @return string This calendar's calcolor
&lt;br&gt;+	 * 
&lt;br&gt;+	 * @access public
&lt;br&gt;+	 * 
&lt;br&gt;+	 * */
&lt;br&gt;+	function getColor()
&lt;br&gt;+	{
&lt;br&gt;+		return $this-&amp;gt;calcolor-&amp;gt;getValue();
&lt;br&gt;+	}
&lt;br&gt;+	
&lt;br&gt;+	
&lt;br&gt;+	/**
&lt;br&gt;+	 * Calculate Calendar contrast color for calcolor
&lt;br&gt;+	 * 
&lt;br&gt;+	 * @return string This calendar's calcolor
&lt;br&gt;+	 * 
&lt;br&gt;+	 * @access public
&lt;br&gt;+	 * 
&lt;br&gt;+	 * */
&lt;br&gt;+	function getColorContrast()
&lt;br&gt;+	{
&lt;br&gt;+		$color = $this-&amp;gt;getColor();
&lt;br&gt;+		
&lt;br&gt;+		$R1 = hexdec($color[0].$color[1]);
&lt;br&gt;+		$G1 = hexdec($color[2].$color[3]);
&lt;br&gt;+		$B1 = hexdec($color[4].$color[5]);
&lt;br&gt;+		$R2 = 128; // Gray %50
&lt;br&gt;+		$G2 = 128;
&lt;br&gt;+		$B2 = 128;
&lt;br&gt;+		
&lt;br&gt;+		$L1 = 0.2126 * pow($R1/255, 2.2) +
&lt;br&gt;+			 &amp;nbsp;0.7152 * pow($G1/255, 2.2) +
&lt;br&gt;+			 &amp;nbsp;0.0722 * pow($B1/255, 2.2);
&lt;br&gt;+		
&lt;br&gt;+		$L2 = 0.2126 * pow($R2/255, 2.2) +
&lt;br&gt;+			 &amp;nbsp;0.7152 * pow($G2/255, 2.2) +
&lt;br&gt;+			 &amp;nbsp;0.0722 * pow($B2/255, 2.2);
&lt;br&gt;+		
&lt;br&gt;+		if($L1 &amp;gt; $L2)
&lt;br&gt;+			return &amp;quot;000000&amp;quot;;
&lt;br&gt;+		else
&lt;br&gt;+			return &amp;quot;FFFFFF&amp;quot;;
&lt;br&gt;+		
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; * Set Calendar Name
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *
&lt;br&gt;@@ -749,6 +812,21 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * Set Calendar calcolor
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @param string $name The new name to be assigned to this calendar
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @access public
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; */
&lt;br&gt;+ &amp;nbsp; function setColor($calcolor)
&lt;br&gt;+ &amp;nbsp; {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;calcolor-&amp;gt;setValue($calcolor);
&lt;br&gt;+ &amp;nbsp; }
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; * Get Calendar Domain
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; * @return string This calendar's domain
&lt;br&gt;@@ -1433,6 +1511,33 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * Displays the requested week
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @param int $year The year of the day to be shown
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @param int $month The month of the day to be shown
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @param int $day The day to be shown
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @param string $user The user for which events are being displayed
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @param boolean $allDay Indicates if the whole day should be
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;displayed, from midnight to midnight. &amp;nbsp;If
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FALSE, a limited number of hours are
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;displayed per the configuration file.
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @access public
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; */
&lt;br&gt;+ &amp;nbsp; function showWeek($year, $month, $day, $user, $allDay=FALSE)
&lt;br&gt;+ &amp;nbsp; {
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;// display events
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;//
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;include_once(SM_PATH . 'plugins/calendar/interface/week.php');
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;showCalendarWeek($this, $year, $month, $day, $user, $allDay);
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; }
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; * Returns any holidays that occur on the given day
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; * @param int $year The year of the day whose holidays are being returned
&lt;br&gt;@@ -1813,7 +1918,8 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. $this-&amp;gt;lastUpdatedOn-&amp;gt;getICal($icalLineDelim)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. $this-&amp;gt;owners-&amp;gt;getICal($icalLineDelim) 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. $this-&amp;gt;readable_users-&amp;gt;getICal($icalLineDelim) 
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. $this-&amp;gt;writeable_users-&amp;gt;getICal($icalLineDelim);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. $this-&amp;gt;writeable_users-&amp;gt;getICal($icalLineDelim)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. $this-&amp;gt;calcolor-&amp;gt;getICal($icalLineDelim);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -1888,6 +1994,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$type = '';
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$prodID = '';
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$name = '';
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;$calcolor = '';
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$createdBy = '';
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$createdOn = '';
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$lastUpdatedBy = '';
&lt;br&gt;@@ -1988,6 +2095,13 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// cal color for calendars created with this application
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case 'X-SQ-CALCOLOR':
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $calcolor = $property;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// cal domain for calendars created with this application
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case 'X-SQ-CALDOMAIN':
&lt;br&gt;@@ -2078,7 +2192,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;$cal = new Calendar($id, $sequence, $dom, $prodID, $type, $name,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;$cal = new Calendar($id, $sequence, $dom, $prodID, $type, $name, $calcolor,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$createdBy, $createdOn, $lastUpdatedBy, $lastUpdatedOn,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$owners, $readable_users, $writeable_users,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$unknownAttributes, $fallbackName, $uploadFilename,
&lt;br&gt;Index: classes/event.php
&lt;br&gt;===================================================================
&lt;br&gt;--- classes/event.php	(revision 1)
&lt;br&gt;+++ classes/event.php	(revision 12)
&lt;br&gt;@@ -62,6 +62,8 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; var $cachedOccurrences = array();
&lt;br&gt;&amp;nbsp; &amp;nbsp; var $cachedOccurrencesThruDate;
&lt;br&gt;&amp;nbsp; &amp;nbsp; var $cachedEndDateTime = '';
&lt;br&gt;+ &amp;nbsp; var $enableReminder = ''; // do we need 2 variables for a single reminder?
&lt;br&gt;+ &amp;nbsp; var $reminderTime; // can use reminderTime = -1 to be equivalent to enableReminder = FALSE
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -165,6 +167,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$parentCalendars=array(), $createdBy='', $createdOn='', 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$lastUpdatedBy='', $lastUpdatedOn='', $owners=array(), 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$readable_users=array(), $writeable_users=array(),
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$enableReminder='NO', $reminderTime=-1,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$unknownAttributes=array())
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -324,6 +327,16 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $this-&amp;gt;writeable_users &amp;nbsp;= new Property('X-SQ-EVTWRITEABLEUSERS', $writeable_users);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;if (is_object($enableReminder) &amp;&amp; strtolower(get_class($enableReminder)) == 'property')
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $this-&amp;gt;enableReminder &amp;nbsp;= $enableReminder;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $this-&amp;gt;enableReminder &amp;nbsp;= new Property('X-SQ-ENABLEREMINDER', $enableReminder);
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;if (is_object($reminderTime) &amp;&amp; strtolower(get_class($reminderTime)) == 'property')
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $this-&amp;gt;reminderTime &amp;nbsp;= $reminderTime;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;else
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $this-&amp;gt;reminderTime &amp;nbsp;= new Property('X-SQ-REMINDERTIME', $reminderTime);
&lt;br&gt;+ 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;unknownAttributes = $unknownAttributes;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -3548,6 +3561,30 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$p = array_diff($p, array($id));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;parentCalendars-&amp;gt;setValue($p);
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;+ &amp;nbsp; 
&lt;br&gt;+	function getColor()
&lt;br&gt;+	{
&lt;br&gt;+		$cals = $this-&amp;gt;getParentCalendars();
&lt;br&gt;+		if(empty($cals))
&lt;br&gt;+			return &amp;quot;FFFFFF&amp;quot;;
&lt;br&gt;+		else
&lt;br&gt;+		{
&lt;br&gt;+			$ccal = get_calendar($cals[0]);
&lt;br&gt;+			return $ccal-&amp;gt;getColor();
&lt;br&gt;+		}
&lt;br&gt;+	}
&lt;br&gt;+	
&lt;br&gt;+	function getColorContrast()
&lt;br&gt;+	{
&lt;br&gt;+		$cals = $this-&amp;gt;getParentCalendars();
&lt;br&gt;+		if(empty($cals))
&lt;br&gt;+			return &amp;quot;000000&amp;quot;;
&lt;br&gt;+		else
&lt;br&gt;+		{
&lt;br&gt;+			$ccal = get_calendar($cals[0]);
&lt;br&gt;+			return $ccal-&amp;gt;getColorContrast();
&lt;br&gt;+		}		
&lt;br&gt;+	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -4059,7 +4096,216 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+	/*
&lt;br&gt;+	 * Returns the 'uniter' hour during which this
&lt;br&gt;+	 * event starts (minutes multiple to $unit, from 0 to 55).
&lt;br&gt;+	 *
&lt;br&gt;+	 * This method helps abstract the fact that
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * recurring events might have start timestamps
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * on a completely different day but should be
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * seen as starting on other days at a similar
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * time.
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * Note that regular events that occur on the given
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * day but start on an earlier day are seen as starting
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * at midnight.
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @param int $year The year of the day for which 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;to check start time
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @param int $month The month of the day for which 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; to check start time
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @param int $day The day for which to check start time
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @param int $unit The minutes value in which the hour will be divided
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * TODO: should come from user setting
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @return mixed The quarter of the hour during which 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this event starts (0, 15, 30 or 45), 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; or FALSE if this event does not have 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; a start time on the given day.
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @access public
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; */
&lt;br&gt;+	function startUnitHour($year, $month, $day, $tempstarttime, $unit)
&lt;br&gt;+	{
&lt;br&gt;+		if (!$this-&amp;gt;occursOnDay($year, $month, $day)) return FALSE;
&lt;br&gt;+		//if (!$this-&amp;gt;startsOnDay($year, $month, $day)) return 0;
&lt;br&gt;+			
&lt;br&gt;+		// stretch towards 0
&lt;br&gt;+		$startMinute = date('i', $tempstarttime);
&lt;br&gt;+		for($i = 0; $i &amp;lt; 60; $i += $unit)
&lt;br&gt;+			if($startMinute &amp;lt; ($i + $unit))
&lt;br&gt;+			{
&lt;br&gt;+				$startMinute = $i;
&lt;br&gt;+				break;
&lt;br&gt;+			}
&lt;br&gt;+		return $startMinute;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; /**
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * Returns the 'uniter' hour during which this
&lt;br&gt;+	 * event starts (minutes multiple to $unit, from 5 to 60).
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * This method helps abstract the fact that
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * recurring events might have end timestamps
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * on a completely different day but should be
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * seen as ending on other days at a similar
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * time.
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * Note that regular events that occur on the given
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * day but end on a later day are seen as ending
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * at 23:55.
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @param int $year The year of the day for which
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;to check end time
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @param int $month The month of the day for which
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; to check end time
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @param int $day The day for which to check end time
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @param int $unit The minutes value in which the hour will be divided
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * TODO: should come from user setting
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @return mixed The quarter of the hour during which
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; this event ends (0, 15, 30, 45, or 60),
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; or FALSE if this event does not have
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; a end time on the given day.
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; * @access public
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; *
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; */
&lt;br&gt;+	function endUnitHour($year, $month, $day, $tempendtime, $unit)
&lt;br&gt;+	{
&lt;br&gt;+		if (!$this-&amp;gt;occursOnDay($year, $month, $day)) return FALSE;
&lt;br&gt;+		//if (!$this-&amp;gt;endsOnDay($year, $month, $day)) return 60-$unit;
&lt;br&gt;+		
&lt;br&gt;+		// stretch toward 60
&lt;br&gt;+		$endMinute = date('i', $tempendtime);
&lt;br&gt;+		for($i = 60; $i &amp;gt; 0; $i -= $unit)
&lt;br&gt;+			if((int)$endMinute &amp;gt; ($i - $unit))
&lt;br&gt;+			{
&lt;br&gt;+				$endMinute = $i;
&lt;br&gt;+				break;
&lt;br&gt;+			}
&lt;br&gt;+		return $endMinute;
&lt;br&gt;+ &amp;nbsp; }
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+	/*
&lt;br&gt;+	 * Gives back the event lenght in units
&lt;br&gt;+	 * depending the hour division setted in config file
&lt;br&gt;+	 * TODO: get info from config file
&lt;br&gt;+	 * */
&lt;br&gt;+/*	function eventLengthInUnits($year, $month, $day, $minUnit, $startHourLimit=0, $endHourLimit=23)
&lt;br&gt;+	{
&lt;br&gt;+		$minutes = $this-&amp;gt;eventLengthInMinutes($year, $month, $day, $minUnit, $startHourLimit, $endHourLimit);
&lt;br&gt;+		
&lt;br&gt;+		$minInUnits = $minutes / $minUnit;
&lt;br&gt;+		
&lt;br&gt;+		return $minInUnits;
&lt;br&gt;+	}
&lt;br&gt;+*/	
&lt;br&gt;+	/*
&lt;br&gt;+	 * Computes event's lenght, in minutes, after stretching minutes to
&lt;br&gt;+	 * units multiples
&lt;br&gt;+	 * 
&lt;br&gt;+	 * */
&lt;br&gt;+	function eventTrim($year, $month, $day, $minUnit, $startHourLimit=0, $endHourLimit=23)
&lt;br&gt;+	{
&lt;br&gt;+		if (!$this-&amp;gt;occursOnDay($year, $month, $day)) return FALSE;
&lt;br&gt;+		
&lt;br&gt;+		$startEventTime = $this-&amp;gt;getStartDateTime();
&lt;br&gt;+		$endEventTime &amp;nbsp; = $this-&amp;gt;getEndDateTime();
&lt;br&gt;+		
&lt;br&gt;+		$startTimeLimit = mktime($startHourLimit, 0, 0, $month, $day, $year);
&lt;br&gt;+		$endTimeLimit &amp;nbsp; = mktime($endHourLimit, &amp;nbsp; 0, 0, $month, $day, $year);
&lt;br&gt;+		
&lt;br&gt;+		//Trim event length
&lt;br&gt;+		if($startEventTime &amp;lt; $startTimeLimit)
&lt;br&gt;+			$startEventTime = $startTimeLimit;
&lt;br&gt;+
&lt;br&gt;+		if($endEventTime &amp;gt; $endTimeLimit)
&lt;br&gt;+			$endEventTime = $endTimeLimit;
&lt;br&gt;+		
&lt;br&gt;+		$startHour = date(&amp;quot;H&amp;quot;, $startEventTime);
&lt;br&gt;+		$endHour &amp;nbsp; = date(&amp;quot;H&amp;quot;, $endEventTime);
&lt;br&gt;+		
&lt;br&gt;+		$startMinute = $this-&amp;gt;startUnitHour($year, $month, $day, $startEventTime, $minUnit);
&lt;br&gt;+		$endMinute &amp;nbsp; = $this-&amp;gt;endUnitHour &amp;nbsp;($year, $month, $day, $endEventTime, $minUnit);
&lt;br&gt;+		
&lt;br&gt;+		$eventLength = ($endHour*60 + $endMinute) - ($startHour*60 + $startMinute);
&lt;br&gt;+		
&lt;br&gt;+		$minToUnits = $eventLength / $minUnit;
&lt;br&gt;+		
&lt;br&gt;+		return array(&amp;quot;startHour&amp;quot; =&amp;gt; (int)$startHour, &amp;quot;startMinute&amp;quot; =&amp;gt; (int)$startMinute,
&lt;br&gt;+					 &amp;quot;endHour&amp;quot; =&amp;gt; (int)$endHour , &amp;quot;endMinute&amp;quot; =&amp;gt; (int)$endMinute,
&lt;br&gt;+					 &amp;quot;eventLengthMinutes&amp;quot; =&amp;gt; (int)$eventLength,
&lt;br&gt;+					 &amp;quot;eventLengthUnits&amp;quot; =&amp;gt; (int)$minToUnits);
&lt;br&gt;+	}
&lt;br&gt;+	
&lt;br&gt;+	
&lt;br&gt;+	/*
&lt;br&gt;+	 * Returns a string that will be used in crontab,
&lt;br&gt;+	 * to set a reminder
&lt;br&gt;+	 * 
&lt;br&gt;+	 * */
&lt;br&gt;+/*	function atEntry()
&lt;br&gt;+	{
&lt;br&gt;+		var_dump($this-&amp;gt;isReminderEnabled());
&lt;br&gt;+		$atEntry = &amp;quot;&amp;quot;;
&lt;br&gt;+		
&lt;br&gt;+		if($this-&amp;gt;isReminderEnabled())
&lt;br&gt;+		{
&lt;br&gt;+			//$sendEmailCommand = SM_PATH . &amp;quot;/plugins/calendar/reminder&amp;quot;; //TODO: should get this from config file??
&lt;br&gt;+			//$eventID = $this-&amp;gt;getID();
&lt;br&gt;+			$d = $this-&amp;gt;getStartDateTime() - ($this-&amp;gt;getReminderTime())*60; // reminderTime should be in minutes
&lt;br&gt;+			$atmm = date('i',$t);
&lt;br&gt;+			$athh = date('H',$t);
&lt;br&gt;+			$atDD = date('d',$t);
&lt;br&gt;+			$atMM = date('m',$t);
&lt;br&gt;+			$atYY = date('y',$t);
&lt;br&gt;+			
&lt;br&gt;+			$atEntry = &amp;quot;at $atYY.$atMM.$atDD.$athh.$atmm&amp;quot;;
&lt;br&gt;+		}
&lt;br&gt;+		
&lt;br&gt;+		return $atEntry;
&lt;br&gt;+	}
&lt;br&gt;+*/	
&lt;br&gt;+	
&lt;br&gt;+	/*
&lt;br&gt;+	 * Returns the reminderTime (minutes)
&lt;br&gt;+	 * 
&lt;br&gt;+	 * */
&lt;br&gt;+	function getReminderTime()
&lt;br&gt;+	{
&lt;br&gt;+		return $this-&amp;gt;reminderTime-&amp;gt;getValue();
&lt;br&gt;+	}
&lt;br&gt;+	
&lt;br&gt;+	/*
&lt;br&gt;+	 * Returns TRUE if enableReminder is TRUE (minutes)
&lt;br&gt;+	 * 
&lt;br&gt;+	 * */
&lt;br&gt;+	function isReminderEnabled()
&lt;br&gt;+	{
&lt;br&gt;+		if($this-&amp;gt;getReminderTime() &amp;lt; 0)
&lt;br&gt;+			return FALSE;
&lt;br&gt;+		
&lt;br&gt;+		if($this-&amp;gt;enableReminder-&amp;gt;getValue() !== &amp;quot;YES&amp;quot;)
&lt;br&gt;+			return FALSE;
&lt;br&gt;+
&lt;br&gt;+		return TRUE;
&lt;br&gt;+	}
&lt;br&gt;+	
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; /**
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; * Returns start date (date only, no time) in 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; * displayable format
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *
&lt;br&gt;@@ -5314,7 +5560,9 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. $this-&amp;gt;owners-&amp;gt;getICal($icalLineDelim)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. $this-&amp;gt;readable_users-&amp;gt;getICal($icalLineDelim)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. $this-&amp;gt;writeable_users-&amp;gt;getICal($icalLineDelim)
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. $this-&amp;gt;parentCalendars-&amp;gt;getICal($icalLineDelim);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. $this-&amp;gt;parentCalendars-&amp;gt;getICal($icalLineDelim)
&lt;br&gt;+					. $this-&amp;gt;enableReminder-&amp;gt;getICal($icalLineDelim)
&lt;br&gt;+					. $this-&amp;gt;reminderTime-&amp;gt;getICal($icalLineDelim);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -5387,6 +5635,8 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$unknownAttributes = array();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$createdBy = '';
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$lastUpdatedBy = '';
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;$enableReminder = '';
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;$reminderTime = '';
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// pull out properties
&lt;br&gt;@@ -5615,7 +5865,20 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $lastUpdatedBy = $property;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// reminder status: TRUE setted, FALSE unsetted
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case 'X-SQ-ENABLEREMINDER':
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $enableReminder = $property;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// reminder time
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;case 'X-SQ-REMINDERTIME':
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $reminderTime = $property;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; break;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// unknown parameters just pile into this array
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;default:
&lt;br&gt;@@ -5633,7 +5896,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $recurrenceExclusionRule, $recurrenceExclusionDates,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $percentComplete, $parentCalendars, $createdBy, $createdOn, 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $lastUpdatedBy, $lastUpdatedOn, $owners, $readable_users, 
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $writeable_users, $unknownAttributes);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $writeable_users, $enableReminder, $reminderTime, $unknownAttributes);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;Index: interface/week.php
&lt;br&gt;===================================================================
&lt;br&gt;--- interface/week.php	(revision 0)
&lt;br&gt;+++ interface/week.php	(revision 12)
&lt;br&gt;@@ -0,0 +1,771 @@
&lt;br&gt;+&amp;lt;?php
&lt;br&gt;+
&lt;br&gt;+/**
&lt;br&gt;+ &amp;nbsp;* SquirrelMail Shared Calendar Plugin
&lt;br&gt;+ &amp;nbsp;* Copyright (c) 2004-2009 Paul Lesniewski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422703&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;paul@...&lt;/a&gt;&amp;gt;,
&lt;br&gt;+ &amp;nbsp;* Licensed under the GNU GPL. For full terms see the file COPYING.
&lt;br&gt;+ &amp;nbsp;*
&lt;br&gt;+ &amp;nbsp;* @package plugins
&lt;br&gt;+ &amp;nbsp;* @subpackage calendar
&lt;br&gt;+ &amp;nbsp;*
&lt;br&gt;+ &amp;nbsp;*/
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+/**
&lt;br&gt;+ &amp;nbsp;* Displays one week view of the given calendar
&lt;br&gt;+ &amp;nbsp;*
&lt;br&gt;+ &amp;nbsp;* @param object $calendar The calendar being viewed
&lt;br&gt;+ &amp;nbsp;* @param int $year The year of the day to be shown
&lt;br&gt;+ &amp;nbsp;* @param int $month The month of the day to be shown
&lt;br&gt;+ &amp;nbsp;* @param int $day The day to be shown
&lt;br&gt;+ &amp;nbsp;* @param string $user The user for which the calendar is being displayed
&lt;br&gt;+ &amp;nbsp;* @param boolean $allDay Indicates if the whole day should be
&lt;br&gt;+ &amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;displayed, from midnight to midnight. &amp;nbsp;If
&lt;br&gt;+ &amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FALSE, a limited number of hours are
&lt;br&gt;+ &amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;displayed per the configuration file.
&lt;br&gt;+ &amp;nbsp;*
&lt;br&gt;+ &amp;nbsp;*/
&lt;br&gt;+function showCalendarWeek(&amp;$calendar, $year, $month, $day, $user, $allDay=FALSE)
&lt;br&gt;+{
&lt;br&gt;+	// START ///////////////////////////////////////////////////////////
&lt;br&gt;+	
&lt;br&gt;+	////////////////////////////////////////////////////////////////////
&lt;br&gt;+	// DEFINE ALL VARIABLES
&lt;br&gt;+	////////////////////////////////////////////////////////////////////
&lt;br&gt;+	
&lt;br&gt;+	global	$color, $calendar_theme, $day_view_start_time, $day_view_end_time,
&lt;br&gt;+			$username, $max_displayable_early_morn_late_nite_event_names,
&lt;br&gt;+			$hour_format, $day_view_short_time, $highlight_threshold,
&lt;br&gt;+			$day_view_show_hourly_add_buttons;
&lt;br&gt;+	
&lt;br&gt;+	sq_change_text_domain('calendar');
&lt;br&gt;+	
&lt;br&gt;+	//prepare table
&lt;br&gt;+	echo &amp;quot; &amp;lt;table border=\&amp;quot;0\&amp;quot; cellpadding=\&amp;quot;0\&amp;quot; cellspacing=\&amp;quot;0\&amp;quot; width=\&amp;quot;100%%\&amp;quot;&amp;gt;\n&amp;quot;;
&lt;br&gt;+	echo &amp;quot;	 &amp;lt;tr&amp;gt;\n&amp;quot;;
&lt;br&gt;+	echo &amp;quot;		&amp;lt;td&amp;gt;&amp;quot;;
&lt;br&gt;+	showWeekViewHeader($calendar, $year, $month, $day);
&lt;br&gt;+	showCalendar(&amp;$calendar, $year, $month, $day, $user);
&lt;br&gt;+	echo &amp;quot;		&amp;lt;/td&amp;gt;\n&amp;quot;;
&lt;br&gt;+	echo &amp;quot;		&amp;lt;td valign=\&amp;quot;top\&amp;quot; width=\&amp;quot;200px\&amp;quot;&amp;gt;&amp;quot;;
&lt;br&gt;+	showWeekViewFooter($calendar, $year, $month, $day);
&lt;br&gt;+	echo &amp;quot;		&amp;lt;/td&amp;gt;\n&amp;quot;;
&lt;br&gt;+	echo &amp;quot;	 &amp;lt;/tr&amp;gt;\n&amp;quot;;
&lt;br&gt;+	echo &amp;quot;&amp;lt;/table&amp;gt;\n&amp;quot;;
&lt;br&gt;+	
&lt;br&gt;+}	
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+/**
&lt;br&gt;+ &amp;nbsp;* Displays page header for calendar day view
&lt;br&gt;+ &amp;nbsp;*
&lt;br&gt;+ &amp;nbsp;* @param object $calendar The calendar being viewed
&lt;br&gt;+ &amp;nbsp;* @param int $year The year of the day to be shown
&lt;br&gt;+ &amp;nbsp;* @param int $month The month of the day to be shown
&lt;br&gt;+ &amp;nbsp;* @param int $day The day to be shown
&lt;br&gt;+ &amp;nbsp;*
&lt;br&gt;+ &amp;nbsp;*/
&lt;br&gt;+function showWeekViewHeader($calendar, $year, $month, $day)
&lt;br&gt;+{
&lt;br&gt;+	global $color, $calendar_theme, $username;
&lt;br&gt;+	
&lt;br&gt;+	$prev_date = mktime(0, 0, 0, $month, $day - 7, $year);
&lt;br&gt;+	$act_date &amp;nbsp;= mktime(0, 0, 0, $month, $day, $year);
&lt;br&gt;+	$next_date = mktime(0, 0, 0, $month, $day + 7, $year);
&lt;br&gt;+	$prev_day = date('j', $prev_date );
&lt;br&gt;+	$next_day = date('j', $next_date);
&lt;br&gt;+	$prev_month = date('n', $prev_date );
&lt;br&gt;+	$next_month = date('n', $next_date);
&lt;br&gt;+	$prev_year = date('Y', $prev_date);
&lt;br&gt;+	$next_year = date('Y', $next_date );
&lt;br&gt;+	$current_overlays = implode('|', $calendar-&amp;gt;get_overlay_ids());
&lt;br&gt;+	
&lt;br&gt;+	
&lt;br&gt;+	$self = 'week.php?overlay=' . urlencode($current_overlays);
&lt;br&gt;+
&lt;br&gt;+	$output = &amp;quot;&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;&amp;lt;table bgcolor=\&amp;quot;&amp;quot;.$calendar_theme['day_view_title_background'].&amp;quot;\&amp;quot; width=\&amp;quot;100%%\&amp;quot; border=\&amp;quot;0\&amp;quot; cellpadding=\&amp;quot;2\&amp;quot; cellspacing=\&amp;quot;1\&amp;quot;&amp;gt;\n&amp;quot;
&lt;br&gt;+			. &amp;nbsp;&amp;quot;	&amp;lt;tr&amp;gt;\n&amp;quot;
&lt;br&gt;+			. &amp;nbsp;&amp;quot;		&amp;lt;td&amp;gt;&amp;quot;
&lt;br&gt;+			. &amp;nbsp;&amp;quot;			&amp;lt;th&amp;gt;&amp;lt;a href=\&amp;quot;$self&amp;calID=&amp;quot; . urlencode($calendar-&amp;gt;getID()) . &amp;quot;&amp;year=$prev_year&amp;month=$prev_month&amp;day=$prev_day\&amp;quot;&amp;gt;&amp;lt;&amp;nbsp;&amp;quot; . date_intl('M-d', $prev_date) . &amp;quot;&amp;lt;/a&amp;gt;&amp;lt;/th&amp;gt;&amp;quot;
&lt;br&gt;+			. &amp;nbsp;&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/td&amp;gt;\n&amp;quot;
&lt;br&gt;+			. &amp;nbsp;&amp;quot;		&amp;lt;td&amp;gt;&amp;quot;
&lt;br&gt;+			. &amp;nbsp;&amp;quot;&amp;lt;th&amp;gt;&amp;quot; . date(&amp;quot;F-d&amp;quot;, $act_date) . &amp;quot; to &amp;quot; . date(&amp;quot;F-d&amp;quot;, $next_date) . &amp;quot;&amp;lt;/th&amp;gt;&amp;quot;
&lt;br&gt;+			. &amp;nbsp;&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/td&amp;gt;\n&amp;quot;
&lt;br&gt;+			. &amp;nbsp;&amp;quot;		&amp;lt;td&amp;gt;&amp;quot;
&lt;br&gt;+			. &amp;nbsp;&amp;quot;			&amp;lt;th&amp;gt;&amp;lt;a href=\&amp;quot;$self&amp;calID=&amp;quot; . urlencode($calendar-&amp;gt;getID()) . &amp;quot;&amp;year=$next_year&amp;month=$next_month&amp;day=$next_day\&amp;quot;&amp;gt;&amp;quot; . date_intl('M-d', $next_date) . &amp;quot;&amp;nbsp;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/th&amp;gt;&amp;quot;
&lt;br&gt;+			. &amp;nbsp;&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/td&amp;gt;\n&amp;quot;
&lt;br&gt;+			. &amp;nbsp;&amp;quot;	&amp;lt;/tr&amp;gt;\n&amp;quot;
&lt;br&gt;+			. &amp;nbsp;&amp;quot;&amp;lt;/table&amp;gt;&amp;quot;;
&lt;br&gt;+	print($output);
&lt;br&gt;+	//var_dump($output);
&lt;br&gt;+
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+/**
&lt;br&gt;+ &amp;nbsp;* Displays one week view of the given calendar
&lt;br&gt;+ &amp;nbsp;*
&lt;br&gt;+ &amp;nbsp;* @param object $calendar The calendar being viewed
&lt;br&gt;+ &amp;nbsp;* @param int $year The year of the day to be shown
&lt;br&gt;+ &amp;nbsp;* @param int $month The month of the day to be shown
&lt;br&gt;+ &amp;nbsp;* @param int $day The day to be shown
&lt;br&gt;+ &amp;nbsp;* @param string $user The user for which the calendar is being displayed
&lt;br&gt;+ &amp;nbsp;* @param boolean $allDay Indicates if the whole day should be
&lt;br&gt;+ &amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;displayed, from midnight to midnight. &amp;nbsp;If
&lt;br&gt;+ &amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;FALSE, a limited number of hours are
&lt;br&gt;+ &amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;displayed per the configuration file.
&lt;br&gt;+ &amp;nbsp;*
&lt;br&gt;+ &amp;nbsp;*/
&lt;br&gt;+function showCalendar(&amp;$calendar, $year, $month, $day, $user, $allDay=FALSE)
&lt;br&gt;+{
&lt;br&gt;+
&lt;br&gt;+	// START ///////////////////////////////////////////////////////////
&lt;br&gt;+	
&lt;br&gt;+	////////////////////////////////////////////////////////////////////
&lt;br&gt;+	// DEFINE ALL VARIABLES
&lt;br&gt;+	////////////////////////////////////////////////////////////////////
&lt;br&gt;+	//showWeekViewHeader($calendar, $year, $month, $day);
&lt;br&gt;+	
&lt;br&gt;+	global	$color, $calendar_theme, $day_view_start_time, $day_view_end_time,
&lt;br&gt;+			$username, $max_displayable_early_morn_late_nite_event_names,
&lt;br&gt;+			$hour_format, $day_view_short_time, $highlight_threshold,
&lt;br&gt;+			$day_view_show_hourly_add_buttons;
&lt;br&gt;+	
&lt;br&gt;+	sq_change_text_domain('calendar');
&lt;br&gt;+	
&lt;br&gt;+	$constTimeUnit = 30; // in minutes TODO: should get from user prefs
&lt;br&gt;+	$constP = 60 / $constTimeUnit;
&lt;br&gt;+	
&lt;br&gt;+	// all day display?
&lt;br&gt;+	//
&lt;br&gt;+	if ($allDay)
&lt;br&gt;+	{
&lt;br&gt;+		$day_view_start_time = 0;
&lt;br&gt;+		$day_view_end_time = 23;
&lt;br&gt;+	}
&lt;br&gt;+	
&lt;br&gt;+	
&lt;br&gt;+	// figure out user permissions on this calendar
&lt;br&gt;+	//
&lt;br&gt;+	$writePermission = ($calendar-&amp;gt;isOwner($username) || $calendar-&amp;gt;canWrite($username));
&lt;br&gt;+	// not used
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+	$timeSlots = array();
&lt;br&gt;+	$slots = ($day_view_end_time - $day_view_start_time)*$constP;
&lt;br&gt;+	$hourFormat = ($hour_format == SMPREF_TIME_24HR ? 'H:i':'h:ia');
&lt;br&gt;+	
&lt;br&gt;+	//prepare table
&lt;br&gt;+	$output = &amp;quot;&amp;quot;;
&lt;br&gt;+	$output = &amp;quot;&amp;lt;style&amp;gt;
&lt;br&gt;+			a.emptycell:link &amp;nbsp;{display:block;width:100%%;background:#FFFFFF}
&lt;br&gt;+			a.emptycell:hover {display:block;width:100%%;background:#FFFFA6}
&lt;br&gt;+			a.emptycell {font-size:0.75em; text-decoration:none;}
&lt;br&gt;+			&amp;lt;/style&amp;gt;&amp;quot;;
&lt;br&gt;+
&lt;br&gt;+	$output .= &amp;quot;&amp;lt;table bgcolor=\&amp;quot;#E5E5E5\&amp;quot; border=\&amp;quot;0\&amp;quot; cellpadding=\&amp;quot;2\&amp;quot; cellspacing=\&amp;quot;1\&amp;quot; width=\&amp;quot;100%%\&amp;quot;&amp;gt;\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;				 &amp;lt;tr&amp;gt;\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 &amp;lt;td bgcolor=\&amp;quot;#E5E5E5\&amp;quot; width=\&amp;quot;20px\&amp;quot;&amp;gt; ### VOID ### &amp;lt;/td&amp;gt;\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Mon HEADER ###&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Tue HEADER ###&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Wed HEADER ###&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Thu HEADER ###&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Fri HEADER ###&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Sat HEADER ###&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Sun HEADER ###&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;				 &amp;lt;/tr&amp;gt;\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;				 &amp;lt;tr&amp;gt;\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 &amp;lt;td bgcolor=\&amp;quot;#E5E5E5\&amp;quot;&amp;gt;EM&amp;lt;/td&amp;gt;\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Mon EM Events ###&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Tue EM Events ###&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Wed EM Events ###&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Thu EM Events ###&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Fri EM Events ###&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Sat EM Events ###&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Sun EM Events ###&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;				 &amp;lt;/tr&amp;gt;\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;### TT ###&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;				 &amp;lt;tr&amp;gt;\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 &amp;lt;td bgcolor=\&amp;quot;#E5E5E5\&amp;quot;&amp;gt;LN&amp;lt;/td&amp;gt;\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Mon LN Events ###\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Tue LN Events ###\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Wed LN Events ###\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Thu LN Events ###\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Fri LN Events ###\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Sat LN Events ###\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;					 ### Sun LN Events ###\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;				 &amp;lt;/tr&amp;gt;\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;			 &amp;lt;/table&amp;gt;\n&amp;quot;;
&lt;br&gt;+	
&lt;br&gt;+	for($i = 0; $i &amp;lt; $slots; $i += 1)
&lt;br&gt;+	{
&lt;br&gt;+		$hour = $day_view_start_time + floor($i / $constP);
&lt;br&gt;+		$minute = ($i % $constP) * $constTimeUnit;
&lt;br&gt;+		//$timeSlots[$i] = date($hourFormat, mktime($hour,$minute,0,$month,$day,$year));
&lt;br&gt;+		$timeSlots[$i] = mktime($hour,$minute,0,$month,$day,$year);
&lt;br&gt;+	}
&lt;br&gt;+	
&lt;br&gt;+	// compute days of the week
&lt;br&gt;+	$datesInWeek = array();
&lt;br&gt;+	
&lt;br&gt;+	$weekNumber = date(&amp;quot;W&amp;quot;, mktime(0,0,0,$month,$day,$year));
&lt;br&gt;+	$weekStartDay &amp;nbsp; = date(&amp;quot;d&amp;quot;, strtotime(&amp;quot;{$year}-W{$weekNumber}-1&amp;quot;)); // monday
&lt;br&gt;+	$weekStartMonth = date(&amp;quot;m&amp;quot;, strtotime(&amp;quot;{$year}-W{$weekNumber}-1&amp;quot;)); // 
&lt;br&gt;+	$weekStartYear &amp;nbsp;= date(&amp;quot;Y&amp;quot;, strtotime(&amp;quot;{$year}-W{$weekNumber}-1&amp;quot;)); //
&lt;br&gt;+	
&lt;br&gt;+	for($i = 0; $i &amp;lt; 7; $i += 1)
&lt;br&gt;+		$datesInWeek[$i] = array(&amp;quot;day&amp;quot; &amp;nbsp;=&amp;gt; date(&amp;quot;d&amp;quot;, mktime(0,0,0,$weekStartMonth,$weekStartDay+$i,$weekStartYear)),
&lt;br&gt;+								&amp;quot;month&amp;quot; =&amp;gt; date(&amp;quot;n&amp;quot;, mktime(0,0,0,$weekStartMonth,$weekStartDay+$i,$weekStartYear)),
&lt;br&gt;+								&amp;quot;year&amp;quot; &amp;nbsp;=&amp;gt; date(&amp;quot;Y&amp;quot;, mktime(0,0,0,$weekStartMonth,$weekStartDay+$i,$weekStartYear)));
&lt;br&gt;+	
&lt;br&gt;+
&lt;br&gt;+	$outputTemp = &amp;quot;&amp;quot;;
&lt;br&gt;+	foreach($timeSlots as $index =&amp;gt; $row) // in-day table
&lt;br&gt;+	{
&lt;br&gt;+		// print out hours and quarter hours column
&lt;br&gt;+		$outputTemp .= &amp;quot;&amp;lt;tr&amp;gt;\n&amp;quot;;
&lt;br&gt;+		$outputTemp .= &amp;quot;&amp;lt;td align=\&amp;quot;right\&amp;quot; bgcolor=\&amp;quot;#E5E5E5\&amp;quot;&amp;gt;&amp;lt;font color=\&amp;quot;#4D4D4D\&amp;quot; size=\&amp;quot;-2\&amp;quot;&amp;gt;&amp;quot;;
&lt;br&gt;+		
&lt;br&gt;+		if($index % $constP == 0)	$outputTemp .= &amp;quot;&amp;lt;b&amp;gt;&amp;quot;.date($hourFormat,$row).&amp;quot;&amp;lt;/b&amp;gt;&amp;quot;;
&lt;br&gt;+		else $outputTemp .= date($hourFormat,$row);
&lt;br&gt;+		
&lt;br&gt;+		//$outputTemp .= &amp;quot;&amp;lt;a href=\&amp;quot;event_manage.php?calID=&amp;quot;.urlencode($calendar-&amp;gt;getID()).&amp;quot;&amp;year=$year&amp;month=$month&amp;day=$day&amp;hour=$timeIndex&amp;calAction=&amp;quot;.SM_CAL_EVENT_ACTION_ADD.&amp;quot;\&amp;quot;&amp;gt;&amp;lt;img src=\&amp;quot;images/new.png\&amp;quot; border=\&amp;quot;0\&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;quot;;
&lt;br&gt;+		$outputTemp .= &amp;quot;&amp;lt;/font&amp;gt;&amp;lt;/td&amp;gt;\n&amp;quot;;
&lt;br&gt;+		
&lt;br&gt;+		foreach($datesInWeek as $weekday)
&lt;br&gt;+		{
&lt;br&gt;+			$aDay &amp;nbsp; = $weekday[&amp;quot;day&amp;quot;];
&lt;br&gt;+			$aMonth = $weekday[&amp;quot;month&amp;quot;];
&lt;br&gt;+			$aYear &amp;nbsp;= $weekday[&amp;quot;year&amp;quot;];
&lt;br&gt;+			$day3letters = date(&amp;quot;D&amp;quot;, mktime($startHour,$startMinute,0,$aMonth,$aDay,$aYear));
&lt;br&gt;+			$outputTemp .= &amp;quot;### &amp;quot;.$row.$day3letters.&amp;quot; ###&amp;quot;;
&lt;br&gt;+		}
&lt;br&gt;+		$outputTemp .= &amp;quot;&amp;lt;/tr&amp;gt;\n&amp;quot;;
&lt;br&gt;+
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	$output = str_replace(&amp;quot;### TT ###&amp;quot;, $outputTemp, $output);
&lt;br&gt;+
&lt;br&gt;+	
&lt;br&gt;+	// for each day of the week, compute and print the calendar for that day
&lt;br&gt;+	foreach($datesInWeek as $weekday) // begin foreach weekday
&lt;br&gt;+	{
&lt;br&gt;+		$aDay &amp;nbsp; = $weekday[&amp;quot;day&amp;quot;];
&lt;br&gt;+		$aMonth = $weekday[&amp;quot;month&amp;quot;];
&lt;br&gt;+		$aYear &amp;nbsp;= $weekday[&amp;quot;year&amp;quot;];
&lt;br&gt;+
&lt;br&gt;+	
&lt;br&gt;+	// get events for today, which are displayed below
&lt;br&gt;+	//
&lt;br&gt;+	$events = $calendar-&amp;gt;getEventsForDay($aYear, $aMonth, $aDay, $user);
&lt;br&gt;+//	$organizedEvents = organizeEvents($events, $year, $month, $day, $day_view_start_time);
&lt;br&gt;+	$organizedEvents = organizeEvents($events, $aYear, $aMonth, $aDay);
&lt;br&gt;+	
&lt;br&gt;+	
&lt;br&gt;+	////////////////////////////////////////////////////////////////////
&lt;br&gt;+	// GENERATE TIMETABLE
&lt;br&gt;+	////////////////////////////////////////////////////////////////////
&lt;br&gt;+	$earlyMornEvents = array();
&lt;br&gt;+	$lateNightEvents = array();
&lt;br&gt;+	$inDayEvents = array();
&lt;br&gt;+	$timeTable = array();
&lt;br&gt;+
&lt;br&gt;+	
&lt;br&gt;+	// TODO: check if organizedEvents is void at the beginning??
&lt;br&gt;+	foreach ($organizedEvents as $hour =&amp;gt; $arrayH)
&lt;br&gt;+	{
&lt;br&gt;+		foreach ($arrayH as $minute =&amp;gt; $arrayHM)
&lt;br&gt;+		{
&lt;br&gt;+			// take out all elements of arrayHM
&lt;br&gt;+			while (isset($arrayHM)
&lt;br&gt;+					&amp;&amp; is_array($arrayHM)
&lt;br&gt;+					&amp;&amp; sizeof($arrayHM) &amp;gt; 0)
&lt;br&gt;+			{
&lt;br&gt;+				$event = array_shift($arrayHM);
&lt;br&gt;+				// $event must be classified in one of 3 groups:
&lt;br&gt;+				// early morning events (ending before $day_view_start_time)
&lt;br&gt;+				// in-day events
&lt;br&gt;+				// late night events (starting after $day_view_end_time)
&lt;br&gt;+				if ($event-&amp;gt;endHour($aYear, $aMonth, $aDay) !== FALSE
&lt;br&gt;+					&amp;&amp; $event-&amp;gt;endHour($aYear, $aMonth, $aDay) &amp;lt; $day_view_start_time
&lt;br&gt;+					|| $event-&amp;gt;isAllDay())
&lt;br&gt;+					$earlyMornEvents[] = $event;
&lt;br&gt;+				elseif ($event-&amp;gt;startHour($aYear, $aMonth, $aDay) !== FALSE
&lt;br&gt;+					&amp;&amp; $event-&amp;gt;startHour($aYear, $aMonth, $aDay) &amp;gt; $day_view_end_time)
&lt;br&gt;+					$lateNightEvents[] = $event;
&lt;br&gt;+				else // TODO: check if $event falls within starting/ending day_view_*_time?
&lt;br&gt;+					$inDayEvents[] = $event; // what to do with allDay events?
&lt;br&gt;+					
&lt;br&gt;+				//print_r($inDayEvents);
&lt;br&gt;+			}
&lt;br&gt;+		}
&lt;br&gt;+	}
&lt;br&gt;+	
&lt;br&gt;+	// fill timetable with events.
&lt;br&gt;+	// 'o' for free
&lt;br&gt;+	// 'x' or UID for busy
&lt;br&gt;+	// adds a column in table if events overlap
&lt;br&gt;+	$timeTable = array();
&lt;br&gt;+	foreach ($timeSlots as $value)
&lt;br&gt;+		$timeTable[0][$value] = 'o';
&lt;br&gt;+		
&lt;br&gt;+	//print_r($timeTable[0]);
&lt;br&gt;+	$columnMax = 0;
&lt;br&gt;+	// fill in timeTable with busy slots
&lt;br&gt;+	foreach($inDayEvents as $event)
&lt;br&gt;+	{
&lt;br&gt;+		$eventTimes = $event-&amp;gt;eventTrim($aYear, $aMonth, $aDay, $constTimeUnit, $day_view_start_time, $day_view_end_time);
&lt;br&gt;+		
&lt;br&gt;+		$startHour &amp;nbsp; = $eventTimes[ &amp;nbsp; &amp;nbsp;&amp;quot;startHour&amp;quot; &amp;nbsp; ];
&lt;br&gt;+		$startMinute = $eventTimes[ &amp;nbsp; &amp;quot;startMinute&amp;quot; &amp;nbsp;];
&lt;br&gt;+		$endHour &amp;nbsp; &amp;nbsp; = $eventTimes[ &amp;nbsp; &amp;nbsp; &amp;quot;endHour&amp;quot; &amp;nbsp; &amp;nbsp;];
&lt;br&gt;+		$endMinute &amp;nbsp; = $eventTimes[ &amp;nbsp; &amp;nbsp;&amp;quot;endMinute&amp;quot; &amp;nbsp; ];
&lt;br&gt;+		$eventLength = $eventTimes[&amp;quot;eventLengthUnits&amp;quot;];
&lt;br&gt;+		
&lt;br&gt;+		$allocated = FALSE;
&lt;br&gt;+		$column = 0;
&lt;br&gt;+		
&lt;br&gt;+		//sm_print_r($eventTimes);
&lt;br&gt;+
&lt;br&gt;+		while(!$allocated)
&lt;br&gt;+		{
&lt;br&gt;+			$testIfFree = TRUE;
&lt;br&gt;+
&lt;br&gt;+			$startI = array_keys($timeSlots, mktime($startHour,$startMinute,0,$month,$day,$year));
&lt;br&gt;+			$startI = $startI[0]; // startI is array -&amp;gt; convert to scalar
&lt;br&gt;+
&lt;br&gt;+			for($i = $startI; $i &amp;lt; $startI+$eventLength; $i += 1)
&lt;br&gt;+				if($timeTable[$column][$timeSlots[$i]] != 'o')
&lt;br&gt;+					$testIfFree = FALSE;
&lt;br&gt;+
&lt;br&gt;+			if($testIfFree)
&lt;br&gt;+			{
&lt;br&gt;+				// allocate
&lt;br&gt;+				$timeTable[$column][$timeSlots[$startI]] = array(&amp;quot;event&amp;quot; =&amp;gt; $event, &amp;quot;rowspan&amp;quot; =&amp;gt; $eventLength);
&lt;br&gt;+				for($i = $startI+1; $i &amp;lt; $startI+$eventLength; $i += 1)
&lt;br&gt;+					$timeTable[$column][$timeSlots[$i]] = 'x';
&lt;br&gt;+
&lt;br&gt;+				$allocated = TRUE;
&lt;br&gt;+			}
&lt;br&gt;+			else // allocate in new column
&lt;br&gt;+			{
&lt;br&gt;+				$column += 1; 
&lt;br&gt;+				$columnMax = max($columnMax, $column);
&lt;br&gt;+				if(!isset($timeTable[$column])) //if timeTable[$column] does not exist, create it
&lt;br&gt;+				{
&lt;br&gt;+					$timeTable[$column] = array();
&lt;br&gt;+					foreach ($timeSlots as $value)
&lt;br&gt;+						$timeTable[$column][$value] = 'o';
&lt;br&gt;+				}
&lt;br&gt;+			}
&lt;br&gt;+		}
&lt;br&gt;+
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	
&lt;br&gt;+	////////////////////////////////////////////////////////////////////
&lt;br&gt;+	// PRINT TIMETIBLE FOR DAY
&lt;br&gt;+	////////////////////////////////////////////////////////////////////
&lt;br&gt;+	//print_r($timeTable);
&lt;br&gt;+	
&lt;br&gt;+	$day3letters = date(&amp;quot;D&amp;quot;, mktime(0,0,0,$aMonth,$aDay,$aYear));
&lt;br&gt;+	//print date
&lt;br&gt;+	$headerTemp = '&amp;lt;td bgcolor=&amp;quot;'.($aDay == date('d') ? &amp;quot;#FFD280&amp;quot; : $calendar_theme['day_view_time_header']).'&amp;quot; width=&amp;quot;14.28%&amp;quot; colspan=&amp;quot;'.($columnMax+1).'&amp;quot;&amp;gt;'
&lt;br&gt;+				.&amp;quot;&amp;lt;a href=\&amp;quot;day.php?overlay=&amp;quot;.urlencode($current_overlays).&amp;quot;&amp;calID=&amp;quot; . urlencode($calendar-&amp;gt;getID()) . &amp;quot;&amp;year=$aYear&amp;month=$aMonth&amp;day=$aDay\&amp;quot;&amp;gt;&amp;quot;
&lt;br&gt;+				.date('D-d', mktime(0,0,0,$aMonth,$aDay,$aYear)).'&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;';
&lt;br&gt;+	$output = str_replace(&amp;quot;### &amp;quot;.$day3letters.&amp;quot; HEADER ###&amp;quot;, $headerTemp, $output);
&lt;br&gt;+	
&lt;br&gt;+	
&lt;br&gt;+	//print allDay and earlyMorning events with agenda like look
&lt;br&gt;+	$outputTemp = &amp;quot;&amp;lt;td bgcolor=\&amp;quot;#F2F2F2\&amp;quot; colspan=\&amp;quot;&amp;quot;.($columnMax+1).&amp;quot;\&amp;quot;&amp;gt;&amp;quot;;
&lt;br&gt;+	if(sizeof($earlyMornEvents)) // early morning table
&lt;br&gt;+		$outputTemp .= showAgendaFormat(&amp;$earlyMornEvents, $aYear, $aMonth, $aDay);
&lt;br&gt;+	else
&lt;br&gt;+		$outputTemp .= &amp;quot;&amp;nbsp;&amp;quot;;
&lt;br&gt;+	$outputTemp .= &amp;quot;&amp;lt;/td&amp;gt;&amp;quot;;
&lt;br&gt;+	$output = str_replace(&amp;quot;### &amp;quot;.$day3letters.&amp;quot; EM Events ###&amp;quot;, $outputTemp, $output);
&lt;br&gt;+
&lt;br&gt;+	
&lt;br&gt;+	
&lt;br&gt;+	//print inDayEvents
&lt;br&gt;+	foreach($timeSlots as $index =&amp;gt; $row) // in-day table
&lt;br&gt;+	{
&lt;br&gt;+		$outputTT = &amp;quot;&amp;quot;;
&lt;br&gt;+		
&lt;br&gt;+		// render each column
&lt;br&gt;+		for($col = 0; $col &amp;lt;= $columnMax; $col += 1)
&lt;br&gt;+		{
&lt;br&gt;+			
&lt;br&gt;+
&lt;br&gt;+			//printf($timeTable[$col][$row]);
&lt;br&gt;+			if($timeTable[$col][$row] != 'o')
&lt;br&gt;+				if($timeTable[$col][$row] == 'x')
&lt;br&gt;+					$timeTable[$col][$row] = 'o';
&lt;br&gt;+				else
&lt;br&gt;+				{
&lt;br&gt;+					$outputTT .= &amp;quot;\n&amp;lt;td valign=\&amp;quot;top\&amp;quot; rowspan=\&amp;quot;&amp;quot;.$timeTable[$col][$row][&amp;quot;rowspan&amp;quot;].&amp;quot;\&amp;quot; &amp;quot;
&lt;br&gt;+							. &amp;quot;bgcolor=\&amp;quot;&amp;quot;.$timeTable[$col][$row][&amp;quot;event&amp;quot;]-&amp;gt;getColor().&amp;quot;\&amp;quot;&amp;gt;&amp;quot;;
&lt;br&gt;+					$outputTT .= eventDivStream(&amp;$timeTable[$col][$row][&amp;quot;event&amp;quot;], $eventLength, $aYear, $aMonth, $aDay);
&lt;br&gt;+					$outputTT .= &amp;quot;&amp;lt;/td&amp;gt;\n&amp;quot;;
&lt;br&gt;+				}
&lt;br&gt;+			else
&lt;br&gt;+			{
&lt;br&gt;+				$linkHour = date('H',$row); $linkMinutes = date('i',$row);
&lt;br&gt;+				$addEventLink = &amp;quot;event_manage.php?calID=&amp;quot;.urlencode($calendar-&amp;gt;getID()).&amp;quot;&amp;year=$aYear&amp;month=$aMonth&amp;day=$aDay&amp;hour=$linkHour&amp;minute=$linkMinutes&amp;calAction=&amp;quot;.SM_CAL_EVENT_ACTION_ADD;
&lt;br&gt;+				$outputTT .= &amp;quot;&amp;lt;td bgcolor=\&amp;quot;#FFFFFF\&amp;quot;&amp;gt;&amp;lt;a class=\&amp;quot;emptycell\&amp;quot; href=\&amp;quot;$addEventLink\&amp;quot;&amp;gt; &amp;nbsp; &amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;\n&amp;quot;;
&lt;br&gt;+			}
&lt;br&gt;+		}
&lt;br&gt;+	
&lt;br&gt;+		$output = str_replace(&amp;quot;### &amp;quot;.$row.$day3letters.&amp;quot; ###&amp;quot;, $outputTT, $output);
&lt;br&gt;+		
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	
&lt;br&gt;+	$outputTemp = &amp;quot;&amp;lt;td bgcolor=\&amp;quot;#F2F2F2\&amp;quot; colspan=\&amp;quot;&amp;quot;.($columnMax+1).&amp;quot;\&amp;quot;&amp;gt;&amp;quot;;
&lt;br&gt;+	if(sizeof($lateNightEvents)) // late night cell
&lt;br&gt;+		$outputTemp .= showAgendaFormat(&amp;$lateNightEvents, $aYear, $aMonth, $aDay);
&lt;br&gt;+	else
&lt;br&gt;+		$outputTemp .= &amp;quot;&amp;nbsp;&amp;quot;;
&lt;br&gt;+	$outputTemp .= &amp;quot;&amp;lt;/td&amp;gt;&amp;quot;;
&lt;br&gt;+	$output = str_replace(&amp;quot;### &amp;quot;.$day3letters.&amp;quot; LN Events ###&amp;quot;, $outputTemp, $output);
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+	
&lt;br&gt;+	} //--- end foreach weekday
&lt;br&gt;+
&lt;br&gt;+	$output = str_replace(&amp;quot;### VOID ###&amp;quot;, &amp;quot;&amp;nbsp;&amp;quot;, $output);
&lt;br&gt;+	//sm_print_r($output);
&lt;br&gt;+
&lt;br&gt;+	print($output);
&lt;br&gt;+
&lt;br&gt;+	// END /////////////////////////////////////////////////////////////
&lt;br&gt;+	
&lt;br&gt;+	
&lt;br&gt;+ &amp;nbsp; sq_change_text_domain('squirrelmail');
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; //showWeekViewFooter($calendar, $year, $month, $day);
&lt;br&gt;+
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+/**
&lt;br&gt;+ &amp;nbsp;* Displays page footer for calendar day view
&lt;br&gt;+ &amp;nbsp;*
&lt;br&gt;+ &amp;nbsp;* @param object $calendar The calendar being viewed
&lt;br&gt;+ &amp;nbsp;* @param int $year The year of the day to be shown
&lt;br&gt;+ &amp;nbsp;* @param int $month The month of the day to be shown
&lt;br&gt;+ &amp;nbsp;* @param int $day The day to be shown
&lt;br&gt;+ &amp;nbsp;*
&lt;br&gt;+ &amp;nbsp;*/
&lt;br&gt;+function showWeekViewFooter($calendar, $year, $month, $day)
&lt;br&gt;+{
&lt;br&gt;+	global 	$color, $username, $domain, $calendar_theme,
&lt;br&gt;+			$calendar_overlay_selector_size;
&lt;br&gt;+	
&lt;br&gt;+	
&lt;br&gt;+	sq_change_text_domain('calendar');
&lt;br&gt;+	
&lt;br&gt;+ &amp;nbsp; $external_list = get_all_external_calendars();
&lt;br&gt;+ &amp;nbsp; $shared_list = get_all_accessible_calendars($username, $domain);
&lt;br&gt;+ &amp;nbsp; $public_list = get_all_public_calendars();
&lt;br&gt;+ &amp;nbsp; $calList = array_merge($shared_list, $public_list, $external_list);
&lt;br&gt;+ &amp;nbsp; usort($calList, 'calendar_sort');
&lt;br&gt;+ &amp;nbsp; $current_overlays = $calendar-&amp;gt;get_overlay_ids();
&lt;br&gt;+
&lt;br&gt;+	
&lt;br&gt;+	
&lt;br&gt;+	// LEGEND //////////////////////////////////////////////////////////
&lt;br&gt;+	$output = '';
&lt;br&gt;+	$output .= '&amp;lt;table width=&amp;quot;100%&amp;quot;&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Legend&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;';
&lt;br&gt;+	$output .= &amp;nbsp; '&amp;lt;tr&amp;gt;&amp;lt;td bgcolor=&amp;quot;#'.$calendar-&amp;gt;getColor().'&amp;quot;&amp;gt;'
&lt;br&gt;+				.'&amp;lt;a style=&amp;quot;text-decoration:none; color:#'.$calendar-&amp;gt;getColorContrast()
&lt;br&gt;+				.'&amp;quot;&amp;gt;'.$calendar-&amp;gt;getName().'&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;';
&lt;br&gt;+
&lt;br&gt;+	foreach($calList as $cal)
&lt;br&gt;+	{
&lt;br&gt;+		$calID = urlencode($cal-&amp;gt;getID());
&lt;br&gt;+		if (in_array($calID, $current_overlays))
&lt;br&gt;+			$output .= '&amp;lt;tr&amp;gt;&amp;lt;td bgcolor=&amp;quot;#'.$cal-&amp;gt;getColor().'&amp;quot;&amp;gt;'
&lt;br&gt;+					.'&amp;lt;a style=&amp;quot;text-decoration:none; color:#'.$cal-&amp;gt;getColorContrast().'&amp;quot;&amp;gt;'
&lt;br&gt;+					.$cal-&amp;gt;getName().'&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;';
&lt;br&gt;+	}
&lt;br&gt;+	
&lt;br&gt;+	$output .= '&amp;lt;/table&amp;gt;&amp;lt;br&amp;gt;';
&lt;br&gt;+
&lt;br&gt;+	print($output);
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+	// QUICK ADD EVENT /////////////////////////////////////////////////
&lt;br&gt;+	$output = &amp;quot;&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;&amp;lt;table width=\&amp;quot;100%%\&amp;quot;&amp;gt;\n
&lt;br&gt;+					&amp;lt;tr&amp;gt;\n
&lt;br&gt;+						&amp;lt;td colspan=\&amp;quot;3\&amp;quot;&amp;gt;Quick Add Event&amp;lt;/td&amp;gt;\n
&lt;br&gt;+					&amp;lt;/tr&amp;gt;\n&amp;quot;;
&lt;br&gt;+
&lt;br&gt;+	$output .= &amp;quot;	&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;small&amp;gt;\n&amp;quot;;
&lt;br&gt;+	
&lt;br&gt;+	$startHour &amp;nbsp; = date('H');
&lt;br&gt;+	$startMinute = date('i');
&lt;br&gt;+	$endHour &amp;nbsp; = $startHour+1;
&lt;br&gt;+	$endMinute = $startMinute;
&lt;br&gt;+	$output .= '&amp;lt;form action=&amp;quot;event_manage.php&amp;quot; method=&amp;quot;POST&amp;quot;&amp;gt;'
&lt;br&gt;+			. '&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;calAction&amp;quot; value=&amp;quot;'.SM_CAL_EVENT_ACTION_CREATE.'&amp;quot; /&amp;gt;'
&lt;br&gt;+			. '&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;year&amp;quot; value=&amp;quot;' &amp;nbsp;. $year &amp;nbsp;. '&amp;quot; /&amp;gt;'
&lt;br&gt;+			. '&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;month&amp;quot; value=&amp;quot;' . $month . '&amp;quot; /&amp;gt;'
&lt;br&gt;+			. '&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;day&amp;quot; value=&amp;quot;' &amp;nbsp; . $day &amp;nbsp; . '&amp;quot; /&amp;gt;'
&lt;br&gt;+			. '&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;startYear&amp;quot; value=&amp;quot;' &amp;nbsp;. $year &amp;nbsp;. '&amp;quot; /&amp;gt;'
&lt;br&gt;+			. '&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;startMonth&amp;quot; value=&amp;quot;' . $month . '&amp;quot; /&amp;gt;'
&lt;br&gt;+			. '&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;startDay&amp;quot; value=&amp;quot;' &amp;nbsp; . $day &amp;nbsp; . '&amp;quot; /&amp;gt;'
&lt;br&gt;+			. '&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;endYear&amp;quot; value=&amp;quot;' &amp;nbsp;. $year &amp;nbsp;. '&amp;quot; /&amp;gt;'
&lt;br&gt;+			. '&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;endMonth&amp;quot; value=&amp;quot;' . $month . '&amp;quot; /&amp;gt;'
&lt;br&gt;+			. '&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;endDay&amp;quot; value=&amp;quot;' &amp;nbsp; . $day &amp;nbsp; . '&amp;quot; /&amp;gt;'
&lt;br&gt;+			. '&amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;eventType&amp;quot; value=&amp;quot;' . SM_EVENT_TYPE_EVENT . '&amp;quot; /&amp;gt;'
&lt;br&gt;+			. '&amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;aDay&amp;quot; value=&amp;quot;Mon&amp;quot; checked&amp;gt;Mon
&lt;br&gt;+			&amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;aDay&amp;quot; value=&amp;quot;Tue&amp;quot; &amp;gt;Tue
&lt;br&gt;+			&amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;aDay&amp;quot; value=&amp;quot;Wed&amp;quot; &amp;gt;Wed&amp;lt;br&amp;gt;
&lt;br&gt;+			&amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;aDay&amp;quot; value=&amp;quot;Thu&amp;quot; &amp;gt;Thu
&lt;br&gt;+			&amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;aDay&amp;quot; value=&amp;quot;Fri&amp;quot; &amp;gt;Fri
&lt;br&gt;+			&amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;aDay&amp;quot; value=&amp;quot;Sat&amp;quot; &amp;gt;Sat&amp;lt;br&amp;gt;
&lt;br&gt;+			&amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;aDay&amp;quot; value=&amp;quot;Sun&amp;quot; &amp;gt;Sun
&lt;br&gt;+			&amp;lt;input type=&amp;quot;radio&amp;quot; name=&amp;quot;aDay&amp;quot; value=&amp;quot;Oth&amp;quot; &amp;gt;&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;Summary&amp;quot; size=&amp;quot;5&amp;quot;&amp;gt;
&lt;br&gt;+			&amp;lt;br&amp;gt;
&lt;br&gt;+			&amp;lt;select name=&amp;quot;startHour&amp;quot;&amp;gt;'.select_option_hour($startHour).'&amp;lt;/select&amp;gt;:&amp;lt;select name=&amp;quot;startMinute&amp;quot;&amp;gt;'.select_option_minute($startMinute).'&amp;lt;/select&amp;gt; to&amp;lt;br&amp;gt;
&lt;br&gt;+			&amp;lt;select name=&amp;quot;endHour&amp;quot;&amp;gt;'. &amp;nbsp;select_option_hour($endHour). &amp;nbsp;'&amp;lt;/select&amp;gt;:&amp;lt;select name=&amp;quot;endMinute&amp;quot;&amp;gt;'. &amp;nbsp;select_option_minute($endMinute). &amp;nbsp;'&amp;lt;/select&amp;gt;
&lt;br&gt;+			All Day? &amp;lt;input type=&amp;quot;checkbox&amp;quot; name=&amp;quot;isAllDay&amp;quot; id=&amp;quot;isAllDay&amp;quot; value=&amp;quot;YES&amp;quot;&amp;gt;&amp;lt;br&amp;gt;
&lt;br&gt;+			Title: &amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;eventName&amp;quot; size=&amp;quot;20&amp;quot;&amp;gt;
&lt;br&gt;+			Calendar: &amp;lt;select name=&amp;quot;calID&amp;quot;&amp;gt;\n&amp;quot;';
&lt;br&gt;+
&lt;br&gt;+			foreach ($calList as $cal)
&lt;br&gt;+			{
&lt;br&gt;+				$calID = urlencode($cal-&amp;gt;getID());
&lt;br&gt;+				$output .= &amp;quot;&amp;lt;option value=\&amp;quot;$calID\&amp;quot; &amp;quot;. ($cal-&amp;gt;getID() == $calendar-&amp;gt;getID() ? &amp;quot; SELECTED&amp;quot; : &amp;quot;&amp;quot;) . &amp;quot;&amp;gt;&amp;quot; . htmlspecialchars($cal-&amp;gt;getName()) . &amp;quot;&amp;lt;/option&amp;gt;\n&amp;quot;;
&lt;br&gt;+			}
&lt;br&gt;+			
&lt;br&gt;+	$output .= &amp;quot;&amp;lt;option value=\&amp;quot;personal\&amp;quot;&amp;quot; 
&lt;br&gt;+			. ($calendar-&amp;gt;getID() == get_personal_cal_id($username, $domain) ? &amp;quot; SELECTED&amp;quot; : &amp;quot;&amp;quot;) 
&lt;br&gt;+			. &amp;quot;&amp;gt;&amp;quot; . _(&amp;quot;Personal&amp;quot;) . &amp;quot;&amp;lt;/option&amp;gt;\n&amp;quot;
&lt;br&gt;+			. '	&amp;lt;/select&amp;gt;
&lt;br&gt;+			&amp;lt;input type=&amp;quot;submit&amp;quot; name=&amp;quot;createevent&amp;quot; value=&amp;quot;More Options&amp;quot;&amp;gt;
&lt;br&gt;+			&amp;lt;input type=&amp;quot;submit&amp;quot; name=&amp;quot;submitevent&amp;quot; value=&amp;quot;Add&amp;quot;&amp;gt;
&lt;br&gt;+			&amp;lt;/form&amp;gt;';
&lt;br&gt;+
&lt;br&gt;+	$output .= &amp;quot;	&amp;lt;/small&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;\n&amp;lt;/table&amp;gt;\n&amp;lt;br&amp;gt;&amp;quot;;
&lt;br&gt;+	
&lt;br&gt;+	print($output);	
&lt;br&gt;+	
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+	// OVERLAY /////////////////////////////////////////////////////////
&lt;br&gt;+	$output = &amp;quot;&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;&amp;lt;table width=\&amp;quot;100%%\&amp;quot;&amp;gt;\n
&lt;br&gt;+					&amp;lt;tr&amp;gt;\n
&lt;br&gt;+						&amp;lt;td&amp;gt;Overlay&amp;lt;/td&amp;gt;\n
&lt;br&gt;+					&amp;lt;/tr&amp;gt;\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;	&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;\n&amp;quot;;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+	if ($calendar_overlay_selector_size &amp;gt; 0)
&lt;br&gt;+	{
&lt;br&gt;+		$output .= &amp;quot;\n &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;form name=\&amp;quot;caloverlay\&amp;quot; style=\&amp;quot;display:inline; margin:0\&amp;quot;&amp;gt;&amp;quot;
&lt;br&gt;+		. &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;select multiple=\&amp;quot;multiple\&amp;quot; size=\&amp;quot;&amp;quot; . $calendar_overlay_selector_size . &amp;quot;\&amp;quot; name=\&amp;quot;overlayselect\&amp;quot;&amp;gt;\n&amp;quot;;
&lt;br&gt;+		
&lt;br&gt;+		foreach ($calList as $cal)
&lt;br&gt;+		{
&lt;br&gt;+			$calID = urlencode($cal-&amp;gt;getID());
&lt;br&gt;+			if ($calID == $calendar-&amp;gt;getID()) continue;
&lt;br&gt;+			$output .= &amp;nbsp;&amp;quot;&amp;lt;option value=\&amp;quot;$calID\&amp;quot;&amp;quot;
&lt;br&gt;+			. (in_array($calID, $current_overlays) ? ' selected=&amp;quot;selected&amp;quot;' : '')
&lt;br&gt;+			. &amp;quot;&amp;gt;&amp;quot; . htmlspecialchars($cal-&amp;gt;getName()) . &amp;quot;&amp;lt;/option&amp;gt;\n&amp;quot;;
&lt;br&gt;+		}
&lt;br&gt;+		
&lt;br&gt;+		if ($calendar-&amp;gt;getID() != get_personal_cal_id($username, $domain))
&lt;br&gt;+			$output .= &amp;nbsp;&amp;quot;&amp;lt;option value=\&amp;quot;personal\&amp;quot;&amp;quot;
&lt;br&gt;+				. (in_array('personal', $current_overlays) ? ' selected=&amp;quot;selected&amp;quot;' : '')
&lt;br&gt;+				. &amp;quot;&amp;gt;&amp;quot; . _(&amp;quot;Personal&amp;quot;) . &amp;quot;&amp;lt;/option&amp;gt;\n&amp;quot;;
&lt;br&gt;+			
&lt;br&gt;+		$output .= &amp;nbsp;&amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/select&amp;gt;\n&amp;quot;
&lt;br&gt;+			. ' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type=&amp;quot;button&amp;quot; value=&amp;quot;' . _(&amp;quot;Overlay&amp;quot;) . '&amp;quot; onClick=&amp;quot;'
&lt;br&gt;+			. 'var dest=\'week.php?year=' . $year . '&amp;month=' . $month . '&amp;day=' . $day . '&amp;calID=' . urlencode($calendar-&amp;gt;getID()) . '&amp;overlay=\'; '
&lt;br&gt;+			. 'for (i=0;i&amp;lt;document.caloverlay.overlayselect.length;i++){ '
&lt;br&gt;+			. 'if (document.caloverlay.overlayselect.options[i].selected) '
&lt;br&gt;+			. 'dest+=document.caloverlay.overlayselect.options[i].value + \'|\';} '
&lt;br&gt;+			. 'location.href=dest;&amp;quot;&amp;gt;' . &amp;quot;\n&amp;quot;
&lt;br&gt;+			. &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/form&amp;gt;\n&amp;quot;;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	$output .= &amp;quot;	&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;\n&amp;lt;/table&amp;gt;\n&amp;lt;br&amp;gt;&amp;quot;;
&lt;br&gt;+	
&lt;br&gt;+	print($output);
&lt;br&gt;+	
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+	// QUICK JUMP TO DATE //////////////////////////////////////////////
&lt;br&gt;+	$output = &amp;quot;&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;&amp;lt;table width=\&amp;quot;100%%\&amp;quot;&amp;gt;\n
&lt;br&gt;+					&amp;lt;tr&amp;gt;\n
&lt;br&gt;+						&amp;lt;td&amp;gt;Quick Jump to Date&amp;lt;/td&amp;gt;\n
&lt;br&gt;+					&amp;lt;/tr&amp;gt;\n&amp;quot;;
&lt;br&gt;+	$output .= &amp;quot;	&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;\n&amp;quot;;
&lt;br&gt;+	
&lt;br&gt;+	$output .= &amp;quot;&amp;lt;form name=\&amp;quot;caljump\&amp;quot; action=\&amp;quot;week.php\&amp;quot; method=\&amp;quot;POST\&amp;quot;&amp;gt;\n&amp;quot;
&lt;br&gt;+			. &amp;quot;&amp;lt;select name=\&amp;quot;year\&amp;quot;&amp;gt;\n&amp;quot;
&lt;br&gt;+			. select_option_year($year)
&lt;br&gt;+			. &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/select&amp;gt;\n&amp;quot;
&lt;br&gt;+			. &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;select name=\&amp;quot;month\&amp;quot;&amp;gt;\n&amp;quot;;
&lt;br&gt;+
&lt;br&gt;+	// select_option_month() needs to be called when in SM core locale
&lt;br&gt;+	// 
&lt;br&gt;+	sq_change_text_domain('squirrelmail');
&lt;br&gt;+
&lt;br&gt;+	$output .= select_option_month($month);
&lt;br&gt;+
&lt;br&gt;+	// switch back to our locale
&lt;br&gt;+	//
&lt;br&gt;+	sq_change_text_domain('calendar');
&lt;br&gt;+	
&lt;br&gt;+	$output .= &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/select&amp;gt;\n&amp;quot;
&lt;br&gt;+			. &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;select name=\&amp;quot;day\&amp;quot;&amp;gt;\n&amp;quot;
&lt;br&gt;+			. select_option_day($day)
&lt;br&gt;+			. &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/select&amp;gt;\n&amp;quot;
&lt;br&gt;+			. ' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;' . _(&amp;quot;Go&amp;quot;) . &amp;quot;\&amp;quot;&amp;gt;\n&amp;quot;
&lt;br&gt;+			. &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;calID\&amp;quot; value=\&amp;quot;&amp;quot; . urlencode($calendar-&amp;gt;getID()) . &amp;quot;\&amp;quot;&amp;gt;\n&amp;quot;
&lt;br&gt;+			. &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;input type=\&amp;quot;hidden\&amp;quot; name=\&amp;quot;overlay\&amp;quot; value=\&amp;quot;&amp;quot; . urlencode(implode('|', $current_overlays)) . &amp;quot;\&amp;quot;&amp;gt;\n&amp;quot;
&lt;br&gt;+			. &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/form&amp;gt;\n&amp;quot;;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+	$output .= &amp;quot;	&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;\n&amp;lt;/table&amp;gt;\n&amp;lt;br&amp;gt;&amp;quot;;
&lt;br&gt;+	
&lt;br&gt;+	//printf($output);
&lt;br&gt;+	echo($output);
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+	
&lt;br&gt;+	
&lt;br&gt;+ &amp;nbsp; echo &amp;quot;\n&amp;lt;form name=\&amp;quot;calswitch\&amp;quot;&amp;gt;&amp;lt;select name=\&amp;quot;calselect\&amp;quot;&amp;gt;\n&amp;quot;;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; foreach ($calList as $cal)
&lt;br&gt;+ &amp;nbsp; {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;$calID = urlencode($cal-&amp;gt;getID());
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;echo &amp;quot;&amp;lt;option value=\&amp;quot;week.php?year=$year&amp;month=$month&amp;day=$day&amp;calID=$calID&amp;overlay=&amp;quot; . implode('|', $current_overlays) . '&amp;quot;'
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; . ($cal-&amp;gt;getID() == $calendar-&amp;gt;getID() ? ' SELECTED' : '')
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; . &amp;quot;&amp;gt;&amp;quot; . htmlspecialchars($cal-&amp;gt;getName()) . &amp;quot;&amp;lt;/option&amp;gt;\n&amp;quot;;
&lt;br&gt;+ &amp;nbsp; }
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; echo &amp;quot;&amp;lt;option value=\&amp;quot;week.php?year=$year&amp;month=$month&amp;day=$day&amp;calID=personal&amp;overlay=&amp;quot; . implode('|', $current_overlays) . '&amp;quot;'
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;. ($calendar-&amp;gt;getID() == get_personal_cal_id($username, $domain) ? ' SELECTED' : '')
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;. '&amp;gt;' . _(&amp;quot;Personal&amp;quot;) . &amp;quot;&amp;lt;/option&amp;gt;\n&amp;quot;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;. &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/select&amp;gt;\n&amp;quot;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;. ' &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;input type=&amp;quot;button&amp;quot; value=&amp;quot;' . _(&amp;quot;Go&amp;quot;) . '&amp;quot; onClick=&amp;quot;' 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;. 'for (i=0;i&amp;lt;document.calswitch.calselect.length;i++){ ' 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;. 'if (document.calswitch.calselect.options[i].selected) ' 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;. 'dest=document.calswitch.calselect.options[i].value;} ' 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;. 'location.href=dest;&amp;quot;&amp;gt;' . &amp;quot;\n&amp;quot;;
&lt;br&gt;+ &amp;nbsp; echo &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/form&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;\n&amp;quot;;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; sq_change_text_domain('squirrelmail');
&lt;br&gt;+
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+function showAgendaFormat(&amp;$events, $year, $month, $day)
&lt;br&gt;+{
&lt;br&gt;+	$hourFormat = ($hour_format == SMPREF_TIME_24HR ? 'H:i':'h:ia');
&lt;br&gt;+
&lt;br&gt;+	$output = &amp;quot;&amp;lt;table&amp;gt;\n&amp;quot;;
&lt;br&gt;+	foreach($events as $event)
&lt;br&gt;+	{
&lt;br&gt;+		$output .= &amp;quot;&amp;lt;tr&amp;gt;\n&amp;lt;td bgcolor=\&amp;quot;&amp;quot;.$event-&amp;gt;getColor().&amp;quot;\&amp;quot;&amp;gt;&amp;quot;;
&lt;br&gt;+				
&lt;br&gt;+		$cal = $event-&amp;gt;getParentCalendars();
&lt;br&gt;+		
&lt;br&gt;+		if(empty($cal))
&lt;br&gt;+			$cal = &amp;quot;personal&amp;quot;;
&lt;br&gt;+		else
&lt;br&gt;+			$cal = $cal[0];	
&lt;br&gt;+
&lt;br&gt;+		$editLink = '&amp;lt;a href=&amp;quot;event_manage.php?calID=' . urlencode($cal)
&lt;br&gt;+				. &amp;quot;&amp;year=.$year&amp;month=$month&amp;day=$day&amp;eventID=&amp;quot;
&lt;br&gt;+				. $event-&amp;gt;getID()
&lt;br&gt;+				. '&amp;calAction=' . SM_CAL_EVENT_ACTION_EDIT . '&amp;quot;'
&lt;br&gt;+				. (($event-&amp;gt;getPriority() &amp;lt;= $highlight_threshold)
&lt;br&gt;+				? ' style=&amp;quot;text-decoration:none; color: '
&lt;br&gt;+				. $calendar_theme['month_view_event_text_urgent'] . '&amp;quot;'
&lt;br&gt;+				: ' style=&amp;quot;text-decoration:none; color: '
&lt;br&gt;+				. $calendar_theme['month_view_event_text_normal'] . '&amp;quot;') . '&amp;gt;';
&lt;br&gt;+
&lt;br&gt;+		$output .= $editLink.&amp;quot;&amp;lt;font size=\&amp;quot;-2\&amp;quot;&amp;gt;&amp;lt;b&amp;gt;&amp;quot;.$event-&amp;gt;getTitle().&amp;quot;&amp;lt;/b&amp;gt; - &amp;quot;;
&lt;br&gt;+						
&lt;br&gt;+		if($event-&amp;gt;isAllDay())
&lt;br&gt;+		{
&lt;br&gt;+			$output .= &amp;quot;all Day&amp;quot;;
&lt;br&gt;+		}
&lt;br&gt;+		else
&lt;br&gt;+		{
&lt;br&gt;+			if($event-&amp;gt;getStartDateTime() &amp;lt; mktime(0, 0, 0, $month, $day, $year))
&lt;br&gt;+				$output .= &amp;quot;from Yesterday&amp;quot;;
&lt;br&gt;+			else
&lt;br&gt;+				$output .= date($hourFormat,$event-&amp;gt;getStartDateTime());
&lt;br&gt;+
&lt;br&gt;+			if($event-&amp;gt;getEndDateTime() &amp;gt; mktime(23, 59, 0, $month, $day, $year))
&lt;br&gt;+				$output .= &amp;quot; to Tomorrow&amp;quot;;
&lt;br&gt;+			else
&lt;br&gt;+				$output .= &amp;quot; to &amp;quot;.date($hourFormat,$event-&amp;gt;getEndDateTime());
&lt;br&gt;+		}
&lt;br&gt;+
&lt;br&gt;+		$output .= &amp;quot;	&amp;lt;/a&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;/tr&amp;gt;\n&amp;lt;/td&amp;gt;\n&amp;quot;;
&lt;br&gt;+	}
&lt;br&gt;+	
&lt;br&gt;+	$output .= &amp;quot;&amp;lt;/table&amp;gt;\n&amp;quot;;
&lt;br&gt;+			 &amp;nbsp; 
&lt;br&gt;+	return $output;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+function eventDivStream(&amp;$event, $eventLength, $year, $month, $day)
&lt;br&gt;+{
&lt;br&gt;+	$hourFormat = ($hour_format == SMPREF_TIME_24HR ? 'H:i':'h:ia');
&lt;br&gt;+
&lt;br&gt;+	$output = &amp;quot;&amp;lt;font size=\&amp;quot;-2\&amp;quot;&amp;gt;&amp;quot;;
&lt;br&gt;+	
&lt;br&gt;+	$cal = $event-&amp;gt;getParentCalendars();
&lt;br&gt;+	
&lt;br&gt;+	if(empty($cal))
&lt;br&gt;+		$cal = &amp;quot;personal&amp;quot;;
&lt;br&gt;+	else
&lt;br&gt;+		$cal = $cal[0];	
&lt;br&gt;+		
&lt;br&gt;+	$editLink = '&amp;lt;a href=&amp;quot;event_manage.php?calID=' . urlencode($cal)
&lt;br&gt;+				. &amp;quot;&amp;year=.$year&amp;month=$month&amp;day=$day&amp;eventID=&amp;quot;
&lt;br&gt;+				. $event-&amp;gt;getID()
&lt;br&gt;+				. '&amp;calAction=' . SM_CAL_EVENT_ACTION_EDIT . '&amp;quot;'
&lt;br&gt;+				. (($event-&amp;gt;getPriority() &amp;lt;= $highlight_threshold)
&lt;br&gt;+				? ' style=&amp;quot;text-decoration:none; color: '
&lt;br&gt;+				. $calendar_theme['month_view_event_text_urgent'] . '&amp;quot;'
&lt;br&gt;+				: ' style=&amp;quot;text-decoration:none; color: '
&lt;br&gt;+				. $event-&amp;gt;getColorContrast() . '&amp;quot;') . '&amp;gt;';
&lt;br&gt;+
&lt;br&gt;+	$output .= $editLink;
&lt;br&gt;+
&lt;br&gt;+	if($event-&amp;gt;getStartDateTime() &amp;lt; mktime(0, 0, 0, $month, $day, $year))
&lt;br&gt;+		$output .= &amp;quot;from Yesterday&amp;quot;;
&lt;br&gt;+	else
&lt;br&gt;+		$output .= date($hourFormat,$event-&amp;gt;getStartDateTime());
&lt;br&gt;+
&lt;br&gt;+	if($event-&amp;gt;getEndDateTime() &amp;gt; mktime(23, 59, 0, $month, $day, $year))
&lt;br&gt;+		$output .= &amp;quot; to Tomorrow&amp;quot;;
&lt;br&gt;+	else
&lt;br&gt;+		$output .= &amp;quot; to &amp;quot;.date($hourFormat,$event-&amp;gt;getEndDateTime());
&lt;br&gt;+
&lt;br&gt;+	$output .=&amp;quot;&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;&amp;quot;.$event-&amp;gt;getTitle().&amp;quot;&amp;lt;/a&amp;gt;&amp;lt;/font&amp;gt; &amp;lt;/b&amp;gt;&amp;quot;;
&lt;br&gt;+	
&lt;br&gt;+	return $output;
&lt;br&gt;+}
&lt;br&gt;Index: interface/add_new_personal_calendar.php
&lt;br&gt;===================================================================
&lt;br&gt;--- interface/add_new_personal_calendar.php	(revision 1)
&lt;br&gt;+++ interface/add_new_personal_calendar.php	(revision 12)
&lt;br&gt;@@ -54,6 +54,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. &amp;quot;&amp;lt;table width=\&amp;quot;100%\&amp;quot; align=\&amp;quot;center\&amp;quot; bgcolor=\&amp;quot;$color[4]\&amp;quot;&amp;gt;\n&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. &amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td align=\&amp;quot;right\&amp;quot;&amp;gt;&amp;quot; . _(&amp;quot;Name&amp;quot;) . ':&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;calName&amp;quot; value=&amp;quot;' . $calName . '&amp;quot;&amp;gt;'
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;. &amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td align=\&amp;quot;right\&amp;quot;&amp;gt;&amp;quot; . _(&amp;quot;Color &amp;quot;) . ':&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;#&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;calColor&amp;quot; value=&amp;quot;' . $calColor . '&amp;quot;&amp;gt;'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. &amp;quot;&amp;lt;/td&amp;gt;\n&amp;lt;td align=\&amp;quot;right\&amp;quot;&amp;gt;&amp;lt;input type=\&amp;quot;submit\&amp;quot; value=\&amp;quot;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. _(&amp;quot;Create&amp;quot;) . &amp;quot;\&amp;quot;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -68,8 +69,9 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. &amp;quot;&amp;lt;/table&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. &amp;quot;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td height='100%' valign='bottom'&amp;gt;\n&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. &amp;quot;&amp;lt;/td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;/form&amp;gt;\n&amp;quot;;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;+	include_once(SM_PATH . 'plugins/calendar/interface/color.php');
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-
&lt;br&gt;&amp;nbsp; &amp;nbsp; sq_change_text_domain('squirrelmail');
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;Index: interface/calendar.php
&lt;br&gt;===================================================================
&lt;br&gt;--- interface/calendar.php	(revision 1)
&lt;br&gt;+++ interface/calendar.php	(revision 12)
&lt;br&gt;@@ -39,18 +39,22 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. html_tag('tr') . &amp;quot;\n&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. html_tag('td', '', 'left') . &amp;quot;\n&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; displayInternalLink(&amp;quot;plugins/calendar/year.php?year=$year&amp;amp;month=$month&amp;amp;day=$day&amp;amp;calID=&amp;quot; . urlencode($calendar-&amp;gt;getID()) . '&amp;amp;overlay=' . $current_overlays . &amp;quot;#month$month&amp;quot;, _(&amp;quot;Year View&amp;quot;));
&lt;br&gt;+ &amp;nbsp; displayInternalLink(&amp;quot;plugins/calendar/year.php?year=$year&amp;amp;month=$month&amp;amp;day=$day&amp;amp;calID=&amp;quot; . urlencode($calendar-&amp;gt;getID()) . '&amp;amp;overlay=' . $current_overlays . &amp;quot;#month$month&amp;quot;, _(&amp;quot;Year&amp;quot;));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; echo &amp;quot;&amp;nbsp;&amp;nbsp\n&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; displayInternalLink(&amp;quot;plugins/calendar/month.php?year=$year&amp;amp;month=$month&amp;amp;day=$day&amp;amp;calID=&amp;quot; . urlencode($calendar-&amp;gt;getID()) . '&amp;amp;overlay=' . $current_overlays, _(&amp;quot;Month View&amp;quot;));
&lt;br&gt;+ &amp;nbsp; displayInternalLink(&amp;quot;plugins/calendar/month.php?year=$year&amp;amp;month=$month&amp;amp;day=$day&amp;amp;calID=&amp;quot; . urlencode($calendar-&amp;gt;getID()) . '&amp;amp;overlay=' . $current_overlays, _(&amp;quot;Month&amp;quot;));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; echo &amp;quot;&amp;nbsp;&amp;nbsp\n&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;- &amp;nbsp; displayInternalLink(&amp;quot;plugins/calendar/day.php?year=$year&amp;amp;month=$month&amp;amp;day=$day&amp;amp;calID=&amp;quot; . urlencode($calendar-&amp;gt;getID()) . '&amp;amp;overlay=' . $current_overlays, _(&amp;quot;Day View&amp;quot;));
&lt;br&gt;+ &amp;nbsp; displayInternalLink(&amp;quot;plugins/calendar/week.php?year=$year&amp;amp;month=$month&amp;amp;day=$day&amp;amp;calID=&amp;quot; . urlencode($calendar-&amp;gt;getID()) . '&amp;amp;overlay=' . $current_overlays, _(&amp;quot;Week&amp;quot;));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; echo &amp;quot;&amp;nbsp;&amp;nbsp\n&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp; displayInternalLink(&amp;quot;plugins/calendar/day.php?year=$year&amp;amp;month=$month&amp;amp;day=$day&amp;amp;calID=&amp;quot; . urlencode($calendar-&amp;gt;getID()) . '&amp;amp;overlay=' . $current_overlays, _(&amp;quot;Day&amp;quot;));
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; echo &amp;quot;&amp;nbsp;&amp;nbsp\n&amp;quot;;
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; // displayInternalLink(&amp;quot;plugins/calendar/event_create.php?year=$year&amp;amp;month=$month&amp;amp;day=$day&amp;quot;, _(&amp;quot;Add Event&amp;quot;), 'right');
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; // echo &amp;quot;&amp;nbsp;&amp;nbsp\n&amp;quot;;
&lt;br&gt;Index: interface/edit_calendar.php
&lt;br&gt;===================================================================
&lt;br&gt;--- interface/edit_calendar.php	(revision 1)
&lt;br&gt;+++ interface/edit_calendar.php	(revision 12)
&lt;br&gt;@@ -54,6 +54,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. &amp;quot;&amp;lt;table width=\&amp;quot;100%\&amp;quot; align=\&amp;quot;center\&amp;quot; bgcolor=\&amp;quot;$color[4]\&amp;quot;&amp;gt;\n&amp;quot;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. &amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td align=\&amp;quot;right\&amp;quot;&amp;gt;&amp;quot; . _(&amp;quot;Name&amp;quot;) . ':&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;calName&amp;quot; value=&amp;quot;' . $calendar-&amp;gt;getName() . '&amp;quot;&amp;gt;'
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;. &amp;quot;&amp;lt;tr&amp;gt;&amp;lt;td align=\&amp;quot;right\&amp;quot;&amp;gt;&amp;quot; . _(&amp;quot;Color&amp;quot;) . ':&amp;lt;/td&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;calColor&amp;quot; value=&amp;quot;' . $calendar-&amp;gt;getColor() . '&amp;quot;&amp;gt;'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. &amp;quot;&amp;lt;/td&amp;gt;\n&amp;lt;td align=\&amp;quot;right\&amp;quot;&amp;gt;&amp;lt;input type=\&amp;quot;submit\&amp;quot; value=\&amp;quot;&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. _(&amp;quot;Save&amp;quot;) . &amp;quot;\&amp;quot;&amp;gt;&amp;nbsp;&amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Index: interface/event.php
&lt;br&gt;===================================================================
&lt;br&gt;--- interface/event.php	(revision 1)
&lt;br&gt;+++ interface/event.php	(revision 12)
&lt;br&gt;@@ -63,7 +63,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; $eventName = '';
&lt;br&gt;&amp;nbsp; &amp;nbsp; $eventLocation = '';
&lt;br&gt;&amp;nbsp; &amp;nbsp; $reminderTime = 0;
&lt;br&gt;- &amp;nbsp; $reminderOn = FALSE;
&lt;br&gt;+ &amp;nbsp; $enableReminder = FALSE;
&lt;br&gt;&amp;nbsp; &amp;nbsp; $eventContent = '';
&lt;br&gt;&amp;nbsp; &amp;nbsp; $recurrenceType = FALSE;
&lt;br&gt;&amp;nbsp; &amp;nbsp; $recurrenceInterval = 1;
&lt;br&gt;@@ -110,10 +110,10 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$eventContent = cal_encode_output($event-&amp;gt;getDescription(), FALSE); 
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;//TODO: reminder/alarm...
&lt;br&gt;-$reminderMinutes = FALSE;
&lt;br&gt;+//$reminderMinutes = FALSE;
&lt;br&gt;&amp;nbsp;//// &amp;nbsp; &amp;nbsp; &amp;nbsp;$reminderMinutes = $event-&amp;gt;getReminderMinutes();
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;$reminderTime = ($reminderMinutes === FALSE ? 0 : $reminderMinutes);
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;$reminderOn = ($reminderMinutes !== FALSE);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;$reminderTime = $event-&amp;gt;getReminderTime();//($reminderMinutes === FALSE ? 0 : $reminderMinutes);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;$enableReminder = $event-&amp;gt;isReminderEnabled();//($reminderMinutes !== FALSE);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// FALSE if not recurring, otherwise a value from $RECURRENCE_TYPES constant
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//
&lt;br&gt;@@ -462,13 +462,13 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; //
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. html_tag('tr')
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. html_tag('td', 
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'&amp;lt;input DISABLED type=&amp;quot;checkbox&amp;quot; name=&amp;quot;enableReminder&amp;quot; value=&amp;quot;1&amp;quot; id=&amp;quot;enableReminder&amp;quot; '
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;. ($reminderOn ? ' CHECKED' : '') . ' /&amp;gt;',
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'&amp;lt;input type=&amp;quot;checkbox&amp;quot; name=&amp;quot;enableReminder&amp;quot; value=&amp;quot;YES&amp;quot; id=&amp;quot;enableReminder&amp;quot; '
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;. ($enableReminder ? ' CHECKED' : '') . ' /&amp;gt;',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'right', $color[4])
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. html_tag('td', '&amp;lt;label for=&amp;quot;enableReminder&amp;quot;&amp;gt;' . _(&amp;quot;Reminder:&amp;quot;) . '&amp;lt;/label&amp;gt;',
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'right', $color[4]) . &amp;quot;\n&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. html_tag('td', '', 'left', $color[4])
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;. &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;select DISABLED name=\&amp;quot;reminderTime\&amp;quot;&amp;gt;\n&amp;quot;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;. &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;select name=\&amp;quot;reminderTime\&amp;quot;&amp;gt;\n&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. select_option_length($reminderTime)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/select&amp;gt;\n&amp;quot;
&lt;br&gt;&amp;nbsp;/*
&lt;br&gt;@@ -607,10 +607,10 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; $eventContent = cal_encode_output($event-&amp;gt;getDescription(), FALSE);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;//TODO: reminder/alarm...
&lt;br&gt;-$reminderMinutes = FALSE;
&lt;br&gt;+//$reminderMinutes = FALSE;
&lt;br&gt;&amp;nbsp;//// &amp;nbsp; &amp;nbsp; &amp;nbsp;$reminderMinutes = $event-&amp;gt;getReminderMinutes();
&lt;br&gt;- &amp;nbsp; $reminderTime = ($reminderMinutes === FALSE ? 0 : $reminderMinutes);
&lt;br&gt;- &amp;nbsp; $reminderOn = ($reminderMinutes !== FALSE);
&lt;br&gt;+ &amp;nbsp; $reminderTime = $event-&amp;gt;getReminderTime();//($reminderMinutes === FALSE ? 0 : $reminderMinutes);
&lt;br&gt;+ &amp;nbsp; $enableReminder = $event-&amp;gt;isReminderEnabled();//($reminderMinutes !== FALSE);
&lt;br&gt;&amp;nbsp; &amp;nbsp; $reminderHTML = select_option_length($reminderTime);
&lt;br&gt;&amp;nbsp; &amp;nbsp; if (strpos($reminderHTML, 'selected') === FALSE)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$reminderText = 'Zero minutes';
&lt;br&gt;@@ -619,7 +619,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;preg_match('/&amp;lt;option value=&amp;quot;\d+&amp;quot; selected&amp;gt;(.+)&amp;lt;\/option&amp;gt;/', $reminderHTML, $matches);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$reminderText = $matches[1];
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;- &amp;nbsp; if ($reminderOn)
&lt;br&gt;+ &amp;nbsp; if ($enableReminder)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$reminderText .= ' ' . _(&amp;quot;before event start&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$reminderText = _(&amp;quot;Reminder not set&amp;quot;);
&lt;br&gt;Index: interface/calendar_options.php
&lt;br&gt;===================================================================
&lt;br&gt;--- interface/calendar_options.php	(revision 1)
&lt;br&gt;+++ interface/calendar_options.php	(revision 12)
&lt;br&gt;@@ -343,7 +343,17 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;. '&amp;lt;/select&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;';
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+	echo '&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;right&amp;quot; nowrap&amp;gt;' . _(&amp;quot;Show Sunday/Saturday:&amp;quot;)
&lt;br&gt;+		.'&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;select name=&amp;quot;calendar_week_satsun&amp;quot;&amp;gt;'
&lt;br&gt;+		.'&amp;lt;option value=&amp;quot;0&amp;quot;' . ($calendar_week_satsun == 0 ? ' selected=&amp;quot;selected&amp;quot;' : '') . '&amp;gt;' . _(&amp;quot;None&amp;quot;) . '&amp;lt;/option&amp;gt;'
&lt;br&gt;+		.'&amp;lt;option value=&amp;quot;0&amp;quot;' . ($calendar_week_satsun == 1 ? ' selected=&amp;quot;selected&amp;quot;' : '') . '&amp;gt;' . _(&amp;quot;Only Saturday&amp;quot;) . '&amp;lt;/option&amp;gt;'
&lt;br&gt;+		.'&amp;lt;option value=&amp;quot;0&amp;quot;' . ($calendar_week_satsun == 2 ? ' selected=&amp;quot;selected&amp;quot;' : '') . '&amp;gt;' . _(&amp;quot;Also Sunday&amp;quot;) . '&amp;lt;/option&amp;gt;'
&lt;br&gt;+		. '&amp;lt;/select&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;';
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; // small calendar prefs
&lt;br&gt;&amp;nbsp; &amp;nbsp; //
&lt;br&gt;&amp;nbsp; &amp;nbsp; if ($allow_small_calendar)
&lt;br&gt;Index: interface/list_calendars.php
&lt;br&gt;===================================================================
&lt;br&gt;--- interface/list_calendars.php	(revision 1)
&lt;br&gt;+++ interface/list_calendars.php	(revision 12)
&lt;br&gt;@@ -72,7 +72,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;echo '&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; . '&amp;lt;input type=&amp;quot;checkbox&amp;quot; name=&amp;quot;overlayIDs[]&amp;quot; value=&amp;quot;' . urlencode($calendar-&amp;gt;getID()) . '&amp;quot; /&amp;gt;'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; . &amp;quot;&amp;lt;/td&amp;gt;\n&amp;quot;
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; . &amp;quot;&amp;lt;td align=\&amp;quot;left\&amp;quot; nowrap&amp;gt;&amp;lt;a href=\&amp;quot;month.php?calID=&amp;quot; . $calendar-&amp;gt;getID() 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; . &amp;quot;&amp;lt;td align=\&amp;quot;left\&amp;quot; nowrap bgcolor=\&amp;quot;#&amp;quot;.$calendar-&amp;gt;getColor().&amp;quot;\&amp;quot;&amp;gt;&amp;lt;a href=\&amp;quot;week.php?calID=&amp;quot; . $calendar-&amp;gt;getID() 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; . &amp;quot;\&amp;quot;&amp;gt;&amp;quot; . htmlspecialchars($calendar-&amp;gt;getName()) . &amp;quot;&amp;lt;/a&amp;gt;&amp;quot;;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ($calendar-&amp;gt;isExternal() || $calendar-&amp;gt;getCalendarType() == SM_CAL_TYPE_PERSONAL)
&lt;br&gt;Index: TODO
&lt;br&gt;===================================================================
&lt;br&gt;--- TODO	(revision 0)
&lt;br&gt;+++ TODO	(revision 12)
&lt;br&gt;@@ -0,0 +1,20 @@
&lt;br&gt;+TODO for WEEK View:
&lt;br&gt;+
&lt;br&gt;+x Allow multiple hour division -&amp;gt; each of it has different event length
&lt;br&gt;+x Some problems with LateNight events, or almost LateNight
&lt;br&gt;+x use echo more often / echo logical blocks
&lt;br&gt;+x Add &amp;hour= &amp;minute=field, when clicking free hour
&lt;br&gt;+- Finish right &amp;quot;Quick Add&amp;quot; menu
&lt;br&gt;+x Today's column color should be different
&lt;br&gt;+x Events color (contrast)
&lt;br&gt;+- Quick Add should redirect on week (or previous) view
&lt;br&gt;+x Single day title clickable
&lt;br&gt;+x AM/PM vs 0-24h
&lt;br&gt;+- Choose to include or not Sunday
&lt;br&gt;+x Week starts on Sunday/Monday
&lt;br&gt;+- New configuration menu, with new entries
&lt;br&gt;+- &amp;quot;Add new calendar&amp;quot; and &amp;quot;Edit (calendar)&amp;quot; should be the same .php file
&lt;br&gt;+x Random color to calendar, if it not exists
&lt;br&gt;+- Reminder support
&lt;br&gt;+- If event is Urgent, add icon (or sth visual)
&lt;br&gt;+- Single function for links
&lt;br&gt;Index: list_calendars.php
&lt;br&gt;===================================================================
&lt;br&gt;--- list_calendars.php	(revision 1)
&lt;br&gt;+++ list_calendars.php	(revision 12)
&lt;br&gt;@@ -364,12 +364,15 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; sqgetGlobalVar('calName', $calName, SQ_FORM);
&lt;br&gt;&amp;nbsp; &amp;nbsp; $calName = trim($calName);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp; sqgetGlobalVar('calColor', $calColor, SQ_FORM);
&lt;br&gt;+ &amp;nbsp; $calColor = trim($calColor);
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; if (!empty($calName))
&lt;br&gt;&amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// create new empty calendar
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp;$cal = new Calendar('', 0, '', '', SM_CAL_TYPE_PERSONAL, $calName, 
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;$cal = new Calendar('', 0, '', '', SM_CAL_TYPE_PERSONAL, $calName, $calColor,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$username, gmdate('Ymd\THis\Z'), '', '', 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;array($username), array(), array(), array(),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'', '', $overlayIDs);
&lt;br&gt;@@ -406,7 +409,12 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (!empty($calName))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $cal-&amp;gt;setName($calName);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;sqgetGlobalVar('calColor', $calColor, SQ_FORM);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;$calColor = trim($calColor);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp;if (!empty($calColor))
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $cal-&amp;gt;setColor($calColor);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ($cal-&amp;gt;isExternal())
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26422703&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;shared_calendars-2.1beta6-1.2.7.tar.gz&lt;/strong&gt; (424K) &lt;a href=&quot;http://old.nabble.com/attachment/26422703/0/shared_calendars-2.1beta6-1.2.7.tar.gz&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;shared_calendars_weekview.tar.gz&lt;/strong&gt; (882K) &lt;a href=&quot;http://old.nabble.com/attachment/26422703/1/shared_calendars_weekview.tar.gz&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Week-View---Shared-Calendar-tp26422703p26422703.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26391020</id>
	<title>Re: avelsieve 1.9.7. - imap proxy &amp; multiple imap backends</title>
	<published>2009-11-17T06:31:35Z</published>
	<updated>2009-11-17T06:31:35Z</updated>
	<author>
		<name>Alexandros Vellis</name>
	</author>
	<content type="html">On Tue, 17 Nov 2009 06:12:23 -0800
&lt;br&gt;Paul Lesniewski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26391020&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;paul@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; See the Multilogin and Login Manager plugins, both of which
&lt;br&gt;&amp;gt; can change the IMAP server address dynamically. &amp;nbsp;In fact, an LDAP
&lt;br&gt;&amp;gt; lookup from withing the Login Manager plugin would probably be the
&lt;br&gt;&amp;gt; best way to do this.
&lt;br&gt;&lt;br&gt;Thanks Paul, I wasn't aware of these plugins and I'm sure they are
&lt;br&gt;better suited for the job.
&lt;br&gt;&lt;br&gt;Alexandros
&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26391020&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/avelsieve-1.9.7.---imap-proxy---multiple-imap-backends-tp26386192p26391020.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26390735</id>
	<title>Re: avelsieve 1.9.7. - imap proxy &amp; multiple imap backends</title>
	<published>2009-11-17T06:12:23Z</published>
	<updated>2009-11-17T06:12:23Z</updated>
	<author>
		<name>Paul Lesniewski</name>
	</author>
	<content type="html">On Tue, Nov 17, 2009 at 3:00 AM, Alexandros Vellis &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26390735&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;avel@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; On Mon, 16 Nov 2009 15:57:04 +0100 (CET)
&lt;br&gt;&amp;gt; Raúl Aldaz &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26390735&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;raul.aldaz@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; We proxy imap with nginx. It checks user's &amp;quot;mailhost&amp;quot; ldap attribute
&lt;br&gt;&amp;gt;&amp;gt; to locate actual imap server. avelsieve must do the same. This ugly
&lt;br&gt;&amp;gt;&amp;gt; hack provides this
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As an alternative, you could do a similar hack directly in Squirrelmail.
&lt;br&gt;&lt;br&gt;This should be done without hacks. &amp;nbsp;You can accomplish this as a plugin.
&lt;br&gt;&lt;br&gt;&amp;gt; Use ldapquery plugin or ldapuserdata[1] plugin as a starting point.
&lt;br&gt;&amp;gt; Then hack them to make Squirrelmail login to the correct imap mail
&lt;br&gt;&amp;gt; server upon login, probably via a hook from redirect.php. The global
&lt;br&gt;&amp;gt; variable $imapServerAddress should be saved in the session and reused
&lt;br&gt;&amp;gt; after login.
&lt;br&gt;&lt;br&gt;Right. &amp;nbsp;See the Multilogin and Login Manager plugins, both of which
&lt;br&gt;can change the IMAP server address dynamically. &amp;nbsp;In fact, an LDAP
&lt;br&gt;lookup from withing the Login Manager plugin would probably be the
&lt;br&gt;best way to do this.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Then, avelsieve won't need any further changes as it will pick up the
&lt;br&gt;&amp;gt; correct IMAP server to use from Squirrelmail.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Additionally, this will remove the need for using a proxy for
&lt;br&gt;&amp;gt; Squirrelmail, as it will be smart enough to connect to the correct
&lt;br&gt;&amp;gt; server.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; (Irrelevant story: In the past I had even hacked the Squirrelmail dev
&lt;br&gt;&amp;gt; tree to connect via IMAP referrals to *multiple* imap servers in the
&lt;br&gt;&amp;gt; same session (different servers per folder), in a standard way, to a
&lt;br&gt;&amp;gt; Cyrus Murder setup. But this makes for a somewhat more complicated
&lt;br&gt;&amp;gt; server setup than one done with IMAP proxies.)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Alexandros
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [1]  &lt;a href=&quot;http://email.uoa.gr/projects/squirrelmail/ldapuserdata.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://email.uoa.gr/projects/squirrelmail/ldapuserdata.php&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
&lt;br&gt;&amp;gt; trial. Simplify your report design, integration and deployment - and focus on
&lt;br&gt;&amp;gt; what you do best, core application coding. Discover what's new with
&lt;br&gt;&amp;gt; Crystal Reports now.  &lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;&amp;gt; -----
&lt;br&gt;&amp;gt; squirrelmail-plugins mailing list
&lt;br&gt;&amp;gt; Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;&amp;gt; List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26390735&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;&amp;gt; List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;&amp;gt; List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Paul Lesniewski
&lt;br&gt;SquirrelMail Team
&lt;br&gt;Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/donate_paul_lesniewski.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donate_paul_lesniewski.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26390735&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/avelsieve-1.9.7.---imap-proxy---multiple-imap-backends-tp26386192p26390735.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26388105</id>
	<title>Re: avelsieve 1.9.7. - imap proxy &amp; multiple imap backends</title>
	<published>2009-11-17T03:00:48Z</published>
	<updated>2009-11-17T03:00:48Z</updated>
	<author>
		<name>Alexandros Vellis</name>
	</author>
	<content type="html">On Mon, 16 Nov 2009 15:57:04 +0100 (CET)
&lt;br&gt;Raúl Aldaz &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26388105&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;raul.aldaz@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; We proxy imap with nginx. It checks user's &amp;quot;mailhost&amp;quot; ldap attribute
&lt;br&gt;&amp;gt; to locate actual imap server. avelsieve must do the same. This ugly
&lt;br&gt;&amp;gt; hack provides this
&lt;br&gt;&lt;br&gt;As an alternative, you could do a similar hack directly in Squirrelmail.
&lt;br&gt;&lt;br&gt;Use ldapquery plugin or ldapuserdata[1] plugin as a starting point.
&lt;br&gt;Then hack them to make Squirrelmail login to the correct imap mail
&lt;br&gt;server upon login, probably via a hook from redirect.php. The global
&lt;br&gt;variable $imapServerAddress should be saved in the session and reused
&lt;br&gt;after login. 
&lt;br&gt;&lt;br&gt;Then, avelsieve won't need any further changes as it will pick up the
&lt;br&gt;correct IMAP server to use from Squirrelmail.
&lt;br&gt;&lt;br&gt;Additionally, this will remove the need for using a proxy for
&lt;br&gt;Squirrelmail, as it will be smart enough to connect to the correct
&lt;br&gt;server. 
&lt;br&gt;&lt;br&gt;(Irrelevant story: In the past I had even hacked the Squirrelmail dev
&lt;br&gt;tree to connect via IMAP referrals to *multiple* imap servers in the
&lt;br&gt;same session (different servers per folder), in a standard way, to a
&lt;br&gt;Cyrus Murder setup. But this makes for a somewhat more complicated
&lt;br&gt;server setup than one done with IMAP proxies.)
&lt;br&gt;&lt;br&gt;Alexandros
&lt;br&gt;&lt;br&gt;[1] &amp;nbsp;&lt;a href=&quot;http://email.uoa.gr/projects/squirrelmail/ldapuserdata.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://email.uoa.gr/projects/squirrelmail/ldapuserdata.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26388105&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/avelsieve-1.9.7.---imap-proxy---multiple-imap-backends-tp26386192p26388105.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26386039</id>
	<title>Re: Plesk Mail Alias</title>
	<published>2009-11-17T00:19:04Z</published>
	<updated>2009-11-17T00:19:04Z</updated>
	<author>
		<name>Fredrik Jervfors-4</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt;&amp;gt;&amp;gt; I have recently migrated my web server to a CentOS box with Plesk.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; In my previous configuration, the username and email address didn't
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; match:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; username: yjk00
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26386039&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;johndoe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; In Plesk, both must be equal. Therefore, in order to keep the system
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; compatible with the configuration of the email clients I added an
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; alias for every account:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; email/username: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26386039&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yjk00@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; alias: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26386039&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;johndoe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Email clients works fine, the problem now is Squirrelmail. Users
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; can't log into webmail if they don't know their username, but even if
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; they do, emails would be sent using the username, not the alias
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; (&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26386039&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yjk00@...&lt;/a&gt; instead of &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26386039&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;johndoe@...&lt;/a&gt;). I want to know if
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; there's a plugin (or any other mean) to: a) Configure squirrelmail to
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; use certain alias by default for every user. b) if possible, login
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; using an alias instead of an username, and I mean Plesk alias, which
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; are already defined in a database, not user-defined alias.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Have you tried this one:
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://squirrelmail.org/plugin_view.php?id=37&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/plugin_view.php?id=37&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Login Aliases was the first plugin I tried. However, I failed to find a
&lt;br&gt;&amp;gt; way to add aliases automatically (with an script, for example) instead of
&lt;br&gt;&amp;gt; requiring each user to go to options-&amp;gt;personal info and do it by
&lt;br&gt;&amp;gt; themselves.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; With the Login Aliases plugin:
&lt;br&gt;&amp;gt; -Where/how are the aliases stored in the HD?
&lt;br&gt;&amp;gt; -If an user loggs in using an alias, is that alias used by default to send
&lt;br&gt;&amp;gt; &amp;nbsp;emails?
&lt;/div&gt;&lt;br&gt;I haven't use this plugin myself, so I downloaded it and took a look at
&lt;br&gt;the code. The aliases seem to be stored in the file &amp;quot;login_alias.pref&amp;quot; in
&lt;br&gt;the data directory (check your SquirrelMail configuration to find it), so
&lt;br&gt;it should be possible to add aliases through a script. As far as I can
&lt;br&gt;tell (based on a two minute look at the code), the alias isn't used for
&lt;br&gt;anything but logging in.
&lt;br&gt;&lt;br&gt;Here's my suggestion: create a new user, log in as that user, change the
&lt;br&gt;preferences for that user, adding an alias, analyse the file
&lt;br&gt;&amp;quot;login_alias.pref&amp;quot; to see how the data is stored, then write a script
&lt;br&gt;matching that format and add aliases for all other users.
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fredrik Jervfors
&lt;br&gt;The SquirrelMail Project
&lt;br&gt;Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/donations.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donations.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26386039&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Plesk-Mail-Alias-tp26335478p26386039.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26383345</id>
	<title>Re: Courier Vacation/Compatibility Issue</title>
	<published>2009-11-16T18:14:08Z</published>
	<updated>2009-11-16T18:14:08Z</updated>
	<author>
		<name>Paul Lesniewski</name>
	</author>
	<content type="html">&amp;gt; As I research this further, the site states that the courier_vacation plugin
&lt;br&gt;&amp;gt; requires compatibility 1.x instead of 2.x which is what I am using and have
&lt;br&gt;&amp;gt; to use because of the change_sqlpass option.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I tried to update the top as suggested.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;?php
&lt;br&gt;&lt;br&gt;&amp;lt;snip&amp;gt;
&lt;br&gt;&lt;br&gt;I don't know what this is, since it looks like a combination of two
&lt;br&gt;different files. &amp;nbsp;If you patch stuff on your own, you're on your own.
&lt;br&gt;If you want to show what you've done, show a unified diff. &amp;nbsp;It might
&lt;br&gt;be easier if you just read what else it says about the Courier
&lt;br&gt;Vacation plugin.
&lt;br&gt;&lt;br&gt;&amp;gt; define('SM_PATH','../../');
&lt;br&gt;&amp;gt; require_once(SM_PATH . 'include/validate.php');
&lt;br&gt;&amp;gt; if (file_exists(SM_PATH . 'include/validate.php'))
&lt;br&gt;&amp;gt;    include_once(SM_PATH . 'include/validate.php');
&lt;br&gt;&amp;gt; else
&lt;br&gt;&amp;gt;    include_once(SM_PATH . 'src/validate.php');
&lt;br&gt;&lt;br&gt;....
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Paul Lesniewski
&lt;br&gt;SquirrelMail Team
&lt;br&gt;Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/donate_paul_lesniewski.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donate_paul_lesniewski.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26383345&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Courier-Vacation-Compatibility-Issue-tp26321611p26383345.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26383242</id>
	<title>Re: Plesk Mail Alias</title>
	<published>2009-11-16T18:05:38Z</published>
	<updated>2009-11-16T18:05:38Z</updated>
	<author>
		<name>mij</name>
	</author>
	<content type="html">&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Fredrik Jervfors-4 wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;&amp;gt; I have recently migrated my web server to a CentOS box with Plesk.
&lt;br&gt;&amp;gt; In my previous configuration, the username and email address didn't match:
&lt;br&gt;&amp;gt; username: yjk00
&lt;br&gt;&amp;gt; email: johndoe@example.com
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In Plesk, both must be equal. Therefore, in order to keep the system
&lt;br&gt;&amp;gt; compatible with the configuration of the email clients I added an alias
&lt;br&gt;&amp;gt; for every account:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; email/username: yjk00@example.com
&lt;br&gt;&amp;gt; alias: johndoe@example.com
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Email clients works fine, the problem now is Squirrelmail. Users can't
&lt;br&gt;&amp;gt; log into webmail if they don't know their username, but even if they do,
&lt;br&gt;&amp;gt; emails would be sent using the username, not the alias (yjk00@example.com
&lt;br&gt;&amp;gt; instead of johndoe@exapmle.com). I want to know if there's a plugin (or
&lt;br&gt;&amp;gt; any other mean) to: a) Configure squirrelmail to use certain alias by
&lt;br&gt;&amp;gt; default for every user. b) if possible, login using an alias instead of
&lt;br&gt;&amp;gt; an username, and I mean Plesk alias, which are already defined in a
&lt;br&gt;&amp;gt; database, not user-defined alias.
&lt;br&gt;&lt;br&gt;Have you tried this one:
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/plugin_view.php?id=37&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/plugin_view.php?id=37&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
Login Aliases was the first plugin I tried. However, I failed to find a way to add aliases automatically (with an script, for example) instead of requiring each user to go to options-&amp;gt;personal info and do it by themselves.
&lt;br&gt;&lt;br&gt;With the Login Aliases plugin:
&lt;br&gt;-Where/how are the aliases stored in the HD?
&lt;br&gt;-If an user loggs in using an alias, is that alias used by default to send emails?
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Plesk-Mail-Alias-tp26335478p26383242.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26380233</id>
	<title>Re: Bug Report</title>
	<published>2009-11-16T13:48:41Z</published>
	<updated>2009-11-16T13:48:41Z</updated>
	<author>
		<name>Fredrik Jervfors-4</name>
	</author>
	<content type="html">&amp;gt; This bug occurs when I try to use calendar I
&lt;br&gt;&amp;gt; cannot make any entries .
&lt;br&gt;&lt;br&gt;Enable error logging and analyse your logs. What do they say?
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/docs/admin/admin-12.html#errormessages&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/docs/admin/admin-12.html#errormessages&lt;/a&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; ----------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My
&lt;br&gt;&amp;gt; browser information: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT
&lt;br&gt;&amp;gt; 5.1; Trident/4.0; .NET CLR 1.1.4322)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My web server
&lt;br&gt;&amp;gt; information:
&lt;br&gt;&amp;gt; PHP Version 5.3.0alpha2
&lt;br&gt;&amp;gt; PHP Extensions (List)
&lt;br&gt;&amp;gt; * 0 = xmlwriter
&lt;br&gt;&amp;gt; * 1 = libxml
&lt;br&gt;&amp;gt; * 2 = dom
&lt;br&gt;&amp;gt; * 3 = xmlreader
&lt;br&gt;&amp;gt; * 4 = xml
&lt;br&gt;&amp;gt; * 5 = tokenizer
&lt;br&gt;&amp;gt; * 6 = session
&lt;br&gt;&amp;gt; * 7 = sqlite3
&lt;br&gt;&amp;gt; * 8 = pcre
&lt;br&gt;&amp;gt; * 9 = SimpleXML
&lt;br&gt;&amp;gt; * 10 = SPL
&lt;br&gt;&amp;gt; * 11 = PDO
&lt;br&gt;&amp;gt; * 12 = SQLite
&lt;br&gt;&amp;gt; * 13 = standard
&lt;br&gt;&amp;gt; * 14 = Reflection
&lt;br&gt;&amp;gt; * 15 = posix
&lt;br&gt;&amp;gt; * 16 = zlib
&lt;br&gt;&amp;gt; * 17 = pgsql
&lt;br&gt;&amp;gt; * 18 = pdo_sqlite
&lt;br&gt;&amp;gt; * 19 = mysql
&lt;br&gt;&amp;gt; * 20 = json
&lt;br&gt;&amp;gt; * 21 = iconv
&lt;br&gt;&amp;gt; * 22 = hash
&lt;br&gt;&amp;gt; * 23 = filter
&lt;br&gt;&amp;gt; * 24 = fileinfo
&lt;br&gt;&amp;gt; * 25 = date
&lt;br&gt;&amp;gt; * 26 = ctype
&lt;br&gt;&amp;gt; * 27 = Phar
&lt;br&gt;&amp;gt; * 28 = ereg
&lt;br&gt;&amp;gt; * 29 = apache2handler
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; SquirrelMail-specific information:
&lt;br&gt;&amp;gt; Version: 1.4.16
&lt;br&gt;&amp;gt; Plugins (List)
&lt;br&gt;&amp;gt; * 0 = abook_group
&lt;br&gt;&amp;gt; * 1 =&amp;gt; abook_take
&lt;br&gt;&amp;gt; * 2 = bookmarks
&lt;br&gt;&amp;gt; * 3 = bug_report
&lt;/div&gt;&lt;br&gt;Where's plugin #4, 7, 11, 12 etc? You might want to consider renumbering
&lt;br&gt;the list of active plugins.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; * 5 = compatibility
&lt;br&gt;&amp;gt; * 6 = delete_move_next
&lt;br&gt;&amp;gt; * 8 = fortune
&lt;br&gt;&amp;gt; * 9 = html_mail
&lt;br&gt;&amp;gt; * 10 = listcommands
&lt;br&gt;&amp;gt; * 13 = mail_fetch
&lt;br&gt;&amp;gt; * 14 = message_details
&lt;br&gt;&amp;gt; * 15 = msg_flags
&lt;br&gt;&amp;gt; * 16 = newmail
&lt;br&gt;&amp;gt; * 17 = notes
&lt;br&gt;&amp;gt; * 18 = preview_pane
&lt;br&gt;&amp;gt; * 19 = sent_subfolders
&lt;br&gt;&amp;gt; * 20 = show_user_and_ip
&lt;br&gt;&amp;gt; * 21 = smallcal
&lt;br&gt;&amp;gt; * 23 = squirrelspell
&lt;br&gt;&amp;gt; * 24 = tbaddr
&lt;br&gt;&amp;gt; * 26 = translate
&lt;br&gt;&amp;gt; * 27 = view_as_html
&lt;br&gt;&amp;gt; * 31 = unsafe_image_rules
&lt;br&gt;&amp;gt; * 32 = abook_import_export
&lt;br&gt;&amp;gt; * 33 = calendar_sql_backend
&lt;br&gt;&amp;gt; * 34 = calendar
&lt;/div&gt;&lt;br&gt;Plugin 21 is not needed if you have plugin 34. Test with all plugins
&lt;br&gt;diabled but &amp;quot;calendar&amp;quot; and &amp;quot;calendar_sql_backend&amp;quot; to see if it makes any
&lt;br&gt;difference.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; My IMAP server
&lt;br&gt;&amp;gt; information:
&lt;br&gt;&amp;gt; Server type: other
&lt;br&gt;&amp;gt; Server info: * OK [HIDDEN]
&lt;br&gt;&amp;gt; IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
&lt;br&gt;&amp;gt; THREAD=REFERENCES SORT QUOTA IDLE STARTTLS] Courier-IMAP ready. Copyright
&lt;br&gt;&amp;gt; 1998-2005 Double Precision, Inc. See COPYING for distribution information.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Capabilities: IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
&lt;br&gt;&amp;gt; THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE STARTTLS
&lt;/div&gt;&lt;br&gt;--
&lt;br&gt;Fredrik Jervfors
&lt;br&gt;The SquirrelMail Project
&lt;br&gt;Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/donations.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donations.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26380233&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-Report-tp26349610p26380233.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26380118</id>
	<title>Re: Plesk Mail Alias</title>
	<published>2009-11-16T13:41:29Z</published>
	<updated>2009-11-16T13:41:29Z</updated>
	<author>
		<name>Fredrik Jervfors-4</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; I have recently migrated my web server to a CentOS box with Plesk.
&lt;br&gt;&amp;gt; In my previous configuration, the username and email address didn't match:
&lt;br&gt;&amp;gt; username: yjk00
&lt;br&gt;&amp;gt; email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26380118&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;johndoe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In Plesk, both must be equal. Therefore, in order to keep the system
&lt;br&gt;&amp;gt; compatible with the configuration of the email clients I added an alias
&lt;br&gt;&amp;gt; for every account:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; email/username: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26380118&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yjk00@...&lt;/a&gt;
&lt;br&gt;&amp;gt; alias: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26380118&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;johndoe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Email clients works fine, the problem now is Squirrelmail. Users can't
&lt;br&gt;&amp;gt; log into webmail if they don't know their username, but even if they do,
&lt;br&gt;&amp;gt; emails would be sent using the username, not the alias (&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26380118&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;yjk00@...&lt;/a&gt;
&lt;br&gt;&amp;gt; instead of &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26380118&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;johndoe@...&lt;/a&gt;). I want to know if there's a plugin (or
&lt;br&gt;&amp;gt; any other mean) to: a) Configure squirrelmail to use certain alias by
&lt;br&gt;&amp;gt; default for every user.ç b) if possible, login using an alias instead of
&lt;br&gt;&amp;gt; an username, and I mean Plesk alias, which are already defined in a
&lt;br&gt;&amp;gt; database, not user-defined alias.
&lt;/div&gt;&lt;br&gt;Have you tried this one:
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/plugin_view.php?id=37&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/plugin_view.php?id=37&lt;/a&gt;&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Fredrik Jervfors
&lt;br&gt;The SquirrelMail Project
&lt;br&gt;Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/donations.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donations.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26380118&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Plesk-Mail-Alias-tp26335478p26380118.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26386192</id>
	<title>avelsieve 1.9.7. - imap proxy &amp; multiple imap backends</title>
	<published>2009-11-16T06:57:04Z</published>
	<updated>2009-11-16T06:57:04Z</updated>
	<author>
		<name>Raul Aldaz</name>
	</author>
	<content type="html">&lt;br&gt;We proxy imap with nginx. It checks user's &amp;quot;mailhost&amp;quot; ldap attribute to
&lt;br&gt;locate actual imap server. avelsieve must do the same. This ugly hack
&lt;br&gt;provides this (hope it helps):
&lt;br&gt;&lt;br&gt;&lt;br&gt;- diff -u config_sample.php config.php.new
&lt;br&gt;&lt;br&gt;--- config_sample.php &amp;nbsp; 2006-07-24 15:48:27.000000000 +0200
&lt;br&gt;+++ config.php.new &amp;nbsp; &amp;nbsp; &amp;nbsp;2009-11-16 15:55:43.000000000 +0100
&lt;br&gt;@@ -127,6 +127,11 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 'localhost' =&amp;gt; 'imap.example.org'
&lt;br&gt;&amp;nbsp;);
&lt;br&gt;&lt;br&gt;+global $avelsieve_ldapimapproxymode, $avelsieve_ldapimapproxyserv,
&lt;br&gt;$avelsieve_ldapbaseimapproxymode;
&lt;br&gt;+$avelsieve_ldapimapproxymode = true;
&lt;br&gt;+$avelsieve_ldapimapproxyserv = 'ldap.example.org';
&lt;br&gt;+$avelsieve_ldapbaseimapproxymode = 'ou=people,dc=example,dc=org';
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;/** @var boolean Ldapuserdata mode: Gets user's email addresses (including
&lt;br&gt;&amp;nbsp; * mailAlternate &amp; mailAuthorized) from LDAP Prefs Backend plugin's cache */
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;- diff -u DO_Sieve_ManageSieve.class.php DO_Sieve_ManageSieve.class.php.new
&lt;br&gt;&lt;br&gt;--- DO_Sieve_ManageSieve.class.php &amp;nbsp; &amp;nbsp; &amp;nbsp;2006-07-24 15:48:27.000000000 +0200
&lt;br&gt;+++ DO_Sieve_ManageSieve.class.php.new &amp;nbsp;2009-11-16 15:47:33.000000000 +0100
&lt;br&gt;@@ -46,7 +46,7 @@
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;global $imapServerAddress, $username, $avelsieve_imapproxymode,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$avelsieve_cyrusadmins_map, $sieveport,
&lt;br&gt;$sieve_preferred_sasl_mech,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$avelsieve_imapproxyserv;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$avelsieve_imapproxyserv, $avelsieve_ldapimapproxymode,
&lt;br&gt;$avelsieve_ldapimapproxyserv, $avelsieve_ldapbaseimapproxymode;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;sieveServerAddress = $imapServerAddress;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;sieveUsername = $username;
&lt;br&gt;@@ -68,7 +68,22 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ($avelsieve_imapproxymode == true) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* Need to do mapping so as to connect directly to server */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;sieveServerAddress =
&lt;br&gt;$avelsieve_imapproxyserv[$this-&amp;gt;sieveServerAddress];
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ($avelsieve_ldapimapproxymode == true) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $ldap = ldap_connect($avelsieve_ldapimapproxyserv);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap_set_option($ldap, LDAP_OPT_PROTOCOL_VERSION, 3);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $ldapbind = ldap_bind($ldap)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; or die(&amp;quot;ldapimapproxy: Unable to bind to LDAP server,
&lt;br&gt;contact your administrator&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $sr = ldap_search($ldap, $avelsieve_ldapbaseimapproxymode,
&lt;br&gt;&amp;quot;uid=$username&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $info = ldap_get_entries($ldap, $sr);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* $errormsg = sprintf( _(&amp;quot;info: %s\n&amp;quot;),
&lt;br&gt;$info[0][&amp;quot;mailhost&amp;quot;][0]);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print_errormsg($errormsg); */
&lt;br&gt;+
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $this-&amp;gt;sieveServerAddress = $info[0][&amp;quot;mailhost&amp;quot;][0];
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap_close($ldap);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;/**
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;- diff -u DO_Sieve_PearManageSieve.class.php
&lt;br&gt;&lt;br&gt;DO_Sieve_PearManageSieve.class.php.new
&lt;br&gt;--- DO_Sieve_PearManageSieve.class.php &amp;nbsp;2006-07-24 15:48:27.000000000 +0200
&lt;br&gt;+++ DO_Sieve_PearManageSieve.class.php.new &amp;nbsp; &amp;nbsp; &amp;nbsp;2009-11-16
&lt;br&gt;15:41:37.000000000 +0100
&lt;br&gt;@@ -46,7 +46,7 @@
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;global $imapServerAddress, $username, $avelsieve_imapproxymode,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$avelsieve_cyrusadmins_map, $sieveport,
&lt;br&gt;$sieve_preferred_sasl_mech,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$avelsieve_imapproxyserv;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$avelsieve_imapproxyserv, $avelsieve_ldapimapproxymode,
&lt;br&gt;$avelsieve_ldapimapproxyserv, $avelsieve_ldapbaseimapproxymode;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;sieveServerAddress = $imapServerAddress;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;sieveUsername = $username;
&lt;br&gt;@@ -65,10 +65,24 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;sieveServerAddress = sqimap_get_user_server
&lt;br&gt;($imapServerAddress, $username);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ($avelsieve_imapproxymode == true) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* Need to do mapping so as to connect directly to server */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;sieveServerAddress =
&lt;br&gt;$avelsieve_imapproxyserv[$this-&amp;gt;sieveServerAddress];
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;} else {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if ($avelsieve_ldapimapproxymode == true) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$ldap = ldap_connect($avelsieve_ldapimapproxyserv);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ldap_set_option($ldap, LDAP_OPT_PROTOCOL_VERSION, 3);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$ldapbind = ldap_bind($ldap)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;or die(&amp;quot;ldapimapproxy: Unable to bind to LDAP server,
&lt;br&gt;contact your administrator&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$sr = ldap_search($ldap,
&lt;br&gt;$avelsieve_ldapbaseimapproxymode, &amp;quot;uid=$username&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$info = ldap_get_entries($ldap, $sr);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$this-&amp;gt;sieveServerAddress = $info[0][&amp;quot;mailhost&amp;quot;][0];
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ldap_close($ldap);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;/**
&lt;br&gt;&lt;br&gt;&lt;br&gt;- diff -u managesieve_wrapper.inc.php managesieve_wrapper.inc.php.new
&lt;br&gt;&lt;br&gt;--- managesieve_wrapper.inc.php 2006-07-24 15:48:27.000000000 +0200
&lt;br&gt;+++ managesieve_wrapper.inc.php.new &amp;nbsp; &amp;nbsp; 2009-11-16 15:45:49.000000000 +0100
&lt;br&gt;@@ -42,7 +42,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sqgetGlobalVar('onetimepad', $onetimepad, SQ_SESSION);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sqgetGlobalVar('authz', $authz, SQ_SESSION);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;global $imapServerAddress, $username, $avelsieve_imapproxymode,
&lt;br&gt;$avelsieve_cyrusadmins_map, $sieveport,
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$avelsieve_imapproxyserv, $sieve_preferred_sasl_mech;
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$avelsieve_imapproxyserv, $sieve_preferred_sasl_mech,
&lt;br&gt;$avelsieve_ldapimapproxyserv, $avelsieve_ldapimapproxymode, 
&lt;br&gt;$avelsieve_ldapbaseimapproxymode;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* Need the cleartext password to login to timsieved */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $acctpass = OneTimePadDecrypt($key, $onetimepad);
&lt;br&gt;@@ -54,7 +54,20 @@
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ($avelsieve_imapproxymode == true) { /* Need to do
&lt;br&gt;mapping so as to connect directly to server */
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $imap_server =
&lt;br&gt;$avelsieve_imapproxyserv[$imap_server];
&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } else {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ($avelsieve_ldapimapproxymode == true) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $ldap =
&lt;br&gt;ldap_connect($avelsieve_ldapimapproxyserv);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap_set_option($ldap,
&lt;br&gt;LDAP_OPT_PROTOCOL_VERSION, 3);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $ldapbind = ldap_bind($ldap)
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; or die(&amp;quot;ldapimapproxy: Unable to
&lt;br&gt;bind to LDAP server, contact your administrator&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $sr = ldap_search($ldap,
&lt;br&gt;$avelsieve_ldapbaseimapproxymode, &amp;quot;uid=$username&amp;quot;);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $info = ldap_get_entries($ldap, $sr);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $imap_server = $info[0][&amp;quot;mailhost&amp;quot;][0];
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ldap_close($ldap);
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;+ &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(isset($authz)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(isset($avelsieve_cyrusadmins_map[$username])) {
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;quot;Este correo electronico y la informacion contenida en el mismo es de 
&lt;br&gt;&amp;nbsp;caracter confidencial y esta sometida al secreto profesional, dirigiendose
&lt;br&gt;&amp;nbsp;exclusivamente al destinatario mencionado en el encabezamiento, cuyos datos
&lt;br&gt;&amp;nbsp;forman parte de un fichero responsabilidad del GRUPO CARRERAS &amp;nbsp;y cuya
&lt;br&gt;&amp;nbsp;finalidad es contactar con el titular de los datos a traves del correo
&lt;br&gt;&amp;nbsp;electronico. Le informamos que cuenta con los derechos de acceso,
&lt;br&gt;&amp;nbsp;rectificacion y cancelacion que podra ejercitar &amp;nbsp;mediante el envio de un
&lt;br&gt;&amp;nbsp;correo electronico a la siguiente direccion: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26386192&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;calidad@...&lt;/a&gt;.
&lt;br&gt;&amp;nbsp;Si el receptor de la comunicacion fuera el destinatario, le
&lt;br&gt;&amp;nbsp;informamos que cualquier divulgacion, copia, &amp;nbsp;distribucion o utilizacion no
&lt;br&gt;&amp;nbsp;autorizada de la informacion contenida en la misma esta prohibida por la
&lt;br&gt;&amp;nbsp;legislacion vigente.&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a href=&quot;http://www.grupocarreras.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.grupocarreras.com&lt;/a&gt;&lt;br&gt;____________________________________________________________________________
&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26386192&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/avelsieve-1.9.7.---imap-proxy---multiple-imap-backends-tp26386192p26386192.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26372565</id>
	<title>Re: Courier Vacation/Compatibility Issue</title>
	<published>2009-11-16T06:08:04Z</published>
	<updated>2009-11-16T06:08:04Z</updated>
	<author>
		<name>Rob Serio</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
I am sorry about the html must have been the signature.&lt;br&gt;
&lt;br&gt;
As I research this further, the site states that the courier_vacation
plugin requires compatibility 1.x instead of 2.x which is what I am
using and have to use because of the change_sqlpass option.&lt;br&gt;
&lt;br&gt;
I tried to update the top as suggested.&lt;br&gt;
&lt;br&gt;
&amp;lt;?php&lt;br&gt;
&lt;br&gt;
define('SM_PATH','../../');&lt;br&gt;
require_once(SM_PATH . 'include/validate.php');&lt;br&gt;
if (file_exists(SM_PATH . 'include/validate.php'))&lt;br&gt;
&amp;nbsp;&amp;nbsp; include_once(SM_PATH . 'include/validate.php');&lt;br&gt;
else&lt;br&gt;
&amp;nbsp;&amp;nbsp; include_once(SM_PATH . 'src/validate.php');&lt;br&gt;
&lt;br&gt;
load_config('courier_vacation', array('config.php'));&lt;br&gt;
include_once(SM_PATH . 'plugins/courier_vacation/functions.php');&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; global $messageFileName, $subjectFileName, $ccAddressesFileName,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $keepMessagesFileName, $vacationMessageSubmit, $messageText,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $vacationStatus, $messageSubject, $ccAddresses, $keepMessages,&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $username, $data_dir, $color;&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; // get flag that tells us if this is a vacation&lt;br&gt;
&amp;nbsp;&amp;nbsp; // message submission&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp;&amp;nbsp; sqgetGlobalVar('vacationMessageSubmit', $vacationMessageSubmit);&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; // get the user's home directory&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; $homeDir = getHomeDirectory($username);&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; // if a message and other info was submitted, process it here&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp;&amp;nbsp; if (isset($vacationMessageSubmit) &amp;amp;&amp;amp; $vacationMessageSubmit
== 1)&lt;br&gt;
&amp;nbsp;&amp;nbsp; {&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqgetGlobalVar('messageText', $messageText);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqgetGlobalVar('vacationStatus', $vacationStatus);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqgetGlobalVar('messageSubject', $messageSubject);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqgetGlobalVar('ccAddresses', $ccAddresses);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sqgetGlobalVar('keepMessages', $keepMessages);&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp;&amp;nbsp; // file names...&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; // file in user's directory where vacation message text is kept&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp;&amp;nbsp; $messageFileName = 'vacation.txt';&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; // file in user's directory where vacation message subject is kept&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp;&amp;nbsp; $subjectFileName = 'vacation_subject.txt';&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; // file in user's directory where cc addresses are kept&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp;&amp;nbsp; $ccAddressesFileName = 'vacation_cc_addresses.txt';&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; // file in user's directory that serves as a flag that messages&lt;br&gt;
&amp;nbsp;&amp;nbsp; // should be retained in the local account as well as forwarding
copies...&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp;&amp;nbsp; $keepMessagesFileName = 'vacation_keep_messages.txt';&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp;&amp;nbsp; // backend settings&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; // this setting determines where your user settings are&lt;br&gt;
&amp;nbsp;&amp;nbsp; // stored.&amp;nbsp; currently, only MySQL is supported, although&lt;br&gt;
&amp;nbsp;&amp;nbsp; // that could change...&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp;&amp;nbsp; $backend = 'mysql';&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp;&amp;nbsp; // MySQL settings&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; // your MySQL server&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp;&amp;nbsp; $mysql_server = 'localhost';&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; // the MySQL user ID&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp;&amp;nbsp; $mysql_user = '&lt;i&gt;user&lt;/i&gt;';&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; // the MySQL user's password&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp;&amp;nbsp; $mysql_pwd = '&lt;i&gt;user_pass&lt;/i&gt;';&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; // the MySQL database that contains email account information&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp;&amp;nbsp; $mysql_database = '&lt;i&gt;db&lt;/i&gt;';&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; // the MySQL table that contains email account information&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp;&amp;nbsp; $mysql_table = 'users';&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; // the MySQL field that contains users' home directory locations&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp;&amp;nbsp; $mysql_home_field = concat('home','maildir');&lt;br&gt;
//this should put the proper home directory in, since it is virtual the
home directory is sql cell home (/var/spool/mail/virtual) and maildir (&lt;i&gt;userx&lt;/i&gt;/)&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp; // the MySQL field that contains users' IDs&lt;br&gt;
&amp;nbsp;&amp;nbsp; //&lt;br&gt;
&amp;nbsp;&amp;nbsp; $mysql_userid_field = 'id';&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
?&amp;gt;&lt;br&gt;
&lt;br&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26372565&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Courier-Vacation-Compatibility-Issue-tp26321611p26372565.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26347373</id>
	<title>Re: Courier Vacation/Compatibility Issue</title>
	<published>2009-11-13T21:29:15Z</published>
	<updated>2009-11-13T21:29:15Z</updated>
	<author>
		<name>Paul Lesniewski</name>
	</author>
	<content type="html">Please only send plain text email messages to this list.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; As I am setting up a new email server using
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://flurdy.com/docs/postfix/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://flurdy.com/docs/postfix/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have created a postfix mail server with virtual users and domains as listed in the article above.  I
&lt;br&gt;&amp;gt; install squirrelmail fine but, I am currently trying to work with the courier vacation plug-in to all my
&lt;br&gt;&amp;gt; users to setup there own vacation auto-response, when I do I get this error
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Fatal error: Call to undefined function sqgetGlobalVar() in
&lt;br&gt;&amp;gt; /usr/share/squirrelmail/plugins/compatibility/includes/1.5.2/global.php on line 999
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am using courier_vacation-1.1-1.2 and here is my squirrelmail versions
&lt;br&gt;&amp;gt; SquirrelMail version: 1.4.15
&lt;br&gt;&amp;gt; Config file version: 1.4.0
&lt;br&gt;&amp;gt; Config file last modified: 12 November 2009 09:55:07
&lt;br&gt;&amp;gt; Checking PHP configuration...
&lt;br&gt;&amp;gt;     PHP version 5.2.6-3ubuntu4.2 OK.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don't want to just comment out the function called on this line and I am unable to get
&lt;br&gt;&amp;gt; a good search on this for a resolution
&lt;/div&gt;&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/wiki/CompatibilityDependencies&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/wiki/CompatibilityDependencies&lt;/a&gt;&lt;br&gt;&lt;br&gt;Also note that Courier Vacation may or may not be compatible at all with 1.5.2
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Paul Lesniewski
&lt;br&gt;SquirrelMail Team
&lt;br&gt;Please support Open Source Software by donating to SquirrelMail!
&lt;br&gt;&lt;a href=&quot;http://squirrelmail.org/donate_paul_lesniewski.php&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/donate_paul_lesniewski.php&lt;/a&gt;&lt;br&gt;&lt;br&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26347373&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Courier-Vacation-Compatibility-Issue-tp26321611p26347373.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26335478</id>
	<title>Plesk Mail Alias</title>
	<published>2009-11-13T03:54:58Z</published>
	<updated>2009-11-13T03:54:58Z</updated>
	<author>
		<name>mij</name>
	</author>
	<content type="html">I have recently migrated my web server to a CentOS box with Plesk.
&lt;br&gt;In my previous configuration, the username and email address didn't match:
&lt;br&gt;username: yjk00
&lt;br&gt;email: johndoe@example.com
&lt;br&gt;&lt;br&gt;In Plesk, both must be equal. Therefore, in order to keep the system compatible with the configuration of the email clients I added an alias for every account:
&lt;br&gt;&lt;br&gt;email/username: yjk00@example.com
&lt;br&gt;alias: johndoe@example.com
&lt;br&gt;&lt;br&gt;Email clients works fine, the problem now is Squirrelmail. Users can't log into webmail if they don't know their username, but even if they do, emails would be sent using the username, not the alias (yjk00@example.com instead of johndoe@exapmle.com). I want to know if there's a plugin (or any other mean) to:
&lt;br&gt;a) Configure squirrelmail to use certain alias by default for every user.ç
&lt;br&gt;b) if possible, login using an alias instead of an username, and I mean Plesk alias, which are already defined in a database, not user-defined alias.
&lt;br&gt;&lt;br&gt;Thank you in advance.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Plesk-Mail-Alias-tp26335478p26335478.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26349610</id>
	<title>Bug Report</title>
	<published>2009-11-13T02:36:37Z</published>
	<updated>2009-11-13T02:36:37Z</updated>
	<author>
		<name>Tommy Bergman</name>
	</author>
	<content type="html">&lt;br /&gt;I subscribe to the squirrelmail-users mailing list. &lt;br /&gt;[ ] True -
No need to CC me when replying &lt;br /&gt;[ ] False - Please CC me when
replying &lt;br /&gt;&lt;br /&gt;This bug occurs when I try to use calendar I
cannot&amp;nbsp;make any entries &lt;br /&gt;. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The
description of the bug: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I can reproduce the bug by: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(Optional) I got bored and found the bug occurs in: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;(Optional) I got really bored and here's a fix: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;---------------------------------------------- &lt;br /&gt;&lt;br /&gt;My
browser information: &lt;br /&gt;Mozilla/4.0 (compatible; MSIE 8.0; Windows NT
5.1; Trident/4.0; .NET CLR 1.1.4322) &lt;br /&gt;&lt;br /&gt;My web server
information: &lt;br /&gt;PHP Version 5.3.0alpha2 &lt;br /&gt;PHP Extensions (List) &lt;br /&gt;* 0 = xmlwriter &lt;br /&gt;* 1 = libxml &lt;br /&gt;* 2 = dom &lt;br /&gt;* 3 = xmlreader
&lt;br /&gt;* 4 = xml &lt;br /&gt;* 5 = tokenizer &lt;br /&gt;* 6 = session &lt;br /&gt;* 7 =
sqlite3 &lt;br /&gt;* 8 = pcre &lt;br /&gt;* 9 = SimpleXML &lt;br /&gt;* 10 = SPL &lt;br /&gt;* 11
= PDO &lt;br /&gt;* 12 = SQLite &lt;br /&gt;* 13 = standard &lt;br /&gt;* 14 = Reflection
&lt;br /&gt;* 15 = posix &lt;br /&gt;* 16 = zlib &lt;br /&gt;* 17 = pgsql &lt;br /&gt;* 18 =
pdo_sqlite &lt;br /&gt;* 19 = mysql &lt;br /&gt;* 20 = json &lt;br /&gt;* 21 = iconv &lt;br /&gt;*
22 = hash &lt;br /&gt;* 23 = filter &lt;br /&gt;* 24 = fileinfo &lt;br /&gt;* 25 = date &lt;br /&gt;* 26 = ctype &lt;br /&gt;* 27 = Phar &lt;br /&gt;* 28 = ereg &lt;br /&gt;* 29 =
apache2handler &lt;br /&gt;&lt;br /&gt;SquirrelMail-specific information: &lt;br /&gt;Version: 1.4.16 &lt;br /&gt;Plugins (List) &lt;br /&gt;* 0 = abook_group &lt;br /&gt;* 1 =
abook_take &lt;br /&gt;* 2 = bookmarks &lt;br /&gt;* 3 = bug_report &lt;br /&gt;* 5 =
compatibility &lt;br /&gt;* 6 = delete_move_next &lt;br /&gt;* 8 = fortune &lt;br /&gt;* 9 =
html_mail &lt;br /&gt;* 10 = listcommands &lt;br /&gt;* 13 = mail_fetch &lt;br /&gt;* 14 =
message_details &lt;br /&gt;* 15 = msg_flags &lt;br /&gt;* 16 = newmail &lt;br /&gt;* 17 =
notes &lt;br /&gt;* 18 = preview_pane &lt;br /&gt;* 19 = sent_subfolders &lt;br /&gt;* 20 =
show_user_and_ip &lt;br /&gt;* 21 = smallcal &lt;br /&gt;* 23 = squirrelspell &lt;br /&gt;*
24 = tbaddr &lt;br /&gt;* 26 = translate &lt;br /&gt;* 27 = view_as_html &lt;br /&gt;* 31 =
unsafe_image_rules &lt;br /&gt;* 32 = abook_import_export &lt;br /&gt;* 33 =
calendar_sql_backend &lt;br /&gt;* 34 = calendar &lt;br /&gt;&lt;br /&gt;My IMAP server
information: &lt;br /&gt;Server type: other &lt;br /&gt;Server info: * OK [HIDDEN]
IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THREAD=REFERENCES SORT QUOTA IDLE STARTTLS] Courier-IMAP ready. Copyright
1998-2005 Double Precision, Inc. See COPYING for distribution information.
&lt;br /&gt;Capabilities: IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE STARTTLS &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Tommy Bergman &lt;br /&gt;042-140463&lt;br /&gt;------------------------------------------------------------------------------
&lt;br&gt;Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
&lt;br&gt;trial. Simplify your report design, integration and deployment - and focus on 
&lt;br&gt;what you do best, core application coding. Discover what's new with
&lt;br&gt;Crystal Reports now. &amp;nbsp;&lt;a href=&quot;http://p.sf.net/sfu/bobj-july&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://p.sf.net/sfu/bobj-july&lt;/a&gt;&lt;br /&gt;-----
&lt;br&gt;squirrelmail-plugins mailing list
&lt;br&gt;Posting guidelines: &lt;a href=&quot;http://squirrelmail.org/postingguidelines&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://squirrelmail.org/postingguidelines&lt;/a&gt;&lt;br&gt;List address: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26349610&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squirrelmail-plugins@...&lt;/a&gt;
&lt;br&gt;List archives: &lt;a href=&quot;http://news.gmane.org/gmane.mail.squirrelmail.plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://news.gmane.org/gmane.mail.squirrelmail.plugins&lt;/a&gt;&lt;br&gt;List info (subscribe/unsubscribe/change options): &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-Report-tp26349610p26349610.html" />
</entry>

</feed>
