aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-10-06 20:25:55 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-10-06 20:25:55 +0000
commit53f9d690ee2f49545d63788be6c1fe80d9ec6e58 (patch)
treeb9b51d06c214396d6ca4b79c380d26ce13f53a92 /h-source/Application/Views
parent99a6ba9947839d62a3f09f48a0ba962c23794491 (diff)
added the entry "does it adopt any techniques to track users?" for printers - part 1
Diffstat (limited to 'h-source/Application/Views')
-rw-r--r--h-source/Application/Views/Printers/catalogue.php7
-rw-r--r--h-source/Application/Views/form.php7
-rw-r--r--h-source/Application/Views/page.php7
3 files changed, 20 insertions, 1 deletions
diff --git a/h-source/Application/Views/Printers/catalogue.php b/h-source/Application/Views/Printers/catalogue.php
index 06764cb..bb24e35 100644
--- a/h-source/Application/Views/Printers/catalogue.php
+++ b/h-source/Application/Views/Printers/catalogue.php
@@ -54,7 +54,7 @@
<div class="inner_value"><?php echo nl2br($item['hardware']['other_names']);?></div>
</div>
<?php } ?>
-
+
<div class="notebook_vendor">
<div class="inner_label"><?php echo gtext("vendor");?>:</div>
<div class="inner_value"><?php echo betterVendor($item['hardware']['vendor']);?></div>
@@ -74,6 +74,11 @@
<div class="inner_label"><?php echo gtext("compatibility with free software");?>:</div>
<div class="inner_value"><?php echo $item['hardware']['compatibility'];?></div>
</div>
+
+ <div class="notebook_kernel">
+ <div class="inner_label"><?php echo gtext("does it adopt any techniques to track users?");?></div>
+ <div class="inner_value"><b><?php echo $item['hardware']['it_tracks_users'];?></b></div>
+ </div>
<div class="notebook_view_link">
<a href="<?php echo $this->baseUrl."/".$this->controller."/view/$lang/".$item['hardware']['id_hard'].'/'.encodeUrl($item['hardware']['model']).$this->viewStatus;?>"><?php echo gtext("view the other specifications");?>..</a>
diff --git a/h-source/Application/Views/form.php b/h-source/Application/Views/form.php
index f7d61eb..5568cfd 100644
--- a/h-source/Application/Views/form.php
+++ b/h-source/Application/Views/form.php
@@ -113,6 +113,13 @@
<?php } ?>
</div>
+ <?php if (strcmp($this->controller,'printers') === 0 ) { ?>
+ <div class="form_entry">
+ <div class="entry_label"><?php echo gtext("does it adopt any techniques to track users?");?></div>
+ <?php echo Html_Form::select('it_tracks_users',$values['it_tracks_users'],Hardware::$trackSelect,"select_entry");?>
+ </div>
+ <?php } ?>
+
<div class="form_entry">
<div class="entry_label hidden_x_explorer"><?php echo gtext("free driver used");?> (<?php echo gtext("see the help page or leave blank if you are not sure");?>):</div>
<?php echo Html_Form::input('driver',$values['driver'],'input_entry');?>
diff --git a/h-source/Application/Views/page.php b/h-source/Application/Views/page.php
index dad60f6..727431c 100644
--- a/h-source/Application/Views/page.php
+++ b/h-source/Application/Views/page.php
@@ -113,6 +113,13 @@
<?php } ?>
</div>
+
+ <?php if (strcmp($this->controller,'printers') === 0 ) { ?>
+ <div class="notebook_kernel">
+ <div class="inner_label"><?php echo gtext("does it adopt any techniques to track users?");?></div>
+ <div class="inner_value"><b><?php echo $item[$tableName]['it_tracks_users'];?></b></div>
+ </div>
+ <?php } ?>
<div class="notebook_kernel">
<div class="inner_label"><?php echo gtext("free driver used");?>:</div>