Oppaitime's version of Gazelle
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

array.php 7.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. <?
  2. /*
  3. * The $Types array is the backbone of the reports system and is stored here so it can
  4. * be included on the pages that need it without clogging up the pages that don't.
  5. * Important thing to note about the array:
  6. * 1. When coding for a non music site, you need to ensure that the top level of the
  7. * array lines up with the $Categories array in your config.php.
  8. * 2. The first sub array contains resolves that are present on every report type
  9. * regardless of category.
  10. * 3. The only part that shouldn't be self-explanatory is that for the tracks field in
  11. * the report_fields arrays, 0 means not shown, 1 means required, 2 means required but
  12. * you can't select the 'All' box.
  13. * 4. The current report_fields that are set up are tracks, sitelink, link and image. If
  14. * you wanted to add a new one, you'd need to add a field to the reportsv2 table, elements
  15. * to the relevant report_fields arrays here, add the HTML in ajax_report and add security
  16. * in takereport.
  17. */
  18. $Types = array(
  19. 'master' => array(
  20. 'dupe' => array(
  21. 'priority' => '10',
  22. 'reason' => '0',
  23. 'title' => 'Dupe',
  24. 'report_messages' => array(
  25. 'Please specify a link to the original torrent.'
  26. ),
  27. 'report_fields' => array(
  28. 'sitelink' => '1'
  29. ),
  30. 'resolve_options' => array(
  31. 'upload' => '0',
  32. 'warn' => '0',
  33. 'delete' => '1',
  34. 'pm' => '[rule]r1.1.3[/rule]. Your torrent was reported becasue it was a duplicate of another torrent.'
  35. )
  36. ),
  37. 'banned' => array(
  38. 'priority' => '230',
  39. 'reason' => '14',
  40. 'title' => 'Specifically Banned',
  41. 'report_messages' => array(
  42. 'Please specify exactly which entry on the Do Not Upload list this is violating.'
  43. ),
  44. 'report_fields' => array(
  45. ),
  46. 'resolve_options' => array(
  47. 'upload' =>' 0',
  48. 'warn' => '4',
  49. 'delete' => '1',
  50. 'pm' => '[rule]h1.3[/rule]. You have uploaded material that is currently forbidden. Items on the Do Not Upload (DNU) list (at the top of the [url='.site_url().'upload.php]upload page[/url]) and in the [url='.site_url().'rules.php?p=upload#h1.3]Specifically Banned[/url] portion of the uploading rules cannot be uploaded to the site. Do not upload them unless your torrent meets a condition specified in the comments of the DNU list.
  51. Your torrent was reported because it contained material from the DNU list or from the Specifically Banned section of the rules.'
  52. )
  53. ),
  54. 'urgent' => array(
  55. 'priority' => '280',
  56. 'reason' => '-1',
  57. 'title' => 'Urgent',
  58. 'report_messages' => array(
  59. 'This report type is only for very urgent reports, usually for personal information being found within a torrent.',
  60. 'Abusing the "Urgent" report type could result in a warning or worse.',
  61. 'As this report type gives the staff absolutely no information about the problem, please be as clear as possible in your comments about what the problem is.'
  62. ),
  63. 'report_fields' => array(
  64. 'sitelink' => '0',
  65. 'link' => '0',
  66. 'image' => '0',
  67. ),
  68. 'resolve_options' => array(
  69. 'upload' => '0',
  70. 'warn' => '0',
  71. 'delete' => '0',
  72. 'pm' => ''
  73. )
  74. ),
  75. 'trump' => array(
  76. 'priority' => '20',
  77. 'reason' => '1',
  78. 'title' => 'Trump',
  79. 'report_messages' => array(
  80. 'Please list the specific reason(s) the newer torrent trumps the older one.',
  81. 'Please make sure you are reporting the torrent <strong class="important_text">which has been trumped</strong> and should be deleted, not the torrent that you think should remain on site.'
  82. ),
  83. 'report_fields' => array(
  84. 'sitelink' => '1'
  85. ),
  86. 'resolve_options' => array(
  87. 'upload' => '0',
  88. 'warn' => '0',
  89. 'delete' => '1',
  90. 'pm' => 'Your torrent was reported because it was trumped by another torrent.'
  91. )
  92. ),
  93. 'notporn' => array(
  94. 'priority' => '100',
  95. 'reason' => '-1',
  96. 'title' => 'Not Pornographic',
  97. 'report_messages' => array(
  98. 'This report type is for reporting torrents that are not pornographic.'
  99. ),
  100. 'report_fields' => array(
  101. ),
  102. 'resolve_options' => array(
  103. 'upload' => '0',
  104. 'warn' => '0',
  105. 'delete' => '1',
  106. 'pm' => '[rule]r1.1.2[/rule]. Your torrent was reported beacuse it was not pornographic. All torrents on '.site_url().' must be pornographic.'
  107. )
  108. ),
  109. 'lang' => array(
  110. 'priority' => '100',
  111. 'reason' => '-1',
  112. 'title' => 'Disallowed Language',
  113. 'report_messages' => array(
  114. 'This report type is for reporting torrent that contain no Japanese or English language content.'
  115. ),
  116. 'report_fields' => array(
  117. ),
  118. 'resolve_options' => array(
  119. 'upload' => '0',
  120. 'warn' => '0',
  121. 'delete' => '1',
  122. 'pm' => '[rule]r1.1.7[/rule]. Your torrent was reported because it contained neither Japanese nor English text/audio.'
  123. )
  124. ),
  125. 'metadata' => array(
  126. 'priority' => '100',
  127. 'reason' => '-1',
  128. 'title' => 'Incorrect Metadata',
  129. 'report_messages' => array(
  130. 'This report type is for reporting improperly/incorrectly tagged torrents.',
  131. 'Please describe what changes need to be made to the metadata.'
  132. ),
  133. 'report_fields' => array(
  134. ),
  135. 'resolve_options' => array(
  136. 'upload' => '0',
  137. 'warn' => '0',
  138. 'delete' => '0',
  139. 'pm' => 'Your torrent was reported for having incorrect metadata.'
  140. )
  141. ),
  142. 'other' => array(
  143. 'priority' => '200',
  144. 'reason' => '-1',
  145. 'title' => 'Other',
  146. 'report_messages' => array(
  147. 'Please include as much information as possible to verify the report.'
  148. ),
  149. 'report_fields' => array(
  150. ),
  151. 'resolve_options' => array(
  152. 'upload' => '0',
  153. 'warn' => '0',
  154. 'delete' => '0',
  155. 'pm' => ''
  156. )
  157. )
  158. ),
  159. '1' => array(
  160. ),
  161. '2' => array(
  162. ),
  163. '3' => array(
  164. ),
  165. '4' => array(
  166. 'install' => array(
  167. 'priority' => '100',
  168. 'reason' => '-1',
  169. 'title' => 'Unclear Installation Process',
  170. 'report_messages' => array(
  171. 'This report type is for reporting game torrents with vague or unclear installation or usage instructions.',
  172. 'Please describe the issue in detail.'
  173. ),
  174. 'report_fields' => array(
  175. ),
  176. 'resolve_options' => array(
  177. 'upload' => '0',
  178. 'warn' => '0',
  179. 'delete' => '0',
  180. 'pm' => '[rule]4.1.5[/rule]. Your torrent was reported because the usage or installation instructions were vague or unclear.'
  181. )
  182. ),
  183. 'nocrack' => array(
  184. 'priority' => '100',
  185. 'reason' => '-1',
  186. 'title' => 'DRM Without Crack',
  187. 'report_messages' => array(
  188. 'This report type is for reporting game torrents that contain DRM, but do not include a crack.'
  189. ),
  190. 'report_fields' => array(
  191. ),
  192. 'resolve_options' => array(
  193. 'upload' => '0',
  194. 'warn' => '1',
  195. 'delete' => '1',
  196. 'pm' => '[rule]r4.1.3[/rule]. Your torrent was reported because it contained DRM, but did not include a crack.'
  197. )
  198. )
  199. )
  200. );