WP Total Hacks - Version 0.2.0

Version Description

Download this release

Release Info

Developer miyauchi
Plugin Icon wp plugin WP Total Hacks
Version 0.2.0
Comparing to
See all releases

Version 0.2.0

Files changed (44) hide show
  1. css/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png +0 -0
  2. css/images/ui-bg_flat_15_cd0a0a_40x100.png +0 -0
  3. css/images/ui-bg_glass_100_e4f1fb_1x400.png +0 -0
  4. css/images/ui-bg_glass_50_3baae3_1x400.png +0 -0
  5. css/images/ui-bg_glass_80_d7ebf9_1x400.png +0 -0
  6. css/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png +0 -0
  7. css/images/ui-bg_highlight-hard_70_000000_1x100.png +0 -0
  8. css/images/ui-bg_highlight-soft_100_deedf7_1x100.png +0 -0
  9. css/images/ui-bg_highlight-soft_25_ffef8f_1x100.png +0 -0
  10. css/images/ui-icons_2694e8_256x240.png +0 -0
  11. css/images/ui-icons_2e83ff_256x240.png +0 -0
  12. css/images/ui-icons_3d80b3_256x240.png +0 -0
  13. css/images/ui-icons_72a7cf_256x240.png +0 -0
  14. css/images/ui-icons_ffffff_256x240.png +0 -0
  15. css/style.css +225 -0
  16. css/ui.tabs.css +312 -0
  17. img/10x10.png +0 -0
  18. img/admin_footer_text.png +0 -0
  19. img/admin_header_logo.png +0 -0
  20. img/check.png +0 -0
  21. img/login_logo.png +0 -0
  22. img/logo.png +0 -0
  23. img/paypal.png +0 -0
  24. includes/form/appearance.php +45 -0
  25. includes/form/footer.php +9 -0
  26. includes/form/other.php +73 -0
  27. includes/form/post.php +87 -0
  28. includes/form/sidebar.php +24 -0
  29. includes/form/site.php +83 -0
  30. includes/role.class.php +43 -0
  31. includes/wpbiz_admin.php +385 -0
  32. js/wfb-upload.js +69 -0
  33. js/wp-biz.js +107 -0
  34. langs/wp-total-hacks-it_IT.mo +0 -0
  35. langs/wp-total-hacks-it_IT.po +283 -0
  36. langs/wp-total-hacks-ja.mo +0 -0
  37. langs/wp-total-hacks-ja.po +306 -0
  38. langs/wp-total-hacks.pot +293 -0
  39. readme.txt +82 -0
  40. screenshot-1.png +0 -0
  41. screenshot-2.png +0 -0
  42. screenshot-3.png +0 -0
  43. screenshot-4.png +0 -0
  44. wp-total-hacks.php +292 -0
