@@ -148,13 +148,13 @@ |
||
| 148 | 148 | } |
| 149 | 149 | |
| 150 | 150 | /** |
| 151 | - * Inserts a link detector to the given HTML source. All outgoing |
|
| 152 | - * HTTP links in the source HTML are replaced with the given |
|
| 153 | - * link detector address so that the token "URL" is replaced with |
|
| 154 | - * encoded form of the original link. It is expected that the link detector |
|
| 155 | - * address points to a script that records the passed link and |
|
| 156 | - * forwards the client to the real link target. |
|
| 157 | - */ |
|
| 151 | + * Inserts a link detector to the given HTML source. All outgoing |
|
| 152 | + * HTTP links in the source HTML are replaced with the given |
|
| 153 | + * link detector address so that the token "URL" is replaced with |
|
| 154 | + * encoded form of the original link. It is expected that the link detector |
|
| 155 | + * address points to a script that records the passed link and |
|
| 156 | + * forwards the client to the real link target. |
|
| 157 | + */ |
|
| 158 | 158 | private function _insert_link_detector(string $html, string $address) : string |
| 159 | 159 | { |
| 160 | 160 | $address = addslashes($address); |
@@ -261,17 +261,17 @@ |
||
| 261 | 261 | private static $_default_magic_class_privileges = []; |
| 262 | 262 | |
| 263 | 263 | /** |
| 264 | - * Internal cache of the content privileges of users on content objects, this is |
|
| 265 | - * an associative array using a combination of the user identifier and the object's |
|
| 266 | - * guid as index. The privileges for the anonymous user use the magic |
|
| 267 | - * EVERYONE as user identifier. |
|
| 268 | - * |
|
| 269 | - * This must not be merged with the class-wide privileges_cache, because otherwise |
|
| 270 | - * class_default_privileges for child objects might be overridden by parent default |
|
| 271 | - * privileges |
|
| 272 | - * |
|
| 273 | - * @var array |
|
| 274 | - */ |
|
| 264 | + * Internal cache of the content privileges of users on content objects, this is |
|
| 265 | + * an associative array using a combination of the user identifier and the object's |
|
| 266 | + * guid as index. The privileges for the anonymous user use the magic |
|
| 267 | + * EVERYONE as user identifier. |
|
| 268 | + * |
|
| 269 | + * This must not be merged with the class-wide privileges_cache, because otherwise |
|
| 270 | + * class_default_privileges for child objects might be overridden by parent default |
|
| 271 | + * privileges |
|
| 272 | + * |
|
| 273 | + * @var array |
|
| 274 | + */ |
|
| 275 | 275 | private static $_content_privileges_cache = []; |
| 276 | 276 | |
| 277 | 277 | /** |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | echo '<span class="toolbar_label">' . $data['l10n_midcom']->get('delete') . '</span></a></li>'; |
| 24 | 24 | if ( midcom::get()->config->get('auth_allow_trusted') === true |
| 25 | 25 | && $data['person']->can_do('org.openpsa.user:su')) { |
| 26 | - echo '<li><a class="button" href="' . $data['router']->generate('account_su', ['guid' => $data['person']->guid]) . '">' . $data['l10n']->get('switch to user') . "</a></li>\n"; |
|
| 26 | + echo '<li><a class="button" href="' . $data['router']->generate('account_su', ['guid' => $data['person']->guid]) . '">' . $data['l10n']->get('switch to user') . "</a></li>\n"; |
|
| 27 | 27 | } |
| 28 | 28 | echo "</ul>\n"; |
| 29 | 29 | } |
@@ -9,11 +9,11 @@ |
||
| 9 | 9 | use midcom\datamanager\indexer\client; |
| 10 | 10 | use midcom\datamanager\datamanager; |
| 11 | 11 | |
| 12 | - /** |
|
| 13 | - * Indexer client class |
|
| 14 | - * |
|
| 15 | - * @package org.openpsa.invoices |
|
| 16 | - */ |
|
| 12 | + /** |
|
| 13 | + * Indexer client class |
|
| 14 | + * |
|
| 15 | + * @package org.openpsa.invoices |
|
| 16 | + */ |
|
| 17 | 17 | class org_openpsa_invoices_midcom_indexer extends client |
| 18 | 18 | { |
| 19 | 19 | public function prepare_document(midcom_services_indexer_document $document, datamanager $dm) |