Skip to content

Commit

Permalink
Add digg link to the front page.
Browse files Browse the repository at this point in the history
  • Loading branch information
jverkoey committed Mar 18, 2009
1 parent 5d04081 commit e2a7aed
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
12 changes: 6 additions & 6 deletions application/layouts/scripts/layout.phtml
Expand Up @@ -84,12 +84,12 @@ pageTracker._trackPageview();
<div id="footer">
<div class="wrapper">
<div class="links">
<ul>
<li><a href="/">Home</a></li>
<li><a href="/indexof">Indices</a></li>
<li><a href="/contact">Contact</a></li>
<li><a href="/about">About</a></li>
</ul>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/indexof">Indices</a></li>
<li><a href="/contact">Contact</a></li>
<li><a href="/about">About</a></li>
</ul>
</div>
<div class="copyright">©2009 snaapi</div>
</div>
Expand Down
14 changes: 14 additions & 0 deletions application/views/scripts/index/index.phtml
Expand Up @@ -54,6 +54,13 @@ if( !Zend_Auth::getInstance()->hasIdentity() ) { ?>
</fieldset></form>
</div>
</div></div>

<div id="social_sites">
<script type="text/javascript">
digg_url = "http://snaapi.com/";
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
</div>

</div>
Expand All @@ -68,6 +75,13 @@ if( !Zend_Auth::getInstance()->hasIdentity() ) { ?>
<p>tip: We're hoping to make <tt>#<i>language</i> <i>function name</i></tt> work soon,
but for the time being you'll have to hit enter after selecting your language.</p>
<p>If you have any questions, <a href="/contact">drop us a line</a>.</p></div>

<div id="social_sites">
<script type="text/javascript">
digg_url = "http://snaapi.com/";
</script>
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
</div>
</div>
<? } ?>

Expand Down
5 changes: 5 additions & 0 deletions www/css/index.css
Expand Up @@ -350,6 +350,11 @@
padding: 2em;
}

#social_sites {
padding: 10px;
text-align: center;
}

#whyjoin .rhetorical,
#welcome .salutation {
font-size: 2em;
Expand Down

0 comments on commit e2a7aed

Please sign in to comment.