- Timestamp:
- 09/04/08 21:29:29 (4 months ago)
- Files:
-
- 1 modified
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
