WP-PageNavi - Version 2.20

Version Description

Download this release

Release Info

Developer GamerZ
Plugin Icon WP-PageNavi
Version 2.20
Comparing to
See all releases

Code changes from version 2.11 to 2.20

pagenavi/pagenavi-css.css CHANGED
@@ -1,12 +1,12 @@
1
  /*
2
  +----------------------------------------------------------------+
3
  | |
4
- | WordPress 2.1 Plugin: WP-PageNavi 2.11 |
5
  | Copyright (c) 2007 Lester "GaMerZ" Chan |
6
  | |
7
  | File Written By: |
8
  | - Lester "GaMerZ" Chan |
9
- | - http://www.lesterchan.net |
10
  | |
11
  | File Information: |
12
  | - Page Navigation CSS Style |
1
  /*
2
  +----------------------------------------------------------------+
3
  | |
4
+ | WordPress 2.1 Plugin: WP-PageNavi 2.20 |
5
  | Copyright (c) 2007 Lester "GaMerZ" Chan |
6
  | |
7
  | File Written By: |
8
  | - Lester "GaMerZ" Chan |
9
+ | - http://lesterchan.net |
10
  | |
11
  | File Information: |
12
  | - Page Navigation CSS Style |
pagenavi/pagenavi-options.php CHANGED
@@ -2,12 +2,12 @@
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
- | WordPress 2.1 Plugin: WP-PageNavi 2.11 |
6
  | Copyright (c) 2007 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
10
- | - http://www.lesterchan.net |
11
  | |
12
  | File Information: |
13
  | - Page Navigation Options Page |
@@ -20,140 +20,226 @@
20
  ### Variables Variables Variables
21
  $base_name = plugin_basename('pagenavi/pagenavi-options.php');
22
  $base_page = 'admin.php?page='.$base_name;
 
 
23
 
24
- ### If Form Is Submitted
25
- if($_POST['Submit']) {
26
- $pagenavi_options = array();
27
- $pagenavi_options['pages_text'] = addslashes($_POST['pagenavi_pages_text']);
28
- $pagenavi_options['current_text'] = addslashes($_POST['pagenavi_current_text']);
29
- $pagenavi_options['page_text'] = addslashes($_POST['pagenavi_page_text']);
30
- $pagenavi_options['first_text'] = addslashes($_POST['pagenavi_first_text']);
31
- $pagenavi_options['last_text'] = addslashes($_POST['pagenavi_last_text']);
32
- $pagenavi_options['next_text'] = addslashes($_POST['pagenavi_next_text']);
33
- $pagenavi_options['prev_text'] = addslashes($_POST['pagenavi_prev_text']);
34
- $pagenavi_options['dotright_text'] = addslashes($_POST['pagenavi_dotright_text']);
35
- $pagenavi_options['dotleft_text'] = addslashes($_POST['pagenavi_dotleft_text']);
36
- $pagenavi_options['style'] = intval(trim($_POST['pagenavi_style']));
37
- $pagenavi_options['num_pages'] = intval(trim($_POST['pagenavi_num_pages']));
38
- $pagenavi_options['always_show'] = intval(trim($_POST['pagenavi_always_show']));
39
- $update_pagenavi_queries = array();
40
- $update_pagenavi_text = array();
41
- $update_pagenavi_queries[] = update_option('pagenavi_options', $pagenavi_options);
42
- $update_pagenavi_text[] = __('Page Navigation Options', 'wp-pagenavi');
43
- $i=0;
44
- $text = '';
45
- foreach($update_pagenavi_queries as $update_pagenavi_query) {
46
- if($update_pagenavi_query) {
47
- $text .= '<font color="green">'.$update_pagenavi_text[$i].' '.__('Updated', 'wp-pagenavi').'</font><br />';
48
- }
49
- $i++;
50
- }
51
- if(empty($text)) {
52
- $text = '<font color="red">'.__('No Page Navigation Option Updated', 'wp-pagenavi').'</font>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53
  }
54
  }
55
 
56
- ### Get Page Navigation Options
57
- $pagenavi_options = get_option('pagenavi_options');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  ?>
59
  <?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
 
60
  <div class="wrap">
61
  <h2><?php _e('Page Navigation Options', 'wp-pagenavi'); ?></h2>
62
- <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
63
- <fieldset class="options">
64
- <legend><?php _e('Page Navigation Text', 'wp-pagenavi'); ?></legend>
65
- <table width="100%" border="0" cellspacing="3" cellpadding="3">
66
- <tr valign="top">
67
- <th align="left" width="30%"><?php _e('Text For Number Of Pages', 'wp-pagenavi'); ?></th>
68
- <td align="left">
69
- <input type="text" name="pagenavi_pages_text" value="<?php echo stripslashes($pagenavi_options['pages_text']); ?>" size="50" /><br />
70
- %CURRENT_PAGE% - <?php _e('The current page number.', 'wp-pagenavi'); ?><br />
71
- %TOTAL_PAGES% - <?php _e('The total number of pages.', 'wp-pagenavi'); ?>
72
- </td>
73
- </tr>
74
- <tr valign="top">
75
- <th align="left" width="30%"><?php _e('Text For Current Page', 'wp-pagenavi'); ?></th>
76
- <td align="left">
77
- <input type="text" name="pagenavi_current_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['current_text'])); ?>" size="30" /><br />
78
- %PAGE_NUMBER% - <?php _e('The page number.', 'wp-pagenavi'); ?><br />
79
- </td>
80
- </tr>
81
- <tr valign="top">
82
- <th align="left" width="30%"><?php _e('Text For Page', 'wp-pagenavi'); ?></th>
83
- <td align="left">
84
- <input type="text" name="pagenavi_page_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['page_text'])); ?>" size="30" /><br />
85
- %PAGE_NUMBER% - <?php _e('The page number.', 'wp-pagenavi'); ?><br />
86
- </td>
87
- </tr>
88
- <tr valign="top">
89
- <th align="left" width="30%"><?php _e('Text For First Post', 'wp-pagenavi'); ?></th>
90
- <td align="left">
91
- <input type="text" name="pagenavi_first_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['first_text'])); ?>" size="30" />
92
- </td>
93
- </tr>
94
- <tr valign="top">
95
- <th align="left" width="30%"><?php _e('Text For Last Post', 'wp-pagenavi'); ?></th>
96
- <td align="left">
97
- <input type="text" name="pagenavi_last_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['last_text'])); ?>" size="30" />
98
- </td>
99
- </tr>
100
- <tr valign="top">
101
- <th align="left" width="30%"><?php _e('Text For Next Post', 'wp-pagenavi'); ?></th>
102
- <td align="left">
103
- <input type="text" name="pagenavi_next_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['next_text'])); ?>" size="30" />
104
- </td>
105
- </tr>
106
- <tr valign="top">
107
- <th align="left" width="30%"><?php _e('Text For Previous Post', 'wp-pagenavi'); ?></th>
108
- <td align="left">
109
- <input type="text" name="pagenavi_prev_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['prev_text'])); ?>" size="30" />
110
- </td>
111
- </tr>
112
- <tr valign="top">
113
- <th align="left" width="30%"><?php _e('Text For Next ...', 'wp-pagenavi'); ?></th>
114
- <td align="left">
115
- <input type="text" name="pagenavi_dotright_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['dotright_text'])); ?>" size="30" />
116
- </td>
117
- </tr>
118
- <tr valign="top">
119
- <th align="left" width="30%"><?php _e('Text For Previous ...', 'wp-pagenavi'); ?></th>
120
- <td align="left">
121
- <input type="text" name="pagenavi_dotleft_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['dotright_text'])); ?>" size="30" />
122
- </td>
123
- </tr>
124
- </table>
125
- </fieldset>
126
- <fieldset class="options">
127
- <legend><?php _e('Page Navigation Options', 'wp-pagenavi'); ?></legend>
128
- <table width="100%" border="0" cellspacing="3" cellpadding="3">
129
- <tr valign="top">
130
- <th align="left" width="30%"><?php _e('Page Navigation Style', 'wp-pagenavi'); ?></th>
131
- <td align="left">
132
- <select name="pagenavi_style" size="1">
133
- <option value="1"<?php selected('1', $pagenavi_options['style']); ?>><?php _e('Normal', 'wp-pagenavi'); ?></option>
134
- <option value="2"<?php selected('2', $pagenavi_options['style']); ?>><?php _e('Drop Down List', 'wp-pagenavi'); ?></option>
135
- </select>
136
- </td>
137
- </tr>
138
- <tr valign="top">
139
- <th align="left" width="30%"><?php _e('Number Of Many Pages To Show?', 'wp-pagenavi'); ?></th>
140
- <td align="left">
141
- <input type="text" name="pagenavi_num_pages" value="<?php echo stripslashes($pagenavi_options['num_pages']); ?>" size="4" />
142
- </td>
143
- </tr>
144
- <tr valign="top">
145
- <th align="left" width="30%"><?php _e('Always Show Page Navigation?', 'wp-pagenavi'); ?></th>
146
- <td align="left">
147
- <select name="pagenavi_always_show" size="1">
148
- <option value="1"<?php selected('1', $pagenavi_options['always_show']); ?>><?php _e('Yes', 'wp-pagenavi'); ?></option>
149
- <option value="0"<?php selected('0', $pagenavi_options['always_show']); ?>><?php _e('No', 'wp-pagenavi'); ?></option>
150
- </select>
151
- </td>
152
- </tr>
153
- </table>
154
- </fieldset>
155
- <div align="center">
156
- <input type="submit" name="Submit" class="button" value="<?php _e('Update Options', 'wp-pagenavi'); ?>" />&nbsp;&nbsp;<input type="button" name="cancel" value="<?php _e('Cancel', 'wp-pagenavi'); ?>" class="button" onclick="javascript:history.go(-1)" />
157
- </div>
158
- </form>
159
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  /*
3
  +----------------------------------------------------------------+
4
  | |
5
+ | WordPress 2.1 Plugin: WP-PageNavi 2.20 |
6
  | Copyright (c) 2007 Lester "GaMerZ" Chan |
7
  | |
8
  | File Written By: |
9
  | - Lester "GaMerZ" Chan |
10
+ | - http://lesterchan.net |
11
  | |
12
  | File Information: |
13
  | - Page Navigation Options Page |
20
  ### Variables Variables Variables
21
  $base_name = plugin_basename('pagenavi/pagenavi-options.php');
22
  $base_page = 'admin.php?page='.$base_name;
23
+ $mode = trim($_GET['mode']);
24
+ $pagenavi_settings = array('pagenavi_options');
25
 
26
+
27
+ ### Form Processing
28
+ if(!empty($_POST['do'])) {
29
+ // Decide What To Do
30
+ switch($_POST['do']) {
31
+ case __('Update Options', 'wp-pagenavi'):
32
+ $pagenavi_options = array();
33
+ $pagenavi_options['pages_text'] = addslashes($_POST['pagenavi_pages_text']);
34
+ $pagenavi_options['current_text'] = addslashes($_POST['pagenavi_current_text']);
35
+ $pagenavi_options['page_text'] = addslashes($_POST['pagenavi_page_text']);
36
+ $pagenavi_options['first_text'] = addslashes($_POST['pagenavi_first_text']);
37
+ $pagenavi_options['last_text'] = addslashes($_POST['pagenavi_last_text']);
38
+ $pagenavi_options['next_text'] = addslashes($_POST['pagenavi_next_text']);
39
+ $pagenavi_options['prev_text'] = addslashes($_POST['pagenavi_prev_text']);
40
+ $pagenavi_options['dotright_text'] = addslashes($_POST['pagenavi_dotright_text']);
41
+ $pagenavi_options['dotleft_text'] = addslashes($_POST['pagenavi_dotleft_text']);
42
+ $pagenavi_options['style'] = intval(trim($_POST['pagenavi_style']));
43
+ $pagenavi_options['num_pages'] = intval(trim($_POST['pagenavi_num_pages']));
44
+ $pagenavi_options['always_show'] = intval(trim($_POST['pagenavi_always_show']));
45
+ $update_pagenavi_queries = array();
46
+ $update_pagenavi_text = array();
47
+ $update_pagenavi_queries[] = update_option('pagenavi_options', $pagenavi_options);
48
+ $update_pagenavi_text[] = __('Page Navigation Options', 'wp-pagenavi');
49
+ $i=0;
50
+ $text = '';
51
+ foreach($update_pagenavi_queries as $update_pagenavi_query) {
52
+ if($update_pagenavi_query) {
53
+ $text .= '<font color="green">'.$update_pagenavi_text[$i].' '.__('Updated', 'wp-pagenavi').'</font><br />';
54
+ }
55
+ $i++;
56
+ }
57
+ if(empty($text)) {
58
+ $text = '<font color="red">'.__('No Page Navigation Option Updated', 'wp-pagenavi').'</font>';
59
+ }
60
+ break;
61
+ // Uninstall WP-PageNavi
62
+ case __('UNINSTALL WP-PageNavi', 'wp-pagenavi') :
63
+ if(trim($_POST['uninstall_pagenavi_yes']) == 'yes') {
64
+ echo '<div id="message" class="updated fade">';
65
+ echo '<p>';
66
+ foreach($pagenavi_settings as $setting) {
67
+ $delete_setting = delete_option($setting);
68
+ if($delete_setting) {
69
+ echo '<font color="green">';
70
+ printf(__('Setting Key \'%s\' has been deleted.', 'wp-pagenavi'), "<strong><em>{$setting}</em></strong>");
71
+ echo '</font><br />';
72
+ } else {
73
+ echo '<font color="red">';
74
+ printf(__('Error deleting Setting Key \'%s\'.', 'wp-pagenavi'), "<strong><em>{$setting}</em></strong>");
75
+ echo '</font><br />';
76
+ }
77
+ }
78
+ echo '</p>';
79
+ echo '</div>';
80
+ $mode = 'end-UNINSTALL';
81
+ }
82
+ break;
83
  }
84
  }
85
 
86
+
87
+ ### Determines Which Mode It Is
88
+ switch($mode) {
89
+ // Deactivating WP-PageNavi
90
+ case 'end-UNINSTALL':
91
+ $deactivate_url = 'plugins.php?action=deactivate&amp;plugin=pagenavi/pagenavi.php';
92
+ if(function_exists('wp_nonce_url')) {
93
+ $deactivate_url = wp_nonce_url($deactivate_url, 'deactivate-plugin_pagenavi/pagenavi.php');
94
+ }
95
+ echo '<div class="wrap">';
96
+ echo '<h2>'.__('Uninstall WP-PageNavi', 'wp-pagenavi').'</h2>';
97
+ echo '<p><strong>'.sprintf(__('<a href="%s">Click Here</a> To Finish The Uninstallation And WP-PageNavi Will Be Deactivated Automatically.', 'wp-pagenavi'), $deactivate_url).'</strong></p>';
98
+ echo '</div>';
99
+ break;
100
+ // Main Page
101
+ default:
102
+ $pagenavi_options = get_option('pagenavi_options');
103
  ?>
104
  <?php if(!empty($text)) { echo '<!-- Last Action --><div id="message" class="updated fade"><p>'.$text.'</p></div>'; } ?>
105
+ <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
106
  <div class="wrap">
107
  <h2><?php _e('Page Navigation Options', 'wp-pagenavi'); ?></h2>
108
+ <fieldset class="options">
109
+ <legend><?php _e('Page Navigation Text', 'wp-pagenavi'); ?></legend>
110
+ <table width="100%" border="0" cellspacing="3" cellpadding="3">
111
+ <tr valign="top">
112
+ <th align="left" width="30%"><?php _e('Text For Number Of Pages', 'wp-pagenavi'); ?></th>
113
+ <td align="left">
114
+ <input type="text" name="pagenavi_pages_text" value="<?php echo stripslashes($pagenavi_options['pages_text']); ?>" size="50" /><br />
115
+ %CURRENT_PAGE% - <?php _e('The current page number.', 'wp-pagenavi'); ?><br />
116
+ %TOTAL_PAGES% - <?php _e('The total number of pages.', 'wp-pagenavi'); ?>
117
+ </td>
118
+ </tr>
119
+ <tr valign="top">
120
+ <th align="left" width="30%"><?php _e('Text For Current Page', 'wp-pagenavi'); ?></th>
121
+ <td align="left">
122
+ <input type="text" name="pagenavi_current_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['current_text'])); ?>" size="30" /><br />
123
+ %PAGE_NUMBER% - <?php _e('The page number.', 'wp-pagenavi'); ?><br />
124
+ </td>
125
+ </tr>
126
+ <tr valign="top">
127
+ <th align="left" width="30%"><?php _e('Text For Page', 'wp-pagenavi'); ?></th>
128
+ <td align="left">
129
+ <input type="text" name="pagenavi_page_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['page_text'])); ?>" size="30" /><br />
130
+ %PAGE_NUMBER% - <?php _e('The page number.', 'wp-pagenavi'); ?><br />
131
+ </td>
132
+ </tr>
133
+ <tr valign="top">
134
+ <th align="left" width="30%"><?php _e('Text For First Post', 'wp-pagenavi'); ?></th>
135
+ <td align="left">
136
+ <input type="text" name="pagenavi_first_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['first_text'])); ?>" size="30" />
137
+ </td>
138
+ </tr>
139
+ <tr valign="top">
140
+ <th align="left" width="30%"><?php _e('Text For Last Post', 'wp-pagenavi'); ?></th>
141
+ <td align="left">
142
+ <input type="text" name="pagenavi_last_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['last_text'])); ?>" size="30" />
143
+ </td>
144
+ </tr>
145
+ <tr valign="top">
146
+ <th align="left" width="30%"><?php _e('Text For Next Post', 'wp-pagenavi'); ?></th>
147
+ <td align="left">
148
+ <input type="text" name="pagenavi_next_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['next_text'])); ?>" size="30" />
149
+ </td>
150
+ </tr>
151
+ <tr valign="top">
152
+ <th align="left" width="30%"><?php _e('Text For Previous Post', 'wp-pagenavi'); ?></th>
153
+ <td align="left">
154
+ <input type="text" name="pagenavi_prev_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['prev_text'])); ?>" size="30" />
155
+ </td>
156
+ </tr>
157
+ <tr valign="top">
158
+ <th align="left" width="30%"><?php _e('Text For Next ...', 'wp-pagenavi'); ?></th>
159
+ <td align="left">
160
+ <input type="text" name="pagenavi_dotright_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['dotright_text'])); ?>" size="30" />
161
+ </td>
162
+ </tr>
163
+ <tr valign="top">
164
+ <th align="left" width="30%"><?php _e('Text For Previous ...', 'wp-pagenavi'); ?></th>
165
+ <td align="left">
166
+ <input type="text" name="pagenavi_dotleft_text" value="<?php echo stripslashes(htmlspecialchars($pagenavi_options['dotright_text'])); ?>" size="30" />
167
+ </td>
168
+ </tr>
169
+ </table>
170
+ </fieldset>
171
+ <fieldset class="options">
172
+ <legend><?php _e('Page Navigation Options', 'wp-pagenavi'); ?></legend>
173
+ <table width="100%" border="0" cellspacing="3" cellpadding="3">
174
+ <tr valign="top">
175
+ <th align="left" width="30%"><?php _e('Page Navigation Style', 'wp-pagenavi'); ?></th>
176
+ <td align="left">
177
+ <select name="pagenavi_style" size="1">
178
+ <option value="1"<?php selected('1', $pagenavi_options['style']); ?>><?php _e('Normal', 'wp-pagenavi'); ?></option>
179
+ <option value="2"<?php selected('2', $pagenavi_options['style']); ?>><?php _e('Drop Down List', 'wp-pagenavi'); ?></option>
180
+ </select>
181
+ </td>
182
+ </tr>
183
+ <tr valign="top">
184
+ <th align="left" width="30%"><?php _e('Number Of Many Pages To Show?', 'wp-pagenavi'); ?></th>
185
+ <td align="left">
186
+ <input type="text" name="pagenavi_num_pages" value="<?php echo stripslashes($pagenavi_options['num_pages']); ?>" size="4" />
187
+ </td>
188
+ </tr>
189
+ <tr valign="top">
190
+ <th align="left" width="30%"><?php _e('Always Show Page Navigation?', 'wp-pagenavi'); ?></th>
191
+ <td align="left">
192
+ <select name="pagenavi_always_show" size="1">
193
+ <option value="1"<?php selected('1', $pagenavi_options['always_show']); ?>><?php _e('Yes', 'wp-pagenavi'); ?></option>
194
+ <option value="0"<?php selected('0', $pagenavi_options['always_show']); ?>><?php _e('No', 'wp-pagenavi'); ?></option>
195
+ </select>
196
+ </td>
197
+ </tr>
198
+ </table>
199
+ </fieldset>
200
+ <div align="center">
201
+ <input type="submit" name="do" class="button" value="<?php _e('Update Options', 'wp-pagenavi'); ?>" />&nbsp;&nbsp;<input type="button" name="cancel" value="<?php _e('Cancel', 'wp-pagenavi'); ?>" class="button" onclick="javascript:history.go(-1)" />
202
+ </div>
203
+ </div>
204
+ </form>
205
+
206
+ <!-- Uninstall WP-PageNavi -->
207
+ <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>">
208
+ <div class="wrap">
209
+ <h2><?php _e('Uninstall WP-PageNavi', 'wp-pagenavi'); ?></h2>
210
+ <p style="text-align: left;">
211
+ <?php _e('Deactivating WP-PageNavi plugin does not remove any data that may have been created, such as the page navigation options. To completely remove this plugin, you can uninstall it here.', 'wp-pagenavi'); ?>
212
+ </p>
213
+ <p style="text-align: left; color: red">
214
+ <strong><?php _e('WARNING:', 'wp-pagenavi'); ?></strong><br />
215
+ <?php _e('Once uninstalled, this cannot be undone. You should use a Database Backup plugin of WordPress to back up all the data first.', 'wp-pagenavi'); ?>
216
+ </p>
217
+ <p style="text-align: left; color: red">
218
+ <strong><?php _e('The following WordPress Options will be DELETED:', 'wp-pagenavi'); ?></strong><br />
219
+ </p>
220
+ <table width="70%" border="0" cellspacing="3" cellpadding="3">
221
+ <tr class="thead">
222
+ <td align="center"><strong><?php _e('WordPress Options', 'wp-pagenavi'); ?></strong></td>
223
+ </tr>
224
+ <tr>
225
+ <td valign="top" style="background-color: #eee;">
226
+ <ol>
227
+ <?php
228
+ foreach($pagenavi_settings as $settings) {
229
+ echo '<li>'.$settings.'</li>'."\n";
230
+ }
231
+ ?>
232
+ </ol>
233
+ </td>
234
+ </tr>
235
+ </table>
236
+ <p>&nbsp;</p>
237
+ <p style="text-align: center;">
238
+ <input type="checkbox" name="uninstall_pagenavi_yes" value="yes" />&nbsp;<?php _e('Yes', 'wp-pagenavi'); ?><br /><br />
239
+ <input type="submit" name="do" value="<?php _e('UNINSTALL WP-PageNavi', 'wp-pagenavi'); ?>" class="button" onclick="return confirm('<?php _e('You Are About To Uninstall WP-PageNavi From WordPress.\nThis Action Is Not Reversible.\n\n Choose [Cancel] To Stop, [OK] To Uninstall.', 'wp-pagenavi'); ?>')" />
240
+ </p>
241
+ </div>
242
+ </form>
243
+ <?php
244
+ } // End switch($mode)
245
+ ?>
pagenavi/pagenavi.php CHANGED
@@ -1,11 +1,11 @@
1
  <?php
2
  /*
3
  Plugin Name: WP-PageNavi
4
- Plugin URI: http://www.lesterchan.net/portfolio/programming.php
5
  Description: Adds a more advanced paging navigation to your WordPress blog.
6
- Version: 2.11
7
  Author: Lester 'GaMerZ' Chan
8
- Author URI: http://www.lesterchan.net
9
  */
