Aleksander Machniak
2012-08-12 413df054ad3235c59c24e897b616c569adc4f67b
CS fixes (mostly tab -> spaces)
11 files modified
22 ■■■■■ changed files
program/include/clisetup.php 7 ●●●● patch | view | raw | blame | history
program/include/html.php 12 ●●●●● patch | view | raw | blame | history
program/include/rcube_cache.php patch | view | raw | blame | history
program/include/rcube_config.php patch | view | raw | blame | history
program/include/rcube_imap.php patch | view | raw | blame | history
program/include/rcube_ldap.php patch | view | raw | blame | history
program/include/rcube_plugin_api.php patch | view | raw | blame | history
program/include/rcube_session.php 3 ●●●● patch | view | raw | blame | history
program/include/rcube_smtp.php patch | view | raw | blame | history
program/include/rcube_user.php patch | view | raw | blame | history
program/include/rcube_utils.php patch | view | raw | blame | history
program/include/clisetup.php
@@ -34,6 +34,7 @@
function get_opt($aliases = array())
{
    $args = array();
    for ($i=1; $i < count($_SERVER['argv']); $i++) {
        $arg = $_SERVER['argv'][$i];
        $value = true;
@@ -52,12 +53,14 @@
            $args[$key] = is_string($value) ? preg_replace(array('/^["\']/', '/["\']$/'), '', $value) : $value;
        }
        else
        else {
            $args[] = $arg;
        }
        if ($alias = $aliases[$key])
        if ($alias = $aliases[$key]) {
            $args[$alias] = $args[$key];
    }
    }
    return $args;
}
program/include/html.php
@@ -705,8 +705,9 @@
     */
    public function add_header($attr, $cont)
    {
        if (is_string($attr))
        if (is_string($attr)) {
            $attr = array('class' => $attr);
        }
        $cell = new stdClass;
        $cell->attrib = $attr;
@@ -763,11 +764,13 @@
     */
    public function set_row_attribs($attr = array(), $index = null)
    {
        if (is_string($attr))
        if (is_string($attr)) {
            $attr = array('class' => $attr);
        }
        if ($index === null)
        if ($index === null) {
            $index = $this->rowindex;
        }
        $this->rows[$index]->attrib = $attr;
    }
@@ -781,8 +784,9 @@
     */
    public function get_row_attribs($index = null)
    {
        if ($index === null)
        if ($index === null) {
            $index = $this->rowindex;
        }
        return $this->rows[$index] ? $this->rows[$index]->attrib : null;
    }
program/include/rcube_cache.php
program/include/rcube_config.php
program/include/rcube_imap.php
program/include/rcube_ldap.php
program/include/rcube_plugin_api.php
program/include/rcube_session.php
@@ -569,6 +569,7 @@
    $this->ip_check = $check;
  }
  
  /**
   * Setter for the cookie name used for session cookie
   */
@@ -637,7 +638,7 @@
  }
  /**
   *
   * Writes debug information to the log
   */
  function log($line)
  {
program/include/rcube_smtp.php
program/include/rcube_user.php
program/include/rcube_utils.php