Skip to content

Commit

Permalink
Indent with tabs per mantisbt coding guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
dregad committed Dec 26, 2018
1 parent cab7e42 commit 27b1f91
Show file tree
Hide file tree
Showing 2 changed files with 125 additions and 97 deletions.
3 changes: 3 additions & 0 deletions config_defaults_inc.php
Expand Up @@ -15,6 +15,9 @@
# Information about latest stable release.
$g_latest_version_stable = '';

# Information about latest legacy release.
$g_latest_version_stable = '';

# Information about latest development release.
$g_latest_version_dev = '';
$g_latest_version_dev_roadmap = '';
Expand Down
219 changes: 122 additions & 97 deletions download.php
Expand Up @@ -2,109 +2,134 @@
include( "top.php" );
?>

<div class="row show-grid clear-both">
<div class="row show-grid clear-both">

<div class="col-sm-7 col-md-8">
<h1>Stable Release <small>| Get on latest!</small></h1>
<p>
This is the latest stable MantisBT release.
Make sure you are running the latest release to benefit from all security fixes, bug fixes, and new features.
</p>
<div class="col-sm-7 col-md-8">
<h1>Stable Release
<small>| Get on latest!</small>
</h1>
<p>
This is the latest stable MantisBT release.
Make sure you are running the latest release to benefit from all
security fixes, bug fixes, and new features.
</p>

<h3>Additional Resources:</h3>
<ul class="icons item-details">
<li>
<i class="icon-book"></i> <a href="<?php echo $g_docs_url, $g_docs_path, $g_docs_admin_guide; ?>/html-desktop/#admin.install.upgrade">How to upgrade?</a>
</li>
<li>
<i class="icon-paper-clip"></i> <a href="<?php echo $g_bugs_url; ?>changelog_page.php?project=mantisbt&amp;version=<?php echo $g_latest_version_stable; ?>">Changelog</a>
</li>
<li>
<i class="icon-check"></i> <a href="<?php echo $g_docs_url, $g_docs_path, $g_docs_admin_guide; ?>/html-desktop/#admin.install.requirements">Requirements</a>
</li>
</ul>
</div>
<div class="col-sm-5 col-md-4 note-stick stick">
<div style="font-size: 38px;"> <i class="icon-bullhorn"></i>
</div>
<br>
<h2 style="font-size: 28px;line-height: 36px">MantisBT <?php echo $g_latest_version_stable; ?></h2>
<br>
<p>
<a href="https://sourceforge.net/projects/mantisbt/files/mantis-stable/" onclick="ga('send', 'event', 'Download', 'Download');" type="button" class="ex btn btn-default btn-inverse">
Download
</a>
</p>
</div>
</div>
<h3>Additional Resources:</h3>
<ul class="icons item-details">
<li>
<i class="icon-book"></i>
<a href="<?php echo $g_docs_url, $g_docs_path, $g_docs_admin_guide; ?>/html-desktop/#admin.install.upgrade">How to upgrade?</a>
</li>
<li>
<i class="icon-paper-clip"></i>
<a href="<?php echo $g_bugs_url; ?>changelog_page.php?project=mantisbt&amp;version=<?php echo $g_latest_version_stable; ?>">Changelog</a>
</li>
<li>
<i class="icon-check"></i>
<a href="<?php echo $g_docs_url, $g_docs_path, $g_docs_admin_guide; ?>/html-desktop/#admin.install.requirements">Requirements</a>
</li>
</ul>
</div>
<div class="col-sm-5 col-md-4 note-stick stick">
<div style="font-size: 38px;"><i class="icon-bullhorn"></i>
</div>
<br>
<h2 style="font-size: 28px;line-height: 36px">
MantisBT <?php echo $g_latest_version_stable; ?></h2>
<br>
<p>
<a href="https://sourceforge.net/projects/mantisbt/files/mantis-stable/"
onclick="ga('send', 'event', 'Download', 'Download');"
type="button" class="ex btn btn-default btn-inverse">
Download
</a>
</p>
</div>
</div>
<hr>

