From b25dfd0913f2ca5666124740c30156fa0a6abaef Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Wed, 23 Jun 2010 05:55:08 -0400
Subject: [PATCH] - removed PHP closing tag

---
 program/include/main.inc                   |    1 
 program/steps/mail/compose.inc             |    2 
 program/steps/addressbook/mailto.inc       |    1 
 program/steps/addressbook/delete.inc       |    2 
 program/steps/mail/show.inc                |    2 
 program/steps/settings/manage_folders.inc  |    2 
 index.php                                  |    3 -
 program/steps/settings/delete_identity.inc |    2 
 program/steps/utils/html2text.inc          |    2 
 program/steps/settings/func.inc            |    1 
 program/steps/addressbook/show.inc         |    1 
 program/steps/mail/mark.inc                |    2 
 program/steps/utils/killcache.inc          |    2 
 program/steps/addressbook/copy.inc         |    1 
 program/steps/settings/identities.inc      |    1 
 program/include/html.php                   |    1 
 program/include/rcube_ldap.php             |    1 
 program/steps/mail/viewsource.inc          |    2 
 config/main.inc.php.dist                   |    2 
 program/steps/utils/spell.inc              |    2 
 program/steps/mail/headers.inc             |    2 
 program/steps/mail/sendmdn.inc             |    2 -
 program/steps/settings/save_prefs.inc      |    2 
 program/steps/mail/copy.inc                |    2 
 program/steps/mail/move_del.inc            |    2 
 program/steps/utils/spell_googie.inc       |    2 
 program/steps/addressbook/groups.inc       |    1 
 program/steps/mail/list.inc                |    1 
 program/steps/addressbook/import.inc       |    2 -
 program/include/rcube_sqlite.inc           |    3 -
 program/steps/utils/error.inc              |    2 
 program/steps/mail/attachments.inc         |    1 
 program/steps/mail/getunread.inc           |    2 
 program/steps/addressbook/search.inc       |    2 -
 program/steps/addressbook/list.inc         |    1 
 config/db.inc.php.dist                     |    2 
 program/steps/utils/modcss.inc             |    2 
 program/include/rcube_shared.inc           |    1 
 program/steps/utils/spell_pspell.inc       |    2 
 program/steps/mail/folders.inc             |    2 
 program/steps/mail/check_recent.inc        |    2 
 program/steps/mail/func.inc                |    2 
 program/steps/addressbook/export.inc       |    1 
 program/steps/mail/addcontact.inc          |    2 
 program/steps/addressbook/edit.inc         |    2 
 program/steps/addressbook/save.inc         |    2 
 program/steps/settings/edit_prefs.inc      |    4 +-
 program/steps/addressbook/func.inc         |    1 
 program/steps/settings/save_identity.inc   |    2 
 program/include/rcube_browser.php          |    2 
 program/steps/mail/sendmail.inc            |    2 
 program/steps/settings/edit_identity.inc   |    2 
 program/steps/mail/search.inc              |    2 
 program/steps/mail/autocomplete.inc        |    1 
 program/steps/mail/get.inc                 |    2 
 program/include/rcube_imap_generic.php     |    1 
 56 files changed, 37 insertions(+), 62 deletions(-)

diff --git a/config/db.inc.php.dist b/config/db.inc.php.dist
index 30502cc..3137e51 100644
--- a/config/db.inc.php.dist
+++ b/config/db.inc.php.dist
@@ -70,4 +70,4 @@
 
 
 // end db config file
-?>
+
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 1d05958..6eeeeee 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -559,4 +559,4 @@
 $rcmail_config['delete_always'] = false;
 
 // end of config file
-?>
+
diff --git a/index.php b/index.php
index a226b54..6a9a748 100644
--- a/index.php
+++ b/index.php
@@ -274,5 +274,4 @@
   'line' => __LINE__,
   'file' => __FILE__,
   'message' => "Invalid request"), true, true);
-                      
-?>
+
diff --git a/program/include/html.php b/program/include/html.php
index 0930f58..54a6cde 100644
--- a/program/include/html.php
+++ b/program/include/html.php
@@ -719,4 +719,3 @@
     }
 }
 
-?>
diff --git a/program/include/main.inc b/program/include/main.inc
index fff9652..8b8a7d2 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -1730,4 +1730,3 @@
     }
 }
 