css/images/ui-bg_diagonals-thick_90_eeeeee_40x40.png ADDED
Binary file
css/images/ui-bg_flat_15_cd0a0a_40x100.png ADDED
Binary file
css/images/ui-bg_glass_100_e4f1fb_1x400.png ADDED
Binary file
css/images/ui-bg_glass_50_3baae3_1x400.png ADDED
Binary file
css/images/ui-bg_glass_80_d7ebf9_1x400.png ADDED
Binary file
css/images/ui-bg_highlight-hard_100_f2f5f7_1x100.png ADDED
Binary file
css/images/ui-bg_highlight-hard_70_000000_1x100.png ADDED
Binary file
css/images/ui-bg_highlight-soft_100_deedf7_1x100.png ADDED
Binary file
css/images/ui-bg_highlight-soft_25_ffef8f_1x100.png ADDED
Binary file
css/images/ui-icons_2694e8_256x240.png ADDED
Binary file
css/images/ui-icons_2e83ff_256x240.png ADDED
Binary file
css/images/ui-icons_3d80b3_256x240.png ADDED
Binary file
css/images/ui-icons_72a7cf_256x240.png ADDED
Binary file
css/images/ui-icons_ffffff_256x240.png ADDED
Binary file
css/style.css ADDED
@@ -0,0 +1,225 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .wrap h2
2
+ {
3
+ background-image: url(../img/logo.png);
4
+ background-repeat: no-repeat;
5
+ background-position: left top;
6
+ text-indent: -9999px;
7
+ overflow: hidden;
8
+ height: 60px;
9
+ width: 334px;
10
+ margin: 0;
11
+ }
12
+
13
+ .wrap p,
14
+ .wrap ul,
15
+ .wrap ol,
16
+ .wrap blockquote,
17
+ .wrap input,
18
+ .wrap select
19
+ {
20
+ font-size: 14px;
21
+ }
22
+
23
+ .wrap .a
24
+ {
25
+ text-decoration: none;
26
+ }
27
+
28
+ .wrap a:hover
29
+ {
30
+ text-decoration: underline;
31
+ }
32
+
33
+ .wrap textarea
34
+ {
35
+ font-family: 'MS ゴシック', 'MS Gothic', 'Osaka-等幅', 'Osaka-Mono', monospace !important;
36
+ width: 100%;
37
+ }
38
+
39
+ .wrap
40
+ {
41
+ padding: 20px 0;
42
+ }
43
+
44
+ #err_block
45
+ {
46
+ padding: 50px 0;
47
+ margin: 20px auto;
48
+ background-color: #ffffff;
49
+ text-align: center;
50
+ border: 1px solid #cccccc;
51
+ border-radius: 5px;
52
+ color: #555555;
53
+ font-size: 200%;
54
+ }
55
+
56
+ .wrap .block
57
+ {
58
+ clear: both;
59
+ margin-bottom: 1em;
60
+ }
61
+
62
+ .wrap .block h4
63
+ {
64
+ font-size: 120%;
65
+ display: block;
66
+ border: 1px solid #aed0ea;
67
+ -webkit-border-top-left-radius: 6px;
68
+ -webkit-border-top-right-radius: 6px;
69
+ -moz-border-radius-topleft: 6px;
70
+ -moz-border-radius-topright: 6px;
71
+ position: relative;
72
+ padding: 10px 0;
73
+ text-indent: 10px;
74
+ margin: 0;
75
+ color: #666666;
76
+ cursor: pointer;
77
+ background: #d7ebf9;
78
+ background-image: url(images/ui-bg_glass_80_d7ebf9_1x400.png);
79
+ background-repeat: repeat-x;
80
+ background-position: left center;
81
+ text-shadow: 0 1px 0 #fff;
82
+ font-weight: normal;
83
+ }
84
+
85
+ .wrap .block h4.active
86
+ {
87
+ background-image: url(images/ui-bg_glass_50_3baae3_1x400.png);
88
+ color: #ffffff;
89
+ text-shadow: 0 1px 0 #999999;
90
+ }
91
+
92
+ .wrap .block h4 img
93
+ {
94
+ position: absolute;
95
+ right: 8px;
96
+ display: none;
97
+ }
98
+
99
+ .wrap .block_content
100
+ {
101
+ padding: 10px;
102
+ border-bottom: 1px solid #aed0ea;
103
+ border-left: 1px solid #aed0ea;
104
+ border-right: 1px solid #aed0ea;
105
+ background-color: #ffffff;
106
+ display: none;
107
+ }
108
+
109
+ .wrap .media,
110
+ .wrap .text
111
+ {
112
+ width: 300px;
113
+ }
114
+
115
+ .wrap input,
116
+ .wrap textarea,
117
+ .wrap select
118
+ {
119
+ }
120
+
121
+ .wrap img.caption
122
+ {
123
+ border: 1px solid #cccccc;
124
+ }
125
+
126
+ .wrap dt
127
+ {
128
+ float: left;
129
+ width: 100px;
130
+ line-height: 30px;
131
+ height: 30px;
132
+ font-size: 90%;
133
+ }
134
+
135
+ .wrap dd
136
+ {
137
+ line-height: 30px;
138
+ height: 30px;
139
+ }
140
+
141
+ .wrap #tabs
142
+ {
143
+ display :none;
144
+ margin-right: 300px;
145
+ }
146
+
147
+ .wrap .tab
148
+ {
149
+ }
150
+
151
+ .wrap #wfb-container
152
+ {
153
+ position: relative;
154
+ }
155
+
156
+ .wrap .ex
157
+ {
158
+ font-size: 80%;
159
+ color: #555555;
160
+ }
161
+
162
+ .wrap .block_content p
163
+ {
164
+ margin-top: 0;
165
+ margin-bottom: 1em;
166
+ }
167
+
168
+ .wrap #wfb-sidebar
169
+ {
170
+ position: absolute;
171
+ top: 0px;
172
+ right: 0px;
173
+ width: 285px;
174
+ }
175
+
176
+ .wrap .bside
177
+ {
178
+ border: 1px solid #dedede;
179
+ border-radius: 5px;
180
+ margin-bottom: 20px;
181
+ background-color: #ffffff;
182
+ }
183
+
184
+ .wrap .bside a
185
+ {
186
+ text-decoration: none;
187
+ }
188
+
189
+ .wrap .bside a:hover
190
+ {
191
+ text-decoration: underline;
192
+ }
193
+
194
+ .wrap .bside p
195
+ {
196
+ font-size: 12px;
197
+ margin: 10px;
198
+ }
199
+
200
+ .wrap .bside h3
201
+ {
202
+ margin-top: 0;
203
+ margin-bottom: 1em;
204
+ background-color: #555555;
205
+ padding: 5px;
206
+ border: 1px solid #000000;
207
+ border-radius: 5px;
208
+ color: #ffffff;
209
+ }
210
+
211
+ .wrap .bside li
212
+ {
213
+ background-image: url(../img/10x10.png);
214
+ background-position: left center;
215
+ background-repeat: no-repeat;
216
+ padding-left: 14px;
217
+ margin-left: 10px;
218
+ }
219
+
220
+ .wrap #wfb-footer
221
+ {
222
+ margin-right: 300px;
223
+ }
224
+
225
+
css/ui.tabs.css ADDED
@@ -0,0 +1,312 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * jQuery UI CSS Framework 1.8.13
3
+ *
4
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
5
+ * Dual licensed under the MIT or GPL Version 2 licenses.
6
+ * http://jquery.org/license
7
+ *
8
+ * http://docs.jquery.com/UI/Theming/API
9
+ */
10
+
11
+ /* Layout helpers
12
+ ----------------------------------*/
13
+ .ui-helper-hidden { display: none; }
14
+ .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }
15
+ .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
16
+ .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
17
+ .ui-helper-clearfix { display: inline-block; }
18
+ /* required comment for clearfix to work in Opera \*/
19
+ * html .ui-helper-clearfix { height:1%; }
20
+ .ui-helper-clearfix { display:block; }
21
+ /* end clearfix */
22
+ .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
23
+
24
+
25
+ /* Interaction Cues
26
+ ----------------------------------*/
27
+ .ui-state-disabled { cursor: default !important; }
28
+
29
+
30
+ /* Icons
31
+ ----------------------------------*/
32
+
33
+ /* states and images */
34
+ .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
35
+
36
+
37
+ /* Misc visuals
38
+ ----------------------------------*/
39
+
40
+ /* Overlays */
41
+ .ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
42
+
43
+
44
+ /*
45
+ * jQuery UI CSS Framework 1.8.13
46
+ *
47
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
48
+ * Dual licensed under the MIT or GPL Version 2 licenses.
49
+ * http://jquery.org/license
50
+ *
51
+ * http://docs.jquery.com/UI/Theming/API
52
+ *
53
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Lucida%20Grande,%20Lucida%20Sans,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=deedf7&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=100&borderColorHeader=aed0ea&fcHeader=222222&iconColorHeader=72a7cf&bgColorContent=f2f5f7&bgTextureContent=04_highlight_hard.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=362b36&iconColorContent=72a7cf&bgColorDefault=d7ebf9&bgTextureDefault=02_glass.png&bgImgOpacityDefault=80&borderColorDefault=aed0ea&fcDefault=2779aa&iconColorDefault=3d80b3&bgColorHover=e4f1fb&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=74b2e2&fcHover=0070a3&iconColorHover=2694e8&bgColorActive=3baae3&bgTextureActive=02_glass.png&bgImgOpacityActive=50&borderColorActive=2694e8&fcActive=ffffff&iconColorActive=ffffff&bgColorHighlight=ffef8f&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=25&borderColorHighlight=f9dd34&fcHighlight=363636&iconColorHighlight=2e83ff&bgColorError=cd0a0a&bgTextureError=01_flat.png&bgImgOpacityError=15&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffffff&bgColorOverlay=eeeeee&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=90&opacityOverlay=80&bgColorShadow=000000&bgTextureShadow=04_highlight_hard.png&bgImgOpacityShadow=70&opacityShadow=30&thicknessShadow=7px&offsetTopShadow=-7px&offsetLeftShadow=-7px&cornerRadiusShadow=8px
54
+ */
55
+
56
+
57
+ /* Component containers
58
+ ----------------------------------*/
59
+ .ui-widget { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1.1em; }
60
+ .ui-widget .ui-widget { font-size: 1em; }
61
+ .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Lucida Grande, Lucida Sans, Arial, sans-serif; font-size: 1em; }
62
+ .ui-widget-content { border: 1px solid #dddddd; background: #f2f5f7 url(images/ui-bg_highlight-hard_100_f2f5f7_1x100.png) 50% top repeat-x; color: #362b36; }
63
+ .ui-widget-content a { text-decoration: none; }
64
+ .ui-widget-header { border: 1px solid #aed0ea; background: #deedf7 url(images/ui-bg_highlight-soft_100_deedf7_1x100.png) 50% 50% repeat-x; color: #222222; font-weight: bold; }
65
+ .ui-widget-header a { color: #222222; }
66
+
67
+ /* Interaction states
68
+ ----------------------------------*/
69
+ .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #aed0ea; background: #d7ebf9 url(images/ui-bg_glass_80_d7ebf9_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #2779aa; }
70
+ .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #2779aa; text-decoration: none; }
71
+ .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #74b2e2; background: #e4f1fb url(images/ui-bg_glass_100_e4f1fb_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #0070a3; }
72
+ .ui-state-hover a, .ui-state-hover a:hover { color: #0070a3; text-decoration: none; }
73
+ .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #2694e8; background: #3baae3 url(images/ui-bg_glass_50_3baae3_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #ffffff; }
74
+ .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #ffffff; text-decoration: none; }
75
+ .ui-widget :active { outline: none; }
76
+
77
+ /* Interaction Cues
78
+ ----------------------------------*/
79
+ .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #f9dd34; background: #ffef8f url(images/ui-bg_highlight-soft_25_ffef8f_1x100.png) 50% top repeat-x; color: #363636; }
80
+ .ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
81
+ .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #cd0a0a url(images/ui-bg_flat_15_cd0a0a_40x100.png) 50% 50% repeat-x; color: #ffffff; }
82
+ .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; }
83
+ .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; }
84
+ .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
85
+ .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
86
+ .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
87
+
88
+ /* Icons
89
+ ----------------------------------*/
90
+
91
+ /* states and images */
92
+ .ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_72a7cf_256x240.png); }
93
+ .ui-widget-content .ui-icon {background-image: url(images/ui-icons_72a7cf_256x240.png); }
94
+ .ui-widget-header .ui-icon {background-image: url(images/ui-icons_72a7cf_256x240.png); }
95
+ .ui-state-default .ui-icon { background-image: url(images/ui-icons_3d80b3_256x240.png); }
96
+ .ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_2694e8_256x240.png); }
97
+ .ui-state-active .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
98
+ .ui-state-highlight .ui-icon {background-image: url(images/ui-icons_2e83ff_256x240.png); }
99
+ .ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
100
+
101
+ /* positioning */
102
+ .ui-icon-carat-1-n { background-position: 0 0; }
103
+ .ui-icon-carat-1-ne { background-position: -16px 0; }
104
+ .ui-icon-carat-1-e { background-position: -32px 0; }
105
+ .ui-icon-carat-1-se { background-position: -48px 0; }
106
+ .ui-icon-carat-1-s { background-position: -64px 0; }
107
+ .ui-icon-carat-1-sw { background-position: -80px 0; }
108
+ .ui-icon-carat-1-w { background-position: -96px 0; }
109
+ .ui-icon-carat-1-nw { background-position: -112px 0; }
110
+ .ui-icon-carat-2-n-s { background-position: -128px 0; }
111
+ .ui-icon-carat-2-e-w { background-position: -144px 0; }
112
+ .ui-icon-triangle-1-n { background-position: 0 -16px; }
113
+ .ui-icon-triangle-1-ne { background-position: -16px -16px; }
114
+ .ui-icon-triangle-1-e { background-position: -32px -16px; }
115
+ .ui-icon-triangle-1-se { background-position: -48px -16px; }
116
+ .ui-icon-triangle-1-s { background-position: -64px -16px; }
117
+ .ui-icon-triangle-1-sw { background-position: -80px -16px; }
118
+ .ui-icon-triangle-1-w { background-position: -96px -16px; }
119
+ .ui-icon-triangle-1-nw { background-position: -112px -16px; }
120
+ .ui-icon-triangle-2-n-s { background-position: -128px -16px; }
121
+ .ui-icon-triangle-2-e-w { background-position: -144px -16px; }
122
+ .ui-icon-arrow-1-n { background-position: 0 -32px; }
123
+ .ui-icon-arrow-1-ne { background-position: -16px -32px; }
124
+ .ui-icon-arrow-1-e { background-position: -32px -32px; }
125
+ .ui-icon-arrow-1-se { background-position: -48px -32px; }
126
+ .ui-icon-arrow-1-s { background-position: -64px -32px; }
127
+ .ui-icon-arrow-1-sw { background-position: -80px -32px; }
128
+ .ui-icon-arrow-1-w { background-position: -96px -32px; }
129
+ .ui-icon-arrow-1-nw { background-position: -112px -32px; }
130
+ .ui-icon-arrow-2-n-s { background-position: -128px -32px; }
131
+ .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
132
+ .ui-icon-arrow-2-e-w { background-position: -160px -32px; }
133
+ .ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
134
+ .ui-icon-arrowstop-1-n { background-position: -192px -32px; }
135
+ .ui-icon-arrowstop-1-e { background-position: -208px -32px; }
136
+ .ui-icon-arrowstop-1-s { background-position: -224px -32px; }
137
+ .ui-icon-arrowstop-1-w { background-position: -240px -32px; }
138
+ .ui-icon-arrowthick-1-n { background-position: 0 -48px; }
139
+ .ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
140
+ .ui-icon-arrowthick-1-e { background-position: -32px -48px; }
141
+ .ui-icon-arrowthick-1-se { background-position: -48px -48px; }
142
+ .ui-icon-arrowthick-1-s { background-position: -64px -48px; }
143
+ .ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
144
+ .ui-icon-arrowthick-1-w { background-position: -96px -48px; }
145
+ .ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
146
+ .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
147
+ .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
148
+ .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
149
+ .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
150
+ .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
151
+ .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
152
+ .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
153
+ .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
154
+ .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
155
+ .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
156
+ .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
157
+ .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
158
+ .ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
159
+ .ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
160
+ .ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
161
+ .ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
162
+ .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
163
+ .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
164
+ .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
165
+ .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
166
+ .ui-icon-arrow-4 { background-position: 0 -80px; }
167
+ .ui-icon-arrow-4-diag { background-position: -16px -80px; }
168
+ .ui-icon-extlink { background-position: -32px -80px; }
169
+ .ui-icon-newwin { background-position: -48px -80px; }
170
+ .ui-icon-refresh { background-position: -64px -80px; }
171
+ .ui-icon-shuffle { background-position: -80px -80px; }
172
+ .ui-icon-transfer-e-w { background-position: -96px -80px; }
173
+ .ui-icon-transferthick-e-w { background-position: -112px -80px; }
174
+ .ui-icon-folder-collapsed { background-position: 0 -96px; }
175
+ .ui-icon-folder-open { background-position: -16px -96px; }
176
+ .ui-icon-document { background-position: -32px -96px; }
177
+ .ui-icon-document-b { background-position: -48px -96px; }
178
+ .ui-icon-note { background-position: -64px -96px; }
179
+ .ui-icon-mail-closed { background-position: -80px -96px; }
180
+ .ui-icon-mail-open { background-position: -96px -96px; }
181
+ .ui-icon-suitcase { background-position: -112px -96px; }
182
+ .ui-icon-comment { background-position: -128px -96px; }
183
+ .ui-icon-person { background-position: -144px -96px; }
184
+ .ui-icon-print { background-position: -160px -96px; }
185
+ .ui-icon-trash { background-position: -176px -96px; }
186
+ .ui-icon-locked { background-position: -192px -96px; }
187
+ .ui-icon-unlocked { background-position: -208px -96px; }
188
+ .ui-icon-bookmark { background-position: -224px -96px; }
189
+ .ui-icon-tag { background-position: -240px -96px; }
190
+ .ui-icon-home { background-position: 0 -112px; }
191
+ .ui-icon-flag { background-position: -16px -112px; }
192
+ .ui-icon-calendar { background-position: -32px -112px; }
193
+ .ui-icon-cart { background-position: -48px -112px; }
194
+ .ui-icon-pencil { background-position: -64px -112px; }
195
+ .ui-icon-clock { background-position: -80px -112px; }
196
+ .ui-icon-disk { background-position: -96px -112px; }
197
+ .ui-icon-calculator { background-position: -112px -112px; }
198
+ .ui-icon-zoomin { background-position: -128px -112px; }
199
+ .ui-icon-zoomout { background-position: -144px -112px; }
200
+ .ui-icon-search { background-position: -160px -112px; }
201
+ .ui-icon-wrench { background-position: -176px -112px; }
202
+ .ui-icon-gear { background-position: -192px -112px; }
203
+ .ui-icon-heart { background-position: -208px -112px; }
204
+ .ui-icon-star { background-position: -224px -112px; }
205
+ .ui-icon-link { background-position: -240px -112px; }
206
+ .ui-icon-cancel { background-position: 0 -128px; }
207
+ .ui-icon-plus { background-position: -16px -128px; }
208
+ .ui-icon-plusthick { background-position: -32px -128px; }
209
+ .ui-icon-minus { background-position: -48px -128px; }
210
+ .ui-icon-minusthick { background-position: -64px -128px; }
211
+ .ui-icon-close { background-position: -80px -128px; }
212
+ .ui-icon-closethick { background-position: -96px -128px; }
213
+ .ui-icon-key { background-position: -112px -128px; }
214
+ .ui-icon-lightbulb { background-position: -128px -128px; }
215
+ .ui-icon-scissors { background-position: -144px -128px; }
216
+ .ui-icon-clipboard { background-position: -160px -128px; }
217
+ .ui-icon-copy { background-position: -176px -128px; }
218
+ .ui-icon-contact { background-position: -192px -128px; }
219
+ .ui-icon-image { background-position: -208px -128px; }
220
+ .ui-icon-video { background-position: -224px -128px; }
221
+ .ui-icon-script { background-position: -240px -128px; }
222
+ .ui-icon-alert { background-position: 0 -144px; }
223
+ .ui-icon-info { background-position: -16px -144px; }
224
+ .ui-icon-notice { background-position: -32px -144px; }
225
+ .ui-icon-help { background-position: -48px -144px; }
226
+ .ui-icon-check { background-position: -64px -144px; }
227
+ .ui-icon-bullet { background-position: -80px -144px; }
228
+ .ui-icon-radio-off { background-position: -96px -144px; }
229
+ .ui-icon-radio-on { background-position: -112px -144px; }
230
+ .ui-icon-pin-w { background-position: -128px -144px; }
231
+ .ui-icon-pin-s { background-position: -144px -144px; }
232
+ .ui-icon-play { background-position: 0 -160px; }
233
+ .ui-icon-pause { background-position: -16px -160px; }
234
+ .ui-icon-seek-next { background-position: -32px -160px; }
235
+ .ui-icon-seek-prev { background-position: -48px -160px; }
236
+ .ui-icon-seek-end { background-position: -64px -160px; }
237
+ .ui-icon-seek-start { background-position: -80px -160px; }
238
+ /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
239
+ .ui-icon-seek-first { background-position: -80px -160px; }
240
+ .ui-icon-stop { background-position: -96px -160px; }
241
+ .ui-icon-eject { background-position: -112px -160px; }
242
+ .ui-icon-volume-off { background-position: -128px -160px; }
243
+ .ui-icon-volume-on { background-position: -144px -160px; }
244
+ .ui-icon-power { background-position: 0 -176px; }
245
+ .ui-icon-signal-diag { background-position: -16px -176px; }
246
+ .ui-icon-signal { background-position: -32px -176px; }
247
+ .ui-icon-battery-0 { background-position: -48px -176px; }
248
+ .ui-icon-battery-1 { background-position: -64px -176px; }
249
+ .ui-icon-battery-2 { background-position: -80px -176px; }
250
+ .ui-icon-battery-3 { background-position: -96px -176px; }
251
+ .ui-icon-circle-plus { background-position: 0 -192px; }
252
+ .ui-icon-circle-minus { background-position: -16px -192px; }
253
+ .ui-icon-circle-close { background-position: -32px -192px; }
254
+ .ui-icon-circle-triangle-e { background-position: -48px -192px; }
255
+ .ui-icon-circle-triangle-s { background-position: -64px -192px; }
256
+ .ui-icon-circle-triangle-w { background-position: -80px -192px; }
257
+ .ui-icon-circle-triangle-n { background-position: -96px -192px; }
258
+ .ui-icon-circle-arrow-e { background-position: -112px -192px; }
259
+ .ui-icon-circle-arrow-s { background-position: -128px -192px; }
260
+ .ui-icon-circle-arrow-w { background-position: -144px -192px; }
261
+ .ui-icon-circle-arrow-n { background-position: -160px -192px; }
262
+ .ui-icon-circle-zoomin { background-position: -176px -192px; }
263
+ .ui-icon-circle-zoomout { background-position: -192px -192px; }
264
+ .ui-icon-circle-check { background-position: -208px -192px; }
265
+ .ui-icon-circlesmall-plus { background-position: 0 -208px; }
266
+ .ui-icon-circlesmall-minus { background-position: -16px -208px; }
267
+ .ui-icon-circlesmall-close { background-position: -32px -208px; }
268
+ .ui-icon-squaresmall-plus { background-position: -48px -208px; }
269
+ .ui-icon-squaresmall-minus { background-position: -64px -208px; }
270
+ .ui-icon-squaresmall-close { background-position: -80px -208px; }
271
+ .ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
272
+ .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
273
+ .ui-icon-grip-solid-vertical { background-position: -32px -224px; }
274
+ .ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
275
+ .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
276
+ .ui-icon-grip-diagonal-se { background-position: -80px -224px; }
277
+
278
+
279
+ /* Misc visuals
280
+ ----------------------------------*/
281
+
282
+ /* Corner radius */
283
+ .ui-corner-tl { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; border-top-left-radius: 6px; }
284
+ .ui-corner-tr { -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; border-top-right-radius: 6px; }
285
+ .ui-corner-bl { -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; }
286
+ .ui-corner-br { -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; }
287
+ .ui-corner-top { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; border-top-left-radius: 6px; -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; border-top-right-radius: 6px; }
288
+ .ui-corner-bottom { -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; }
289
+ .ui-corner-right { -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; border-top-right-radius: 6px; -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; }
290
+ .ui-corner-left { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; border-top-left-radius: 6px; -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; }
291
+ .ui-corner-all { -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; }
292
+
293
+ /* Overlays */
294
+ .ui-widget-overlay { background: #eeeeee url(images/ui-bg_diagonals-thick_90_eeeeee_40x40.png) 50% 50% repeat; opacity: .80;filter:Alpha(Opacity=80); }
295
+ .ui-widget-shadow { margin: -7px 0 0 -7px; padding: 7px; background: #000000 url(images/ui-bg_highlight-hard_70_000000_1x100.png) 50% top repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*
296
+ * jQuery UI Tabs 1.8.13
297
+ *
298
+ * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)
299
+ * Dual licensed under the MIT or GPL Version 2 licenses.
300
+ * http://jquery.org/license
301
+ *
302
+ * http://docs.jquery.com/UI/Tabs#theming
303
+ */
304
+ .ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
305
+ .ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
306
+ .ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
307
+ .ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
308
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
309
+ .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
310
+ .ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
311
+ .ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
312
+ .ui-tabs .ui-tabs-hide { display: none !important; }
img/10x10.png ADDED
Binary file
img/admin_footer_text.png ADDED
Binary file
img/admin_header_logo.png ADDED
Binary file
img/check.png ADDED
Binary file
img/login_logo.png ADDED
Binary file
img/logo.png ADDED
Binary file
img/paypal.png ADDED
Binary file
includes/form/appearance.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <div id="admin" class="tab">
3
+ <h3><?php _e('Appearance in admin', 'wp-total-hacks'); ?></h3>
4
+
5
+ <div class="block">
6
+ <h4><img alt="" src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Change admin header logo', 'wp-total-hacks'); ?></h4>
7
+ <div class="block_content">
8
+ <p><?php _e('Upload 30 x 30 pixel image for admin header logo.', 'wp-total-hacks'); ?></p>
9
+ <p><img class="caption" alt="" src="<?php echo $this->get_plugin_url(); ?>/img/admin_header_logo.png"></p>
10
+ <input type="text" id="wfb_custom_logo" name="wfb_custom_logo" class="media" value="<?php $this->op('wfb_custom_logo'); ?>" />
11
+ <a class="media-upload" href="JavaScript:void(0);" rel="wfb_custom_logo"><?php _e('Select File', 'wp-total-hacks'); ?></a>
12
+ </div>
13
+ </div>
14
+
15
+ <div class="block">
16
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Change admin footer text', 'wp-total-hacks'); ?></h4>
17
+ <div class="block_content">
18
+ <p><?php _e('You can edit admin footer text. Line breaks will remove.', 'wp-total-hacks'); ?></p>
19
+ <p><img class="caption" alt="" src="<?php echo $this->get_plugin_url(); ?>/img/admin_footer_text.png"></p>
20
+ <div class="poststuff">
21
+ <div class="postdivrich" class="postarea">
22
+ <?php the_editor(trim(stripslashes(get_option('wfb_admin_footer_text'))), "wfb_admin_footer_text"); ?>
23
+ </div><!--end #postdivrich-->
24
+ </div><!--end #poststuff-->
25
+ </div>
26
+ </div>
27
+
28
+ <div class="block">
29
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Change login logo', 'wp-total-hacks'); ?></h4>
30
+ <div class="block_content">
31
+ <p><?php _e('You can customize logo, URL and Title. The logo image size is recommended 310 x 70 pixel.', 'wp-total-hacks'); ?></p>
32
+ <p><img class="caption" alt="" src="<?php echo $this->get_plugin_url(); ?>/img/login_logo.png"></p>
33
+ <dl>
34
+ <dt><?php _e('Logo', 'wp-total-hacks'); ?></dt>
35
+ <dd><input type="text" id="wfb_login_logo" name="wfb_login_logo" class="media" value="<?php $this->op('wfb_login_logo'); ?>" />&nbsp;<a class="media-upload" href="JavaScript:void(0);" rel="wfb_login_logo"><?php _e('Select File', 'wp-total-hacks'); ?></a></dd>
36
+ <dt><?php _e('URL', 'wp-total-hacks'); ?></dt>
37
+ <dd><input class="text" type="text" name="wfb_login_url" value="<?php $this->op('wfb_login_url'); ?>" /></dd>
38
+ <dt><?php _e('Title', 'wp-total-hacks'); ?></dt>
39
+ <dd><input class="text" type="text" name="wfb_login_title" value="<?php $this->op('wfb_login_title'); ?>" /></dd>
40
+ </dl>
41
+ </div>
42
+ </div>
43
+
44
+ </div><!--end .tab-->
45
+
includes/form/footer.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <div class="bside">
2
+ <h3><?php _e('Translators', 'wp-total-hacks'); ?></h3>
3
+ <p><?php $this->get_translators(); ?></p>
4
+ </div>
5
+
6
+ <div class="bside">
7
+ <h3><?php _e('Contributors', 'wp-total-hacks'); ?></h3>
8
+ <p><?php $this->get_contributors(); ?></p>
9
+ </div>
includes/form/other.php ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div id="dashboard" class="tab">
2
+ <h3><?php _e('Other', 'wp-total-hacks'); ?></h3>
3
+
4
+ <div class="block">
5
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Deactive Dashboard Widgets', 'wp-total-hacks'); ?></h4>
6
+ <div class="block_content">
7
+ <p><?php _e('Click on the check box that you want to delete.', 'wp-total-hacks'); ?></p>
8
+ <ul>
9
+ <?php foreach ($this->widgets as $wgt => $pos): ?>
10
+ <li>
11
+ <?php if (get_option('wfb_widget') && is_array(get_option('wfb_widget')) && in_array($wgt, get_option('wfb_widget'))): ?>
12
+ <input id="wfb_widget_<?php echo $wgt; ?>" type="checkbox" name="wfb_widget[]" value="<?php echo $wgt; ?>" checked="checked" />
13
+ <?php else: ?>
14
+ <input id="wfb_widget_<?php echo $wgt; ?>" type="checkbox" name="wfb_widget[]" value="<?php echo $wgt; ?>" />
15
+ <?php endif; ?>
16
+ <label for="wfb_widget_<?php echo $wgt; ?>"><?php _e($pos['title']); ?></label>
17
+ </li>
18
+ <?php endforeach; ?>
19
+ </ul>
20
+ </div>
21
+ </div>
22
+
23
+ <div class="block">
24
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Add role "Webmaster"', 'wp-total-hacks'); ?></h4>
25
+ <div class="block_content">
26
+ <p><?php _e('"Webmaster" is role able to "Editor" + "edit_theme_options".', 'wp-total-hacks'); ?></p>
27
+ <?php $this->sel('wfb_webmaster'); ?>
28
+ </div>
29
+ </div>
30
+
31
+ <div class="block">
32
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Change the default eamil address', 'wp-total-hacks'); ?></h4>
33
+ <div class="block_content">
34
+ <p><?php _e('Change the default eamil address and sender name.', 'wp-total-hacks'); ?></p>
35
+ <dl>
36
+ <dt><?php _e('Name'); ?></dt>
37
+ <dd><input class="text" type="text" name="wfb_sendername" value="<?php $this->op('wfb_sendername')?>" /></dd>
38
+ <dt><?php _e('Email'); ?></dt>
39
+ <dd><input class="text" type="text" name="wfb_emailaddress" value="<?php $this->op('wfb_emailaddress')?>" /></dd>
40
+ </dl>
41
+ </div>
42
+ </div>
43
+
44
+ <div class="block">
45
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Delete default contact methods', 'wp-total-hacks'); ?></h4>
46
+ <div class="block_content">
47
+ <p><?php _e('Delete default contact methods from user profile.', 'wp-total-hacks'); ?></p>
48
+ <ul>
49
+ <?php foreach ($this->contact_methods as $c => $n): ?>
50
+ <li>
51
+ <?php if (get_option('wfb_contact_methods') && is_array(get_option('wfb_contact_methods')) && in_array($c, get_option('wfb_contact_methods'))): ?>
52
+ <input id="wfb_contact_methods_<?php echo $c; ?>" type="checkbox" name="wfb_contact_methods[]" value="<?php echo $c; ?>" checked="checked" />
53
+ <?php else: ?>
54
+ <input id="wfb_contact_methods_<?php echo $c; ?>" type="checkbox" name="wfb_contact_methods[]" value="<?php echo $c; ?>" />
55
+ <?php endif; ?>
56
+ <label for="wfb_contact_methods_<?php echo $c; ?>"><?php _e($n); ?></label>
57
+ </li>
58
+ <?php endforeach; ?>
59
+ </ul>
60
+ </div>
61
+ </div>
62
+
63
+ <div class="block">
64
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Remove Update Notification', 'wp-total-hacks'); ?></h4>
65
+ <div class="block_content">
66
+ <p><?php _e('Remove Update Notification for all users except Admin User.', 'wp-total-hacks'); ?></p>
67
+ <?php $this->sel('wfb_update_notification'); ?>
68
+ </div>
69
+ </div>
70
+
71
+ </div><!--end .tab-->
72
+
73
+
includes/form/post.php ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <div id="post" class="tab">
3
+ <h3><?php _e('Posts & Pages', 'wp-total-hacks'); ?></h3>
4
+
5
+ <div class="block">
6
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Delete meta boxes for Posts', 'wp-total-hacks'); ?></h4>
7
+ <div class="block_content">
8
+ <p><?php _e('Click on the check box that you want to delete.', 'wp-total-hacks'); ?></p>
9
+ <ul>
10
+ <?php foreach ($this->post_metas as $wgt => $pos): ?>
11
+ <li>
12
+ <?php if (get_option('wfb_postmetas') && is_array(get_option('wfb_postmetas')) && in_array($wgt, get_option('wfb_postmetas'))): ?>
13
+ <input id="wfb_postmetas_<?php echo $wgt; ?>" type="checkbox" name="wfb_postmetas[]" value="<?php echo $wgt; ?>" checked="checked" />
14
+ <?php else: ?>
15
+ <input id="wfb_postmetas_<?php echo $wgt; ?>" type="checkbox" name="wfb_postmetas[]" value="<?php echo $wgt; ?>" />
16
+ <?php endif; ?>
17
+ <label for="wfb_postmetas_<?php echo $wgt; ?>"><?php echo __($pos['title']); ?></label>
18
+ </li>
19
+ <?php endforeach; ?>
20
+ </ul>
21
+ </div>
22
+ </div>
23
+
24
+ <div class="block">
25
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Delete meta boxes for Pages', 'wp-total-hacks'); ?></h4>
26
+ <div class="block_content">
27
+ <p><?php _e('Click on the check box that you want to delete.', 'wp-total-hacks'); ?></p>
28
+ <ul>
29
+ <?php foreach ($this->page_metas as $wgt => $pos): ?>
30
+ <li>
31
+ <?php if (get_option('wfb_pagemetas') && is_array(get_option('wfb_pagemetas')) && in_array($wgt, get_option('wfb_pagemetas'))): ?>
32
+ <input id="wfb_pagemetas_<?php echo $wgt; ?>" type="checkbox" name="wfb_pagemetas[]" value="<?php echo $wgt; ?>" checked="checked" />
33
+ <?php else: ?>
34
+ <input id="wfb_pagemetas_<?php echo $wgt; ?>" type="checkbox" name="wfb_pagemetas[]" value="<?php echo $wgt; ?>" />
35
+ <?php endif; ?>
36
+ <label for="wfb_pagemetas_<?php echo $wgt; ?>"><?php _e($pos['title']); ?></label>
37
+ </li>
38
+ <?php endforeach; ?>
39
+ </ul>
40
+ </div>
41
+ </div>
42
+
43
+ <div class="block">
44
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Revision Control', 'wp-total-hacks'); ?></h4>
45
+ <div class="block_content">
46
+ <p><?php _e('Please select limit the number of allowed revisions.', 'wp-total-hacks'); ?></p>
47
+ <select name="wfb_revision" id="wfb_revision">
48
+ <option value=""><?php _e('Store All', 'wp-total-hacks'); ?></option>
49
+ <?php for($i=0; $i<21; $i++): ?>
50
+ <?php
51
+ if (strlen(get_option("wfb_revision")) && intval(get_option("wfb_revision")) === $i) {
52
+ $chk = 'selected="selected"';
53
+ } else {
54
+ $chk = '';
55
+ }
56
+ ?>
57
+ <option value="<?php echo $i; ?>" <?php echo $chk; ?>><?php echo $i; ?></option>
58
+ <?php endfor; ?>
59
+ </select>
60
+ </div>
61
+ </div>
62
+
63
+ <div class="block">
64
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Disable Auto Save', 'wp-total-hacks'); ?></h4>
65
+ <div class="block_content">
66
+ <?php $this->sel('wfb_autosave'); ?>
67
+ </div>
68
+ </div>
69
+
70
+ <div class="block">
71
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Stop Self Pings', 'wp-total-hacks'); ?></h4>
72
+ <div class="block_content">
73
+ <p><?php _e('Stop sending pings from your own site to your own site when you write posts.', 'wp-total-hacks'); ?></p>
74
+ <?php $this->sel('wfb_selfping'); ?>
75
+ </div>
76
+ </div>
77
+
78
+ <div class="block">
79
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Add "Excerpt" support for Pages.', 'wp-total-hacks'); ?></h4>
80
+ <div class="block_content">
81
+ <p><?php _e('Requires to add excerpt text in a Pages.', 'wp-total-hacks'); ?></p>
82
+ <?php $this->sel('wfb_pageexcerpt'); ?>
83
+ </div>
84
+ </div>
85
+
86
+ </div><!--end .tab-->
87
+
includes/form/sidebar.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="bside">
2
+ <h3><?php _e('WordPress Plugins', 'wp-total-hacks'); ?></h3>
3
+ <ul>
4
+ <li><a href="http://wordpress.org/extend/plugins/tinymce-templates/">TinyMCE Templates</a></li>
5
+ <li><a href="http://wordpress.org/extend/plugins/enhancing-css/">Enhancing CSS</a></li>
6
+ <li><a href="http://wordpress.org/extend/plugins/oembed-tweet/">oEmbed Tweets</a></li>
7
+ <li><a href="http://wordpress.org/extend/plugins/oembed-gist/">oEmbed Gist</a></li>
8
+ <li><a href="http://wordpress.org/extend/plugins/profile/miyauchi">Other Plugins</a></li>
9
+ </ul>
10
+ </div>
11
+
12
+ <div class="bside">
13
+ <h3><?php _e('This Plugin needs your support', 'wp-total-hacks'); ?></h3>
14
+ <p><?php _e('Please help support the continued development.', 'wp-total-hacks'); ?></p>
15
+ <div style="text-align:center;"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8NDYFAG2ZM9TU"><img alt="PayPal" src="<?php echo $this->get_plugin_url(); ?>/img/paypal.png"></a></div>
16
+ <p><?php _e('$200+ makes you an official contributor.', 'wp-total-hacks'); ?></p>
17
+ </div>
18
+
19
+ <div class="bside">
20
+ <h3><?php _e('Contact', 'wp-total-hacks'); ?></h3>
21
+ <ul>
22
+ <li><a href="http://twitter.com/#!/miya0001">Takayuki Miyauchi</a></li>
23
+ </ul>
24
+ </div>
includes/form/site.php ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div id="site" class="tab">
2
+ <h3><?php _e('Site Settings', 'wp-total-hacks'); ?></h3>
3
+
4
+ <div class="block">
5
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Add a favicon', 'wp-total-hacks'); ?></h4>
6
+ <div class="block_content">
7
+ <p><?php _e('Please upload .ico image.', 'wp-total-hacks'); ?></p>
8
+ <input type="text" id="wfb_favicon" name="wfb_favicon" class="media" value="<?php $this->op('wfb_favicon'); ?>" />
9
+ <a class="media-upload" href="JavaScript:void(0);" rel="wfb_favicon"><?php _e('Select File', 'wp-total-hacks'); ?></a>
10
+ </div>
11
+ </div>
12
+
13
+ <div class="block">
14
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Enable auto remove "wlwmanifest" and "xmlrpc" from meta.', 'wp-total-hacks'); ?></h4>
15
+ <div class="block_content">
16
+ <p><?php printf(__('If you don\'t use "<a href="%s">Remote Publishing</a>", remove unnecessary tags from head.', 'wp-total-hacks'), admin_url('options-writing.php')); ?></p>
17
+ <?php $this->sel('wfb_remove_xmlrpc'); ?>
18
+ </div>
19
+ </div>
20
+
21
+ <div class="block">
22
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Remove adjacent posts rel links from head on Pages', 'wp-total-hacks'); ?></h4>
23
+ <div class="block_content">
24
+ <p><?php _e('Remove adjacent posts rel links from head on Pages.<br /><span class="ex">e.g. &lt;link rel="next" ...&gt; &lt;link rel="prev" ...&gt;</span>', 'wp-total-hacks'); ?></p>
25
+ <?php $this->sel('wfb_adjacent_posts_rel_links'); ?>
26
+ </div>
27
+ </div>
28
+
29
+ <div class="block">
30
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Remove version number from head', 'wp-total-hacks'); ?></h4>
31
+ <div class="block_content">
32
+ <p><?php _e('Remove generator tag from head. <span class="ex">e.g. &lt;meta name="generator" content="WordPress x.x.x" /&gt;</span>', 'wp-total-hacks'); ?></p>
33
+ <?php $this->sel('wfb_hide_version'); ?>
34
+ </div>
35
+ </div>
36
+
37
+ <div class="block">
38
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Remove #more anchor', 'wp-total-hacks'); ?></h4>
39
+ <div class="block_content">
40
+ <p><?php _e('Remove #more-xxx anchor from more links.', 'wp-total-hacks'); ?></p>
41
+ <?php $this->sel('wfb_remove_more'); ?>
42
+ </div>
43
+ </div>
44
+
45
+ <div class="block">
46
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Remove "[...]" from excerpt', 'wp-total-hacks'); ?></h4>
47
+ <div class="block_content">
48
+ <p><?php _e('Remove "[...]" from output of the_excerpt().', 'wp-total-hacks'); ?></p>
49
+ <?php $this->sel('wfb_remove_excerpt'); ?>
50
+ </div>
51
+ </div>
52
+
53
+ <div class="block">
54
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Install Google Analytics', 'wp-total-hacks'); ?></h4>
55
+ <div class="block_content">
56
+ <p><?php _e('Add Google analytics code.', 'wp-total-hacks'); ?></p>
57
+ <textarea name="wfb_google_analytics" id="wfb_google_analytics" cols="50" rows="7"><?php $this->op('wfb_google_analytics'); ?></textarea><br />
58
+ <?php if (get_option('wfb_exclude_loggedin')): ?>
59
+ <input id="wfb_exclude_loggedin" type="checkbox" name="wfb_exclude_loggedin" value="1" checked="checked" />
60
+ <?php else: ?>
61
+ <input id="wfb_exclude_loggedin" type="checkbox" name="wfb_exclude_loggedin" value="1" />
62
+ <?php endif; ?>
63
+ <label for="wfb_exclude_loggedin"><?php _e('Exclude user logged in.', 'wp-total-hacks'); ?></label>
64
+ </div>
65
+ </div>
66
+
67
+ <div class="block">
68
+ <h4><img src="<?php echo $this->get_plugin_url(); ?>/img/check.png" height="24" width="24" /><?php _e('Webmaster Tools Verification', 'wp-total-hacks'); ?></h4>
69
+ <div class="block_content">
70
+ <p><?php _e('Enter your meta key "content" value to verify your blog with <a href="https://www.google.com/webmasters/tools/">Google Webmaster Tools</a>, <a href="https://siteexplorer.search.yahoo.com/">Yahoo! Site Explorer</a>, and <a href="http://www.bing.com/webmaster">Bing Webmaster Center</a>.', 'wp-total-hacks'); ?></p>
71
+ <dl>
72
+ <dt>Google</dt>
73
+ <dd><input class="text" type="text" name="wfb_google" value="<?php $this->op('wfb_google')?>" /></dd>
74
+ <dt>Yahoo</dt>
75
+ <dd><input class="text" type="text" name="wfb_yahoo" value="<?php $this->op('wfb_yahoo')?>" /></dd>
76
+ <dt>Bing</dt>
77
+ <dd><input class="text" type="text" name="wfb_bing" value="<?php $this->op('wfb_bing')?>" /></dd>
78
+ </dl>
79
+ </div>
80
+ </div>
81
+
82
+ </div><!--end .tab-->
83
+
includes/role.class.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class wfb_createNewRole {
4
+
5
+ private $role_name = null;
6
+ private $role_display_name = null;
7
+ private $template = null;
8
+ private $new_cap = array();
9
+
10
+ function __construct(
11
+ $name,
12
+ $title,
13
+ $template = null,
14
+ $new_cap = array()
15
+ )
16
+ {
17
+ $this->role_name = $name;
18
+ $this->role_display_name = $title;
19
+ $this->template = $template;
20
+ $this->new_cap = $new_cap;
21
+ $this->create();
22
+ }
23
+
24
+ public function create()
25
+ {
26
+ if (add_role($this->role_name, $this->role_display_name)):
27
+ $role = get_role($this->role_name);
28
+ if ($this->template) {
29
+ $template = get_role($this->template);
30
+ foreach ($template->capabilities as $cap => $value) {
31
+ if ($value) {
32
+ $role->add_cap($cap);
33
+ }
34
+ }
35
+ }
36
+ foreach ($this->new_cap as $cap) {
37
+ $role->add_cap($cap);
38
+ }
39
+ endif;
40
+ }
41
+ }
42
+
43
+ ?>
includes/wpbiz_admin.php ADDED
@@ -0,0 +1,385 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ require_once(dirname(__FILE__).'/role.class.php');
4
+
5
+ class WPBIZ_ADMIN {
6
+
7
+ private $contributors = array(
8
+ 'Takayuki Miyauchi' => array(
9
+ 'country' => 'Japan',
10
+ 'url' => 'http://twitter.com/#!/miya0001',
11
+ ),
12
+ );
13
+ private $translators = array(
14
+ 'Takayuki Miyauchi' => array(
15
+ 'lang' => 'Japanese',
16
+ 'url' => 'http://twitter.com/#!/miya0001',
17
+ ),
18
+ 'Andrea Bersi' => array(
19
+ 'lang' => 'Italian',
20
+ 'url' => 'http://www.andreabersi.com/',
21
+ ),
22
+ );
23
+ private $role = 'manage_options';
24
+ private $plugin_url = '';
25
+ private $page_title = 'WP Total Hacks';
26
+ private $params = array(
27
+ 'wfb_google_analytics' => 'text',
28
+ 'wfb_favicon' => 'text',
29
+ 'wfb_hide_version' => 'bool',
30
+ 'wfb_google' => 'text',
31
+ 'wfb_yahoo' => 'text',
32
+ 'wfb_bing' => 'text',
33
+ 'wfb_hide_custom_fields' => 'bool',
34
+ 'wfb_revision' => 'int',
35
+ 'wfb_autosave' => 'bool',
36
+ 'wfb_selfping' => 'bool',
37
+ 'wfb_widget' => 'array',
38
+ 'wfb_custom_logo' => 'text',
39
+ 'wfb_admin_footer_text' => 'text',
40
+ 'wfb_login_logo' => 'text',
41
+ 'wfb_login_url' => 'text',
42
+ 'wfb_login_title' => 'text',
43
+ 'wfb_webmaster' => 'bool',
44
+ 'wfb_remove_xmlrpc' => 'bool',
45
+ 'wfb_exclude_loggedin' => 'bool',
46
+ 'wfb_adjacent_posts_rel_links' => 'bool',
47
+ 'wfb_remove_more' => 'bool',
48
+ 'wfb_pageexcerpt' => 'bool',
49
+ 'wfb_postmetas' => 'array',
50
+ 'wfb_pagemetas' => 'array',
51
+ 'wfb_emailaddress' => 'email',
52
+ 'wfb_sendername' => 'text',
53
+ 'wfb_contact_methods' => 'array',
54
+ 'wfb_remove_excerpt' => 'bool',
55
+ 'wfb_update_notification' => 'bool',
56
+ );
57
+ private $widgets = array(
58
+ 'dashboard_right_now' => array(
59
+ 'position' => 'normal',
60
+ 'title' => 'Right Now'
61
+ ),
62
+ 'dashboard_recent_comments' => array(
63
+ 'position' => 'normal',
64
+ 'title' => 'Recent Comments'
65
+ ),
66
+ 'dashboard_incoming_links' => array(
67
+ 'position' => 'normal',
68
+ 'title' => 'Incoming Links'
69
+ ),
70
+ 'dashboard_plugins' => array(
71
+ 'position' => 'normal',
72
+ 'title' => 'Plugins'
73
+ ),
74
+ 'dashboard_quick_press' => array(
75
+ 'position' => 'normal',
76
+ 'title' => 'QuickPress'
77
+ ),
78
+ 'dashboard_recent_drafts' => array(
79
+ 'position' => 'normal',
80
+ 'title' => 'Recent Drafts'
81
+ ),
82
+ 'dashboard_primary' => array(
83
+ 'position' => 'normal',
84
+ 'title' => 'WordPress Blog'
85
+ ),
86
+ 'dashboard_secondary' => array(
87
+ 'position' => 'normal',
88
+ 'title' => 'Other WordPress News'
89
+ ),
90
+ );
91
+ private $post_metas = array(
92
+ 'commentstatusdiv' => array(
93
+ 'title' => 'Discussion'
94
+ ),
95
+ 'commentsdiv' => array(
96
+ 'title' => 'Comments'
97
+ ),
98
+ 'slugdiv' => array(
99
+ 'title' => 'Slug'
100
+ ),
101
+ 'authordiv' => array(
102
+ 'title' => 'Author'
103
+ ),
104
+ 'postcustom' => array(
105
+ 'title' => 'Custom Fields'
106
+ ),
107
+ 'postexcerpt' => array(
108
+ 'title' => 'Excerpt'
109
+ ),
110
+ 'trackbacksdiv' => array(
111
+ 'title' => 'Send Trackbacks'
112
+ ),
113
+ 'formatdiv' => array(
114
+ 'title' => 'Format'
115
+ ),
116
+ 'tagsdiv-post_tag' => array(
117
+ 'title' => 'Post Tags'
118
+ ),
119
+ 'categorydiv' => array(
120
+ 'title' => 'Categories'
121
+ ),
122
+ );
123
+ private $page_metas = array(
124
+ 'commentstatusdiv' => array(
125
+ 'title' => 'Discussion'
126
+ ),
127
+ 'commentsdiv' => array(
128
+ 'title' => 'Comments'
129
+ ),
130
+ 'slugdiv' => array(
131
+ 'title' => 'Slug'
132
+ ),
133
+ 'authordiv' => array(
134
+ 'title' => 'Author'
135
+ ),
136
+ 'postcustom' => array(
137
+ 'title' => 'Custom Fields'
138
+ ),
139
+ );
140
+ private $contact_methods = array(
141
+ 'aim' => 'AIM',
142
+ 'yim' => 'Yahoo IM',
143
+ 'jabber' => 'Jabber / Google Talk',
144
+ );
145
+
146
+ function __construct($url)
147
+ {
148
+ $this->plugin_url = $url;
149
+ add_action('admin_menu', array(&$this, 'admin_menu'));
150
+ }
151
+
152
+ public function admin_styles() {
153
+ $style = $this->plugin_url.'/css/style.css';
154
+ printf(
155
+ '<link rel="stylesheet" type="text/css" media="all" href="%s">',
156
+ $style
157
+ );
158
+ $tabstyle = $this->plugin_url.'/css/ui.tabs.css';
159
+ printf(
160
+ '<link rel="stylesheet" type="text/css" media="all" href="%s">',
161
+ $tabstyle
162
+ );
163
+ }
164
+
165
+ public function admin_scripts() {
166
+ wp_enqueue_script('jquery-ui-tabs');
167
+ wp_enqueue_script('editor');
168
+ add_thickbox();
169
+ wp_register_script(
170
+ 'wfb-upload',
171
+ $this->plugin_url.'/js/wfb-upload.js',
172
+ array('thickbox')
173
+ );
174
+ wp_enqueue_script('wfb-upload');
175
+ add_action('admin_print_footer_scripts', 'wp_tiny_mce_preload_dialogs', 30);
176
+ }
177
+
178
+ public function admin_menu()
179
+ {
180
+ $hook = add_options_page(
181
+ $this->page_title,
182
+ 'WP Total Hacks',
183
+ $this->role,
184
+ 'wp-biz',
185
+ array(&$this, 'options')
186
+ );
187
+
188
+ add_action("admin_head-".$hook, array(&$this, 'admin_head'));
189
+ add_action('admin_print_scripts-'.$hook, array(&$this, 'admin_scripts'));
190
+ add_action('admin_print_styles-'.$hook, array(&$this, 'admin_styles'));
191
+ add_action("admin_init", array(&$this, 'admin_init'));
192
+ }
193
+
194
+ public function admin_head()
195
+ {
196
+ printf(
197
+ "<script type=\"text/javascript\" src=\"%s/js/wp-biz.js\"></script>",
198
+ $this->plugin_url
199
+ );
200
+ if (isset($_GET['err']) && $_GET['err']) {
201
+ add_action("admin_notices", array(&$this, "admin_notice"));
202
+ }
203
+ wp_admin_css();
204
+ do_action("admin_print_styles-post-php");
205
+ do_action('admin_print_styles');
206
+ }
207
+
208
+ public function admin_notice()
209
+ {
210
+ echo "<div class=\"error\"><p>";
211
+ echo "Security failure!";
212
+ echo "</p></div>";
213
+ }
214
+
215
+ public function admin_init()
216
+ {
217
+ if (isset($_POST['wpbiz-nonce']) && $_POST['wpbiz-nonce']) {
218
+ if (!current_user_can($this->role)) {
219
+ wp_redirect(admin_url('options-general.php?page=wp-biz&err=true'));
220
+ }
221
+ $nonce = $_POST['wpbiz-nonce'];
222
+ if (!$act = wp_verify_nonce($nonce, plugin_basename(__FILE__))) {
223
+ wp_redirect(admin_url('options-general.php?page=wp-biz&err=true'));
224
+ }
225
+ $this->save();
226
+ wp_redirect(admin_url('options-general.php?page=wp-biz&update=true'.$_POST['tabid']));
227
+ }
228
+ }
229
+
230
+ public function save()
231
+ {
232
+ foreach ($this->params as $key => $type) {
233
+ if (isset($_POST[$key]) && is_array($_POST[$key])) {
234
+ if (count($_POST[$key]) && $type === 'array') {
235
+ $arr = array();
236
+ foreach ($_POST[$key] as $str) {
237
+ $str = trim($str);
238
+ if (strlen($str)) {
239
+ $arr[] = $str;
240
+ }
241
+ }
242
+ if (count($arr)) {
243
+ update_option($key, $arr);
244
+ continue;
245
+ }
246
+ }
247
+ delete_option($key);
248
+ } elseif (isset($_POST[$key]) && strlen($_POST[$key])) {
249
+ switch ($type) {
250
+ case 'text':
251
+ update_option($key, trim($_POST[$key]));
252
+ break;
253
+ case 'bool':
254
+ if ($_POST[$key] === "1") {
255
+ update_option($key, trim($_POST[$key]));
256
+ } else {
257
+ delete_option($key);
258
+ }
259
+ break;
260
+ case 'int':
261
+ update_option($key, intval(trim($_POST[$key])));
262
+ break;
263
+ case 'email':
264
+ if (is_email(trim($_POST[$key]))) {
265
+ update_option($key, trim($_POST[$key]));
266
+ } else {
267
+ delete_option($key);
268
+ }
269
+ break;
270
+ default:
271
+ delete_option($key);
272
+ }
273
+ } else {
274
+ delete_option($key);
275
+ }
276
+ } // endforeach
277
+
278
+ if (get_option('wfb_webmaster')) {
279
+ global $wp_roles;
280
+ if (!isset($wp_roles->roles['webmaster'])) {
281
+ new wfb_createNewRole(
282
+ 'webmaster',
283
+ 'Webmaster',
284
+ 'editor',
285
+ array('edit_theme_options')
286
+ );
287
+ }
288
+ } else {
289
+ remove_role('webmaster');
290
+ }
291
+ }
292
+
293
+ public function options()
294
+ {
295
+ echo '<div class="wrap">';
296
+ echo '<h2>'.$this->page_title.'</h2>';
297
+ echo '<div id="wfb-container">';
298
+
299
+ if (isset($_GET['err']) && $_GET['err']) {
300
+ $this->error();
301
+ } else {
302
+ $this->form();
303
+ }
304
+
305
+ echo '<div id="wfb-footer">';
306
+ include(dirname(__FILE__).'/form/footer.php');
307
+ echo '</div><!--end #wfb-footer-->';
308
+ echo '<div id="wfb-sidebar">';
309
+ include(dirname(__FILE__).'/form/sidebar.php');
310
+ echo '</div><!--end #wfb-sidebar-->';
311
+ echo '</div><!--end #wfb-container-->';
312
+ echo '</div>';
313
+ }
314
+
315
+ private function form()
316
+ {
317
+ wp_tiny_mce(false);
318
+ $url = admin_url('options-general.php?page=wp-biz');
319
+ echo '<form method="post" action="'.$url.'">';
320
+ $nonce = wp_create_nonce(plugin_basename(__FILE__));
321
+ echo '<input type="hidden" name="wpbiz-nonce" value="'.$nonce.'" />';
322
+ echo '<input type="hidden" id="tabid" name="tabid" value="" />';
323
+ echo '<div id="tabs">';
324
+ echo '<ul id="menu"></ul>';
325
+ include(dirname(__FILE__).'/form/site.php');
326
+ include(dirname(__FILE__).'/form/post.php');
327
+ include(dirname(__FILE__).'/form/appearance.php');
328
+ include(dirname(__FILE__).'/form/other.php');
329
+ echo '</div><!--end #tabs-->';
330
+ echo '<p class="submit"><input type="submit" name="submit" id="submit" class="button-primary" value="'.__('Save Changes').'" /></p>';
331
+ echo '</form>';
332
+ }
333
+
334
+ private function error()
335
+ {
336
+ echo '<div id="err_block">';
337
+ echo 'Security failure.';
338
+ echo '</div>';
339
+ }
340
+
341
+ private function get_plugin_url()
342
+ {
343
+ return $this->plugin_url;
344
+ }
345
+
346
+ private function op($key)
347
+ {
348
+ echo trim(stripslashes(get_option($key)));
349
+ }
350
+
351
+ private function sel($id)
352
+ {
353
+ echo '<select name="'.$id.'" id="'.$id.'">';
354
+ echo '<option value="">'.__('Deactivate').'</option>';
355
+ if (get_option($id)) {
356
+ echo '<option value="1" selected="selected">'.__('Activate').'</option>';
357
+ } else {
358
+ echo '<option value="1">'.__('Activate').'</option>';
359
+ }
360
+ echo '</select>';
361
+ }
362
+
363
+ private function get_contributors()
364
+ {
365
+ $html = '<a href="%s">%s</a> (%s)';
366
+ $list = array();
367
+ foreach ($this->contributors as $u => $props) {
368
+ $list[] = sprintf($html, $props['url'], $u, $props['country']);
369
+ }
370
+ echo join(', ', $list);
371
+ }
372
+
373
+ private function get_translators()
374
+ {
375
+ $html = '<a href="%s">%s</a> (%s)';
376
+ $list = array();
377
+ foreach ($this->translators as $u => $props) {
378
+ $list[] = sprintf($html, $props['url'], $u, $props['lang']);
379
+ }
380
+ echo join(', ', $list);
381
+ }
382
+
383
+ }
384
+
385
+ ?>
js/wfb-upload.js ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // send html to the post editor
2
+ function send_to_editor(h) {
3
+ var ed;
4
+
5
+ if ( typeof tinyMCE != 'undefined' && ( ed = tinyMCE.activeEditor ) && !ed.isHidden() ) {
6
+ ed.focus();
7
+ if ( tinymce.isIE )
8
+ ed.selection.moveToBookmark(tinymce.EditorManager.activeEditor.windowManager.bookmark);
9
+
10
+ if ( h.indexOf('[caption') === 0 ) {
11
+ if ( ed.plugins.wpeditimage )
12
+ h = ed.plugins.wpeditimage._do_shcode(h);
13
+ } else if ( h.indexOf('[gallery') === 0 ) {
14
+ if ( ed.plugins.wpgallery )
15
+ h = ed.plugins.wpgallery._do_gallery(h);
16
+ } else if ( h.indexOf('[embed') === 0 ) {
17
+ if ( ed.plugins.wordpress )
18
+ h = ed.plugins.wordpress._setEmbed(h);
19
+ }
20
+
21
+ ed.execCommand('mceInsertContent', false, h);
22
+
23
+ } else if ( typeof edInsertContent == 'function' ) {
24
+ edInsertContent(edCanvas, h);
25
+ } else {
26
+ jQuery( edCanvas ).val( jQuery( edCanvas ).val() + h );
27
+ }
28
+
29
+ tb_remove();
30
+ }
31
+
32
+ // thickbox settings
33
+ var tb_position;
34
+ (function($) {
35
+ tb_position = function() {
36
+ var tbWindow = $('#TB_window'), width = $(window).width(), H = $(window).height(), W = ( 720 < width ) ? 720 : width, adminbar_height = 0;
37
+
38
+ if ( $('body.admin-bar').length )
39
+ adminbar_height = 28;
40
+
41
+ if ( tbWindow.size() ) {
42
+ tbWindow.width( W - 50 ).height( H - 45 - adminbar_height );
43
+ $('#TB_iframeContent').width( W - 50 ).height( H - 75 - adminbar_height );
44
+ tbWindow.css({'margin-left': '-' + parseInt((( W - 50 ) / 2),10) + 'px'});
45
+ if ( typeof document.body.style.maxWidth != 'undefined' )
46
+ tbWindow.css({'top': 20 + adminbar_height + 'px','margin-top':'0'});
47
+ };
48
+
49
+ return $('a.thickbox').each( function() {
50
+ var href = $(this).attr('href');
51
+ if ( ! href ) return;
52
+ href = href.replace(/&width=[0-9]+/g, '');
53
+ href = href.replace(/&height=[0-9]+/g, '');
54
+ $(this).attr( 'href', href + '&width=' + ( W - 80 ) + '&height=' + ( H - 85 - adminbar_height ) );
55
+ });
56
+ };
57
+
58
+ $(window).resize(function(){ tb_position(); });
59
+
60
+ })(jQuery);
61
+
62
+ jQuery(document).ready(function($){
63
+ $('a.thickbox').click(function(){
64
+ if ( typeof tinyMCE != 'undefined' && tinyMCE.activeEditor ) {
65
+ tinyMCE.get('wfb_admin_footer_text').focus();
66
+ tinyMCE.activeEditor.windowManager.bookmark = tinyMCE.activeEditor.selection.getBookmark('simple');
67
+ }
68
+ });
69
+ });
js/wp-biz.js ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery('document').ready(function(){
2
+ var send = window.send_to_editor;
3
+ var biz = new wpbiz();
4
+
5
+ // setup tab menu
6
+ jQuery('#tabs .tab').each(function(){
7
+ var id = jQuery(this).attr("id");
8
+ var txt = jQuery(jQuery('h3', this).get(0)).text();
9
+ var li = jQuery('<li><a href="#'+id+'"><span>'+txt+'</span></a></li>');
10
+ jQuery('#menu').append(li);
11
+ });
12
+ jQuery(function(){
13
+ jQuery("#tabs").tabs({fx:{opacity:'toggle', duration:'fast'}});
14
+ jQuery("#tabs h3").css('display', 'none');
15
+ });
16
+ jQuery("#menu a").click(function(){
17
+ jQuery('#tabid').val(jQuery(this).attr('href'));
18
+ });
19
+ jQuery('#tabs').css('display', 'block');
20
+
21
+ // setup media uploader
22
+ jQuery('a.media-upload').each(function(){
23
+ var rel = jQuery(this).attr("rel");
24
+ jQuery(this).click(function(){
25
+ window.send_to_editor = function(html) {
26
+ imgurl = jQuery('img', html).attr('src');
27
+ jQuery('#'+rel).val(imgurl);
28
+ tb_remove();
29
+ }
30
+ formfield = jQuery('#'+rel).attr('name');
31
+ tb_show(null, 'media-upload.php?post_id=0&type=image&TB_iframe=true');
32
+ return false;
33
+ });
34
+ });
35
+
36
+ // setup visual editor
37
+ jQuery('#tabs a.thickbox').each(function(){
38
+ jQuery(this).click(function(){
39
+ window.send_to_editor = send;
40
+ });
41
+ });
42
+ });
43
+
44
+ function wpbiz() {
45
+ var self = this;
46
+ jQuery('#tabs h4').each(function(){
47
+ jQuery(this).bind('click', self, self.click);
48
+ var p = jQuery(jQuery(this).parent().get(0));
49
+ if (self.getStatus(p)) {
50
+ var img = jQuery("img", this).get(0);
51
+ jQuery(img).css('display', 'block');
52
+ }
53
+ });
54
+ }
55
+
56
+ wpbiz.prototype.click = function(e)
57
+ {
58
+ var p = jQuery(this).parent().get(0);
59
+ var content = jQuery('.block_content', p).get(0);
60
+ var display = jQuery(content).css('display');
61
+ e.data.reset();
62
+ if (display !== 'block') {
63
+ jQuery(this).attr('class', 'active');
64
+ var params = {height:"toggle", opacity:"toggle"};
65
+ jQuery(content).animate(params, 'fast');
66
+ var postdivrich = jQuery('.postdivrich', content).get(0);
67
+ jQuery(postdivrich).attr("id", "postdivrich");
68
+ var poststuff = jQuery('.poststuff', content).get(0);
69
+ jQuery(poststuff).attr("id", "poststuff");
70
+ }
71
+ }
72
+
73
+ wpbiz.prototype.reset = function()
74
+ {
75
+ jQuery('#poststuff').attr("id", "");
76
+ jQuery('#postdivrich').attr("id", "");
77
+ var params = {height:"toggle", opacity:"toggle"};
78
+ jQuery('.block_content:visible').animate(params, 'fast');
79
+ jQuery('h4').attr('class', '');
80
+ }
81
+
82
+ wpbiz.prototype.getStatus = function(o)
83
+ {
84
+ var flag = false;
85
+ jQuery('input[type="checkbox"]', o).each(function(){
86
+ if (jQuery(this).attr('checked') == true) {
87
+ flag = true;
88
+ }
89
+ });
90
+ jQuery('select', o).each(function(){
91
+ if (this.value.length) {
92
+ flag = true;
93
+ }
94
+ });
95
+ jQuery('input[type="text"]', o).each(function(){
96
+ if (this.value.length) {
97
+ flag = true;
98
+ }
99
+ });
100
+ jQuery('textarea', o).each(function(){
101
+ if (jQuery(this).val().length) {
102
+ flag = true;
103
+ }
104
+ });
105
+ return flag;
106
+ }
107
+
langs/wp-total-hacks-it_IT.mo ADDED
Binary file
langs/wp-total-hacks-it_IT.po ADDED
@@ -0,0 +1,283 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: PACKAGE VERSION\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "POT-Creation-Date: 2011-05-23 14:56+0900\n"
11
+ "PO-Revision-Date: 2011-05-23 09:15+0100\n"
12
+ "Last-Translator: Andrea Bersi\n"
13
+ "Language-Team: LANGUAGE <LL@li.org>\n"
14
+ "Language: \n"
15
+ "MIME-Version: 1.0\n"
16
+ "Content-Type: text/plain; charset=utf-8\n"
17
+ "Content-Transfer-Encoding: 8bit\n"
18
+
19
+ #: ../includes/form/appearance.php:3
20
+ msgid "Appearance in admin"
21
+ msgstr "Aspetto in amministrazione"
22
+
23
+ #: ../includes/form/appearance.php:6
24
+ msgid "Change admin header logo"
25
+ msgstr "Cambia logo in testata amministrazione"
26
+
27
+ #: ../includes/form/appearance.php:8
28
+ msgid "Upload 30 x 30 pixel image for admin header logo."
29
+ msgstr "Carica immagine 30 x 30 pixel per logo amministrazione"
30
+
31
+ #: ../includes/form/appearance.php:11
32
+ #: ../includes/form/appearance.php:36
33
+ msgid "Select File"
34
+ msgstr "Seleziona file"
35
+
36
+ #: ../includes/form/appearance.php:16
37
+ msgid "Change admin footer text"
38
+ msgstr "Cambia testo piè di pagina amministrazione"
39
+
40
+ #: ../includes/form/appearance.php:18
41
+ msgid "You can edit admin footer text. Line breaks will remove."
42
+ msgstr "Puoi cambiare il testo del pié di pagina amministrazione. Gli a capo vengono rimosssi"
43
+
44
+ #: ../includes/form/appearance.php:30
45
+ msgid "Change login logo"
46
+ msgstr "Cambia logo finestra accesso backend"
47
+
48
+ #: ../includes/form/appearance.php:32
49
+ msgid "You can customize logo, URL and Title. The logo image size is recommended 310 x 70 pixel."
50
+ msgstr "Puoi personalizzare logo, URL e titolo. L'immagine del logo raccomandata è 310 x 70 pixel."
51
+
52
+ #: ../includes/form/appearance.php:35
53
+ msgid "Logo"
54
+ msgstr "Logo"
55
+
56
+ #: ../includes/form/appearance.php:37
57
+ msgid "URL"
58
+ msgstr "URL"
59
+
60
+ #: ../includes/form/appearance.php:39
61
+ msgid "Title"
62
+ msgstr "Titolo"
63
+
64
+ #: ../includes/form/footer.php:2
65
+ msgid "Translators"
66
+ msgstr "Traduttori"
67
+
68
+ #: ../includes/form/footer.php:7
69
+ msgid "Contributors"
70
+ msgstr "Sostenitori"
71
+
72
+ #: ../includes/form/other.php:2
73
+ msgid "Other"
74
+ msgstr "Altro"
75
+
76
+ #: ../includes/form/other.php:5
77
+ msgid "Deactive Dashboard Widgets"
78
+ msgstr "Disattiva Widgets Bacheca"
79
+
80
+ #: ../includes/form/other.php:7
81
+ #: ../includes/form/post.php:8
82
+ #: ../includes/form/post.php:27
83
+ msgid "Click on the check box that you want to delete."
84
+ msgstr "Click sul check box per cancellare"
85
+
86
+ #: ../includes/form/other.php:24
87
+ msgid "Add role \"Webmaster\""
88
+ msgstr "Aggiungi ruolo \"Webmaster\""
89
+
90
+ #: ../includes/form/other.php:26
91
+ msgid "\"Webmaster\" is role able to \"Editor\" + \"edit_theme_options\"."
92
+ msgstr "\"Webmaster\" è ruolo analogo a \"Editor\" + \"edit_theme_options\" "
93
+
94
+ #: ../includes/form/other.php:32
95
+ msgid "Change the default eamil address"
96
+ msgstr "Cambia valore email di default"
97
+
98
+ #: ../includes/form/other.php:34
99
+ msgid "Change the default eamil address and sender name."
100
+ msgstr "Cambia valore email di default e nome del sender"
101
+
102
+ #: ../includes/form/other.php:36
103
+ msgid "Name"
104
+ msgstr "Nome"
105
+
106
+ #: ../includes/form/other.php:38
107
+ msgid "Email"
108
+ msgstr "Email"
109
+
110
+ #: ../includes/form/other.php:45
111
+ msgid "Delete default contact methods"
112
+ msgstr "Cancella metodo contatto di default"
113
+
114
+ #: ../includes/form/other.php:47
115
+ msgid "Delete default contact methods from user profile."
116
+ msgstr "Cancella metodo contatto di default dak profilo utente"
117
+
118
+ #: ../includes/form/other.php:64
119
+ msgid "Remove Update Notification"
120
+ msgstr "Rimuovi notifiche di aggiornamento"
121
+
122
+ #: ../includes/form/other.php:66
123
+ msgid "Remove Update Notification for all users except Admin User."
124
+ msgstr "Rimuovi notifiche di aggiornamento per tutti utenti tranne Amministratore"
125
+
126
+ #: ../includes/form/post.php:3
127
+ msgid "Posts & Pages"
128
+ msgstr "Articoli e Pagine"
129
+
130
+ #: ../includes/form/post.php:6
131
+ msgid "Delete meta boxes for Posts"
132
+ msgstr "Elimina meta box per Articoli"
133
+
134
+ #: ../includes/form/post.php:25
135
+ msgid "Delete meta boxes for Pages"
136
+ msgstr "Elimina meta box per Pagine"
137
+
138
+ #: ../includes/form/post.php:44
139
+ msgid "Revision Control"
140
+ msgstr "Controllo revisioni"
141
+
142
+ #: ../includes/form/post.php:46
143
+ msgid "Please select limit the number of allowed revisions."
144
+ msgstr "Seleziona numero di revisione ammesse"
145
+
146
+ #: ../includes/form/post.php:48
147
+ msgid "Store All"
148
+ msgstr "Registra tutto"
149
+
150
+ #: ../includes/form/post.php:64
151
+ msgid "Disable Auto Save"
152
+ msgstr "Disabilita Salvataggio Automatico"
153
+
154
+ #: ../includes/form/post.php:71
155
+ msgid "Stop Self Pings"
156
+ msgstr "Stop Self Pings"
157
+
158
+ #: ../includes/form/post.php:73
159
+ msgid "Stop sending pings from your own site to your own site when you write posts."
160
+ msgstr "Stop sending pings verso altri siti quando pubblichi contenuti."
161
+
162
+ #: ../includes/form/post.php:79
163
+ msgid "Add \"Excerpt\" support for Pages."
164
+ msgstr "Aggiungi \"Riassunto\" alle pagine"
165
+
166
+ #: ../includes/form/post.php:81
167
+ msgid "Requires to add excerpt text in a Pages."
168
+ msgstr "Necessario per aggiungere riassunto alle pagine"
169
+
170
+ #: ../includes/form/sidebar.php:2
171
+ msgid "WordPress Plugins"
172
+ msgstr "WordPress Pulgins"
173
+
174
+ #: ../includes/form/sidebar.php:13
175
+ msgid "This Plugin needs your support"
176
+ msgstr "Questo plugin necessita del tuo supporto"
177
+
178
+ #: ../includes/form/sidebar.php:14
179
+ msgid "Please help support the continued development."
180
+ msgstr "Si prega di aiutare il mantenimento del plugin"
181
+
182
+ #: ../includes/form/sidebar.php:16
183
+ msgid "$200+ makes you an official contributor."
184
+ msgstr "$200 per diventare sostenitore ufficiale"
185
+
186
+ #: ../includes/form/sidebar.php:20
187
+ msgid "Contact"
188
+ msgstr "Contatto"
189
+
190
+ #: ../includes/form/site.php:2
191
+ msgid "Site Settings"
192
+ msgstr "Impostazioni sito"
193
+
194
+ #: ../includes/form/site.php:5
195
+ msgid "Add a favicon"
196
+ msgstr "Aggiungi Favicon"
197
+
198
+ #: ../includes/form/site.php:7
199
+ msgid "Please upload .ico image."
200
+ msgstr "Caricare una immagine .ico"
201
+
202
+ #: ../includes/form/site.php:14
203
+ msgid "Enable auto remove \"wlwmanifest\" and \"xmlrpc\" from meta."
204
+ msgstr "Abilita la rimozione di \"wlwmanifest\" e \"xmlrpc\" dai meta tag"
205
+
206
+ #: ../includes/form/site.php:16
207
+ #, php-format
208
+ msgid "If you don't use \"<a href=\"%s\">Remote Publishing</a>\", remove unnecessary tags from head."
209
+ msgstr "Se non usi \"<a href=\"%s\">Pubblucazione da remoto</a>\" rimuovi i tag relativi dai meta tag"
210
+
211
+ #: ../includes/form/site.php:22
212
+ msgid "Remove adjacent posts rel links from head on Pages"
213
+ msgstr "Rimuovi rel links dall'head nelle pagine"
214
+
215
+ #: ../includes/form/site.php:24
216
+ msgid "Remove adjacent posts rel links from head on Pages.<br /><span class=\"ex\">e.g. &lt;link rel=\"next\" ...&gt; &lt;link rel=\"prev\" ...&gt;</span>"
217
+ msgstr "Rimuovi rel links dall'head nelle pagine<br /><span class=\"ex\">e.g. &lt;link rel=\"next\" ...&gt; &lt;link rel=\"prev\" ...&gt;</span>"
218
+
219
+ #: ../includes/form/site.php:30
220
+ msgid "Remove version number from head"
221
+ msgstr "Rimuovi tag di versione dai meta tag"
222
+
223
+ #: ../includes/form/site.php:32
224
+ msgid "Remove generator tag from head. <span class=\"ex\">e.g. &lt;meta name=\"generator\" content=\"WordPress x.x.x\" /&gt;</span>"
225
+ msgstr "generator タグを head から削除します。<span class=\"ex\">e.g. &lt;meta name=\"generator\" content=\"WordPress x.x.x\" /&gt;</span>"
226
+
227
+ #: ../includes/form/site.php:38
228
+ msgid "Remove #more anchor"
229
+ msgstr "Rimuovi il tag #more "
230
+
231
+ #: ../includes/form/site.php:40
232
+ msgid "Remove #more-xxx anchor from more links."
233
+ msgstr "Rimuovi il tag #more-xxx dai link"
234
+
235
+ #: ../includes/form/site.php:46
236
+ msgid "Remove \"[...]\" from excerpt"
237
+ msgstr "Rimuovi [...] dai riassunti"
238
+
239
+ #: ../includes/form/site.php:48
240
+ msgid "Remove \"[...]\" from output of the_excerpt()."
241
+ msgstr "Rimuovi [...] dal testo dei riassunti"
242
+
243
+ #: ../includes/form/site.php:54
244
+ msgid "Install Google Analytics"
245
+ msgstr "Installa Google Analytics"
246
+
247
+ #: ../includes/form/site.php:56
248
+ msgid "Add Google analytics code."
249
+ msgstr "Aggiungi codice pe rGoogle Analytics"
250
+
251
+ #: ../includes/form/site.php:63
252
+ msgid "Exclude user logged in."
253
+ msgstr "Escludi utente loggato"
254
+
255
+ #: ../includes/form/site.php:68
256
+ msgid "Webmaster Tools Verification"
257
+ msgstr "Webmaster Tools Verification"
258
+
259
+ #: ../includes/form/site.php:70
260
+ msgid "Enter your meta key \"content\" value to verify your blog with <a href=\"https://www.google.com/webmasters/tools/\">Google Webmaster Tools</a>, <a href=\"https://siteexplorer.search.yahoo.com/\">Yahoo! Site Explorer</a>, and <a href=\"http://www.bing.com/webmaster\">Bing Webmaster Center</a>."
261
+ msgstr "Inserisci la chiave dei meta tag \"content\" per verificare il sito su <a href=\"https://www.google.com/webmasters/tools/\">Google Webmaster Tools</a>, <a href=\"https://siteexplorer.search.yahoo.com/\">Yahoo! Site Explorer</a>, e <a href=\"http://www.bing.com/webmaster\">Bing Webmaster Center</a>."
262
+
263
+ #: ../includes/wpbiz_admin.php:313
264
+ msgid "Save Changes"
265
+ msgstr "Salva"
266
+
267
+ #: ../includes/wpbiz_admin.php:337
268
+ msgid "Deactivate"
269
+ msgstr "Disattiva"
270
+
271
+ #: ../includes/wpbiz_admin.php:339
272
+ #: ../includes/wpbiz_admin.php:341
273
+ msgid "Activate"
274
+ msgstr "Attiva"
275
+
276
+ #: ../wp-total-hacks.php:282
277
+ msgid "Settings"
278
+ msgstr "Impostazioni"
279
+
280
+ #: ../wp-total-hacks.php:285
281
+ msgid "Donate"
282
+ msgstr "Dona"
283
+
langs/wp-total-hacks-ja.mo ADDED
Binary file
langs/wp-total-hacks-ja.po ADDED
@@ -0,0 +1,306 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: PACKAGE VERSION\n"
10
+ "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2011-05-23 14:56+0900\n"
12
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "Language: \n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=utf-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+
20
+ #: ../includes/form/appearance.php:3
21
+ msgid "Appearance in admin"
22
+ msgstr "外観"
23
+
24
+ #: ../includes/form/appearance.php:6
25
+ msgid "Change admin header logo"
26
+ msgstr "管理画面のヘッダーのロゴを変更"
27
+
28
+ #: ../includes/form/appearance.php:8
29
+ msgid "Upload 30 x 30 pixel image for admin header logo."
30
+ msgstr ""
31
+
32
+ #: ../includes/form/appearance.php:11 ../includes/form/appearance.php:36
33
+ msgid "Select File"
34
+ msgstr "ファイルを選択"
35
+
36
+ #: ../includes/form/appearance.php:16
37
+ msgid "Change admin footer text"
38
+ msgstr "管理画面フッターを変更"
39
+
40
+ #: ../includes/form/appearance.php:18
41
+ msgid "You can edit admin footer text. Line breaks will remove."
42
+ msgstr "管理画面フッターのテキストを変更できます。改行は無視されます。"
43
+
44
+ #: ../includes/form/appearance.php:30
45
+ msgid "Change login logo"
46
+ msgstr "ログイン画面のロゴを変更"
47
+
48
+ #: ../includes/form/appearance.php:32
49
+ msgid ""
50
+ "You can customize logo, URL and Title. The logo image size is recommended "
51
+ "310 x 70 pixel."
52
+ msgstr ""
53
+ "ログイン画面のロゴ、リンク先URL、リンクタイトルを変更できます。ロゴ画像のサイ"
54
+ "ズは、310 x 70 ピクセルをおすすめします。"
55
+
56
+ #: ../includes/form/appearance.php:35
57
+ msgid "Logo"
58
+ msgstr "ロゴ"
59
+
60
+ #: ../includes/form/appearance.php:37
61
+ msgid "URL"
62
+ msgstr "URL"
63
+
64
+ #: ../includes/form/appearance.php:39
65
+ msgid "Title"
66
+ msgstr "タイトル"
67
+
68
+ #: ../includes/form/footer.php:2
69
+ msgid "Translators"
70
+ msgstr "翻訳者"
71
+
72
+ #: ../includes/form/footer.php:7
73
+ msgid "Contributors"
74
+ msgstr "開発者及び協力者"
75
+
76
+ #: ../includes/form/other.php:2
77
+ msgid "Other"
78
+ msgstr "その他"
79
+
80
+ #: ../includes/form/other.php:5
81
+ msgid "Deactive Dashboard Widgets"
82
+ msgstr "ダッシュボードウィジェットの無効化"
83
+
84
+ #: ../includes/form/other.php:7 ../includes/form/post.php:8
85
+ #: ../includes/form/post.php:27
86
+ msgid "Click on the check box that you want to delete."
87
+ msgstr "削除したい項目をクリックしてください。"
88
+
89
+ #: ../includes/form/other.php:24
90
+ msgid "Add role \"Webmaster\""
91
+ msgstr "\"Webmaster\" 権限を追加"
92
+
93
+ #: ../includes/form/other.php:26
94
+ msgid "\"Webmaster\" is role able to \"Editor\" + \"edit_theme_options\"."
95
+ msgstr ""
96
+ "\"Webmaster\" は、\"Editor\" 権限と \"edit_theme_options\" が可能です。"
97
+
98
+ #: ../includes/form/other.php:32
99
+ msgid "Change the default eamil address"
100
+ msgstr "デフォルトのメールアドレスを変更"
101
+
102
+ #: ../includes/form/other.php:34
103
+ msgid "Change the default eamil address and sender name."
104
+ msgstr "デフォルトのメールアドレスと送信者名を変更します。"
105
+
106
+ #: ../includes/form/other.php:36
107
+ msgid "Name"
108
+ msgstr "名前"
109
+
110
+ #: ../includes/form/other.php:38
111
+ msgid "Email"
112
+ msgstr "Email"
113
+
114
+ #: ../includes/form/other.php:45
115
+ msgid "Delete default contact methods"
116
+ msgstr "デフォルトの連絡先情報を削除"
117
+
118
+ #: ../includes/form/other.php:47
119
+ msgid "Delete default contact methods from user profile."
120
+ msgstr "ユーザーの編集からデフォルトの連絡先情報を削除します。"
121
+
122
+ #: ../includes/form/other.php:64
123
+ msgid "Remove Update Notification"
124
+ msgstr "アップデート通知を停止"
125
+
126
+ #: ../includes/form/other.php:66
127
+ msgid "Remove Update Notification for all users except Admin User."
128
+ msgstr "アップデート通知を管理者以外の全てのユーザーに対して停止します。"
129
+
130
+ #: ../includes/form/post.php:3
131
+ msgid "Posts & Pages"
132
+ msgstr "投稿 & ページ"
133
+
134
+ #: ../includes/form/post.php:6
135
+ msgid "Delete meta boxes for Posts"
136
+ msgstr "投稿のメタボックスを削除"
137
+
138
+ #: ../includes/form/post.php:25
139
+ msgid "Delete meta boxes for Pages"
140
+ msgstr "ページのメタボックスを削除"
141
+
142
+ #: ../includes/form/post.php:44
143
+ msgid "Revision Control"
144
+ msgstr "リビジョンコントロール"
145
+
146
+ #: ../includes/form/post.php:46
147
+ msgid "Please select limit the number of allowed revisions."
148
+ msgstr "保存するリビジョン数を選択してください。"
149
+
150
+ #: ../includes/form/post.php:48
151
+ msgid "Store All"
152
+ msgstr "全て保存"
153
+
154
+ #: ../includes/form/post.php:64
155
+ msgid "Disable Auto Save"
156
+ msgstr "自動保存を無効"
157
+
158
+ #: ../includes/form/post.php:71
159
+ msgid "Stop Self Pings"
160
+ msgstr "セルフピンバックを停止"
161
+
162
+ #: ../includes/form/post.php:73
163
+ msgid ""
164
+ "Stop sending pings from your own site to your own site when you write posts."
165
+ msgstr "あなたのサイトからあなたのサイトへのピンバックを停止する。"
166
+
167
+ #: ../includes/form/post.php:79
168
+ msgid "Add \"Excerpt\" support for Pages."
169
+ msgstr "ページに\"抜粋\"を追加"
170
+
171
+ #: ../includes/form/post.php:81
172
+ msgid "Requires to add excerpt text in a Pages."
173
+ msgstr "ページに\"抜粋\"を追加できます。"
174
+
175
+ #: ../includes/form/sidebar.php:2
176
+ msgid "WordPress Plugins"
177
+ msgstr "WordPress プラグイン"
178
+
179
+ #: ../includes/form/sidebar.php:13
180
+ msgid "This Plugin needs your support"
181
+ msgstr "あなたのサポートが必要です"
182
+
183
+ #: ../includes/form/sidebar.php:14
184
+ msgid "Please help support the continued development."
185
+ msgstr "開発を継続するための支援をお願いします。"
186
+
187
+ #: ../includes/form/sidebar.php:16
188
+ msgid "$200+ makes you an official contributor."
189
+ msgstr "200ドル以上の寄付で公式な協力者としてご紹介させていただきます。"
190
+
191
+ #: ../includes/form/sidebar.php:20
192
+ msgid "Contact"
193
+ msgstr "連絡先"
194
+
195
+ #: ../includes/form/site.php:2
196
+ msgid "Site Settings"
197
+ msgstr "サイト設定"
198
+
199
+ #: ../includes/form/site.php:5
200
+ msgid "Add a favicon"
201
+ msgstr "Faviconを追加"
202
+
203
+ #: ../includes/form/site.php:7
204
+ msgid "Please upload .ico image."
205
+ msgstr ".ico 画像をアップロードしてください。"
206
+
207
+ #: ../includes/form/site.php:14
208
+ msgid "Enable auto remove \"wlwmanifest\" and \"xmlrpc\" from meta."
209
+ msgstr "\"wlwmanifest\" と \"xmlrpc\" の自動削除"
210
+
211
+ #: ../includes/form/site.php:16
212
+ #, php-format
213
+ msgid ""
214
+ "If you don't use \"<a href=\"%s\">Remote Publishing</a>\", remove "
215
+ "unnecessary tags from head."
216
+ msgstr ""
217
+ "もし、\"<a href=\"%s\">リモート投稿</a>\" を使用しないなら、不必要なタグを "
218
+ "head から取り除きます。"
219
+
220
+ #: ../includes/form/site.php:22
221
+ msgid "Remove adjacent posts rel links from head on Pages"
222
+ msgstr "前後の投稿へのリンクをページで無効化"
223
+
224
+ #: ../includes/form/site.php:24
225
+ msgid ""
226
+ "Remove adjacent posts rel links from head on Pages.<br /><span class=\"ex"
227
+ "\">e.g. &lt;link rel=\"next\" ...&gt; &lt;link rel=\"prev\" ...&gt;</span>"
228
+ msgstr ""
229
+ "前後の投稿へのリンクをページで無効にする。<br /><span class=\"ex\">e.g. &lt;"
230
+ "link rel=\"next\" ...&gt; &lt;link rel=\"prev\" ...&gt;</span>"
231
+
232
+ #: ../includes/form/site.php:30
233
+ msgid "Remove version number from head"
234
+ msgstr "バージョン情報を head から削除"
235
+
236
+ #: ../includes/form/site.php:32
237
+ msgid ""
238
+ "Remove generator tag from head. <span class=\"ex\">e.g. &lt;meta name="
239
+ "\"generator\" content=\"WordPress x.x.x\" /&gt;</span>"
240
+ msgstr ""
241
+ "generator タグを head から削除します。<span class=\"ex\">e.g. &lt;meta name="
242
+ "\"generator\" content=\"WordPress x.x.x\" /&gt;</span>"
243
+
244
+ #: ../includes/form/site.php:38
245
+ msgid "Remove #more anchor"
246
+ msgstr "#more アンカーの削除"
247
+
248
+ #: ../includes/form/site.php:40
249
+ msgid "Remove #more-xxx anchor from more links."
250
+ msgstr "more リンクから、#more-xxx アンカーを削除します。"
251
+
252
+ #: ../includes/form/site.php:46
253
+ msgid "Remove \"[...]\" from excerpt"
254
+ msgstr "抜粋から、[...] を削除"
255
+
256
+ #: ../includes/form/site.php:48
257
+ msgid "Remove \"[...]\" from output of the_excerpt()."
258
+ msgstr "the_excerpt() の出力結果から、[...] を削除します。"
259
+
260
+ #: ../includes/form/site.php:54
261
+ msgid "Install Google Analytics"
262
+ msgstr "Google Analytics をインストール"
263
+
264
+ #: ../includes/form/site.php:56
265
+ msgid "Add Google analytics code."
266
+ msgstr "Google Abalytics コードを入力してください。"
267
+
268
+ #: ../includes/form/site.php:63
269
+ msgid "Exclude user logged in."
270
+ msgstr "ログインユーザーには無効にする。"
271
+
272
+ #: ../includes/form/site.php:68
273
+ msgid "Webmaster Tools Verification"
274
+ msgstr "ウェブマスターツールの認証"
275
+
276
+ #: ../includes/form/site.php:70
277
+ msgid ""
278
+ "Enter your meta key \"content\" value to verify your blog with <a href="
279
+ "\"https://www.google.com/webmasters/tools/\">Google Webmaster Tools</a>, <a "
280
+ "href=\"https://siteexplorer.search.yahoo.com/\">Yahoo! Site Explorer</a>, "
281
+ "and <a href=\"http://www.bing.com/webmaster\">Bing Webmaster Center</a>."
282
+ msgstr ""
283
+ "認証用の meta \"content\" の値を入力してください。 <a href=\"https://www."
284
+ "google.com/webmasters/tools/\">Google Webmaster Tools</a>, <a href=\"https://"
285
+ "siteexplorer.search.yahoo.com/\">Yahoo! Site Explorer</a>, and <a href="
286
+ "\"http://www.bing.com/webmaster\">Bing Webmaster Center</a>."
287
+
288
+ #: ../includes/wpbiz_admin.php:313
289
+ msgid "Save Changes"
290
+ msgstr ""
291
+
292
+ #: ../includes/wpbiz_admin.php:337
293
+ msgid "Deactivate"
294
+ msgstr ""
295
+
296
+ #: ../includes/wpbiz_admin.php:339 ../includes/wpbiz_admin.php:341
297
+ msgid "Activate"
298
+ msgstr ""
299
+
300
+ #: ../wp-total-hacks.php:282
301
+ msgid "Settings"
302
+ msgstr "設定"
303
+
304
+ #: ../wp-total-hacks.php:285
305
+ msgid "Donate"
306
+ msgstr "寄付"
langs/wp-total-hacks.pot ADDED
@@ -0,0 +1,293 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the PACKAGE package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: PACKAGE VERSION\n"
10
+ "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2011-05-23 14:56+0900\n"
12
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "Language: \n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=CHARSET\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+
20
+ #: ../includes/form/appearance.php:3
21
+ msgid "Appearance in admin"
22
+ msgstr ""
23
+
24
+ #: ../includes/form/appearance.php:6
25
+ msgid "Change admin header logo"
26
+ msgstr ""
27
+
28
+ #: ../includes/form/appearance.php:8
29
+ msgid "Upload 30 x 30 pixel image for admin header logo."
30
+ msgstr ""
31
+
32
+ #: ../includes/form/appearance.php:11 ../includes/form/appearance.php:36
33
+ msgid "Select File"
34
+ msgstr ""
35
+
36
+ #: ../includes/form/appearance.php:16
37
+ msgid "Change admin footer text"
38
+ msgstr ""
39
+
40
+ #: ../includes/form/appearance.php:18
41
+ msgid "You can edit admin footer text. Line breaks will remove."
42
+ msgstr ""
43
+
44
+ #: ../includes/form/appearance.php:30
45
+ msgid "Change login logo"
46
+ msgstr ""
47
+
48
+ #: ../includes/form/appearance.php:32
49
+ msgid ""
50
+ "You can customize logo, URL and Title. The logo image size is recommended "
51
+ "310 x 70 pixel."
52
+ msgstr ""
53
+
54
+ #: ../includes/form/appearance.php:35
55
+ msgid "Logo"
56
+ msgstr ""
57
+
58
+ #: ../includes/form/appearance.php:37
59
+ msgid "URL"
60
+ msgstr ""
61
+
62
+ #: ../includes/form/appearance.php:39
63
+ msgid "Title"
64
+ msgstr ""
65
+
66
+ #: ../includes/form/footer.php:2
67
+ msgid "Translators"
68
+ msgstr ""
69
+
70
+ #: ../includes/form/footer.php:7
71
+ msgid "Contributors"
72
+ msgstr ""
73
+
74
+ #: ../includes/form/other.php:2
75
+ msgid "Other"
76
+ msgstr ""
77
+
78
+ #: ../includes/form/other.php:5
79
+ msgid "Deactive Dashboard Widgets"
80
+ msgstr ""
81
+
82
+ #: ../includes/form/other.php:7 ../includes/form/post.php:8
83
+ #: ../includes/form/post.php:27
84
+ msgid "Click on the check box that you want to delete."
85
+ msgstr ""
86
+
87
+ #: ../includes/form/other.php:24
88
+ msgid "Add role \"Webmaster\""
89
+ msgstr ""
90
+
91
+ #: ../includes/form/other.php:26
92
+ msgid "\"Webmaster\" is role able to \"Editor\" + \"edit_theme_options\"."
93
+ msgstr ""
94
+
95
+ #: ../includes/form/other.php:32
96
+ msgid "Change the default eamil address"
97
+ msgstr ""
98
+
99
+ #: ../includes/form/other.php:34
100
+ msgid "Change the default eamil address and sender name."
101
+ msgstr ""
102
+
103
+ #: ../includes/form/other.php:36
104
+ msgid "Name"
105
+ msgstr ""
106
+
107
+ #: ../includes/form/other.php:38
108
+ msgid "Email"
109
+ msgstr ""
110
+
111
+ #: ../includes/form/other.php:45
112
+ msgid "Delete default contact methods"
113
+ msgstr ""
114
+
115
+ #: ../includes/form/other.php:47
116
+ msgid "Delete default contact methods from user profile."
117
+ msgstr ""
118
+
119
+ #: ../includes/form/other.php:64
120
+ msgid "Remove Update Notification"
121
+ msgstr ""
122
+
123
+ #: ../includes/form/other.php:66
124
+ msgid "Remove Update Notification for all users except Admin User."
125
+ msgstr ""
126
+
127
+ #: ../includes/form/post.php:3
128
+ msgid "Posts & Pages"
129
+ msgstr ""
130
+
131
+ #: ../includes/form/post.php:6
132
+ msgid "Delete meta boxes for Posts"
133
+ msgstr ""
134
+
135
+ #: ../includes/form/post.php:25
136
+ msgid "Delete meta boxes for Pages"
137
+ msgstr ""
138
+
139
+ #: ../includes/form/post.php:44
140
+ msgid "Revision Control"
141
+ msgstr ""
142
+
143
+ #: ../includes/form/post.php:46
144
+ msgid "Please select limit the number of allowed revisions."
145
+ msgstr ""
146
+
147
+ #: ../includes/form/post.php:48
148
+ msgid "Store All"
149
+ msgstr ""
150
+
151
+ #: ../includes/form/post.php:64
152
+ msgid "Disable Auto Save"
153
+ msgstr ""
154
+
155
+ #: ../includes/form/post.php:71
156
+ msgid "Stop Self Pings"
157
+ msgstr ""
158
+
159
+ #: ../includes/form/post.php:73
160
+ msgid ""
161
+ "Stop sending pings from your own site to your own site when you write posts."
162
+ msgstr ""
163
+
164
+ #: ../includes/form/post.php:79
165
+ msgid "Add \"Excerpt\" support for Pages."
166
+ msgstr ""
167
+
168
+ #: ../includes/form/post.php:81
169
+ msgid "Requires to add excerpt text in a Pages."
170
+ msgstr ""
171
+
172
+ #: ../includes/form/sidebar.php:2
173
+ msgid "WordPress Plugins"
174
+ msgstr ""
175
+
176
+ #: ../includes/form/sidebar.php:13
177
+ msgid "This Plugin needs your support"
178
+ msgstr ""
179
+
180
+ #: ../includes/form/sidebar.php:14
181
+ msgid "Please help support the continued development."
182
+ msgstr ""
183
+
184
+ #: ../includes/form/sidebar.php:16
185
+ msgid "$200+ makes you an official contributor."
186
+ msgstr ""
187
+
188
+ #: ../includes/form/sidebar.php:20
189
+ msgid "Contact"
190
+ msgstr ""
191
+
192
+ #: ../includes/form/site.php:2
193
+ msgid "Site Settings"
194
+ msgstr ""
195
+
196
+ #: ../includes/form/site.php:5
197
+ msgid "Add a favicon"
198
+ msgstr ""
199
+
200
+ #: ../includes/form/site.php:7
201
+ msgid "Please upload .ico image."
202
+ msgstr ""
203
+
204
+ #: ../includes/form/site.php:14
205
+ msgid "Enable auto remove \"wlwmanifest\" and \"xmlrpc\" from meta."
206
+ msgstr ""
207
+
208
+ #: ../includes/form/site.php:16
209
+ #, php-format
210
+ msgid ""
211
+ "If you don't use \"<a href=\"%s\">Remote Publishing</a>\", remove "
212
+ "unnecessary tags from head."
213
+ msgstr ""
214
+
215
+ #: ../includes/form/site.php:22
216
+ msgid "Remove adjacent posts rel links from head on Pages"
217
+ msgstr ""
218
+
219
+ #: ../includes/form/site.php:24
220
+ msgid ""
221
+ "Remove adjacent posts rel links from head on Pages.<br /><span class=\"ex"
222
+ "\">e.g. &lt;link rel=\"next\" ...&gt; &lt;link rel=\"prev\" ...&gt;</span>"
223
+ msgstr ""
224
+
225
+ #: ../includes/form/site.php:30
226
+ msgid "Remove version number from head"
227
+ msgstr ""
228
+
229
+ #: ../includes/form/site.php:32
230
+ msgid ""
231
+ "Remove generator tag from head. <span class=\"ex\">e.g. &lt;meta name="
232
+ "\"generator\" content=\"WordPress x.x.x\" /&gt;</span>"
233
+ msgstr ""
234
+
235
+ #: ../includes/form/site.php:38
236
+ msgid "Remove #more anchor"
237
+ msgstr ""
238
+
239
+ #: ../includes/form/site.php:40
240
+ msgid "Remove #more-xxx anchor from more links."
241
+ msgstr ""
242
+
243
+ #: ../includes/form/site.php:46
244
+ msgid "Remove \"[...]\" from excerpt"
245
+ msgstr ""
246
+
247
+ #: ../includes/form/site.php:48
248
+ msgid "Remove \"[...]\" from output of the_excerpt()."
249
+ msgstr ""
250
+
251
+ #: ../includes/form/site.php:54
252
+ msgid "Install Google Analytics"
253
+ msgstr ""
254
+
255
+ #: ../includes/form/site.php:56
256
+ msgid "Add Google analytics code."
257
+ msgstr ""
258
+
259
+ #: ../includes/form/site.php:63
260
+ msgid "Exclude user logged in."
261
+ msgstr ""
262
+
263
+ #: ../includes/form/site.php:68
264
+ msgid "Webmaster Tools Verification"
265
+ msgstr ""
266
+
267
+ #: ../includes/form/site.php:70
268
+ msgid ""
269
+ "Enter your meta key \"content\" value to verify your blog with <a href="
270
+ "\"https://www.google.com/webmasters/tools/\">Google Webmaster Tools</a>, <a "
271
+ "href=\"https://siteexplorer.search.yahoo.com/\">Yahoo! Site Explorer</a>, "
272
+ "and <a href=\"http://www.bing.com/webmaster\">Bing Webmaster Center</a>."
273
+ msgstr ""
274
+
275
+ #: ../includes/wpbiz_admin.php:313
276
+ msgid "Save Changes"
277
+ msgstr ""
278
+
279
+ #: ../includes/wpbiz_admin.php:337
280
+ msgid "Deactivate"
281
+ msgstr ""
282
+
283
+ #: ../includes/wpbiz_admin.php:339 ../includes/wpbiz_admin.php:341
284
+ msgid "Activate"
285
+ msgstr ""
286
+
287
+ #: ../wp-total-hacks.php:282
288
+ msgid "Settings"
289
+ msgstr ""
290
+
291
+ #: ../wp-total-hacks.php:285
292
+ msgid "Donate"
293
+ msgstr ""
readme.txt ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === WP Total Hacks ===
2
+ Contributors: miyauchi
3
+ Donate link: http://firegoby.theta.ne.jp/
4
+ Tags: head, post, page, functions.php, admin, logo, auto save, revision, meta box, dashboard
5
+ Requires at least: 3.1
6
+ Tested up to: 3.1
7
+ Stable tag: 0.2.0
8
+
9
+ WP Total Hacks can customize more than 20 settings on your WordPress Site.
10
+
11
+ == Description ==
12
+
13
+ WP Total Hacks can customize more than 20 settings on your WordPress Site.
14
+
15
+ This Plugin published on GitHub.
16
+ https://github.com/miya0001/wp-total-hacks
17
+
18
+ = Some features: =
19
+
20
+ All items you can select to Active or Deactive.
21
+
22
+ * Add a favicon.
23
+ * Change admin header logo.
24
+ * Change admin footer text.
25
+ * Change login logo.
26
+ * Remove selected meta boxes for Posts & Pages.
27
+ * Remove selected dashboard widgets.
28
+ * Remove unnecessary meta tags.
29
+ * Change default email address.
30
+ * Remove Update Notification for all users except Admin User.
31
+ * Delete default contact methods from user profile.
32
+ * Customize limit the number of allowed revisions.
33
+ * Disable auto save.
34
+ * Stop sending pings from your own site to your own site when you write posts.
35
+ * And other!
36
+
37
+ = Translators =
38
+
39
+ * Japanese(ja) - [Takayuki Miyauchi](http://firegoby.theta.ne.jp/)
40
+ * Italian(it_IT) - [Andrea Bersi](http://www.andreabersi.com/)
41
+
42
+ You can send your own language pack to me.
43
+
44
+ Please contact to me.
45
+
46
+ * @miya0001 on twitter.
47
+ * http://www.facebook.com/firegoby
48
+
49
+ = Contributors =
50
+
51
+ * [Takayuki Miyauchi](http://firegoby.theta.ne.jp/)
52
+
53
+
54
+ == Installation ==
55
+
56
+ * A plug-in installation screen is displayed on the WordPress admin panel.
57
+ * It installs it in `wp-content/plugins`.
58
+ * The plug-in is made effective.
59
+ * Open 'Settings' -> 'WP Total Hacks' menu.
60
+
61
+
62
+ == Screenshots ==
63
+
64
+ 1. Site settings
65
+ 2. Posts & Pages
66
+ 3. Appearance in Admin
67
+ 4. Other
68
+
69
+ == Changelog ==
70
+
71
+ = 0.2 =
72
+ * The first release.
73
+
74
+ == Credits ==
75
+
76
+ This plug-in is not guaranteed though the user of WordPress can freely use this plug-in free of charge regardless of the purpose.
77
+ The author must acknowledge the thing that the operation guarantee and the support in this plug-in use are not done at all beforehand.
78
+
79
+ == Contact ==
80
+
81
+ email to miya[at]theta.ne.jp
82
+ twitter @miya0001
screenshot-1.png ADDED
Binary file
screenshot-2.png ADDED
Binary file
screenshot-3.png ADDED
Binary file
screenshot-4.png ADDED
Binary file
wp-total-hacks.php ADDED
@@ -0,0 +1,292 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: WP Total Hacks
4
+ Author: Takayuki Miyauchi
5
+ Plugin URI: http://firegoby.theta.ne.jp/wp/wp-total-hacks
6
+ Description: WP Total Hacks can customize your WordPress.
7
+ Author: Takayuki Miyauchi
8
+ Version: 0.2.0
9
+ Author URI: http://firegoby.theta.ne.jp/
10
+ */
11
+
12
+
13
+ new WPBIZ();
14
+
15
+ class WPBIZ {
16
+
17
+ public function __construct()
18
+ {
19
+ load_plugin_textdomain(
20
+ "wp-total-hacks",
21
+ PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)).'/langs',
22
+ dirname(plugin_basename(__FILE__)).'/langs'
23
+ );
24
+ if (is_admin()) {
25
+ require_once(dirname(__FILE__).'/includes/wpbiz_admin.php');
26
+ new WPBIZ_ADMIN(WP_PLUGIN_URL.'/'.dirname(plugin_basename(__FILE__)));
27
+ }
28
+ if (strlen($this->op('wfb_revision'))) {
29
+ if (!defined('WP_POST_REVISIONS')) {
30
+ define('WP_POST_REVISIONS', $this->op('wfb_revision'));
31
+ }
32
+ }
33
+ add_action('init', array(&$this, 'init'));
34
+ add_action('get_header', array(&$this, 'get_header'));
35
+ add_action('wp_head', array(&$this, 'wp_head'));
36
+ add_action('admin_head', array(&$this, 'admin_head'));
37
+ add_filter('admin_footer_text', array(&$this, 'admin_footer_text'));
38
+ add_action('login_head', array(&$this, 'login_head'));
39
+ add_action('admin_menu' , array(&$this, 'admin_menu'));
40
+ add_filter('login_headerurl', array(&$this, 'login_headerurl'));
41
+ add_filter('login_headertitle', array(&$this, 'login_headertitle'));
42
+ add_action('pre_ping', array(&$this, 'pre_ping'));
43
+ add_action('wp_dashboard_setup',array(&$this, 'wp_dashboard_setup'));
44
+ add_filter('the_content_more_link', array(&$this, 'the_content_more_link'));
45
+ add_action('wp_print_scripts', array(&$this, 'wp_print_scripts'));
46
+ add_filter('wp_mail_from', array(&$this, 'wp_mail_from'));
47
+ add_filter('wp_mail_from_name', array(&$this, 'wp_mail_from_name'));
48
+ add_filter('plugin_row_meta', array(&$this, 'plugin_row_meta'), 10, 2);
49
+ add_filter('user_contactmethods', array(&$this, 'user_contactmethods'));
50
+ add_filter('excerpt_more', array(&$this, 'excerpt_more'));
51
+ }
52
+
53
+ public function excerpt_more($str)
54
+ {
55
+ if ($this->op('wfb_remove_excerpt')) {
56
+ return null;
57
+ }
58
+ return $str;
59
+ }
60
+
61
+ public function user_contactmethods($meth)
62
+ {
63
+ $del = $this->op('wfb_contact_methods');
64
+ if ($del && is_array($del)) {
65
+ foreach ($meth as $m => $s) {
66
+ if (in_array($m, $del)) {
67
+ unset($meth[$m]);
68
+ }
69
+ }
70
+ }
71
+ return $meth;
72
+ }
73
+
74
+ public function wp_mail_from($str)
75
+ {
76
+ if ($this->op('wfb_emailaddress')) {
77
+ if (preg_match("/^wordpress@/i", $str)) {
78
+ return $this->op('wfb_emailaddress');
79
+ }
80
+ }
81
+ return $str;
82
+ }
83
+
84
+ public function wp_mail_from_name($str)
85
+ {
86
+ if ($this->op('wfb_sendername')) {
87
+ if (preg_match("/^wordpress/i", $str)) {
88
+ return $this->op('wfb_sendername');
89
+ }
90
+ }
91
+ return $str;
92
+ }
93
+
94
+ public function init()
95
+ {
96
+ if ($this->op("wfb_pageexcerpt")) {
97
+ add_post_type_support('page', 'excerpt');
98
+ }
99
+ if ($this->op("wfb_pageexcerpt")) {
100
+ add_post_type_support('page', 'excerpt');
101
+ }
102
+ }
103
+
104
+ public function wp_print_scripts()
105
+ {
106
+ if (strlen($this->op('wfb_autosave'))) {
107
+ wp_deregister_script('autosave');
108
+ }
109
+ }
110
+
111
+ public function the_content_more_link($str)
112
+ {
113
+ if ($this->op('wfb_remove_more')) {
114
+ $str = preg_replace('/#more-[\d]+/i', '', $str);
115
+ }
116
+ return $str;
117
+ }
118
+
119
+ public function get_header()
120
+ {
121
+ if ($this->op('wfb_adjacent_posts_rel_links')) {
122
+ if (is_page()) {
123
+ remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0 );
124
+ }
125
+ }
126
+ if ($this->op('wfb_remove_xmlrpc')) {
127
+ if (!$this->op("enable_app") && !$this->op('enable_xmlrpc')) {
128
+ remove_action('wp_head', 'wlwmanifest_link');
129
+ remove_action('wp_head', 'rsd_link');
130
+ }
131
+ }
132
+ if ($this->op('wfb_hide_version')) {
133
+ remove_action('wp_head', 'wp_generator');
134
+ }
135
+ }
136
+
137
+ public function wp_dashboard_setup()
138
+ {
139
+ if ($w = $this->op('wfb_widget')) {
140
+ global $wp_meta_boxes;
141
+ foreach ($wp_meta_boxes['dashboard']['normal']['core'] as $key => $array) {
142
+ if (in_array($key, $w)) {
143
+ unset($wp_meta_boxes['dashboard']['normal']['core'][$key]);
144
+ }
145
+ }
146
+ foreach ($wp_meta_boxes['dashboard']['side']['core'] as $key => $array) {
147
+ if (in_array($key, $w)) {
148
+ unset($wp_meta_boxes['dashboard']['side']['core'][$key]);
149
+ }
150
+ }
151
+ }
152
+ }
153
+
154
+ public function pre_ping(&$links)
155
+ {
156
+ if (!$this->op('wfb_selfping')) {
157
+ return;
158
+ }
159
+ $home = $this->op( 'home' );
160
+ foreach ($links as $l => $link) {
161
+ if (0 === strpos($link, $home)) {
162
+ unset($links[$l]);
163
+ }
164
+ }
165
+ }
166
+
167
+ public function login_headerurl($url)
168
+ {
169
+ if ($op = $this->op('wfb_login_url')) {
170
+ return $op;
171
+ } else {
172
+ return $url;
173
+ }
174
+ }
175
+
176
+ public function login_headertitle($url)
177
+ {
178
+ if ($op = $this->op('wfb_login_title')) {
179
+ return $op;
180
+ } else {
181
+ return $url;
182
+ }
183
+ }
184
+
185
+ public function wp_head()
186
+ {
187
+ if ($this->op("wfb_exclude_loggedin") && is_user_logged_in()) {
188
+ } else {
189
+ echo stripslashes($this->op("wfb_google_analytics"));
190
+ }
191
+ if ($this->op('wfb_favicon')) {
192
+ $link = '<link rel="Shortcut Icon" type="image/x-icon" href="%s" />';
193
+ printf($link, $this->op("wfb_favicon"));
194
+ }
195
+ echo $this->get_meta('google-site-verification', $this->op('wfb_google'));
196
+ echo $this->get_meta('y_key', $this->op('wfb_yahoo'));
197
+ echo $this->get_meta('msvalidate.01', $this->op('wfb_bing'));
198
+ }
199
+
200
+ public function admin_head()
201
+ {
202
+ if (!$this->op("wfb_custom_logo")) {
203
+ return;
204
+ }
205
+ $style = '<style type="text/css">';
206
+ $style .= '#header-logo{background-image: url(%s) !important;}';
207
+ $style .= '</style>';
208
+ printf($style, $this->op("wfb_custom_logo"));
209
+ }
210
+
211
+ private function get_meta($name, $content)
212
+ {
213
+ if ($name && $content) {
214
+ return sprintf(
215
+ '<meta name="%s" content="%s">',
216
+ $name,
217
+ $content
218
+ );
219
+ }
220
+ }
221
+
222
+ public function admin_footer_text($text)
223
+ {
224
+ if ($str = $this->op('wfb_admin_footer_text')) {
225
+ return $str;
226
+ } else {
227
+ return $text;
228
+ }
229
+ }
230
+
231
+ public function login_head()
232
+ {
233
+ if ($this->op("wfb_login_logo")) {
234
+ printf(
235
+ '<style type="text/css">h1 a {background-image: url(%s) !important;}</style>',
236
+ $this->op('wfb_login_logo')
237
+ );
238
+ }
239
+ }
240
+
241
+ public function admin_menu()
242
+ {
243
+ $metas = $this->op('wfb_postmetas');
244
+ if ($metas && is_array($metas)) {
245
+ foreach ($metas as $meta) {
246
+ remove_meta_box($meta, 'post', 'normal');
247
+ }
248
+ }
249
+ $metas = $this->op('wfb_pagemetas');
250
+ if ($metas && is_array($metas)) {
251
+ foreach ($metas as $meta) {
252
+ remove_meta_box($meta, 'page', 'normal');
253
+ }
254
+ }
255
+ if ($this->op('wfb_update_notification')) {
256
+ global $user_login;
257
+ get_currentuserinfo();
258
+ if (!current_user_can('update_plugins')) {
259
+ remove_action('admin_notices', 'update_nag', 3);
260
+ }
261
+ }
262
+ }
263
+
264
+ private function op($key, $default = false)
265
+ {
266
+ $op = get_option($key, $default);
267
+ if (is_array($op)) {
268
+ return $op;
269
+ } else {
270
+ return trim(stripslashes($op));
271
+ }
272
+ }
273
+
274
+ public function plugin_row_meta($links, $file)
275
+ {
276
+ $pname = plugin_basename(__FILE__);
277
+ if ($pname === $file) {
278
+ $link = '<a href="%s">%s</a>';
279
+ $links[] = sprintf(
280
+ $link,
281
+ admin_url('options-general.php?page=wp-biz'),
282
+ __("Settings")
283
+ );
284
+ $url = "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8NDYFAG2ZM9TU";
285
+ $links[] = sprintf($link, $url, __("Donate", "wp-total-hacks"));
286
+ }
287
+ return $links;
288
+ }
289
+
290
+ }
291
+
292
+ ?>