aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views/Last/modifications.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-02-13 17:30:05 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-02-13 17:30:05 +0000
commit323d1b376423f09d758b381defcf37b26d582a7a (patch)
tree22133b03bf9bc1712a940278da4ad9f91a7712a2 /h-source/Application/Views/Last/modifications.php
parent26fca82d7f500d9771b8876e9a480f8619a2988d (diff)
improved history
Diffstat (limited to 'h-source/Application/Views/Last/modifications.php')
-rw-r--r--h-source/Application/Views/Last/modifications.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/h-source/Application/Views/Last/modifications.php b/h-source/Application/Views/Last/modifications.php
index 1c8e8ea..8683615 100644
--- a/h-source/Application/Views/Last/modifications.php
+++ b/h-source/Application/Views/Last/modifications.php
@@ -32,8 +32,6 @@
<div class="notebooks_viewall">
<ul class="page_history">
- <?php $hw = new HardwareModel(); ?>
- <?php $translations = array('insert'=>'inserted','update'=>'updated');?>
<?php foreach ($table as $row) { ?>
<li class="page_history_item"><?php echo gtext('the model');?> <a href="<?php echo Go::toHardwarePage($row['history']['id']);?>"><?php echo $hw->getTheModelName($row['history']['id']);?></a> <?php echo gtext('has been '.$translations[$row['history']['action']].' by');?> <?php echo getLinkToUser($u->getUser($row['history']['created_by']))?> <?php echo gtext('at');?> <?php echo smartDate($row['history']['creation_date']);?></li>
<?php } ?>