~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/php/phpBB3/styles/prosilver/template/attachment.html

  • Committer: dcoles
  • Date: 2008-02-13 04:10:55 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:443
Added Forum application along with unmodifed version of phpBB3 "Olympus" 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
<!-- BEGIN _file -->
 
3
        <!-- IF _file.S_DENIED -->
 
4
        <p>[{_file.DENIED_MESSAGE}]</p>
 
5
        <!-- ELSE -->
 
6
 
 
7
                <!-- IF _file.S_THUMBNAIL -->
 
8
                <dl class="thumbnail">
 
9
                        <dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a></dt>
 
10
                        <!-- IF _file.COMMENT --><dd> {_file.COMMENT}</dd><!-- ENDIF -->
 
11
                </dl>
 
12
                <!-- ENDIF -->
 
13
 
 
14
 
 
15
                <!-- IF _file.S_IMAGE -->
 
16
                <dl class="file">
 
17
                        <dt class="attach-image"><img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" onclick="viewableArea(this);" /></dt>
 
18
                        <!-- IF _file.COMMENT --><dd><em>{_file.COMMENT}</em></dd><!-- ENDIF -->
 
19
                        <dd>{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}</dd>
 
20
                </dl>
 
21
                <!-- ENDIF -->
 
22
 
 
23
                <!-- IF _file.S_FILE -->
 
24
                <dl class="file">
 
25
                        <dt><!-- IF _file.UPLOAD_ICON -->{_file.UPLOAD_ICON} <!-- ENDIF --><a class="postlink" href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a></dt>
 
26
                        <!-- IF _file.COMMENT --><dd><em>{_file.COMMENT}</em></dd><!-- ENDIF -->
 
