Version Description
Download this release
Release Info
Developer | GamerZ |
Plugin | WP-PageNavi |
Version | 2.31 |
Comparing to | |
See all releases |
Code changes from version 2.30 to 2.31
- pagenavi-css.css +1 -1
- pagenavi-options.php +1 -1
- readme.html +11 -5
- readme.txt +1 -1
- wp-pagenavi.mo +0 -0
- wp-pagenavi.php +24 -5
- wp-pagenavi.pot +11 -11
pagenavi-css.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
/*
|
2 |
+----------------------------------------------------------------+
|
3 |
| |
|
4 |
-
| WordPress 2.5 Plugin: WP-PageNavi 2.
|
5 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
6 |
| |
|
7 |
| File Written By: |
|
1 |
/*
|
2 |
+----------------------------------------------------------------+
|
3 |
| |
|
4 |
+
| WordPress 2.5 Plugin: WP-PageNavi 2.31 |
|
5 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
6 |
| |
|
7 |
| File Written By: |
|
pagenavi-options.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
-
| WordPress 2.5 Plugin: WP-PageNavi 2.
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
2 |
/*
|
3 |
+----------------------------------------------------------------+
|
4 |
| |
|
5 |
+
| WordPress 2.5 Plugin: WP-PageNavi 2.31 |
|
6 |
| Copyright (c) 2008 Lester "GaMerZ" Chan |
|
7 |
| |
|
8 |
| File Written By: |
|
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.
|
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.
|
207 |
|
208 |
<!-- Tabs -->
|
209 |
<ul id="Tabs">
|
@@ -234,7 +234,7 @@
|
|
234 |
</p>
|
235 |
<p>
|
236 |
<strong>Download:</strong><br />
|
237 |
-
<strong>»</strong> <a href="http://downloads.wordpress.org/plugin/wp-pagenavi.2.
|
238 |
<strong>»</strong> <a href="http://downloads.wordpress.org/plugin/wp-pagenavi.2.03.zip" title="http://downloads.wordpress.org/plugin/wp-pagenavi.2.03.zip">WP-PageNavi 2.03 For WordPress 2.0.x</a><br />
|
239 |
<strong>»</strong> <a href="http://downloads.wordpress.org/plugin/wp-pagenavi.1.00.zip" title="http://downloads.wordpress.org/plugin/wp-pagenavi.1.00.zip">WP-PageNavi 1.00 For WordPress 1.5.2</a>
|
240 |
</p>
|
@@ -276,6 +276,12 @@
|
|
276 |
<div id="Changelog" style="display: none;">
|
277 |
<div class="SubTitle">» Changelog</div>
|
278 |
<ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
279 |
<li>
|
280 |
<strong>Version 2.30 (01-06-2008)</strong>
|
281 |
<ul>
|
@@ -361,7 +367,7 @@
|
|
361 |
<!-- Upgrade Instructions -->
|
362 |
<div id="Upgrade" style="display: none;">
|
363 |
<div class="SubTitle">» Upgrade Instructions</div>
|
364 |
-
<div class="SubSubTitle">From v2.0x To v2.
|
365 |
<ol>
|
366 |
<li>
|
367 |
<strong>Deactivate</strong> WP-PageNavi Plugin
|
@@ -425,6 +431,6 @@
|
|
425 |
</div>
|
426 |
</div>
|
427 |
</div>
|
428 |
-
<p id="Copyright">WP-PageNavi 2.
|
429 |
</body>
|
430 |
</html>
|
2 |
<html>
|
3 |
<head>
|
4 |
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
5 |
+
<title>WP-PageNavi 2.31 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.31 <span style="color: #aaaaaa;">Readme</span></div>
|
207 |
|
208 |
<!-- Tabs -->
|
209 |
<ul id="Tabs">
|
234 |
</p>
|
235 |
<p>
|
236 |
<strong>Download:</strong><br />
|
237 |
+
<strong>»</strong> <a href="http://downloads.wordpress.org/plugin/wp-pagenavi.2.31.zip" title="http://downloads.wordpress.org/plugin/wp-pagenavi.2.31.zip">WP-PageNavi 2.31 For WordPress 2.1.x And Above</a><br />
|
238 |
<strong>»</strong> <a href="http://downloads.wordpress.org/plugin/wp-pagenavi.2.03.zip" title="http://downloads.wordpress.org/plugin/wp-pagenavi.2.03.zip">WP-PageNavi 2.03 For WordPress 2.0.x</a><br />
|
239 |
<strong>»</strong> <a href="http://downloads.wordpress.org/plugin/wp-pagenavi.1.00.zip" title="http://downloads.wordpress.org/plugin/wp-pagenavi.1.00.zip">WP-PageNavi 1.00 For WordPress 1.5.2</a>
|
240 |
</p>
|
276 |
<div id="Changelog" style="display: none;">
|
277 |
<div class="SubTitle">» Changelog</div>
|
278 |
<ul>
|
279 |
+
<li>
|
280 |
+
<strong>Version 2.31 (16-07-2008)</strong>
|
281 |
+
<ul>
|
282 |
+
<li>NEW: Works For WordPress 2.6</li>
|
283 |
+
</ul>
|
284 |
+
</li>
|
285 |
<li>
|
286 |
<strong>Version 2.30 (01-06-2008)</strong>
|
287 |
<ul>
|
367 |
<!-- Upgrade Instructions -->
|
368 |
<div id="Upgrade" style="display: none;">
|
369 |
<div class="SubTitle">» Upgrade Instructions</div>
|
370 |
+
<div class="SubSubTitle">From v2.0x To v2.31</div>
|
371 |
<ol>
|
372 |
<li>
|
373 |
<strong>Deactivate</strong> WP-PageNavi Plugin
|
431 |
</div>
|
432 |
</div>
|
433 |
</div>
|
434 |
+
<p id="Copyright">WP-PageNavi 2.31<br />Copyright © 2008 Lester 'GaMerZ' Chan. All Rights Reserved.</p>
|
435 |
</body>
|
436 |
</html>
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: GamerZ
|
|
3 |
Donate link: http://lesterchan.net/wordpress
|
4 |
Tags: pagenavi, navi, navigation, wp-pagenavi, page
|
5 |
Requires at least: 2.5.0
|
6 |
-
Stable tag: 2.
|
7 |
|
8 |
Adds a more advanced paging navigation your WordPress blog.
|
9 |
|
3 |
Donate link: http://lesterchan.net/wordpress
|
4 |
Tags: pagenavi, navi, navigation, wp-pagenavi, page
|
5 |
Requires at least: 2.5.0
|
6 |
+
Stable tag: 2.31
|
7 |
|
8 |
Adds a more advanced paging navigation your WordPress blog.
|
9 |
|
wp-pagenavi.mo
CHANGED
Binary file
|
wp-pagenavi.php
CHANGED
@@ -3,7 +3,7 @@
|
|
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.
|
7 |
Author: Lester 'GaMerZ' Chan
|
8 |
Author URI: http://lesterchan.net
|
9 |
*/
|
@@ -28,10 +28,29 @@ Author URI: http://lesterchan.net
|
|
28 |
*/
|
29 |
|
30 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
### Create Text Domain For Translations
|
32 |
add_action('init', 'pagenavi_textdomain');
|
33 |
function pagenavi_textdomain() {
|
34 |
-
|
|
|
|
|
|
|
|
|
35 |
}
|
36 |
|
37 |
|
@@ -47,13 +66,13 @@ function pagenavi_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.
|
51 |
if(@file_exists(TEMPLATEPATH.'/pagenavi-css.css')) {
|
52 |
echo '<link rel="stylesheet" href="'.get_stylesheet_directory_uri().'/pagenavi-css.css" type="text/css" media="screen" />'."\n";
|
53 |
} else {
|
54 |
-
echo '<link rel="stylesheet" href="'.
|
55 |
}
|
56 |
-
echo '<!-- End Of Script Generated By WP-PageNavi 2.
|
57 |
}
|
58 |
|
59 |
|
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.31
|
7 |
Author: Lester 'GaMerZ' Chan
|
8 |
Author URI: http://lesterchan.net
|
9 |
*/
|
28 |
*/
|
29 |
|
30 |
|
31 |
+
### Use WordPress 2.6 Constants
|
32 |
+
if (!defined('WP_CONTENT_DIR')) {
|
33 |
+
define( 'WP_CONTENT_DIR', ABSPATH.'wp-content');
|
34 |
+
}
|
35 |
+
if (!defined('WP_CONTENT_URL')) {
|
36 |
+
define('WP_CONTENT_URL', get_option('siteurl').'/wp-content');
|
37 |
+
}
|
38 |
+
if (!defined('WP_PLUGIN_DIR')) {
|
39 |
+
define('WP_PLUGIN_DIR', WP_CONTENT_DIR.'/plugins');
|
40 |
+
}
|
41 |
+
if (!defined('WP_PLUGIN_URL')) {
|
42 |
+
define('WP_PLUGIN_URL', WP_CONTENT_URL.'/plugins');
|
43 |
+
}
|
44 |
+
|
45 |
+
|
46 |
### Create Text Domain For Translations
|
47 |
add_action('init', 'pagenavi_textdomain');
|
48 |
function pagenavi_textdomain() {
|
49 |
+
if (!function_exists('wp_print_styles')) {
|
50 |
+
load_plugin_textdomain('wp-pagenavi', 'wp-content/plugins/wp-pagenavi');
|
51 |
+
} else {
|
52 |
+
load_plugin_textdomain('wp-pagenavi', false, 'wp-pagenavi');
|
53 |
+
}
|
54 |
}
|
55 |
|
56 |
|
66 |
### Function: Page Navigation CSS
|
67 |
add_action('wp_head', 'pagenavi_css');
|
68 |
function pagenavi_css() {
|
69 |
+
echo "\n".'<!-- Start Of Script Generated By WP-PageNavi 2.31 -->'."\n";
|
70 |
if(@file_exists(TEMPLATEPATH.'/pagenavi-css.css')) {
|
71 |
echo '<link rel="stylesheet" href="'.get_stylesheet_directory_uri().'/pagenavi-css.css" type="text/css" media="screen" />'."\n";
|
72 |
} else {
|
73 |
+
echo '<link rel="stylesheet" href="'.WP_PLUGIN_URL.'/wp-pagenavi/pagenavi-css.css" type="text/css" media="screen" />'."\n";
|
74 |
}
|
75 |
+
echo '<!-- End Of Script Generated By WP-PageNavi 2.31 -->'."\n";
|
76 |
}
|
77 |
|
78 |
|
wp-pagenavi.pot
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version: WP-PageNavi 2.
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2008-
|
6 |
-
"PO-Revision-Date: 2008-
|
7 |
"Last-Translator: Lester Chan <lesterchan@gmail.com>\n"
|
8 |
"Language-Team: Lester Chan <lesterchan@gmail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
@@ -170,32 +170,32 @@ msgid ""
|
|
170 |
" Choose [Cancel] To Stop, [OK] To Uninstall."
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: wp-pagenavi.php:
|
174 |
msgid "PageNavi"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: wp-pagenavi.php:
|
178 |
msgid "Page %CURRENT_PAGE% of %TOTAL_PAGES%"
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: wp-pagenavi.php:
|
182 |
msgid "« First"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: wp-pagenavi.php:
|
186 |
msgid "Last »"
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: wp-pagenavi.php:
|
190 |
msgid "»"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: wp-pagenavi.php:
|
194 |
msgid "«"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: wp-pagenavi.php:
|
198 |
-
#: wp-pagenavi.php:
|
199 |
msgid "..."
|
200 |
msgstr ""
|
201 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: WP-PageNavi 2.31\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2008-07-15 15:52+0800\n"
|
6 |
+
"PO-Revision-Date: 2008-07-15 15:52+0800\n"
|
7 |
"Last-Translator: Lester Chan <lesterchan@gmail.com>\n"
|
8 |
"Language-Team: Lester Chan <lesterchan@gmail.com>\n"
|
9 |
"MIME-Version: 1.0\n"
|
170 |
" Choose [Cancel] To Stop, [OK] To Uninstall."
|
171 |
msgstr ""
|
172 |
|
173 |
+
#: wp-pagenavi.php:61
|
174 |
msgid "PageNavi"
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: wp-pagenavi.php:197
|
178 |
msgid "Page %CURRENT_PAGE% of %TOTAL_PAGES%"
|
179 |
msgstr ""
|
180 |
|
181 |
+
#: wp-pagenavi.php:200
|
182 |
msgid "« First"
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: wp-pagenavi.php:201
|
186 |
msgid "Last »"
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: wp-pagenavi.php:202
|
190 |
msgid "»"
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: wp-pagenavi.php:203
|
194 |
msgid "«"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: wp-pagenavi.php:204
|
198 |
+
#: wp-pagenavi.php:205
|
199 |
msgid "..."
|
200 |
msgstr ""
|
201 |
|