Changeset 13379
- Timestamp:
- 11/12/07 07:59:40 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/MidCOM_2_8/org.routamc.photostream/config/config.inc
r12802 r13379 21 21 // Stick to the context in photo navigation (e.g. show the next and previous only from the selected user or tag group) 22 22 'navigate_with_context' => true, 23 'load_next_prev' => false, branches/MidCOM_2_8/org.routamc.photostream/handler/view.php
r12802 r13379 145 145 146 146 // Get the next and previous 147 $data['previous_guid'] = $this->_get_surrounding_photo('<', $args, $data['photo']); 148 $data['next_guid'] = $this->_get_surrounding_photo('>', $args, $data['photo']); 147 $data['previous_guid'] = false; 148 $data['next_guid'] = false; 149 if ($this->_config->get('load_next_prev')) 150 { 151 $data['previous_guid'] = $this->_get_surrounding_photo('<', $args, $data['photo']); 152 $data['next_guid'] = $this->_get_surrounding_photo('>', $args, $data['photo']); 153 } 149 154 150 155 // Create the link suffix
