summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FisheyeBase.php4
-rw-r--r--templates/image_order.tpl6
2 files changed, 6 insertions, 4 deletions
diff --git a/FisheyeBase.php b/FisheyeBase.php
index 345ea4f..fafe451 100644
--- a/FisheyeBase.php
+++ b/FisheyeBase.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeBase.php,v 1.13 2006/01/15 06:46:36 spiderr Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeBase.php,v 1.14 2006/01/23 08:12:11 spiderr Exp $
* @package fisheye
*/
@@ -34,7 +34,7 @@ class FisheyeBase extends LibertyAttachable
// Gets a list of galleries which this item is attached to
function getParentGalleries( $pContentId=NULL ) {
- if( $this->verifyId( $pContentId ) ) {
+ if( !$this->verifyId( $pContentId ) ) {
$pContentId = $this->mContentId;
}
$ret = NULL;
diff --git a/templates/image_order.tpl b/templates/image_order.tpl
index 264cbfc..ae883fb 100644
--- a/templates/image_order.tpl
+++ b/templates/image_order.tpl
@@ -43,8 +43,10 @@
<div class="row">
{if $galItem->mInfo.user_id == $gBitUser->mUserId || $gBitUser->isAdmin()}
<div class="floaticon">
- <a href="#imgedit" onclick="javascript:ajax_updater( 'imgedit', '{$smarty.const.FISHEYE_PKG_URL}edit_image.php', 'ajax=true&amp;content_id={$galItem->mInfo.content_id}&amp;gallery_id={$gContent->mGalleryId}&amp;from={$smarty.const.FISHEYE_PKG_URL}image_order.php' );">{biticon iname="edit" ipackage="liberty" iexplain="Edit Details"}</a>
- <noscript><div><a href="{$smarty.const.FISHEYE_PKG_URL}edit_image.php?content_id={$galItem->mInfo.content_id}">{biticon ipackage=liberty iname="edit" iexplain="Edit Image"}</a></div></noscript>
+{* <a href="#imgedit" onclick="javascript:ajax_updater( 'imgedit', '{$smarty.const.FISHEYE_PKG_URL}edit_image.php', 'ajax=true&amp;content_id={$galItem->mInfo.content_id}&amp;gallery_id={$gContent->mGalleryId}&amp;from={$smarty.const.FISHEYE_PKG_URL}image_order.php' );">{biticon iname="edit" ipackage="liberty" iexplain="Edit Details"}</a>
+ <noscript><div><a href="{$smarty.const.FISHEYE_PKG_URL}edit_image.php?content_id={$galItem->mInfo.content_id}">{biticon ipackage=liberty iname="edit" 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" *}
+ <div><a target="_new" href="{$smarty.const.FISHEYE_PKG_URL}edit_image.php?content_id={$galItem->mInfo.content_id}">{biticon ipackage=liberty iname="edit" iexplain="Edit Image"}</a></div>
</div>
{/if}
<input type="text" name="image_title[{$galItem->mContentId}]" value="{$galItem->getTitle()}" /><br />