10
 
11
 
@@ -29,7 +29,10 @@ Author URI: http://www.lesterchan.net
29
 
30
 
31
  ### Create Text Domain For Translations
32
- load_plugin_textdomain('wp-pagenavi', 'wp-content/plugins/pagenavi');
 
 
 
33
 
34
 
35
  ### Function: Page Navigation Option Menu
@@ -44,21 +47,27 @@ function pagenavi_menu() {
44
  ### Function: Page Navigation CSS
45
  add_action('wp_head', 'pagenavi_css');
46
  function pagenavi_css() {
47
- echo "\n".'<!-- Start Of Script Generated By WP-PageNavi 2.11 -->'."\n";
48
  echo '<link rel="stylesheet" href="'.get_option('siteurl').'/wp-content/plugins/pagenavi/pagenavi-css.css" type="text/css" media="screen" />'."\n";
49
- echo '<!-- End Of Script Generated By WP-PageNavi 2.11 -->'."\n";
50
  }
51
 
52
 
53
  ### Function: Page Navigation: Boxed Style Paging
54
  function wp_pagenavi() {
55
- global $request, $posts_per_page, $wpdb, $paged;
56
  if (!is_single()) {
 
 
 
57
  $pagenavi_options = get_option('pagenavi_options');
 
 
 
58
  $numposts = 0;
59
  if(strpos(get_query_var('tag'), " ")) {
60
  preg_match('#^(.*)\sLIMIT#siU', $request, $matches);
61
- $fromwhere = $matches[1];
62
  $results = $wpdb->get_results($fromwhere);
63
  $numposts = count($results);
64
  } else {
@@ -67,7 +76,8 @@ function wp_pagenavi() {
67
  $numposts = $wpdb->get_var("SELECT COUNT(DISTINCT ID) FROM $fromwhere");
68
  }
69
  $max_page = ceil($numposts/$posts_per_page);
70
- if(empty($paged)) {
 
71
  $paged = 1;
72
  }
73
  $pages_to_show = intval($pagenavi_options['num_pages']);
@@ -96,7 +106,7 @@ function wp_pagenavi() {
96
  switch(intval($pagenavi_options['style'])) {
97
  case 1:
98
  echo '<span class="pages">'.$pages_text.'</span>';
99
- if ($paged >= $pages_to_show_minus_1) {
100
  echo '<a href="'.get_pagenum_link().'" title="'.$pagenavi_options['first_text'].'">'.$pagenavi_options['first_text'].'</a>';
101
  if(!empty($pagenavi_options['dotleft_text'])) {
102
  echo '<span class="extend">'.$pagenavi_options['dotleft_text'].'</span>';
@@ -155,8 +165,6 @@ function wp_pagenavi_dropdown() {
155
  ### Function: Page Navigation Options
156
  add_action('activate_pagenavi/pagenavi.php', 'pagenavi_init');
157
  function pagenavi_init() {
158
- // Delete Options First
159
- delete_option('pagenavi_options');
160
  // Add Options
161
  $pagenavi_options = array();
162
  $pagenavi_options['pages_text'] = __('Page %CURRENT_PAGE% of %TOTAL_PAGES%','wp-pagenavi');
1
  <?php
2
  /*
3
  Plugin Name: WP-PageNavi
4
+ Plugin URI: http://lesterchan.net/portfolio/programming.php
5
  Description: Adds a more advanced paging navigation to your WordPress blog.
6
+ Version: 2.20
7
  Author: Lester 'GaMerZ' Chan
8
+ Author URI: http://lesterchan.net
9
  */
10
 
11
 
29
 
30
 
31
  ### Create Text Domain For Translations
32
+ add_action('init', 'pagenavi_textdomain');
33
+ function pagenavi_textdomain() {
34
+ load_plugin_textdomain('wp-pagenavi', 'wp-content/plugins/pagenavi');
35
+ }
36
 
37
 
38
  ### Function: Page Navigation Option Menu
47
  ### Function: Page Navigation CSS
48
  add_action('wp_head', 'pagenavi_css');
49
  function pagenavi_css() {
50
+ echo "\n".'<!-- Start Of Script Generated By WP-PageNavi 2.20 -->'."\n";
51
  echo '<link rel="stylesheet" href="'.get_option('siteurl').'/wp-content/plugins/pagenavi/pagenavi-css.css" type="text/css" media="screen" />'."\n";
52
+ echo '<!-- End Of Script Generated By WP-PageNavi 2.20 -->'."\n";
53
  }
54
 
55
 
56
  ### Function: Page Navigation: Boxed Style Paging
57
  function wp_pagenavi() {
58
+ global $wpdb, $wp_query;
59
  if (!is_single()) {
60
+ $request = $wp_query->request;
61
+ $posts_per_page = intval(get_query_var('posts_per_page'));
62
+ $paged = intval(get_query_var('paged'));
63
  $pagenavi_options = get_option('pagenavi_options');
64
+ $numposts = $wp_query->found_posts;
65
+ $max_page = $wp_query->max_num_pages;
66
+ /*
67
  $numposts = 0;
68
  if(strpos(get_query_var('tag'), " ")) {
69
  preg_match('#^(.*)\sLIMIT#siU', $request, $matches);
70
+ $fromwhere = $matches[1];
71
  $results = $wpdb->get_results($fromwhere);
72
  $numposts = count($results);
73
  } else {
76
  $numposts = $wpdb->get_var("SELECT COUNT(DISTINCT ID) FROM $fromwhere");
77
  }
78
  $max_page = ceil($numposts/$posts_per_page);
79
+ */
80
+ if(empty($paged) || $paged == 0) {
81
  $paged = 1;
82
  }
83
  $pages_to_show = intval($pagenavi_options['num_pages']);
106
  switch(intval($pagenavi_options['style'])) {
107
  case 1:
108
  echo '<span class="pages">'.$pages_text.'</span>';
109
+ if ($paged >= $pages_to_show_minus_1 && $pages_to_show < $max_page) {
110
  echo '<a href="'.get_pagenum_link().'" title="'.$pagenavi_options['first_text'].'">'.$pagenavi_options['first_text'].'</a>';
111
  if(!empty($pagenavi_options['dotleft_text'])) {
112
  echo '<span class="extend">'.$pagenavi_options['dotleft_text'].'</span>';
165
  ### Function: Page Navigation Options
166
  add_action('activate_pagenavi/pagenavi.php', 'pagenavi_init');
167
  function pagenavi_init() {
 
 
168
  // Add Options
169
  $pagenavi_options = array();
170
  $pagenavi_options['pages_text'] = __('Page %CURRENT_PAGE% of %TOTAL_PAGES%','wp-pagenavi');
pagenavi/wp-pagenavi.mo CHANGED
Binary file
pagenavi/wp-pagenavi.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
- "Project-Id-Version: WP-PageNavi 2.11\n"
4
  "POT-Creation-Date: \n"
5
- "PO-Revision-Date: 2007-06-02 18:54+0800\n"
6
  "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n"
7
  "Language-Team: Lester Chan <gamerz84@hotmail.com>\n"
8
  "MIME-Version: 1.0\n"
@@ -14,135 +14,190 @@ msgstr ""
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SearchPath-0: .\n"
16
 
17
- #: pagenavi-options.php:42
18
- #: pagenavi-options.php:61
19
- #: pagenavi-options.php:127
 
 
 
 
 
20
  msgid "Page Navigation Options"
21
  msgstr ""
22
 
23
- #: pagenavi-options.php:47
24
  msgid "Updated"
25
  msgstr ""
26
 
27
- #: pagenavi-options.php:52
28
  msgid "No Page Navigation Option Updated"
29
  msgstr ""
30
 
31
- #: pagenavi-options.php:64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  msgid "Page Navigation Text"
33
  msgstr ""
34
 
35
- #: pagenavi-options.php:67
36
  msgid "Text For Number Of Pages"
37
  msgstr ""
38
 
39
- #: pagenavi-options.php:70
40
  msgid "The current page number."
41
  msgstr ""
42
 
43
- #: pagenavi-options.php:71
44
  msgid "The total number of pages."
45
  msgstr ""
46
 
47
- #: pagenavi-options.php:75
48
  msgid "Text For Current Page"
49
  msgstr ""
50
 
51
- #: pagenavi-options.php:78
52
- #: pagenavi-options.php:85
53
  msgid "The page number."
54
  msgstr ""
55
 
56
- #: pagenavi-options.php:82
57
  msgid "Text For Page"
58
  msgstr ""
59
 
60
- #: pagenavi-options.php:89
61
  msgid "Text For First Post"
62
  msgstr ""
63
 
64
- #: pagenavi-options.php:95
65
  msgid "Text For Last Post"
66
  msgstr ""
67
 
68
- #: pagenavi-options.php:101
69
  msgid "Text For Next Post"
70
  msgstr ""
71
 
72
- #: pagenavi-options.php:107
73
  msgid "Text For Previous Post"
74
  msgstr ""
75
 
76
- #: pagenavi-options.php:113
77
  msgid "Text For Next ..."
78
  msgstr ""
79
 
80
- #: pagenavi-options.php:119
81
  msgid "Text For Previous ..."
82
  msgstr ""
83
 
84
- #: pagenavi-options.php:130
85
  msgid "Page Navigation Style"
86
  msgstr ""
87
 
88
- #: pagenavi-options.php:133
89
  msgid "Normal"
90
  msgstr ""
91
 
92
- #: pagenavi-options.php:134
93
  msgid "Drop Down List"
94
  msgstr ""
95
 
96
- #: pagenavi-options.php:139
97
  msgid "Number Of Many Pages To Show?"
98
  msgstr ""
99
 
100
- #: pagenavi-options.php:145
101
  msgid "Always Show Page Navigation?"
102
  msgstr ""
103
 
104
- #: pagenavi-options.php:148
 
105
  msgid "Yes"
106
  msgstr ""
107
 
108
- #: pagenavi-options.php:149
109
  msgid "No"
110
  msgstr ""
111
 
112
- #: pagenavi-options.php:156
113
- msgid "Update Options"
114
  msgstr ""
115
 
116
- #: pagenavi-options.php:156
117
- msgid "Cancel"
 
 
 
 
 
 
 
 
118
  msgstr ""
119
 
120
- #: pagenavi.php:39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  msgid "PageNavi"
122
  msgstr ""
123
 
124
- #: pagenavi.php:162
125
  msgid "Page %CURRENT_PAGE% of %TOTAL_PAGES%"
126
  msgstr ""
127
 
128
- #: pagenavi.php:165
129
  msgid "&laquo; First"
130
  msgstr ""
131
 
132
- #: pagenavi.php:166
133
  msgid "Last &raquo;"
134
  msgstr ""
135
 
136
- #: pagenavi.php:167
137
  msgid "&raquo;"
138
  msgstr ""
139
 
140
- #: pagenavi.php:168
141
  msgid "&laquo;"
142
  msgstr ""
143
 
144
- #: pagenavi.php:169
145
- #: pagenavi.php:170
146
  msgid "..."
147
  msgstr ""
148
 
1
  msgid ""
2
  msgstr ""
3
+ "Project-Id-Version: WP-PageNavi 2.20\n"
4
  "POT-Creation-Date: \n"
5
+ "PO-Revision-Date: 2007-09-30 16:05+0800\n"
6
  "Last-Translator: Lester 'GaMerZ' Chan <gamerz84@hotmail.com>\n"
7
  "Language-Team: Lester Chan <gamerz84@hotmail.com>\n"
8
  "MIME-Version: 1.0\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SearchPath-0: .\n"
16
 
17
+ #: pagenavi-options.php:31
18
+ #: pagenavi-options.php:201
19
+ msgid "Update Options"
20
+ msgstr ""
21
+
22
+ #: pagenavi-options.php:48
23
+ #: pagenavi-options.php:107
24
+ #: pagenavi-options.php:172
25
  msgid "Page Navigation Options"
26
  msgstr ""
27
 
28
+ #: pagenavi-options.php:53
29
  msgid "Updated"
30
  msgstr ""
31
 
32
+ #: pagenavi-options.php:58
33
  msgid "No Page Navigation Option Updated"
34
  msgstr ""
35
 
36
+ #: pagenavi-options.php:62
37
+ #: pagenavi-options.php:239
38
+ msgid "UNINSTALL WP-PageNavi"
39
+ msgstr ""
40
+
41
+ #: pagenavi-options.php:70
42
+ #, php-format
43
+ msgid "Setting Key '%s' has been deleted."
44
+ msgstr ""
45
+
46
+ #: pagenavi-options.php:74
47
+ #, php-format
48
+ msgid "Error deleting Setting Key '%s'."
49
+ msgstr ""
50
+
51
+ #: pagenavi-options.php:96
52
+ #: pagenavi-options.php:209
53
+ msgid "Uninstall WP-PageNavi"
54
+ msgstr ""
55
+
56
+ #: pagenavi-options.php:97
57
+ #, php-format
58
+ msgid "<a href=\"%s\">Click Here</a> To Finish The Uninstallation And WP-PageNavi Will Be Deactivated Automatically."
59
+ msgstr ""
60
+
61
+ #: pagenavi-options.php:109
62
  msgid "Page Navigation Text"
63
  msgstr ""
64
 
65
+ #: pagenavi-options.php:112
66
  msgid "Text For Number Of Pages"
67
  msgstr ""
68
 
69
+ #: pagenavi-options.php:115
70
  msgid "The current page number."
71
  msgstr ""
72
 
73
+ #: pagenavi-options.php:116
74
  msgid "The total number of pages."
75
  msgstr ""
76
 
77
+ #: pagenavi-options.php:120
78
  msgid "Text For Current Page"
79
  msgstr ""
80
 
81
+ #: pagenavi-options.php:123
82
+ #: pagenavi-options.php:130
83
  msgid "The page number."
84
  msgstr ""
85
 
86
+ #: pagenavi-options.php:127
87
  msgid "Text For Page"
88
  msgstr ""
89
 
90
+ #: pagenavi-options.php:134
91
  msgid "Text For First Post"
92
  msgstr ""
93
 
94
+ #: pagenavi-options.php:140
95
  msgid "Text For Last Post"
96
  msgstr ""
97
 
98
+ #: pagenavi-options.php:146
99
  msgid "Text For Next Post"
100
  msgstr ""
101
 
102
+ #: pagenavi-options.php:152
103
  msgid "Text For Previous Post"
104
  msgstr ""
105
 
106
+ #: pagenavi-options.php:158
107
  msgid "Text For Next ..."
108
  msgstr ""
109
 
110
+ #: pagenavi-options.php:164
111
  msgid "Text For Previous ..."
112
  msgstr ""
113
 
114
+ #: pagenavi-options.php:175
115
  msgid "Page Navigation Style"
116
  msgstr ""
117
 
118
+ #: pagenavi-options.php:178
119
  msgid "Normal"
120
  msgstr ""
121
 
122
+ #: pagenavi-options.php:179
123
  msgid "Drop Down List"
124
  msgstr ""
125
 
126
+ #: pagenavi-options.php:184
127
  msgid "Number Of Many Pages To Show?"
128
  msgstr ""
129
 
130
+ #: pagenavi-options.php:190
131
  msgid "Always Show Page Navigation?"
132
  msgstr ""
133
 
134
+ #: pagenavi-options.php:193
135
+ #: pagenavi-options.php:238
136
  msgid "Yes"
137
  msgstr ""
138
 
139
+ #: pagenavi-options.php:194
140
  msgid "No"
141
  msgstr ""
142
 
143
+ #: pagenavi-options.php:201
144
+ msgid "Cancel"
145
  msgstr ""
146
 
147
+ #: pagenavi-options.php:211
148
+ msgid "Deactivating WP-PageNavi plugin does not remove any data that may have been created, such as the page navigation options. To completely remove this plugin, you can uninstall it here."
149
+ msgstr ""
150
+
151
+ #: pagenavi-options.php:214
152
+ msgid "WARNING:"
153
+ msgstr ""
154
+
155
+ #: pagenavi-options.php:215
156
+ msgid "Once uninstalled, this cannot be undone. You should use a Database Backup plugin of WordPress to back up all the data first."
157
  msgstr ""
158
 
159
+ #: pagenavi-options.php:218
160
+ msgid "The following WordPress Options will be DELETED:"
161
+ msgstr ""
162
+
163
+ #: pagenavi-options.php:222
164
+ msgid "WordPress Options"
165
+ msgstr ""
166
+
167
+ #: pagenavi-options.php:239
168
+ msgid ""
169
+ "You Are About To Uninstall WP-PageNavi From WordPress.\\n"
170
+ "This Action Is Not Reversible.\\n"
171
+ "\\n"
172
+ " Choose [Cancel] To Stop, [OK] To Uninstall."
173
+ msgstr ""
174
+
175
+ #: pagenavi.php:42
176
  msgid "PageNavi"
177
  msgstr ""
178
 
179
+ #: pagenavi.php:170
180
  msgid "Page %CURRENT_PAGE% of %TOTAL_PAGES%"
181
  msgstr ""
182
 
183
+ #: pagenavi.php:173
184
  msgid "&laquo; First"
185
  msgstr ""
186
 
187
+ #: pagenavi.php:174
188
  msgid "Last &raquo;"
189
  msgstr ""
190
 
191
+ #: pagenavi.php:175
192
  msgid "&raquo;"
193
  msgstr ""
194
 
195
+ #: pagenavi.php:176
196
  msgid "&laquo;"
197
  msgstr ""
198
 
199
+ #: pagenavi.php:177
200
+ #: pagenavi.php:178
201
  msgid "..."
202
  msgstr ""
203
 
readme.html CHANGED
@@ -2,7 +2,7 @@
2
  <html>
3
  <head>
4
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5
- <title>WP-PageNavi 2.11 Readme</title>
6
  <style type="text/css" media="screen">
7
  /* Default Style */
8
  BODY {
@@ -203,7 +203,7 @@
203
  <body>
204
  <div id="Container">
205
  <!-- Title -->
206
- <div id="Title">WP-PageNavi 2.11&nbsp;&nbsp;&nbsp;<span style="color: #aaaaaa;">Readme</span></div>
207
 
208
  <!-- Tabs -->
209
  <ul id="Tabs">
@@ -229,13 +229,13 @@
229
  <strong>&raquo;</strong>
230
  <script type="text/javascript">
231
  /* <![CDATA[*/
232
- document.write(' <a href="mailto:gamerz84@hotmail.com?Subject=WP-PageNavi%202.11%20Support" title="EMail To gamerz84@hotmail.com">gamerz84@hotmail.com</a>');
233
  /* ]]> */
234
  </script>
235
  </p>
236
  <p>
237
  <strong>Website:</strong><br />
238
- <strong>&raquo;</strong> <a href="http://www.lesterchan.net/" title="http://www.lesterchan.net/">http://www.lesterchan.net/</a>
239
  </p>
240
  <p>
241
  <strong>Features:</strong><br />
@@ -243,13 +243,17 @@
243
  </p>
244
  <p>
245
  <strong>Download:</strong><br />
246
- <strong>&raquo;</strong> <a href="http://www.lesterchan.net/others/downloads.php?id=11" title="http://www.lesterchan.net/others/downloads.php?id=11">WP-PageNavi 2.11 For WordPress 2.1.x And Above</a><br />
247
- <strong>&raquo;</strong> <a href="http://www.lesterchan.net/others/downloads/wp-pagenavi203.zip" title="http://www.lesterchan.net/others/downloads/wp-pagenavi203.zip">WP-PageNavi 2.03 For WordPress 2.0.x</a><br />
248
- <strong>&raquo;</strong> <a href="http://www.lesterchan.net/others/downloads/wp-pagenavi.zip" title="http://www.lesterchan.net/others/downloads/wp-pagenavi.zip">WP-PageNavi 1.00 For WordPress 1.5.2</a>
 
 
 
 
249
  </p>
250
  <p>
251
  <strong>Demo:</strong><br />
252
- <strong>&raquo;</strong> <a href="http://www.lesterchan.net/wordpress/" title="http://www.lesterchan.net/wordpress/">http://www.lesterchan.net/wordpress/</a>
253
  </p>
254
  <p>
255
  <strong>Development:</strong><br />
@@ -264,7 +268,7 @@
264
  </p>
265
  <p>
266
  <strong>Updated:</strong><br />
267
- <strong>&raquo;</strong> 1st June 2007
268
  </p>
269
  <p>
270
  <strong>Note:</strong><br />
@@ -285,6 +289,13 @@
285
  <div id="Changelog" style="display: none;">
286
  <div class="SubTitle">&raquo; Changelog</div>
287
  <ul>
 
 
 
 
 
 
 
288
  <li>
289
  <strong>Version 2.11 (01-06-2007)</strong>
290
  <ul>
@@ -351,7 +362,7 @@
351
  <!-- Upgrade Instructions -->
352
  <div id="Upgrade" style="display: none;">
353
  <div class="SubTitle">&raquo; Upgrade Instructions</div>
354
- <div class="SubSubTitle">From v1.0x To v2.11</div>
355
  <ol>
356
  <li>
357
  <strong>Deactivate</strong> WP-PageNavi Plugin
@@ -403,6 +414,6 @@
403
  </div>
404
  </div>
405
  </div>
406
- <p id="Copyright">WP-PageNavi 2.11<br />Copyright &copy; 2007 Lester 'GaMerZ' Chan. All Rights Reserved.</p>
407
  </body>
408
  </html>
2
  <html>
3
  <head>
4
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5
+ <title>WP-PageNavi 2.20 Readme</title>
6
  <style type="text/css" media="screen">
7
  /* Default Style */
8
  BODY {
203
  <body>
204
  <div id="Container">
205
  <!-- Title -->
206
+ <div id="Title">WP-PageNavi 2.20&nbsp;&nbsp;&nbsp;<span style="color: #aaaaaa;">Readme</span></div>
207
 
208
  <!-- Tabs -->
209
  <ul id="Tabs">
229
  <strong>&raquo;</strong>
230
  <script type="text/javascript">
231
  /* <![CDATA[*/
232
+ document.write(' <a href="mailto:gamerz84@hotmail.com?Subject=WP-PageNavi%202.20%20Support" title="EMail To gamerz84@hotmail.com">gamerz84@hotmail.com</a>');
233
  /* ]]> */
234
  </script>
235
  </p>
236
  <p>
237
  <strong>Website:</strong><br />
238
+ <strong>&raquo;</strong> <a href="http://lesterchan.net/" title="http://lesterchan.net/">http://lesterchan.net/</a>
239
  </p>
240
  <p>
241
  <strong>Features:</strong><br />
243
  </p>
244
  <p>
245
  <strong>Download:</strong><br />
246
+ <strong>&raquo;</strong> <a href="http://lesterchan.net/others/downloads.php?id=11" title="http://lesterchan.net/others/downloads.php?id=11">WP-PageNavi 2.20 For WordPress 2.1.x And Above</a><br />
247
+ <strong>&raquo;</strong> <a href="http://lesterchan.net/others/downloads/wp-pagenavi203.zip" title="http://lesterchan.net/others/downloads/wp-pagenavi203.zip">WP-PageNavi 2.03 For WordPress 2.0.x</a><br />
248
+ <strong>&raquo;</strong> <a href="http://lesterchan.net/others/downloads/wp-pagenavi.zip" title="http://lesterchan.net/others/downloads/wp-pagenavi.zip">WP-PageNavi 1.00 For WordPress 1.5.2</a>
249
+ </p>
250
+ <p>
251
+ <strong>Screenshots:</strong><br />
252
+ <strong>&raquo;</strong> <a href="http://lesterchan.net/wordpress/screenshots/browse/wp-pagenavi/" title="http://lesterchan.net/wordpress/screenshots/browse/wp-pagenavi/">http://lesterchan.net/wordpress/screenshots/browse/wp-pagenavi/</a>
253
  </p>
254
  <p>
255
  <strong>Demo:</strong><br />
256
+ <strong>&raquo;</strong> <a href="http://lesterchan.net/wordpress/" title="http://lesterchan.net/wordpress/">http://lesterchan.net/wordpress/</a>
257
  </p>
258
  <p>
259
  <strong>Development:</strong><br />
268
  </p>
269
  <p>
270
  <strong>Updated:</strong><br />
271
+ <strong>&raquo;</strong> 1st October 2007
272
  </p>
273
  <p>
274
  <strong>Note:</strong><br />
289
  <div id="Changelog" style="display: none;">
290
  <div class="SubTitle">&raquo; Changelog</div>
291
  <ul>
292
+ <li>
293
+ <strong>Version 2.20 (01-10-2007)</strong>
294
+ <ul>
295
+ <li>NEW: Supports query_posts(); Variables</li>
296
+ <li>NEW: Ability To Uninstall WP-PageNavi</li>
297
+ </ul>
298
+ </li>
299
  <li>
300
  <strong>Version 2.11 (01-06-2007)</strong>
301
  <ul>
362
  <!-- Upgrade Instructions -->
363
  <div id="Upgrade" style="display: none;">
364
  <div class="SubTitle">&raquo; Upgrade Instructions</div>
365
+ <div class="SubSubTitle">From v1.0x To v2.20</div>
366
  <ol>
367
  <li>
368
  <strong>Deactivate</strong> WP-PageNavi Plugin
414
  </div>
415
  </div>
416
  </div>
417
+ <p id="Copyright">WP-PageNavi 2.20<br />Copyright &copy; 2007 Lester 'GaMerZ' Chan. All Rights Reserved.</p>
418
  </body>
419
  </html>
readme.txt CHANGED
@@ -1,29 +1,29 @@
1
  === WP-PageNavi ===
2
  Contributors: GamerZ
3
- Donate link: http://www.lesterchan.net/wordpress
4
  Tags: pagenavi, navi, navigation, wp-pagenavi, page
5
  Requires at least: 2.1.0
6
- Stable tag: 2.11
7
 
8
  Adds a more advanced paging navigation your WordPress blog.
9
 
10
  == Description ==
11
 
12
- All the information (general, changelog, installation, upgrade, usage) you need about this plugin can be found here: [WP-PageNavi Readme](http://www.lesterchan.net/wordpress/readme/wp-pagenavi.html "WP-PageNavi Readme").
13
  It is the exact same readme.html is included in the zip package.
14
 
15
  == Development Blog ==
16
 
17
- [GaMerZ WordPress Plugins Development Blog](http://www.lesterchan.net/wordpress/ "GaMerZ WordPress Plugins Development Blog")
18
 
19
  == Installation ==
20
 
21
- [WP-PageNavi Readme](http://www.lesterchan.net/wordpress/readme/wp-pagenavi.html "WP-PageNavi Readme") (Installation Tab)
22
 
23
  == Screenshots ==
24
 
25
- [GaMerZ WordPress Plugins Screenshots](http://www.lesterchan.net/wordpress/screenshots/ "GaMerZ WordPress Plugins Screenshots")
26
 
27
  == Frequently Asked Questions ==
28
 
29
- You will need [GaMerZ WordPress Plugins Support Forums](http://forums.lesterchan.net/ "GaMerZ WordPress Plugins Support Forums")
1
  === WP-PageNavi ===
2
  Contributors: GamerZ
3
+ Donate link: http://lesterchan.net/wordpress
4
  Tags: pagenavi, navi, navigation, wp-pagenavi, page
5
  Requires at least: 2.1.0
6
+ Stable tag: 2.20
7
 
8
  Adds a more advanced paging navigation your WordPress blog.
9
 
10
  == Description ==
11
 
12
+ All the information (general, changelog, installation, upgrade, usage) you need about this plugin can be found here: [WP-PageNavi Readme](http://lesterchan.net/wordpress/readme/wp-pagenavi.html "WP-PageNavi Readme").
13
  It is the exact same readme.html is included in the zip package.
14
 
15
  == Development Blog ==
16
 
17
+ [GaMerZ WordPress Plugins Development Blog](http://lesterchan.net/wordpress/ "GaMerZ WordPress Plugins Development Blog")
18
 
19
  == Installation ==
20
 
21
+ [WP-PageNavi Readme](http://lesterchan.net/wordpress/readme/wp-pagenavi.html "WP-PageNavi Readme") (Installation Tab)
22
 
23
  == Screenshots ==
24
 
25
+ [WP-PageNavi Screenshots](http://lesterchan.net/wordpress/screenshots/browse/wp-pagenavi/ "WP-PageNavi Screenshots")
26
 
27
  == Frequently Asked Questions ==
28
 
29
+ [WP-PageNavi Support Forums](http://forums.lesterchan.net/index.php?board=14.0 "WP-PageNavi Support Forums")