removing trailing ?> from function scripts
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 15 Jul 2006 12:01:32 +0000 (12:01 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sat, 15 Jul 2006 12:01:32 +0000 (12:01 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11396 7612ce4b-ef26-0410-bec9-ea0150e637f0

240 files changed:
ChangeLog
class/deliver/Deliver.class.php
class/deliver/Deliver_IMAP.class.php
class/deliver/Deliver_SMTP.class.php
class/deliver/Deliver_SendMail.class.php
class/error.class.php
class/helper/VCard.class.php
class/l10n.class.php
class/l10n/gettext.class.php
class/l10n/streams.class.php
class/mime.class.php
class/mime/AddressStructure.class.php
class/mime/ContentType.class.php
class/mime/Disposition.class.php
class/mime/Language.class.php
class/mime/Message.class.php
class/mime/MessageHeader.class.php
class/mime/Rfc822Header.class.php
class/mime/SMimeMessage.class.php
class/template/template.class.php
config/conf.pl
config/config_default.php
config/config_local.example.php
functions/abook_database.php
functions/abook_local_file.php
functions/attachment_common.php
functions/auth.php
functions/db_prefs.php
functions/decode/cp1250.php
functions/decode/cp1251.php
functions/decode/cp1252.php
functions/decode/cp1253.php
functions/decode/cp1254.php
functions/decode/cp1255.php
functions/decode/cp1256.php
functions/decode/cp1257.php
functions/decode/cp1258.php
functions/decode/cp855.php
functions/decode/cp866.php
functions/decode/iso_8859_1.php
functions/decode/iso_8859_10.php
functions/decode/iso_8859_11.php
functions/decode/iso_8859_13.php
functions/decode/iso_8859_14.php
functions/decode/iso_8859_15.php
functions/decode/iso_8859_16.php
functions/decode/iso_8859_2.php
functions/decode/iso_8859_3.php
functions/decode/iso_8859_4.php
functions/decode/iso_8859_5.php
functions/decode/iso_8859_6.php
functions/decode/iso_8859_7.php
functions/decode/iso_8859_8.php
functions/decode/iso_8859_9.php
functions/decode/iso_ir_111.php
functions/decode/koi8_r.php
functions/decode/koi8_u.php
functions/decode/ns_4551_1.php
functions/decode/tis_620.php
functions/decode/us_ascii.php
functions/decode/utf_8.php
functions/encode/cp1251.php
functions/encode/cp1255.php
functions/encode/cp1256.php
functions/encode/iso_8859_1.php
functions/encode/iso_8859_15.php
functions/encode/iso_8859_2.php
functions/encode/iso_8859_7.php
functions/encode/iso_8859_9.php
functions/encode/koi8_r.php
functions/encode/koi8_u.php
functions/encode/tis_620.php
functions/encode/us_ascii.php
functions/encode/utf_8.php
functions/file_prefs.php
functions/folder_manip.php
functions/forms.php
functions/gettext.php
functions/global.php
functions/html.php
functions/htmlentities/iso-8859-1.php
functions/htmlentities/readme.php
functions/htmlentities/utf-8.php
functions/identity.php
functions/imap.php
functions/imap_asearch.php
functions/imap_general.php
functions/imap_messages.php
functions/imap_utf7_local.php
functions/mailbox_display.php
functions/mime.php
functions/ngettext.php
functions/options.php
functions/plugin.php
functions/prefs.php
functions/rfc822address.php
functions/strings.php
functions/tree.php
functions/url_parser.php
images/themes/default/theme.php
images/themes/none/theme.php
images/themes/template/theme.php
images/themes/xp/theme.php
include/constants.php
include/errors.php
include/languages.php
include/load_prefs.php
include/options/compose.php
include/options/display.php
include/options/folder.php
include/options/personal.php
include/timezones.php
include/timezones/check.php
include/timezones/standard.php
include/timezones/standard_orig.php
plugins/abook_take/functions.php
plugins/abook_take/setup.php
plugins/administrator/auth.php
plugins/administrator/defines.php
plugins/administrator/setup.php
plugins/bug_report/config_default.php
plugins/bug_report/functions.php
plugins/bug_report/setup.php
plugins/bug_report/system_specs.php
plugins/calendar/calendar_data.php
plugins/calendar/functions.php
plugins/calendar/setup.php
plugins/change_password/backend/ldap.php
plugins/change_password/backend/peardb.php
plugins/change_password/backend/poppassd.php
plugins/change_password/backend/vmailmgrd.php
plugins/change_password/config_default.php
plugins/change_password/functions.php
plugins/change_password/setup.php
plugins/filters/config_default.php
plugins/filters/filters.php
plugins/filters/options.php
plugins/filters/setup.php
plugins/info/functions.php
plugins/info/setup.php
plugins/listcommands/functions.php
plugins/listcommands/setup.php
plugins/mail_fetch/class.POP3.php
plugins/mail_fetch/config_default.php
plugins/mail_fetch/functions.php
plugins/mail_fetch/setup.php
plugins/message_details/setup.php
plugins/newmail/config_default.php
plugins/newmail/config_sample.php
plugins/newmail/functions.php
plugins/newmail/loadfile.php
plugins/newmail/setup.php
plugins/sent_subfolders/setup.php
plugins/spamcop/functions.php
plugins/spamcop/setup.php
plugins/squirrelspell/modules/check_me.mod
plugins/squirrelspell/modules/crypto.mod
plugins/squirrelspell/modules/crypto_badkey.mod
plugins/squirrelspell/modules/edit_dic.mod
plugins/squirrelspell/modules/enc_setup.mod
plugins/squirrelspell/modules/forget_me.mod
plugins/squirrelspell/modules/forget_me_not.mod
plugins/squirrelspell/modules/init.mod
plugins/squirrelspell/modules/lang_change.mod
plugins/squirrelspell/modules/lang_setup.mod
plugins/squirrelspell/modules/options_main.mod
plugins/squirrelspell/setup.php
plugins/squirrelspell/sqspell_config.php
plugins/squirrelspell/sqspell_functions.php
plugins/squirrelspell/sqspell_interface.php
plugins/squirrelspell/sqspell_options.php
plugins/translate/config_default.php
plugins/translate/config_sample.php
plugins/translate/functions.php
plugins/translate/setup.php
templates/default/error_message.tpl
templates/default/options.tpl
templates/default/paginator.tpl
templates/default/stylelink.tpl
templates/default/stylesheet.tpl
templates/default/template.php
templates/default/webmail.tpl
templates/default_advanced/template.php
templates/util_css.php
templates/util_global.php
templates/util_left_main.php
templates/util_message_list.php
templates/util_paginator.php
themes/alien_glow.php
themes/autumn.php
themes/autumn2.php
themes/black_bean_burrito_theme.php
themes/blue_grey_theme.php
themes/blue_on_blue.php
themes/bluesnews_theme.php
themes/bluesome.php
themes/bluesteel_theme.php
themes/christmas.php
themes/classic_blue.php
themes/classic_blue2.php
themes/dark_green.php
themes/dark_grey_theme.php
themes/darkness.php
themes/deepocean2_theme.php
themes/deepocean_theme.php
themes/default_theme.php
themes/dompie_theme.php
themes/forest_theme.php
themes/greenhouse_effect.php
themes/high_contrast_theme.php
themes/ice_theme.php
themes/in_the_pink.php
themes/kind_of_blue.php
themes/maize_theme.php
themes/methodical_theme.php
themes/midnight.php
themes/minimal_bw.php
themes/monostochastic.php
themes/netstyle_theme.php
themes/penguin.php
themes/plain_blue_theme.php
themes/powder_blue.php
themes/purple_theme.php
themes/random.php
themes/redmond.php
themes/sandstorm_theme.php
themes/seaspray_theme.php
themes/servery_theme.php
themes/shades_of_grey.php
themes/silver_steel_theme.php
themes/simple_green2.php
themes/simple_green_theme.php
themes/simple_purple.php
themes/slashdot_theme.php
themes/spice_of_life.php
themes/spice_of_life_dark.php
themes/spice_of_life_lite.php
themes/techno_blue.php
themes/turquoise.php
themes/wood_theme.php

index c6b66745a611aa88596406a5dc64aafc7862f0a9..4fb9d36eeb92ffa44da316e44e4d7c74c9693ac2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -98,6 +98,7 @@ Version 1.5.2 - CVS
   - Add HTML labels for form elements.
   - Fixed spamcop web based reporting form (#1519673) and removed service
     type options from spamcop plugin.
   - Add HTML labels for form elements.
   - Fixed spamcop web based reporting form (#1519673) and removed service
     type options from spamcop plugin.
+  - Removed trailing ?> from function scripts.
 
 Version 1.5.1 (branched on 2006-02-12)
 --------------------------------------
 
 Version 1.5.1 (branched on 2006-02-12)
 --------------------------------------
index 189de2b00576f47c80a269acd067d056091535f7..1ac5faa0a6f322c6f98e52fe085d7b2380800d46 100644 (file)
@@ -812,5 +812,3 @@ class Deliver {
         return $ret;
     }
 }
         return $ret;
     }
 }
-
-?>
index 17d2021ae1b1fd640de642788de179ed0598e1b4..2bb90dd08da491b0e53bb983d6b0d53b07c5b9c7 100644 (file)
@@ -28,5 +28,3 @@ class Deliver_IMAP extends Deliver {
     /* to do: finishing the imap-class so the initStream function can call the
        imap-class */
 }
     /* to do: finishing the imap-class so the initStream function can call the
        imap-class */
 }
-
-?>
\ No newline at end of file
index 3b94f1e28d1e1d4d61aa7b69aff208d2a46338bb..e03c7682b3427ed6d83126142cd08c28c0db3e61 100644 (file)
@@ -514,5 +514,3 @@ class Deliver_SMTP extends Deliver {
         return $ret;
     }
 }
         return $ret;
     }
 }
-
-?>
index de5863875b21ae1686aae2cba9604a1c8139d5f9..7e4a82011c8f9ffbc0c3d8c0701aa5082dc19640 100644 (file)
@@ -156,4 +156,3 @@ class Deliver_SendMail extends Deliver {
 
 
 }
 
 
 }
-?>
\ No newline at end of file
index af241e362c9e0db16ddeda90c8a311c7fa044ea1..0f9f13c8ad300bd646159467e129b5558eae20d2 100644 (file)
@@ -281,4 +281,3 @@ function sqm_trigger_error($sErrNo,$aExtra=array()) {
     }
     trigger_error($sErrString, $iPhpErr);
 }
     }
     trigger_error($sErrString, $iPhpErr);
 }
-?>
\ No newline at end of file
index 9274164c79691b3eb3108fd9781ddce170e343ba..757fe6d90bfe143eb85065c135fdc94f5725461c 100644 (file)
@@ -40,5 +40,3 @@ class VCard {
         return $array;
     }
 }
         return $array;
     }
 }
-
-?>
\ No newline at end of file
index 02cc7d05bb503fd8c6d8ee6d78863e74a55c4b20..bc93511f2442c3fe014eeb17a52650db634cd994 100644 (file)
@@ -20,4 +20,3 @@ if (! defined('SM_PATH')) define('SM_PATH','../');
 /** Load all php-gettext classes */
 include_once(SM_PATH . 'class/l10n/streams.class.php');
 include_once(SM_PATH . 'class/l10n/gettext.class.php');
 /** Load all php-gettext classes */
 include_once(SM_PATH . 'class/l10n/streams.class.php');
 include_once(SM_PATH . 'class/l10n/gettext.class.php');
-?>
\ No newline at end of file
index 23429014e007f6fd3516423e7ee4edd3ba3fc51a..ce8d78f1f79cfc708e814d33694dc19060e490e7 100644 (file)
@@ -288,4 +288,3 @@ class gettext_reader {
         }
     }
 }
         }
     }
 }
-?>
\ No newline at end of file
index 5f918ea88acf31b67aa32980837c3c387d2900cf..ca856777d78da0b797d369253cebfcfec06227fc 100644 (file)
@@ -125,4 +125,3 @@ class FileReader {
         fclose($this->_fd);
     }
 }
         fclose($this->_fd);
     }
 }
-?>
\ No newline at end of file
index 9cb179f3630357f4cbbab9c504e07f7ac4b08f6a..bba3c65e2304cd639eb270e8f3efb7861f6f44c1 100644 (file)
@@ -24,5 +24,3 @@ require_once(SM_PATH . 'class/mime/SMimeMessage.class.php');
 require_once(SM_PATH . 'class/mime/Disposition.class.php');
 require_once(SM_PATH . 'class/mime/Language.class.php');
 require_once(SM_PATH . 'class/mime/ContentType.class.php');
 require_once(SM_PATH . 'class/mime/Disposition.class.php');
 require_once(SM_PATH . 'class/mime/Language.class.php');
 require_once(SM_PATH . 'class/mime/ContentType.class.php');
-
-?>
\ No newline at end of file
index 2fa3af373931c0425255fa43adeeb511fe611482..165607f70ad8d2ce6589a2977019cff844b19af5 100644 (file)
@@ -98,5 +98,3 @@ class AddressStructure {
         return $this->getAddress(true, true);
     }
 }
         return $this->getAddress(true, true);
     }
 }
-
-?>
\ No newline at end of file
index 915485d78d96889f4623b21265deae2d10e8bd9f..be8761554ee97dfc271a0492c94e9991416aa54c 100644 (file)
@@ -56,5 +56,3 @@ class ContentType {
         $this->properties = array();
     }
 }
         $this->properties = array();
     }
 }
-
-?>
\ No newline at end of file
index e26e383e18bdf4198126b9c570f6ca41a70a271b..2abde4f9dd6c30cc39fe35f83ac77cc286d57a3a 100644 (file)
@@ -45,5 +45,3 @@ class Disposition {
         return '';
     }
 }
         return '';
     }
 }
-
-?>
\ No newline at end of file
index 4ced6850d9beb1489d77118102321995778e6b11..ba7e8275bce37aa847d25c68f5d4f4bcc59a597f 100644 (file)
@@ -36,5 +36,3 @@ class Language {
         $this->properties = array();
     }
 }
         $this->properties = array();
     }
 }
-
-?>
\ No newline at end of file
index 9c49cabdec2d8016da47a8c0828fa7c3be1258f8..1c48300195cf2784ef12b84aac97f1aaf19ad2ea 100644 (file)
@@ -1071,5 +1071,3 @@ class Message {
         }
     }
 }
         }
     }
 }
-
-?>
index 2ad573f625b39f46c6474adad945716a2d178edd..110bb3db2f6c9e0f0cb7a67f8fe0b3a32b140779 100644 (file)
@@ -96,5 +96,3 @@ class MessageHeader {
         $this->parameters[strtolower($parameter)] = $value;
     }
 }
         $this->parameters[strtolower($parameter)] = $value;
     }
 }
-
-?>
\ No newline at end of file
index ba22d2568615bdcaeb5554ad665a498f2bee0fe2..2b5d7dda0ce3daedffbb0f2117cb9e337e99e2f9 100644 (file)
@@ -940,5 +940,3 @@ class Rfc822Header {
         return $this->content_type->properties;
     }
 }
         return $this->content_type->properties;
     }
 }
-
-?>
index 26b68905262d3ee1ca870d11740d4a3e720e5bde..0a732c2cb7a29f9c9d1a341659cb36728190294a 100644 (file)
@@ -23,5 +23,3 @@
 class SMimeMessage {
 
 }
 class SMimeMessage {
 
 }
-
-?>
\ No newline at end of file
index a6d060bee645cab4ed12e934951aede2e2030bab..238b8ac1aead520e3b5b11d785d1f919057df3ee 100755 (executable)
@@ -272,5 +272,3 @@ class Template
     return $paths;
   }
 }
     return $paths;
   }
 }
-
-?>
index 3ec71ea55c6b6081f7648c75549a56eda1c0828b..58d759e4e2e0ab0a0ab3a1b6ea808c0da9e51bcf 100755 (executable)
@@ -4173,8 +4173,6 @@ sub save_data {
         print CF " * sent and regular output to begin, which will majorly screw\n";
         print CF " * things up when we try to send more headers later.\n";
         print CF " */\n";
         print CF " * sent and regular output to begin, which will majorly screw\n";
         print CF " * things up when we try to send more headers later.\n";
         print CF " */\n";
-        print CF "?>";
-
         close CF;
 
         print "Data saved in config.php\n";
         close CF;
 
         print "Data saved in config.php\n";
index a230308b9fc59a21d30e0aca2325781de399cbbf..7b92d598a1096e9f82262b9f71c062a9a60ba467 100644 (file)
@@ -1208,4 +1208,3 @@ $config_use_color = 2;
  * sent and regular output to begin, which will majorly screw
  * things up when we try to send more headers later.
  */
  * sent and regular output to begin, which will majorly screw
  * things up when we try to send more headers later.
  */
-?>
index e1143095f27aec020bad60f22b3164cffe38da11..59d5e44abdfc9c79794e9ad11d9a3dbe35720865 100644 (file)
@@ -13,5 +13,3 @@
  * @package squirrelmail
  * @subpackage config
  */
  * @package squirrelmail
  * @subpackage config
  */
-
-?>
\ No newline at end of file
index 77deaac7f458eb68230ad2cd0e0e1a973d790e04..6fc04ac2c70d7a481d951cabd10e607285125caf 100644 (file)
@@ -473,4 +473,3 @@ class abook_database extends addressbook_backend {
 } /* End of class abook_database */
 
 // vim: et ts=4
 } /* End of class abook_database */
 
 // vim: et ts=4
