PS Auto Sitemap - Version 1.0.6

Version Description

Download this release

Release Info

Developer jim912
Plugin Icon wp plugin PS Auto Sitemap
Version 1.0.6
Comparing to
See all releases

Version 1.0.6

Files changed (70) hide show
  1. css/ps_auto_sitemap_admin.css +50 -0
  2. css/ps_auto_sitemap_arrows.css +56 -0
  3. css/ps_auto_sitemap_business.css +57 -0
  4. css/ps_auto_sitemap_checker.css +62 -0
  5. css/ps_auto_sitemap_document.css +43 -0
  6. css/ps_auto_sitemap_index.css +73 -0
  7. css/ps_auto_sitemap_label.css +135 -0
  8. css/ps_auto_sitemap_marker.css +58 -0
  9. css/ps_auto_sitemap_music.css +99 -0
  10. css/ps_auto_sitemap_simple.css +38 -0
  11. css/ps_auto_sitemap_simple2.css +39 -0
  12. images/arrows/bg_lv1.png +0 -0
  13. images/arrows/ico_lower_lv.png +0 -0
  14. images/arrows/ico_lv1.png +0 -0
  15. images/arrows/line_dotted_glay.png +0 -0
  16. images/business/ico_lower_lv.png +0 -0
  17. images/business/ico_lv1.png +0 -0
  18. images/business/ico_lv2.png +0 -0
  19. images/business/line_dotted_brown.png +0 -0
  20. images/checker/ico_checker_l.png +0 -0
  21. images/checker/ico_checker_s.png +0 -0
  22. images/document/bg_vertical_line.png +0 -0
  23. images/document/ico_folder.png +0 -0
  24. images/document/ico_post.png +0 -0
  25. images/index/line_dotted_glay.png +0 -0
  26. images/label/home_body.png +0 -0
  27. images/label/home_head.png +0 -0
  28. images/label/lv1_body.png +0 -0
  29. images/label/lv1_head.png +0 -0
  30. images/label/lv2_body.png +0 -0
  31. images/label/lv2_head.png +0 -0
  32. images/label/lv3_body.png +0 -0
  33. images/label/lv3_head.png +0 -0
  34. images/label/lv4_body.png +0 -0
  35. images/label/lv4_head.png +0 -0
  36. images/label/lv5_body.png +0 -0
  37. images/label/lv5_head.png +0 -0
  38. images/label/lv6_body.png +0 -0
  39. images/label/lv6_head.png +0 -0
  40. images/label/lv7_body.png +0 -0
  41. images/label/lv7_head.png +0 -0
  42. images/label/lv8_body.png +0 -0
  43. images/label/lv8_head.png +0 -0
  44. images/marker/bg_marker_green.png +0 -0
  45. images/marker/bg_marker_green_thin.png +0 -0
  46. images/marker/bg_marker_pink.png +0 -0
  47. images/marker/line_pencil.png +0 -0
  48. images/music/bg_li.png +0 -0
  49. images/music/ico_crotchet.png +0 -0
  50. images/music/ico_demiquaver.png +0 -0
  51. images/music/ico_demisemiquaver.png +0 -0
  52. images/music/ico_g_clef.png +0 -0
  53. images/music/ico_minim.png +0 -0
  54. images/music/ico_quaver.png +0 -0
  55. images/music/ico_semibreve.png +0 -0
  56. images/music/ico_turned_crotchet.png +0 -0
  57. images/music/ico_turned_demiquaver.png +0 -0
  58. images/music/ico_turned_minim.png +0 -0
  59. images/music/ico_turned_quaver.png +0 -0
  60. images/simple/ico_gray_arrow.png +0 -0
  61. images/simple/ico_list_square.gif +0 -0
  62. images/simple/line_horizontal_solid.gif +0 -0
  63. images/simple2/ico_level_2.png +0 -0
  64. language/ps_auto_sitemap-ja.mo +0 -0
  65. language/ps_auto_sitemap-ja.po +199 -0
  66. language/ps_auto_sitemap.pot +199 -0
  67. ps_auto_sitemap.php +420 -0
  68. readme.txt +54 -0
  69. screenshot-1.png +0 -0
  70. screenshot-2.jpg +0 -0
