diff options
Diffstat (limited to 'h-source/Application/Views/Last')
-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 } ?> |