-?>
index fb215e27c3f525b0f8551fb1119d24188ef28f37..e9986c6e403082a9fc325958e8e710fc04c2f70f 100644 (file)
@@ -573,4 +573,3 @@ class abook_local_file extends addressbook_backend {
     }
 
 } /* End of class abook_local_file */
     }
 
 } /* End of class abook_local_file */
-?>
index 0aec18e730225deae40db9136d55f6560d585491..446842a2bc3971adc02a373af94c1c98846a8f1d 100644 (file)
@@ -262,5 +262,3 @@ function attachment_common_octet_stream(&$Args) {
         $Args[$a] = $b;
     }
 }
         $Args[$a] = $b;
     }
 }
-
-?>
\ No newline at end of file
index 71f2fdb95dc52c13db966214135bbe16dae6dbf1..2729c74984eee023e2944deb643eacd1bf65863a 100644 (file)
@@ -272,5 +272,3 @@ function get_smtp_user(&$user, &$pass) {
         $pass = sqauth_read_password();
     }
 }
         $pass = sqauth_read_password();
     }
 }
-
-?>
\ No newline at end of file
index 1bc2a12229fc1c32a90660a0fac832aae32e3e47..26c2ac2ef94a36bf87e08659f482b4e1fb986ab7 100644 (file)
@@ -543,4 +543,3 @@ function getSig($data_dir, $username, $number) {
 }
 
 // vim: et ts=4
 }
 
 // vim: et ts=4
-?>
\ No newline at end of file
index 9bfbf198fd35448d16ca56284c11e73e0e252799..b6653b5d0d1cb9267413a1fa0d17fb63c29aae55 100644 (file)
@@ -168,5 +168,3 @@ function charset_decode_cp1250 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-
-?>
\ No newline at end of file
index 590e662f73f8fb70f242eeb341fe8198bc2f8167..e55b1a192ae5a0958e23ada1e188a309e6065b6f 100644 (file)
@@ -168,5 +168,3 @@ function charset_decode_cp1251 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-
-?>
\ No newline at end of file
index 6a7d230ff687ebc73d967221fb282c3acc98dc7f..b94c3771eedbeef550c4799d056e93fe59564c36 100644 (file)
@@ -169,5 +169,3 @@ function charset_decode_cp1252 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-
-?>
\ No newline at end of file
index f2159653bbb223893d7d2577019358792278c5e0..7c55c429c5282c08c8d9b0cdd4428a41205ee625 100644 (file)
@@ -168,5 +168,3 @@ function charset_decode_cp1253 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-
-?>
\ No newline at end of file
index 8b2f4be78994e6fd0d16859fce223adbdb3cfa44..bdb592012b58eb504f80774d992227c71649ac2c 100644 (file)
@@ -168,5 +168,3 @@ function charset_decode_cp1254 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-
-?>
\ No newline at end of file
index 4dadc355dd801c70a41eb807648c7ce50a2c0e40..be63830aa2d2cf049498e8b53b66ffd18695dce0 100644 (file)
@@ -168,5 +168,3 @@ function charset_decode_cp1255 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-
-?>
\ No newline at end of file
index 3f32de47a9fee0c785bf9ef34cc6a4d83024d167..66a6b94cab1f55a31eaec2944eac9ea045eaff14 100644 (file)
@@ -168,5 +168,3 @@ function charset_decode_cp1256 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-
-?>
\ No newline at end of file
index 8a560db2a95a5c0c83f0075e228c01b4c306d161..1bd2144312094f648499e271c8f539a8c8b9146a 100644 (file)
@@ -156,5 +156,3 @@ function charset_decode_cp1257 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-
-?>
\ No newline at end of file
index d5b82456473f5cb8130d3a3ce76b234d7e961dfb..d6a7a5c6ff1f5b45636f845d25b8e528d0ca2685 100644 (file)
@@ -168,5 +168,3 @@ function charset_decode_cp1258 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-
-?>
\ No newline at end of file
index e1e82394799b341a27d8e3c7da5b52c63bc77a1a..1a86876e5ca8a8f0751eac43a540bf0317bdd78e 100644 (file)
@@ -168,5 +168,3 @@ function charset_decode_cp855 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-
-?>
\ No newline at end of file
index 4e4c0569e3b08f4a6495cf8001f68d689341b12c..23d87c4a7f8099027120ca56d1c32738ef243b80 100644 (file)
@@ -169,4 +169,4 @@ function charset_decode_cp866 ($string) {
     $string = str_replace(array_keys($cp866), array_values($cp866), $string);
 
     return $string;
     $string = str_replace(array_keys($cp866), array_values($cp866), $string);
 
     return $string;
-}
\ No newline at end of file
+}
index 8675c99fba12f024f332f97bfe24e6c50c934a18..f75c29567e11e806782acd3d3c007c9a0fbcec5d 100644 (file)
@@ -31,5 +31,3 @@ function charset_decode_iso_8859_1 ($string) {
     $string = preg_replace("/([\241-\377])/e","'&#' . ord('\\1') . ';'",$string);
     return $string;
 }
     $string = preg_replace("/([\241-\377])/e","'&#' . ord('\\1') . ';'",$string);
     return $string;
 }
-
-?>
\ No newline at end of file
index ae870a932b566bb16918f48525a95468899a7d5a..87c1e559577151d15289b1eb930a9bfa49dd2715 100644 (file)
@@ -153,5 +153,3 @@ function charset_decode_iso_8859_10 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-
-?>
\ No newline at end of file
index 6c77c45093c91a8ff8b8d1b10936d9a2ef1ef353..5654b096b0d6bae3b22fc70cef1b9e9597230ed3 100644 (file)
@@ -145,5 +145,3 @@ function charset_decode_iso_8859_11 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-
-?>
\ No newline at end of file
index c1fce27ce2fa9fbf002f3ad5e5613924c8958a87..e0f881957b5db1d85b78cc46909db3da8f3f313a 100644 (file)
@@ -153,5 +153,3 @@ function charset_decode_iso_8859_13 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-
-?>
\ No newline at end of file
index c4e9d962e67bad40263378ebf60740ba2c521ca5..b0a49676feec1738765df1842fc526fff3b8235c 100644 (file)
@@ -154,4 +154,3 @@ function charset_decode_iso_8859_14 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-?>
\ No newline at end of file
index 3ae3727045751b3312a0789d1c5c0d5375cca638..491238790ad88024dc870e29bb8b6ddca1004a4b 100644 (file)
@@ -154,4 +154,3 @@ function charset_decode_iso_8859_15 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-?>
\ No newline at end of file
index bc75891e6ba21a91404de2acc55322f33d554d3f..84b236bdb2accd5a6a6b6aff20d22699a09f5da8 100644 (file)
@@ -153,4 +153,3 @@ function charset_decode_iso_8859_16 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-?>
\ No newline at end of file
index d82d84d8ae70fb3685d28a88d6713f71d786cae8..227272922f7517a53f56bb323ffe8696bb725aa2 100644 (file)
@@ -153,4 +153,3 @@ function charset_decode_iso_8859_2 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-?>
\ No newline at end of file
index 0ea19d2c9d0e96a3cb4990ccc420b30f44c66731..9874ee9bb369f5c4eba4a4b9a698da1fd95e3eda 100644 (file)
@@ -146,4 +146,3 @@ function charset_decode_iso_8859_3 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-?>
\ No newline at end of file
index 8538b0d651663a87554190287650efae484c9db6..b0c675cb081caecc87bb16a53d5f4f3700043bb7 100644 (file)
@@ -153,4 +153,3 @@ function charset_decode_iso_8859_4 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-?>
\ No newline at end of file
index 7272e8dec3de1ff8c6a5eb200475032d2b9f6389..8464958bb72cdfc45f9ddeeef406e6a9e08efd86 100644 (file)
@@ -153,4 +153,3 @@ function charset_decode_iso_8859_5 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-?>
\ No newline at end of file
index d2c740f938c31bc73694e9f49aa287a54d99302b..9c75de2e902c6919a40c87d9ab384be600e07bf8 100644 (file)
@@ -108,4 +108,3 @@ function charset_decode_iso_8859_6 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-?>
\ No newline at end of file
index d59ab9886b61082464fef36bc9f53eb5906cfac6..3431793600ff10936495e908237898a3335f3c07 100644 (file)
@@ -147,4 +147,3 @@ function charset_decode_iso_8859_7 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-?>
\ No newline at end of file
index bfc02365a561e9faf5e4432c0ef6b071b7632def..5ff1b5a9c325da5b14f18b852ef435ebbb2f287c 100644 (file)
@@ -117,4 +117,3 @@ function charset_decode_iso_8859_8 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-?>
\ No newline at end of file
index b6a3097036ae0eb2c3e8a0768414af7f2e44c68c..9247152d9420513fd4a67b26bd3fd8f0a5ad125e 100644 (file)
@@ -153,4 +153,3 @@ function charset_decode_iso_8859_9 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-?>
\ No newline at end of file
index 5a1984a32326b5c8d96cff2e682bd4ad8f3f2ccb..f466b26b742524776377a543f279881bd58ac4f7 100644 (file)
@@ -157,4 +157,3 @@ function charset_decode_iso_ir_111 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-?>
\ No newline at end of file
index 4c1da5f5f8ba80e3f4e9723885a2afa0b6021852..2077a0c0425b6a4ae910694b22418a5ee2e66021 100644 (file)
@@ -184,4 +184,3 @@ function charset_decode_koi8_r ($string) {
 
     return $string;
 }
 
     return $string;
 }
-?>
\ No newline at end of file
index 27e87a460081620f9f1b6db6fead798fd6d33619..a5e7e88961dc7a39d6ab104bf5703d17cdf73ee4 100644 (file)
@@ -188,4 +188,3 @@ function charset_decode_koi8_u ($string) {
 
     return $string;
 }
 
     return $string;
 }
-?>
\ No newline at end of file
index 4ee9f6ea333e3ac19d59820456602533e561af95..8c6a889a7c00bdb40dc983bff6c84aac0a7152a2 100644 (file)
@@ -32,4 +32,3 @@ function charset_decode_ns_4551_1 ($string) {
      */
     return strtr ($string, "[\\]{|}", "ÆØÅæøå");
 }
      */
     return strtr ($string, "[\\]{|}", "ÆØÅæøå");
 }
-?>
\ No newline at end of file
index 1f8fbfd0e05b4d45c66c8cfb3eed9b563f12640f..0b3251dd1a99943c1073ce34370b24ba51a7fb40 100644 (file)
@@ -151,4 +151,3 @@ function charset_decode_tis_620 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-?>
\ No newline at end of file
index 1d559e6e1ea6fddecc74141164ddb02725b44cbd..ebb381e5d6af34eebeb1e95eb8599c8f9d7dc279 100644 (file)
@@ -34,4 +34,3 @@ function charset_decode_us_ascii ($string) {
     $string = preg_replace("/([\241-\377])/e","'?'",$string);
     return $string;
 }
     $string = preg_replace("/([\241-\377])/e","'?'",$string);
     return $string;
 }
-?>
\ No newline at end of file
index 2eb8d41edc25aff2b5c8f6a860cf790ade257cf3..9c3c3068eb844fdba7fc67871a8b21bbb30fab0d 100644 (file)
@@ -92,4 +92,3 @@ function charset_decode_utf_8 ($string) {
 
     return $string;
 }
 
     return $string;
 }
-?>
\ No newline at end of file
index 7e04c4f4f68bbced209b1a463ba92299c9e6de8a..fbda9ef7ff0c7e8a7c41a9a26c63f32b3a3d211a 100644 (file)
@@ -176,4 +176,3 @@ function unicodetocp1251($var) {
     }
     return $ret;
 }
     }
     return $ret;
 }
-?>
\ No newline at end of file
index bfd1e54bac0fcae3e28807c9377d72d171955553..48d2d6825c693da3f349a89b3f61acd6a46382ed 100644 (file)
@@ -154,4 +154,3 @@ function unicodetocp1255($var) {
     }
     return $ret;
 }
     }
     return $ret;
 }
-?>
\ No newline at end of file
index 31129753ef9afef6937e95020a200e0c4c6325e2..19acb29f75917674ae61ceea405c36984c54002d 100644 (file)
@@ -177,4 +177,3 @@ function unicodetocp1256($var) {
     }
     return $ret;
 }
     }
     return $ret;
 }
-?>
\ No newline at end of file
index 99d50b10ba9836255f5e40fd23e0b8b95399718b..48271728a2568970a7220c08e1ce94d90abc1f98 100644 (file)
@@ -48,4 +48,3 @@ function unicodetoiso88591($var) {
     }
     return $ret;
 }
     }
     return $ret;
 }
-?>
\ No newline at end of file
index 11f61729b21c41521642e2be48c70efb48b255fb..a2db358a6a8d8b86bb40c85ca89a7ef2bd80398b 100644 (file)
@@ -145,4 +145,3 @@ function unicodetoiso885915($var) {
     }
     return $ret;
 }
     }
     return $ret;
 }
-?>
\ No newline at end of file
index 3e67e4372b48424f2ec5f345e8e56711f1214b86..a4f784c8b68d1ed6e2a087bc2fd4c7f8c4b02c92 100644 (file)
@@ -146,4 +146,3 @@ function unicodetoiso88592($var) {
     }
     return $ret;
 }
     }
     return $ret;
 }
-?>
\ No newline at end of file
index c8ec360385db7ae42cd27cfcb7221c337e378ce0..f59cc101a3974785119c406fcf2f99e186704302 100644 (file)
@@ -140,4 +140,3 @@ function unicodetoiso88597($var) {
     }
     return $ret;
 }
     }
     return $ret;
 }
-?>
\ No newline at end of file
index 689a073caaa68f0c60618b1d3da107bc700a51ad..6c263e121226374ba51b2dff60a0a8ef124e67d6 100644 (file)
@@ -146,4 +146,3 @@ function unicodetoiso88599($var) {
     }
     return $ret;
 }
     }
     return $ret;
 }
-?>
\ No newline at end of file
index 059fbce6a18c27dcf86091be5125167d490f7f07..9293d2642e40cc986624d982f0321e31024f1ead 100644 (file)
@@ -177,4 +177,3 @@ function unicodetokoi8r($var) {
     }
     return $ret;
 }
     }
     return $ret;
 }
-?>
\ No newline at end of file
index 99f0bbbb81ac792e9623478b0dd3e506a0098215..a70c515319f087bbe01375e6892ed651550ff09b 100644 (file)
@@ -177,4 +177,3 @@ function unicodetokoi8u($var) {
     }
     return $ret;
 }
     }
     return $ret;
 }
-?>
\ No newline at end of file
index 2bc9c43699f266d0ddc10d5b0cd799d5dc7a998e..c68b456371b131b0c828050728364ffc43e40311 100644 (file)
@@ -136,4 +136,3 @@ function unicodetotis620($var) {
     }
     return $ret;
 }
     }
     return $ret;
 }
-?>
\ No newline at end of file
index ecf7cf9a9b7e5c6666ff5493aefec686933334f2..bc399474da11ad02d40b242195cfe07c36f001fe 100644 (file)
@@ -48,4 +48,3 @@ function unicodetousascii($var) {
     }
     return $ret;
 }
     }
     return $ret;
 }
-?>
\ No newline at end of file
index 8cd069ba4f0fee5e488fdc212cf63be90fb26400..dda11ba95c658344c7505bca5db24caadaa0b0b0 100644 (file)
@@ -118,4 +118,3 @@ function unicodetoutf8($var) {
     }
     return $ret;
 }
     }
     return $ret;
 }
-?>
\ No newline at end of file
index 161f2ef790f10fd740aec087a5c7179b235971b9..6c6f511e4f27a12d4b5ec19c443cdaab5671d4f9 100644 (file)
@@ -309,4 +309,3 @@ function getSig($data_dir, $username, $number) {
 }
 
 // vim: et ts=4
 }
 
 // vim: et ts=4
-?>
\ No newline at end of file
index 75f64d6ffedc65a90dd26b4eccfeb002fa31dfbe..b1032dc9f9b511ccd3cbbc52c2a886af6a839c20 100644 (file)
@@ -340,6 +340,3 @@ function folders_unsubscribe($imapConnection, $folder_names)
 
     return;
 }
 
     return;
 }
-
-
-?>
index eacfaacaa8e81d8f492671093a97db09d29df49e..361dd49db93299514d1f3b483e640af67dcce434 100644 (file)
@@ -299,5 +299,3 @@ function addForm($sAction, $sMethod = 'post', $sName = '', $sEnctype = '', $sCha
     return '<form action="'. $sAction .'" method="'. $sMethod .'"'.
         $sEnctype . $sName . $sCharset . $sAttribs . ">\n";
 }
     return '<form action="'. $sAction .'" method="'. $sMethod .'"'.
         $sEnctype . $sName . $sCharset . $sAttribs . ">\n";
 }
-
-?>
\ No newline at end of file
index f311150e82e1e4e2f6a0002c3abed44e3a215a1d..ad52d435aa2ecfc1f3abdb542c719f6b863b1ea2 100644 (file)
@@ -101,4 +101,3 @@ if (! function_exists('dgettext')) {
         return $l10n[$domain]->translate($str);
     }
 }
         return $l10n[$domain]->translate($str);
     }
 }
-?>
\ No newline at end of file
index e40dffba416f3cec70994df79bc0c99f4b21a9c7..b04a5adb2cf7e88069181e636f29825025789030 100644 (file)
@@ -418,5 +418,3 @@ function php_self () {
 
     return '';
 }
 
     return '';
 }
