Skip to content

Commit

Permalink
Fix links on Documentation page to point to 1.3 manuals
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Aug 9, 2016
1 parent 43e7fa3 commit e35cdf2
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions documentation.php
@@ -1,5 +1,9 @@
<?php
$t_sub_title = "Documentation";
$t_doc_path = 'master-1.3.x/en-US/';
$t_admin_guide = 'Admin_Guide';
$t_dev_guide = 'Developers_Guide';

include( "top.php" );
?>

Expand All @@ -12,7 +16,7 @@

<ul class="icons">
<li>
<i class="icon-book"></i> <a href="<?php echo $g_docs_url; ?>master-1.2.x/en/">Administrator's Guide</a>
<i class="icon-book"></i> <a href="<?php echo $g_docs_url, $t_doc_path; ?>">Administrator's Guide</a>
</li>
<li>
<i class="icon-book"></i> <a href="<?php echo $g_wiki_url; ?>">Wiki</a>
Expand All @@ -35,10 +39,10 @@
<br>
<h2>Administrator's Guide</h2>
<br>
<a href="<?php echo $g_docs_url; ?>master-1.2.x/en/administration_guide/" onclick="ga('send', 'event', 'Documentation', 'Browse Admin Docs');" type="button" class="ex btn btn-default btn-inverse btn-block">
<a href="<?php echo $g_docs_url, $t_doc_path, $t_admin_guide; ?>/html_desktop/" onclick="ga('send', 'event', 'Documentation', 'Browse Admin Docs');" type="button" class="ex btn btn-default btn-inverse btn-block">
Browse Docs
</a>
<a href="<?php echo $g_docs_url; ?>master-1.2.x/en/administration_guide.pdf" onclick="ga('send', 'event', 'Documentation', 'Download Admin PDF');" type="button" class="ex btn btn-default btn-inverse btn-block">
<a href="<?php echo $g_docs_url, $t_doc_path, $t_admin_guide; ?>.pdf" onclick="ga('send', 'event', 'Documentation', 'Download Admin PDF');" type="button" class="ex btn btn-default btn-inverse btn-block">
Download PDF
</a>
</div>
Expand All @@ -61,7 +65,7 @@
<i class="icon-book"></i> <a href="<?php echo $g_wiki_url; ?>doku.php/mantisbt:developers_corner">Developer's Corner</a>
<li>
<li>
<i class="icon-book"></i> <a href="<?php echo $g_docs_url; ?>master-1.2.x/en/">Developer's Guide</a>
<i class="icon-book"></i> <a href="<?php echo $g_docs_url, $t_doc_path; ?>">Developer's Guide</a>
<li>
<li>
<i class="icon-github"></i> <a href="http://help.github.com">GitHub Help</a>
Expand All @@ -76,10 +80,10 @@
<br>
<h2>Developer's Guide</h2>
<br>
<a href="<?php echo $g_docs_url; ?>master-1.2.x/en/developers/" onclick="ga('send', 'event', 'Documentation', 'Browse Dev Docs');" type="button" class="ex btn btn-default btn-inverse btn-block">
<a href="<?php echo $g_docs_url, $t_doc_path, $t_dev_guide; ?>/html-desktop/" onclick="ga('send', 'event', 'Documentation', 'Browse Dev Docs');" type="button" class="ex btn btn-default btn-inverse btn-block">
Browse Docs
</a>
<a href="<?php echo $g_docs_url; ?>master-1.2.x/en/developers.pdf" onclick="ga('send', 'event', 'Documentation', 'Download Dev PDF');" type="button" class="ex btn btn-default btn-inverse btn-block">
<a href="<?php echo $g_docs_url, $t_doc_path, $t_dev_guide; ?>.pdf" onclick="ga('send', 'event', 'Documentation', 'Download Dev PDF');" type="button" class="ex btn btn-default btn-inverse btn-block">
Download PDF
</a>
</div>
Expand Down

0 comments on commit e35cdf2

Please sign in to comment.