Changeset 894
- Timestamp:
- 09/04/08 21:29:29 (3 months ago)
- Location:
- plugins/plugin_directory/trunk
- Files:
-
- 2 modified
-
plugin_directory.plugin.php (modified) (2 diffs)
-
templates/plugin.multiple.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
plugins/plugin_directory/trunk/plugin_directory.plugin.php
r891 r894 87 87 // put together our rule 88 88 $rule['name'] = 'display_plugins'; 89 $rule['parse_regex'] = '%^explore/plugins /?$%';90 $rule['build_str'] = 'explore/plugins /';89 $rule['parse_regex'] = '%^explore/plugins(?:/page/(?P<page>\d+))?/?$%'; 90 $rule['build_str'] = 'explore/plugins(/page/{$page})'; 91 91 $rule['handler'] = 'UserThemeHandler'; 92 92 $rule['action'] = 'display_plugins'; … … 96 96 // add our rule to the stack 97 97 $rules[] = $rule; 98 98 99 99 // and pass it along 100 100 return $rules; 101 101 102 102 } 103 103 104 104 /** 105 105 * @ todo make uoe own template for these -
plugins/plugin_directory/trunk/templates/plugin.multiple.php
r889 r894 1 1 <?php 2 2 3 3 4 /** … … 32 33 <?php endforeach; ?> 33 34 35 <hr> 36 <p><?php $theme->prev_page_link(); ?> <?php $theme->page_selector( null, array( 'leftSide' => 2, 'rightSide' => 2 ) ); ?> <?php $theme->next_page_link(); ?></p> 34 37 </div> 35 38 36 39 <?php $theme->display('footer'); ?>
