@@ -19,8 +19,8 @@ |
||
| 19 | 19 | // or an uncoditional redirect to this file or copy groupdav.htaccess to your docroot as .htaccess |
| 20 | 20 | if ($_SERVER['REQUEST_METHOD'] == 'PROPFIND' || $_SERVER['REQUEST_METHOD'] == 'OPTIONS') |
| 21 | 21 | { |
| 22 | - header('Location: groupdav.php/'); |
|
| 23 | - exit; |
|
| 22 | + header('Location: groupdav.php/'); |
|
| 23 | + exit; |
|
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | // forward for not existing or empty header to setup |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | * @param string $id folder id |
| 191 | 191 | * @param int $cutoffdate =null |
| 192 | 192 | * @return array |
| 193 | - */ |
|
| 193 | + */ |
|
| 194 | 194 | function GetMessageList($id, $cutoffdate=NULL) |
| 195 | 195 | { |
| 196 | 196 | unset($cutoffdate); // not used, but required by function signature |
@@ -477,7 +477,7 @@ discard block |
||
| 477 | 477 | * |
| 478 | 478 | * @param $folderid |
| 479 | 479 | * @param $id |
| 480 | - * @param ContentParameters $contentParameters |
|
| 480 | + * @param ContentParameters $contentParameters |
|
| 481 | 481 | * |
| 482 | 482 | * @return boolean true on success, false on error, diffbackend does NOT use the returnvalue |
| 483 | 483 | * |
@@ -25,11 +25,11 @@ |
||
| 25 | 25 | // Used in conversions |
| 26 | 26 | static $types = array( |
| 27 | 27 | 'select' => array('info_type', 'info_status', 'info_priority', 'pl_id'), |
| 28 | - 'select-cat' => array('info_cat'), |
|
| 29 | - 'select-account' => array('info_owner','info_responsible','info_modifier'), |
|
| 30 | - 'date-time' => array('info_startdate', 'info_enddate','info_datecompleted', 'info_datemodified','info_created'), |
|
| 28 | + 'select-cat' => array('info_cat'), |
|
| 29 | + 'select-account' => array('info_owner','info_responsible','info_modifier'), |
|
| 30 | + 'date-time' => array('info_startdate', 'info_enddate','info_datecompleted', 'info_datemodified','info_created'), |
|
| 31 | 31 | 'links' => array('info_link_id'), |
| 32 | - ); |
|
| 32 | + ); |
|
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * constructor |
@@ -74,10 +74,10 @@ discard block |
||
| 74 | 74 | private $boinfolog; |
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | - * For figuring out if a record has changed |
|
| 78 | - * |
|
| 79 | - * @var infolog_tracking:: |
|
| 80 | - */ |
|
| 77 | + * For figuring out if a record has changed |
|
| 78 | + * |
|
| 79 | + * @var infolog_tracking:: |
|
| 80 | + */ |
|
| 81 | 81 | protected $tracking; |
| 82 | 82 | |
| 83 | 83 | /** |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | protected $errors = array(); |
| 102 | 102 | |
| 103 | 103 | /** |
| 104 | - * List of actions, and how many times that action was taken |
|
| 104 | + * List of actions, and how many times that action was taken |
|
| 105 | 105 | */ |
| 106 | 106 | protected $results = array(); |
| 107 | 107 | |
@@ -466,37 +466,37 @@ discard block |
||
| 466 | 466 | } |
| 467 | 467 | |
| 468 | 468 | /** |
| 469 | - * Returns warnings that were encountered during importing |
|
| 470 | - * Maximum of one warning message per record, but you can append if you need to |
|
| 471 | - * |
|
| 472 | - * @return Array ( |
|
| 473 | - * record_# => warning message |
|
| 474 | - * ) |
|
| 475 | - */ |
|
| 469 | + * Returns warnings that were encountered during importing |
|
| 470 | + * Maximum of one warning message per record, but you can append if you need to |
|
| 471 | + * |
|
| 472 | + * @return Array ( |
|
| 473 | + * record_# => warning message |
|
| 474 | + * ) |
|
| 475 | + */ |
|
| 476 | 476 | public function get_warnings() { |
| 477 | 477 | return $this->warnings; |
| 478 | 478 | } |
| 479 | 479 | |
| 480 | 480 | /** |
| 481 | - * Returns errors that were encountered during importing |
|
| 482 | - * Maximum of one error message per record, but you can append if you need to |
|
| 483 | - * |
|
| 484 | - * @return Array ( |
|
| 485 | - * record_# => error message |
|
| 486 | - * ) |
|
| 487 | - */ |
|
| 481 | + * Returns errors that were encountered during importing |
|
| 482 | + * Maximum of one error message per record, but you can append if you need to |
|
| 483 | + * |
|
| 484 | + * @return Array ( |
|
| 485 | + * record_# => error message |
|
| 486 | + * ) |
|
| 487 | + */ |
|
| 488 | 488 | public function get_errors() { |
| 489 | 489 | return $this->errors; |
| 490 | 490 | } |
| 491 | 491 | |
| 492 | 492 | /** |
| 493 | - * Returns a list of actions taken, and the number of records for that action. |
|
| 494 | - * Actions are things like 'insert', 'update', 'delete', and may be different for each plugin. |
|
| 495 | - * |
|
| 496 | - * @return Array ( |
|
| 497 | - * action => record count |
|
| 498 | - * ) |
|
| 499 | - */ |
|
| 493 | + * Returns a list of actions taken, and the number of records for that action. |
|
| 494 | + * Actions are things like 'insert', 'update', 'delete', and may be different for each plugin. |
|
| 495 | + * |
|
| 496 | + * @return Array ( |
|
| 497 | + * action => record count |
|
| 498 | + * ) |
|
| 499 | + */ |
|
| 500 | 500 | public function get_results() { |
| 501 | 501 | return $this->results; |
| 502 | 502 | } |
@@ -109,8 +109,8 @@ |
||
| 109 | 109 | */ |
| 110 | 110 | public function get_selectors_etpl() { |
| 111 | 111 | return array( |
| 112 | - 'name' => 'infolog.export_csv_selectors', |
|
| 113 | - 'content' => 'search' |
|
| 114 | - ); |
|
| 112 | + 'name' => 'infolog.export_csv_selectors', |
|
| 113 | + 'content' => 'search' |
|
| 114 | + ); |
|
| 115 | 115 | } |
| 116 | 116 | } |
@@ -225,7 +225,7 @@ |
||
| 225 | 225 | |
| 226 | 226 | if ($show_links != 'none' && $show_links != 'no_describtion' && |
| 227 | 227 | $link['link_id'] != $info['info_link_id'] && |
| 228 | - ($link['app'] != $action || $link['id'] != $action_id) && |
|
| 228 | + ($link['app'] != $action || $link['id'] != $action_id) && |
|
| 229 | 229 | ($show_links == 'all' || ($show_links == 'links') === ($link['app'] != Link::VFS_APPNAME))) |
| 230 | 230 | { |
| 231 | 231 | $info['filelinks'][] = $link; |
@@ -67,10 +67,10 @@ discard block |
||
| 67 | 67 | var $productName = ''; |
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | - * Shall we use the UID extensions of the description field? |
|
| 71 | - * |
|
| 72 | - * @var boolean |
|
| 73 | - */ |
|
| 70 | + * Shall we use the UID extensions of the description field? |
|
| 71 | + * |
|
| 72 | + * @var boolean |
|
| 73 | + */ |
|
| 74 | 74 | var $uidExtension = false; |
| 75 | 75 | |
| 76 | 76 | /** |
@@ -509,10 +509,10 @@ discard block |
||
| 509 | 509 | * @param boolean $merge =false merge data with existing entry (no longer used) |
| 510 | 510 | * @param int $user =null delegate new task to this account_id, default null |
| 511 | 511 | * @param string $charset =null The encoding charset for $text. Defaults to |
| 512 | - * utf-8 for new format, iso-8859-1 for old format. |
|
| 513 | - * @param string $caldav_name =null CalDAV URL name-part for new entries |
|
| 514 | - * @param array $callback_data =null array with callback and further parameters, first param is task to save |
|
| 515 | - * signature array callback($task, $param1, ...) |
|
| 512 | + * utf-8 for new format, iso-8859-1 for old format. |
|
| 513 | + * @param string $caldav_name =null CalDAV URL name-part for new entries |
|
| 514 | + * @param array $callback_data =null array with callback and further parameters, first param is task to save |
|
| 515 | + * signature array callback($task, $param1, ...) |
|
| 516 | 516 | * @return int|boolean integer info_id or false on error |
| 517 | 517 | */ |
| 518 | 518 | function importVTODO(&$_vcalData, $_taskID=-1, $merge=false, $user=null, $charset=null, $caldav_name=null, |
@@ -597,7 +597,7 @@ discard block |
||
| 597 | 597 | * @param int $contentID =null infolog_id (or null, if unkown) |
| 598 | 598 | * @param boolean $relax =false if true, a weaker match algorithm is used |
| 599 | 599 | * @param string $charset The encoding charset for $text. Defaults to |
| 600 | - * utf-8 for new format, iso-8859-1 for old format. |
|
| 600 | + * utf-8 for new format, iso-8859-1 for old format. |
|
| 601 | 601 | * |
| 602 | 602 | * @return array of infolog_ids of matching entries |
| 603 | 603 | */ |
@@ -642,8 +642,8 @@ discard block |
||
| 642 | 642 | * @param string $_vcalData VTODO data |
| 643 | 643 | * @param int $_taskID =-1 infolog_id of the entry |
| 644 | 644 | * @param string $charset The encoding charset for $text. Defaults to |
| 645 | - * utf-8 for new format, iso-8859-1 for old format. |
|
| 646 | - * |
|
| 645 | + * utf-8 for new format, iso-8859-1 for old format. |
|
| 646 | + * |
|
| 647 | 647 | * @return array infolog entry or false on error |
| 648 | 648 | */ |
| 649 | 649 | function vtodotoegw($_vcalData, $_taskID=-1, $charset=null) |
@@ -1010,8 +1010,8 @@ discard block |
||
| 1010 | 1010 | * @param int $_noteID =-1 info_id, default -1 = new entry |
| 1011 | 1011 | * @param boolean $merge =false merge data with existing entry (no longer used) |
| 1012 | 1012 | * @param string $charset The encoding charset for $text. Defaults to |
| 1013 | - * utf-8 for new format, iso-8859-1 for old format. |
|
| 1014 | - * |
|
| 1013 | + * utf-8 for new format, iso-8859-1 for old format. |
|
| 1014 | + * |
|
| 1015 | 1015 | * @return int|boolean integer info_id or false on error |
| 1016 | 1016 | */ |
| 1017 | 1017 | function importVNOTE(&$_vcalData, $_type, $_noteID=-1, $merge=false, $charset=null) |
@@ -1045,7 +1045,7 @@ discard block |
||
| 1045 | 1045 | * @param int $contentID=null infolog_id (or null, if unkown) |
| 1046 | 1046 | * @param boolean $relax=false if true, a weaker match algorithm is used |
| 1047 | 1047 | * @param string $charset The encoding charset for $text. Defaults to |
| 1048 | - * utf-8 for new format, iso-8859-1 for old format. |
|
| 1048 | + * utf-8 for new format, iso-8859-1 for old format. |
|
| 1049 | 1049 | * |
| 1050 | 1050 | * @return infolog_id of a matching entry or false, if nothing was found |
| 1051 | 1051 | */ |
@@ -1067,8 +1067,8 @@ discard block |
||
| 1067 | 1067 | * @param string $_type content type (eg.g text/plain) |
| 1068 | 1068 | * @param int $_noteID =-1 infolog_id of the entry |
| 1069 | 1069 | * @param string $charset The encoding charset for $text. Defaults to |
| 1070 | - * utf-8 for new format, iso-8859-1 for old format. |
|
| 1071 | - * |
|
| 1070 | + * utf-8 for new format, iso-8859-1 for old format. |
|
| 1071 | + * |
|
| 1072 | 1072 | * @return array infolog entry or false on error |
| 1073 | 1073 | */ |
| 1074 | 1074 | function vnotetoegw($_data, $_type, $_noteID=-1, $charset=null) |
@@ -2,7 +2,7 @@ |
||
| 2 | 2 | // dummy setup file |
| 3 | 3 | if (strpos($_SERVER['PHP_SELF'],'/setup/') === false) |
| 4 | 4 | { |
| 5 | - header('Location: /egroupware/setup/'); |
|
| 6 | - exit; |
|
| 5 | + header('Location: /egroupware/setup/'); |
|
| 6 | + exit; |
|
| 7 | 7 | } |
| 8 | 8 | |
@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Egroupware |
|
| 4 | - * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License |
|
| 5 | - * @package home |
|
| 6 | - * @subpackage portlet |
|
| 7 | - * @link http://www.egroupware.org |
|
| 8 | - * @author Nathan Gray |
|
| 9 | - * @version $Id$ |
|
| 10 | - */ |
|
| 3 | + * Egroupware |
|
| 4 | + * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License |
|
| 5 | + * @package home |
|
| 6 | + * @subpackage portlet |
|
| 7 | + * @link http://www.egroupware.org |
|
| 8 | + * @author Nathan Gray |
|
| 9 | + * @version $Id$ |
|
| 10 | + */ |
|
| 11 | 11 | |
| 12 | 12 | use EGroupware\Api; |
| 13 | 13 | use EGroupware\Api\Etemplate; |