[pLog-svn] r2341 - in plugins/trunk: . moblog/class/moblog
mark at devel.plogworld.net
mark at devel.plogworld.net
Sat Jul 16 14:36:03 GMT 2005
Author: mark
Date: 2005-07-16 14:36:02 +0000 (Sat, 16 Jul 2005)
New Revision: 2341
Modified:
plugins/trunk/moblog.php
plugins/trunk/moblog/class/moblog/moblogrequest.class.php
Log:
Fixed the issue: http://bugs.plogworld.net/view.php?id=646
Modified: plugins/trunk/moblog/class/moblog/moblogrequest.class.php
===================================================================
--- plugins/trunk/moblog/class/moblog/moblogrequest.class.php 2005-07-15 19:58:20 UTC (rev 2340)
+++ plugins/trunk/moblog/class/moblog/moblogrequest.class.php 2005-07-16 14:36:02 UTC (rev 2341)
@@ -170,7 +170,7 @@
// whatever comes as a part, we will take it and treat it as if it was
// a normal resource as long as it's not an application/smil thingie...
- if( strtolower($part->ctype_secondary) != 'smil' && MOBLOG_IGNORE_SMIL_ATTACHMENTS ) {
+ if( strtolower($part->ctype_secondary) != 'html' && strtolower($part->ctype_secondary) != 'smil' && MOBLOG_IGNORE_SMIL_ATTACHMENTS ) {
// GalleryResources::addResource only deals with uploaded files, so we'll
// have to pretend that this is one of them!
$config =& Config::getConfig();
Modified: plugins/trunk/moblog.php
===================================================================
--- plugins/trunk/moblog.php 2005-07-15 19:58:20 UTC (rev 2340)
+++ plugins/trunk/moblog.php 2005-07-16 14:36:02 UTC (rev 2341)
@@ -226,7 +226,7 @@
$curItem = 0;
foreach( $resourceIds as $resId ) {
$resource = $res->getResource( $resId );
- $markup = "<a href=\"".$rg->resourceLink( $resource )."\">";
+ $markup = "<a id=\"res_".$resId."\" href=\"".$rg->resourceLink( $resource )."\">";
if( $resource->isImage()) {
$previewType = $blogSettings->getValue( "plugin_moblog_resource_preview_type" );
if( $previewType == MOBLOG_EMBED_MEDIUM_PREVIEW )
More information about the pLog-svn
mailing list