mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 04:04:12 +02:00
- removed download mode selection (the column info and constants will not be removed, we or others may be able to re-use them later on)
- removing extension from physical filename for uploaded attachments (as has been suggested some time ago from our community), can still be used by using the new 'unique_ext' mode on file cleaning - fixed a bug with copying attachments if copying a topic - made sure no attachment files get removed used at another location - changed media player "embed" code. For some this may result in no auto-resizing - though a download link has been added. git-svn-id: file:///svn/phpbb/trunk@6831 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -21,31 +21,40 @@
|
||||
|
||||
<!-- IF _file.S_FILE -->
|
||||
<span class="genmed">
|
||||
<!-- IF _file.UPLOAD_IMAGE -->{_file.UPLOAD_IMAGE} <!-- ENDIF -->
|
||||
<!-- IF _file.UPLOAD_ICON -->{_file.UPLOAD_ICON} <!-- ENDIF -->
|
||||
<a href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a> [{_file.FILESIZE} {_file.SIZE_LANG}]
|
||||
</span><br />
|
||||
<span class="gensmall">{_file.L_DOWNLOADED_VIEWED} {_file.L_DOWNLOAD_COUNT}</span>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<!-- IF _file.S_WM_FILE -->
|
||||
<object width="320" height="285" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject">
|
||||
<param name="URL" value="{_file.U_DOWNLOAD_LINK}" />
|
||||
<param name="AutoStart" value="False" />
|
||||
<param name="ShowControls" value="True" />
|
||||
<embed name="application/x-mplayer2"
|
||||
pluginspage="http://www.microsoft.com/Windows/MediaPlayer/"
|
||||
src="{_file.U_DOWNLOAD_LINK}"
|
||||
name="MediaPlayer"
|
||||
autostart="0"
|
||||
height="285"
|
||||
width="320"
|
||||
transparentatstart="0"
|
||||
animationatstart="0"
|
||||
showcontrols="1"
|
||||
autosize="0"
|
||||
displaysize="0">
|
||||
</embed>
|
||||
</object>
|
||||
<!-- method used here from http://alistapart.com/articles/byebyeembed / autosizing seems to not work always, this will not fix -->
|
||||
<object width="320" height="285" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="wmstream_{_file.ATTACH_ID}">
|
||||
<param name="url" value="{_file.U_DOWNLOAD_LINK}" />
|
||||
<param name="showcontrols" value="1" />
|
||||
<param name="showdisplay" value="0" />
|
||||
<param name="showstatusbar" value="0" />
|
||||
<param name="autosize" value="1" />
|
||||
<param name="autostart" value="0" />
|
||||
<param name="visible" value="1" />
|
||||
<param name="animationstart" value="0" />
|
||||
<param name="loop" value="0" />
|
||||
<param name="src" value="{_file.U_DOWNLOAD_LINK}" />
|
||||
<!--[if !IE]>-->
|
||||
<object width="320" height="285" type="video/x-ms-wmv" data="{_file.U_DOWNLOAD_LINK}">
|
||||
<param name="src" value="{_file.U_DOWNLOAD_LINK}" />
|
||||
<param name="controller" value="1" />
|
||||
<param name="showcontrols" value="1" />
|
||||
<param name="showdisplay" value="0" />
|
||||
<param name="showstatusbar" value="0" />
|
||||
<param name="autosize" value="1" />
|
||||
<param name="autostart" value="0" />
|
||||
<param name="visible" value="1" />
|
||||
<param name="animationstart" value="0" />
|
||||
<param name="loop" value="0" />
|
||||
</object>
|
||||
<!--<![endif]-->
|
||||
</object>
|
||||
|
||||
<!-- ELSEIF _file.S_FLASH_FILE -->
|
||||
<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}">
|
||||
@@ -102,7 +111,7 @@
|
||||
<!-- IF _file.S_WM_FILE or _file.S_RM_FILE or _file.S_FLASH_FILE or _file.S_QUICKTIME_FILE -->
|
||||
<br />
|
||||
<!-- IF _file.S_QUICKTIME_FILE --><a href="javascript:play_qt_file(document.qtstream_{_file.ATTACH_ID});">[ {L_PLAY_QUICKTIME_FILE} ]</a> <!-- ENDIF -->
|
||||
<span class="gensmall">{_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOADED_VIEWED} {_file.L_DOWNLOAD_COUNT} ]</span>
|
||||
<span class="gensmall"><a href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a> [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOADED_VIEWED} {_file.L_DOWNLOAD_COUNT} ]</span>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<br />
|
||||
|
Reference in New Issue
Block a user