-?>
diff --git a/program/include/rcube_browser.php b/program/include/rcube_browser.php
index aa3782b..1e30fc3 100644
--- a/program/include/rcube_browser.php
+++ b/program/include/rcube_browser.php
@@ -69,5 +69,5 @@
         $this->pngalpha = $this->mz || $this->safari || ($this->ie && $this->ver>=5.5) ||
             ($this->ie && $this->ver>=5 && $this->mac) || ($this->opera && $this->ver>=7) ? true : false;
     }
-  }
+}
 
diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php
index 451f980..9aa8797 100644
--- a/program/include/rcube_imap_generic.php
+++ b/program/include/rcube_imap_generic.php
@@ -2236,4 +2236,3 @@
 
 }
 
-?>
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index b548276..2754794 100644
--- a/program/include/rcube_ldap.php
+++ b/program/include/rcube_ldap.php
@@ -732,4 +732,3 @@
 
 }
 
-?>
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc
index a643f44..7952627 100644
--- a/program/include/rcube_shared.inc
+++ b/program/include/rcube_shared.inc
@@ -674,4 +674,3 @@
     }
 }
 
-?>
diff --git a/program/include/rcube_sqlite.inc b/program/include/rcube_sqlite.inc
index cc80865..fd05119 100644
--- a/program/include/rcube_sqlite.inc
+++ b/program/include/rcube_sqlite.inc
@@ -73,5 +73,4 @@
 {
     //console($str);
 }
-  
-?>
+
diff --git a/program/steps/addressbook/copy.inc b/program/steps/addressbook/copy.inc
index 525f927..1b93872 100644
--- a/program/steps/addressbook/copy.inc
+++ b/program/steps/addressbook/copy.inc
@@ -91,4 +91,3 @@
 // send response
 $OUTPUT->send();
 
-?>
diff --git a/program/steps/addressbook/delete.inc b/program/steps/addressbook/delete.inc
index da83757..ba0ac0f 100644
--- a/program/steps/addressbook/delete.inc
+++ b/program/steps/addressbook/delete.inc
@@ -49,4 +49,4 @@
   }
 
 exit;
-?>
+
diff --git a/program/steps/addressbook/edit.inc b/program/steps/addressbook/edit.inc
index 3e2d8c5..96a2f39 100644
--- a/program/steps/addressbook/edit.inc
+++ b/program/steps/addressbook/edit.inc
@@ -110,4 +110,4 @@
 
 // this will be executed if no template for addcontact exists
 $OUTPUT->send('editcontact');
-?>
+
diff --git a/program/steps/addressbook/export.inc b/program/steps/addressbook/export.inc
index 7e6855e..15d1e72 100644
--- a/program/steps/addressbook/export.inc
+++ b/program/steps/addressbook/export.inc
@@ -41,4 +41,3 @@
 
 exit;
 
-?>
diff --git a/program/steps/addressbook/func.inc b/program/steps/addressbook/func.inc
index c044fc3..a43acd9 100644
--- a/program/steps/addressbook/func.inc
+++ b/program/steps/addressbook/func.inc
@@ -236,4 +236,3 @@
   'searchform' => array($OUTPUT, 'search_form')
 ));
 
-?>
diff --git a/program/steps/addressbook/groups.inc b/program/steps/addressbook/groups.inc
index c98d4d8..004096a 100644
--- a/program/steps/addressbook/groups.inc
+++ b/program/steps/addressbook/groups.inc
@@ -98,4 +98,3 @@
 // send response
 $OUTPUT->send();
 
-?>
diff --git a/program/steps/addressbook/import.inc b/program/steps/addressbook/import.inc
index ace9ad3..9ba1c1d 100644
--- a/program/steps/addressbook/import.inc
+++ b/program/steps/addressbook/import.inc
@@ -188,5 +188,3 @@
 
 // render page
 $OUTPUT->send('importcontacts');
-
-?>
\ No newline at end of file
diff --git a/program/steps/addressbook/list.inc b/program/steps/addressbook/list.inc
index 71b9379..cc8c0bb 100644
--- a/program/steps/addressbook/list.inc
+++ b/program/steps/addressbook/list.inc
@@ -32,4 +32,3 @@
 // send response
 $OUTPUT->send();
 
