|
1 <?php |
|
2 /*********************************************************************** |
|
3 |
|
4 Copyright (C) 2002-2008 PunBB.org |
|
5 |
|
6 This file is part of PunBB. |
|
7 |
|
8 PunBB is free software; you can redistribute it and/or modify it |
|
9 under the terms of the GNU General Public License as published |
|
10 by the Free Software Foundation; either version 2 of the License, |
|
11 or (at your option) any later version. |
|
12 |
|
13 PunBB is distributed in the hope that it will be useful, but |
|
14 WITHOUT ANY WARRANTY; without even the implied warranty of |
|
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
16 GNU General Public License for more details. |
|
17 |
|
18 You should have received a copy of the GNU General Public License |
|
19 along with this program; if not, write to the Free Software |
|
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
|
21 MA 02111-1307 USA |
|
22 |
|
23 ************************************************************************/ |
|
24 |
|
25 |
|
26 // Make sure no one attempts to run this script "directly" |
|
27 if (!defined('PUN')) |
|
28 exit; |
|
29 |
|
30 // These are the "fancy" file based SEF URLs |
|
31 $pun_url = array( |
|
32 'insertion_find' => '.html', |
|
33 'insertion_replace' => '-$1.html', |
|
34 'change_email' => 'change-email$1.html', |
|
35 'change_email_key' => 'change-email$1-$2.html', |
|
36 'change_password' => 'change-password$1.html', |
|
37 'change_password_key' => 'change-password$1-$2.html', |
|
38 'delete_user' => 'delete-user$1.html', |
|
39 'delete' => 'delete$1.html', |
|
40 'delete_avatar' => 'delete-avatar$1.html', |
|
41 'edit' => 'edit$1.html', |
|
42 'email' => 'email$1.html', |
|
43 'forum' => 'forum$1$2.html', |
|
44 'forum_rss' => 'forum$1-rss.html', |
|
45 'forum_atom' => 'forum$1-atom.html', |
|
46 'help' => 'help-$1.html', |
|
47 'index' => '', |
|
48 'login' => 'login.html', |
|
49 'logout' => 'logout$1-$2.html', |
|
50 'mark_read' => 'mark-read.html', |
|
51 'mark_forum_read' => 'mark-forum$1-read.html', |
|
52 'new_topic' => 'new-topic$1.html', |
|
53 'new_reply' => 'new-reply$1.html', |
|
54 'post' => 'post$1.html#p$1', |
|
55 'profile_about' => 'user$1-about.html', |
|
56 'profile_identity' => 'user$1-identity.html', |
|
57 'profile_settings' => 'user$1-settings.html', |
|
58 'profile_avatar' => 'user$1-avatar.html', |
|
59 'profile_signature' => 'user$1-signature.html', |
|
60 'profile_admin' => 'user$1-admin.html', |
|
61 'quote' => 'new-reply$1quote$2.html', |
|
62 'register' => 'register.html', |
|
63 'report' => 'report$1.html', |
|
64 'request_password' => 'request-password.html', |
|
65 'rules' => 'rules.html', |
|
66 'search' => 'search.html', |
|
67 'search_resultft' => 'search-k$1-$4-a$3-$5-$6-$2-$7.html', |
|
68 'search_results' => 'search$1.html', |
|
69 'search_new' => 'search-new.html', |
|
70 'search_24h' => 'search-recent.html', |
|
71 'search_unanswered' => 'search-unanswered.html', |
|
72 'search_subscriptions' => 'search-subscriptions.html', |
|
73 'search_user_posts' => 'search-posts-user$1.html', |
|
74 'search_user_topics' => 'search-topics-user$1.html', |
|
75 'subscribe' => 'subscribe$1.html', |
|
76 'topic' => 'topic$1$2.html', |
|
77 'topic_rss' => 'topic$1-rss.html', |
|
78 'topic_atom' => 'topic$1-atom.html', |
|
79 'topic_new_posts' => 'topic$1$2new-posts.html', |
|
80 'topic_last_post' => 'topic$1last-post.html', |
|
81 'unsubscribe' => 'unsubscribe$1.html', |
|
82 'upload_avatar' => 'upload-avatar$1.html', |
|
83 'user' => 'user$1.html', |
|
84 'users' => 'users.html', |
|
85 'users_browse' => 'users/$4/$1$2-$3.html', |
|
86 'page' => 'p$1', |
|
87 'moderate' => 'moderate.html', |
|
88 'moderate_forum' => 'moderate$1.html', |
|
89 'get_host' => 'get_host$1.html', |
|
90 'move' => 'move_topics$1-$2.html', |
|
91 'open' => 'open$1-$2-$3.html', |
|
92 'close' => 'close$1-$2-$3.html', |
|
93 'stick' => 'stick$1-$2-$3.html', |
|
94 'unstick' => 'unstick$1-$2-$3.html', |
|
95 'delete_multiple' => 'moderate$1-$2.html', |
|
96 'admin_index' => 'admin.html', |
|
97 'admin_bans' => 'admin-bans.html', |
|
98 'admin_categories' => 'admin-categories.html', |
|
99 'admin_censoring' => 'admin-censoring.html', |
|
100 'admin_extensions_manage' => 'admin-extensions-manage.html', |
|
101 'admin_extensions_install' => 'admin-extensions-install.html', |
|
102 'admin_forums' => 'admin-forums.html', |
|
103 'admin_groups' => 'admin-groups.html', |
|
104 'admin_loader' => 'admin-loader.html', |
|
105 'admin_reindex' => 'admin-reindex.html', |
|
106 'admin_options_setup' => 'admin-options-setup.html', |
|
107 'admin_options_features' => 'admin-options-features.html', |
|
108 'admin_options_content' => 'admin-options-content.html', |
|
109 'admin_options_email' => 'admin-options-email.html', |
|
110 'admin_options_registration' => 'admin-options-registration.html', |
|
111 'admin_options_communications' => 'admin-options-communications.html', |
|
112 'admin_options_maintenance' => 'admin-options-maintenance.html', |
|
113 'admin_prune' => 'admin-prune.html', |
|
114 'admin_ranks' => 'admin-ranks.html', |
|
115 'admin_reports' => 'admin-reports.html', |
|
116 'admin_users' => 'admin-users.html' |
|
117 ); |