Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

+

  • Loading branch information...
commit 39454038f201ff56440729f822a622050746063a 1 parent cc66711
@pfinette pfinette authored
View
3  site/content/content_portfolio-alumni/openphoto.jpg.txt
@@ -1,7 +1,6 @@
Name: Open Photo
----
-Info: OpenPhoto enables you to share, securely aggregate and import all your photos from across the web (Facebook, Flickr, etc.) into one account and storage service.<br />
-<a href="http://videos.mozilla.org/serv/webfwd/openphoto.mp4" target="_blank">Watch video</a><br />
+Info: OpenPhoto enables you to share, securely aggregate and import all your photos from across the web (Facebook, Flickr, etc.) into one account and storage service.
----
Link: http://theopenphotoproject.org/
----
View
2  site/site/templates/portfolio.php
@@ -46,7 +46,7 @@
<div class="alumni">
<a href="<?php echo $image->link() ?>" target="_blank"><img src="<?php echo $image->url() ?>" alt="<?php echo $image->name() ?>" /></a><br />
<p><?php echo $image->info() ?></p>
- <h6><a href="<?php echo $image->link() ?>" target="_blank">Visit <?php echo $image->name() ?></a>| <a href="<?php echo $image->video() ?>" target="_blank">Video</a></h6>
+ <h6><a href="<?php echo $image->link() ?>" target="_blank">Website</a><?php if (array_key_exists('video',$image): ?> | <a href="<?php echo $image->video() ?>" target="_blank">Video</a><?php endif; ?></h6>
</div>
</li>
<?php endforeach ?>
Please sign in to comment.
Something went wrong with that request. Please try again.