-?>
\ No newline at end of file
diff --git a/program/steps/addressbook/mailto.inc b/program/steps/addressbook/mailto.inc
index 002c4e8..4b4f524 100644
--- a/program/steps/addressbook/mailto.inc
+++ b/program/steps/addressbook/mailto.inc
@@ -47,4 +47,3 @@
 // send response
 $OUTPUT->send();
 
-?>
\ No newline at end of file
diff --git a/program/steps/addressbook/save.inc b/program/steps/addressbook/save.inc
index 168d995..a277008 100644
--- a/program/steps/addressbook/save.inc
+++ b/program/steps/addressbook/save.inc
@@ -131,4 +131,4 @@
   }
 }
 
-?>
+
diff --git a/program/steps/addressbook/search.inc b/program/steps/addressbook/search.inc
index 790db06..e5ace24 100644
--- a/program/steps/addressbook/search.inc
+++ b/program/steps/addressbook/search.inc
@@ -49,5 +49,3 @@
   
 // send response
 $OUTPUT->send();
-
-?>
\ No newline at end of file
diff --git a/program/steps/addressbook/show.inc b/program/steps/addressbook/show.inc
index 8ceaac2..f3bea30 100644
--- a/program/steps/addressbook/show.inc
+++ b/program/steps/addressbook/show.inc
@@ -72,4 +72,3 @@
 //$OUTPUT->framed = $_framed;
 $OUTPUT->add_handler('contactdetails', 'rcmail_contact_details');
 $OUTPUT->send('showcontact');
-?>
\ No newline at end of file
diff --git a/program/steps/mail/addcontact.inc b/program/steps/mail/addcontact.inc
index 23e6579..20a49a1 100644
--- a/program/steps/mail/addcontact.inc
+++ b/program/steps/mail/addcontact.inc
@@ -60,4 +60,4 @@
   $OUTPUT->show_message('errorsavingcontact', 'warning');
 
 $OUTPUT->send();
-?>
+
diff --git a/program/steps/mail/attachments.inc b/program/steps/mail/attachments.inc
index 2b4a590..dca7272 100644
--- a/program/steps/mail/attachments.inc
+++ b/program/steps/mail/attachments.inc
@@ -152,4 +152,3 @@
 $OUTPUT->command('auto_save_start', false);
 $OUTPUT->send('iframe');
 
-?>
diff --git a/program/steps/mail/autocomplete.inc b/program/steps/mail/autocomplete.inc
index 4fbea1f..4b6b6f9 100644
--- a/program/steps/mail/autocomplete.inc
+++ b/program/steps/mail/autocomplete.inc
@@ -85,4 +85,3 @@
   return strcoll(trim($name_a, '" '), trim($name_b, '" '));
 }
 
-?>
diff --git a/program/steps/mail/check_recent.inc b/program/steps/mail/check_recent.inc
index 3031bf7..19d4fb8 100644
--- a/program/steps/mail/check_recent.inc
+++ b/program/steps/mail/check_recent.inc
@@ -84,4 +84,4 @@
 
 $OUTPUT->send();
 
-?>
+
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc
index 6f183d3..a0b68d2 100644
--- a/program/steps/mail/compose.inc
+++ b/program/steps/mail/compose.inc
@@ -1134,4 +1134,4 @@
 
 $OUTPUT->send('compose');
 
-?>
+
diff --git a/program/steps/mail/copy.inc b/program/steps/mail/copy.inc
index 3ddae61..175994f 100644
--- a/program/steps/mail/copy.inc
+++ b/program/steps/mail/copy.inc
@@ -54,4 +54,4 @@
 // send response
 $OUTPUT->send();
 
-?>
+
diff --git a/program/steps/mail/folders.inc b/program/steps/mail/folders.inc
index a4d71d2..ce3406c 100644
--- a/program/steps/mail/folders.inc
+++ b/program/steps/mail/folders.inc
@@ -71,4 +71,4 @@
 
 $OUTPUT->send($commands);
 
-?>
+
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index 805f0af..9118326 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1606,4 +1606,4 @@
   'searchform' => array($OUTPUT, 'search_form'),
 ));
 
-?>
+
diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc
index 89180dd..9ebdf43 100644
--- a/program/steps/mail/get.inc
+++ b/program/steps/mail/get.inc
@@ -129,4 +129,4 @@
 header('HTTP/1.1 404 Not Found');
 exit;
 
