|
5 | 5 | </svg> |
6 | 6 | <?= t('Site Metadata') ?> |
7 | 7 | </h2> |
8 | | - |
9 | 8 | <div class="metadata-form-wrapper"> |
10 | 9 | <form class="metadata-form panel" method="post" action="<?= $this->url->href('ApplicationBrandingController', 'save', array('redirect' => 'show', 'plugin' => 'ApplicationBranding')) ?>" autocomplete="on"> |
11 | | - <?= $this->form->csrf() ?> |
12 | | - <fieldset class="site-name-metadata"> |
13 | | - <legend class=""><?= t('Site Name') ?></legend> |
14 | | - <div class="site-name-wrapper"> |
15 | | - <p class=""> |
16 | | - <?= e('The site name can be changed in the %s.', $this->url->link(t('Application Settings'), 'ConfigController', 'application', array(), false, 'application-link', t('Go to Application Settings'), false, 'AppBrandingSettings')) ?> |
17 | | - </p> |
18 | | - </div> |
19 | | - </fieldset> |
20 | | - <fieldset class="site-desc-metadata"> |
21 | | - <legend class=""><?= t('Site Description') ?></legend> |
22 | | - <div class="metadata-wrapper"> |
23 | | - <p class=""> |
24 | | - <?= e('The meta description applies across the site except for the %s page.', $this->url->link(t('Reset Password'), 'PasswordResetController', 'create', array(), false, 'application-link', t('Opens in a new window'), true)) ?> |
25 | | - </p> |
26 | | - <?= $this->form->label(t('Meta Description'), 'meta_description', array('class="meta-desc"')) ?> |
27 | | - <?= $this->form->text('meta_description', $values, $errors, array('placeholder="'. t('Use this kanban platform to manage your productivity using tasks inside project boards to track files, comments and activities.') .'"'), 'meta-desc-text') ?> |
28 | | - <p class="form-help"><?= t('The generic description will be used if this field is left empty') ?></p> |
29 | | - <details class="generic-desc"> |
30 | | - <summary><?= t('Generic Description') ?></summary> |
31 | | - <p class="generic-desc-text"><?= t('Use this kanban platform to manage your productivity using tasks inside project boards to track files, comments and activities.') ?></p> |
32 | | - </details> |
33 | | - <details class="reset-desc"> |
34 | | - <summary><?= t('Reset Password Page Description') ?></summary> |
35 | | - <p class="reset-desc-text"><?= t('Change your password for this kanban platform.') ?></p> |
36 | | - </details> |
37 | | - </div> |
38 | | - <div class="form-actions"> |
39 | | - <button type="submit" class="btn btn-blue"><?= t('Save Settings') ?></button> |
40 | | - </div> |
41 | | - </fieldset> |
42 | | - <fieldset class="device-icons-metadata"> |
43 | | - <legend class=""><?= t('Device Icons') ?></legend> |
44 | | - <div class="icons-wrapper"> |
45 | | - <p class=""> |
46 | | - <?= t('The images below are used for various devices and become most useful when sharing and saving links. The icons are all based on the generic image included with this plugin.') ?> |
47 | | - </p> |
48 | | - |
49 | | - <?php |
50 | | - $files = array_diff( scandir('plugins/ApplicationBranding/Assets/img/favicon/'), array('.', '..') ); |
51 | | - ?> |
52 | | - |
53 | | - <h4 class=""><?= t('Included Icons') ?> |
54 | | - <span>(<?= (count($files)-2) ?>)</span> |
55 | | - </h4> |
56 | | - <ul class="icon-list"> |
| 10 | + <?= $this->form->csrf() ?> |
| 11 | + <fieldset class="site-name-metadata"> |
| 12 | + <legend class=""><?= t('Site Name') ?></legend> |
| 13 | + <div class="site-name-wrapper"> |
| 14 | + <p class=""> |
| 15 | + <?= e('The site name can be changed in the %s.', $this->url->link(t('Application Settings'), 'ConfigController', 'application', array(), false, 'application-link', t('Go to Application Settings'), false, 'AppBrandingSettings')) ?> |
| 16 | + </p> |
| 17 | + </div> |
| 18 | + </fieldset> |
| 19 | + <fieldset class="site-desc-metadata"> |
| 20 | + <legend class=""><?= t('Site Description') ?></legend> |
| 21 | + <div class="metadata-wrapper"> |
| 22 | + <p class=""> |
| 23 | + <?= e('The meta description applies across the site except for the %s page.', $this->url->link(t('Reset Password'), 'PasswordResetController', 'create', array(), false, 'application-link', t('Opens in a new window'), true)) ?> |
| 24 | + </p> |
| 25 | + <?= $this->form->label(t('Meta Description'), 'meta_description', array('class="meta-desc"')) ?> |
| 26 | + <?= $this->form->text('meta_description', $values, $errors, array('placeholder="' . t('Use this kanban platform to manage your productivity using tasks inside project boards to track files, comments and activities.') . '"'), 'meta-desc-text') ?> |
| 27 | + <p class="form-help"><?= t('The generic description will be used if this field is left empty') ?></p> |
| 28 | + <details class="generic-desc"> |
| 29 | + <summary><?= t('Generic Description') ?></summary> |
| 30 | + <p class="generic-desc-text"><?= t('Use this kanban platform to manage your productivity using tasks inside project boards to track files, comments and activities.') ?></p> |
| 31 | + </details> |
| 32 | + <details class="reset-desc"> |
| 33 | + <summary><?= t('Reset Password Page Description') ?></summary> |
| 34 | + <p class="reset-desc-text"><?= t('Change your password for this kanban platform.') ?></p> |
| 35 | + </details> |
| 36 | + </div> |
| 37 | + <div class="form-actions"> |
| 38 | + <button type="submit" class="btn btn-blue"><?= t('Save Settings') ?></button> |
| 39 | + </div> |
| 40 | + </fieldset> |
| 41 | + <fieldset class="device-icons-metadata"> |
| 42 | + <legend class=""><?= t('Device Icons') ?></legend> |
| 43 | + <div class="icons-wrapper"> |
| 44 | + <p class=""> |
| 45 | + <?= t('The images below are used for various devices and become most useful when sharing and saving links. The icons are all based on the generic image included with this plugin.') ?> |
| 46 | + </p> |
57 | 47 |
|
58 | | - <?php foreach ($files as $file): ?> |
59 | | - <?php if ((!$this->text->contains($file, '.webmanifest')) && (!$this->text->contains($file, '.xml'))): ?> |
60 | | - <li class=""> |
61 | | - <span class="filename"><?= $file ?></span> |
62 | | - </li> |
63 | | - <?php endif ?> |
64 | | - <?php endforeach ?> |
| 48 | + <?php $files = array_diff(scandir('plugins/ApplicationBranding/Assets/img/favicon/'), array('.', '..')); ?> |
65 | 49 |
|
66 | | - </ul> |
67 | | - </div> |
68 | | - </fieldset> |
| 50 | + <h4 class=""><?= t('Included Icons') ?> |
| 51 | + <span>(<?= (count($files) - 2) ?>)</span> |
| 52 | + </h4> |
| 53 | + <ul class="icon-list"> |
| 54 | + <?php foreach ($files as $file): ?> |
| 55 | + <?php if ((!$this->text->contains($file, '.webmanifest')) && (!$this->text->contains($file, '.xml'))): ?> |
| 56 | + <li class=""> |
| 57 | + <span class="filename"><?= $file ?></span> |
| 58 | + </li> |
| 59 | + <?php endif ?> |
| 60 | + <?php endforeach ?> |
| 61 | + </ul> |
| 62 | + </div> |
| 63 | + </fieldset> |
69 | 64 | </form> |
70 | 65 | </div> |
71 | 66 | </div> |
0 commit comments