diff options
| author | wjames5 <will@tekimaki.com> | 2007-10-10 18:07:15 +0000 |
|---|---|---|
| committer | wjames5 <will@tekimaki.com> | 2007-10-10 18:07:15 +0000 |
| commit | 52b37603d53e9c78ed796bb9a2f8bd1f80893715 (patch) | |
| tree | 7a4dd119987664c6ba33e99e34505497a15e216f /templates | |
| parent | 440761e8a0a41798de2c7c88c05d53858db4435e (diff) | |
| download | fisheye-52b37603d53e9c78ed796bb9a2f8bd1f80893715.tar.gz fisheye-52b37603d53e9c78ed796bb9a2f8bd1f80893715.tar.bz2 fisheye-52b37603d53e9c78ed796bb9a2f8bd1f80893715.zip | |
migrate core ajax services off prototype to mochikit
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/edit_gallery.tpl | 5 | ||||
| -rw-r--r-- | templates/image_order.tpl | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/templates/edit_gallery.tpl b/templates/edit_gallery.tpl index 038ee3f..12b8e95 100644 --- a/templates/edit_gallery.tpl +++ b/templates/edit_gallery.tpl @@ -4,8 +4,9 @@ function updateGalleryPagination() { $('fixed_grid-pagination').style.display = 'none'; $('auto_flow-pagination').style.display = 'none'; $('position_number-pagination').style.display = 'none'; - var select; - select = $F('gallery-pagination'); + var input = $('editGalleryForm').gallery_pagination; + var i = input.selectedIndex; + var select = input.options[i].value; $(select+'-pagination').style.display = 'block'; } //]]></script> diff --git a/templates/image_order.tpl b/templates/image_order.tpl index 476184d..43c26b9 100644 --- a/templates/image_order.tpl +++ b/templates/image_order.tpl @@ -48,7 +48,7 @@ <strong>{tr}Uploaded{/tr}</strong>: {$galItem->mInfo.created|bit_short_datetime}<br /> <strong>{tr}File name{/tr}</strong>: {$galItem->mInfo.image_file.filename} <br /> {if $galItem->mInfo.user_id == $gBitUser->mUserId || $gBitUser->isAdmin()} - <strong>{tr}Edit Image{/tr}</strong>: <a href="javascript:ajax_updater( 'imgedit', '{$smarty.const.FISHEYE_PKG_URL}edit_image.php', 'ajax=true&content_id={$galItem->mInfo.content_id}&gallery_id={$gContent->mGalleryId}' );">{biticon ipackage="icons" iname="accessories-text-editor" iexplain="Edit Details"}</a> + <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&content_id={$galItem->mInfo.content_id}&gallery_id={$gContent->mGalleryId}' );">{biticon ipackage="icons" iname="accessories-text-editor" iexplain="Edit Details"}</a> <noscript><div><a href="{$smarty.const.FISHEYE_PKG_URL}edit_image.php?content_id={$galItem->mInfo.content_id}">{biticon ipackage="icons" iname="accessories-text-editor" 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}">{biticon ipackage="icons" iname="accessories-text-editor" iexplain="Edit Image"}</a> *} |