-
-
index 59f69a25b044d09c20a9e523c7f2517a2ae60d03..4dc3f1e79d2d5e13ac3a4ae7175a42d023bb90d6 100644 (file)
@@ -157,4 +157,3 @@ function set_url_var($url, $var, $val=0, $link=true) {
     }
     return $url;
 }
     }
     return $url;
 }
-?>
\ No newline at end of file
index 1dcf9c466458785c45b6add694b0e412320469e9..da98a7fb45514197e4e195df54552424293bdd71 100644 (file)
@@ -107,4 +107,3 @@ $sq_html_ent_table = array_merge($sq_html_ent_table,
               "\xFE" => '&thorn;',
               "\xFF" => '&yuml;')
                 );
               "\xFE" => '&thorn;',
               "\xFF" => '&yuml;')
                 );
-?>
\ No newline at end of file
index 0ede7cef66fffb38a557b51215018ed2fa907641..ada66f750b85634dc8c8428e876a25d1667cdf2c 100644 (file)
  * @package squirrelmail
  * @subpackage strings
  */
  * @package squirrelmail
  * @subpackage strings
  */
-?>
\ No newline at end of file
index de47bd598dbc706f4da29f9b8edb17a18b4e9ea7..297cc005cc7f5e9b96ae5a30bd0310b683f33744 100644 (file)
@@ -273,4 +273,3 @@ $sq_html_ent_table = array_merge($sq_html_ent_table,
               "\xE2\x99\xA6" => '&diams;'
               )
        );
               "\xE2\x99\xA6" => '&diams;'
               )
        );
-?>
\ No newline at end of file
index 10c377ebcdb60940bef4ffb2d7a903a755715136..9fd5b2619d94710f1a0af13af7bde34b1a8232ff 100644 (file)
@@ -210,5 +210,3 @@ function empty_identity($ident) {
         return false;
     }
 }
         return false;
     }
 }
-
-?>
\ No newline at end of file
index 84dfa9c9dc90d887a26bb16e250541006500a080..38411499d8b1a011fa4dce8160468a236a5a5c23 100644 (file)
@@ -16,5 +16,3 @@
 /** Includes */
 include_once(SM_PATH . 'functions/imap_messages.php');
 include_once(SM_PATH . 'functions/imap_general.php');
 /** Includes */
 include_once(SM_PATH . 'functions/imap_messages.php');
 include_once(SM_PATH . 'functions/imap_general.php');
-
-?>
\ No newline at end of file
index 957591e640bd29f0c6adcf9cfca83cbe9f4d6ed5..8c0c26af7447a4ee13289187453a73d7a7a4f93f 100644 (file)
@@ -486,5 +486,3 @@ function sqimap_asearch($imapConnection, &$mailbox_array, &$biop_array, &$unop_a
     }
     return ($mbox_search);
 }
     }
     return ($mbox_search);
 }
-
-?>
index a4820491378a0bc77d75d5497ca6ec62705f9186..7a3ef3e62e607d22668f56becfc3102a7cfa4ee6 100755 (executable)
@@ -1306,5 +1306,3 @@ function map_yp_alias($username) {
    $yp = `ypmatch $username aliases`;
    return chop(substr($yp, strlen($username)+1));
 }
    $yp = `ypmatch $username aliases`;
    return chop(substr($yp, strlen($username)+1));
 }
-
-?>
\ No newline at end of file
index f16b5d2b7ffcb3331b6f00ffc9ba4dbbac802285..b2f8eab5bb73ab8a945db7c51cd9310239a325a5 100755 (executable)
@@ -944,5 +944,3 @@ function sqimap_get_message($imap_stream, $id, $mailbox) {
     $msg->rfc822_header = $rfc822_header;
     return $msg;
 }
     $msg->rfc822_header = $rfc822_header;
     return $msg;
 }
-
-?>
index 83a930996ed9d7991a5d349fee93bea59c36b3dd..edfe834b1da3a67d5be1222f109149880a29720d 100644 (file)
@@ -250,5 +250,3 @@ function decodeBASE64($s) {
     }
     return $d;
 }
     }
     return $d;
 }
-
-?>
\ No newline at end of file
index 03c74d7222e1d8f16b00151b71f15f5d16f042d2..2de35bb26817157555bc7b2cdca40ef0e9c603b7 100644 (file)
@@ -1460,5 +1460,3 @@ function attachSelectedMessages($imapConnection,$aMsgHeaders) {
     sqsession_register($compose_messages,'compose_messages');
     return $composesession;
 }
     sqsession_register($compose_messages,'compose_messages');
     return $composesession;
 }
-
-?>
index 58f29884992b74f2bf83d3be8224b4e4c107b173..1d7f0321136923d0039f953174bf4180e9dceb7a 100644 (file)
@@ -2409,5 +2409,3 @@ function SendDownloadHeaders($type0, $type1, $filename, $force, $filesize=0) {
     }
 
 }  // end fn SendDownloadHeaders
     }
 
 }  // end fn SendDownloadHeaders
-
-?>
\ No newline at end of file
index 985cf8752b5a76f1de9deba9dbd80874cf483e77..6fad6a6a7a5ada1433ac6e92033c8a121ebff462 100644 (file)
@@ -67,4 +67,3 @@ if (! function_exists('dngettext')) {
         return $l10n[$domain]->ngettext($single, $plural, $number);
     }
 }
         return $l10n[$domain]->ngettext($single, $plural, $number);
     }
 }
-?>
\ No newline at end of file
index 189f1f714cec8fd6630ad260e47fbae44a06d9a5..747d85e432993df951abd609b080be57a14b4fb0 100644 (file)
@@ -734,4 +734,3 @@ function OptionSubmit( $name ) {
 }
 
 // vim: et ts=4
 }
 
 // vim: et ts=4
-?>
index 6e66aa60a1885aea62035c41fd9a7e9334e57c0b..eaf90da685564a0f38c60f97b95f8eaeea97bb6d 100644 (file)
@@ -206,4 +206,3 @@ function is_plugin_enabled($plugin_name) {
     return false;
   }
 }
     return false;
   }
 }
-?>
index 4924441981f98b36b7f289b165ab8bb7784e3ab7..3f8f9974792ec217208a9e75896fd68adcb651bb 100644 (file)
@@ -126,4 +126,3 @@ function computeHashDirs($username) {
     /* Return our array of hash directories. */
     return ($hash_dirs);
 }
     /* Return our array of hash directories. */
     return ($hash_dirs);
 }
-?>
\ No newline at end of file
index 1225ed0ba4d8dc5ac2ca4312229030b2446684b4..40fd183ae8686a40443400d6973e893bb47645e3 100644 (file)
@@ -406,4 +406,3 @@ function _getAddressTokens($address) {
     }
     return $aTokens;
 }
     }
     return $aTokens;
 }
-?>
\ No newline at end of file
index 626d022bc49a0f94ade222aff70c126c9faa65a3..31813f3d63a301389b1f014b10da2c55444f80cf 100644 (file)
@@ -1290,5 +1290,3 @@ function sq_count8bit($string) {
 function sq_trim_value ( &$value ) {
     $value = trim($value);
 }
 function sq_trim_value ( &$value ) {
     $value = trim($value);
 }
-
-?>
\ No newline at end of file
index 14c32383abf02538ce634a8dd3cdcfbded1d1c2a..a714d26a889f6f5486394f8aa92be1dc7840e45d 100644 (file)
@@ -194,5 +194,3 @@ function simpleWalkTreePre($index, $tree) {
         echo $tree[$index]['value'] . '<br />';
     }
 }
         echo $tree[$index]['value'] . '<br />';
     }
 }
-
-?>
\ No newline at end of file
index b94967464cc8faae65013949e61cee89bdbdfb6d..32fdc392f04ce52c9eb92fb279e44256bcb4b28d 100644 (file)
@@ -277,4 +277,3 @@ function sq_strpos_8bit($haystack,$offset=0,$maxlength=false) {
     }
     return $ret;
 }
     }
     return $ret;
 }
-?>
\ No newline at end of file
index 13e5aed695e6f6f0aff7f8bf9619d8e9969b806d..6cb2f7e68c3be642db8dd2b18917cc3b5e6ab318 100644 (file)
@@ -9,5 +9,4 @@
  * @package squirrelmail
  * @subpackage themes
  */
  * @package squirrelmail
  * @subpackage themes
  */
-    $icon_themes[] = array('NAME'=>_("Default"),'PATH'=> SM_PATH.'images/');
-?>
\ No newline at end of file
+$icon_themes[] = array('NAME'=>_("Default"),'PATH'=> SM_PATH.'images/');
index e5b1addfccd53e4fcddf7a29a1e374fbd14c841d..6aa73dabdf2d575df91b331e1dcb5b702b3903d0 100644 (file)
@@ -9,5 +9,4 @@
  * @package squirrelmail
  * @subpackage themes
  */
  * @package squirrelmail
  * @subpackage themes
  */
-    $icon_themes[] = array('NAME'=>_("None"),'PATH'=> 'none');
-?>
\ No newline at end of file
+$icon_themes[] = array('NAME'=>_("None"),'PATH'=> 'none');
index b5a0dd460d75c72aa7fbad3a1ced28f27e983571..424f1e19e7e65d5c5080ece98c75a7b477ed7783 100644 (file)
@@ -9,5 +9,4 @@
  * @package squirrelmail
  * @subpackage themes
  */
  * @package squirrelmail
  * @subpackage themes
  */
-    $icon_themes[] = array('NAME'=>_("Template Default"),'PATH'=> 'template');
-?>
\ No newline at end of file
+$icon_themes[] = array('NAME'=>_("Template Default"),'PATH'=> 'template');
index e7a76edd1cde06511c7f98ed931e891a3c06d401..a3360705449eaa383b1fd17ff9fd555a62770952 100644 (file)
@@ -9,5 +9,4 @@
  * @package squirrelmail
  * @subpackage themes
  */
  * @package squirrelmail
  * @subpackage themes
  */
-    $icon_themes[] = array('NAME'=>_("XP"),'PATH'=> SM_PATH . 'images/themes/xp/');
-?>
\ No newline at end of file
+$icon_themes[] = array('NAME'=>_("XP"),'PATH'=> SM_PATH . 'images/themes/xp/');
index 2caf3bd7cf8d5a3a5718b7f0f8125375ff94e835..e6e20486be22a08c1437ceaacb53333f589b0dd8 100644 (file)
@@ -156,5 +156,3 @@ define('SQM_COL_BCC', 11);
  * @since 1.2.0
  */
 do_hook('loading_constants');
  * @since 1.2.0
  */
 do_hook('loading_constants');
-
-?>
\ No newline at end of file
index 983a594c9024c508424cbd84345f34d1447752b3..9a483c43d1f37ddd8de6571581d0c2fe679424db 100644 (file)
@@ -81,5 +81,3 @@ $aErrors['SQM_IMAP_BYE'] = array(
 );
 
 //$aError['SQM_FS'] // Filesystem related errors
 );
 
 //$aError['SQM_FS'] // Filesystem related errors
-
-?>
\ No newline at end of file
index a1e301506e451ba656d539d73657a1df3cecf424..ce987825b2dbb42d71cb980bcdadfffd186f84b7 100644 (file)
@@ -1103,4 +1103,3 @@ elseif ($gettext_flags == 0) {
         }
     }
 }
         }
     }
 }
-?>
\ No newline at end of file
index 4e7401185116fe18aeb2b9d5aabf92fb8443983b..fc54fdd1c31cbe800024f79c8db7736079fb3caa 100644 (file)
@@ -408,5 +408,3 @@ if (! isset($use_smtp_tls)) {
 }
 
 do_hook('loading_prefs');
 }
 
 do_hook('loading_prefs');
-
-?>
index 49598df7d7db557e0ae41a1b760f53a051a59932..735041c0fb0ba43bc48a18b61c3c64886b40f5c3 100644 (file)
@@ -185,4 +185,3 @@ function save_option_reply_prefix($option) {
     save_option($option);
 
 }
     save_option($option);
 
 }
-?>
index 98f1d04465ed61931814032a6286ed1ad4c58574..0a2db96fa36d025715e30527ad5e85a3ec43d182 100644 (file)
@@ -505,5 +505,3 @@ function icon_theme_save($option) {
        setPref($data_dir, $username, 'icon_theme', 'none');
 
 }
        setPref($data_dir, $username, 'icon_theme', 'none');
 
 }
-
-?>
index b17ccec01517f3124b60243779e31e372207a3a4..4ac4f42b2603254d10ad358067a1235d99e61f73 100644 (file)
@@ -314,5 +314,3 @@ function save_option_draft_folder($option) {
         save_option($option);
     }
 }
         save_option($option);
     }
 }
-
-?>
\ No newline at end of file
index 36a1ae6335fb5f2380ecd04c4665cb24abdfab11..024609953e520a3dc233a608e46515cf22241523 100644 (file)
@@ -264,5 +264,3 @@ function save_option_signature($option) {
     global $data_dir, $username;
     setSig($data_dir, $username, 'g', $option->new_value);
 }
     global $data_dir, $username;
     setSig($data_dir, $username, 'g', $option->new_value);
 }
-
-?>
\ No newline at end of file
index 247adbfc880941e130b6da31b14c305d474b2be9..bc549c21a7a3a4530813a11ce786ff534c2e53cf 100644 (file)
@@ -87,4 +87,3 @@ function sq_get_tz_key($sTZ) {
         return false;
     }
 }
         return false;
     }
 }
-?>
\ No newline at end of file
index 2fff3a79dad465437f6f45e17e0d359602fe2cab..26ff90abb0ce712b1caebc413b7717f3351d4091 100644 (file)
@@ -215,4 +215,3 @@ if (! $error) {
 echo "\n";
 
 echo "Done!\n";
 echo "\n";
 
 echo "Done!\n";
-?>
\ No newline at end of file
index c105a30a6209be2b485af9376665e7391bb0e546..1f50a682a2a75c1ce3a3fff3884fbe733305ff04 100644 (file)
@@ -1256,4 +1256,3 @@ $aTimeZones['Mideast/Riyadh88']['LINK']='Asia/Riyadh88';
 $aTimeZones['Asia/Riyadh89']['TZ']='UCT-3:07:04';
 $aTimeZones['Mideast/Riyadh89']['LINK']='Asia/Riyadh89';
 
 $aTimeZones['Asia/Riyadh89']['TZ']='UCT-3:07:04';
 $aTimeZones['Mideast/Riyadh89']['LINK']='Asia/Riyadh89';
 
-?>
\ No newline at end of file
index 471f6604635d7532a8361fb50f667ad50ac14e6d..23410157a7b1c984246896de533b74657f818747 100644 (file)
@@ -552,4 +552,3 @@ $aTimeZones['Universal']['TZ']='Universal';
 $aTimeZones['W-SU']['TZ']='W-SU';
 $aTimeZones['WET']['TZ']='WET';
 $aTimeZones['Zulu']['TZ']='Zulu';
 $aTimeZones['W-SU']['TZ']='W-SU';
 $aTimeZones['WET']['TZ']='WET';
 $aTimeZones['Zulu']['TZ']='Zulu';
-?>
\ No newline at end of file
index 46726020ecbde64add007a36cc6eaf6d974c662d..fd0060cb636c1b3fc220b59332c12be752e98cb2 100644 (file)
@@ -94,5 +94,3 @@ function abook_take_save()
     else
         setPref($data_dir, $username, 'abook_take_verify', '');
 }
     else
         setPref($data_dir, $username, 'abook_take_verify', '');
 }
-
-?>
\ No newline at end of file
index af71969f85bc2c66ab068f2edd944858fedd1935..e57e63d128a17bf459062f550510217b7637ef56 100755 (executable)
@@ -51,5 +51,3 @@ function abook_take_options_display_save() {
 
     abook_take_save();
 }
 
     abook_take_save();
 }
-
-?>
\ No newline at end of file
index cb189380e78d9ef4d702d21e2f26acaa338be26b..b988bffa2f39cb817a650707684aeb24862b8e5f 100644 (file)
@@ -63,4 +63,3 @@ function adm_check_user() {
 function adm_array_trim(&$value,$key) {
     $value=trim($value);
 }
 function adm_array_trim(&$value,$key) {
     $value=trim($value);
 }
-?>
\ No newline at end of file
index b0a5fb6830d40818a8564c9676b521f6261f743d..c7ed3684aee16e8cd79c255e46f5d6f8fc38bb28 100644 (file)
@@ -418,4 +418,3 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"),
 
                );
 
 
                );
 
-?>
\ No newline at end of file
index 4babd5f4eb066727fd9cc34d7a87a67aa1b33d1e..20a52a7a82d687a95cbe393907ca6d5d8a7fef12 100644 (file)
@@ -43,4 +43,3 @@ function squirrelmail_administrator_optpage_register_block() {
             );
     }
 }
             );
     }
 }
-?>
\ No newline at end of file
index 4ced4697ee12945e305e63cd53b943edb571f3eb..3723f593418f92748e64e4980461cb5ca6680af3 100644 (file)
@@ -29,4 +29,3 @@ $bug_report_admin_email = '';
  * @global boolean $bug_report_allow_users
  */
 $bug_report_allow_users = false;
  * @global boolean $bug_report_allow_users
  */
 $bug_report_allow_users = false;
