@@ -35,7 +35,7 @@ |
||
35 | 35 | </div> |
36 | 36 | |
37 | 37 | <?php |
38 | - //TODO: necessary JS stuff to load details (which should in turn include the invoice's own relatedtos) via AHAH |
|
39 | - org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']); |
|
40 | - ?> |
|
38 | + //TODO: necessary JS stuff to load details (which should in turn include the invoice's own relatedtos) via AHAH |
|
39 | + org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']); |
|
40 | + ?> |
|
41 | 41 | </li> |
@@ -27,7 +27,7 @@ |
||
27 | 27 | <div id="org_openpsa_relatedto_details_&(salesproject.guid);" class="details hidden" style="display: none;"> |
28 | 28 | </div> |
29 | 29 | <?php |
30 | - //TODO: necessary JS stuff to load details (which should in turn include the invoice's own relatedtos) via AHAH |
|
31 | - org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']); |
|
32 | - ?> |
|
30 | + //TODO: necessary JS stuff to load details (which should in turn include the invoice's own relatedtos) via AHAH |
|
31 | + org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']); |
|
32 | + ?> |
|
33 | 33 | </li> |
@@ -31,7 +31,7 @@ |
||
31 | 31 | <div id="org_openpsa_relatedto_details_&(document.guid);" class="details hidden" style="display: none;"> |
32 | 32 | </div> |
33 | 33 | <?php |
34 | - //TODO: get correct node and via it then handle details trough AHAH (and when we have node we can use proper link in document_url as well |
|
35 | - org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']); |
|
36 | - ?> |
|
34 | + //TODO: get correct node and via it then handle details trough AHAH (and when we have node we can use proper link in document_url as well |
|
35 | + org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']); |
|
36 | + ?> |
|
37 | 37 | </li> |
@@ -25,6 +25,6 @@ |
||
25 | 25 | </div> |
26 | 26 | <?php |
27 | 27 | //TODO: necessary JS stuff to load details (which should in turn include the events own relatedtos) via AHAH |
28 | - org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']); |
|
29 | - ?> |
|
28 | + org_openpsa_relatedto_handler_relatedto::render_line_controls($link, $data['other_obj']); |
|
29 | + ?> |
|
30 | 30 | </li> |
@@ -474,7 +474,7 @@ |
||
474 | 474 | { |
475 | 475 | return |
476 | 476 | ( |
477 | - $this->string_exists($string, $this->_language) |
|
477 | + $this->string_exists($string, $this->_language) |
|
478 | 478 | || $this->string_exists($string, $this->_fallback_language) |
479 | 479 | ); |
480 | 480 | } |
@@ -58,7 +58,6 @@ |
||
58 | 58 | * @property string $revisor The person that modified the object, read-only. |
59 | 59 | * @property integer $approved The time of approval of the object, or 0 if not approved. Set automatically through approve/unapprove. |
60 | 60 | * @property string $approver The person that approved/unapproved the object. Set automatically through approve/unapprove. |
61 | - |
|
62 | 61 | * @package midcom.helper |
63 | 62 | */ |
64 | 63 | class midcom_helper_metadata |
@@ -407,7 +407,7 @@ |
||
407 | 407 | |
408 | 408 | $parent = $parent->get_parent_group(); |
409 | 409 | } |
410 | - */ |
|
410 | + */ |
|
411 | 411 | $this->_inheritance_chains[$id] = $inheritance_chain; |
412 | 412 | } |
413 | 413 | } |
@@ -252,9 +252,9 @@ |
||
252 | 252 | break; |
253 | 253 | case 'delete': |
254 | 254 | if (empty($_POST['guids'])) { |
255 | - throw new midcom_error('Invalid request'); |
|
256 | - } |
|
257 | - break; |
|
255 | + throw new midcom_error('Invalid request'); |
|
256 | + } |
|
257 | + break; |
|
258 | 258 | default: |
259 | 259 | throw new midcom_error('Invalid request'); |
260 | 260 | } |
@@ -104,7 +104,7 @@ |
||
104 | 104 | $this->add('Setting: upload_max_filesize', self::OK, ini_get('upload_max_filesize')); |
105 | 105 | } else { |
106 | 106 | $this->add('Setting: upload_max_filesize', |
107 | - self::WARNING, "To make bulk uploads (for exampe in the Image Gallery) useful, you should increase the Upload limit to something above 50 MB. (Current setting: {$upload_limit})"); |
|
107 | + self::WARNING, "To make bulk uploads (for exampe in the Image Gallery) useful, you should increase the Upload limit to something above 50 MB. (Current setting: {$upload_limit})"); |
|
108 | 108 | } |
109 | 109 | |
110 | 110 | $post_limit = $this->ini_get_filesize('post_max_size'); |