steffen: server/kolab-webadmin/kolab-webadmin/php/admin/include Sieve.php, NONE, 1.1 auth.class.php, NONE, 1.1 authenticate.php, NONE, 1.1 debug.php, NONE, 1.1 form.class.php, NONE, 1.1 headers.php, NONE, 1.1 ldap.class.php, NONE, 1.1 menu.php, NONE, 1.1 mysmarty.php, NONE, 1.1

cvs at intevation.de cvs at intevation.de
Mon May 17 17:24:28 CEST 2004


Author: steffen

Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/php/admin/include
In directory doto:/tmp/cvs-serv23429/kolab-webadmin/php/admin/include

Added Files:
	Sieve.php auth.class.php authenticate.php debug.php 
	form.class.php headers.php ldap.class.php menu.php 
	mysmarty.php 
Log Message:
new webinterface for the kolab server

--- NEW FILE: Sieve.php ---
<?php
// +-----------------------------------------------------------------------+
// | Copyright (c) 2002-2003, Richard Heyes                                     |
// | All rights reserved.                                                  |
// |                                                                       |
// | Redistribution and use in source and binary forms, with or without    |
// | modification, are permitted provided that the following conditions    |
// | are met:                                                              |
// |                                                                       |
// | o Redistributions of source code must retain the above copyright      |
// |   notice, this list of conditions and the following disclaimer.       |
// | o Redistributions in binary form must reproduce the above copyright   |
// |   notice, this list of conditions and the following disclaimer in the |
// |   documentation and/or other materials provided with the distribution.|
// | o The names of the authors may not be used to endorse or promote      |
// |   products derived from this software without specific prior written  |
// |   permission.                                                         |
// |                                                                       |
// | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS   |
[...1129 lines suppressed...]
            $code=7;
            return $this->_raiseError($msg,$code);
            //return PEAR::raiseError('Not currently connected');
        }

        if(is_array($this->_capability['sasl'] ) ){
            foreach( $this->_capability['sasl'] as $ext){
                if( trim( strtolower( $ext ) ) === trim( strtolower( $method ) ) )
                    return true;
            }
        }
        return false;
    }





}
?>

--- NEW FILE: auth.class.php ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: authenticate.php ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: debug.php ---
<?php
function getmicrotime() { 
    list($usec, $sec) = explode(" ", microtime()); 
    return ((float)$usec + (float)$sec); 
}
function debug($str) {
  print $str.'<br/>';
}
function backtrace() {
  $debug_array = debug_backtrace();
  $counter = count($debug_array);
  for($tmp_counter = 0; $tmp_counter != $counter; ++$tmp_counter) {
  ?>
 <table width="558" height="116" border="1" cellpadding="0" cellspacing="0" bordercolor="#000000">
    <tr>
    <td height="38" bgcolor="#D6D7FC"><font color="#000000">function <font color="#FF3300"><?
    echo($debug_array[$tmp_counter]["function"]);?>(</font> <font color="#2020F0">
    <?php
    //count how many args a there
    $args_counter = count($debug_array[$tmp_counter]["args"]);
    //print them
    for($tmp_args_counter = 0; $tmp_args_counter != $args_counter; ++$tmp_args_counter) {
      echo($debug_array[$tmp_counter]["args"][$tmp_args_counter]);
      
      if(($tmp_args_counter + 1) != $args_counter) {
	echo(", ");
      } else {
	echo(" ");
      }
    }
    ?></font><font color="#FF3300">)</font></font></td></tr><tr>
    <td bgcolor="#5F72FA"><font color="#FFFFFF">{</font><br>
      <font color="#FFFFFF">     file:
       <?php echo($debug_array[$tmp_counter]["file"]);?></font><br>
        <font color="#FFFFFF">     line:
       <?php echo($debug_array[$tmp_counter]["line"]);?></font><br>
	<font color="#FFFFFF">}</font></td></tr></table>
       <?php
	if(($tmp_counter + 1) != $counter) {
	  echo("<br>was called by:<br>");
	}
  }
  //exit();
}
?>
--- NEW FILE: form.class.php ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: headers.php ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: ldap.class.php ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: menu.php ---
(This appears to be a binary file; contents omitted.)

--- NEW FILE: mysmarty.php ---
(This appears to be a binary file; contents omitted.)





More information about the commits mailing list