-?>
\ No newline at end of file
index 30cc2d14e47ae8a14981a8adb68922b4d2b5dc18..a5c3190c8308e978822a79b19ffc363f88e9d28f 100644 (file)
@@ -80,5 +80,3 @@ function bug_report_check_user() {
 function bug_report_array_trim(&$value,$key) {
     $value=trim($value);
 }
 function bug_report_array_trim(&$value,$key) {
     $value=trim($value);
 }
-
-?>
\ No newline at end of file
index 12112a8f90414bf3f4b8959537bb412aa23b03a7..d7e4dcf2e25588afe62188cb0ac6e7ae7d92ac94 100644 (file)
@@ -73,5 +73,3 @@ function bug_report_block() {
         $optpage_data['vals']['bug_report'] = $optionValues;
     }
 }
         $optpage_data['vals']['bug_report'] = $optionValues;
     }
 }
-
-?>
\ No newline at end of file
index ebb3249c5ce116d77e51fe66eb14b09943906509..6f0c5740b668a1fc765075600b9ae7ac293e8460 100644 (file)
@@ -160,5 +160,3 @@ if (isset($warning) && $warning) {
 }
 
 $body = htmlspecialchars($body_top . $body);
 }
 
 $body = htmlspecialchars($body_top . $body);
-
-?>
\ No newline at end of file
index bb32daa30bf6f8f523942c597704dd0f887dc2b8..743035e03ba64553c95ce6fa3302b5498efcf3ed 100644 (file)
@@ -181,5 +181,3 @@ function update_event($date, $time) {
         fclose ($fp);
     }
 }
         fclose ($fp);
     }
 }
-
-?>
\ No newline at end of file
index dedeb8ee938de31b41c6b448d8d37cf4dc7cceac..fad21357725f471e7d0ec4688ad59700550b1afd 100644 (file)
@@ -189,4 +189,3 @@ function select_option_day($selected) {
     }
 }
 
     }
 }
 
-?>
\ No newline at end of file
index ec9ec1282dd9e97d3363e542e78f678a02c7adfc..83aab7ad398d63059d0c3e7cafa3e0d0c6cde63f 100644 (file)
@@ -27,5 +27,3 @@ function calendar() {
     displayInternalLink('plugins/calendar/calendar.php',_("Calendar"),'right');
     echo "&nbsp;&nbsp;\n";
 }
     displayInternalLink('plugins/calendar/calendar.php',_("Calendar"),'right');
     echo "&nbsp;&nbsp;\n";
 }
-
-?>
\ No newline at end of file
index 81a181a74c9ef7e34a6d616852161bb1661cf13c..fcfd30c9beae741dec0bb53e34ddd3c37b043c92 100644 (file)
@@ -785,4 +785,3 @@ function cpw_ldap_compare_pass($pass_hash,$pass_clear,&$msgs) {
     }
     return $ret;
 }
     }
     return $ret;
 }
-?>
\ No newline at end of file
index acec149328b0fda3c6a94c87837d20cd28d1f5d3..c3bb0f9f86cbcc3f79eceaebaff021bcca787dc5 100644 (file)
@@ -431,4 +431,3 @@ function cpw_peardb_passwd_hash($password,$crypto,&$msgs,$forced_salt='') {
     }
     return $ret;
 }
     }
     return $ret;
 }
-?>
\ No newline at end of file
index 7a0f574cf8fdf9e1d2f665f113a7e28512df43d0..663d0c6b1149066c103a13057b558afcbe9122d2 100644 (file)
@@ -135,5 +135,3 @@ function cpw_poppassd_go($username, $old_pw, $new_pw, $debug = 0) {
 
     return $messages;
 }
 
     return $messages;
 }
-
-?>
\ No newline at end of file
index 1a5fb9fff69b7cda4ab23e1bb6c36eb511721c95..351f78458b37a4d2064ad0cdcd501e982a6f5dfc 100644 (file)
@@ -286,4 +286,3 @@ function cpw_i18n_vmail_response($string) {
     }
     return $ret;
 }
     }
     return $ret;
 }
-?>
\ No newline at end of file
index 1a3d1681a1f1c77d832ea94f866bf9806d4a3484..4b6131fdf49eafad20e5a57964ad9e5089a450aa 100644 (file)
@@ -22,4 +22,3 @@ $cpw_pass_max_length = 25;
 /** whether we require the use of SSL/https to change a password */
 $cpw_require_ssl = FALSE;
 
 /** whether we require the use of SSL/https to change a password */
 $cpw_require_ssl = FALSE;
 
-?>
\ No newline at end of file
index 0c7adaf56d68877c5bdbac5ecd4da31a7e9c2061..a0cd81dc6187426581c5f70e3db34f74231acfa3 100644 (file)
@@ -109,4 +109,3 @@ function cpw_do_change()
     exit;
 }
 
     exit;
 }
 
-?>
\ No newline at end of file
index 10c2fed928935d7122c1e6ecbc3314250a392dbb..f96399f5e5f955c08e4b5ae5592b636748091d1c 100644 (file)
@@ -56,4 +56,3 @@ function change_password_loadinfo() {
 function change_password_version() {
     return '0.2';
 }
 function change_password_version() {
     return '0.2';
 }
-?>
\ No newline at end of file
index 1d6e793307df601af86d9bb1ba764bf6be0d4914..3bf34ebc90d7554779adfd2af6f21e6dc611e59e 100644 (file)
@@ -100,4 +100,3 @@ $SpamFilters_SharedCache = true;
  */
 $SpamFilters_CacheTTL = 7200;
 
  */
 $SpamFilters_CacheTTL = 7200;
 
-?>
\ No newline at end of file
index f27ff13019b387be3d97521bfc94b8f32fd5642b..09df3f7fbc210ad9c50556e85cccb3781f6b3ad8 100644 (file)
@@ -953,5 +953,3 @@ function do_error($string) {
     echo $string;
     echo "</font></p>\n";
 }
     echo $string;
     echo "</font></p>\n";
 }
-
-?>
\ No newline at end of file
index b2d4eeaad2957b4abed942c7c222b7a20ef832cb..e5a67e310af6336457a8fca6faa0ece84b6221eb 100644 (file)
@@ -258,4 +258,3 @@ if (count($filters)) {
             ) ,
         'center', '', 'width="80%" border="0" cellpadding="2" cellspacing="0"' );
     echo '</body></html>';
             ) ,
         'center', '', 'width="80%" border="0" cellpadding="2" cellspacing="0"' );
     echo '</body></html>';
-?>
\ No newline at end of file
index 47ab5f5fa814ad65e66532885302d3ff009669d2..7821ca72ae9b03ef2ccc71e62dc5d0b554a73656 100644 (file)
@@ -64,5 +64,3 @@ function update_for_folder_hook($args) {
     include_once(SM_PATH . 'plugins/filters/filters.php');
     update_for_folder ($args);
 }
     include_once(SM_PATH . 'plugins/filters/filters.php');
     update_for_folder ($args);
 }
-
-?>
\ No newline at end of file
index 36bff635d67d386368d1e2987b4f2404dedef69f..8182a2da9917ef41179cccbde1198b568d1fedb1 100644 (file)
@@ -59,5 +59,3 @@ function print_response($response) {
         }
     }
 }
         }
     }
 }
-
-?>
\ No newline at end of file
index 0f26b732df06bdfe2693330bfb27ed40f4090345..017b3af110bcdff985e691ed091ab5209ba8a299 100644 (file)
@@ -34,5 +34,3 @@ function info_opt() {
         'js'   => false
     );
 }
         'js'   => false
     );
 }
-
-?>
\ No newline at end of file
index a2170c0b143ee33afa0257f44d2b7098a2164ac7..a90587f32d45750cfc90626d732f88ecf10ff31c 100644 (file)
@@ -92,4 +92,3 @@ function listcommands_fieldsdescr() {
             'help'        => _("Help"));
 }
 
             'help'        => _("Help"));
 }
 
-?>
\ No newline at end of file
index e7673f12d10aaad89f85865e29e82d91dce4952c..68764b445ff18284e844d71cdee1fbfaa0ca3b5d 100644 (file)
@@ -31,5 +31,3 @@ function plugin_listcommands_menu() {
     include_once(SM_PATH . 'plugins/listcommands/functions.php');
     plugin_listcommands_menu_do();
 }
     include_once(SM_PATH . 'plugins/listcommands/functions.php');
     plugin_listcommands_menu_do();
 }
-
-?>
\ No newline at end of file
index 0866e945ea33543dfb674243480b3a6a198e932a..d4f55b16179d2cb028ec620644238261aed21747 100644 (file)
@@ -652,4 +652,3 @@ class POP3 {
 
 }   // End class
 
 
 }   // End class
 
-?>
\ No newline at end of file
index 49616eea5d6e75fa2991d67c77a6ff6a24bce704..6c6f1ab8dc1b23fd761c32ceef9907249f1973b6 100644 (file)
@@ -16,4 +16,3 @@
  */
 $mail_fetch_allow_unsubscribed = false;
 
  */
 $mail_fetch_allow_unsubscribed = false;
 
-?>
\ No newline at end of file
index bdcfd71d4dc8789958c3e9f79d8c80585be4b82b..8022396751ae5b55ce8791437ff6cb8a75df5b55 100644 (file)
@@ -395,4 +395,3 @@ function mail_fetch_check_noselect($imap_stream,$imap_folder) {
     }
     return false;
 }
     }
     return false;
 }
-?>
\ No newline at end of file
index 616ba1d04a6cedf2218721b2e57bfee4eb612766..89ad6119ce6edbaf35bc1af7976c74b4c7494bd9 100644 (file)
@@ -80,4 +80,3 @@ function mail_fetch_folderact($args) {
     include_once (SM_PATH . 'plugins/mail_fetch/functions.php');
     mail_fetch_folderact_function($args);
 }
     include_once (SM_PATH . 'plugins/mail_fetch/functions.php');
     mail_fetch_folderact_function($args);
 }
-?>
\ No newline at end of file
index 9aac54b7ed62de6b0d677096eb311abae6a56c35..f99b1bc071cd02acf512a0027022615f4b49aa7e 100644 (file)
@@ -58,5 +58,3 @@ function show_message_details() {
     }
     echo $result;
 }
     }
     echo $result;
 }
-
-?>
\ No newline at end of file
index 523ade7bf60396376065c94376a1692a6980493c..a52693faa8461523d09cfa40e0c2e1667068f3cc 100644 (file)
@@ -46,4 +46,3 @@ $newmail_mediacompat_mode=false;
  */
 global $newmail_mmedia;
 $newmail_mmedia=array();
  */
 global $newmail_mmedia;
 $newmail_mmedia=array();
-?>
\ No newline at end of file
index dcb636c5452e32a87f6c34add2ee6a44ad9aca37..fb0e3002ce05bcc2299699e07af737e6e3b80c51 100644 (file)
@@ -33,4 +33,3 @@ $newmail_mmedia['monty_message']['types'] = array(SM_NEWMAIL_FILETYPE_SWF,SM_NEW
 $newmail_mmedia['monty_message']['args']  = array('width'=>0,'height'=>0);
 $newmail_mmedia['austin_mail']['types'] = array(SM_NEWMAIL_FILETYPE_SWF,SM_NEWMAIL_FILETYPE_MP3,SM_NEWMAIL_FILETYPE_WAV);
 $newmail_mmedia['austin_mail']['args']  = array('width'=>0,'height'=>0);
 $newmail_mmedia['monty_message']['args']  = array('width'=>0,'height'=>0);
 $newmail_mmedia['austin_mail']['types'] = array(SM_NEWMAIL_FILETYPE_SWF,SM_NEWMAIL_FILETYPE_MP3,SM_NEWMAIL_FILETYPE_WAV);
 $newmail_mmedia['austin_mail']['args']  = array('width'=>0,'height'=>0);
-?>
\ No newline at end of file
index 274822bbc020eafac6ee125d599c88897875119e..7a8535ee789e8ad7b1ddabf567fb7e7a7e0b8e99 100644 (file)
@@ -722,4 +722,3 @@ function newmail_create_media_tags($newmail_media) {
     }
     return $ret_media;
 }
     }
     return $ret_media;
 }
-?>
\ No newline at end of file
index 034eb3cc1f9381b396c518802f04db903effb35a..25bb8d79dca7c5c6f161978d8ebd897792dea4f7 100644 (file)
@@ -80,4 +80,3 @@ if ($newmail_uploadsounds && $newmail_userfile_type!=false && file_exists($newma
     } // failed to open userfile
 } // userfile is missing or preferences don't store file type.
 // maybe we should send some error code
     } // failed to open userfile
 } // userfile is missing or preferences don't store file type.
 // maybe we should send some error code
-?>
\ No newline at end of file
index 84195ca5d71a812491a9bb9e210cfe59baec992c..248ee317db6c1f1366280f452f12022b1e812f0b 100644 (file)
@@ -85,4 +85,3 @@ function newmail_plugin() {
     include_once(SM_PATH . 'plugins/newmail/functions.php');
     newmail_plugin_function();
 }
     include_once(SM_PATH . 'plugins/newmail/functions.php');
     newmail_plugin_function();
 }
-?>
index f2c81f61b2f8b34b838e89015644183e89ddf92d..53d17d14dff63689ee9fe61f3268cd65d1a7ece2 100644 (file)
@@ -347,4 +347,3 @@ function sent_subfolders_special_mailbox($mb) {
     }
     return 0;
 }
     }
     return 0;
 }
-?>
\ No newline at end of file
index 44c542ef7be10603b8b5551dc8617d2c7cfe3feb..a36ac3ceed0575143ef9002b5ff704f3184ab440 100644 (file)
@@ -213,4 +213,3 @@ function spamcop_getMessage_RFC822_Attachment($message, $composeMessage, $passed
     }
     return $composeMessage;
 }
     }
     return $composeMessage;
 }
-?>
\ No newline at end of file
index 0c74620e2c98bc07f21e60b17a44c7a328036093..1c8ce71fa3ad5dcd2680b2a0db110611d77b4d57 100755 (executable)
@@ -64,4 +64,3 @@ function spamcop_while_sending() {
     include_once(SM_PATH . 'plugins/spamcop/functions.php');
     spamcop_while_sending_function();
 }
     include_once(SM_PATH . 'plugins/spamcop/functions.php');
     spamcop_while_sending_function();
 }
