Version Description
- Made the RSS-feature a bit easier to find: added a RSS-icon to the dashboard window - it's very discrete, you can find it at the bottom right corner. On the Simple History page it's a bit more clear, at the bottom, with text and all. Enjoy!
- Added POT-file
Download this release
Release Info
Developer | eskapism |
Plugin | Simple History |
Version | 0.3.6 |
Comparing to | |
See all releases |
Code changes from version 0.3.5 to 0.3.6
- index.php +13 -4
- languages/simple-history.pot +145 -0
- readme.txt +6 -2
- styles.css +36 -1
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Simple History
|
4 |
Plugin URI: http://eskapism.se/code-playground/simple-history/
|
5 |
Description: Get a log of the changes made by users in WordPress.
|
6 |
-
Version: 0.3.
|
7 |
Author: Pär Thernström
|
8 |
Author URI: http://eskapism.se/
|
9 |
License: GPL2
|
@@ -25,7 +25,7 @@ License: GPL2
|
|
25 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
26 |
*/
|
27 |
|
28 |
-
define( "SIMPLE_HISTORY_VERSION", "0.3.
|
29 |
define( "SIMPLE_HISTORY_NAME", "Simple History");
|
30 |
define( "SIMPLE_HISTORY_URL", WP_PLUGIN_URL . '/simple-history/');
|
31 |
|
@@ -943,7 +943,10 @@ function simple_history_print_history($args = null) {
|
|
943 |
$args = wp_parse_args( $args, $defaults );
|
944 |
|
945 |
if ($arr_events) {
|
946 |
-
if (!$args["is_ajax"]) {
|
|
|
|
|
|
|
947 |
|
948 |
$loopNum = 0;
|
949 |
$real_loop_num = -1;
|
@@ -1218,14 +1221,20 @@ function simple_history_print_history($args = null) {
|
|
1218 |
}
|
1219 |
|
1220 |
if (!$args["is_ajax"]) {
|
1221 |
-
|
|
|
1222 |
$loading = __("Loading...", 'simple-history');
|
1223 |
$no_more_found = __("No more history items found.", 'simple-history');
|
|
|
|
|
|
|
1224 |
echo "</ol>
|
1225 |
</div>
|
1226 |
<p id='simple-history-load-more'><a href='#'>$show_more</a></p>
|
1227 |
<p class='hidden' id='simple-history-load-more-loading'>$loading</p>
|
1228 |
<p class='hidden' id='simple-history-no-more-items'>$no_more_found</p>
|
|
|
|
|
1229 |
";
|
1230 |
}
|
1231 |
} else {
|
3 |
Plugin Name: Simple History
|
4 |
Plugin URI: http://eskapism.se/code-playground/simple-history/
|
5 |
Description: Get a log of the changes made by users in WordPress.
|
6 |
+
Version: 0.3.6
|
7 |
Author: Pär Thernström
|
8 |
Author URI: http://eskapism.se/
|
9 |
License: GPL2
|
25 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
26 |
*/
|
27 |
|
28 |
+
define( "SIMPLE_HISTORY_VERSION", "0.3.6");
|
29 |
define( "SIMPLE_HISTORY_NAME", "Simple History");
|
30 |
define( "SIMPLE_HISTORY_URL", WP_PLUGIN_URL . '/simple-history/');
|
31 |
|
943 |
$args = wp_parse_args( $args, $defaults );
|
944 |
|
945 |
if ($arr_events) {
|
946 |
+
if (!$args["is_ajax"]) {
|
947 |
+
// if not ajax, print the div
|
948 |
+
echo "<div id='simple-history-ol-wrapper'><ol class='simple-history'>";
|
949 |
+
}
|
950 |
|
951 |
$loopNum = 0;
|
952 |
$real_loop_num = -1;
|
1221 |
}
|
1222 |
|
1223 |
if (!$args["is_ajax"]) {
|
1224 |
+
// if not ajax, print the divs and stuff we need
|
1225 |
+
$show_more = sprintf(__("Show %d more", 'simple-history'), $args["items"]);
|
1226 |
$loading = __("Loading...", 'simple-history');
|
1227 |
$no_more_found = __("No more history items found.", 'simple-history');
|
1228 |
+
$view_rss = __("Simple History RSS feed", 'simple-history');
|
1229 |
+
$view_rss_link = simple_history_get_rss_address();
|
1230 |
+
|
1231 |
echo "</ol>
|
1232 |
</div>
|
1233 |
<p id='simple-history-load-more'><a href='#'>$show_more</a></p>
|
1234 |
<p class='hidden' id='simple-history-load-more-loading'>$loading</p>
|
1235 |
<p class='hidden' id='simple-history-no-more-items'>$no_more_found</p>
|
1236 |
+
<p id='simple-history-rss-feed-dashboard'><a title='$view_rss' href='$view_rss_link'>$view_rss</a></p>
|
1237 |
+
<p id='simple-history-rss-feed-page'><a title='$view_rss' href='$view_rss_link'><span></span>$view_rss</a></p>
|
1238 |
";
|
1239 |
}
|
1240 |
} else {
|
languages/simple-history.pot
ADDED
@@ -0,0 +1,145 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Translation of the WordPress plugin by .
|
2 |
+
# Copyright (C) 2010
|
3 |
+
# This file is distributed under the same license as the package.
|
4 |
+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
5 |
+
#
|
6 |
+
#, fuzzy
|
7 |
+
msgid ""
|
8 |
+
msgstr ""
|
9 |
+
"Project-Id-Version: \n"
|
10 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/simple-history\n"
|
11 |
+
"POT-Creation-Date: 2010-09-19 18:24+0000\n"
|
12 |
+
"PO-Revision-Date: 2010-MO-DA HO:MI+ZONE\n"
|
13 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
+
"MIME-Version: 1.0\n"
|
16 |
+
"Content-Type: text/plain; charset=utf-8\n"
|
17 |
+
"Content-Transfer-Encoding: 8bit\n"
|
18 |
+
|
19 |
+
#: index.php:126 index.php:168
|
20 |
+
#, php-format
|
21 |
+
msgid "Simple History for %s"
|
22 |
+
msgstr ""
|
23 |
+
|
24 |
+
#: index.php:127 index.php:169
|
25 |
+
#, php-format
|
26 |
+
msgid "WordPress History for %s"
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: index.php:139
|
30 |
+
#, php-format
|
31 |
+
msgid "By %s"
|
32 |
+
msgstr ""
|
33 |
+
|
34 |
+
#: index.php:143
|
35 |
+
#, php-format
|
36 |
+
msgid "%d occasions"
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: index.php:173
|
40 |
+
msgid "Wrong RSS secret"
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: index.php:174
|
44 |
+
msgid ""
|
45 |
+
"Your RSS secret for Simple History RSS feed is wrong. Please see WordPress "
|
46 |
+
"settings for current link to the RSS feed."
|
47 |
+
msgstr ""
|
48 |
+
|
49 |
+
#: index.php:247
|
50 |
+
msgid "on the dashboard"
|
51 |
+
msgstr ""
|
52 |
+
|
53 |
+
#: index.php:252
|
54 |
+
msgid "as a page under the tools menu"
|
55 |
+
msgstr ""
|
56 |
+
|
57 |
+
#: index.php:283
|
58 |
+
msgid "Created new secret RSS adress"
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
+
#: index.php:294
|
62 |
+
msgid ""
|
63 |
+
"This is a secret RSS feed for Simple History. Only share the link with "
|
64 |
+
"people you trust"
|
65 |
+
msgstr ""
|
66 |
+
|
67 |
+
#: index.php:297
|
68 |
+
#, php-format
|
69 |
+
msgid ""
|
70 |
+
"You can <a href='%s'>generate a new address</a> for the RSS feed. This is "
|
71 |
+
"useful if you think that the address has fallen into the wrong hands."
|
72 |
+
msgstr ""
|
73 |
+
|
74 |
+
#: index.php:320 index.php:335 index.php:366
|
75 |
+
#, php-format
|
76 |
+
msgid "From %1$s on %2$s"
|
77 |
+
msgstr ""
|
78 |
+
|
79 |
+
#: index.php:811
|
80 |
+
msgid "By all users"
|
81 |
+
msgstr ""
|
82 |
+
|
83 |
+
#: index.php:1031
|
84 |
+
msgid "Unknown or deleted user"
|
85 |
+
msgstr ""
|
86 |
+
|
87 |
+
#: index.php:1058
|
88 |
+
msgid "created"
|
89 |
+
msgstr ""
|
90 |
+
|
91 |
+
#: index.php:1060 index.php:1153
|
92 |
+
msgid "updated"
|
93 |
+
msgstr ""
|
94 |
+
|
95 |
+
#: index.php:1062 index.php:1155
|
96 |
+
msgid "deleted"
|
97 |
+
msgstr ""
|
98 |
+
|
99 |
+
#: index.php:1151
|
100 |
+
msgid "added"
|
101 |
+
msgstr ""
|
102 |
+
|
103 |
+
#: index.php:1157
|
104 |
+
msgid "logged in"
|
105 |
+
msgstr ""
|
106 |
+
|
107 |
+
#: index.php:1159
|
108 |
+
msgid "logged out"
|
109 |
+
msgstr ""
|
110 |
+
|
111 |
+
#: index.php:1193
|
112 |
+
msgid "+ 1 occasion"
|
113 |
+
msgstr ""
|
114 |
+
|
115 |
+
#: index.php:1196
|
116 |
+
#, php-format
|
117 |
+
msgid "+ %d occasions"
|
118 |
+
msgstr ""
|
119 |
+
|
120 |
+
#: index.php:1225
|
121 |
+
#, php-format
|
122 |
+
msgid "Show %d more"
|
123 |
+
msgstr ""
|
124 |
+
|
125 |
+
#: index.php:1226
|
126 |
+
msgid "Loading..."
|
127 |
+
msgstr ""
|
128 |
+
|
129 |
+
#: index.php:1227
|
130 |
+
msgid "No more history items found."
|
131 |
+
msgstr ""
|
132 |
+
|
133 |
+
#: index.php:1228
|
134 |
+
msgid "Simple History RSS feed"
|
135 |
+
msgstr ""
|
136 |
+
|
137 |
+
#: index.php:1244
|
138 |
+
msgid "No history items found."
|
139 |
+
msgstr ""
|
140 |
+
|
141 |
+
#: index.php:1245
|
142 |
+
msgid ""
|
143 |
+
"Please note that Simple History only records things that happen after this "
|
144 |
+
"plugin have been installed."
|
145 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://eskapism.se/sida/donate/
|
|
4 |
Tags: history, log, changes, changelog, audit, trail, pages, attachments, users, cms, dashboard, admin
|
5 |
Requires at least: 2.9.2
|
6 |
Tested up to: 3.0
|
7 |
-
Stable tag: 0.3.
|
8 |
|
9 |
View changes made by users within WordPress. It’s a history/change log/audit/recent changes-plugin.
|
10 |
|
@@ -64,10 +64,14 @@ to only use the secret RSS feed to keep track of the changes on you web site/Wor
|
|
64 |
|
65 |
== Changelog ==
|
66 |
|
|
|
|
|
|
|
|
|
67 |
= 0.3.5 =
|
68 |
- using get_the_title instead of fetching the title directly from the post object. should make plugins like qtranslate work a bit better.
|
69 |
- preparing for translation by using __() and _e() functions. POT-file will be available shortly.
|
70 |
-
- Could get
|
71 |
|
72 |
= 0.3.4 =
|
73 |
- RSS-feed is now valid, and should work at more places (could be broken because of html entities and stuff)
|
4 |
Tags: history, log, changes, changelog, audit, trail, pages, attachments, users, cms, dashboard, admin
|
5 |
Requires at least: 2.9.2
|
6 |
Tested up to: 3.0
|
7 |
+
Stable tag: 0.3.6
|
8 |
|
9 |
View changes made by users within WordPress. It’s a history/change log/audit/recent changes-plugin.
|
10 |
|
64 |
|
65 |
== Changelog ==
|
66 |
|
67 |
+
= 0.3.6 =
|
68 |
+
- Made the RSS-feature a bit easier to find: added a RSS-icon to the dashboard window - it's very discrete, you can find it at the bottom right corner. On the Simple History page it's a bit more clear, at the bottom, with text and all. Enjoy!
|
69 |
+
- Added POT-file
|
70 |
+
|
71 |
= 0.3.5 =
|
72 |
- using get_the_title instead of fetching the title directly from the post object. should make plugins like qtranslate work a bit better.
|
73 |
- preparing for translation by using __() and _e() functions. POT-file will be available shortly.
|
74 |
+
- Could get cryptic "simpleHistoryNoMoreItems"-text when loading a type with no items.
|
75 |
|
76 |
= 0.3.4 =
|
77 |
- RSS-feed is now valid, and should work at more places (could be broken because of html entities and stuff)
|
styles.css
CHANGED
@@ -100,4 +100,39 @@ ul.simple-history-occasions li {
|
|
100 |
background-color: #FFFFE0;
|
101 |
border: 1px solid #E6DB55;
|
102 |
font-weight: bold;
|
103 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
background-color: #FFFFE0;
|
101 |
border: 1px solid #E6DB55;
|
102 |
font-weight: bold;
|
103 |
+
}
|
104 |
+
|
105 |
+
#simple-history-rss-feed-dashboard {
|
106 |
+
display: none;
|
107 |
+
}
|
108 |
+
|
109 |
+
#simple_history_dashboard_widget #simple-history-rss-feed-dashboard {
|
110 |
+
position: absolute;
|
111 |
+
bottom: 0;
|
112 |
+
right: 0;
|
113 |
+
margin: 0;
|
114 |
+
display: block;
|
115 |
+
}
|
116 |
+
#simple-history-rss-feed-dashboard a,
|
117 |
+
#simple-history-rss-feed-page span
|
118 |
+
{
|
119 |
+
background: transparent url(http://jquery-ui.googlecode.com/svn/trunk/themes/base/images/ui-icons_888888_256x240.png) no-repeat -17px -176px;
|
120 |
+
display: block;
|
121 |
+
width: 16px;
|
122 |
+
height: 16px;
|
123 |
+
text-indent: -99999px;
|
124 |
+
}
|
125 |
+
|
126 |
+
#simple_history_dashboard_widget #simple-history-rss-feed-page {
|
127 |
+
display: none;
|
128 |
+
}
|
129 |
+
#simple-history-rss-feed-page {
|
130 |
+
display: block;
|
131 |
+
padding-top: 10px;
|
132 |
+
border-top: 1px solid #ccc;
|
133 |
+
}
|
134 |
+
#simple-history-rss-feed-page span {
|
135 |
+
float: left;
|
136 |
+
}
|
137 |
+
#simple-history-rss-feed-page a {
|
138 |
+
}
|