summaryrefslogtreecommitdiff
path: root/manager/application/views/scripts/manage-account
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2015-08-09 19:12:51 +0200
committerBenny Baumann <BenBE@geshi.org>2015-08-09 22:23:21 +0200
commit4edd7b57c0057f9cfab0874a198256b87bd018b7 (patch)
tree2a623eade7fea29bda28e15692991821448c8fe1 /manager/application/views/scripts/manage-account
parentce38587c8459587d7a03002ebcb4427ed95fb85c (diff)
downloadcacert-mgr-4edd7b57c0057f9cfab0874a198256b87bd018b7.tar.gz
cacert-mgr-4edd7b57c0057f9cfab0874a198256b87bd018b7.tar.xz
cacert-mgr-4edd7b57c0057f9cfab0874a198256b87bd018b7.zip
bug 1396: Codestyle cleanup
Diffstat (limited to 'manager/application/views/scripts/manage-account')
-rw-r--r--manager/application/views/scripts/manage-account/assurance.phtml16
-rw-r--r--manager/application/views/scripts/manage-account/batch-assurance-form.phtml22
-rw-r--r--manager/application/views/scripts/manage-account/batch-assurance.phtml32
3 files changed, 35 insertions, 35 deletions
diff --git a/manager/application/views/scripts/manage-account/assurance.phtml b/manager/application/views/scripts/manage-account/assurance.phtml
index db45e0a..79e1b19 100644
--- a/manager/application/views/scripts/manage-account/assurance.phtml
+++ b/manager/application/views/scripts/manage-account/assurance.phtml
@@ -9,12 +9,12 @@
<p><?php print I18n::_('The following assurances were added to your account:')?></p>
<table>
- <thead>
- <tr><th>#</th><th><?php print I18n::_('Number of points')?></th></tr>
- </thead>
- <tbody>
- <?php foreach ($this->assurancesDone as $i => $points) {
- printf('<tr><td> %1$d </td><td> %2$d </td></tr>', $i, $points);
- }?>
- </tbody>
+ <thead>
+ <tr><th>#</th><th><?php print I18n::_('Number of points')?></th></tr>
+ </thead>
+ <tbody>
+ <?php foreach ($this->assurancesDone as $i => $points) {
+ printf('<tr><td> %1$d </td><td> %2$d </td></tr>', $i, $points);
+ }?>
+ </tbody>
</table>
diff --git a/manager/application/views/scripts/manage-account/batch-assurance-form.phtml b/manager/application/views/scripts/manage-account/batch-assurance-form.phtml
index 3a68691..0fc829f 100644
--- a/manager/application/views/scripts/manage-account/batch-assurance-form.phtml
+++ b/manager/application/views/scripts/manage-account/batch-assurance-form.phtml
@@ -7,22 +7,22 @@
<h1><?php print I18n::_('Do Multiple Assurances at Once') ?></h1>
<p><?php print I18n::_('Assure multiple dummy accounts in one step. '.
- 'The assurances look just like normal assurances and can be used to gain '.
+ 'The assurances look just like normal assurances and can be used to gain '.
'experience points without suffering from RSI (also known as mouse arm).')
?></p>
<p><?php print I18n::_('The amount of points given per Assurance can be '.
- 'specified in two ways:') ?></p>
+ 'specified in two ways:') ?></p>
<dl>
- <dt><?php print I18n::_('Percentage') ?></dt>
- <dd><?php print I18n::_('n percent of the maximal possible points are '.
- 'given per Assurance. If it\'s not an integer it is rounded down to '.
- 'the next integer') ?></dd>
- <dt><?php print I18n::_('Absolute') ?></dt>
- <dd><?php print I18n::_('Exactly n points are given. If n exceeds the '.
- 'current maximum of points that may be given, it is set to the '.
- 'maximum until due to the gained experience points more points may be '.
- 'given') ?></dd>
+ <dt><?php print I18n::_('Percentage') ?></dt>
+ <dd><?php print I18n::_('n percent of the maximal possible points are '.
+ 'given per Assurance. If it\'s not an integer it is rounded down to '.
+ 'the next integer') ?></dd>
+ <dt><?php print I18n::_('Absolute') ?></dt>
+ <dd><?php print I18n::_('Exactly n points are given. If n exceeds the '.
+ 'current maximum of points that may be given, it is set to the '.
+ 'maximum until due to the gained experience points more points may be '.
+ 'given') ?></dd>
</dl>
<?php print $this->batch_assurance_form ?>
diff --git a/manager/application/views/scripts/manage-account/batch-assurance.phtml b/manager/application/views/scripts/manage-account/batch-assurance.phtml
index b13d226..32af13e 100644
--- a/manager/application/views/scripts/manage-account/batch-assurance.phtml
+++ b/manager/application/views/scripts/manage-account/batch-assurance.phtml
@@ -9,20 +9,20 @@
<p><?php print I18n::_('The following assurances were executed:')?></p>
<table>
- <thead>
- <tr>
- <th>#</th>
- <th><?php print I18n::_('Assuree')?></th>
- <th><?php print I18n::_('Number of points')?></th>
- </tr>
- </thead>
- <tbody>
- <?php foreach ($this->assurances as $i => $assurance) {?>
- <tr>
- <td><?php print $i ?></td>
- <td><?php print $assurance['assuree'] ?></td>
- <td><?php print $assurance['points'] ?></td>
- </tr>
- <?php }?>
- </tbody>
+ <thead>
+ <tr>
+ <th>#</th>
+ <th><?php print I18n::_('Assuree')?></th>
+ <th><?php print I18n::_('Number of points')?></th>
+ </tr>
+ </thead>
+ <tbody>
+ <?php foreach ($this->assurances as $i => $assurance) {?>
+ <tr>
+ <td><?php print $i ?></td>
+ <td><?php print $assurance['assuree'] ?></td>
+ <td><?php print $assurance['points'] ?></td>
+ </tr>
+ <?php }?>
+ </tbody>
</table> \ No newline at end of file