Aleksander Machniak
2012-08-08 b93f5556f20e8e5ce5c235fee11dec4c2a070060
Merge pull request #18 from sylvestre/master

Just a minor commit which fixes some typos
10 files modified
30 ■■■■ changed files
CHANGELOG 2 ●●● patch | view | raw | blame | history
plugins/acl/acl.php 2 ●●● patch | view | raw | blame | history
plugins/enigma/enigma.php 2 ●●● patch | view | raw | blame | history
plugins/subscriptions_option/subscriptions_option.php 2 ●●● patch | view | raw | blame | history
plugins/vcard_attachments/vcard_attachments.php 2 ●●● patch | view | raw | blame | history
program/include/rcube_db.php 2 ●●● patch | view | raw | blame | history
program/include/rcube_spellchecker.php 12 ●●●● patch | view | raw | blame | history
program/include/rcube_vcard.php 2 ●●● patch | view | raw | blame | history
program/lib/Mail/mime.php 2 ●●● patch | view | raw | blame | history
program/lib/Mail/mimePart.php 2 ●●● patch | view | raw | blame | history
CHANGELOG
@@ -186,7 +186,7 @@
- Fix handling contact photo url with https:// prefix (#1488202)
- Fix possible infinite redirect on attachment preview (#1488199)
- Improved clickjacking protection for browsers which don't support X-Frame-Options headers
- Fixed bug where similiar folder names were highlighted wrong (#1487860)
- Fixed bug where similar folder names were highlighted wrong (#1487860)
- Fixed bug in handling link with '!' character in it (#1488195)
- Fixed bug where session ID's length was limited to 40 characters (#1488196)
- TinyMCE security issue: removed moxieplayer (embedding flv and mp4 is not supported anymore)
plugins/acl/acl.php
@@ -615,7 +615,7 @@
    private function get_realm()
    {
        // When user enters a username without domain part, realm
        // alows to add it to the username (and display correct username in the table)
        // allows to add it to the username (and display correct username in the table)
        if (isset($_SESSION['acl_username_realm'])) {
            return $_SESSION['acl_username_realm'];
plugins/enigma/enigma.php
@@ -429,7 +429,7 @@
            $style = "margin:0 1em; padding:0.2em 0.5em; border:1px solid #999; width: auto"
                ." border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px";
            // add box below messsage body
            // add box below message body
            $p['content'] .= html::p(array('style' => $style),
                html::a(array(
                    'href' => "#",
plugins/subscriptions_option/subscriptions_option.php
@@ -9,7 +9,7 @@
 *
 * Add it to the plugins list in config/main.inc.php to enable the user option
 * The user option can be hidden and set globally by adding 'use_subscriptions'
 * to the the 'dont_override' configure line:
 * to the 'dont_override' configure line:
 * $rcmail_config['dont_override'] = array('use_subscriptions');
 * and then set the global preference
 * $rcmail_config['use_subscriptions'] = true; // or false
plugins/vcard_attachments/vcard_attachments.php
@@ -81,7 +81,7 @@
                if ($vcard->email[0])
                    $display .= ' <'.$vcard->email[0].'>';
                // add box below messsage body
                // add box below message body
                $p['content'] .= html::p(array('class' => 'vcardattachment'),
                    html::a(array(
                        'href' => "#",
program/include/rcube_db.php
@@ -196,7 +196,7 @@
    }
    /**
     * Connect to appropiate database depending on the operation
     * Connect to appropriate database depending on the operation
     *
     * @param string $mode Connection mode (r|w)
     */
program/include/rcube_spellchecker.php
@@ -124,12 +124,12 @@
    /**
     * Returns mispelled words
     * Returns misspelled words
     *
     * @param string $text The content for spellchecking. If empty content
     *                     used for check() method will be used.
     *
     * @return array List of mispelled words
     * @return array List of misspelled words
     */
    function get_words($text = null, $is_html=false)
    {
@@ -164,7 +164,7 @@
    /**
     * Returns checking result (mispelled words with suggestions)
     * Returns checking result (misspelled words with suggestions)
     *
     * @return array Spellchecking result. An array indexed by word.
     */
@@ -243,7 +243,7 @@
    /**
     * Returns the mispelled words
     * Returns the misspelled words
     */
    private function _pspell_words($text = null, $is_html=false)
    {
@@ -257,7 +257,7 @@
                return array();
            }
            // With PSpell we don't need to get suggestions to return mispelled words
            // With PSpell we don't need to get suggestions to return misspelled words
            if ($is_html) {
                $text = $this->html2text($text);
            }
@@ -289,7 +289,7 @@
    /**
     * Returns suggestions for mispelled word
     * Returns suggestions for misspelled word
     */
    private function _pspell_suggestions($word)
    {
program/include/rcube_vcard.php
@@ -703,7 +703,7 @@
   *
   * @param string vCard string to split
   * @param string Separator char/string
   * @return array List with splitted values
   * @return array List with splited values
   */
  private static function vcard_unquote($s, $sep = ';')
  {
program/lib/Mail/mime.php
@@ -1090,7 +1090,7 @@
    /**
     * Get the text version of the headers
     * (usefull if you want to use the PHP mail() function)
     * (useful if you want to use the PHP mail() function)
     *
     * @param array $xtra_headers Assoc array with any extra headers (optional)
     *                            (Don't set Content-Type for multipart messages here!)
program/lib/Mail/mimePart.php
@@ -648,7 +648,7 @@
    }
    /**
     * Encodes the paramater of a header.
     * Encodes the parameter of a header.
     *
     * @param string $name      The name of the header-parameter
     * @param string $value     The value of the paramter