summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlsces <lester@lsces.co.uk>2026-04-16 12:15:08 +0100
committerlsces <lester@lsces.co.uk>2026-04-16 12:15:08 +0100
commitb1c482d13d7491e93400c24feb26aa28ae292ad3 (patch)
tree1d2b074f9e7cc4604552f6a2ae963f701f4ec96f
parent243a212376fd907762f78fec19cb288f5417a4cf (diff)
downloadfisheye-b1c482d13d7491e93400c24feb26aa28ae292ad3.tar.gz
fisheye-b1c482d13d7491e93400c24feb26aa28ae292ad3.tar.bz2
fisheye-b1c482d13d7491e93400c24feb26aa28ae292ad3.zip
Have retired BitAjax and moved it's functions to BitBase so mochikit is no longer needed Also needed to trim 'description field when displaying pdf's as it contains the pdf text layer. Need to concider just how to add a proper description field to mime content such as pdf
-rwxr-xr-xtemplates/image_order.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/image_order.tpl b/templates/image_order.tpl
index 2a99b66..731c166 100755
--- a/templates/image_order.tpl
+++ b/templates/image_order.tpl
@@ -48,14 +48,14 @@
<strong>{tr}Uploaded{/tr}</strong>: {$galItem->mInfo.created|bit_short_datetime}<br />
<strong>{tr}File name{/tr}</strong>: {$galItem->mInfo.filename|default:''} <br />
{if $galItem->mInfo.user_id == $gBitUser->mUserId || $gBitUser->isAdmin()}
- <strong>{tr}Edit Image{/tr}</strong>: <a href="javascript:void(0);" onclick="BitAjax.updater( 'imgedit', '{$smarty.const.FISHEYE_PKG_URL}edit_image.php', 'ajax=true&amp;content_id={$galItem->mInfo.content_id}&amp;gallery_id={$gContent->mGalleryId}' );">{booticon iname="fa-pen-to-square" iexplain="Edit Details"}</a>
+ <strong>{tr}Edit Image{/tr}</strong>: <a href="javascript:void(0);" onclick="BitBase.updater( 'imgedit', '{$smarty.const.FISHEYE_PKG_URL}edit_image.php', 'ajax=true&amp;content_id={$galItem->mInfo.content_id}&amp;gallery_id={$gContent->mGalleryId}' );">{booticon iname="fa-pen-to-square" iexplain="Edit Details"}</a>
<noscript><div><a href="{$smarty.const.FISHEYE_PKG_URL}edit_image.php?content_id={$galItem->mInfo.content_id}">{booticon iname="fa-pen-to-square" iexplain="Edit Image"}</a></div></noscript>
{* jspopup href="`$smarty.const.FISHEYE_PKG_URL`edit_image.php?content_id=$galItem->mInfo.content_id" title="edit image" *}
{* <a target="_new" href="{$smarty.const.FISHEYE_PKG_URL}edit_image.php?content_id={$galItem->mInfo.content_id}">{booticon iname="fa-pen-to-square" iexplain="Edit Image"}</a> *}
<br />
{/if}
{/if}
- <strong>{tr}Description{/tr}</strong>: {$galItem->mInfo.data|default:"[ {tr}none{/tr} ]"} <br />
+ <strong>{tr}Description{/tr}</strong>: {$galItem->mInfo.data|truncate:250|default:"[ {tr}none{/tr} ]"} <br />
</td>
<td style="text-align:right;width:12em;">