array( 'label' => 'Custom Sorting', 'note' => 'This will change the way category members are displayed. It allows you to sort the members manually.', ), 'display_pigeonhole_path' => array( 'label' => 'Display Path', 'note' => 'Display category paths above the page leading to the object.', ), 'display_pigeonhole_members' => array( 'label' => 'Display Members', 'note' => 'Show the other members of the same categories at the bottom of the page.', ), 'display_pigeonhole_description' => array( 'label' => 'Display Description', 'note' => 'When showing the category members, you can display the category description as well.', ), ); $gBitSmarty->assign( 'pigeonholeSettings', $pigeonholeSettings ); $memberLimit = array( '9999' => 'Unlimited', '10' => 10, '20' => 20, '30' => 30, '50' => 50, '100' => 100, ); $gBitSmarty->assign( 'memberLimit', $memberLimit ); if( !empty( $_REQUEST['pigeonhole_settings'] ) ) { foreach( array_keys( $pigeonholeSettings ) as $item ) { simple_set_toggle( $item, PIGEONHOLES_PKG_NAME ); } simple_set_value( 'limit_member_number', PIGEONHOLES_PKG_NAME ); } ?>