isp remove wrong slash
This commit is contained in:
parent
46df6b64c3
commit
044a88620c
|
@ -1,3 +1,8 @@
|
|||
0.41:
|
||||
|
||||
* removed wrong slash in plugin_mediainsert.tpl fullimage link path
|
||||
|
||||
|
||||
0.40:
|
||||
-----
|
||||
* better pdf object preview in case of used imagemagick library
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
{foreach from=$plugin_mediainsert_media item="medium"}
|
||||
<div class="serendipity_imageComment_left" style="width: {$medium.thumbwidth}px">
|
||||
<div class="serendipity_imageComment_img">
|
||||
<a class="serendipity_image_link" href="{$serendipityHTTPPath}/uploads/{$medium.path}{$medium.realname}">
|
||||
<a class="serendipity_image_link" href="{$serendipityHTTPPath}uploads/{$medium.path}{$medium.realname}">
|
||||
<!-- s9ymdb:{$medium.id} -->
|
||||
<img width="{$medium.thumbwidth}" height="{$medium.thumbheight}" src="{$serendipityHTTPPath}uploads/{$medium.path}{$medium.name}.{$medium.thumbnail_name}.{$medium.extension}" />
|
||||
<img width="{$medium.thumbwidth}" height="{$medium.thumbheight}" src="{$serendipityHTTPPath}uploads/{$medium.path}{$medium.name}.{$medium.thumbnail_name}.{$medium.extension}" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="serendipity_imageComment_txt">{$medium.comment1}</div>
|
||||
|
|
|
@ -26,7 +26,7 @@ class serendipity_event_imageselectorplus extends serendipity_event
|
|||
$propbag->add('description', PLUGIN_EVENT_IMAGESELECTORPLUS_DESC);
|
||||
$propbag->add('stackable', false);
|
||||
$propbag->add('author', 'Garvin Hicking, Vladimir Ajgl, Adam Charnock, Ian');
|
||||
$propbag->add('version', '0.40');
|
||||
$propbag->add('version', '0.41');
|
||||
$propbag->add('requirements', array(
|
||||
'serendipity' => '1.3',
|
||||
'smarty' => '2.6.7',
|
||||
|
@ -846,6 +846,9 @@ class serendipity_event_imageselectorplus extends serendipity_event
|
|||
'exif_mode' => $exif_mode
|
||||
);
|
||||
|
||||
if (!is_object($serendipity['smarty'])) {
|
||||
serendipity_smarty_init();
|
||||
}
|
||||
$tfile = serendipity_getTemplateFile('quickblog.tpl', 'serendipityPath');
|
||||
if (!$tfile || $tfile == 'quickblog.tpl') {
|
||||
$tfile = dirname(__FILE__) . '/quickblog.tpl';
|
||||
|
@ -959,6 +962,9 @@ class serendipity_event_imageselectorplus extends serendipity_event
|
|||
array_multisort($order, SORT_ASC, SORT_NUMERIC, $t);
|
||||
|
||||
// now make an output using template
|
||||
if (!is_object($serendipity['smarty'])) {
|
||||
serendipity_smarty_init();
|
||||
}
|
||||
|
||||
$tfile = serendipity_getTemplateFile('plugin_mediainsert.tpl', 'serendipityPath');
|
||||
if (!$tfile || $tfile == 'plugin_mediainsert.tpl') {
|
||||
|
|
Loading…
Reference in a new issue