Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/eula.html *
|
* $Id: portal.php 3501 2007-11-21 00:42:05Z Tikitiki $
| * $Id: portal.php 3635 2008-02-06 23:19:49Z Tikitiki $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 500 | Zeile 500 |
---|
{ if($attachment['visible']) { // There is an attachment thats visible!
|
{ if($attachment['visible']) { // There is an attachment thats visible!
|
$attachment['name'] = htmlspecialchars_uni($attachment['name']);
| $attachment['filename'] = htmlspecialchars_uni($attachment['filename']);
|
$attachment['filesize'] = get_friendly_size($attachment['filesize']); $ext = get_extension($attachment['filename']); if($ext == "jpeg" || $ext == "gif" || $ext == "bmp" || $ext == "png" || $ext == "jpg")
| $attachment['filesize'] = get_friendly_size($attachment['filesize']); $ext = get_extension($attachment['filename']); if($ext == "jpeg" || $ext == "gif" || $ext == "bmp" || $ext == "png" || $ext == "jpg")
|