diff options
| author | Christian Fowler <spider@viovio.com> | 2010-04-24 16:32:29 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2010-04-24 16:32:29 +0000 |
| commit | e81244a779806daaf9dbc0404a593b7a1b0b27b2 (patch) | |
| tree | fc21f7ecb5df6ce3c37a126988a877ddd79b7276 /edit.php | |
| parent | 90346a3c1965d8e5b24b51dbb00c027d107fb96a (diff) | |
| download | fisheye-e81244a779806daaf9dbc0404a593b7a1b0b27b2.tar.gz fisheye-e81244a779806daaf9dbc0404a593b7a1b0b27b2.tar.bz2 fisheye-e81244a779806daaf9dbc0404a593b7a1b0b27b2.zip | |
get generateList to show nice hierarchical display of Gallery Memberships
Diffstat (limited to 'edit.php')
| -rw-r--r-- | edit.php | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_fisheye/edit.php,v 1.37 2010/02/08 21:27:22 wjames5 Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_fisheye/edit.php,v 1.38 2010/04/24 16:32:29 spiderr Exp $ * @package fisheye * @subpackage functions */ @@ -110,10 +110,10 @@ $gBitSmarty->assign_by_ref( 'parentGalleries', $gallery ); $getHash = array( 'user_id' => $gBitUser->mUserId, 'contain_item' => $gContent->mContentId, - 'max_records' => -1, - 'no_thumbnails' => TRUE, - 'sort_mode' => 'title_asc', - 'show_empty' => TRUE, +// 'max_records' => -1, +// 'no_thumbnails' => TRUE, +// 'sort_mode' => 'title_asc', +// 'show_empty' => TRUE, ); // modify listHash according to global preferences if( $gBitSystem->isFeatureActive( 'fisheye_show_all_to_admins' ) && $gBitUser->hasPermission( 'p_fisheye_admin' ) ) { @@ -121,8 +121,8 @@ if( $gBitSystem->isFeatureActive( 'fisheye_show_all_to_admins' ) && $gBitUser->h } elseif( $gBitSystem->isFeatureActive( 'fisheye_show_public_on_upload' ) ) { $getHash['show_public'] = TRUE; } -$galleryList = $gContent->getList( $getHash ); -$gBitSmarty->assign_by_ref( 'galleryList', $galleryList ); +$galleryTree = $gContent->generateList( $getHash, array( 'name' => "gallery_id", 'id' => "gallerylist", 'item_attributes' => array( 'class'=>'listingtitle'), 'radio_checkbox' => TRUE, ) ); +$gBitSmarty->assign_by_ref( 'galleryTree', $galleryTree ); $gContent->invokeServices( 'content_edit_function' ); |