-?>
\ No newline at end of file
index 1fb75b5d358865295056d14ee1e49e755ff13215..0d9c510cb1ad6490e1ecb422254b8586181ab626 100644 (file)
@@ -482,4 +482,3 @@ if ($errors){
  * End:
  * vim: syntax=php et ts=4
  */
  * End:
  * vim: syntax=php et ts=4
  */
-?>
\ No newline at end of file
index b9f4fa5b403328e4f52c27ce74baf48a1292a9d5..4d2078e61f01995795f9f4e5e14fc7187bc59daf 100644 (file)
@@ -90,5 +90,3 @@ sqspell_makePage( _("Personal Dictionary Crypto Settings"), null, $msg);
  * End:
  * vim: syntax=php
  */
  * End:
  * vim: syntax=php
  */
-
-?>
\ No newline at end of file
index 0e0a975c42aecab908b7c0afe194aaf337b8865a..a4984f9f5c1d5c3d5f359117caf31ef67cd17164 100644 (file)
@@ -139,4 +139,3 @@ if (! $old_setup && $old_key) {
  * End:
  * vim: syntax=php
  */
  * End:
  * vim: syntax=php
  */
-?>
\ No newline at end of file
index 2104e201102b817af2bd0d0758d3a1fa862641b9..8e60ff7d667cb98fcd52b76a1f47eb32701f7072 100644 (file)
@@ -89,5 +89,3 @@ sqspell_makePage(_("Edit your Personal Dictionary"), null, $msg);
  * End:
  * vim: syntax=php
  */
  * End:
  * vim: syntax=php
  */
-
-?>
\ No newline at end of file
index 10cce0094fe2c9f75de19c165eaf4ac9fe6278b5..7d91fdfdc0a76a87eaf35f58f06775b441ea75ac 100644 (file)
@@ -103,5 +103,3 @@ sqspell_makePage(_("Personal Dictionary Crypto Settings"),
  * End:
  * vim: syntax=php
  */
  * End:
  * vim: syntax=php
  */
-
-?>
\ No newline at end of file
index c4466a1a9bb5ff2f4137900b793fa1872d75573a..851b80b5d9bffca66d1c0afd139695be5101da7c 100644 (file)
@@ -69,4 +69,3 @@ if (! empty($words_ary)){
  * End:
  * vim: syntax=php
  */
  * End:
  * vim: syntax=php
  */
-?>
\ No newline at end of file
index 069cd10b4c4cb9c217a254a9e1e51a45c2729766..a75b85784242bff12562dffb0183129fdca17e12 100644 (file)
@@ -66,5 +66,3 @@ sqspell_makeWindow($onload, _("Personal Dictionary Updated"), null, $msg);
  * End:
  * vim: syntax=php
  */
  * End:
  * vim: syntax=php
  */
-
-?>
\ No newline at end of file
index 2a7d56881dee7a31fa3306444a892ece05e85682..cae38f68baa2d0f9938676d4c401efee431a596b 100644 (file)
@@ -63,5 +63,3 @@ sqspell_makeWindow($onload, _("SquirrelSpell Initiating"), "init.js", $msg);
  * End:
  * vim: syntax=php
  */
  * End:
  * vim: syntax=php
  */
-
-?>
\ No newline at end of file
index 6e0fbebe306cf7c3b0208773dc24d20fd41e1c41..3ad3660dca36007d01b172b3f569a50ee86af1a0 100644 (file)
@@ -76,4 +76,3 @@ sqspell_makePage(_("International Dictionaries Preferences Updated"),
  * End:
  * vim: syntax=php
  */
  * End:
  * vim: syntax=php
  */
-?>
\ No newline at end of file
index 48a3b35b8a695070271cc82bc98d30beea0e9b91..57d3d826cb1b65b989c1cde0f15681107be2d161 100644 (file)
@@ -56,5 +56,3 @@ sqspell_makePage(_("Add International Dictionaries"), null, $msg);
  * End:
  * vim: syntax=php
  */
  * End:
  * vim: syntax=php
  */
-
-?>
\ No newline at end of file
index f2bc15b6a245f71e9da6e56da2d6b2a982f4631f..d3f3978aa284fbbd1d0b95b9ba3101ef38616ff7 100644 (file)
@@ -55,4 +55,3 @@ sqspell_makePage( _("SquirrelSpell Options Menu"), null, $msg);
  * End:
  * vim: syntax=php
  */
  * End:
  * vim: syntax=php
  */
-?>
\ No newline at end of file
index 083e7fa13a634e945f625606860f9d04ba2ea16a..e987446aae4c965dfb824c0475242051ac7ff69d 100644 (file)
@@ -76,5 +76,3 @@ function squirrelspell_upgrade() {
 function squirrelspell_version() {
   return '0.5';
 }
 function squirrelspell_version() {
   return '0.5';
 }
-
-?>
\ No newline at end of file
index c4f120620c239f23823575436c1ea35c362b3184..467ecf73b2ea4be5ee23644e1de663608a450a32 100644 (file)
@@ -88,5 +88,3 @@ $SQSPELL_WORDS_FILE =
  * @deprecated It is not used since 1.5.1 (sqspell 0.5)
  */
 $SQSPELL_EREG = 'ereg';
  * @deprecated It is not used since 1.5.1 (sqspell 0.5)
  */
 $SQSPELL_EREG = 'ereg';
-
-?>
index 9489dc6697e7ffb2661e482ead7c0649464fa639..22ec47b4256126df0d9473a3f7347ec368f79cd2 100644 (file)
@@ -898,4 +898,3 @@ function sqspell_handle_crypt_panic($lang=false) {
  * @deprecated
  */
 $SQSPELL_VERSION="v0.3.8";
  * @deprecated
  */
 $SQSPELL_VERSION="v0.3.8";
-?>
\ No newline at end of file
index 417e8c60e2e01a2e9ee6f4382505e0d3dcc05e07..94dedc557958bf3b24b16ea558a297e04a3d8230 100644 (file)
@@ -50,4 +50,3 @@ if (file_exists(SM_PATH . $SQSPELL_DIR . "modules/$MOD.mod")) {
     // display sm footer (closes html tags)
     $oTemplate->display('footer.tpl');
 }
     // display sm footer (closes html tags)
     $oTemplate->display('footer.tpl');
 }
-?>
\ No newline at end of file
index 7db23a006f0e9282c7c946060b4253973a88eb34..09e966c7cfcf6e4ca70a2a6e48c9d2058921bbac 100644 (file)
@@ -47,4 +47,3 @@ if (file_exists(SM_PATH . $SQSPELL_DIR . "modules/$MOD.mod")) {
     // display footer (closes html tags)
     $oTemplate->display('footer.tpl');
 }
     // display footer (closes html tags)
     $oTemplate->display('footer.tpl');
 }
-?>
\ No newline at end of file
index d35ad5d2cb721ea43dc9041709b0c5a3b136eb10..25123b3d0bd51eae2a94b16109695dc7cbaaf6bc 100644 (file)
@@ -108,4 +108,3 @@ $disable_compose_translate=true;
  */
 global $translate_custom_enabled;
 $translate_custom_enabled=false;
  */
 global $translate_custom_enabled;
 $translate_custom_enabled=false;
-?>
\ No newline at end of file
index afbf23f382e581ee11eeec107a1c8c72dfa637ea..8c919727e5483d0db11b144d5da404320e53d749 100644 (file)
@@ -122,4 +122,3 @@ function translate_custom_showtrad() {
 function translate_custom_showoption() {
     translate_showoption_internal('server', 'custom', 'Al Misbar');
 }
 function translate_custom_showoption() {
     translate_showoption_internal('server', 'custom', 'Al Misbar');
 }
-?>
\ No newline at end of file
index f18852387cb4ca056818eccc84ae9ddbdc27df08..cc649dcf1097e2b28fcd4a6a713fc707b681933a 100644 (file)
@@ -943,4 +943,3 @@ function translate_form_google($message) {
 
     translate_table_end();
 }
 
     translate_table_end();
 }
-?>
\ No newline at end of file
index 0a098ba06990e221324a0f9f0efceb856a806fdb..c665b926aad02a8724eabcdcba30d0c8bbdfeac5 100644 (file)
@@ -87,4 +87,3 @@ function translate_set_loadinfo() {
     include_once(SM_PATH . 'plugins/translate/functions.php');
     translate_set_loadinfo_function();
 }
     include_once(SM_PATH . 'plugins/translate/functions.php');
     translate_set_loadinfo_function();
 }
-?>
\ No newline at end of file
index 9a7bb582ce1ff764013d3be4ac7d12c79132bb0f..d2e7746958ad2cd95abd23e1d4bcae90e899d036 100644 (file)
@@ -87,4 +87,3 @@ if (isset($aErrors) && is_array($aErrors)) {
 </div>
 <?php
 } // isset($aErrors)
 </div>
 <?php
 } // isset($aErrors)
-?>
\ No newline at end of file
index 8f683f04ee5a814fb947319f76f447754286d57c..6f7368b5e54cb426d935d0f85b8c735150c68ae1 100644 (file)
@@ -26,6 +26,9 @@ extract($t);
 
 /**
  * $Log$
 
 /**
  * $Log$
+ * Revision 1.3  2006/07/15 12:01:19  tokul
+ * removing trailing ?> from function scripts
+ *
  * Revision 1.2  2006/07/13 18:49:44  tokul
  * reverting some templating changes. They broke plugin blocks.
  * moving display of option blocks to separate template
  * Revision 1.2  2006/07/13 18:49:44  tokul
  * reverting some templating changes. They broke plugin blocks.
  * moving display of option blocks to separate template
@@ -35,4 +38,3 @@ extract($t);
  *
  *
 **/
  *
  *
 **/
-?>
\ No newline at end of file
index a0c5af2452736cc625aeb24435af366e5cbfd779..4557594d9719fb25f158c73e1ee886a9d7fdee80 100644 (file)
@@ -43,4 +43,3 @@ if ($javascript_on && $compact_paginator &&!isset($bScriptAdded)) {
     }
     // display the paginator string.
     echo $sPaginator;
     }
     // display the paginator string.
     echo $sPaginator;
-?>
\ No newline at end of file
index d3e1f940f41f1ed55e37d7c0922b9094c263a1ee..0e1e369a7bd07c6dcb27aa60aedd0e74dd442ab2 100644 (file)
@@ -54,6 +54,9 @@ echo $css_link_html;
 
 /**
  * $Log$
 
 /**
  * $Log$
+ * Revision 1.4  2006/07/15 12:01:19  tokul
+ * removing trailing ?> from function scripts
+ *
  * Revision 1.3  2006/07/10 15:48:51  vanmer
  * - added new utils_css file to contain CSS-related functions for use in templates
  * - altered stylelink template to use new util_css.php file for all function definitions
  * Revision 1.3  2006/07/10 15:48:51  vanmer
  * - added new utils_css file to contain CSS-related functions for use in templates
  * - altered stylelink template to use new util_css.php file for all function definitions
@@ -66,4 +69,3 @@ echo $css_link_html;
  *
  *
 **/
  *
  *
 **/
-?>
\ No newline at end of file
index f2c420b219c9c41fa48bbd84e30373dee5b7673d..343da58533bcc188d0563eb3b6790b31b5c27567 100644 (file)
@@ -245,5 +245,3 @@ a:link, a:visited, a:hover, a:active {
 .spacer        {
     background: <?php echo $color[4]; ?>;
 }
 .spacer        {
     background: <?php echo $color[4]; ?>;
 }
-
-
index 41b650ab4708ff5665c356cb152d0702b906d058..9fec2d8dd4c244adc491d04b68cdb3c2b5bb136a 100644 (file)
@@ -61,4 +61,3 @@ $provided_js_files = array  (
  */
 $additional_css_sheets = array  (
                                 );
  */
 $additional_css_sheets = array  (
                                 );
-?>
\ No newline at end of file
index 2079596d9e0ac4739a6778831402412bf62686d9..410cc24b0e431509ee93b14386d6662c89313d0e 100644 (file)
@@ -123,8 +123,10 @@ if($ret != '') {
 echo $output . '</frameset>';
 /**
  * $Log$
 echo $output . '</frameset>';
 /**
  * $Log$
+ * Revision 1.2  2006/07/15 12:01:19  tokul
+ * removing trailing ?> from function scripts
+ *
  * Revision 1.1  2006/07/09 21:55:33  vanmer
  * - Initial revision of a template to render the main squirrelmail HTML (current a frameset)
  *
 **/
  * Revision 1.1  2006/07/09 21:55:33  vanmer
  * - Initial revision of a template to render the main squirrelmail HTML (current a frameset)
  *
 **/
-?>
\ No newline at end of file
index 0cee1c3869e884b69c3739c586583529a9415baa..809fb33b85006436aec0acbece2852adf5f75912 100644 (file)
@@ -49,4 +49,3 @@ $provided_js_files = array  (
 $additional_css_sheets = array  (
                                     'stylesheet_advanced.tpl'
                                 );
 $additional_css_sheets = array  (
                                     'stylesheet_advanced.tpl'
                                 );
-?>
\ No newline at end of file
index 98e21a418e231653b3a717b4f260d22431a83331..d274918344f7e621b907a52a88feccae8d379795 100644 (file)
@@ -85,10 +85,11 @@ function css_link($url, $name = null, $alt = true, $mtype = 'screen', $xhtml_end
 
 /**
  * $Log$
 
 /**
  * $Log$
+ * Revision 1.2  2006/07/15 12:01:19  tokul
+ * removing trailing ?> from function scripts
+ *
  * Revision 1.1  2006/07/10 15:48:50  vanmer
  * - added new utils_css file to contain CSS-related functions for use in templates
  * - altered stylelink template to use new util_css.php file for all function definitions
  *
 **/
  * Revision 1.1  2006/07/10 15:48:50  vanmer
  * - added new utils_css file to contain CSS-related functions for use in templates
  * - altered stylelink template to use new util_css.php file for all function definitions
  *
 **/
-
-?>
\ No newline at end of file
index 0bb822c38d4d9b80a517718743bebcb60cc915c4..e51091fb096c30d3218e18067c8d74e071313c4a 100644 (file)
@@ -75,4 +75,3 @@ function getIconPath ($icon_theme_path, $icon_name) {
     
     return NULL;
 }
     
     return NULL;
 }
-?>
\ No newline at end of file
index 943cddd54343ad9d3a44a2956ba6de8505bc5f06..978878528a285f18373f00182559ea36bb70874e 100644 (file)
@@ -113,6 +113,3 @@ function getBoxStructure ($boxes) {
     
     return $box;
 }
     
     return $box;
 }
-
-?>
\ No newline at end of file
index 6d7c4c1aabf23c131227e7c2d4eff79972d66182..ddd36036c70ad8282fed6d6aaff72d34a309dc2e 100644 (file)
@@ -198,6 +198,3 @@ function getAttachmentIcon ($attach, $icon_theme_path) {
 
     return $icon;
 }
 
     return $icon;
 }
-
-
-?>
\ No newline at end of file
index dbc31484fb875e492a8803ee5738819ce6756f65..b01dd0deba0fc6c1a60d13b2819910fc7efafc84 100644 (file)
@@ -351,4 +351,3 @@ function get_paginator_str($box, $iOffset, $iTotal, $iLimit, $bShowAll,$page_sel
     /* Return our final magical compact paginator string. */
     return ($result);
 }
     /* Return our final magical compact paginator string. */
     return ($result);
 }
-?>
\ No newline at end of file
index fd82c2b045aa3dda56fa708e5cee7fd8a153f7a4..1543512278f04ea0e8e913dd8ef1949b55b34ee6 100644 (file)
  * @subpackage themes
  */
 
  * @subpackage themes
  */
 
-    $color[0]   = "#19881a"; //      TitleBar
-    $color[1]   = "#800000"; //
-    $color[2]   = "#cc0000"; //      Warning/Error Messages
-    $color[3]   = "#000000"; //      Left Bar Background
-    $color[4]   = "#000000"; //      Normal Background
-    $color[5]   = "#0a6c11"; //      Table Headers
-    $color[6]   = "#4cc748"; //      Text on left bar
-    #$color[7]   = "#706c44"; //     Links
-    $color[7]   = "#ffffff"; //      Normal text
-    $color[8]   = "#61ff5c"; //      Links
-    $color[9]   = "#157316"; //      Darker version of #0
-    $color[10]  = "#105611"; //      Darker version of #9
-    $color[11]  = "#ffffff"; //      Special Folders color
-?>
\ No newline at end of file
+global $color;
+$color[0]   = "#19881a"; //      TitleBar
+$color[1]   = "#800000"; //
+$color[2]   = "#cc0000"; //      Warning/Error Messages
+$color[3]   = "#000000"; //      Left Bar Background
+$color[4]   = "#000000"; //      Normal Background
+$color[5]   = "#0a6c11"; //      Table Headers
+$color[6]   = "#4cc748"; //      Text on left bar
+#$color[7]   = "#706c44"; //     Links
+$color[7]   = "#ffffff"; //      Normal text
+$color[8]   = "#61ff5c"; //      Links
+$color[9]   = "#157316"; //      Darker version of #0
+$color[10]  = "#105611"; //      Darker version of #9
+$color[11]  = "#ffffff"; //      Special Folders color
index b22d691746d522d9e3a92d9d810a7811de225a34..707b3f0d8bc0893fe3a31516b0df0cf3ee68cd73 100644 (file)
@@ -29,4 +29,3 @@ $color[12]  = '#ebebeb'; // Alternate color for message list (alters between #4
 $color[13]  = '#800000'; // Color for single-quoted text ('> text')
 $color[14]  = '#ff0000'; // Color for text with more than one quote ('>> text')
 $color[15]  = '#ffffff'; // Non-selectable folders in the left frame (defaults to #6)
 $color[13]  = '#800000'; // Color for single-quoted text ('> text')
 $color[14]  = '#ff0000'; // Color for text with more than one quote ('>> text')
 $color[15]  = '#ffffff'; // Non-selectable folders in the left frame (defaults to #6)
-?>
\ No newline at end of file
index bad4354070e8a680565a3893e5deff2069e7ef16..059b450ad85795d3363e6405808bf1788ca2be79 100644 (file)
@@ -29,4 +29,3 @@ $color[12]  = '#c9cba4'; // Alternate color for message list (alters between #4
 $color[13]  = '#800000'; // Color for single-quoted text ('> text')
 $color[14]  = '#ff0000'; // Color for text with more than one quote ('>> text')
 $color[15]  = '#ffffff'; // Non-selectable folders in the left frame (defaults to #6)
 $color[13]  = '#800000'; // Color for single-quoted text ('> text')
 $color[14]  = '#ff0000'; // Color for text with more than one quote ('>> text')
 $color[15]  = '#ffffff'; // Non-selectable folders in the left frame (defaults to #6)
-?>
index b35bf8958f0958c4a95facf2909b2f9774f91b6a..edff8679b5bc478bab90d6cd5ffdf0812a76d16f 100644 (file)
@@ -30,4 +30,3 @@ $color[12]  = '#202020'; // (dark gray)         Alternate color
 $color[13]  = '#ff7733'; // (orange-ish)        Single-quoted text
 $color[14]  = '#ff3377'; // (pink-ish)          2 or more quotes
 $color[15]  = '#414141'; // (darker gray)       unselectable folders
 $color[13]  = '#ff7733'; // (orange-ish)        Single-quoted text
 $color[14]  = '#ff3377'; // (pink-ish)          2 or more quotes
 $color[15]  = '#414141'; // (darker gray)       unselectable folders
-?>
\ No newline at end of file
index 7993c090e8a15ab576bf0b6622a06a0d6cdd6e26..8e58325e27795fa7f4327818e3dbc353733a2b7d 100644 (file)
@@ -28,5 +28,3 @@ $color[10]  = '#496e8b'; // (dark gray)      Darker version of #9
 $color[11]  = '#a7c5f3'; // (light blue)     Special Folders color
 $color[12]  = '#7092b4';
 $color[15]  = '#d0d0d0'; // (light gray)     Unselectable folders
 $color[11]  = '#a7c5f3'; // (light blue)     Special Folders color
 $color[12]  = '#7092b4';
 $color[15]  = '#d0d0d0'; // (light gray)     Unselectable folders
-
-?>
\ No newline at end of file
index 471d664966c45c4b971d05018d1f7806632f11de..d43c826e057edf1397ed4d484c647a755fdfe56f 100644 (file)
@@ -11,6 +11,7 @@
  * @subpackage themes
  */
 
  * @subpackage themes
  */
 
+global $color;
 $color[0]  = '#4c4b83'; // TitleBar
 $color[1]  = '#ffffff'; // Not Currently Used
 $color[2]  = '#ffffff'; // Warning/Error Messages
 $color[0]  = '#4c4b83'; // TitleBar
 $color[1]  = '#ffffff'; // Not Currently Used
 $color[2]  = '#ffffff'; // Warning/Error Messages
@@ -27,5 +28,3 @@ $color[12] = '#1d1d26'; // Alternate List Item Color (alternates with #4)
 $color[13] = '#8a8aaf'; // Single-Quoted text
 $color[14] = '#8a8aaf'; // Two or more quotes
 $color[15] = '#ffffff'; // Unselectable Folders
 $color[13] = '#8a8aaf'; // Single-Quoted text
 $color[14] = '#8a8aaf'; // Two or more quotes
 $color[15] = '#ffffff'; // Unselectable Folders
-
-?>
\ No newline at end of file
index 22719fa75804e43249dca465bf97fd6bf089233e..191740208c6bf5a727e836644f96ece97c9af2a0 100644 (file)
@@ -30,5 +30,3 @@ $color[10]  = '#000080'; // (bright blue)       Darker version of #9
 $color[11]  = '#3333ff'; // (dull blue)         Special Folders color
 $color[12]  = '#808080'; //                     Alternate rows
 $color[15]  = '#c0c060'; // (dull yellow)       Unselectable folders
 $color[11]  = '#3333ff'; // (dull blue)         Special Folders color
 $color[12]  = '#808080'; //                     Alternate rows
 $color[15]  = '#c0c060'; // (dull yellow)       Unselectable folders
-
-?>
\ No newline at end of file
index 24549e027b7c4271af9aa77762b34be6b9ca2c77..2cc473b9dc4eee4d718f560fc047f19e39fc12f7 100644 (file)
@@ -33,4 +33,3 @@ $color[12]  = '#9DB5CB';
 $color[13]  = '#800000';
 $color[14]  = '#FF0000';
 $color[15]  = '#CCCCCC';
 $color[13]  = '#800000';
 $color[14]  = '#FF0000';
 $color[15]  = '#CCCCCC';
-?>
\ No newline at end of file
index 1d30caba6e5b7d22cdd29d919000f762492c786a..33aa3e6f7327b9a3ae34c5991d71e6e0a3c6e26c 100644 (file)
@@ -24,4 +24,3 @@ $color[9]   = '#ababab'; // (mid-gray)       Lighter version of #0
 $color[10]  = '#666666'; // (dark gray)      Darker version of #0
 $color[11]  = '#770000'; // (dark red)       Special Folders color
 $color[15]  = '#ababab'; // (mid-gray)       Unselectable folders
 $color[10]  = '#666666'; // (dark gray)      Darker version of #0
 $color[11]  = '#770000'; // (dark red)       Special Folders color
 $color[15]  = '#ababab'; // (mid-gray)       Unselectable folders
-?>
\ No newline at end of file
index 6c920b839657fb5a7ed116933000195f901bbbdf..f2a6a147b5968f1af4e7a39f51dbe9e5c37ca926 100644 (file)
@@ -29,5 +29,3 @@ $color[10]  = '#88aa88'; // Dimmed out folder color
 $color[11]  = '#ee0000'; // Special folders / Unseen messages color
 $color[12]  = '#ddffdd'; // Alternate table row color
 $color[15]  = '#aaffaa'; // Unselectable folders
 $color[11]  = '#ee0000'; // Special folders / Unseen messages color
 $color[12]  = '#ddffdd'; // Alternate table row color
 $color[15]  = '#aaffaa'; // Unselectable folders
-
-?>
\ No newline at end of file
index b4a6fc3512fd6f902d0a9ee9b98d3e1cb22cc8b0..b2a0ba779baa7663149f6016d57f1e8ec0f1880c 100644 (file)
@@ -29,4 +29,3 @@ $color[12]  = '#eef4fe'; // Alternate color for message list (alters between #4
 $color[13]  = '#333333'; // Color for single-quoted text ('> text')
 $color[14]  = '#666666'; // Color for text with more than one quote ('>> text')
 $color[15]  = '#ffffff'; // Non-selectable folders in the left frame (defaults to #6)
 $color[13]  = '#333333'; // Color for single-quoted text ('> text')
 $color[14]  = '#666666'; // Color for text with more than one quote ('>> text')
 $color[15]  = '#ffffff'; // Non-selectable folders in the left frame (defaults to #6)
-?>
\ No newline at end of file
index 61c84123126681adb6b2e66a0517794a956aa047..8b1b1f55e1861f236fe55631c27d1202076ec956 100644 (file)
@@ -29,4 +29,3 @@ $color[12]  = '#dae9f3'; // Alternate color for message list (alters between #4
 $color[13]  = '#333333'; // Color for single-quoted text ('> text')
 $color[14]  = '#666666'; // Color for text with more than one quote ('>> text')
 $color[15]  = '#ffffff'; // Non-selectable folders in the left frame (defaults to #6)
 $color[13]  = '#333333'; // Color for single-quoted text ('> text')
 $color[14]  = '#666666'; // Color for text with more than one quote ('>> text')
 $color[15]  = '#ffffff'; // Non-selectable folders in the left frame (defaults to #6)
-?>
\ No newline at end of file
index 543eaf3a29862eb9b575939c96be58b82669dd1c..1467e299c41e2c9e44721cea82b7b9b7a6c0010a 100644 (file)
  * @subpackage themes
  */
 
  * @subpackage themes
  */
 
-    global $color;
-    $color[0]   = "#0a2801";
-    $color[1]   = "#f88888";
-    $color[2]   = "#ff7171";
-    $color[3]   = "#0a2801";
-    $color[4]   = "#000000";
-    $color[5]   = "#0e3503";
-    $color[6]   = "#d0d0d0";
-    $color[7]   = "#cfcfa0";
-    $color[8]   = "#d0d0d0";
-    $color[9]   = "#0e3503";
-    $color[10]  = "#0a2801";
-    $color[11]  = "#aaaa44";
-    $color[12]  = "#0a2801";
-    $color[13]  = "#ff7733";
-    $color[14]  = "#ff3377";
-?>
\ No newline at end of file
+global $color;
+$color[0]   = "#0a2801";
+$color[1]   = "#f88888";
+$color[2]   = "#ff7171";
+$color[3]   = "#0a2801";
+$color[4]   = "#000000";
+$color[5]   = "#0e3503";
+$color[6]   = "#d0d0d0";
+$color[7]   = "#cfcfa0";
+$color[8]   = "#d0d0d0";
+$color[9]   = "#0e3503";
+$color[10]  = "#0a2801";
+$color[11]  = "#aaaa44";
+$color[12]  = "#0a2801";
+$color[13]  = "#ff7733";
+$color[14]  = "#ff3377";
index dec25fdcd2d96e2930de44b4f827c4af671561ec..950d927e73571b4d527ef6db1c12d2c9a2b12b3a 100644 (file)
@@ -27,5 +27,3 @@ $color[9]   = '#929292'; // (mid-gray)       Darker version of #0
 $color[10]  = '#505050'; // (dark gray)      Darker version of #9
 $color[11]  = '#770010'; // (dark red)       Special Folders color
 $color[15]  = '#440000'; // (darker red)     Unselectable folders
 $color[10]  = '#505050'; // (dark gray)      Darker version of #9
 $color[11]  = '#770010'; // (dark red)       Special Folders color
 $color[15]  = '#440000'; // (darker red)     Unselectable folders
-
-?>
\ No newline at end of file
index cfc8fa471907349e20390a8ff9f428f661576280..a48a66cbb7b0206393dc5414b7023fff82510412 100755 (executable)
@@ -75,91 +75,68 @@ global $squirrelmail_plugin_hooks;
 $squirrelmail_plugin_hooks['generic_header']['theme_darkness'] =
     'Darkness_HeaderPlugin';
 
 $squirrelmail_plugin_hooks['generic_header']['theme_darkness'] =
     'Darkness_HeaderPlugin';
 
-   /** seed the random number generator **/
-   sq_mt_randomize();
-
-   $color[3] = '#000000';
-   $color[4] = '#000000';
-   $used = array(0);
-   $targetDistance = $BackgroundTargetDistance;
-   $Left = array(0, 5, 9, 10, 12);
-   while (count($Left) > 0) {
-      // Some background colors
-      $r = mt_rand(24,64);
-      $unique = true;
-      foreach ($used as $col) {
-         if (abs($r - $col) < $targetDistance)
+/** seed the random number generator **/
+sq_mt_randomize();
+
+$color[3] = '#000000';
+$color[4] = '#000000';
+$used = array(0);
+$targetDistance = $BackgroundTargetDistance;
+$Left = array(0, 5, 9, 10, 12);
+while (count($Left) > 0) {
+    // Some background colors
+    $r = mt_rand(24,64);
+    $unique = true;
+    foreach ($used as $col) {
+        if (abs($r - $col) < $targetDistance)
             $unique = false;
             $unique = false;
-      }
-      if ($unique) {
-         $i = array_shift($Left);
-         $color[$i] = sprintf('#%02X%02X%02X',$r,$r, $r);
-         $used[] = $r;
-         $targetDistance = $BackgroundTargetDistance;
-      } else {
-         $targetDistance -= $BackgroundAdjust;
-      }
-   }
-
-   // Set the error color to some shade of red
-   $r = mt_rand(196, 255);
-   $g = mt_rand(144, ($r * .8));
-   $color[2] = sprintf('#%02X%02X%02X', $r, $g, $g);
-   $used = array(array($r, $g, $g));
-
-   // Set normal text colors
-   $cmin = 196;
-   $cmax = 255;
-   foreach (array(6, 8) as $i) {
-      /** generate random color **/
-      $r = mt_rand($cmin,$cmax);
-      $g = mt_rand($cmin,$cmax);
-      $b = mt_rand($cmin,$cmax);
-      $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
-      $used[] = array($r, $g, $b);
-   }
-
-   $Left = array(1, 7, 11, 13, 14, 15);
-   $targetDistance = $TextTargetDistance;
-   while (count($Left) > 0) {
-      // Text colors -- Try to keep the colors distinct
-      $cmin = 196;
-      $cmax = 255;
-
-      /** generate random color **/
-      $r = mt_rand($cmin,$cmax);
-      $g = mt_rand($cmin,$cmax);
-      $b = mt_rand($cmin,$cmax);
-
-      if (IsUnique($targetDistance, $r, $g, $b, $used)) {
-         $i = array_shift($Left);
-         $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
-         $used[] = array($r, $g, $b);
-         $targetDistance = $TextTargetDistance;
-      } else {
-         $targetDistance *= $TextAdjust;
-      }
-   }
-
-
-/** Reference from  doc/themes.txt
-
-b  0: Title Bar at the top of the page header
-f  1: <not currently used>
-f  2: Error messages, usually red
-b  3: Left folder list background color
-b  4: Normal background color
-b  5: Header of the message index [From, Date, Subject]
-f  6: Normal text on the left folder list
-f  7: Links in the right frame, Folders with subfolders in left frame
-f  8: Normal text [usually black]
-b  9: Darker version of #0
-b 10: Darker version of #9
-f 11: Special folders color [Inbox, Trash, Sent]
-b 12: Alternate color for message list [alters between 4 and this one]
-f 13: Color for single-quoted text ('> text') when reading (default:  #800000)
-f 14: Color for text with more than one quote (default: #FF0000)
+    }
+    if ($unique) {
+        $i = array_shift($Left);
+        $color[$i] = sprintf('#%02X%02X%02X',$r,$r, $r);
+        $used[] = $r;
+        $targetDistance = $BackgroundTargetDistance;
+    } else {
+        $targetDistance -= $BackgroundAdjust;
+    }
+}
 
 
-**/
+// Set the error color to some shade of red
+$r = mt_rand(196, 255);
+$g = mt_rand(144, ($r * .8));
+$color[2] = sprintf('#%02X%02X%02X', $r, $g, $g);
+$used = array(array($r, $g, $g));
+
+// Set normal text colors
+$cmin = 196;
+$cmax = 255;
+foreach (array(6, 8) as $i) {
+    /** generate random color **/
+    $r = mt_rand($cmin,$cmax);
+    $g = mt_rand($cmin,$cmax);
+    $b = mt_rand($cmin,$cmax);
+    $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
+    $used[] = array($r, $g, $b);
+}
 
 
-?>
\ No newline at end of file
+$Left = array(1, 7, 11, 13, 14, 15);
+$targetDistance = $TextTargetDistance;
+while (count($Left) > 0) {
+    // Text colors -- Try to keep the colors distinct
+    $cmin = 196;
+    $cmax = 255;
+
+    /** generate random color **/
+    $r = mt_rand($cmin,$cmax);
+    $g = mt_rand($cmin,$cmax);
+    $b = mt_rand($cmin,$cmax);
+
+    if (IsUnique($targetDistance, $r, $g, $b, $used)) {
+        $i = array_shift($Left);
+        $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
+        $used[] = array($r, $g, $b);
+        $targetDistance = $TextTargetDistance;
+    } else {
+        $targetDistance *= $TextAdjust;
+    }
+}
index 73be195b4b45eb7a18217f99fd78e29a75241c7d..128d8030a1aef710d7701cf188a3a87643133c2a 100644 (file)
@@ -29,4 +29,3 @@ $color[10]  = '#496e8b'; // (dark gray)      Darker version of #9
 $color[11]  = '#a7c5f3'; // (dark red)       Special Folders color
 $color[12]  = '#7092b4';
 $color[15]  = '#83a1da'; // (another blue)   Unselectable folders color
 $color[11]  = '#a7c5f3'; // (dark red)       Special Folders color
 $color[12]  = '#7092b4';
 $color[15]  = '#83a1da'; // (another blue)   Unselectable folders color
-?>
\ No newline at end of file
index bfc88f5937e7f0d161eecae0c6865d44556c2e5e..6109682b7f5a42169321da4313588232ccf07219 100644 (file)
@@ -29,5 +29,3 @@ $color[10]  = '#496e8b'; // (dark gray)      Darker version of #9
 $color[11]  = '#a7c5f3'; // (dark red)       Special Folders color
 $color[12]  = '#7092b4';
 $color[15]  = '#83a1da'; // (another blue)   Unselectable folders color
 $color[11]  = '#a7c5f3'; // (dark red)       Special Folders color
 $color[12]  = '#7092b4';
 $color[15]  = '#83a1da'; // (another blue)   Unselectable folders color
-
-?>
\ No newline at end of file
index c7c647eee5fac8752ddfabcc5331d681933d7a3e..da0202bb828979675c6e1afd13a5dddd0a449154 100644 (file)
  * @subpackage themes
  **/
 
  * @subpackage themes
  **/
 
-    global $color;
-    $color[0]   = '#dcdcdc'; // (light gray)     TitleBar
-    $color[1]   = '#800000'; // (red)
-    $color[2]   = '#cc0000'; // (light red)      Warning/Error Messages
-    $color[3]   = '#a0b8c8'; // (green-blue)     Left Bar Background
-    $color[4]   = '#ffffff'; // (white)          Normal Background
-    $color[5]   = '#ffffcc'; // (light yellow)   Table Headers
-    $color[6]   = '#000000'; // (black)          Text on left bar
-    $color[7]   = '#0000cc'; // (blue)           Links
-    $color[8]   = '#000000'; // (black)          Normal text
-    $color[9]   = '#ababab'; // (mid-gray)       Darker version of #0
-    $color[10]  = '#666666'; // (dark gray)      Darker version of #9
-    $color[11]  = '#770000'; // (dark red)       Special Folders color
-    $color[12]  = '#ededed'; // (light gray)     Alternate color for message list
-    $color[13]  = '#800000'; // (dark red)       Color for quoted text -- > 1 quote
-    $color[14]  = '#ff0000'; // (red)            Color for quoted text -- >> 2 or more
-    $color[15]  = '#002266'; // (dark blue)      Unselectable folders
-    $color[16]  = '#ff9933'; // (orange)         Highlight color
-?>
\ No newline at end of file
+global $color;
+$color[0]   = '#dcdcdc'; // (light gray)     TitleBar
+$color[1]   = '#800000'; // (red)
+$color[2]   = '#cc0000'; // (light red)      Warning/Error Messages
+$color[3]   = '#a0b8c8'; // (green-blue)     Left Bar Background
+$color[4]   = '#ffffff'; // (white)          Normal Background
+$color[5]   = '#ffffcc'; // (light yellow)   Table Headers
+$color[6]   = '#000000'; // (black)          Text on left bar
+$color[7]   = '#0000cc'; // (blue)           Links
+$color[8]   = '#000000'; // (black)          Normal text
+$color[9]   = '#ababab'; // (mid-gray)       Darker version of #0
+$color[10]  = '#666666'; // (dark gray)      Darker version of #9
+$color[11]  = '#770000'; // (dark red)       Special Folders color
+$color[12]  = '#ededed'; // (light gray)     Alternate color for message list
+$color[13]  = '#800000'; // (dark red)       Color for quoted text -- > 1 quote
+$color[14]  = '#ff0000'; // (red)            Color for quoted text -- >> 2 or more
+$color[15]  = '#002266'; // (dark blue)      Unselectable folders
+$color[16]  = '#ff9933'; // (orange)         Highlight color
index 3a2f64f29f83615ea9cd568685fba0b30dfb7a4b..f252a92f3ff4f24791abc518fbe958b144893257 100644 (file)
@@ -29,5 +29,3 @@ $color[10]  = '#c0c0c0'; // (light grey)     Darker version of #9
 $color[11]  = '#a7c5f3'; // (light blue)     Special Folders color
 $color[12]  = '#c0c0c0'; //
 $color[15]  = '#788dd0'; // (darkish blue)   Unselectable folders
 $color[11]  = '#a7c5f3'; // (light blue)     Special Folders color
 $color[12]  = '#c0c0c0'; //
 $color[15]  = '#788dd0'; // (darkish blue)   Unselectable folders
-
-?>
\ No newline at end of file
index be5c3813a7d21e0f29aed3940b324ab6d48e3b9c..f9e95d4497a966cc5357e48d234fdee35edbda59 100644 (file)
@@ -29,4 +29,3 @@ $color[10]  = '#5e7f67'; // (dark purp)      Darker version of #9
 $color[11]  = '#4a9b62'; // (dark red)       Special Folders color
 $color[12]  = '#d2f3da';
 $color[15]  = '#648b70'; // (another green)  Unselectable folders
 $color[11]  = '#4a9b62'; // (dark red)       Special Folders color
 $color[12]  = '#d2f3da';
 $color[15]  = '#648b70'; // (another green)  Unselectable folders
-?>
\ No newline at end of file
index 31034796433458abb8febfea79f151f12d153e1a..c9a769890bb9efcf7bc7bcb0c809f270bafb2557 100755 (executable)
@@ -48,28 +48,3 @@ for ($i = 0; $i <= 15; $i++) {
     /** set array element as hex string with hashmark (for HTML output) **/
     $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
 }
     /** set array element as hex string with hashmark (for HTML output) **/
     $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
 }
-
-
-
-/**
- * Reference from  http://www.squirrelmail.org/wiki/CreatingThemes
- *   $color[0]   = '#xxxxxx';  // Title bar at the top of the page header
- *   $color[1]   = '#xxxxxx';  // Not currently used
- *   $color[2]   = '#xxxxxx';  // Error messages (usually red)
- *   $color[3]   = '#xxxxxx';  // Left folder list background color
- *   $color[4]   = '#xxxxxx';  // Normal background color
- *   $color[5]   = '#xxxxxx';  // Header of the message indexi
- *                             // (From, Date,Subject)
- *   $color[6]   = '#xxxxxx';  // Normal text on the left folder list
- *   $color[7]   = '#xxxxxx';  // Links in the right frame
- *   $color[8]   = '#xxxxxx';  // Normal text (usually black)
- *   $color[9]   = '#xxxxxx';  // Darker version of #0
- *   $color[10]  = '#xxxxxx';  // Darker version of #9
- *   $color[11]  = '#xxxxxx';  // Special folders color (INBOX, Trash, Sent)
- *   $color[12]  = '#xxxxxx';  // Alternate color for message list
- *                             // Alters between #4 and this one
- *   $color[13]  = '#xxxxxx';  // Color for quoted text -- > 1 quote
- *   $color[14]  = '#xxxxxx';  // Color for quoted text -- >> 2 or more
- **/
-
-?>
\ No newline at end of file
index 08a1ffebfc9ccd5bd1af4eb45a0ebb31d60dea77..72e13cdd7c6509020badea5c134fb4cc68823c06 100644 (file)
@@ -27,5 +27,3 @@ $color[9]   = '#c0c0c0'; // (mid-gray)       Darker version of #0
 $color[10]  = '#808080'; // (dark gray)      Darker version of #9
 $color[11]  = '#ffffff'; // (white)          Special Folders color
 $color[15]  = '#d0d070'; // (gold)           Unselectable folders
 $color[10]  = '#808080'; // (dark gray)      Darker version of #9
 $color[11]  = '#ffffff'; // (white)          Special Folders color
 $color[15]  = '#d0d070'; // (gold)           Unselectable folders
-
-?>
\ No newline at end of file
index 219a867f06a68cd5743611e83f193bbbcd21bd33..1c191ffaf2a06fcaaa451f003939600bc463096a 100644 (file)
@@ -27,5 +27,3 @@ $color[9]   = '#d0eaff'; // Darker version of #0
 $color[10]  = '#f0faff'; // Darker version of #9
 $color[11]  = '#770000'; // Special Folders color
 $color[15]  = '#006600'; // Unselectable folders
 $color[10]  = '#f0faff'; // Darker version of #9
 $color[11]  = '#770000'; // Special Folders color
 $color[15]  = '#006600'; // Unselectable folders
-
-?>
\ No newline at end of file
index 3a9fd6cc5e157bf5daaf7e633d17ad512d835bbe..b2def3ece6a66581db3aa40b7714bb83c21546f1 100755 (executable)
@@ -44,26 +44,3 @@ for ($i = 0; $i <= 15; $i++) {
     /* set array element as hex string with hashmark (for HTML output) */
     $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
 }
     /* set array element as hex string with hashmark (for HTML output) */
     $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
 }
-
-
-/* Reference from  http://www.squirrelmail.org/wiki/CreatingThemes
-
-$color[0]   = '#xxxxxx';  // Title bar at the top of the page header
-$color[1]   = '#xxxxxx';  // Not currently used
-$color[2]   = '#xxxxxx';  // Error messages (usually red)
-$color[3]   = '#xxxxxx';  // Left folder list background color
-$color[4]   = '#xxxxxx';  // Normal background color
-$color[5]   = '#xxxxxx';  // Header of the message index // (From, Date,Subject)
-$color[6]   = '#xxxxxx';  // Normal text on the left folder list
-$color[7]   = '#xxxxxx';  // Links in the right frame
-$color[8]   = '#xxxxxx';  // Normal text (usually black)
-$color[9]   = '#xxxxxx';  // Darker version of #0
-$color[10]  = '#xxxxxx';  // Darker version of #9
-$color[11]  = '#xxxxxx';  // Special folders color (INBOX, Trash, Sent)
-$color[12]  = '#xxxxxx';  // Alternate color for message list // Alters between #4 and this one
-$color[13]  = '#xxxxxx';  // Color for quoted text -- > 1 quote
-$color[14]  = '#xxxxxx';  // Color for quoted text -- >> 2 or more
-
-*/
-
-?>
\ No newline at end of file
index dd3cd11d3effc981cf5a3249c8e53dcf8de48715..7c4b91f32a34284cf242504ce2c8221288e19027 100755 (executable)
@@ -48,26 +48,3 @@ for ($i = 0; $i <= 15; $i++) {
     /* set array element as hex string with hashmark (for HTML output) */
     $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
 }
     /* set array element as hex string with hashmark (for HTML output) */
     $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
 }
-
-
-/* Reference from  http://www.squirrelmail.org/wiki/CreatingThemes
-
-$color[0]   = '#xxxxxx';  // Title bar at the top of the page header
-$color[1]   = '#xxxxxx';  // Not currently used
-$color[2]   = '#xxxxxx';  // Error messages (usually red)
-$color[3]   = '#xxxxxx';  // Left folder list background color
-$color[4]   = '#xxxxxx';  // Normal background color
-$color[5]   = '#xxxxxx';  // Header of the message index // (From, Date,Subject)
-$color[6]   = '#xxxxxx';  // Normal text on the left folder list
-$color[7]   = '#xxxxxx';  // Links in the right frame
-$color[8]   = '#xxxxxx';  // Normal text (usually black)
-$color[9]   = '#xxxxxx';  // Darker version of #0
-$color[10]  = '#xxxxxx';  // Darker version of #9
-$color[11]  = '#xxxxxx';  // Special folders color (INBOX, Trash, Sent)
-$color[12]  = '#xxxxxx';  // Alternate color for message list // Alters between #4 and this one
-$color[13]  = '#xxxxxx';  // Color for quoted text -- > 1 quote
-$color[14]  = '#xxxxxx';  // Color for quoted text -- >> 2 or more
-
-*/
-
-?>
\ No newline at end of file
index 1aa0560df9bea2b936a40b621e3a01bddd69eeb1..fe7f30a0600924fe25a6c766222b09d1f78d2ce7 100644 (file)
@@ -34,5 +34,3 @@ $color[9]   = '#909090'; // (darker gray)               Darker version of #0
 $color[10]  = '#606060'; // (darkest gray)              Darker version of #9
 $color[11]  = '#600000'; // (lighter red)               Special Folders color
 $color[15]  = '#602020'; // (some brown)                Unselectable folders
 $color[10]  = '#606060'; // (darkest gray)              Darker version of #9
 $color[11]  = '#600000'; // (lighter red)               Special Folders color
 $color[15]  = '#602020'; // (some brown)                Unselectable folders
-
-?>
\ No newline at end of file
index c71379e31c761cd4195197f4baf186b5aef54563..0d4e874014ff34d8644dee709c99d3fcc6acc6cd 100644 (file)
@@ -31,4 +31,3 @@ $color[10]  = '#999999'; // (light grey)     Darker version of #9
 $color[11]  = '#a7c5f3'; // (light blue)     Special Folders color
 $color[12]  = '#9f9f9f'; //
 $color[13]  = '#dfdfdf'; // (lighter grey)   Unselectable folders
 $color[11]  = '#a7c5f3'; // (light blue)     Special Folders color
 $color[12]  = '#9f9f9f'; //
 $color[13]  = '#dfdfdf'; // (lighter grey)   Unselectable folders
-?>
\ No newline at end of file
index 909f158fd4e7919849bf49cdb8fc199a173f2e25..5961c20285db55bdc47d9b4ebda22e9b9cad5a13 100644 (file)
@@ -30,4 +30,3 @@ $color[11]  = '#7070ff'; // Special folders / Unseen messages color
 $color[12]  = '#3300cc'; // Alternate table row color
 $color[13]  = '#3333cc';
 $color[15]  = '#33ff66'; // Unselectable folders
 $color[12]  = '#3300cc'; // Alternate table row color
 $color[13]  = '#3333cc';
 $color[15]  = '#33ff66'; // Unselectable folders
-?>
\ No newline at end of file
index 69cb5a8df64319129077606df46e452ee0870729..b7bf3e6e63b25d8b5d69318d7d003db05c9dd1a5 100644 (file)
  * @subpackage themes
  */
 
  * @subpackage themes
  */
 
-    global $color;
-    $color[0]   = '#ffffff'; // (white)   TitleBar
-    $color[1]   = '#000000'; // (black)   (unused)
-    $color[2]   = '#000000'; // (black)   Warning/Error Messages
-    $color[3]   = '#ffffff'; // (white)   Left Bar Background
-    $color[4]   = '#ffffff'; // (white)   Normal Background
-    $color[5]   = '#ffffff'; // (white)   Table Headers
-    $color[6]   = '#000000'; // (black)   Text on left bar
-    $color[7]   = '#000000'; // (black)   Links
-    $color[8]   = '#000000'; // (black)   Normal text
-    $color[9]   = '#ffffff'; // (white)   Darker version of #0
-    $color[10]  = '#ffffff'; // (white)   Darker version of #9
-    $color[11]  = '#000000'; // (black)   Special Folders color
-    $color[12]  = '#ffffff'; // (white)   Alternate color for message list
-    $color[13]  = '#000000'; // (black)   Color for quoted text -- > 1 quote
-    $color[14]  = '#000000'; // (black)   Color for quoted text -- >> 2 or more
-    $color[15]  = '#000000'; // (black)   Unselectable folders
-?>
\ No newline at end of file
+global $color;
+$color[0]   = '#ffffff'; // (white)   TitleBar
+$color[1]   = '#000000'; // (black)   (unused)
+$color[2]   = '#000000'; // (black)   Warning/Error Messages
+$color[3]   = '#ffffff'; // (white)   Left Bar Background
+$color[4]   = '#ffffff'; // (white)   Normal Background
+$color[5]   = '#ffffff'; // (white)   Table Headers
+$color[6]   = '#000000'; // (black)   Text on left bar
+$color[7]   = '#000000'; // (black)   Links
+$color[8]   = '#000000'; // (black)   Normal text
+$color[9]   = '#ffffff'; // (white)   Darker version of #0
+$color[10]  = '#ffffff'; // (white)   Darker version of #9
+$color[11]  = '#000000'; // (black)   Special Folders color
+$color[12]  = '#ffffff'; // (white)   Alternate color for message list
+$color[13]  = '#000000'; // (black)   Color for quoted text -- > 1 quote
+$color[14]  = '#000000'; // (black)   Color for quoted text -- >> 2 or more
+$color[15]  = '#000000'; // (black)   Unselectable folders
index 82d58b54286760ff777aa7acac2ccd6219bcf5fa..51a37ba49331752395c9b74e65114d14a780870c 100755 (executable)
@@ -59,27 +59,3 @@ for ($i = 0; $i <= 15; $i++) {
         $color[$i] = sprintf('#%02X%02X%02X',$rt,$gt,$bt);
     }
 }
         $color[$i] = sprintf('#%02X%02X%02X',$rt,$gt,$bt);
     }
 }
