@@ -27,9 +27,9 @@ discard block |
||
27 | 27 | <legend><strong><?php p($l->t('Security warning'));?></strong></legend> |
28 | 28 | <p><?php p($l->t('Your data directory and files are probably accessible from the internet because the .htaccess file does not work.'));?><br> |
29 | 29 | <?php print_unescaped($l->t( |
30 | - 'For information how to properly configure your server, please see the <a href="%s" target="_blank" rel="noreferrer noopener">documentation</a>.', |
|
31 | - [link_to_docs('admin-install')] |
|
32 | - )); ?></p> |
|
30 | + 'For information how to properly configure your server, please see the <a href="%s" target="_blank" rel="noreferrer noopener">documentation</a>.', |
|
31 | + [link_to_docs('admin-install')] |
|
32 | + )); ?></p> |
|
33 | 33 | </fieldset> |
34 | 34 | <?php endif; ?> |
35 | 35 | <fieldset id="adminaccount"> |
@@ -73,10 +73,10 @@ discard block |
||
73 | 73 | <?php if (!$_['dbIsSet'] or count($_['errors']) > 0): ?> |
74 | 74 | <fieldset id='databaseBackend'> |
75 | 75 | <?php if ($_['hasMySQL'] or $_['hasPostgreSQL'] or $_['hasOracle']) { |
76 | - $hasOtherDB = true; |
|
77 | - } else { |
|
78 | - $hasOtherDB = false; |
|
79 | - } //other than SQLite?> |
|
76 | + $hasOtherDB = true; |
|
77 | + } else { |
|
78 | + $hasOtherDB = false; |
|
79 | + } //other than SQLite?> |
|
80 | 80 | <legend><?php p($l->t('Configure the database')); ?></legend> |
81 | 81 | <div id="selectDbType"> |
82 | 82 | <?php foreach ($_['databases'] as $type => $label): ?> |
@@ -30,18 +30,18 @@ discard block |
||
30 | 30 | <h2><?php p($l->t('Calendar server')); ?></h2> |
31 | 31 | <p class="settings-hint"> |
32 | 32 | <?php print_unescaped(str_replace( |
33 | - [ |
|
34 | - '{calendarappstoreopen}', |
|
35 | - '{calendardocopen}', |
|
36 | - '{linkclose}', |
|
37 | - ], |
|
38 | - [ |
|
39 | - '<a target="_blank" href="../apps/office/calendar">', |
|
40 | - '<a target="_blank" href="' . link_to_docs('user-sync-calendars') . '" rel="noreferrer noopener">', |
|
41 | - '</a>', |
|
42 | - ], |
|
43 | - $l->t('Also install the {calendarappstoreopen}Calendar app{linkclose}, or {calendardocopen}connect your desktop & mobile for syncing ↗{linkclose}.') |
|
44 | - )); ?> |
|
33 | + [ |
|
34 | + '{calendarappstoreopen}', |
|
35 | + '{calendardocopen}', |
|
36 | + '{linkclose}', |
|
37 | + ], |
|
38 | + [ |
|
39 | + '<a target="_blank" href="../apps/office/calendar">', |
|
40 | + '<a target="_blank" href="' . link_to_docs('user-sync-calendars') . '" rel="noreferrer noopener">', |
|
41 | + '</a>', |
|
42 | + ], |
|
43 | + $l->t('Also install the {calendarappstoreopen}Calendar app{linkclose}, or {calendardocopen}connect your desktop & mobile for syncing ↗{linkclose}.') |
|
44 | + )); ?> |
|
45 | 45 | </p> |
46 | 46 | <p> |
47 | 47 | <input type="checkbox" name="caldav_send_invitations" id="caldavSendInvitations" class="checkbox" |
@@ -50,16 +50,16 @@ discard block |
||
50 | 50 | <br> |
51 | 51 | <em> |
52 | 52 | <?php print_unescaped(str_replace( |
53 | - [ |
|
54 | - '{emailopen}', |
|
55 | - '{linkclose}', |
|
56 | - ], |
|
57 | - [ |
|
58 | - '<a href="../admin#mail_general_settings">', |
|
59 | - '</a>', |
|
60 | - ], |
|
61 | - $l->t('Please make sure to properly set up {emailopen}the email server{linkclose}.') |
|
62 | - )); ?> |
|
53 | + [ |
|
54 | + '{emailopen}', |
|
55 | + '{linkclose}', |
|
56 | + ], |
|
57 | + [ |
|
58 | + '<a href="../admin#mail_general_settings">', |
|
59 | + '</a>', |
|
60 | + ], |
|
61 | + $l->t('Please make sure to properly set up {emailopen}the email server{linkclose}.') |
|
62 | + )); ?> |
|
63 | 63 | </em> |
64 | 64 | </p> |
65 | 65 | <p> |
@@ -77,16 +77,16 @@ discard block |
||
77 | 77 | <br> |
78 | 78 | <em> |
79 | 79 | <?php print_unescaped(str_replace( |
80 | - [ |
|
81 | - '{emailopen}', |
|
82 | - '{linkclose}', |
|
83 | - ], |
|
84 | - [ |
|
85 | - '<a href="../admin#mail_general_settings">', |
|
86 | - '</a>', |
|
87 | - ], |
|
88 | - $l->t('Please make sure to properly set up {emailopen}the email server{linkclose}.') |
|
89 | - )); ?> |
|
80 | + [ |
|
81 | + '{emailopen}', |
|
82 | + '{linkclose}', |
|
83 | + ], |
|
84 | + [ |
|
85 | + '<a href="../admin#mail_general_settings">', |
|
86 | + '</a>', |
|
87 | + ], |
|
88 | + $l->t('Please make sure to properly set up {emailopen}the email server{linkclose}.') |
|
89 | + )); ?> |
|
90 | 90 | </em> |
91 | 91 | <br> |
92 | 92 | <em><?php p($l->t('Notifications are sent via background jobs, so these must occur often enough.')); ?></em> |
@@ -34,16 +34,16 @@ |
||
34 | 34 | use function script; |
35 | 35 | |
36 | 36 | class LoadAdditionalSettingsScriptsListener implements IEventListener { |
37 | - public function handle(Event $event): void { |
|
38 | - if (!function_exists('style')) { |
|
39 | - // This is hacky, but we need to load the template class |
|
40 | - class_exists(Template::class, true); |
|
41 | - } |
|
37 | + public function handle(Event $event): void { |
|
38 | + if (!function_exists('style')) { |
|
39 | + // This is hacky, but we need to load the template class |
|
40 | + class_exists(Template::class, true); |
|
41 | + } |
|
42 | 42 | |
43 | - script('core', 'dist/systemtags'); |
|
43 | + script('core', 'dist/systemtags'); |
|
44 | 44 | |
45 | - script(Application::APP_ID, [ |
|
46 | - 'workflowengine', |
|
47 | - ]); |
|
48 | - } |
|
45 | + script(Application::APP_ID, [ |
|
46 | + 'workflowengine', |
|
47 | + ]); |
|
48 | + } |
|
49 | 49 | } |