Last change
on this file since 816 was
502,
checked in by anonymous, 10 years ago
|
Many minor fixes during pulso development
|
File size:
1.4 KB
|
Line | |
---|
1 | <header class="row"> |
---|
2 | <div class="large-12 columns"> |
---|
3 | <h1><?php echo $nav->get('title'); ?></h1> |
---|
4 | </div> |
---|
5 | </header> |
---|
6 | <main role="main"> |
---|
7 | <div class="row"> |
---|
8 | <div class="large-12 columns"> |
---|
9 | <?php |
---|
10 | if (is_array($data) && !empty($data)) { |
---|
11 | ?> |
---|
12 | <table class="list"> |
---|
13 | <tbody> |
---|
14 | <?php |
---|
15 | foreach ($data as $k => $v_d) { |
---|
16 | ?> |
---|
17 | <tr> |
---|
18 | <td class="sc-nowrap"><label><?php echo oTxt($k); ?></label></td> |
---|
19 | <td><pre><?php echo oTxt($v_d); ?></pre></td> |
---|
20 | </tr> |
---|
21 | <?php } ?> |
---|
22 | </tbody> |
---|
23 | </table> |
---|
24 | <?php |
---|
25 | } |
---|
26 | |
---|
27 | // Buttons. |
---|
28 | $action_links = array(); |
---|
29 | if (!getFormData('current', false)) { |
---|
30 | $action_links[] = array('href' => $app->oHREF('?op=restore', array('version_id', 'version_title')), 'value' => _("Restore this saved version"), 'class' => 'small button alert', 'accesskey' => 'r'); |
---|
31 | } |
---|
32 | $action_links[] = array('href' => $app->ohref('?op=cancel'), 'value' => _("Cancel"), 'class' => 'small button secondary', 'accesskey' => 'c'); |
---|
33 | HTML::printButtons($action_links); |
---|
34 | ?> |
---|
35 | </div> |
---|
36 | </div> |
---|
37 | </main> |
---|
Note: See
TracBrowser
for help on using the repository browser.