New Message: Re: Never mind, I found it!

webmaster at userland.com webmaster at userland.com
Sat Apr 14 20:51:36 CDT 2007


A new message was posted:

Address: http://manila.userland.com/discuss/msgReader$2619

By: Lawrence Lee (lawrence at userland.com)

Yeah, I noticed the same thing but I was planning on simplifying things like you mentioned in your original bug report.

if typeOf (department) == listType {
 local (ct = sizeOf (department), i);
 if flMultipleDepartmentsEnabled {
 if sizeOf (department) != 0 {
 flOnHomePage = false}};
 for i = ct downto 1 {
 if flMultipleDepartmentsEnabled {
 if string.lower (department[i]) == "homepage" or string.lower (department[i]) == "home page" {
 delete (@department[i]);
 flOnHomePage = true;
 continue}};
 if system.environment.isMac {
 department[i] = latinToMac.convert (department[i])}}}
else { //single department
 if string.lower (department) == "homepage" or string.lower (department) == "home page" {
 department = ""};
 if system.environment.isMac {
 department = latinToMac.convert (department)}}

Lawrence

This is a Manila site... http://manila.userland.com/.




More information about the Manila-Users mailing list