@@ -10,10 +10,10 @@ discard block |
||
10 | 10 | |
11 | 11 | <div id="app-navigation"> |
12 | 12 | <ul class="with-icon"> |
13 | - <?php foreach($_['forms'] as $form) { |
|
13 | + <?php foreach ($_['forms'] as $form) { |
|
14 | 14 | if (isset($form['anchor'])) { |
15 | - $anchor = '#' . $form['anchor']; |
|
16 | - $class = 'nav-icon-' . $form['anchor']; |
|
15 | + $anchor = '#'.$form['anchor']; |
|
16 | + $class = 'nav-icon-'.$form['anchor']; |
|
17 | 17 | $sectionName = $form['section-name']; |
18 | 18 | print_unescaped(sprintf("<li><a href='%s' class='%s'>%s</a></li>", \OCP\Util::sanitizeHTML($anchor), |
19 | 19 | \OCP\Util::sanitizeHTML($class), \OCP\Util::sanitizeHTML($sectionName))); |
@@ -25,11 +25,11 @@ discard block |
||
25 | 25 | <div id="app-content"> |
26 | 26 | |
27 | 27 | <div id="quota" class="section"> |
28 | - <div style="width:<?php p($_['usage_relative']);?>%" |
|
29 | - <?php if($_['usage_relative'] > 80): ?> class="quota-warning" <?php endif; ?>> |
|
28 | + <div style="width:<?php p($_['usage_relative']); ?>%" |
|
29 | + <?php if ($_['usage_relative'] > 80): ?> class="quota-warning" <?php endif; ?>> |
|
30 | 30 | <p id="quotatext"> |
31 | 31 | <?php print_unescaped($l->t('You are using <strong>%s</strong> of <strong>%s</strong>', |
32 | - array($_['usage'], $_['total_space'])));?> |
|
32 | + array($_['usage'], $_['total_space']))); ?> |
|
33 | 33 | </p> |
34 | 34 | </div> |
35 | 35 | </div> |
@@ -74,11 +74,11 @@ discard block |
||
74 | 74 | <span class="icon-password"/> |
75 | 75 | </h2> |
76 | 76 | <input type="text" id="displayname" name="displayname" |
77 | - <?php if(!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?> |
|
77 | + <?php if (!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?> |
|
78 | 78 | value="<?php p($_['displayName']) ?>" |
79 | 79 | autocomplete="on" autocapitalize="off" autocorrect="off" /> |
80 | - <?php if(!$_['displayNameChangeSupported']) { ?> |
|
81 | - <span><?php if(isset($_['displayName']) && !empty($_['displayName'])) { p($_['displayName']); } else { p($l->t('No display name set')); } ?></span> |
|
80 | + <?php if (!$_['displayNameChangeSupported']) { ?> |
|
81 | + <span><?php if (isset($_['displayName']) && !empty($_['displayName'])) { p($_['displayName']); } else { p($l->t('No display name set')); } ?></span> |
|
82 | 82 | <?php } ?> |
83 | 83 | <span class="icon-checkmark hidden"/> |
84 | 84 | <input type="hidden" id="displaynamescope" value="<?php p($_['displayNameScope']) ?>"> |
@@ -91,13 +91,13 @@ discard block |
||
91 | 91 | <span class="icon-password"/> |
92 | 92 | </h2> |
93 | 93 | <input type="email" name="email" id="email" value="<?php p($_['email']); ?>" |
94 | - <?php if(!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?> |
|
94 | + <?php if (!$_['displayNameChangeSupported']) { print_unescaped('class="hidden"'); } ?> |
|
95 | 95 | placeholder="<?php p($l->t('Your email address')); ?>" |
96 | 96 | autocomplete="on" autocapitalize="off" autocorrect="off" /> |
97 | - <?php if(!$_['displayNameChangeSupported']) { ?> |
|
98 | - <span><?php if(isset($_['email']) && !empty($_['email'])) { p($_['email']); } else { p($l->t('No email address set')); }?></span> |
|
97 | + <?php if (!$_['displayNameChangeSupported']) { ?> |
|
98 | + <span><?php if (isset($_['email']) && !empty($_['email'])) { p($_['email']); } else { p($l->t('No email address set')); }?></span> |
|
99 | 99 | <?php } ?> |
100 | - <?php if($_['displayNameChangeSupported']) { ?> |
|
100 | + <?php if ($_['displayNameChangeSupported']) { ?> |
|
101 | 101 | <br /> |
102 | 102 | <em><?php p($l->t('For password reset and notifications')); ?></em> |
103 | 103 | <?php } ?> |
@@ -173,19 +173,19 @@ discard block |
||
173 | 173 | </div> |
174 | 174 | |
175 | 175 | <?php |
176 | -if($_['passwordChangeSupported']) { |
|
176 | +if ($_['passwordChangeSupported']) { |
|
177 | 177 | script('jquery-showpassword'); |
178 | 178 | ?> |
179 | 179 | <form id="passwordform" class="section"> |
180 | - <h2 class="inlineblock"><?php p($l->t('Password'));?></h2> |
|
180 | + <h2 class="inlineblock"><?php p($l->t('Password')); ?></h2> |
|
181 | 181 | <div id="password-error-msg" class="msg success inlineblock" style="display: none;">Saved</div> |
182 | 182 | <br> |
183 | 183 | <label for="pass1" class="hidden-visually"><?php p($l->t('Current password')); ?>: </label> |
184 | 184 | <input type="password" id="pass1" name="oldpassword" |
185 | - placeholder="<?php p($l->t('Current password'));?>" |
|
185 | + placeholder="<?php p($l->t('Current password')); ?>" |
|
186 | 186 | autocomplete="off" autocapitalize="off" autocorrect="off" /> |
187 | 187 | <div class="personal-show-container"> |
188 | - <label for="pass2" class="hidden-visually"><?php p($l->t('New password'));?>: </label> |
|
188 | + <label for="pass2" class="hidden-visually"><?php p($l->t('New password')); ?>: </label> |
|
189 | 189 | <input type="password" id="pass2" name="newpassword" |
190 | 190 | placeholder="<?php p($l->t('New password')); ?>" |
191 | 191 | data-typetoggle="#personal-show" |
@@ -201,44 +201,44 @@ discard block |
||
201 | 201 | |
202 | 202 | <form id="language" class="section"> |
203 | 203 | <h2> |
204 | - <label for="languageinput"><?php p($l->t('Language'));?></label> |
|
204 | + <label for="languageinput"><?php p($l->t('Language')); ?></label> |
|
205 | 205 | </h2> |
206 | - <select id="languageinput" name="lang" data-placeholder="<?php p($l->t('Language'));?>"> |
|
207 | - <option value="<?php p($_['activelanguage']['code']);?>"> |
|
208 | - <?php p($_['activelanguage']['name']);?> |
|
206 | + <select id="languageinput" name="lang" data-placeholder="<?php p($l->t('Language')); ?>"> |
|
207 | + <option value="<?php p($_['activelanguage']['code']); ?>"> |
|
208 | + <?php p($_['activelanguage']['name']); ?> |
|
209 | 209 | </option> |
210 | - <?php foreach($_['commonlanguages'] as $language):?> |
|
211 | - <option value="<?php p($language['code']);?>"> |
|
212 | - <?php p($language['name']);?> |
|
210 | + <?php foreach ($_['commonlanguages'] as $language):?> |
|
211 | + <option value="<?php p($language['code']); ?>"> |
|
212 | + <?php p($language['name']); ?> |
|
213 | 213 | </option> |
214 | - <?php endforeach;?> |
|
214 | + <?php endforeach; ?> |
|
215 | 215 | <optgroup label="––––––––––"></optgroup> |
216 | - <?php foreach($_['languages'] as $language):?> |
|
217 | - <option value="<?php p($language['code']);?>"> |
|
218 | - <?php p($language['name']);?> |
|
216 | + <?php foreach ($_['languages'] as $language):?> |
|
217 | + <option value="<?php p($language['code']); ?>"> |
|
218 | + <?php p($language['name']); ?> |
|
219 | 219 | </option> |
220 | - <?php endforeach;?> |
|
220 | + <?php endforeach; ?> |
|
221 | 221 | </select> |
222 | 222 | <a href="https://www.transifex.com/nextcloud/nextcloud/" |
223 | 223 | target="_blank" rel="noreferrer"> |
224 | - <em><?php p($l->t('Help translate'));?></em> |
|
224 | + <em><?php p($l->t('Help translate')); ?></em> |
|
225 | 225 | </a> |
226 | 226 | </form> |
227 | 227 | |
228 | 228 | |
229 | 229 | <div id="clientsbox" class="section clientsbox"> |
230 | - <h2><?php p($l->t('Get the apps to sync your files'));?></h2> |
|
230 | + <h2><?php p($l->t('Get the apps to sync your files')); ?></h2> |
|
231 | 231 | <a href="<?php p($_['clients']['desktop']); ?>" rel="noreferrer" target="_blank"> |
232 | 232 | <img src="<?php print_unescaped(image_path('core', 'desktopapp.svg')); ?>" |
233 | - alt="<?php p($l->t('Desktop client'));?>" /> |
|
233 | + alt="<?php p($l->t('Desktop client')); ?>" /> |
|
234 | 234 | </a> |
235 | 235 | <a href="<?php p($_['clients']['android']); ?>" rel="noreferrer" target="_blank"> |
236 | 236 | <img src="<?php print_unescaped(image_path('core', 'googleplay.png')); ?>" |
237 | - alt="<?php p($l->t('Android app'));?>" /> |
|
237 | + alt="<?php p($l->t('Android app')); ?>" /> |
|
238 | 238 | </a> |
239 | 239 | <a href="<?php p($_['clients']['ios']); ?>" rel="noreferrer" target="_blank"> |
240 | 240 | <img src="<?php print_unescaped(image_path('core', 'appstore.svg')); ?>" |
241 | - alt="<?php p($l->t('iOS app'));?>" /> |
|
241 | + alt="<?php p($l->t('iOS app')); ?>" /> |
|
242 | 242 | </a> |
243 | 243 | |
244 | 244 | <p> |
@@ -254,19 +254,19 @@ discard block |
||
254 | 254 | $l->t('If you want to support the project {contributeopen}join development{linkclose} or {contributeopen}spread the word{linkclose}!'))); ?> |
255 | 255 | </p> |
256 | 256 | |
257 | - <?php if(OC_APP::isEnabled('firstrunwizard')) {?> |
|
258 | - <p><a class="button" href="#" id="showWizard"><?php p($l->t('Show First Run Wizard again'));?></a></p> |
|
257 | + <?php if (OC_APP::isEnabled('firstrunwizard')) {?> |
|
258 | + <p><a class="button" href="#" id="showWizard"><?php p($l->t('Show First Run Wizard again')); ?></a></p> |
|
259 | 259 | <?php }?> |
260 | 260 | </div> |
261 | 261 | |
262 | 262 | <div id="sessions" class="section"> |
263 | - <h2><?php p($l->t('Sessions'));?></h2> |
|
264 | - <span class="hidden-when-empty"><?php p($l->t('Web, desktop and mobile clients currently logged in to your account.'));?></span> |
|
263 | + <h2><?php p($l->t('Sessions')); ?></h2> |
|
264 | + <span class="hidden-when-empty"><?php p($l->t('Web, desktop and mobile clients currently logged in to your account.')); ?></span> |
|
265 | 265 | <table class="icon-loading"> |
266 | 266 | <thead class="token-list-header"> |
267 | 267 | <tr> |
268 | - <th><?php p($l->t('Device'));?></th> |
|
269 | - <th><?php p($l->t('Last activity'));?></th> |
|
268 | + <th><?php p($l->t('Device')); ?></th> |
|
269 | + <th><?php p($l->t('Last activity')); ?></th> |
|
270 | 270 | <th></th> |
271 | 271 | </tr> |
272 | 272 | </thead> |
@@ -276,13 +276,13 @@ discard block |
||
276 | 276 | </div> |
277 | 277 | |
278 | 278 | <div id="apppasswords" class="section"> |
279 | - <h2><?php p($l->t('App passwords'));?></h2> |
|
280 | - <p><?php p($l->t('Passcodes that give an app or device permissions to access your account.'));?></p> |
|
279 | + <h2><?php p($l->t('App passwords')); ?></h2> |
|
280 | + <p><?php p($l->t('Passcodes that give an app or device permissions to access your account.')); ?></p> |
|
281 | 281 | <table class="icon-loading"> |
282 | 282 | <thead class="hidden-when-empty"> |
283 | 283 | <tr> |
284 | - <th><?php p($l->t('Name'));?></th> |
|
285 | - <th><?php p($l->t('Last activity'));?></th> |
|
284 | + <th><?php p($l->t('Name')); ?></th> |
|
285 | + <th><?php p($l->t('Last activity')); ?></th> |
|
286 | 286 | <th></th> |
287 | 287 | </tr> |
288 | 288 | </thead> |
@@ -311,14 +311,14 @@ discard block |
||
311 | 311 | </div> |
312 | 312 | </div> |
313 | 313 | |
314 | -<?php foreach($_['forms'] as $form) { |
|
314 | +<?php foreach ($_['forms'] as $form) { |
|
315 | 315 | if (isset($form['form'])) {?> |
316 | - <div id="<?php isset($form['anchor']) ? p($form['anchor']) : p('');?>"><?php print_unescaped($form['form']);?></div> |
|
316 | + <div id="<?php isset($form['anchor']) ? p($form['anchor']) : p(''); ?>"><?php print_unescaped($form['form']); ?></div> |
|
317 | 317 | <?php } |
318 | 318 | };?> |
319 | 319 | |
320 | 320 | <div class="section"> |
321 | - <h2><?php p($l->t('Version'));?></h2> |
|
321 | + <h2><?php p($l->t('Version')); ?></h2> |
|
322 | 322 | <p><a href="<?php print_unescaped($theme->getBaseUrl()); ?>" target="_blank"><?php p($theme->getTitle()); ?></a> <?php p(OC_Util::getHumanVersion()) ?></p> |
323 | 323 | <p><?php include('settings.development.notice.php'); ?></p> |
324 | 324 | </div> |