diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-02-13 17:30:05 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-02-13 17:30:05 +0000 |
commit | 323d1b376423f09d758b381defcf37b26d582a7a (patch) | |
tree | 22133b03bf9bc1712a940278da4ad9f91a7712a2 /h-source/Application/Views/Last/modifications.php | |
parent | 26fca82d7f500d9771b8876e9a480f8619a2988d (diff) |
improved history
Diffstat (limited to 'h-source/Application/Views/Last/modifications.php')
-rw-r--r-- | h-source/Application/Views/Last/modifications.php | 2 |
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 } ?> |