-
-/* Reference from  http://www.squirrelmail.org/wiki/CreatingThemes
-
-$color[0]   = '#xxxxxx';  // Title bar at the top of the page header
-$color[1]   = '#xxxxxx';  // Not currently used
-$color[2]   = '#xxxxxx';  // Error messages (usually red)
-$color[3]   = '#xxxxxx';  // Left folder list background color
-$color[4]   = '#xxxxxx';  // Normal background color
-$color[5]   = '#xxxxxx';  // Header of the message index
-                          // (From, Date,Subject)
-$color[6]   = '#xxxxxx';  // Normal text on the left folder list
-$color[7]   = '#xxxxxx';  // Links in the right frame
-$color[8]   = '#xxxxxx';  // Normal text (usually black)
-$color[9]   = '#xxxxxx';  // Darker version of #0
-$color[10]  = '#xxxxxx';  // Darker version of #9
-$color[11]  = '#xxxxxx';  // Special folders color (INBOX, Trash, Sent)
-$color[12]  = '#xxxxxx';  // Alternate color for message list
-                          // Alters between #4 and this one
-$color[13]  = '#xxxxxx';  // Color for quoted text -- > 1 quote
-$color[14]  = '#xxxxxx';  // Color for quoted text -- >> 2 or more
-
-*/
-
-?>
\ No newline at end of file
index ddc96429be411bd0b8a4733ddd9ee66e9ec95d1f..8696bc94ba0b3575eecd4f01ae9fcbf511a7861c 100644 (file)
@@ -30,4 +30,3 @@ $color[12]  = '#FFFFCC'; // (lightest yellow)  Alternate color for message list
 $color[13]  = '#0000F0'; // (blue)           Color for quoted text -- > 1 quote
 $color[14]  = '#00C060'; // (green)          Color for quoted text -- >> 2 or more
 $color[15]  = '#002266'; // (dark blue)      Unselectable folders
 $color[13]  = '#0000F0'; // (blue)           Color for quoted text -- > 1 quote
 $color[14]  = '#00C060'; // (green)          Color for quoted text -- >> 2 or more
 $color[15]  = '#002266'; // (dark blue)      Unselectable folders