css/ps_auto_sitemap_admin.css ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /* CSS Document */
3
+
4
+ .form-table label {
5
+ padding-right: 5px;
6
+ }
7
+
8
+ #ps_sitemap_post_id {
9
+ width: 4em;
10
+ }
11
+
12
+ #ps_sitemap_ex_cat_ids, #ps_sitemap_ex_post_ids {
13
+ width: 25em;
14
+ }
15
+
16
+ .ps_sitemap_submit_buttons {
17
+ padding-top: 20px;
18
+ }
19
+
20
+ .ps_sitemap_installation {
21
+ background-color: #f4f4f4;
22
+ border: dotted 1px #999;
23
+ margin-top: 50px;
24
+ padding: 0 30px 15px;
25
+ }
26
+
27
+ .ps_sitemap_installation h3 {
28
+ margin-bottom: 0.5em;
29
+ }
30
+
31
+ .ps_sitemap_installation ol {
32
+ padding-left: 2em;
33
+ }
34
+
35
+ .ps_sitemap_installation li {
36
+ line-height: 1.6;
37
+ list-style-type: decimal;
38
+ }
39
+
40
+ .ps_sitemap_installation code {
41
+ background-color: #ddd;
42
+ padding: 3px 10px;
43
+ font-size: medium;
44
+ }
45
+
46
+ #ps_sitemap_author {
47
+ font-size: x-small;
48
+ text-align: right;
49
+ margin-top: 10px;
50
+ }
css/ps_auto_sitemap_arrows.css ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /* CSS Document */
3
+
4
+ #sitemap_list {
5
+ background: #fff;
6
+ margin: 0;
7
+ padding: 0;
8
+ }
9
+
10
+ #sitemap_list li.home-item a {
11
+ line-height: 32px;
12
+ }
13
+
14
+ #sitemap_list li {
15
+ background: url(../images/arrows/bg_lv1.png) repeat-x;
16
+ font-size: medium;
17
+ text-indent: 0;
18
+ padding: 0 0 12px 0px;
19
+ margin: 12px 0;
20
+ list-style-type: none;
21
+ border-bottom: solid 1px #8b8b8b;
22
+ }
23
+
24
+ #sitemap_list li a {
25
+ background: url(../images/arrows/ico_lv1.png) no-repeat left center;
26
+ text-decoration: none;
27
+ display: inline-block;
28
+ padding-left: 25px;
29
+ margin-left: 10px;
30
+ line-height: 33px;
31
+ }
32
+
33
+ #sitemap_list li li {
34
+ background: url(../images/arrows/line_dotted_glay.png) repeat-x left bottom;
35
+ font-size: small;
36
+ margin: 0;
37
+ padding: 1px 0 0 7px;
38
+ border: none;
39
+ }
40
+
41
+
42
+ #sitemap_list li li a {
43
+ background: url(../images/arrows/ico_lower_lv.png) no-repeat left center;
44
+ padding-left: 45px;
45
+ line-height: 33px;
46
+ }
47
+
48
+ #sitemap_list li li li {
49
+ background: url(../images/arrows/line_dotted_glay.png) repeat-x left top;
50
+ padding: 1px 0 0 25px;
51
+ }
52
+
53
+ #sitemap_list ul {
54
+ padding: 0;
55
+ margin: 0;
56
+ }
css/ps_auto_sitemap_business.css ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /* CSS Document */
3
+
4
+ #sitemap_list {
5
+ background: #fff;
6
+ margin: 0;
7
+ padding: 0;
8
+ }
9
+
10
+ #sitemap_list li.home-item {
11
+ margin-left: 0px;
12
+ }
13
+
14
+ #sitemap_list li {
15
+ background: url(../images/business/line_dotted_brown.png) repeat-x 0 1.8em;
16
+ font-size: medium;
17
+ text-indent: 0;
18
+ padding: 0 0 12px 0px;
19
+ margin: 12px 0;
20
+ list-style-type: none;
21
+ }
22
+
23
+ #sitemap_list li a {
24
+ color: #666;
25
+ background: url(../images/business/ico_lv1.png) no-repeat left center;
26
+ text-decoration: none;
27
+ display: inline-block;
28
+ padding-left: 25px;
29
+ line-height: 32px;
30
+ }
31
+
32
+ #sitemap_list li li {
33
+ font-size: small;
34
+ background: none;
35
+ margin: 7px 0 0 0;
36
+ padding: 1px 0 0 27px;
37
+ }
38
+
39
+
40
+ #sitemap_list li li a {
41
+ background: url(../images/business/ico_lv2.png) no-repeat left center;
42
+ padding-left: 15px;
43
+ line-height: normal;
44
+ }
45
+
46
+ #sitemap_list li li li {
47
+ padding-left: 15px;
48
+ }
49
+
50
+ #sitemap_list li li li a {
51
+ background: url(../images/business/ico_lower_lv.png) no-repeat left center;
52
+ }
53
+
54
+ #sitemap_list ul {
55
+ padding: 0;
56
+ margin: 0;
57
+ }
css/ps_auto_sitemap_checker.css ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /* CSS Document */
3
+
4
+ #sitemap_list {
5
+ padding: 0;
6
+ margin: 0;
7
+ }
8
+
9
+ #sitemap_list li {
10
+ font-size: medium;
11
+ text-indent: 0;
12
+ padding: 0 0 10px 0;
13
+ margin: 25px 0 0 0;
14
+ list-style-type: none;
15
+ line-height: 1.5;
16
+ }
17
+
18
+ #sitemap_list li li {
19
+ font-size: small;
20
+ margin: 5px 0 0 0;
21
+ padding: 5px 0 0 0;
22
+ border-top: dotted 1px #ccc;
23
+ border-bottom: none;
24
+ }
25
+
26
+ #sitemap_list li li li {
27
+ font-size: 95%;
28
+ margin: 0;
29
+ padding: 1px 0 1px 1em;
30
+ border: none;
31
+ }
32
+
33
+ #sitemap_list li a {
34
+ padding: 1px 0 0 25px;
35
+ text-decoration: none;
36
+ display: inline-block;
37
+ min-height: 14px;
38
+ }
39
+
40
+ #sitemap_list li a:visited {
41
+ color: #999;
42
+ background: url(../images/checker/ico_checker_l.png) no-repeat left center;
43
+ }
44
+
45
+ #sitemap_list li li li a {
46
+ text-decoration: none;
47
+ min-height: 12px;
48
+ }
49
+
50
+ #sitemap_list li li li a:visited {
51
+ background: url(../images/checker/ico_checker_s.png) no-repeat left center;
52
+ }
53
+
54
+ #sitemap_list ul {
55
+ padding: 0;
56
+ margin: 0;
57
+ }
58
+
59
+ #sitemap_list ul ul {
60
+ padding: 0;
61
+ margin: 0;
62
+ }
css/ps_auto_sitemap_document.css ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /* CSS Document */
3
+
4
+ #sitemap_list {
5
+ background: url(../images/document/bg_vertical_line.png) 6px;
6
+ padding: 0;
7
+ margin: 0;
8
+ }
9
+
10
+ #sitemap_list li {
11
+ font-size: medium;
12
+ text-indent: 0;
13
+ padding: 0;
14
+ margin: 0 0 20px;
15
+ list-style-type: none;
16
+ line-height: 1.5;
17
+ }
18
+
19
+ #sitemap_list li li {
20
+ background: none;
21
+ font-size: small;
22
+ margin: 0 0 0 0;
23
+ padding: 0 0 0 30px;
24
+ border-left: none;
25
+ }
26
+
27
+ #sitemap_list li li li {
28
+ font-size: 95%;
29
+ margin: 0;
30
+ }
31
+
32
+ #sitemap_list li a {
33
+ background: url(../images/document/ico_post.png) no-repeat left center;
34
+ padding: 5px 7px 5px 18px;
35
+ text-decoration: none;
36
+ display: block;
37
+ }
38
+
39
+ #sitemap_list ul {
40
+ background: url(../images/document/ico_folder.png) no-repeat 0 0.7em;
41
+ padding: 0;
42
+ margin: 0;
43
+ }
css/ps_auto_sitemap_index.css ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /* CSS Document */
3
+
4
+ #sitemap_list {
5
+ background: #fff;
6
+ margin: 0;
7
+ padding: 5px 10px;
8
+ }
9
+
10
+ #sitemap_list li.home-item {
11
+ background: none;
12
+ font-size: large;
13
+ border-bottom: solid 2px #333;
14
+ padding: 0;
15
+ margin-bottom: 30px;
16
+ }
17
+
18
+ #sitemap_list li.home-item a {
19
+ background: none;
20
+ padding: 0;
21
+ margin: 0;
22
+ border: none;
23
+ }
24
+
25
+ #sitemap_list li {
26
+ font-size: medium;
27
+ text-indent: 0;
28
+ padding: 0 0 12px 0px;
29
+ margin: 10px 25px 0 0;
30
+ list-style-type: none;
31
+ }
32
+
33
+ #sitemap_list li a {
34
+ color: #333;
35
+ font-weight: bold;
36
+ background: #f8f8f8;
37
+ padding: 0 25px;
38
+ line-height: 32px;
39
+ display: block;
40
+ border: solid 1px #333;
41
+ margin-bottom: 15px;
42
+ }
43
+
44
+ #sitemap_list li li {
45
+ background: url(../images/index/line_dotted_glay.png) repeat-x left 0.5em;
46
+ font-size: small;
47
+ margin: 7px 30px 0 0;
48
+ padding: 1px 0 0 0;
49
+ }
50
+
51
+ #sitemap_list li li a {
52
+ background: #fff;
53
+ font-weight: normal;
54
+ padding: 0 25px;
55
+ line-height: normal;
56
+ display: inline-block;
57
+ border: none;
58
+ margin: 0;
59
+ }
60
+
61
+ #sitemap_list li li li {
62
+ margin: 7px 0 0 30px;
63
+ }
64
+
65
+ #sitemap_list li li li li {
66
+ font-style: italic;
67
+ margin-left: 30px;
68
+ }
69
+
70
+ #sitemap_list ul {
71
+ padding: 0;
72
+ margin: 0;
73
+ }
css/ps_auto_sitemap_label.css ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /* CSS Document */
3
+
4
+ #sitemap_list {
5
+ margin: 0;
6
+ padding: 0;
7
+ }
8
+
9
+ #sitemap_list li.home-item {
10
+ background: url(../images/label/home_head.png) no-repeat;
11
+ font-size: large;
12
+ font-weight: bold;
13
+ margin-left: 0px;
14
+ min-height: 43px;
15
+ }
16
+
17
+
18
+ #sitemap_list li.home-item a {
19
+ background: url(../images/label/home_body.png) no-repeat right top;
20
+ padding: 7px 70px 5px 15px;
21
+ min-height: 31px;
22
+ }
23
+
24
+ #sitemap_list li {
25
+ background: url(../images/label/lv1_head.png) no-repeat;
26
+ font-size: medium;
27
+ text-indent: 0;
28
+ padding: 0 0 0 18px;
29
+ margin: 0 0 15px 0;
30
+ line-height: 1.5;
31
+ list-style-type: none;
32
+ }
33
+
34
+ #sitemap_list li a {
35
+ color: #666;
36
+ background: url(../images/label/lv1_body.png) no-repeat right top;
37
+ padding: 8px 50px 5px 20px;
38
+ min-height: 28px;
39
+ text-decoration: none;
40
+ display: inline-block;
41
+ }
42
+
43
+ #sitemap_list li a:visited {
44
+ color: #999;
45
+ }
46
+
47
+ #sitemap_list li li {
48
+ background: url(../images/label/lv2_head.png) no-repeat;
49
+ font-size: small;
50
+ margin: 0 0 0 0;
51
+ min-height: 39px;
52
+ }
53
+
54
+ #sitemap_list li li a {
55
+ background: url(../images/label/lv2_body.png) no-repeat right top;
56
+ min-height: 25px;
57
+ padding: 9px 70px 5px 10px;
58
+ }
59
+
60
+ #sitemap_list li li li {
61
+ background: url(../images/label/lv3_head.png) no-repeat;
62
+ font-size: 98%;
63
+ margin: 0 0 0 0px;
64
+ min-height: 39px;
65
+ }
66
+
67
+ #sitemap_list li li li a {
68
+ background: url(../images/label/lv3_body.png) no-repeat right top;
69
+ min-height: 23px;
70
+ padding: 9px 50px 5px 18px;
71
+ }
72
+
73
+ #sitemap_list li li li li {
74
+ background: url(../images/label/lv4_head.png) no-repeat;
75
+ margin: 0 0 0 0px;
76
+ min-height: 37px;
77
+ }
78
+
79
+ #sitemap_list li li li li a {
80
+ background: url(../images/label/lv4_body.png) no-repeat right top;
81
+ min-height: 23px;
82
+ padding: 8px 35px 5px 15px;
83
+ }
84
+
85
+ #sitemap_list li li li li li {
86
+ background: url(../images/label/lv5_head.png) no-repeat;
87
+ margin: 0 0 0 0px;
88
+ min-height: 35px;
89
+ }
90
+
91
+ #sitemap_list li li li li li a {
92
+ background: url(../images/label/lv5_body.png) no-repeat right top;
93
+ min-height: 22px;
94
+ padding: 7px 35px 5px 12px;
95
+ }
96
+
97
+ #sitemap_list li li li li li li {
98
+ background: url(../images/label/lv6_head.png) no-repeat;
99
+ margin: 0 0 0 0px;
100
+ min-height: 33px;
101
+ }
102
+
103
+ #sitemap_list li li li li li li a {
104
+ background: url(../images/label/lv6_body.png) no-repeat right top;
105
+ min-height: 20px;
106
+ padding: 6px 35px 5px 10px;
107
+ }
108
+
109
+ #sitemap_list li li li li li li li {
110
+ background: url(../images/label/lv7_head.png) no-repeat;
111
+ margin: 0 0 0 0px;
112
+ min-height: 31px;
113
+ }
114
+
115
+ #sitemap_list li li li li li li li a {
116
+ background: url(../images/label/lv7_body.png) no-repeat right top;
117
+ min-height: 20px;
118
+ padding: 5px 35px 5px 10px;
119
+ }
120
+
121
+ #sitemap_list li li li li li li li li {
122
+ background: url(../images/label/lv8_head.png) no-repeat;
123
+ margin: 0 0 0 0px;
124
+ min-height: 29px;
125
+ }
126
+
127
+ #sitemap_list li li li li li li li li a {
128
+ background: url(../images/label/lv8_body.png) no-repeat right top;
129
+ min-height: 17px;
130
+ padding: 5px 30px 5px 10px;
131
+ }
132
+ #sitemap_list ul {
133
+ padding: 0;
134
+ margin: 0;
135
+ }
css/ps_auto_sitemap_marker.css ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /* CSS Document */
3
+
4
+ #sitemap_list {
5
+ padding: 0;
6
+ margin: 0;
7
+ }
8
+
9
+ #sitemap_list li {
10
+ background: url(../images/marker/line_pencil.png) repeat-x left bottom;
11
+ font-size: medium;
12
+ text-indent: 0;
13
+ padding: 0 0 10px 0;
14
+ margin: 10px 0 0 0;
15
+ list-style-type: none;
16
+ line-height: 1.5;
17
+ }
18
+
19
+ #sitemap_list li li {
20
+ background: none;
21
+ font-size: small;
22
+ margin: 5px 0 0 0;
23
+ padding: 5px 0 0 0;
24
+ }
25
+
26
+ #sitemap_list li li li {
27
+ font-size: 95%;
28
+ margin: 0;
29
+ padding: 1px 0 1px 1em;
30
+ }
31
+
32
+ #sitemap_list li a {
33
+ background: url(../images/marker/bg_marker_pink.png) repeat-x left center;
34
+ padding: 1px 7px 0 10px;
35
+ text-decoration: none;
36
+ display: inline-block;
37
+ min-height: 17px;
38
+ }
39
+
40
+ #sitemap_list li li a {
41
+ background: url(../images/marker/bg_marker_green.png) repeat-x left center;
42
+ }
43
+
44
+ #sitemap_list li li li a {
45
+ background: url(../images/marker/bg_marker_green_thin.png) repeat-x left center;
46
+ text-decoration: none;
47
+ min-height: 19px;
48
+ }
49
+
50
+ #sitemap_list ul {
51
+ padding: 0;
52
+ margin: 0;
53
+ }
54
+
55
+ #sitemap_list ul ul {
56
+ padding: 0;
57
+ margin: 0;
58
+ }
css/ps_auto_sitemap_music.css ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /* CSS Document */
3
+
4
+ #sitemap_list {
5
+ background: #fff;
6
+ margin: 0;
7
+ padding: 5px 20px;
8
+ }
9
+
10
+ #sitemap_list li.home-item {
11
+ background: url(../images/music/bg_li.png) repeat-x left center;
12
+ font-size: large;
13
+ font-weight: bold;
14
+ margin-left: 0px;
15
+ min-height: 32px;
16
+ }
17
+
18
+
19
+ #sitemap_list li.home-item a {
20
+ background: url(../images/music/ico_g_clef.png) no-repeat left center;
21
+ line-height: 32px;
22
+ }
23
+
24
+ #sitemap_list li {
25
+ background: url(../images/music/bg_li.png) repeat-x;
26
+ font-size: medium;
27
+ text-indent: 0;
28
+ padding: 0 0 0 0px;
29
+ margin: 24px 0 12px 0;
30
+ line-height: 21px;
31
+ list-style-type: none;
32
+ min-height: 21px;
33
+ }
34
+
35
+ #sitemap_list li a {
36
+ color: #666;
37
+ background: url(../images/music/ico_semibreve.png) no-repeat left center;
38
+ text-decoration: none;
39
+ display: inline-block;
40
+ padding-left: 25px;
41
+ margin-left: 5px;
42
+ }
43
+
44
+ #sitemap_list li li {
45
+ margin: 12px 0 12px 0;
46
+ font-size: small;
47
+ }
48
+
49
+ #sitemap_list li li a {
50
+ background: url(../images/music/ico_minim.png) no-repeat left top;
51
+ margin-left: 20px;
52
+ }
53
+
54
+ #sitemap_list li li li a {
55
+ background: url(../images/music/ico_crotchet.png) no-repeat left bottom;
56
+ margin-left: 40px;
57
+ }
58
+
59
+ #sitemap_list li li li li a {
60
+ background: url(../images/music/ico_quaver.png) no-repeat left top;
61
+ margin-left: 60px;
62
+ }
63
+
64
+ #sitemap_list li li li li li a {
65
+ background: url(../images/music/ico_demiquaver.png) no-repeat left center;
66
+ margin-left: 80px;
67
+ }
68
+
69
+
70
+ #sitemap_list li li li li li li a {
71
+ background: url(../images/music/ico_demisemiquaver.png) no-repeat left top;
72
+ margin-left: 100px;
73
+ line-height: 24px;
74
+ }
75
+
76
+ #sitemap_list li li li li li li li a {
77
+ background: url(../images/music/ico_turned_minim.png) no-repeat left bottom;
78
+ margin-left: 120px;
79
+ }
80
+
81
+ #sitemap_list li li li li li li li li a {
82
+ background: url(../images/music/ico_turned_crotchet.png) no-repeat left top;
83
+ margin-left: 140px;
84
+ }
85
+
86
+ #sitemap_list li li li li li li li li li a {
87
+ background: url(../images/music/ico_turned_quaver.png) no-repeat left top;
88
+ margin-left: 160px;
89
+ }
90
+
91
+ #sitemap_list li li li li li li li li li li a {
92
+ background: url(../images/music/ico_turned_demiquaver.png) no-repeat left bottom;
93
+ margin-left: 180px;
94
+ }
95
+
96
+ #sitemap_list ul {
97
+ padding: 0;
98
+ margin: 0;
99
+ }
css/ps_auto_sitemap_simple.css ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /* CSS Document */
3
+
4
+ #sitemap_list {
5
+ margin: 0;
6
+ padding: 0;
7
+ line-height: 1.5;
8
+ }
9
+
10
+ #sitemap_list a {
11
+ text-decoration: none;
12
+ }
13
+
14
+ #sitemap_list li {
15
+ font-size: medium;
16
+ text-indent: 0;
17
+ background: url(../images/simple/line_horizontal_solid.gif) repeat-x 0 1.5em;
18
+ padding: 0 0 20px 5px;
19
+ margin: 0;
20
+ list-style-type: none;
21
+ }
22
+
23
+ #sitemap_list li ul {
24
+ margin: 0;
25
+ padding: 5px 0 0 0;
26
+ }
27
+
28
+ #sitemap_list li li {
29
+ font-size: small;
30
+ font-weight: normal;
31
+ background: url(../images/simple/ico_list_square.gif) no-repeat 0 0.5em;
32
+ margin: 0 0 3px 15px;
33
+ padding: 0 0 0 15px;
34
+ }
35
+
36
+ #sitemap_list li li li {
37
+ background: url(../images/simple/ico_gray_arrow.png) no-repeat 0 0.5em;
38
+ }
css/ps_auto_sitemap_simple2.css ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @charset "utf-8";
2
+ /* CSS Document */
3
+
4
+ #sitemap_list {
5
+ margin: 0;
6
+ padding: 0;
7
+ }
8
+
9
+ #sitemap_list li {
10
+ padding: 0;
11
+ margin: 1.5em 0;
12
+ list-style-type: none;
13
+ }
14
+
15
+ #sitemap_list li ul {
16
+ margin: 1.5em 0 0 0;
17
+ padding: 0;
18
+ }
19
+
20
+ #sitemap_list li li {
21
+ background: url(../images/simple2/ico_level_2.png) no-repeat 0 0.5em;
22
+ margin: 0.7em 0 0.7em 30px;
23
+ padding: 0 0 0 25px;
24
+ }
25
+
26
+ #sitemap_list li a {
27
+ background-color: #faf8f2;
28
+ text-indent: 0;
29
+ display: block;
30
+ padding: 3px 5px 2px;
31
+ border: solid 1px #cacaca;
32
+ }
33
+
34
+ #sitemap_list li li a {
35
+ background: none;
36
+ display: inline;
37
+ padding: 0;
38
+ border: none;
39
+ }
images/arrows/bg_lv1.png ADDED
Binary file
images/arrows/ico_lower_lv.png ADDED
Binary file
images/arrows/ico_lv1.png ADDED
Binary file
images/arrows/line_dotted_glay.png ADDED
Binary file
images/business/ico_lower_lv.png ADDED
Binary file
images/business/ico_lv1.png ADDED
Binary file
images/business/ico_lv2.png ADDED
Binary file
images/business/line_dotted_brown.png ADDED
Binary file
images/checker/ico_checker_l.png ADDED
Binary file
images/checker/ico_checker_s.png ADDED
Binary file
images/document/bg_vertical_line.png ADDED
Binary file
images/document/ico_folder.png ADDED
Binary file
images/document/ico_post.png ADDED
Binary file
images/index/line_dotted_glay.png ADDED
Binary file
images/label/home_body.png ADDED
Binary file
images/label/home_head.png ADDED
Binary file
images/label/lv1_body.png ADDED
Binary file
images/label/lv1_head.png ADDED
Binary file
images/label/lv2_body.png ADDED
Binary file
images/label/lv2_head.png ADDED
Binary file
images/label/lv3_body.png ADDED
Binary file
images/label/lv3_head.png ADDED
Binary file
images/label/lv4_body.png ADDED
Binary file
images/label/lv4_head.png ADDED
Binary file
images/label/lv5_body.png ADDED
Binary file
images/label/lv5_head.png ADDED
Binary file
images/label/lv6_body.png ADDED
Binary file
images/label/lv6_head.png ADDED
Binary file
images/label/lv7_body.png ADDED
Binary file
images/label/lv7_head.png ADDED
Binary file
images/label/lv8_body.png ADDED
Binary file
images/label/lv8_head.png ADDED
Binary file
images/marker/bg_marker_green.png ADDED
Binary file
images/marker/bg_marker_green_thin.png ADDED
Binary file
images/marker/bg_marker_pink.png ADDED
Binary file
images/marker/line_pencil.png ADDED
Binary file
images/music/bg_li.png ADDED
Binary file
images/music/ico_crotchet.png ADDED
Binary file
images/music/ico_demiquaver.png ADDED
Binary file
images/music/ico_demisemiquaver.png ADDED
Binary file
images/music/ico_g_clef.png ADDED
Binary file
images/music/ico_minim.png ADDED
Binary file
images/music/ico_quaver.png ADDED
Binary file
images/music/ico_semibreve.png ADDED
Binary file
images/music/ico_turned_crotchet.png ADDED
Binary file
images/music/ico_turned_demiquaver.png ADDED
Binary file
images/music/ico_turned_minim.png ADDED
Binary file
images/music/ico_turned_quaver.png ADDED
Binary file
images/simple/ico_gray_arrow.png ADDED
Binary file
images/simple/ico_list_square.gif ADDED
Binary file
images/simple/line_horizontal_solid.gif ADDED
Binary file
images/simple2/ico_level_2.png ADDED
Binary file
language/ps_auto_sitemap-ja.mo ADDED
Binary file
language/ps_auto_sitemap-ja.po ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: PS Auto Sitemap\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2008-12-26 14:24+0900\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: hitoshi omagari\n"
8
+ "Language-Team: Prime Strategy Co.,Ltd. <system@prime-strategy.co.jp>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: Japanese\n"
13
+ "X-Poedit-Country: JAPAN\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-Basepath: R:\\wp_test\\DocumentRoot\\wp-content\\plugins\\\n"
17
+ "X-Poedit-SearchPath-0: ps_auto_sitemap\n"
18
+
19
+ #: ps_auto_sitemap.php:16
20
+ msgid "Simple"
21
+ msgstr "シンプル"
22
+
23
+ #: ps_auto_sitemap.php:17
24
+ msgid "Simple2"
25
+ msgstr "シンプル2"
26
+
27
+ #: ps_auto_sitemap.php:18
28
+ msgid "Checker"
29
+ msgstr "チェックリスト"
30
+
31
+ #: ps_auto_sitemap.php:19
32
+ msgid "Fluorescent marker"
33
+ msgstr "蛍光ペン"
34
+
35
+ #: ps_auto_sitemap.php:20
36
+ msgid "Document tree"
37
+ msgstr "ドキュメントツリー"
38
+
39
+ #: ps_auto_sitemap.php:21
40
+ msgid "Label"
41
+ msgstr "付箋"
42
+
43
+ #: ps_auto_sitemap.php:22
44
+ msgid "Music"
45
+ msgstr "音譜"
46
+
47
+ #: ps_auto_sitemap.php:23
48
+ msgid "Arrows"
49
+ msgstr "矢印"
50
+
51
+ #: ps_auto_sitemap.php:24
52
+ msgid "Business"
53
+ msgstr "ビジネス"
54
+
55
+ #: ps_auto_sitemap.php:25
56
+ msgid "Index"
57
+ msgstr "索引"
58
+
59
+ #: ps_auto_sitemap/ps_auto_sitemap.php:259
60
+ msgid "The settings of PS Auto Sitemap has changed successfully."
61
+ msgstr "PS Auto Sitemap の設定を変更いたしました。"
62
+
63
+ #: ps_auto_sitemap/ps_auto_sitemap.php:263
64
+ msgid "The settings has not been changed. There were no changes or failed to update the data base."
65
+ msgstr "設定は変更されていません。変更がなかったか、データベースのアップデートに失敗いたしました。"
66
+
67
+ #: ps_auto_sitemap/ps_auto_sitemap.php:270
68
+ msgid "Display post tree"
69
+ msgstr "投稿リストの出力"
70
+
71
+ #: ps_auto_sitemap/ps_auto_sitemap.php:271
72
+ #: ps_auto_sitemap/ps_auto_sitemap.php:275
73
+ msgid "Display"
74
+ msgstr "出力する"
75
+
76
+ #: ps_auto_sitemap/ps_auto_sitemap.php:274
77
+ msgid "Display page tree"
78
+ msgstr "ページリストの出力"
79
+
80
+ #: ps_auto_sitemap/ps_auto_sitemap.php:278
81
+ msgid "PostID of the sitemap"
82
+ msgstr "サイトマップを表示する記事"
83
+
84
+ #: ps_auto_sitemap/ps_auto_sitemap.php:280
85
+ msgid "* Please input display sitemap post's ID."
86
+ msgstr "* サイトマップを表示する記事のIDを入力してください。"
87
+
88
+ #: ps_auto_sitemap/ps_auto_sitemap.php:284
89
+ msgid "Depth level"
90
+ msgstr "出力階層制限"
91
+
92
+ #: ps_auto_sitemap/ps_auto_sitemap.php:287
93
+ msgid "no limit"
94
+ msgstr "制限なし"
95
+
96
+ #: ps_auto_sitemap/ps_auto_sitemap.php:288
97
+ msgid "level 1"
98
+ msgstr "第1階層"
99
+
100
+ #: ps_auto_sitemap/ps_auto_sitemap.php:289
101
+ msgid "level 2"
102
+ msgstr "第2階層"
103
+
104
+ #: ps_auto_sitemap/ps_auto_sitemap.php:290
105
+ msgid "level 3"
106
+ msgstr "第3階層"
107
+
108
+ #: ps_auto_sitemap/ps_auto_sitemap.php:291
109
+ msgid "level 4"
110
+ msgstr "第4階層"
111
+
112
+ #: ps_auto_sitemap/ps_auto_sitemap.php:292
113
+ msgid "level 5"
114
+ msgstr "第5階層"
115
+
116
+ #: ps_auto_sitemap/ps_auto_sitemap.php:293
117
+ msgid "level 6"
118
+ msgstr "第6階層"
119
+
120
+ #: ps_auto_sitemap/ps_auto_sitemap.php:294
121
+ msgid "level 7"
122
+ msgstr "第7階層"
123
+
124
+ #: ps_auto_sitemap/ps_auto_sitemap.php:295
125
+ msgid "level 8"
126
+ msgstr "第8階層"
127
+
128
+ #: ps_auto_sitemap/ps_auto_sitemap.php:296
129
+ msgid "level 9"
130
+ msgstr "第9階層"
131
+
132
+ #: ps_auto_sitemap/ps_auto_sitemap.php:297
133
+ msgid "level 10"
134
+ msgstr "第10階層"
135
+
136
+ #: ps_auto_sitemap/ps_auto_sitemap.php:302
137
+ msgid "Display first"
138
+ msgstr "先に出力するリスト"
139
+
140
+ #: ps_auto_sitemap/ps_auto_sitemap.php:305
141
+ msgid "Post"
142
+ msgstr "投稿"
143
+
144
+ #: ps_auto_sitemap/ps_auto_sitemap.php:307
145
+ msgid "Page"
146
+ msgstr "ページ"
147
+
148
+ #: ps_auto_sitemap/ps_auto_sitemap.php:311
149
+ msgid "Excluded categories"
150
+ msgstr "除外カテゴリ"
151
+
152
+ #: ps_auto_sitemap/ps_auto_sitemap.php:313
153
+ msgid "* Please input category ID of exclude categories. (Separated by comma)"
154
+ msgstr "* 出力しないカテゴリのIDを入力してください。(複数の場合はカンマ区切り)"
155
+
156
+ #: ps_auto_sitemap/ps_auto_sitemap.php:317
157
+ msgid "Exclude posts"
158
+ msgstr "除外記事"
159
+
160
+ #: ps_auto_sitemap/ps_auto_sitemap.php:319
161
+ msgid "* Please input post ID of exclude posts. (Separated by comma)"
162
+ msgstr "* 出力しない記事のIDを入力してください。(複数の場合はカンマ区切り)"
163
+
164
+ #: ps_auto_sitemap/ps_auto_sitemap.php:323
165
+ msgid "Select style"
166
+ msgstr "スタイルの変更"
167
+
168
+ #: ps_auto_sitemap/ps_auto_sitemap.php:326
169
+ msgid "no style"
170
+ msgstr "スタイルなし"
171
+
172
+ #: ps_auto_sitemap/ps_auto_sitemap.php:334
173
+ msgid "Hide developper link"
174
+ msgstr "制作者リンクの表示"
175
+
176
+ #: ps_auto_sitemap/ps_auto_sitemap.php:335
177
+ msgid "Hide"
178
+ msgstr "非表示"
179
+
180
+ #: ps_auto_sitemap/ps_auto_sitemap.php:339
181
+ msgid "Save Changes"
182
+ msgstr "変更の保存"
183
+
184
+ #: ps_auto_sitemap/ps_auto_sitemap.php:343
185
+ msgid "Usage"
186
+ msgstr "ご利用方法"
187
+
188
+ #: ps_auto_sitemap/ps_auto_sitemap.php:345
189
+ msgid "Post a page that will use as the sitemap page."
190
+ msgstr "サイトマップを表示させたい記事を作成します。"
191
+
192
+ #: ps_auto_sitemap/ps_auto_sitemap.php:346
193
+ msgid "Insert following code in the content area. (<strong>Use HTML mode</strong>)"
194
+ msgstr "作成した記事のcontent部分に、<strong>HTMLモードで</strong>以下のコードを入力します。"
195
+
196
+ #: ps_auto_sitemap/ps_auto_sitemap.php:348
197
+ msgid "Define the sitemap's ID at \"<strong>PostID of the sitemap</strong>\" field of the setings."
198
+ msgstr "記事編集画面で記事ID(アドレスバーの &amp;post=nn )を確認し、『サイトマップを表示する記事』欄に指定します。"
199
+
language/ps_auto_sitemap.pot ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: PS Auto Sitemap\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: \n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=\n"
11
+ "Content-Transfer-Encoding: \n"
12
+ "X-Poedit-Language: \n"
13
+ "X-Poedit-Country: \n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+ "X-Poedit-KeywordsList: __;_e\n"
16
+ "X-Poedit-Basepath: \n"
17
+ "X-Poedit-SearchPath-0: \n"
18
+
19
+ #: ps_auto_sitemap.php:16
20
+ msgid "Simple"
21
+ msgstr ""
22
+
23
+ #: ps_auto_sitemap.php:17
24
+ msgid "Simple2"
25
+ msgstr ""
26
+
27
+ #: ps_auto_sitemap.php:18
28
+ msgid "Checker"
29
+ msgstr ""
30
+
31
+ #: ps_auto_sitemap.php:19
32
+ msgid "Fluorescent marker"
33
+ msgstr ""
34
+
35
+ #: ps_auto_sitemap.php:20
36
+ msgid "Document tree"
37
+ msgstr ""
38
+
39
+ #: ps_auto_sitemap.php:21
40
+ msgid "Label"
41
+ msgstr ""
42
+
43
+ #: ps_auto_sitemap.php:22
44
+ msgid "Music"
45
+ msgstr ""
46
+
47
+ #: ps_auto_sitemap.php:23
48
+ msgid "Arrows"
49
+ msgstr ""
50
+
51
+ #: ps_auto_sitemap.php:24
52
+ msgid "Business"
53
+ msgstr ""
54
+
55
+ #: ps_auto_sitemap.php:25
56
+ msgid "Index"
57
+ msgstr ""
58
+
59
+ #: ps_auto_sitemap/ps_auto_sitemap.php:259
60
+ msgid "The settings of PS Auto Sitemap has changed successfully."
61
+ msgstr ""
62
+
63
+ #: ps_auto_sitemap/ps_auto_sitemap.php:263
64
+ msgid "The settings has not been changed. There were no changes or failed to update the data base."
65
+ msgstr ""
66
+
67
+ #: ps_auto_sitemap/ps_auto_sitemap.php:270
68
+ msgid "Display post tree"
69
+ msgstr ""
70
+
71
+ #: ps_auto_sitemap/ps_auto_sitemap.php:271
72
+ #: ps_auto_sitemap/ps_auto_sitemap.php:275
73
+ msgid "Display"
74
+ msgstr ""
75
+
76
+ #: ps_auto_sitemap/ps_auto_sitemap.php:274
77
+ msgid "Display page tree"
78
+ msgstr ""
79
+
80
+ #: ps_auto_sitemap/ps_auto_sitemap.php:278
81
+ msgid "PostID of the sitemap"
82
+ msgstr ""
83
+
84
+ #: ps_auto_sitemap/ps_auto_sitemap.php:280
85
+ msgid "* Please input display sitemap post's ID."
86
+ msgstr ""
87
+
88
+ #: ps_auto_sitemap/ps_auto_sitemap.php:284
89
+ msgid "Depth level"
90
+ msgstr ""
91
+
92
+ #: ps_auto_sitemap/ps_auto_sitemap.php:287
93
+ msgid "no limit"
94
+ msgstr ""
95
+
96
+ #: ps_auto_sitemap/ps_auto_sitemap.php:288
97
+ msgid "level 1"
98
+ msgstr ""
99
+
100
+ #: ps_auto_sitemap/ps_auto_sitemap.php:289
101
+ msgid "level 2"
102
+ msgstr ""
103
+
104
+ #: ps_auto_sitemap/ps_auto_sitemap.php:290
105
+ msgid "level 3"
106
+ msgstr ""
107
+
108
+ #: ps_auto_sitemap/ps_auto_sitemap.php:291
109
+ msgid "level 4"
110
+ msgstr ""
111
+
112
+ #: ps_auto_sitemap/ps_auto_sitemap.php:292
113
+ msgid "level 5"
114
+ msgstr ""
115
+
116
+ #: ps_auto_sitemap/ps_auto_sitemap.php:293
117
+ msgid "level 6"
118
+ msgstr ""
119
+
120
+ #: ps_auto_sitemap/ps_auto_sitemap.php:294
121
+ msgid "level 7"
122
+ msgstr ""
123
+
124
+ #: ps_auto_sitemap/ps_auto_sitemap.php:295
125
+ msgid "level 8"
126
+ msgstr ""
127
+
128
+ #: ps_auto_sitemap/ps_auto_sitemap.php:296
129
+ msgid "level 9"
130
+ msgstr ""
131
+
132
+ #: ps_auto_sitemap/ps_auto_sitemap.php:297
133
+ msgid "level 10"
134
+ msgstr ""
135
+
136
+ #: ps_auto_sitemap/ps_auto_sitemap.php:302
137
+ msgid "Display first"
138
+ msgstr ""
139
+
140
+ #: ps_auto_sitemap/ps_auto_sitemap.php:305
141
+ msgid "Post"
142
+ msgstr ""
143
+
144
+ #: ps_auto_sitemap/ps_auto_sitemap.php:307
145
+ msgid "Page"
146
+ msgstr ""
147
+
148
+ #: ps_auto_sitemap/ps_auto_sitemap.php:311
149
+ msgid "Excluded categories"
150
+ msgstr ""
151
+
152
+ #: ps_auto_sitemap/ps_auto_sitemap.php:313
153
+ msgid "* Please input category ID of exclude categories. (Separated by comma)"
154
+ msgstr ""
155
+
156
+ #: ps_auto_sitemap/ps_auto_sitemap.php:317
157
+ msgid "Exclude posts"
158
+ msgstr ""
159
+
160
+ #: ps_auto_sitemap/ps_auto_sitemap.php:319
161
+ msgid "* Please input post ID of exclude posts. (Separated by comma)"
162
+ msgstr ""
163
+
164
+ #: ps_auto_sitemap/ps_auto_sitemap.php:323
165
+ msgid "Select style"
166
+ msgstr ""
167
+
168
+ #: ps_auto_sitemap/ps_auto_sitemap.php:326
169
+ msgid "no style"
170
+ msgstr ""
171
+
172
+ #: ps_auto_sitemap/ps_auto_sitemap.php:334
173
+ msgid "Hide developper link"
174
+ msgstr ""
175
+
176
+ #: ps_auto_sitemap/ps_auto_sitemap.php:335
177
+ msgid "Hide"
178
+ msgstr ""
179
+
180
+ #: ps_auto_sitemap/ps_auto_sitemap.php:339
181
+ msgid "Save Changes"
182
+ msgstr ""
183
+
184
+ #: ps_auto_sitemap/ps_auto_sitemap.php:343
185
+ msgid "Usage"
186
+ msgstr ""
187
+
188
+ #: ps_auto_sitemap/ps_auto_sitemap.php:345
189
+ msgid "Post a page that will use as the sitemap page."
190
+ msgstr ""
191
+
192
+ #: ps_auto_sitemap/ps_auto_sitemap.php:346
193
+ msgid "Insert following code in the content area. (<strong>Use HTML mode</strong>)"
194
+ msgstr ""
195
+
196
+ #: ps_auto_sitemap/ps_auto_sitemap.php:348
197
+ msgid "Define the sitemap's ID at \"<strong>PostID of the sitemap</strong>\" field of the setings."
198
+ msgstr ""
199
+
ps_auto_sitemap.php ADDED
@@ -0,0 +1,420 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: PS Auto Sitemap
4
+ Plugin URI: http://www.web-strategy.jp/wp_plugin/ps_auto_sitemap/
5
+ Description: Auto generator of a customizable and designed sitemap page.
6
+ Author: Hitoshi Omagari
7
+ Version: 1.0.6
8
+ Author URI: http://www.web-strategy.jp/
9
+ */
10
+
11
+ $ps_auto_sitemap =& new ps_auto_sitemap();
12
+
13
+ class ps_auto_sitemap {
14
+
15
+ var $sitemap_prepared_styles = array(
16
+ 'simple' => 'Simple',
17
+ 'simple2' => 'Simple2',
18
+ 'checker' => 'Checker',
19
+ 'marker' => 'Fluorescent marker',
20
+ 'document' => 'Document tree',
21
+ 'label' => 'Label',
22
+ 'music' => 'Music',
23
+ 'arrows' => 'Arrows',
24
+ 'business' => 'Business',
25
+ 'index' => 'Index'
26
+ );
27
+
28
+
29
+ function ps_auto_sitemap() {
30
+ $this->__construct();
31
+ }
32
+
33
+
34
+ function __construct() {
35
+ global $wp_version;
36
+ $this->wp_version = $wp_version;
37
+ add_filter( 'the_content', array( &$this, 'replace_sitemap_content') );
38
+ add_action( 'admin_menu', array( &$this, 'add_sitemap_setting_menu') );
39
+ add_action( 'wp_head', array( &$this, 'print_sitemap_prepare_css' ) );
40
+ if ( version_compare( $wp_version, '2.6', '>=' ) ) {
41
+ add_action( 'admin_print_styles', array( &$this, 'print_sitemap_admin_css' ) );
42
+ } else {
43
+ add_action( 'admin_head', array( &$this, 'print_sitemap_admin_css' ) );
44
+ }
45
+ }
46
+
47
+
48
+ function replace_sitemap_content( $content ) {
49
+ global $post;
50
+
51
+ $branches = array();
52
+ $sitemap_option_data = get_option( 'ps_sitemap' );
53
+
54
+ if ( $sitemap_option_data['post_tree'] == '1' ) {
55
+ $category_tree = $this->make_category_tree( $sitemap_option_data['ex_cat_ids'] );
56
+ $post_list = $this->make_post_list( $sitemap_option_data['ex_post_ids'], $category_tree, $sitemap_option_data['disp_level'], 1, false );
57
+ } else {
58
+ $post_list = '';
59
+ }
60
+
61
+ if ( $sitemap_option_data['post_id'] && $post->ID == $sitemap_option_data['post_id'] ) {
62
+ $page_on_front = get_option( 'page_on_front' );
63
+ $ex_pages = $sitemap_option_data['ex_post_ids'];
64
+ if ( get_option( 'show_on_front') == 'page' && $page_on_front ) {
65
+ if ( $ex_pages ) {
66
+ $ex_pages .= ',' . $page_on_front;
67
+ } else {
68
+ $ex_pages = $page_on_front;
69
+ }
70
+ }
71
+ $sitemap_content = "<ul id=\"sitemap_list\" class=\"sitemap_disp_level_" . $sitemap_option_data['disp_level'] . "\">\n";
72
+ $sitemap_content .= '<li class="home-item"><a href="' . get_bloginfo( 'url' ) . '" title="' . get_bloginfo( 'name' ) . '">' . wp_specialchars( get_bloginfo( 'name' ) ) . "</a></li>\n";
73
+ if ( $sitemap_option_data['disp_first'] == 'post' ) {
74
+ $sitemap_content .= $post_list;
75
+ if ( $sitemap_option_data['page_tree'] == '1' ) {
76
+ $sitemap_content .= wp_list_pages( 'title_li=&echo=0&exclude=' . $ex_pages . '&depth=' . $sitemap_option_data['disp_level'] );
77
+ }
78
+ } else {
79
+ if ( $sitemap_option_data['page_tree'] == '1' ) {
80
+ $sitemap_content .= wp_list_pages( 'title_li=&echo=0&exclude=' . $ex_pages . '&depth=' . $sitemap_option_data['disp_level'] );
81
+ }
82
+ $sitemap_content .= $post_list;
83
+ }
84
+
85
+ $sitemap_content .= "</ul>\n";
86
+ if ( ! $sitemap_option_data['suppress_link'] ) {
87
+ $sitemap_content .= '<address style="text-align: right; font-size: x-small;">Powered by <a href="http://www.web-strategy.jp/" target="_blank">Prime Strategy Co.,LTD.</a></address>' . "\n";
88
+ }
89
+ $content = preg_replace( '/(<p><!-- SITEMAP CONTENT REPLACE POINT --><\/p>|<!-- SITEMAP CONTENT REPLACE POINT -->)/', $sitemap_content, $content, 1 );
90
+ }
91
+ return $content;
92
+ }
93
+
94
+
95
+ function make_category_tree( $ex_cat_ids ) {
96
+ $categories = get_categories( 'exclude=' . $ex_cat_ids );
97
+
98
+ foreach( $categories as $cat ) {
99
+ if ( $cat->category_parent == 0 ) {
100
+ $category_tree[$cat->term_id] = array();
101
+ } else {
102
+ $branches[$cat->category_parent][$cat->term_id] = array();
103
+ }
104
+ }
105
+
106
+ if ( count( $branches ) ) {
107
+ foreach( $branches as $foundation => $branch ) {
108
+ foreach( $branches as $key => $val ) {
109
+ if ( array_key_exists( $foundation, $val ) ) {
110
+ $branches[$key][$foundation] = &$branches[$foundation];
111
+ break 1;
112
+ }
113
+ }
114
+ }
115
+
116
+ foreach ( $branches as $foundation => $branch ) {
117
+ if ( isset( $category_tree[$foundation] ) ) {
118
+ $category_tree[$foundation] = $branch;
119
+ }
120
+ }
121
+ }
122
+ return $category_tree;
123
+ }
124
+
125
+
126
+ function make_post_list( $ex_post_ids, $category_tree, $depth, $cur_depth = 1 , $child = true ) {
127
+ if ( ! is_array( $category_tree ) ) { return; }
128
+
129
+ $ps_sitemap_query = new WP_query();
130
+
131
+ if ( $child ) {
132
+ $post_list = "\n<ul>\n";
133
+ } else {
134
+ $post_list = '';
135
+ }
136
+
137
+ foreach( $category_tree as $cat_id => $category ) {
138
+ $post_list .= '<li class="cat-item cat-item-' . $cat_id . '"><a href="' . get_category_link( $cat_id ). '" title="' . get_the_category_by_ID( $cat_id ) . '">' . wp_specialchars( get_the_category_by_ID( $cat_id ) ) . '</a>';
139
+
140
+ $query = array(
141
+ 'showposts' => '-1',
142
+ 'category__in' => array( $cat_id ),
143
+ 'post__not_in' => explode( ',', $ex_post_ids )
144
+ );
145
+ if ( ! $depth || $depth > $cur_depth ) {
146
+ $category_posts = $ps_sitemap_query->query( $query );
147
+ if ( $category_posts ) {
148
+ $post_list .= "\n<ul>\n";
149
+ foreach( $category_posts as $post ) {
150
+ $post_list .= "\t" . '<li class="post-item post-item-' . $post->ID . '"><a href="' . get_permalink( $post->ID ) . '" title="' . $post->post_title . '">' . wp_specialchars( $post->post_title ) . "</a></li>\n";
151
+ }
152
+ if ( ! count( $category ) ) {
153
+ $post_list .= "</ul>\n";
154
+ }
155
+ }
156
+ }
157
+ if ( count( $category ) && ( ! $depth || $depth > $cur_depth ) ) {
158
+ $post_list .= $this->make_post_list( $ex_post_ids, $category, $depth, $cur_depth + 1, ! $category_posts );
159
+ if ( $category_posts ) {
160
+ $post_list .= "</ul>\n";
161
+ }
162
+ }
163
+ $post_list .= "</li>\n";
164
+ }
165
+ if ( $child ) {
166
+ $post_list .= "</ul>\n";
167
+ }
168
+ unset( $ps_sitemap_query );
169
+ return $post_list;
170
+ }
171
+
172
+
173
+ function add_sitemap_setting_menu() {
174
+ if ( function_exists( 'add_options_page' ) ) {
175
+ add_options_page( 'PS Sitemap output setting',
176
+ 'PS Auto Sitemap',
177
+ 8,
178
+ basename(__FILE__),
179
+ array( &$this, 'sitemap_setting') );
180
+ }
181
+ }
182
+
183
+
184
+ function sitemap_setting() {
185
+ global $wp_version;
186
+
187
+ $user_locale = get_locale();
188
+ $lang_file = dirname( __file__) . '/language/ps_auto_sitemap-' . $user_locale . '.mo';
189
+
190
+ if ( file_exists( $lang_file ) ) {
191
+ load_textdomain( 'ps_auto_sitemap', $lang_file );
192
+ }
193
+ $sitemap_option_data = get_option( 'ps_sitemap' );
194
+ if ( ! $sitemap_option_data ) {
195
+ $this->set_default_options();
196
+ $sitemap_option_data = get_option( 'ps_sitemap' );
197
+ }
198
+
199
+ if( $_POST['_wpnonce'] ) {
200
+ check_admin_referer();
201
+ $sitemap_option_keys = array( 'post_tree', 'page_tree', 'post_id', 'disp_level', 'disp_first', 'ex_cat_ids', 'ex_post_ids', 'prepared_style', 'suppress_link' );
202
+
203
+ foreach ( $sitemap_option_keys as $key ) {
204
+ switch ( $key ) {
205
+ case 'post_tree' :
206
+ case 'page_tree' :
207
+ case 'suppress_link' :
208
+ if ( ! $_POST['ps_sitemap_' . $key] ) {
209
+ $_POST['ps_sitemap_' . $key] = '';
210
+ } else {
211
+ $this->validate_bool( $_POST['ps_sitemap_' . $key] );
212
+ }
213
+ break;
214
+ case 'post_id' :
215
+ if ( $_POST['ps_sitemap_' . $key] != '' ) {
216
+ if ( function_exists( 'mb_convert_kana' ) ) {
217
+ $_POST['ps_sitemap_' . $key] = mb_convert_kana( $_POST['ps_sitemap_' . $key], 'as', 'UTF-8' );
218
+ }
219
+ $_POST['ps_sitemap_' . $key] = preg_replace( '/[^\d]/', '', $_POST['ps_sitemap_' . $key] );
220
+ $this->validate_positive_int( $_POST['ps_sitemap_' . $key] );
221
+ }
222
+ break;
223
+ case 'disp_level' :
224
+ $_POST['ps_sitemap_' . $key] = preg_replace( '/[^\d]/', '', $_POST['ps_sitemap_' . $key] );
225
+ if ( $_POST['ps_sitemap_' . $key] !== '0' ) {
226
+ $this->validate_positive_int( $_POST['ps_sitemap_' . $key] );
227
+ }
228
+ break;
229
+ case 'disp_first' :
230
+ if ( ! in_array( $_POST['ps_sitemap_' . $key], array( 'post', 'page' ) ) ) {
231
+ wp_die( 'unvalid post data exist.' );
232
+ }
233
+ break;
234
+ case 'ex_cat_ids' :
235
+ case 'ex_post_ids' :
236
+ if ( $_POST['ps_sitemap_' . $key] != '' ) {
237
+ if ( function_exists( 'mb_convert_kana' ) ) {
238
+ $_POST['ps_sitemap_' . $key] = mb_convert_kana( $_POST['ps_sitemap_' . $key], 'as', 'UTF-8' );
239
+ }
240
+ $_POST['ps_sitemap_' . $key] = preg_replace( '/、/', ',', $_POST['ps_sitemap_' . $key] );
241
+ $_POST['ps_sitemap_' . $key] = preg_replace( '/\./', ',', $_POST['ps_sitemap_' . $key] );
242
+ $_POST['ps_sitemap_' . $key] = preg_replace( '/[^\d,]/', '', $_POST['ps_sitemap_' . $key] );
243
+ $this->validate_num_comma( $_POST['ps_sitemap_' . $key] );
244
+ }
245
+ break;
246
+ case 'prepared_style' :
247
+ if ( $_POST['ps_sitemap_' . $key] == '' || ! $this->sitemap_prepared_styles[$_POST['ps_sitemap_' . $key]] ) {
248
+ $_POST['ps_sitemap_' . $key] = '';
249
+ }
250
+ break;
251
+ default :
252
+ }
253
+ $sitemap_option_data[$key] = $_POST['ps_sitemap_' . $key];
254
+ }
255
+ $ret = update_option( 'ps_sitemap', $sitemap_option_data );
256
+ }
257
+ ?>
258
+ <div class=wrap>
259
+ <?php if ( function_exists( 'screen_icon' ) ) { screen_icon(); } ?>
260
+ <h2>PS Auto Sitemap</h2>
261
+ <?php if ( $ret ) { ?>
262
+ <div id="message" class="updated">
263
+ <p><?php _e('The settings of PS Auto Sitemap has changed successfully.', 'ps_auto_sitemap' );?></p>
264
+ </div>
265
+ <?php } elseif ( $_POST['ps_sitemap_submit'] && ! $ret ) { ?>
266
+ <div id="notice" class="error">
267
+ <p><?php _e('The settings has not been changed. There were no changes or failed to update the data base.', 'ps_auto_sitemap' );?></p>
268
+ </div>
269
+ <?php } ?>
270
+ <form method="post" action="">
271
+ <?php wp_nonce_field(); ?>
272
+ <table class="form-table">
273
+ <tr>
274
+ <th><?php _e( 'Display post tree', 'ps_auto_sitemap' ); ?></th>
275
+ <td><input type="checkbox" name="ps_sitemap_post_tree" id="ps_sitemap_post_tree" value="1"<?php if ( $sitemap_option_data['post_tree'] == '1' ) : ?> checked="checked"<?php endif; ?> /> <label for="ps_sitemap_post_tree"><?php _e( 'Display', 'ps_auto_sitemap' ); ?></label></td>
276
+ </tr>
277
+ <tr>
278
+ <th><?php _e( 'Display page tree', 'ps_auto_sitemap' ); ?></th>
279
+ <td><input type="checkbox" name="ps_sitemap_page_tree" id="ps_sitemap_page_tree" value="1"<?php if ( $sitemap_option_data['page_tree'] == '1' ) : ?> checked="checked"<?php endif; ?> /> <label for="ps_sitemap_page_tree"><?php _e( 'Display', 'ps_auto_sitemap' ); ?></label></td>
280
+ </tr>
281
+ <tr>
282
+ <th><?php _e( 'PostID of the sitemap', 'ps_auto_sitemap' ); ?></th>
283
+ <td><input type="text" name="ps_sitemap_post_id" id="ps_sitemap_post_id" value="<?php echo $sitemap_option_data['post_id']; ?>" ><br />
284
+ <?php _e( '* Please input display sitemap post\'s ID.', 'ps_auto_sitemap' ); ?>
285
+ </td>
286
+ </tr>
287
+ <tr>
288
+ <th><?php _e( 'Depth level', 'ps_auto_sitemap' ); ?></th>
289
+ <td>
290
+ <select name="ps_sitemap_disp_level" id="ps_sitemap_disp_level">
291
+ <option value="0"<?php if ( $sitemap_option_data['disp_level'] == '0' ) : ?> selected="selected"<?php endif; ?>><?php _e( 'no limit', 'ps_auto_sitemap' ); ?></option>
292
+ <option value="1"<?php if ( $sitemap_option_data['disp_level'] == '1' ) : ?> selected="selected"<?php endif; ?>><?php _e( 'level 1', 'ps_auto_sitemap' ); ?></option>
293
+ <option value="2"<?php if ( $sitemap_option_data['disp_level'] == '2' ) : ?> selected="selected"<?php endif; ?>><?php _e( 'level 2', 'ps_auto_sitemap' ); ?></option>
294
+ <option value="3"<?php if ( $sitemap_option_data['disp_level'] == '3' ) : ?> selected="selected"<?php endif; ?>><?php _e( 'level 3', 'ps_auto_sitemap' ); ?></option>
295
+ <option value="4"<?php if ( $sitemap_option_data['disp_level'] == '4' ) : ?> selected="selected"<?php endif; ?>><?php _e( 'level 4', 'ps_auto_sitemap' ); ?></option>
296
+ <option value="5"<?php if ( $sitemap_option_data['disp_level'] == '5' ) : ?> selected="selected"<?php endif; ?>><?php _e( 'level 5', 'ps_auto_sitemap' ); ?></option>
297
+ <option value="6"<?php if ( $sitemap_option_data['disp_level'] == '6' ) : ?> selected="selected"<?php endif; ?>><?php _e( 'level 6', 'ps_auto_sitemap' ); ?></option>
298
+ <option value="7"<?php if ( $sitemap_option_data['disp_level'] == '7' ) : ?> selected="selected"<?php endif; ?>><?php _e( 'level 7', 'ps_auto_sitemap' ); ?></option>
299
+ <option value="8"<?php if ( $sitemap_option_data['disp_level'] == '8' ) : ?> selected="selected"<?php endif; ?>><?php _e( 'level 8', 'ps_auto_sitemap' ); ?></option>
300
+ <option value="9"<?php if ( $sitemap_option_data['disp_level'] == '9' ) : ?> selected="selected"<?php endif; ?>><?php _e( 'level 9', 'ps_auto_sitemap' ); ?></option>
301
+ <option value="10"<?php if ( $sitemap_option_data['disp_level'] == '10' ) : ?> selected="selected"<?php endif; ?>><?php _e( 'level 10', 'ps_auto_sitemap' ); ?></option>
302
+ </select>
303
+ </td>
304
+ </tr>
305
+ <tr>
306
+ <th><?php _e( 'Display first', 'ps_auto_sitemap' ); ?></th>
307
+ <td>
308
+ <input type="radio" name="ps_sitemap_disp_first" id="ps_sitemap_disp_first_post" value="post"<?php if ( $sitemap_option_data['disp_first'] == 'post' ) : ?> checked="checked"<?php endif; ?> />
309
+ <label for="ps_sitemap_disp_first_post"><?php _e( 'Post', 'ps_auto_sitemap' ); ?></label>
310
+ <input type="radio" name="ps_sitemap_disp_first" id="ps_sitemap_disp_first_page" value="page"<?php if ( $sitemap_option_data['disp_first'] == 'page' ) : ?> checked="checked"<?php endif; ?> />
311
+ <label for="ps_sitemap_disp_first_page"><?php _e( 'Page', 'ps_auto_sitemap' ); ?></label>
312
+ </td>
313
+ </tr>
314
+ <tr>
315
+ <th><?php _e( 'Excluded categories', 'ps_auto_sitemap' ); ?></th>
316
+ <td><input type="text" name="ps_sitemap_ex_cat_ids" id="ps_sitemap_ex_cat_ids" value="<?php echo $sitemap_option_data['ex_cat_ids']; ?>" ><br />
317
+ <?php _e( '* Please input category ID of exclude categories. (Separated by comma)', 'ps_auto_sitemap' ); ?>
318
+ </td>
319
+ </tr>
320
+ <tr>
321
+ <th><?php _e( 'Exclude posts', 'ps_auto_sitemap' ); ?></th>
322
+ <td><input type="text" name="ps_sitemap_ex_post_ids" id="ps_sitemap_ex_post_ids" value="<?php echo $sitemap_option_data['ex_post_ids']; ?>" ><br />
323
+ <?php _e( '* Please input post ID of exclude posts. (Separated by comma)', 'ps_auto_sitemap' ); ?>
324
+ </td>
325
+ </tr>
326
+ <tr>
327
+ <th><?php _e( 'Select style', 'ps_auto_sitemap' ); ?></th>
328
+ <td>
329
+ <select name="ps_sitemap_prepared_style" id="ps_sitemap_prepared_style">
330
+ <option value=""<?php if ( $sitemap_option_data['prepared_style'] == '' ) : ?> selected="selected"<?php endif; ?>><?php _e( 'no style', 'ps_auto_sitemap' ); ?></option>
331
+ <?php foreach ( $this->sitemap_prepared_styles as $style_code => $style_name ) : ?>
332
+ <option value="<?php echo $style_code ?>"<?php if ( $sitemap_option_data['prepared_style'] == $style_code ) : ?> selected="selected"<?php endif; ?>><?php _e( $style_name, 'ps_auto_sitemap' ); ?></option>
333
+ <?php endforeach; ?>
334
+ </select>
335
+ </td>
336
+ </tr>
337
+ <tr>
338
+ <th><?php _e( 'Hide developper link', 'ps_auto_sitemap' ); ?></th>
339
+ <td><input type="checkbox" name="ps_sitemap_suppress_link" id="ps_sitemap_suppress_link" value="1"<?php if ( $sitemap_option_data['suppress_link'] == '1' ) : ?> checked="checked"<?php endif; ?> /> <label for="ps_sitemap_suppress_link"><?php _e( 'Hide', 'ps_auto_sitemap' ); ?></label></td>
340
+ </tr>
341
+ </table>
342
+ <div class="ps_sitemap_submit_buttons">
343
+ <input type="submit" name="ps_sitemap_submit" class="button-primary" value="<?php _e( 'Save Changes', 'ps_auto_sitemap' ); ?>" />
344
+ </div>
345
+ </form>
346
+ <div class="ps_sitemap_installation">
347
+ <h3><?php _e( 'Usage', 'ps_auto_sitemap' ); ?></h3>
348
+ <ol>
349
+ <li><?php _e( 'Post a page that will use as the sitemap page.', 'ps_auto_sitemap' ); ?></li>
350
+ <li><?php _e( 'Insert following code in the content area. (<strong>Use HTML mode</strong>)', 'ps_auto_sitemap' ); ?>
351
+ <br /><code>&lt;!-- SITEMAP CONTENT REPLACE POINT --&gt;</code></li>
352
+ <li><?php _e( 'Define the sitemap\'s ID at "<strong>PostID of the sitemap</strong>" field of the setings.', 'ps_auto_sitemap' ); ?></li>
353
+ </ol>
354
+ </div>
355
+ <div id="ps_sitemap_author">This plugin developed by <a href="http://www.web-strategy.jp/">Prime Strategy Co.,LTD.</a></div>
356
+ </div>
357
+ <?php
358
+ }
359
+
360
+
361
+ function print_sitemap_admin_css() {
362
+ if( $_GET['page'] == 'ps_auto_sitemap.php' ) {
363
+ if ( defined( 'WP_PLUGIN_URL' ) ) {
364
+ echo '<link rel="stylesheet" href="' . WP_PLUGIN_URL . str_replace( str_replace( '\\', '/', WP_PLUGIN_DIR ), '', str_replace( '\\', '/', dirname( __file__ ) ) ) . '/css/ps_auto_sitemap_admin.css" type="text/css" media="all" />' . "\n";
365
+ } else {
366
+ echo '<link rel="stylesheet" href="' . get_option('siteurl') . '/' . str_replace( ABSPATH, '', dirname( __file__ ) ) . '/css/ps_auto_sitemap_admin.css" type="text/css" media="all" />' . "\n";
367
+ }
368
+ }
369
+ }
370
+
371
+
372
+ function print_sitemap_prepare_css() {
373
+ if ( is_singular() ) {
374
+ global $post;
375
+ $sitemap_option_data = get_option( 'ps_sitemap' );
376
+ if( $post->ID == $sitemap_option_data['post_id'] && $sitemap_option_data['prepared_style'] != '' ) {
377
+ if ( defined( 'WP_PLUGIN_URL' ) ) {
378
+ echo '<link rel="stylesheet" href="' . WP_PLUGIN_URL . str_replace( str_replace( '\\', '/', WP_PLUGIN_DIR ), '', str_replace( '\\', '/', dirname( __file__ ) ) ) . '/css/ps_auto_sitemap_' . $sitemap_option_data['prepared_style'] . '.css" type="text/css" media="all" />' . "\n";
379
+ } else {
380
+ echo '<link rel="stylesheet" href="' . get_option('siteurl') . '/' . str_replace( ABSPATH, '', dirname( __file__ ) ) . '/css/ps_auto_sitemap_' . $sitemap_option_data['prepared_style'] . '.css" type="text/css" media="all" />' . "\n";
381
+ }
382
+ }
383
+ }
384
+ }
385
+
386
+
387
+ function validate_bool( $val ) {
388
+ if ( $val !== true && $val !== false && $val !== 1 && $val !== 0 && $val !== '1' && $val !== '0' ) {
389
+ wp_die( 'unvalid post data exist.' );
390
+ }
391
+ }
392
+
393
+
394
+ function validate_positive_int( $val ) {
395
+ if ( ! preg_match( '/^[1-9]+[\d]*$/', $val ) ) {
396
+ wp_die( 'unvalid post data exist.' );
397
+ }
398
+ }
399
+
400
+
401
+ function validate_num_comma( $val ) {
402
+ if ( ! preg_match( '/^[1-9]+[\d]*(,[1-9]+[\d]*)*$/', $val ) ) {
403
+ wp_die( 'unvalid post data exist.' );
404
+ }
405
+ }
406
+
407
+
408
+ function set_default_options() {
409
+ $sitemap_option_data['post_tree'] = '1';
410
+ $sitemap_option_data['page_tree'] = '1';
411
+ $sitemap_option_data['post_id'] = '';
412
+ $sitemap_option_data['disp_level'] = '0';
413
+ $sitemap_option_data['disp_first'] = 'post';
414
+ $sitemap_option_data['ex_cat_ids'] = '';
415
+ $sitemap_option_data['ex_post_id'] = '';
416
+ $sitemap_option_data['prepared_style'] = '';
417
+ $sitemap_option_data['suppress_link'] = '0';
418
+ update_option( 'ps_sitemap', $sitemap_option_data );
419
+ }
420
+ }
readme.txt ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === PS Auto Sitemap ===
2
+ Contributors: jim912
3
+ Tags: sitemap, post, page, seo, cms
4
+ Requires at least: 2.3.1
5
+ Tested up to: 2.7
6
+ Stable tag: 1.0.6
7
+
8
+ Auto generator of a customizable and designed sitemap page.
9
+
10
+ == Description ==
11
+
12
+ "PS Auto Sitemap" is a plugin that **automatically generates a site map page from your WordPress site**.
13
+
14
+ It is **easy to install for beginners** and **easy to customize for experts**.
15
+ It can change the settings of the display of the lists from administration page, **several neat CSS skins for the site map tree are prepared**.
16
+
17
+ When you use WordPress as CMS of the Web site, you can expect the **effect of SEO**, **improvement of the usability**, and so on.
18
+
19
+ Functions of "PS Auto Sitemap":
20
+
21
+ * Display/hide of particular categories and posts.
22
+ * Display/hide of pages.
23
+ * Limitation of the depth of the list.
24
+ * Set the display order of the page list and the post list.
25
+ * Set the excluded category from the list.
26
+ * Set the excluded posts or pages from the list.
27
+ * Select the display style of the site map from five prepared designs (or no style).
28
+
29
+
30
+ == Installation ==
31
+ 1. Unzip the downloaded package and upload into your WordPress plugins directory.
32
+ If you use WordPress 2.7 or later, you can install from admin page.
33
+ 2. Go to plugins list and activate "PS Auto Sitemap".
34
+ 3. Post a page that will use as the sitemap page.
35
+ 4. Insert following code in the content area. (Use HTML mode) `<!-- SITEMAP CONTENT REPLACE POINT -->`
36
+ 5. Define the sitemap's ID at "PostID of the sitemap" field of the setings.
37
+
38
+ == Frequently Asked Questions ==
39
+ = The sitemap does not appear. =
40
+ Check the page ID of the sitemap page.
41
+ Check the system code that you pasted.(Surely used HTML mode?)
42
+
43
+ When the sitemap is still not displayed, other plugins might be conflicts. de-activate the other plugins and check the sitemap page.
44
+ (If there are conflicted plugins, please tell us.)
45
+
46
+
47
+ = The selected style have collapsed. =
48
+ The CSS of using theme may be interfere in the selected style.
49
+ Select the style "no style" and write CSS yourself or use another themes.
50
+ Or, if you tell us the theme and your selected style, we might help you.
51
+
52
+ == Screenshots ==
53
+ 1. Administration interface of PS Auto Sitemap
54
+ 2. Preset sitemap styles.
screenshot-1.png ADDED
Binary file
screenshot-2.jpg ADDED
Binary file