Author: sevein
Date: Mon Sep 21 15:26:04 2009
New Revision: 3463

Log:
Cosmetic changes.

Modified:
   trunk/apps/qubit/modules/digitalobject/templates/_showAudio.php

Modified: trunk/apps/qubit/modules/digitalobject/templates/_showAudio.php
==============================================================================
--- trunk/apps/qubit/modules/digitalobject/templates/_showAudio.php     Mon Sep 
21 15:17:57 2009        (r3462)
+++ trunk/apps/qubit/modules/digitalobject/templates/_showAudio.php     Mon Sep 
21 15:26:04 2009        (r3463)
@@ -1,6 +1,6 @@
 <?php use_helper('Javascript') ?>
 
-  <?php if ($showFlashPlayer): ?>
+<?php if ($showFlashPlayer): ?>
     <?php echo javascript_tag(<<<EOF
       // select all link tags with "flowplayer" class and "video-enable" them. 
       $(function() { 
@@ -12,16 +12,11 @@
   ) ?>
 
     <a id="flowplayer" class="flowplayer" href="<?php echo 
public_path($representation->getFullPath()) ?>">
-      <?php // echo image_tag($thumbnail->getFullPath()) ?>
       <img src="/~jesus/qubit/web/images/generic-icons/blank.png" />
     </a>
-<?php else: ?>
-    <div style="text-align: center">
-      <?php echo image_tag($representation->getFullPath(), array('style' => 
'border: #999 1px solid')) ?>
-    </div>
 <?php endif;?>
 
-  <!-- link to download master -->
-  <?php if ($link != null): ?>
+<!-- link to download master -->
+<?php if ($link != null): ?>
   <?php echo link_to(__('download audio'),$link) ?>
-  <?php endif; ?>
\ No newline at end of file
+<?php endif; ?>
\ No newline at end of file

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to