-?>
\ No newline at end of file
index 31592fed9fe06401942d59d9a13163fa2b7e5881..0ae8ebbc9c35edd997d93070788a4d09c72ab4fb 100644 (file)
@@ -15,6 +15,7 @@
  * @subpackage themes
  */
 
  * @subpackage themes
  */
 
+global $color;
 $color[0]   = '#ffcc00'; // b  0: Title Bar at the top of the page header
 $color[1]   = '#333333'; // f  1: <not currently used>
 $color[2]   = '#ff0000'; // f  2: Error messages, usually red
 $color[0]   = '#ffcc00'; // b  0: Title Bar at the top of the page header
 $color[1]   = '#333333'; // f  1: <not currently used>
 $color[2]   = '#ff0000'; // f  2: Error messages, usually red
@@ -31,5 +32,3 @@ $color[12]  = '#eeeeee'; // b 12: Alternate color for message list [alters betwe
 $color[13]  = '#800000'; // f 13: Color for single-quoted text ('> text') when reading (default:  #800000)
 $color[14]  = '#ff0000'; // f 14: Color for text with more than one quote (default: #ff0000)
 $color[15]  = '#ffdd11'; // f 15: Non-selectable folders in the left frame (defaults to $color[6])
 $color[13]  = '#800000'; // f 13: Color for single-quoted text ('> text') when reading (default:  #800000)
 $color[14]  = '#ff0000'; // f 14: Color for text with more than one quote (default: #ff0000)
 $color[15]  = '#ffdd11'; // f 15: Non-selectable folders in the left frame (defaults to $color[6])
-
-?>
\ No newline at end of file
index 9718fdcc4ebc64d7c32a471bd8f55537c3018757..f0caa8b4e29f8623f48de310d657da62816d9b36 100644 (file)
@@ -27,5 +27,3 @@ $color[10]  = '#376589'; // Darker version of #9
 $color[11]  = '#770000'; // Special Folders color
 $color[12]  = '#ededed'; // Alternating rows color
 $color[15]  = '#001166'; // Unselectable folders
 $color[11]  = '#770000'; // Special Folders color
 $color[12]  = '#ededed'; // Alternating rows color
 $color[15]  = '#001166'; // Unselectable folders
-
-?>
\ No newline at end of file
index 21ec18e072d36ebe65b16cd948447b29a3162651..77171fb44988a546133130c1816f2cb1abadf76f 100644 (file)
@@ -29,4 +29,3 @@ $color[12]  = '#f2f3ff'; // Alternate color for message list (alters between #4
 $color[13]  = '#333333'; // Color for single-quoted text ('> text')
 $color[14]  = '#666666'; // Color for text with more than one quote ('>> text')
 $color[15]  = '#f5f9ff'; // Non-selectable folders in the left frame (defaults to #6)
 $color[13]  = '#333333'; // Color for single-quoted text ('> text')
 $color[14]  = '#666666'; // Color for text with more than one quote ('>> text')
 $color[15]  = '#f5f9ff'; // Non-selectable folders in the left frame (defaults to #6)
