diff options
| author | Daniel Schmitzer <noreply@maennchen1.de> | 2016-01-14 14:55:36 +0000 |
|---|---|---|
| committer | Daniel Schmitzer <noreply@maennchen1.de> | 2016-01-14 14:55:36 +0000 |
| commit | ad405c7045c6e242080ec9d3ce4c9e586b517c4f (patch) | |
| tree | b41905f4d27f3eaaabd5bad3a39f8d3873540b46 /views/mods/mod_statistics/totals.phtml | |
- Testweise 4
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@5261 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_statistics/totals.phtml')
| -rw-r--r-- | views/mods/mod_statistics/totals.phtml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/views/mods/mod_statistics/totals.phtml b/views/mods/mod_statistics/totals.phtml new file mode 100644 index 0000000..f07ffcd --- /dev/null +++ b/views/mods/mod_statistics/totals.phtml @@ -0,0 +1,21 @@ +<!-- Dashboard Widget -->
+
+<div id="<?php echo $this->view['modul_name']; ?>_totals">
+
+ <?php foreach((array)$this->view['rows'] as $rows) { ?>
+ <div class="<?php echo $this->view['modul_name']; ?>_totals_row">
+ <?php foreach ($rows as $index => $value) { ?>
+ <div class="<?php echo $this->view['modul_name']; ?>_totals_block" style="width:<?php echo 100/count($rows); ?>%">
+ <?php if (!preg_match('/####/', $index)) { ?>
+ <span class="label"><a href="/" onclick="return false;"><?php echo $index; ?></a></span>
+ <?php } ?>
+ <?php if (wpsg_isSizedString($value)) { ?>
+ <span class="number"><?php echo $value; ?></span>
+ <?php } ?>
+ </div>
+ <?php } ?>
+ <div class="wpsg_clear"></div>
+ </div>
+ <?php } ?>
+
+</div>
|