<hr>
<?php if( !empty( $g_latest_version_dev ) ) { ?>
<div class="row show-grid clear-both">
<div class="col-md-12 col-sm-12">
<h1>Development Release
<small>| Bleeding edge for the brave and tech savvy!</small>
</h1>
<p>The latest development release is intended for evaluation and
testing purposes. It is not recommended for
production use, unless you are comfortable with PHP and able to
troubleshoot issues that may arise. </p>
</div>
</div>

<?php if ( !empty( $g_latest_version_dev ) ) { ?>
<div class="row show-grid clear-both">
<div class="col-md-12 col-sm-12">
<h1>Development Release <small>| Bleeding edge for the brave and tech savvy!</small></h1>
<p>The latest development release is intended for evaluation and testing purposes. It is not recommended for
production use, unless you are comfortable with PHP and able to troubleshoot issues that may arise. </p>
</div>
</div>
<div class="row show-grid clear-both">
<div class="col-sm-8 col-md-8">
<h3>Additional Resources:</h3>
<ul class="icons">
<ul class="item-details">
<li>
<i class="icon-road"></i>
<a href="<?php echo $g_bugs_url; ?>roadmap_page.php?project=mantisbt&amp;version=<?php echo $g_latest_version_dev_roadmap; ?>">Roadmap</a>
<li>
<li>
<i class="icon-paper-clip"></i>
<a href="<?php echo $g_bugs_url; ?>changelog_page.php?project=mantisbt&amp;version=<?php echo $g_latest_version_dev; ?>">Changelog</a>
</li>
<li>
<i class="icon-check"></i>
<a href="<?php echo $g_docs_url, $g_docs_path, $g_docs_admin_guide; ?>/html-desktop/#admin.install.requirements">Requirements</a>
</li>
</ul>
</ul>
</div>
<div class="col-sm-4 col-md-4">
<a href="https://sourceforge.net/projects/mantisbt/files/mantis-development/"
onclick="ga('send', 'event', 'Download', 'Download MantisBT');"
type="button" class="btn btn-default btn-warning">
Download MantisBT <?php echo $g_latest_version_dev; ?>
</a>
</div>
</div>
<hr>
<?php } ?>

<div class="row show-grid clear-both">
<div class="col-sm-8 col-md-8">
<h3>Additional Resources:</h3>
<ul class="icons">
<ul class="item-details">
<li>
<i class="icon-road"></i> <a href="<?php echo $g_bugs_url; ?>roadmap_page.php?project=mantisbt&amp;version=<?php echo $g_latest_version_dev_roadmap; ?>">Roadmap</a>
<li>
<li>
<i class="icon-paper-clip"></i> <a href="<?php echo $g_bugs_url; ?>changelog_page.php?project=mantisbt&amp;version=<?php echo $g_latest_version_dev; ?>">Changelog</a>
</li>
<li>
<i class="icon-check"></i> <a href="<?php echo $g_docs_url, $g_docs_path, $g_docs_admin_guide; ?>/html-desktop/#admin.install.requirements">Requirements</a>
</li>
</ul>
</ul>
</div>
<div class="col-sm-4 col-md-4">
<a href="https://sourceforge.net/projects/mantisbt/files/mantis-development/" onclick="ga('send', 'event', 'Download', 'Download MantisBT');" type="button" class="btn btn-default btn-warning">
Download MantisBT <?php echo $g_latest_version_dev; ?>
</a>
</div>
</div>
<div class="row show-grid clear-both">
<div class="col-md-12 col-sm-12">
<h1>Nightly Builds
<small>| Not Supported - use at your own risk!</small>
</h1>
<p>These are nightly snapshots generated from the latest development
branches in our Git repository. They have
only undergone minimal testing through our standard Travis CI
build process, and have not been formally
prepared for release; we recommend you only use them for testing
and feedback purposes. </p>
</div>
</div>

<hr>
<?php } ?>

<div class="row show-grid clear-both">
<div class="col-md-12 col-sm-12">
<h1>Nightly Builds <small>| Not Supported - use at your own risk!</small></h1>
<p>These are nightly snapshots generated from the latest development branches in our Git repository. They have
only undergone minimal testing through our standard Travis CI build process, and have not been formally
prepared for release; we recommend you only use them for testing and feedback purposes. </p>
</div>
</div>

<div class="row show-grid clear-both">
<div class="col-sm-8 col-md-8">
<h3>Additional Resources:</h3>
<ul class="icons">
<ul class="item-details">
<li>
<i class="icon-github"></i> <a href="https://github.com/mantisbt/mantisbt">Git Repository</a>
<li>
<li>
<i class="icon-ok"></i> <a href="https://travis-ci.org/mantisbt/mantisbt">Travis CI Build Process</a>
<li>
</ul>
</ul>
</div>
<div class="col-sm-4 col-md-4">
<a href="builds.php" type="button" class="btn btn-default btn-warning" onclick="ga('send', 'event', 'Download', 'Download Nightly Builds');" >
Download Nightly Builds
</a>
</div>
</div>
<div class="row show-grid clear-both">
<div class="col-sm-8 col-md-8">
<h3>Additional Resources:</h3>
<ul class="icons">
<ul class="item-details">
<li>
<i class="icon-github"></i>
<a href="https://github.com/mantisbt/mantisbt">Git Repository</a>
<li>
<li>
<i class="icon-ok"></i>
<a href="https://travis-ci.org/mantisbt/mantisbt">Travis CI Build Process</a>
<li>
</ul>
</ul>
</div>
<div class="col-sm-4 col-md-4">
<a href="builds.php" type="button"
class="btn btn-default btn-warning"
onclick="ga('send', 'event', 'Download', 'Download Nightly Builds');">
Download Nightly Builds
</a>
</div>
</div>

<?php
include( "bot.php" );

0 comments on commit 27b1f91

Please sign in to comment.