Commit 53bea6d8 authored by Nic's avatar Nic Committed by Aegir user

civi-download page revision

parent 0e7d91bf
<div class="crm-support">
Before downloading CiviCRM make sure your environment meets the
<a href="https://wiki.civicrm.org/confluence/display/CRMDOC/Installation+and+Upgrades">minimum requirements</a>
or contact one of our <a href="/hosting-providers">cloud providers</a>.
</div>
<div class="crm-download-title">CiviCRM <?php echo $content['civicrm_version']; ?></div>
<div class='crm-support'>
<div class='crm-introduction'>
The latest stable version of CiviCRM is <?php echo $content['civicrm_version']; ?>. Select a download based on the content management software (CMS) you are using.
</div>
<div class="crm-download-listing"> <?php $block = module_invoke('block', 'block_view', '63');
<?php foreach ($content['download_urls'] as $key => $values) { ?> print render($block['content']); ?>
<div class="crm-download-buttons">
<?php <!-- Download button -->
<div>
<div class="btn-group">
<button type="button" class="btn btn-primary btn-lg" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Download CiviCRM <?php echo $content['civicrm_version']; ?>&nbsp;&nbsp;
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu">
<?php foreach ($content['download_urls'] as $key => $values) { ?>
<li><?php
$url = $values['url']; $url = $values['url'];
if (arg(1) == 'list' && variable_get('cividownload_mode') == 2 ) { if (arg(1) == 'list' && variable_get('cividownload_mode') == 2 ) {
$url = "https://download.civicrm.org/civicrm-{$content['civicrm_version']}-" . $values['filename'] . "?src=donate"; $url = "https://download.civicrm.org/civicrm-{$content['civicrm_version']}-" . $values['filename'] . "?src=donate";
} }
?> ?>
<a class="download-link" href="<?php echo $url;?>">Download</a> <a href="<?php echo $url;?>" target="_blank">Download CiviCRM <?php echo $content['civicrm_version']; ?> <?php echo $values['title']; ?></a></li>
&nbsp;CiviCRM <?php echo $content['civicrm_version']; ?> <?php echo $values['title']; ?>
</div>
<br/>
<?php } ?> <?php } ?>
</ul>
</div> </div>
</div> </div>
<!-- LTS section --> <p>CiviCRM <?php echo $content['civicrm_version']; ?> is the latest version, containing the latest features and improvements. <a href="https://civicrm.org/blog/tags/release">View recent release announcements for details</a>.</p>
<h2 class="thin border">Other options</h2>
<div class="crm-download-title">CiviCRM <?php echo $content['civicrm_lts_version']; ?> LTS</div> <h3 class="thick capital">Long term support</h3>
<div class="crm-support"> <p>The current Long Term Support (LTS) release CiviCRM is <?php echo $content['civicrm_lts_version']; ?>. Select a download based on the content management software (CMS) you are using.</p>
<div class="crm-introduction"> <ul>
The current Long Term Support (LTS) release CiviCRM is <?php echo $content['civicrm_lts_version']; ?>. Select a download based on the content management software (CMS) you are using.
</div>
<div class="crm-download-listing">
<?php foreach ($content['download_urls'] as $key => $values) { ?> <?php foreach ($content['download_urls'] as $key => $values) { ?>
<div class="crm-download-buttons"> <li><?php
<?php $url = $values['url'];
$url = $values['url']; if (arg(1) == 'list' && variable_get('cividownload_mode') == 2 ) {
if (arg(1) == 'list' && variable_get('cividownload_mode') == 2 ) { $url = "https://download.civicrm.org/civicrm-{$content['civicrm_lts_version']}-" . $values['filename'] . "?src=donate";
$url = "https://download.civicrm.org/civicrm-{$content['civicrm_lts_version']}-" . $values['filename'] . "?src=donate"; }
} ?>
?> <a href="<?php echo $url;?>" target="_blank">Download CiviCRM <?php echo $content['civicrm_lts_version']; ?> <?php echo $values['title']; ?></a></li>
<a class="download-link" href="<?php echo $url;?>&rtype=lts">Download</a> <?php } ?>
&nbsp;CiviCRM <?php echo $content['civicrm_lts_version']; ?> <?php echo $values['title']; ?> </ul>
</div> <?php $block = module_invoke('block', 'block_view', '64');
<br/> print render($block['content']); ?>
<?php } ?> <?php echo views_embed_view('partners_and_contributors', 'block_4'); ?>
</div> \ No newline at end of file
</div>
<!-- Resources section -->
<div class="crm-support" style="border: 1px solid grey; padding: 10px;">
<div class="crm-introduction" style="font-size: 1.5em;">Resources</div>
<div class="crm-introduction" style="font-size: 1.2em;">
<a href="https://civicrm.org/versions" target="_blank">Which version should I get? ›</a>
<br />
<a href="http://wiki.civicrm.org/confluence/display/CRMDOC/Installation+and+Upgrades" target="_blank">Installation and Upgrade Guides ›</a>
<br />
<a href="http://sourceforge.net/projects/civicrm/files/" target="_blank">Previous and pre-release versions (on Sourceforge.net) ›</a>
<br />
<a href="http://book.civicrm.org/user" target="_blank">User and Administrator Guide ›</a>
<br />
<a href="http://docs.civicrm.org/dev/en/master/" target="_blank">Developer Documentation ›</a>
</div>
</div>
<br />
<!-- Hosting link section -->
<div style="background-color: #7EC757; padding: 10px; color: white; font-weight: bold; font-size: 18px; width: 90%">
OR ... <a href="https://civicrm.org/providers/hosting" target="_blank">start using CiviCRM on demand &quot;in the cloud&quot; by signing up with one of our Hosting Providers.</a>
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment