-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
66 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
$this->breadcrumbs=array( | ||
'Manage Web Tracks'=>array('index') | ||
); | ||
|
||
$this->layout='//layouts/column2'; | ||
|
||
?> | ||
|
||
<h1>Compare Web Trackers</h1> | ||
<a class="compare-link" data="h1" href="#">Trackers that are not longer in disconnect.me file but are still on our file</a> | ||
<br/> | ||
<a class="compare-link" data="h2" href="#">Trackers that have been added to disconnect.me and are still not on our file</a> | ||
|
||
<br/> | ||
<br/> | ||
|
||
<div class="compare-block hide" id="h1"> | ||
<h4>Trackers that are not longer in disconnect.me file but are still on our file</h4> | ||
<?php echo "<pre>$trackers2</pre>"; ?> | ||
</div> | ||
|
||
<div class="compare-block hide" id="h2"> | ||
<h4>Trackers that have been added to disconnect.me and are still not on our file</h4> | ||
<?php echo "<pre>$trackers1</pre>"; ?> | ||
</div> | ||
<script> | ||
$(function(){ | ||
$('.compare-link').click(function(){ | ||
$('.compare-block').addClass('hide') | ||
$('#'+$(this).attr('data')).removeClass('hide'); | ||
return false; | ||
}) | ||
}) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
<?php | ||
$this->breadcrumbs=array( | ||
'Compare Web Trackers'=>array('index') | ||
'Manage Web Trackers'=>array('index') | ||
); | ||
|
||
$this->menu=array( | ||
|
||
array('label'=>'Compare Web Trackers', 'url'=>array('/admin/webtrackers/compare')), | ||
); | ||
|
||
$this->layout='//layouts/column2'; | ||
|
||
?> | ||
<h1>Manage Web Trackers</h1> | ||
|
||
<h1>Compare Web Trackers</h1> | ||
|
||
<div> | ||
<?php echo "<pre>$trackers</pre>"; ?> | ||
</div><!-- form --> | ||
<?php echo CHtml::link('Compare Web Trackers', array("/admin/webtrackers/compare"), array('class' => 'btn btn-success'));?> |