[ticket/334] Allow specifying flash clock instead of using the standard clock

B3P-334
This commit is contained in:
Marc Alexander
2014-11-26 14:53:29 +01:00
parent 333ee274b5
commit 420d389c27
5 changed files with 70 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" />&nbsp;<!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R}
<table class="tablebg" cellspacing="1" width="100%">
<tr class="row1" style="height: 5em;">
<!-- IF not B3P_CLOCK_SRC -->
<td style="text-align: center; height: 5em; margin: 0 auto;">
<div id="portal-clock">
<div id="portal-clock-back">
@@ -29,8 +30,19 @@
</div>
</div>
</td>
<!-- ELSE -->
<td style="text-align:center;">
<br />
<object type="application/x-shockwave-flash" data="{T_THEME_PATH}/images/portal/{B3P_CLOCK_SRC}" width="140">
<param name="wmode" value="transparent" />
<param name="movie" value="{T_THEME_PATH}/images/portal/{B3P_CLOCK_SRC}" />
</object>
</td>
<!-- ENDIF -->
</tr>
</table>
<!-- IF not B3P_CLOCK_SRC -->
<!-- INCLUDEJS portal/modules/jquery_easing_1_3.js -->
<!-- INCLUDEJS portal/modules/portal_clock.js -->
<!-- ENDIF -->
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}