@@ -74,12 +74,12 @@ |
||
74 | 74 | <tr> |
75 | 75 | <td class="title"><?php echo $data['l10n']->get('cost'); ?></td> |
76 | 76 | <?php |
77 | - if ($data['deliverable']->costType == '%') { ?> |
|
77 | + if ($data['deliverable']->costType == '%') { ?> |
|
78 | 78 | <td class="numeric"><?php echo $view['costPerUnit']; ?> %</td> |
79 | 79 | <td class="numeric"> </td> |
80 | 80 | <td class="numeric"> </td> |
81 | 81 | <?php |
82 | - } else { ?> |
|
82 | + } else { ?> |
|
83 | 83 | <td class="numeric"><?php echo $formatter->number($data['deliverable']->costPerUnit); ?></td> |
84 | 84 | <td class="numeric"><?php echo $view['plannedUnits']; ?></td> |
85 | 85 | <td class="numeric"><?php echo $view['units']; ?></td> |
@@ -65,17 +65,17 @@ |
||
65 | 65 | <tr> |
66 | 66 | <td class="title"><?php echo $data['l10n']->get('cost'); ?></td> |
67 | 67 | <?php |
68 | - if ($data['deliverable']->costType == '%') { ?> |
|
68 | + if ($data['deliverable']->costType == '%') { ?> |
|
69 | 69 | <td class="numeric"><?php echo $view['costPerUnit']; ?> %</td> |
70 | 70 | <td class="numeric"> </td> |
71 | 71 | <td class="numeric"> </td> |
72 | 72 | <?php |
73 | - } else { ?> |
|
73 | + } else { ?> |
|
74 | 74 | <td class="numeric"><?php echo $formatter->number($data['deliverable']->costPerUnit); ?></td> |
75 | 75 | <td class="numeric"><?php echo $view['plannedUnits']; ?></td> |
76 | 76 | <td class="numeric"><?php echo $view['units']; ?></td> |
77 | 77 | <?php |
78 | - } ?> |
|
78 | + } ?> |
|
79 | 79 | <td class="numeric"><?php echo $formatter->number($data['deliverable']->cost); ?></td> |
80 | 80 | </tr> |
81 | 81 | </tbody> |
@@ -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 | /** |