Skip to content

Commit

Permalink
Apply filter to packet index links at bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
carlbennett committed Feb 12, 2019
1 parent a2436f8 commit 4326a4d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/templates/Packet/Index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,12 @@ require('./header.inc.phtml');
</section>
<section>
<p>These packets are also available as constants in
<a href="<?php echo Common::relativeUrlToAbsolute('/packet/index.cpp'); ?>">C++</a>,
<a href="<?php echo Common::relativeUrlToAbsolute('/packet/index.java'); ?>">Java</a>,
<a href="<?php echo Common::relativeUrlToAbsolute('/packet/index.json'); ?>">JSON</a>,
<a href="<?php echo Common::relativeUrlToAbsolute('/packet/index.php'); ?>">PHP</a>, and
<a href="<?php echo Common::relativeUrlToAbsolute('/packet/index.vb'); ?>">VB6</a>.
<?php $q = getenv('QUERY_STRING'); if (!empty($q)) { $q = '?' . $q; } ?>
<a href="<?php echo Common::relativeUrlToAbsolute('/packet/index.cpp' . $q); ?>">C++</a>,
<a href="<?php echo Common::relativeUrlToAbsolute('/packet/index.java' . $q); ?>">Java</a>,
<a href="<?php echo Common::relativeUrlToAbsolute('/packet/index.json' . $q); ?>">JSON</a>,
<a href="<?php echo Common::relativeUrlToAbsolute('/packet/index.php' . $q); ?>">PHP</a>, and
<a href="<?php echo Common::relativeUrlToAbsolute('/packet/index.vb' . $q); ?>">VB6</a>.
</p>
</section>
</article>
Expand Down

0 comments on commit 4326a4d

Please sign in to comment.