diff --git a/docs/changelog.txt b/docs/changelog.txt index ad773290..e1f8ffae 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -1,7 +1,17 @@ -
- <{$commentsnav}> <{$lang_notice}>
+ <{$commentsnav}> <{$lang_notice|default:''}>
- <{if $comment_mode == "flat"}>
+ <{if $comment_mode|default:'' == "flat"}>
<{include file="db:system_comments_flat.tpl"}>
- <{elseif $comment_mode == "thread"}>
+ <{elseif $comment_mode|default:'' == "thread"}>
<{include file="db:system_comments_thread.tpl"}>
- <{elseif $comment_mode == "nest"}>
+ <{elseif $comment_mode|default:'' == "nest"}>
<{include file="db:system_comments_nest.tpl"}>
<{/if}>
diff --git a/testdata/english/group_permission.yml b/testdata/english/group_permission.yml
index b79af31e..ccd33cf4 100644
--- a/testdata/english/group_permission.yml
+++ b/testdata/english/group_permission.yml
@@ -1,405 +1,390 @@
-
gperm_groupid: '1'
- gperm_itemid: '5'
- gperm_modid: '334'
+ gperm_itemid: '1'
+ gperm_modid: '38'
gperm_name: category_moderation
-
gperm_groupid: '1'
- gperm_itemid: '6'
- gperm_modid: '334'
+ gperm_itemid: '2'
+ gperm_modid: '38'
gperm_name: category_moderation
-
gperm_groupid: '1'
- gperm_itemid: '4'
- gperm_modid: '334'
+ gperm_itemid: '3'
+ gperm_modid: '38'
gperm_name: category_moderation
-
gperm_groupid: '1'
- gperm_itemid: '3'
- gperm_modid: '334'
+ gperm_itemid: '4'
+ gperm_modid: '38'
gperm_name: category_moderation
-
gperm_groupid: '1'
- gperm_itemid: '2'
- gperm_modid: '334'
+ gperm_itemid: '6'
+ gperm_modid: '38'
gperm_name: category_moderation
-
gperm_groupid: '1'
- gperm_itemid: '1'
- gperm_modid: '334'
+ gperm_itemid: '5'
+ gperm_modid: '38'
gperm_name: category_moderation
-
gperm_groupid: '1'
gperm_itemid: '1'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: category_read
-
gperm_groupid: '1'
gperm_itemid: '2'
- gperm_modid: '334'
- gperm_name: category_read
--
- gperm_groupid: '3'
- gperm_itemid: '5'
- gperm_modid: '334'
- gperm_name: category_read
--
- gperm_groupid: '3'
- gperm_itemid: '6'
- gperm_modid: '334'
- gperm_name: category_read
--
- gperm_groupid: '3'
- gperm_itemid: '4'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: category_read
-
gperm_groupid: '1'
gperm_itemid: '3'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: category_read
-
gperm_groupid: '1'
gperm_itemid: '4'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: category_read
-
gperm_groupid: '1'
gperm_itemid: '5'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: category_read
-
- gperm_groupid: '1'
- gperm_itemid: '6'
- gperm_modid: '334'
+ gperm_groupid: '2'
+ gperm_itemid: '2'
+ gperm_modid: '38'
gperm_name: category_read
-
gperm_groupid: '2'
gperm_itemid: '1'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: category_read
-
- gperm_groupid: '2'
- gperm_itemid: '2'
- gperm_modid: '334'
+ gperm_groupid: '1'
+ gperm_itemid: '6'
+ gperm_modid: '38'
gperm_name: category_read
-
gperm_groupid: '2'
gperm_itemid: '3'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: category_read
-
gperm_groupid: '2'
gperm_itemid: '4'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: category_read
-
gperm_groupid: '2'
gperm_itemid: '5'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: category_read
-
gperm_groupid: '2'
gperm_itemid: '6'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: category_read
-
gperm_groupid: '3'
gperm_itemid: '1'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: category_read
-
gperm_groupid: '3'
gperm_itemid: '2'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: category_read
-
gperm_groupid: '3'
gperm_itemid: '3'
- gperm_modid: '334'
+ gperm_modid: '38'
+ gperm_name: category_read
+-
+ gperm_groupid: '3'
+ gperm_itemid: '4'
+ gperm_modid: '38'
+ gperm_name: category_read
+-
+ gperm_groupid: '3'
+ gperm_itemid: '5'
+ gperm_modid: '38'
+ gperm_name: category_read
+-
+ gperm_groupid: '3'
+ gperm_itemid: '6'
+ gperm_modid: '38'
gperm_name: category_read
-
gperm_groupid: '1'
- gperm_itemid: '81600'
- gperm_modid: '334'
+ gperm_itemid: '3606'
+ gperm_modid: '38'
gperm_name: editors
-
gperm_groupid: '1'
gperm_itemid: '6017'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: editors
-
gperm_groupid: '1'
- gperm_itemid: '3606'
- gperm_modid: '334'
+ gperm_itemid: '81600'
+ gperm_modid: '38'
gperm_name: editors
-
gperm_groupid: '2'
- gperm_itemid: '10'
- gperm_modid: '334'
+ gperm_itemid: '25'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '2'
- gperm_itemid: '26'
- gperm_modid: '334'
+ gperm_itemid: '24'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '2'
- gperm_itemid: '8'
- gperm_modid: '334'
+ gperm_itemid: '12'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '2'
- gperm_itemid: '9'
- gperm_modid: '334'
+ gperm_itemid: '11'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '2'
- gperm_itemid: '12'
- gperm_modid: '334'
- gperm_name: form_view
--
- gperm_groupid: '1'
- gperm_itemid: '24'
- gperm_modid: '334'
- gperm_name: form_view
--
- gperm_groupid: '1'
- gperm_itemid: '7'
- gperm_modid: '334'
- gperm_name: form_view
--
- gperm_groupid: '1'
- gperm_itemid: '12'
- gperm_modid: '334'
+ gperm_itemid: '10'
+ gperm_modid: '38'
gperm_name: form_view
-
- gperm_groupid: '1'
- gperm_itemid: '14'
- gperm_modid: '334'
+ gperm_groupid: '2'
+ gperm_itemid: '26'
+ gperm_modid: '38'
gperm_name: form_view
-
- gperm_groupid: '1'
- gperm_itemid: '19'
- gperm_modid: '334'
+ gperm_groupid: '2'
+ gperm_itemid: '9'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '2'
- gperm_itemid: '23'
- gperm_modid: '334'
+ gperm_itemid: '8'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '2'
- gperm_itemid: '25'
- gperm_modid: '334'
+ gperm_itemid: '7'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '1'
- gperm_itemid: '4'
- gperm_modid: '334'
+ gperm_itemid: '1'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '1'
- gperm_itemid: '8'
- gperm_modid: '334'
+ gperm_itemid: '3'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '1'
- gperm_itemid: '25'
- gperm_modid: '334'
+ gperm_itemid: '4'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '1'
- gperm_itemid: '15'
- gperm_modid: '334'
+ gperm_itemid: '5'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '1'
- gperm_itemid: '20'
- gperm_modid: '334'
- gperm_name: form_view
--
- gperm_groupid: '2'
- gperm_itemid: '18'
- gperm_modid: '334'
- gperm_name: form_view
--
- gperm_groupid: '2'
- gperm_itemid: '24'
- gperm_modid: '334'
+ gperm_itemid: '7'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '1'
- gperm_itemid: '5'
- gperm_modid: '334'
+ gperm_itemid: '8'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '1'
gperm_itemid: '9'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '1'
gperm_itemid: '26'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '1'
- gperm_itemid: '13'
- gperm_modid: '334'
+ gperm_itemid: '10'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '1'
- gperm_itemid: '18'
- gperm_modid: '334'
+ gperm_itemid: '11'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '1'
- gperm_itemid: '21'
- gperm_modid: '334'
+ gperm_itemid: '12'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '1'
- gperm_itemid: '22'
- gperm_modid: '334'
+ gperm_itemid: '13'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '1'
- gperm_itemid: '23'
- gperm_modid: '334'
- gperm_name: form_view
--
- gperm_groupid: '2'
- gperm_itemid: '11'
- gperm_modid: '334'
+ gperm_itemid: '14'
+ gperm_modid: '38'
gperm_name: form_view
-
- gperm_groupid: '2'
- gperm_itemid: '19'
- gperm_modid: '334'
+ gperm_groupid: '1'
+ gperm_itemid: '15'
+ gperm_modid: '38'
gperm_name: form_view
-
- gperm_groupid: '2'
- gperm_itemid: '15'
- gperm_modid: '334'
+ gperm_groupid: '1'
+ gperm_itemid: '18'
+ gperm_modid: '38'
gperm_name: form_view
-
- gperm_groupid: '2'
- gperm_itemid: '14'
- gperm_modid: '334'
+ gperm_groupid: '1'
+ gperm_itemid: '19'
+ gperm_modid: '38'
gperm_name: form_view
-
- gperm_groupid: '2'
+ gperm_groupid: '1'
gperm_itemid: '20'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: form_view
-
- gperm_groupid: '2'
+ gperm_groupid: '1'
gperm_itemid: '21'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: form_view
-
- gperm_groupid: '2'
+ gperm_groupid: '1'
gperm_itemid: '22'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '1'
- gperm_itemid: '3'
- gperm_modid: '334'
+ gperm_itemid: '23'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '1'
- gperm_itemid: '10'
- gperm_modid: '334'
+ gperm_itemid: '24'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '1'
- gperm_itemid: '11'
- gperm_modid: '334'
+ gperm_itemid: '25'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '2'
- gperm_itemid: '7'
- gperm_modid: '334'
+ gperm_itemid: '1'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '2'
- gperm_itemid: '5'
- gperm_modid: '334'
+ gperm_itemid: '3'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '2'
gperm_itemid: '4'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '2'
- gperm_itemid: '3'
- gperm_modid: '334'
+ gperm_itemid: '5'
+ gperm_modid: '38'
gperm_name: form_view
-
gperm_groupid: '2'
- gperm_itemid: '1'
- gperm_modid: '334'
- gperm_name: form_view
+ gperm_itemid: '2'
+ gperm_modid: '38'
+ gperm_name: global
-
- gperm_groupid: '1'
+ gperm_groupid: '2'
gperm_itemid: '1'
- gperm_modid: '334'
- gperm_name: form_view
+ gperm_modid: '38'
+ gperm_name: global
-
gperm_groupid: '1'
gperm_itemid: '1'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: global
-
gperm_groupid: '1'
gperm_itemid: '2'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: global
-
- gperm_groupid: '1'
- gperm_itemid: '1'
- gperm_modid: '334'
+ gperm_groupid: '2'
+ gperm_itemid: '3'
+ gperm_modid: '38'
gperm_name: item_submit
-
- gperm_groupid: '1'
+ gperm_groupid: '2'
gperm_itemid: '2'
- gperm_modid: '334'
+ gperm_modid: '38'
+ gperm_name: item_submit
+-
+ gperm_groupid: '2'
+ gperm_itemid: '1'
+ gperm_modid: '38'
gperm_name: item_submit
-
gperm_groupid: '1'
- gperm_itemid: '3'
- gperm_modid: '334'
+ gperm_itemid: '6'
+ gperm_modid: '38'
gperm_name: item_submit
-
- gperm_groupid: '2'
- gperm_itemid: '4'
- gperm_modid: '334'
+ gperm_groupid: '1'
+ gperm_itemid: '5'
+ gperm_modid: '38'
gperm_name: item_submit
-
gperm_groupid: '1'
gperm_itemid: '4'
- gperm_modid: '334'
+ gperm_modid: '38'
gperm_name: item_submit
-
- gperm_groupid: '2'
- gperm_itemid: '6'
- gperm_modid: '334'
+ gperm_groupid: '1'
+ gperm_itemid: '3'
+ gperm_modid: '38'
gperm_name: item_submit
-
gperm_groupid: '1'
- gperm_itemid: '6'
- gperm_modid: '334'
+ gperm_itemid: '2'
+ gperm_modid: '38'
gperm_name: item_submit
-
gperm_groupid: '1'
- gperm_itemid: '5'
- gperm_modid: '334'
+ gperm_itemid: '1'
+ gperm_modid: '38'
+ gperm_name: item_submit
+-
+ gperm_groupid: '2'
+ gperm_itemid: '4'
+ gperm_modid: '38'
gperm_name: item_submit
-
gperm_groupid: '2'
gperm_itemid: '5'
- gperm_modid: '334'
+ gperm_modid: '38'
+ gperm_name: item_submit
+-
+ gperm_groupid: '2'
+ gperm_itemid: '6'
+ gperm_modid: '38'
gperm_name: item_submit
diff --git a/testdata/english/publisher_files.yml b/testdata/english/publisher_files.yml
index f7bcb871..11e78e4f 100644
--- a/testdata/english/publisher_files.yml
+++ b/testdata/english/publisher_files.yml
@@ -1 +1,12 @@
-{ }
\ No newline at end of file
+-
+ fileid: '1'
+ itemid: '7'
+ name: zzz
+ description: zzz
+ filename: 7_XoopsHappyBirthday2015a.jpg
+ mimetype: image/jpeg
+ uid: '1'
+ datesub: '1609037071'
+ status: '1'
+ notifypub: '1'
+ counter: '2'
diff --git a/testdata/english/publisher_items.yml b/testdata/english/publisher_items.yml
index 2b88f4aa..1bf0add9 100644
--- a/testdata/english/publisher_items.yml
+++ b/testdata/english/publisher_items.yml
@@ -12,9 +12,9 @@
status: '2'
image: '1'
images: '1'
- counter: '3'
- rating: '5.8500'
- votes: '10'
+ counter: '133'
+ rating: '0.0000'
+ votes: '1'
weight: '1'
dohtml: '1'
dosmiley: '1'
@@ -28,6 +28,7 @@
meta_description: 'This is a Meta Description'
short_url: example_category_1
item_tag: ItemTag1
+ votetype: '1'
-
itemid: '2'
categoryid: '2'
@@ -42,9 +43,9 @@
status: '2'
image: '2'
images: '2'
- counter: '4'
- rating: '4.8500'
- votes: '10'
+ counter: '240'
+ rating: '0.0000'
+ votes: '1'
weight: '1'
dohtml: '1'
dosmiley: '1'
@@ -58,6 +59,7 @@
meta_description: 'This is a Meta Description'
short_url: example_category_1
item_tag: ItemTag2
+ votetype: '3'
-
itemid: '3'
categoryid: '3'
@@ -72,9 +74,9 @@
status: '2'
image: '3'
images: '3'
- counter: '3'
- rating: '3.8500'
- votes: '10'
+ counter: '93'
+ rating: '0.0000'
+ votes: '1'
weight: '1'
dohtml: '1'
dosmiley: '1'
@@ -88,6 +90,7 @@
meta_description: 'This is a Meta Description'
short_url: example_category_1
item_tag: ItemTag3
+ votetype: '3'
-
itemid: '4'
categoryid: '1'
@@ -102,9 +105,9 @@
status: '2'
image: '1'
images: '1'
- counter: '3'
- rating: '2.8500'
- votes: '10'
+ counter: '532'
+ rating: '0.0000'
+ votes: '1'
weight: '1'
dohtml: '1'
dosmiley: '1'
@@ -112,12 +115,13 @@
doimage: '1'
dobr: '1'
cancomment: '1'
- comments: '3'
+ comments: '1'
notifypub: '0'
meta_keywords: 'XOOPS,Publisher'
meta_description: 'This is a Meta Description'
short_url: example_category_1
item_tag: ItemTag4
+ votetype: '4'
-
itemid: '5'
categoryid: '2'
@@ -132,9 +136,9 @@
status: '2'
image: '0'
images: ''
- counter: '3'
- rating: '1.8500'
- votes: '10'
+ counter: '109'
+ rating: '0.0000'
+ votes: '1'
weight: '1'
dohtml: '1'
dosmiley: '1'
@@ -148,6 +152,7 @@
meta_description: 'This is a Meta Description'
short_url: example_category_5
item_tag: ItemTag5
+ votetype: '5'
-
itemid: '6'
categoryid: '1'
@@ -162,8 +167,8 @@
status: '2'
image: '0'
images: ''
- counter: '0'
- rating: '5.0000'
+ counter: '439'
+ rating: '0.0000'
votes: '1'
weight: '0'
dohtml: '1'
@@ -172,12 +177,13 @@
doimage: '1'
dobr: '1'
cancomment: '1'
- comments: '0'
+ comments: '1'
notifypub: '0'
meta_keywords: 'nthnthnth,dnthd,nhtd,ntdthd,nthd,nthdnthd,ntgdhnd,ntdnthdngtd'
meta_description: 'tnh dnthd nhtd nhtd ntdthd nthd nthdnthd ntgdhnd ntdnthdngtd'
short_url: ''
item_tag: 'Theme, Bootstrap, jQuery, bootnewage'
+ votetype: '3'
-
itemid: '7'
categoryid: '5'
@@ -190,11 +196,11 @@
datesub: '1738378800'
dateexpire: '0'
status: '2'
- image: '4'
- images: '4'
- counter: '0'
+ image: '0'
+ images: ''
+ counter: '310'
rating: '0.0000'
- votes: '0'
+ votes: '1'
weight: '0'
dohtml: '1'
dosmiley: '1'
@@ -208,6 +214,7 @@
meta_description: 'sth st hsth'
short_url: test-di
item_tag: ''
+ votetype: '3'
-
itemid: '8'
categoryid: '5'
@@ -222,9 +229,9 @@
status: '2'
image: '4'
images: '4'
- counter: '0'
+ counter: '361'
rating: '0.0000'
- votes: '0'
+ votes: '1'
weight: '0'
dohtml: '1'
dosmiley: '1'
@@ -238,6 +245,7 @@
meta_description: 'sth st hsth'
short_url: test-di-future
item_tag: ''
+ votetype: '2'
-
itemid: '9'
categoryid: '5'
@@ -252,9 +260,9 @@
status: '2'
image: '4'
images: '4'
- counter: '0'
+ counter: '224'
rating: '0.0000'
- votes: '0'
+ votes: '1'
weight: '0'
dohtml: '1'
dosmiley: '1'
@@ -268,23 +276,24 @@
meta_description: 'sth st hsth'
short_url: test-di
item_tag: ''
+ votetype: '3'
-
itemid: '10'
categoryid: '5'
- title: 'Test DI OFFLINE'
+ title: 'Test OFFLINE'
subtitle: ''
- summary: ' sth st hsth tnh sthsthsnthntsh ' - body: 'tnhsnth sthstnh th ' + summary: 'This is on OFFLINE article ' + body: 'This is on OFFLINE article Est primus bursa, cesaris.A falsis, luna albus abactus.A falsis, absolutio lotus barcas.Nomen de azureus nixus, promissio detrius!Onuss trabem in mare!' uid: '1' author_alias: '' datesub: '1551368400' dateexpire: '0' status: '3' - image: '4' - images: '4' - counter: '0' + image: '0' + images: '' + counter: '3' rating: '0.0000' - votes: '0' + votes: '1' weight: '0' dohtml: '1' dosmiley: '1' @@ -296,8 +305,9 @@ notifypub: '0' meta_keywords: 'Test,hsth' meta_description: 'sth st hsth' - short_url: '' + short_url: test-offline item_tag: '' + votetype: '1' - itemid: '11' categoryid: '5' @@ -309,12 +319,12 @@ author_alias: '' datesub: '1551112200' dateexpire: '0' - status: '1' - image: '4' - images: '4' - counter: '0' + status: '2' + image: '0' + images: '' + counter: '26' rating: '0.0000' - votes: '0' + votes: '1' weight: '0' dohtml: '1' dosmiley: '1' @@ -326,5 +336,68 @@ notifypub: '1' meta_keywords: 'Test,hsth' meta_description: 'sth st hsth' - short_url: '' + short_url: test-approval + item_tag: '' + votetype: '5' +- + itemid: '12' + categoryid: '1' + title: 'Submitted New Article' + subtitle: 'Waiting for Approval' + summary: ' Est primus bursa, cesaris.A falsis, luna albus abactus.A falsis, absolutio lotus barcas.Nomen de azureus nixus, promissio detrius!Onuss trabem in mare!' + body: ' Est primus bursa, cesaris.A falsis, luna albus abactus.A falsis, absolutio lotus barcas.Nomen de azureus nixus, promissio detrius!Onuss trabem in mare!Messors trabem in tectum!Indexs sunt caniss de bi-color lactea.Racanas unda!' + uid: '1' + author_alias: '' + datesub: '1598137200' + dateexpire: '0' + status: '1' + image: '0' + images: '' + counter: '322' + rating: '0.0000' + votes: '1' + weight: '0' + dohtml: '1' + dosmiley: '1' + doxcode: '1' + doimage: '1' + dobr: '1' + cancomment: '1' + comments: '0' + notifypub: '0' + meta_keywords: 'nthnth,nths,tnhsnthntsh,snth,tnshns' + meta_description: 'nths tnhsnthntsh snth tnshns th' + short_url: submitted_new + item_tag: '' + votetype: '1' +- + itemid: '13' + categoryid: '5' + title: 'Rejected Article' + subtitle: '' + summary: ' This is a rejected article ' + body: 'This is a rejected article' + uid: '1' + author_alias: '' + datesub: '1609014000' + dateexpire: '0' + status: '4' + image: '0' + images: '' + counter: '9' + rating: '0.0000' + votes: '1' + weight: '0' + dohtml: '1' + dosmiley: '1' + doxcode: '1' + doimage: '1' + dobr: '1' + cancomment: '1' + comments: '0' + notifypub: '1' + meta_keywords: 'Test55,Test' + meta_description: 'Test 55' + short_url: rejected item_tag: '' + votetype: '1' diff --git a/testdata/english/publisher_rating.yml b/testdata/english/publisher_rating.yml index 439f7b17..5fb31370 100644 --- a/testdata/english/publisher_rating.yml +++ b/testdata/english/publisher_rating.yml @@ -1,7 +1,954 @@ - ratingid: '1' + itemid: '1' + uid: '1' + rate: '1' + date: '1600080372' + ip: '::1' + source: '1' + votetype: '3' +- + ratingid: '2' + itemid: '2' + uid: '1' + rate: '-1' + date: '1600081774' + ip: '::1' + source: '1' + votetype: '3' +- + ratingid: '3' + itemid: '1' + uid: '2' + rate: '1' + date: '1600082767' + ip: 127.0.0.1 + source: '1' + votetype: '3' +- + ratingid: '4' + itemid: '2' + uid: '1' + rate: '1' + date: '1600166527' + ip: 74.83.87.210 + source: '1' + votetype: '3' +- + ratingid: '5' + itemid: '2' + uid: '1' + rate: '-1' + date: '1600166733' + ip: 74.83.87.210 + source: '1' + votetype: '3' +- + ratingid: '6' + itemid: '2' + uid: '2' + rate: '-1' + date: '1600170000' + ip: 74.83.87.310 + source: '1' + votetype: '3' +- + ratingid: '7' + itemid: '2' + uid: '3' + rate: '1' + date: '1600170009' + ip: 44.83.87.210 + source: '1' + votetype: '3' +- + ratingid: '8' + itemid: '2' + uid: '4' + rate: '-1' + date: '1600170103' + ip: 74.83.87.240 + source: '1' + votetype: '3' +- + ratingid: '9' + itemid: '2' + uid: '5' + rate: '1' + date: '1600170106' + ip: 78.83.87.210 + source: '3' + votetype: '3' +- + ratingid: '10' + itemid: '2' + uid: '6' + rate: '-1' + date: '1600170151' + ip: 74.83.27.210 + source: '3' + votetype: '3' +- + ratingid: '11' + itemid: '2' + uid: '7' + rate: '-1' + date: '1603038378' + ip: 74.33.87.210 + source: '1' + votetype: '3' +- + ratingid: '12' + itemid: '2' + uid: '2' + rate: '-1' + date: '1603042716' + ip: '' + source: '1' + votetype: '3' +- + ratingid: '13' + itemid: '2' + uid: '1' + rate: '1' + date: '1603042877' + ip: '' + source: '1' + votetype: '3' +- + ratingid: '14' + itemid: '2' + uid: '1' + rate: '1' + date: '1603042883' + ip: '' + source: '1' + votetype: '3' +- + ratingid: '15' + itemid: '2' + uid: '5' + rate: '1' + date: '1603083324' + ip: '' + source: '1' + votetype: '3' +- + ratingid: '16' + itemid: '2' + uid: '5' + rate: '1' + date: '1603083350' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '17' + itemid: '2' + uid: '5' + rate: '1' + date: '1603083452' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '18' + itemid: '7' + uid: '5' + rate: '1' + date: '1603083468' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '19' + itemid: '2' + uid: '5' + rate: '-1' + date: '1603083472' + ip: '' + source: '1' + votetype: '3' +- + ratingid: '20' + itemid: '2' + uid: '5' + rate: '-1' + date: '1603083474' + ip: '' + source: '1' + votetype: '3' +- + ratingid: '21' + itemid: '2' + uid: '5' + rate: '-1' + date: '1603083475' + ip: '' + source: '1' + votetype: '3' +- + ratingid: '22' + itemid: '2' + uid: '5' + rate: '-1' + date: '1603084036' + ip: '' + source: '1' + votetype: '3' +- + ratingid: '23' + itemid: '7' + uid: '5' + rate: '4' + date: '1603084835' + ip: '' + source: '1' + votetype: '3' +- + ratingid: '24' + itemid: '1' + uid: '5' + rate: '-1' + date: '1603086728' + ip: '' + source: '1' + votetype: '3' +- + ratingid: '25' + itemid: '1' + uid: '6' + rate: '2' + date: '1603087364' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '26' + itemid: '0' + uid: '0' + rate: '5' + date: '1603087380' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '27' + itemid: '1' + uid: '0' + rate: '5' + date: '1603087499' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '28' + itemid: '8' + uid: '0' + rate: '1' + date: '1603413237' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '29' + itemid: '8' + uid: '0' + rate: '-1' + date: '1603413247' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '30' + itemid: '8' + uid: '0' + rate: '-1' + date: '1603413248' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '31' + itemid: '8' + uid: '0' + rate: '-1' + date: '1603413249' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '32' + itemid: '5' + uid: '0' + rate: '1' + date: '1603424515' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '33' + itemid: '5' + uid: '0' + rate: '-1' + date: '1603424520' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '34' + itemid: '5' + uid: '0' + rate: '1' + date: '1603424828' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '35' + itemid: '5' + uid: '0' + rate: '-1' + date: '1603424834' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '36' + itemid: '6' + uid: '0' + rate: '1' + date: '1603425156' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '37' + itemid: '6' + uid: '0' + rate: '1' + date: '1603425167' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '38' itemid: '6' + uid: '0' + rate: '-1' + date: '1603425175' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '39' + itemid: '6' + uid: '0' + rate: '-1' + date: '1603425201' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '40' + itemid: '6' + uid: '0' + rate: '1' + date: '1603425246' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '41' + itemid: '6' + uid: '0' + rate: '1' + date: '1603426430' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '42' + itemid: '6' + uid: '0' + rate: '1' + date: '1603426491' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '43' + itemid: '6' + uid: '0' + rate: '1' + date: '1603426589' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '44' + itemid: '6' + uid: '5' + rate: '1' + date: '1603426722' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '45' + itemid: '6' + uid: '2' + rate: '1' + date: '1603426746' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '46' + itemid: '6' + uid: '1' + rate: '1' + date: '1603426945' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '47' + itemid: '5' + uid: '1' + rate: '7' + date: '1603430099' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '48' + itemid: '7' + uid: '1' + rate: '1' + date: '1608463542' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '49' + itemid: '7' + uid: '0' + rate: '2' + date: '1608464480' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '50' + itemid: '7' + uid: '0' + rate: '3' + date: '1608464495' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '51' + itemid: '7' + uid: '0' + rate: '2' + date: '1608465043' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '52' + itemid: '0' + uid: '0' + rate: '-1' + date: '1608535960' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '53' + itemid: '0' + uid: '0' + rate: '1' + date: '1608535984' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '54' + itemid: '0' + uid: '0' + rate: '1' + date: '1608536072' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '55' + itemid: '0' + uid: '0' + rate: '1' + date: '1608536080' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '56' + itemid: '0' + uid: '0' + rate: '1' + date: '1608536311' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '57' + itemid: '0' + uid: '0' + rate: '1' + date: '1608536378' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '58' + itemid: '0' + uid: '0' + rate: '1' + date: '1608536854' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '59' + itemid: '0' + uid: '0' + rate: '1' + date: '1608536926' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '60' + itemid: '9' + uid: '0' + rate: '1' + date: '1608537199' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '61' + itemid: '9' + uid: '0' + rate: '-1' + date: '1608537299' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '62' + itemid: '9' + uid: '0' + rate: '-1' + date: '1608537304' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '63' + itemid: '9' + uid: '0' + rate: '-1' + date: '1608537309' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '64' + itemid: '7' + uid: '0' + rate: '-1' + date: '1608565406' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '65' + itemid: '0' + uid: '0' + rate: '-1' + date: '1608870150' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '66' + itemid: '6' + uid: '0' + rate: '-1' + date: '1608870194' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '67' + itemid: '6' + uid: '0' + rate: '-1' + date: '1608870207' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '68' + itemid: '7' + uid: '0' + rate: '-1' + date: '1608883620' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '69' + itemid: '7' + uid: '0' + rate: '-1' + date: '1608884456' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '70' + itemid: '7' + uid: '0' + rate: '-1' + date: '1608884803' + ip: '' + source: '1' + votetype: '1' +- + ratingid: '71' + itemid: '7' + uid: '0' + rate: '-1' + date: '1608885197' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '72' + itemid: '7' + uid: '0' + rate: '-1' + date: '1608885231' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '73' + itemid: '7' + uid: '0' + rate: '-1' + date: '1608885237' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '74' + itemid: '7' + uid: '1' + rate: '-1' + date: '1608885306' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '75' + itemid: '7' + uid: '1' + rate: '-1' + date: '1608885318' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '76' + itemid: '7' + uid: '1' + rate: '1' + date: '1608886477' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '77' + itemid: '7' + uid: '1' + rate: '1' + date: '1608886483' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '78' + itemid: '7' + uid: '1' + rate: '1' + date: '1608886571' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '79' + itemid: '7' + uid: '1' + rate: '1' + date: '1608886586' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '80' + itemid: '7' + uid: '1' + rate: '-1' + date: '1608886592' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '81' + itemid: '7' uid: '1' + rate: '1' + date: '1608887202' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '84' + itemid: '11' + uid: '1' + rate: '4' + date: '1609066427' + ip: '::1' + source: '1' + votetype: '3' +- + ratingid: '83' + itemid: '7' + uid: '3' + rate: '9' + date: '1608888776' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '85' + itemid: '11' + uid: '2' + rate: '2' + date: '1609070268' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '86' + itemid: '11' + uid: '3' + rate: '2' + date: '1609070323' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '87' + itemid: '9' + uid: '2' + rate: '-1' + date: '1609070360' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '88' + itemid: '9' + uid: '3' + rate: '-1' + date: '1609070367' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '89' + itemid: '4' + uid: '1' + rate: '8' + date: '1609072806' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '90' + itemid: '4' + uid: '3' + rate: '4' + date: '1609072867' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '91' + itemid: '1' + uid: '3' rate: '5' - date: '1556391877' + date: '1609072898' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '92' + itemid: '4' + uid: '2' + rate: '10' + date: '1609073097' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '93' + itemid: '13' + uid: '3' + rate: '5' + date: '1609073168' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '94' + itemid: '13' + uid: '2' + rate: '3' + date: '1609074705' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '95' + itemid: '13' + uid: '1' + rate: '5' + date: '1609082130' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '96' + itemid: '12' + uid: '2' + rate: '5' + date: '1609082772' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '97' + itemid: '12' + uid: '3' + rate: '3' + date: '1609082942' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '870' + itemid: '12' + uid: '1' + rate: '5' + date: '1609538148' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '861' + itemid: '3' + uid: '1' + rate: '1' + date: '1609520318' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '862' + itemid: '6' + uid: '1' + rate: '-1' + date: '1609521721' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '863' + itemid: '6' + uid: '1' + rate: '-1' + date: '1609536526' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '864' + itemid: '6' + uid: '1' + rate: '-1' + date: '1609536980' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '865' + itemid: '6' + uid: '1' + rate: '-1' + date: '1609537043' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '866' + itemid: '6' + uid: '1' + rate: '1' + date: '1609537049' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '867' + itemid: '8' + uid: '1' + rate: '10' + date: '1609537199' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '868' + itemid: '8' + uid: '1' + rate: '10' + date: '1609537205' + ip: '::1' + source: '1' + votetype: '1' +- + ratingid: '869' + itemid: '8' + uid: '1' + rate: '10' + date: '1609537211' ip: '::1' + source: '1' + votetype: '1' diff --git a/xoops_version.php b/xoops_version.php index be6df046..218aaa3e 100644 --- a/xoops_version.php +++ b/xoops_version.php @@ -37,7 +37,7 @@ $modversion = [ 'version' => '1.08', 'module_status' => 'Alpha 3', - 'release_date' => '2020/09/03', + 'release_date' => '2021/01/01', 'name' => _MI_PUBLISHER_MD_NAME, 'description' => _MI_PUBLISHER_MD_DESC, 'author' => 'Trabis (www.Xuups.com)', @@ -977,7 +977,7 @@ 'description' => '_MI_PUBLISHER_ALLOWRATING_DSC', 'formtype' => 'yesno', 'valuetype' => 'int', - 'default' => 0, + 'default' => 1, 'category' => 'item', ]; |