27
                        <dd>({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}</dd>
 
28
                </dl>
 
29
                <!-- ENDIF -->
 
30
 
 
31
 
 
32
 
 
33
                <!-- IF _file.S_WM_FILE -->
 
34
                        <!-- method used here from http://alistapart.com/articles/byebyeembed / autosizing seems to not work always, this will not fix -->
 
35
                        <object width="320" height="285" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="wmstream_{_file.ATTACH_ID}">
 
36
                                <param name="url" value="{_file.U_DOWNLOAD_LINK}" />
 
37
                                <param name="showcontrols" value="1" />
 
38
                                <param name="showdisplay" value="0" />
 
39
                                <param name="showstatusbar" value="0" />
 
40
                                <param name="autosize" value="1" />
 
41
                                <param name="autostart" value="0" />
 
42
                                <param name="visible" value="1" />
 
43
                                <param name="animationstart" value="0" />
 
44
                                <param name="loop" value="0" />
 
45
                                <param name="src" value="{_file.U_DOWNLOAD_LINK}" />
 
46
                                <!--[if !IE]>-->
 
47
                                        <object width="320" height="285" type="video/x-ms-wmv" data="{_file.U_DOWNLOAD_LINK}">
 
48
                                                <param name="src" value="{_file.U_DOWNLOAD_LINK}" />
 
49
                                                <param name="controller" value="1" />
 
50
                                                <param name="showcontrols" value="1" />
 
51
                                                <param name="showdisplay" value="0" />
 
52
                                                <param name="showstatusbar" value="0" />
 
53
                                                <param name="autosize" value="1" />
 
54
                                                <param name="autostart" value="0" />
 
55
                                                <param name="visible" value="1" />
 
56
                                                <param name="animationstart" value="0" />
 
57
                                                <param name="loop" value="0" />
 
58
                                        </object>
 
59
                                <!--<![endif]-->
 
60
                        </object>
 
61
 
 
62
                <!-- ELSEIF _file.S_FLASH_FILE -->
 
63
                        <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="{_file.WIDTH}" height="{_file.HEIGHT}">
 
64
                                <param name="movie" value="{_file.U_DOWNLOAD_LINK}" />
 
65
                                <param name="play" value="true" />
 
66
                                <param name="loop" value="true" />
 
67
                                <param name="quality" value="high" />
 
68
                                <param name="allowScriptAccess" value="never" />
 
69
                                <param name="allowNetworking" value="internal" />
 
70
                                <embed src="{_file.U_DOWNLOAD_LINK}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="{_file.WIDTH}" height="{_file.HEIGHT}" play="true" loop="true" quality="high" allowscriptaccess="never" allownetworking="internal"></embed>
 
71
                        </object>
 
72
                <!-- ELSEIF _file.S_QUICKTIME_FILE -->
 
73
                        <object id="qtstream_{_file.ATTACH_ID}" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0" width="0" height="16">
 
74
                                <param name="src" value="{_file.U_DOWNLOAD_LINK}" />
 
75
                                <param name="controller" value="true" />
 
76
                                <param name="autoplay" value="false" />
 
77
                                <param name="type" value="video/quicktime" />
 
78
                                <embed name="qtstream_{_file.ATTACH_ID}" src="{_file.U_DOWNLOAD_LINK}" pluginspage="http://www.apple.com/quicktime/download/" enablejavascript="true" controller="true" width="0" height="16" type="video/quicktime" autoplay="false"></embed>
 
79
                        </object>
 
80
                <!-- ELSEIF _file.S_RM_FILE -->
 
81
                        <object id="rmstream_{_file.ATTACH_ID}" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="200" height="50">
 
82
                                <param name="src" value="{_file.U_DOWNLOAD_LINK}" />
 
83
                                <param name="autostart" value="false" />
 
84
                                <param name="controls" value="ImageWindow" />
 
85
                                <param name="console" value="ctrls_{_file.ATTACH_ID}" />
 
86
                                <param name="prefetch" value="false" />
 
87
                                <embed name="rmstream_{_file.ATTACH_ID}" type="audio/x-pn-realaudio-plugin" src="{_file.U_DOWNLOAD_LINK}" width="0" height="0" autostart="false" controls="ImageWindow" console="ctrls_{_file.ATTACH_ID}" prefetch="false"></embed>
 
88
                        </object>
 
89
                        <br />
 
90
                        <object id="ctrls_{_file.ATTACH_ID}" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="0" height="36">
 
91
                                <param name="controls" value="ControlPanel" />
 
92
                                <param name="console" value="ctrls_{_file.ATTACH_ID}" />
 
93
                                <embed name="ctrls_{_file.ATTACH_ID}" type="audio/x-pn-realaudio-plugin" width="200" height="36" controls="ControlPanel" console="ctrls_{_file.ATTACH_ID}"></embed>
 
94
                        </object>
 
95
 
 
96
                        <script type="text/javascript">
 
97
                        // <![CDATA[
 
98
                                if (document.rmstream_{_file.ATTACH_ID}.GetClipWidth)
 
99
                                {
 
100
                                        while (!document.rmstream_{_file.ATTACH_ID}.GetClipWidth())
 
101
                                        {
 
102
                                        }
 
103
 
 
104
                                        var width = document.rmstream_{_file.ATTACH_ID}.GetClipWidth();
 
105
                                        var height = document.rmstream_{_file.ATTACH_ID}.GetClipHeight();
 
106
 
 
107
                                        document.rmstream_{_file.ATTACH_ID}.width = width;
 
108
                                        document.rmstream_{_file.ATTACH_ID}.height = height;
 
109
                                        document.ctrls_{_file.ATTACH_ID}.width = width;
 
110
                                }
 
111
                        // ]]>
 
112
                        </script>
 
113
                <!-- ENDIF -->
 
114
 
 
115
                <!-- IF _file.S_WM_FILE or _file.S_RM_FILE or _file.S_FLASH_FILE or _file.S_QUICKTIME_FILE -->
 
116
                        <p>
 
117
                        <!-- IF _file.S_QUICKTIME_FILE --><a href="#" onclick="play_qt_file(document.qtstream_{_file.ATTACH_ID}); return false;">[ {L_PLAY_QUICKTIME_FILE} ]</a> <!-- ENDIF -->
 
118
                        <a href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a> [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]</p>
 
119
                <!-- ENDIF -->
 
120
 
 
121
        <!-- ENDIF -->
 
122
<!-- END _file -->