-?>
\ No newline at end of file
index 8920e6353797222b6a89216359302c10a2c08034..3dfa2b173caba4c9fb06c3e345fcc2acb0489cd8 100644 (file)
@@ -27,5 +27,3 @@ $color[9]   = '#877c9f'; // (mid purp)       Darker version of #0
 $color[10]  = '#726987'; // (dark purp)      Darker version of #9
 $color[11]  = '#770000'; // (dark red)       Special Folders color
 $color[12]  = '#e0d9f2';
 $color[10]  = '#726987'; // (dark purp)      Darker version of #9
 $color[11]  = '#770000'; // (dark red)       Special Folders color
 $color[12]  = '#e0d9f2';
-
-?>
\ No newline at end of file
index c93d8d8c6e85468179da3cc22ee0fd33f9603d4b..ba094253335b1678a14ce879b541d0532a6f071a 100755 (executable)
@@ -51,5 +51,3 @@ if (!sqsession_is_registered('random_theme_good_theme')) {
 }
 
 @include_once (SM_PATH . $random_theme_good_theme);
 }
 
 @include_once (SM_PATH . $random_theme_good_theme);
-
-?>
\ No newline at end of file
index 8a4433e30dc11a6e5f424b28816540b7c55a60a8..52ffed163024b1f0286d287f6cefa1617acf1bee 100644 (file)
  * @subpackage themes
  */
 
  * @subpackage themes
  */
 
-    global $color;
-    $color[0]   = '#ece9d8';
-    $color[1]   = '#800000';
-    $color[2]   = '#cc0000';
-    $color[3]   = '#aba899';
-    $color[4]   = '#ffffff';
-    $color[5]   = '#ece9d8';
-    $color[6]   = '#ffffff';
-    $color[7]   = '#0000cc';
-    $color[8]   = '#000000';
-    $color[9]   = '#aba899';
-    $color[10]  = '#666666';
-    $color[11]  = '#ffffcc';
-    $color[12]  = '#ffffcc';
-    $color[13]  = '#800000';
-    $color[14]  = '#ff0000';
-    $color[15]  = '#002266';
-?>
\ No newline at end of file
+global $color;
+$color[0]   = '#ece9d8';
+$color[1]   = '#800000';
+$color[2]   = '#cc0000';
+$color[3]   = '#aba899';
+$color[4]   = '#ffffff';
+$color[5]   = '#ece9d8';
+$color[6]   = '#ffffff';
+$color[7]   = '#0000cc';
+$color[8]   = '#000000';
+$color[9]   = '#aba899';
+$color[10]  = '#666666';
+$color[11]  = '#ffffcc';
+$color[12]  = '#ffffcc';
+$color[13]  = '#800000';
+$color[14]  = '#ff0000';
+$color[15]  = '#002266';
index b3255be9ed0ea71cda8d87e9e6b6b66fca229c94..08a54aa659d0290e846b0466c9184fb0a3f1edfc 100644 (file)
@@ -27,5 +27,3 @@ $color[9]   = '#bfa779'; // (mid tan)        Darker version of #0
 $color[10]  = '#7f6729'; // (dark tan)       Darker version of #9
 $color[11]  = '#770000'; // (dark red)       Special Folders color
 $color[15]  = '#7f6729'; // (dark tan)       Unselectable folders
 $color[10]  = '#7f6729'; // (dark tan)       Darker version of #9
 $color[11]  = '#770000'; // (dark red)       Special Folders color
 $color[15]  = '#7f6729'; // (dark tan)       Unselectable folders
-
-?>
\ No newline at end of file
index ea0b38ad7cd686f2fb044d2c8da20aebda6cc181..0895eb85fe2bdc39403be73a1e46d535c86c99d8 100644 (file)
@@ -26,5 +26,3 @@ $color[9]   = '#78a0a0';
 $color[10]  = '#386060';
 $color[11]  = '#ffffb0';
 $color[15]  = '#b0ffff';
 $color[10]  = '#386060';
 $color[11]  = '#ffffb0';
 $color[15]  = '#b0ffff';
-
-?>
\ No newline at end of file
index 653c51b0fbc0e2f0d7c0f73f355fe4abbfc6a3e6..55cb00f7257abe4a02c688ceaaad20a7ca5c78ce 100644 (file)
@@ -26,4 +26,3 @@ $color[9]   = '#c7b98b'; // (mid-gray)       Darker version of #0
 $color[10]  = '#f1eee3'; // (dark gray)      Darker version of #9
 $color[11]  = '#770000'; // (dark red)       Special Folders color
 $color[15]  = '#c7b98b'; // (mid-gray)       Unselectable folders
 $color[10]  = '#f1eee3'; // (dark gray)      Darker version of #9
 $color[11]  = '#770000'; // (dark red)       Special Folders color
 $color[15]  = '#c7b98b'; // (mid-gray)       Unselectable folders
-?>
\ No newline at end of file
index b86f621622f53d355f68397ea971eacfb436ef3a..a7ce6f7b0685b12b26919c632f806ca8d22aafab 100755 (executable)
@@ -47,26 +47,3 @@ for ($i = 0; $i <= 15; $i++) {
     /* set array element as hex string with hashmark (for HTML output) */
     $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
 }
     /* set array element as hex string with hashmark (for HTML output) */
     $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
 }
-
-
-/* Reference from  http://www.squirrelmail.org/wiki/CreatingThemes
-
-$color[0]   = '#xxxxxx';  // Title bar at the top of the page header
-$color[1]   = '#xxxxxx';  // Not currently used
-$color[2]   = '#xxxxxx';  // Error messages (usually red)
-$color[3]   = '#xxxxxx';  // Left folder list background color
-$color[4]   = '#xxxxxx';  // Normal background color
-$color[5]   = '#xxxxxx';  // Header of the message index // (From, Date,Subject)
-$color[6]   = '#xxxxxx';  // Normal text on the left folder list
-$color[7]   = '#xxxxxx';  // Links in the right frame
-$color[8]   = '#xxxxxx';  // Normal text (usually black)
-$color[9]   = '#xxxxxx';  // Darker version of #0
-$color[10]  = '#xxxxxx';  // Darker version of #9
-$color[11]  = '#xxxxxx';  // Special folders color (INBOX, Trash, Sent)
-$color[12]  = '#xxxxxx';  // Alternate color for message list // Alters between #4 and this one
-$color[13]  = '#xxxxxx';  // Color for quoted text -- > 1 quote
-$color[14]  = '#xxxxxx';  // Color for quoted text -- >> 2 or more
-
-*/
-
-?>
\ No newline at end of file
index 4aeeeb1c537a4012eb2bd51881d3392740ac3ea1..f4601401c84b77f34619c6f00838031bbd7ce8f2 100644 (file)
@@ -29,5 +29,3 @@ $color[12]  = '#d0d4de'; //       odd message background
 $color[13]  = '#ffffff'; //
 $color[14]  = '#ffffff'; //
 $color[15]  = '#d0d0d0'; //       Unselectable folders
 $color[13]  = '#ffffff'; //
 $color[14]  = '#ffffff'; //
 $color[15]  = '#d0d0d0'; //       Unselectable folders
-
-?>
\ No newline at end of file
index d13dc49214334ce9bb1abb178c7b620f0ded063b..f6a831169899d70cdc3cb66adc5d46f0f9051fdc 100644 (file)
@@ -33,4 +33,3 @@ $color[12]  = '#EDEDED'; // (light gray)     Alternate color for message list
 $color[13]  = '#6666CC'; // (dull blue)      Color for quoted text -- > 1 quote
 $color[14]  = '#333399'; // (dark blue)      Color for quoted text -- >> 2 or more
 $color[15]  = '#669966'; // (grey-green)     Unselectable folders
 $color[13]  = '#6666CC'; // (dull blue)      Color for quoted text -- > 1 quote
 $color[14]  = '#333399'; // (dark blue)      Color for quoted text -- >> 2 or more
 $color[15]  = '#669966'; // (grey-green)     Unselectable folders
-?>
\ No newline at end of file
index 86e97d35367e1391ea242f28e8cc0adfda3128c2..a4dbeaea43649cad11fd7553faffb7f0dd67c6f9 100644 (file)
@@ -29,5 +29,3 @@ $color[12] = "#EDEDED"; // (light gray) Alternate List Item Color (alternates wi
 $color[13] = "#800000"; // (dark red) > Quoted Message Text
 $color[14] = "#FF0000"; // (rec) >> Multi-Quoted Message Text (2 >'s or more)
 $color[15] = "#002266"; // (dark blue NOTE: not tested) L. Frame: unselectable folders
 $color[13] = "#800000"; // (dark red) > Quoted Message Text
 $color[14] = "#FF0000"; // (rec) >> Multi-Quoted Message Text (2 >'s or more)
 $color[15] = "#002266"; // (dark blue NOTE: not tested) L. Frame: unselectable folders
-
-?>
\ No newline at end of file
index 2666e1be1ccab661516bc88df9a1507d9a358998..ad7b5274c8b1b2e6c8406b0ef6b7b2f90977fe10 100644 (file)
@@ -33,4 +33,3 @@ $color[12]  = '#EDEDED'; // (light gray)     Alternate color for message list
 $color[13]  = '#6666CC'; // (dull blue)      Color for quoted text -- > 1 quote
 $color[14]  = '#333399'; // (dark blue)      Color for quoted text -- >> 2 or more
 $color[15]  = '#9966CC'; // (grey-purple)    Unselectable folders
 $color[13]  = '#6666CC'; // (dull blue)      Color for quoted text -- > 1 quote
 $color[14]  = '#333399'; // (dark blue)      Color for quoted text -- >> 2 or more
 $color[15]  = '#9966CC'; // (grey-purple)    Unselectable folders
-?>
\ No newline at end of file
index ea461314a0d2cbc46a2bb1ab8b6d0d9c614fdfff..22534ddc3dbce075fad53d4de3e41d3e41807e96 100644 (file)
@@ -29,5 +29,3 @@ $color[10]  = '#666666'; // (dark gray)      Darker version of #9
 $color[11]  = '#770000'; // (dark red)       Special Folders color
 $color[12]  = '#eaeaea';
 $color[15]  = '#ababab'; // (mid-gray)       Unselectable folders
 $color[11]  = '#770000'; // (dark red)       Special Folders color
 $color[12]  = '#eaeaea';
 $color[15]  = '#ababab'; // (mid-gray)       Unselectable folders
-
-?>
\ No newline at end of file
index 57d3d884d3881d270cd16978ab87a93b0e6cc308..4ac729254cc5474f8d8c0e55cca011c17bd7f273 100755 (executable)
@@ -52,26 +52,3 @@ for ($i = 0; $i <= 15; $i++) {
     /** set array element as hex string with hashmark (for HTML output) **/
     $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
 }
     /** set array element as hex string with hashmark (for HTML output) **/
     $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
 }
-
-
-/* Reference from  http://www.squirrelmail.org/wiki/CreatingThemes
-
-$color[0]   = '#xxxxxx';  // Title bar at the top of the page header
-$color[1]   = '#xxxxxx';  // Not currently used
-$color[2]   = '#xxxxxx';  // Error messages (usually red)
-$color[3]   = '#xxxxxx';  // Left folder list background color
-$color[4]   = '#xxxxxx';  // Normal background color
-$color[5]   = '#xxxxxx';  // Header of the message index // (From, Date,Subject)
-$color[6]   = '#xxxxxx';  // Normal text on the left folder list
-$color[7]   = '#xxxxxx';  // Links in the right frame
-$color[8]   = '#xxxxxx';  // Normal text (usually black)
-$color[9]   = '#xxxxxx';  // Darker version of #0
-$color[10]  = '#xxxxxx';  // Darker version of #9
-$color[11]  = '#xxxxxx';  // Special folders color (INBOX, Trash, Sent)
-$color[12]  = '#xxxxxx';  // Alternate color for message list // Alters between #4 and this one
-$color[13]  = '#xxxxxx';  // Color for quoted text -- > 1 quote
-$color[14]  = '#xxxxxx';  // Color for quoted text -- >> 2 or more
-
-*/
-
-?>
\ No newline at end of file
index eb17f92e0aa130b1ffb0521ee5e07c115620833a..dbc65bad49d120f3d4f3e813113ecca6b12b007c 100755 (executable)
@@ -52,26 +52,3 @@ for ($i = 0; $i <= 15; $i++) {
     /** set array element as hex string with hashmark (for HTML output) **/
     $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
 }
     /** set array element as hex string with hashmark (for HTML output) **/
     $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
 }
-
-
-/* Reference from  http://www.squirrelmail.org/wiki/CreatingThemes
-
-$color[0]   = '#xxxxxx';  // Title bar at the top of the page header
-$color[1]   = '#xxxxxx';  // Not currently used
-$color[2]   = '#xxxxxx';  // Error messages (usually red)
-$color[3]   = '#xxxxxx';  // Left folder list background color
-$color[4]   = '#xxxxxx';  // Normal background color
-$color[5]   = '#xxxxxx';  // Header of the message index // (From, Date,Subject)
-$color[6]   = '#xxxxxx';  // Normal text on the left folder list
-$color[7]   = '#xxxxxx';  // Links in the right frame
-$color[8]   = '#xxxxxx';  // Normal text (usually black)
-$color[9]   = '#xxxxxx';  // Darker version of #0
-$color[10]  = '#xxxxxx';  // Darker version of #9
-$color[11]  = '#xxxxxx';  // Special folders color (INBOX, Trash, Sent)
-$color[12]  = '#xxxxxx';  // Alternate color for message list // Alters between #4 and this one
-$color[13]  = '#xxxxxx';  // Color for quoted text -- > 1 quote
-$color[14]  = '#xxxxxx';  // Color for quoted text -- >> 2 or more
-
-*/
-
-?>
\ No newline at end of file
index 84aaa4f6943a54a2e1847441c0070fd24e5c63c5..941527b771fa93747a704d9350e83e5efe2211c5 100755 (executable)
@@ -52,26 +52,3 @@ for ($i = 0; $i <= 15; $i++) {
     /** set array element as hex string with hashmark (for HTML output) **/
     $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
 }
     /** set array element as hex string with hashmark (for HTML output) **/
     $color[$i] = sprintf('#%02X%02X%02X',$r,$g,$b);
 }
-
-
-/* Reference from  http://www.squirrelmail.org/wiki/CreatingThemes
-
-$color[0]   = '#xxxxxx';  // Title bar at the top of the page header
-$color[1]   = '#xxxxxx';  // Not currently used
-$color[2]   = '#xxxxxx';  // Error messages (usually red)
-$color[3]   = '#xxxxxx';  // Left folder list background color
-$color[4]   = '#xxxxxx';  // Normal background color
-$color[5]   = '#xxxxxx';  // Header of the message index // (From, Date,Subject)
-$color[6]   = '#xxxxxx';  // Normal text on the left folder list
-$color[7]   = '#xxxxxx';  // Links in the right frame
-$color[8]   = '#xxxxxx';  // Normal text (usually black)
-$color[9]   = '#xxxxxx';  // Darker version of #0
-$color[10]  = '#xxxxxx';  // Darker version of #9
-$color[11]  = '#xxxxxx';  // Special folders color (INBOX, Trash, Sent)
-$color[12]  = '#xxxxxx';  // Alternate color for message list // Alters between #4 and this one
-$color[13]  = '#xxxxxx';  // Color for quoted text -- > 1 quote
-$color[14]  = '#xxxxxx';  // Color for quoted text -- >> 2 or more
-
-*/
-
-?>
\ No newline at end of file
index db95972d1d85e8d47762e3de33342f7fae918ad4..5aa456a9b49c7dcf2cc5129783e3056be761f4e4 100644 (file)
@@ -29,4 +29,3 @@ $color[12]  = '#eaeff5'; // Alternate color for message list (alters between #4
 $color[13]  = '#4d657d'; // Color for single-quoted text ('> text')
 $color[14]  = '#4d657d'; // Color for text with more than one quote ('>> text')
 $color[15]  = '#f6faff'; // Non-selectable folders in the left frame (defaults to #6)
 $color[13]  = '#4d657d'; // Color for single-quoted text ('> text')
 $color[14]  = '#4d657d'; // Color for text with more than one quote ('>> text')
 $color[15]  = '#f6faff'; // Non-selectable folders in the left frame (defaults to #6)
-?>
\ No newline at end of file
index 1c3ac89e3ed4f63821df6e106af50624d23cbb7b..d2081170bb7e3851ac327a6cf6794acfc30773bb 100644 (file)
@@ -29,4 +29,3 @@ $color[12]  = '#dfdfdf'; // Alternate color for message list (alters between #4
 $color[13]  = '#333333'; // Color for single-quoted text ('> text')
 $color[14]  = '#666666'; // Color for text with more than one quote ('>> text')
 $color[15]  = '#ffffff'; // Non-selectable folders in the left frame (defaults to #6)
 $color[13]  = '#333333'; // Color for single-quoted text ('> text')
 $color[14]  = '#666666'; // Color for text with more than one quote ('>> text')
 $color[15]  = '#ffffff'; // Non-selectable folders in the left frame (defaults to #6)
-?>
\ No newline at end of file
index 3a0d49b13e513d128b1ee78e9f10ef2b2483a138..ab752cf2ba4aa713437c07a022c3b3647f073e4c 100644 (file)
@@ -29,5 +29,3 @@ $color[12]  = '#e4dab0'; //       odd message background
 $color[13]  = '#ffffff'; //
 $color[14]  = '#ffffff'; //
 $color[15]  = '#D0D0D0'; //       Unselectable folders
 $color[13]  = '#ffffff'; //
 $color[14]  = '#ffffff'; //
 $color[15]  = '#D0D0D0'; //       Unselectable folders
-
-?>
\ No newline at end of file