Commit c7f60b78 authored by Lily Yan's avatar Lily Yan
Browse files

using uw-oa-home-default.tpl.php instead of oa-home-default.tpl.php

parent 0c989219
<?php
/**
* @file
* Template for Default Home page panel.
*/
?>
<div class="big-wrapper">
<div class="hero">
<div class="hero-left-graphic"></div><!--/hero-right-graphic-->
<div class="hero-right-graphic"></div><!--/hero-right-graphic-->
<h1></h1>
<h2>Welcome <?php if (!empty($username)) {print '<span>' . $username . '</span>'; } ?> to Collaborate Site!</h2>
<?php if (!empty($login)): ?>
<h3></h3>
<?php else: ?>
<h3><a href="<?php print url('sitemap'); ?>" class="btn btn-lg btn-success">Create Content</a></h3>
<?php endif; ?>
</div><!--/hero-->
<div class="modules">
<?php if (!empty($login)): ?>
<div class="entry">
<div class="module-header"><h4>just getting started?</h4></div><!--/module-header-->
<div class="module-content">
<a href="http://docs.openatrium.com/" class="icon icon-documentation"></a>
<p>Read <a href="http://docs.openatrium.com/">documentation</a> to help you get going with Open Atrium, or Visit the open source <a href="https://drupal.org/project/openatrium">Open Atrium project</a> at <a href="https://drupal.org">drupal.org.</a></p>
</div><!--/module content-->
</div><!--/entry-->
<?php else: ?>
<div class="entry">
<div class="module-header"><h4>got issues?</h4></div><!--/module-header-->
<div class="module-content">
<a href="https://drupal.org/project/openatrium" class="icon icon-got-issues"></a>
<p>Visit the open source <a href="https://drupal.org/project/openatrium">Open Atrium project</a> at <a href="https://drupal.org">drupal.org.</a></p>
</div><!--/module content-->
</div><!--/entry-->
<?php endif; ?>
<?php if (!empty($login)): ?>
<div class="user-login">
<?php print render($login); ?>
</div>
<?php else: ?>
<div class="entry">
<div class="module-header"><h4>just getting started?</h4></div><!--/module-header-->
<div class="module-content">
<a href="http://docs.openatrium.com/" class="icon icon-documentation"></a>
<p>Read <a href="http://docs.openatrium.com/">documentation</a> to help you get going with Open Atrium.</p>
</div><!--/module content-->
</div><!--/entry-->
<?php endif; ?>
<div class="entry entry-last">
<div class="module-header"><h4>need the pros?</h4></div><!--/module-header-->
<div class="module-content">
<a href="http://www.phase2technology.com/contact-us/start-a-project-with-phase2/" class="icon icon-pros"></a>
<p>Find <a href="http://www.phase2technology.com/contact-us/start-a-project-with-phase2/">Best-in-Class Professional Services</a> to build out your Open Atrium solution.</p>
</div><!--/module content-->
</div><!--/entry-->
</div><!--/modules-->
</div><!--/big wrapper-->
......@@ -5,3 +5,14 @@
*/
include_once 'uw_oa_config.features.inc';
/**
* Implements hook_theme_registry_alter().
*/
function uw_oa_config_theme_registry_alter(&$theme_registry) {
$theme_registry['oa_home_default'] = array(
'template' => 'uw-oa-home-default',
'path' => drupal_get_path('module', 'uw_oa_config') . '/templates',
'type' => 'theme',
);
}
\ No newline at end of file
Supports Markdown
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