-?>
+
diff --git a/program/steps/mail/getunread.inc b/program/steps/mail/getunread.inc
index 625e3dc..af927fc 100644
--- a/program/steps/mail/getunread.inc
+++ b/program/steps/mail/getunread.inc
@@ -42,4 +42,4 @@
 
 $OUTPUT->send();
 
-?>
+
diff --git a/program/steps/mail/headers.inc b/program/steps/mail/headers.inc
index aa10655..5d071cc 100644
--- a/program/steps/mail/headers.inc
+++ b/program/steps/mail/headers.inc
@@ -47,4 +47,4 @@
 
 exit;
 
-?>
+
diff --git a/program/steps/mail/list.inc b/program/steps/mail/list.inc
index cf38551..69d03b3 100644
--- a/program/steps/mail/list.inc
+++ b/program/steps/mail/list.inc
@@ -102,5 +102,4 @@
 // send response
 $OUTPUT->send();
 
-?>
 
diff --git a/program/steps/mail/mark.inc b/program/steps/mail/mark.inc
index 973ce68..6d102af 100644
--- a/program/steps/mail/mark.inc
+++ b/program/steps/mail/mark.inc
@@ -123,4 +123,4 @@
 }
 
 exit;
-?>
+
diff --git a/program/steps/mail/move_del.inc b/program/steps/mail/move_del.inc
index 11eb242..3947ad1 100644
--- a/program/steps/mail/move_del.inc
+++ b/program/steps/mail/move_del.inc
@@ -135,4 +135,4 @@
 // send response
 $OUTPUT->send();
 
-?>
+
diff --git a/program/steps/mail/search.inc b/program/steps/mail/search.inc
index 5246995..e512e79 100644
--- a/program/steps/mail/search.inc
+++ b/program/steps/mail/search.inc
@@ -134,4 +134,4 @@
 $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($count, 1));
 $OUTPUT->send();
 
-?>
+
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc
index e229234..91f374c 100644
--- a/program/steps/mail/sendmail.inc
+++ b/program/steps/mail/sendmail.inc
@@ -695,4 +695,4 @@
   $OUTPUT->send('iframe');
   }
 
-?>
+
diff --git a/program/steps/mail/sendmdn.inc b/program/steps/mail/sendmdn.inc
index ba6d37f..880c5c5 100644
--- a/program/steps/mail/sendmdn.inc
+++ b/program/steps/mail/sendmdn.inc
@@ -40,5 +40,3 @@
 }
 
 $OUTPUT->send();
-
-?>
\ No newline at end of file
diff --git a/program/steps/mail/show.inc b/program/steps/mail/show.inc
index 71cbf70..69b30eb 100644
--- a/program/steps/mail/show.inc
+++ b/program/steps/mail/show.inc
@@ -228,4 +228,4 @@
 
 exit;
 
-?>
+
diff --git a/program/steps/mail/viewsource.inc b/program/steps/mail/viewsource.inc
index 2e2228a..a110238 100644
--- a/program/steps/mail/viewsource.inc
+++ b/program/steps/mail/viewsource.inc
@@ -56,4 +56,4 @@
 }
 
 exit;
-?>
+
diff --git a/program/steps/settings/delete_identity.inc b/program/steps/settings/delete_identity.inc
index 3d8e242..a62a052 100644
--- a/program/steps/settings/delete_identity.inc
+++ b/program/steps/settings/delete_identity.inc
@@ -49,4 +49,4 @@
 // go to identities page
 rcmail_overwrite_action('identities');
 
-?>
+
diff --git a/program/steps/settings/edit_identity.inc b/program/steps/settings/edit_identity.inc
index d0f3581..e46d98e 100644
--- a/program/steps/settings/edit_identity.inc
+++ b/program/steps/settings/edit_identity.inc
@@ -135,4 +135,4 @@
 
 $OUTPUT->send('editidentity');
 
-?>
+
diff --git a/program/steps/settings/edit_prefs.inc b/program/steps/settings/edit_prefs.inc
index 06ae250..b5fd0b9 100644
--- a/program/steps/settings/edit_prefs.inc
+++ b/program/steps/settings/edit_prefs.inc
@@ -55,7 +55,7 @@
       $out .= html::tag('fieldset', null, html::tag('legend', null, $block['name']) . $table->show($attrib));
       }
     }
-								      
+
   return $out . $form_end;
 }
 
@@ -75,4 +75,4 @@
 
 $OUTPUT->send('settingsedit');
 
-?>
+
diff --git a/program/steps/settings/func.inc b/program/steps/settings/func.inc
index f22cad8..d71714b 100644
--- a/program/steps/settings/func.inc
+++ b/program/steps/settings/func.inc
@@ -729,4 +729,3 @@
   'identitieslist' => 'rcmail_identities_list',
 ));
 
-?>
diff --git a/program/steps/settings/identities.inc b/program/steps/settings/identities.inc
index e480f36..ca332da 100644
--- a/program/steps/settings/identities.inc
+++ b/program/steps/settings/identities.inc
@@ -45,4 +45,3 @@
 $OUTPUT->set_env('identities_level', IDENTITIES_LEVEL);
 
 $OUTPUT->send('identities');
-?>
\ No newline at end of file
diff --git a/program/steps/settings/manage_folders.inc b/program/steps/settings/manage_folders.inc
index 54dd0bd..e3231ac 100644
--- a/program/steps/settings/manage_folders.inc
+++ b/program/steps/settings/manage_folders.inc
@@ -427,4 +427,4 @@
 $OUTPUT->add_label('deletefolderconfirm','addsubfolderhint','forbiddencharacter','folderdeleting','folderrenaming','foldercreating','foldermoving');
 
 $OUTPUT->send('managefolders');
-?>
+
diff --git a/program/steps/settings/save_identity.inc b/program/steps/settings/save_identity.inc
index d36114c..ea8c3b1 100644
--- a/program/steps/settings/save_identity.inc
+++ b/program/steps/settings/save_identity.inc
@@ -123,4 +123,4 @@
 // go to next step
 rcmail_overwrite_action('identities');
 
-?>
+
diff --git a/program/steps/settings/save_prefs.inc b/program/steps/settings/save_prefs.inc
index 215ec44..dd30486 100644
--- a/program/steps/settings/save_prefs.inc
+++ b/program/steps/settings/save_prefs.inc
@@ -160,4 +160,4 @@
 // display the form again
 rcmail_overwrite_action('edit-prefs');
 
-?>
+
diff --git a/program/steps/utils/error.inc b/program/steps/utils/error.inc
index 364c953..083a256 100644
--- a/program/steps/utils/error.inc
+++ b/program/steps/utils/error.inc
@@ -126,4 +126,4 @@
 EOF;
 
 exit;
-?>
+
diff --git a/program/steps/utils/html2text.inc b/program/steps/utils/html2text.inc
index ff2b40e..2327f7f 100644
--- a/program/steps/utils/html2text.inc
+++ b/program/steps/utils/html2text.inc
@@ -25,4 +25,4 @@
 print trim($converter->get_text());
 exit;
 
-?>
+
diff --git a/program/steps/utils/killcache.inc b/program/steps/utils/killcache.inc
index a2e7b3e..b49d36c 100644
--- a/program/steps/utils/killcache.inc
+++ b/program/steps/utils/killcache.inc
@@ -49,4 +49,4 @@
 echo "Cache cleared\n";
 exit;
 
-?>
+
diff --git a/program/steps/utils/modcss.inc b/program/steps/utils/modcss.inc
index 2224901..00d9433 100644
--- a/program/steps/utils/modcss.inc
+++ b/program/steps/utils/modcss.inc
@@ -95,4 +95,4 @@
 echo $error;
 exit;
 
-?>
+
diff --git a/program/steps/utils/spell.inc b/program/steps/utils/spell.inc
index dab5695..d0fbcb9 100644
--- a/program/steps/utils/spell.inc
+++ b/program/steps/utils/spell.inc
@@ -25,4 +25,4 @@
 header('HTTP/1.1 404 Not Found');
 exit;
 
-?>
+
diff --git a/program/steps/utils/spell_googie.inc b/program/steps/utils/spell_googie.inc
index ec60f48..038559c 100644
--- a/program/steps/utils/spell_googie.inc
+++ b/program/steps/utils/spell_googie.inc
@@ -70,4 +70,4 @@
 print $store;
 exit;
 
-?>
+
diff --git a/program/steps/utils/spell_pspell.inc b/program/steps/utils/spell_pspell.inc
index f892f89..2c9c233 100644
--- a/program/steps/utils/spell_pspell.inc
+++ b/program/steps/utils/spell_pspell.inc
@@ -75,4 +75,4 @@
 echo $out;
 exit;
 
-?>
+

--
Gitblit v1.9.1