summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-02-15 04:54:37 +0545
committerPhil Davis <phil.davis@inf.org>2016-02-15 04:54:37 +0545
commit221c0775208875e1c135bb3474ae50ea829840ce (patch)
treefa01be7bb72a353efb71daca5fe9a9131ea94fce /src
parentf7253434877138dee1262cb930e329cf65209b77 (diff)
downloadpfsense-221c0775208875e1c135bb3474ae50ea829840ce.zip
pfsense-221c0775208875e1c135bb3474ae50ea829840ce.tar.gz
gmirror widget fixes
1) Internationalize the table column headings. 2) End the tbody and table tags.
Diffstat (limited to 'src')
-rw-r--r--src/etc/inc/gmirror.inc11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/etc/inc/gmirror.inc b/src/etc/inc/gmirror.inc
index 5520674..c183282 100644
--- a/src/etc/inc/gmirror.inc
+++ b/src/etc/inc/gmirror.inc
@@ -101,9 +101,9 @@ function gmirror_html_status() {
<table class="table table-striped table-hover">
<thead>
<tr>
- <th>Name</td>
- <th>Status</td>
- <th>Component</td>
+ <th><?=gettext("Name")?></td>
+ <th><?=gettext("Status")?></td>
+ <th><?=gettext("Component")?></td>
</tr>
</thead>
<tbody>
@@ -120,7 +120,10 @@ function gmirror_html_status() {
</tr>
<?php endforeach; ?>
<?php endif; ?>
-<?php endforeach;
+<?php endforeach; ?>
+ </tbody>
+</table>
+<?php
}
/* List all disks in the system (potential gmirror targets) */
OpenPOWER on IntegriCloud