Permalink
Browse files

Clean up and normalize all source code comments

  • Loading branch information...
1 parent d78621c commit f8b7dfe3cd6c6cc71a1572686efa32168aa7380d @svivian svivian committed Nov 3, 2014
Showing with 33 additions and 749 deletions.
  1. +0 −4 index.php
  2. +0 −4 qa-config-example.php
  3. +0 −4 qa-external-example/qa-external-users.php
  4. +14 −2 qa-include/Q2A/Util/String.php
  5. +14 −3 qa-include/Q2A/Util/Usage.php
  6. +0 −4 qa-include/ajax/answer.php
  7. +0 −4 qa-include/ajax/asktitle.php
  8. +0 −4 qa-include/ajax/category.php
  9. +0 −4 qa-include/ajax/click-admin.php
  10. +0 −4 qa-include/ajax/click-answer.php
  11. +0 −4 qa-include/ajax/click-comment.php
  12. +1 −5 qa-include/ajax/click-pm.php
  13. +0 −4 qa-include/ajax/click-wall.php
  14. +0 −4 qa-include/ajax/comment.php
  15. +0 −4 qa-include/ajax/favorite.php
  16. +0 −4 qa-include/ajax/mailing.php
  17. +0 −4 qa-include/ajax/notice.php
  18. +0 −4 qa-include/ajax/recalc.php
  19. +0 −4 qa-include/ajax/show-comments.php
  20. +0 −4 qa-include/ajax/version.php
  21. +0 −4 qa-include/ajax/vote.php
  22. +0 −4 qa-include/ajax/wallpost.php
  23. +0 −4 qa-include/app/admin.php
  24. +0 −4 qa-include/app/blobs.php
  25. +0 −4 qa-include/app/captcha.php
  26. +0 −4 qa-include/app/cookies.php
  27. +0 −4 qa-include/app/emails.php
  28. +0 −4 qa-include/app/events.php
  29. +0 −4 qa-include/app/favorites.php
  30. +0 −4 qa-include/app/format.php
  31. +0 −4 qa-include/app/limits.php
  32. +0 −4 qa-include/app/mailing.php
  33. +0 −4 qa-include/app/messages.php
  34. +0 −4 qa-include/app/options.php
  35. +0 −4 qa-include/app/post-create.php
  36. +0 −4 qa-include/app/post-update.php
  37. +0 −4 qa-include/app/posts.php
  38. +0 −4 qa-include/app/q-list.php
  39. +0 −4 qa-include/app/recalc.php
  40. +0 −4 qa-include/app/search.php
  41. +0 −4 qa-include/app/updates.php
  42. +0 −4 qa-include/app/upload.php
  43. +0 −4 qa-include/app/users-edit.php
  44. +0 −4 qa-include/app/users.php
  45. +0 −4 qa-include/app/votes.php
  46. +0 −4 qa-include/db/admin.php
  47. +0 −4 qa-include/db/blobs.php
  48. +0 −4 qa-include/db/cache.php
  49. +0 −4 qa-include/db/cookies.php
  50. +0 −4 qa-include/db/events.php
  51. +0 −4 qa-include/db/favorites.php
  52. +0 −4 qa-include/db/hotness.php
  53. +0 −4 qa-include/db/install.php
  54. +0 −4 qa-include/db/limits.php
  55. +0 −4 qa-include/db/maxima.php
  56. +0 −4 qa-include/db/messages.php
  57. +0 −4 qa-include/db/metas.php
  58. +0 −4 qa-include/db/notices.php
  59. +0 −4 qa-include/db/options.php
  60. +0 −4 qa-include/db/points.php
  61. +0 −4 qa-include/db/post-create.php
  62. +0 −4 qa-include/db/post-update.php
  63. +0 −4 qa-include/db/recalc.php
  64. +0 −4 qa-include/db/selects.php
  65. +0 −4 qa-include/db/users.php
  66. +0 −4 qa-include/db/votes.php
  67. +0 −4 qa-include/lang/qa-lang-admin.php
  68. +0 −4 qa-include/lang/qa-lang-emails.php
  69. +0 −4 qa-include/lang/qa-lang-main.php
  70. +0 −4 qa-include/lang/qa-lang-misc.php
  71. +0 −4 qa-include/lang/qa-lang-options.php
  72. +0 −4 qa-include/lang/qa-lang-profile.php
  73. +0 −4 qa-include/lang/qa-lang-question.php
  74. +0 −4 qa-include/lang/qa-lang-users.php
  75. +0 −4 qa-include/pages/account.php
  76. +0 −4 qa-include/pages/activity.php
  77. +0 −4 qa-include/pages/admin/admin-approve.php
  78. +0 −4 qa-include/pages/admin/admin-categories.php
  79. +0 −4 qa-include/pages/admin/admin-default.php
  80. +0 −4 qa-include/pages/admin/admin-flagged.php
  81. +0 −4 qa-include/pages/admin/admin-hidden.php
  82. +0 −4 qa-include/pages/admin/admin-moderate.php
  83. +0 −4 qa-include/pages/admin/admin-pages.php
  84. +0 −4 qa-include/pages/admin/admin-plugins.php
  85. +0 −4 qa-include/pages/admin/admin-points.php
  86. +0 −4 qa-include/pages/admin/admin-recalc.php
  87. +0 −4 qa-include/pages/admin/admin-stats.php
  88. +0 −4 qa-include/pages/admin/admin-userfields.php
  89. +0 −4 qa-include/pages/admin/admin-usertitles.php
  90. +0 −4 qa-include/pages/admin/admin-widgets.php
  91. +0 −4 qa-include/pages/answers.php
  92. +0 −4 qa-include/pages/ask.php
  93. +0 −4 qa-include/pages/categories.php
  94. +0 −4 qa-include/pages/comments.php
  95. +0 −4 qa-include/pages/confirm.php
  96. +0 −4 qa-include/pages/default.php
  97. +1 −5 qa-include/pages/favorites-list.php
  98. +0 −4 qa-include/pages/favorites.php
  99. +0 −4 qa-include/pages/feedback.php
  100. +0 −4 qa-include/pages/forgot.php
  101. +0 −4 qa-include/pages/hot.php
  102. +0 −4 qa-include/pages/ip.php
  103. +0 −4 qa-include/pages/login.php
  104. +0 −4 qa-include/pages/logout.php
  105. +0 −4 qa-include/pages/message.php
  106. +1 −5 qa-include/pages/messages.php
  107. +0 −4 qa-include/pages/question-post.php
  108. +0 −4 qa-include/pages/question-submit.php
  109. +0 −4 qa-include/pages/question-view.php
  110. +0 −4 qa-include/pages/question.php
  111. +0 −4 qa-include/pages/questions.php
  112. +0 −4 qa-include/pages/register.php
  113. +0 −4 qa-include/pages/reset.php
  114. +0 −4 qa-include/pages/search.php
  115. +0 −4 qa-include/pages/tag.php
  116. +0 −4 qa-include/pages/tags.php
  117. +0 −4 qa-include/pages/unanswered.php
  118. +0 −4 qa-include/pages/unsubscribe.php
  119. +0 −4 qa-include/pages/updates.php
  120. +0 −4 qa-include/pages/user-activity.php
  121. +0 −4 qa-include/pages/user-answers.php
  122. +0 −4 qa-include/pages/user-profile.php
  123. +0 −4 qa-include/pages/user-questions.php
  124. +0 −4 qa-include/pages/user-wall.php
  125. +0 −4 qa-include/pages/user.php
  126. +0 −4 qa-include/pages/users-blocked.php
  127. +0 −4 qa-include/pages/users-special.php
  128. +0 −4 qa-include/pages/users.php
  129. +0 −4 qa-include/plugins/qa-editor-basic.php
  130. +0 −4 qa-include/plugins/qa-event-limits.php
  131. +0 −4 qa-include/plugins/qa-event-notify.php
  132. +0 −4 qa-include/plugins/qa-event-updates.php
  133. +0 −4 qa-include/plugins/qa-filter-basic.php
  134. +0 −4 qa-include/plugins/qa-layer-voters-flaggers.php
  135. +0 −4 qa-include/plugins/qa-search-basic.php
  136. +0 −4 qa-include/plugins/qa-viewer-basic.php
  137. +0 −4 qa-include/plugins/qa-widget-activity-count.php
  138. +0 −4 qa-include/plugins/qa-widget-ask-box.php
  139. +0 −4 qa-include/plugins/qa-widget-related-qs.php
  140. +0 −4 qa-include/qa-ajax.php
  141. +0 −4 qa-include/qa-base.php
  142. +0 −4 qa-include/qa-blob.php
  143. +0 −4 qa-include/qa-check-lang.php
  144. +0 −4 qa-include/qa-db.php
  145. +0 −4 qa-include/qa-feed.php
  146. +0 −4 qa-include/qa-image.php
  147. +0 −4 qa-include/qa-index.php
  148. +0 −4 qa-include/qa-install.php
  149. +0 −4 qa-include/qa-page-not-found.php
  150. +0 −4 qa-include/qa-page.php
  151. +0 −4 qa-include/qa-theme-base.php
  152. +0 −4 qa-include/qa-url-test.php
  153. +0 −4 qa-include/util/external-users-wp.php
  154. +0 −4 qa-include/util/image.php
  155. +0 −4 qa-include/util/sort.php
  156. +0 −4 qa-include/util/string.php
  157. +1 −4 qa-lang/en-GB/metadata.php
  158. +0 −4 qa-lang/en-GB/qa-lang-admin.php
  159. +0 −4 qa-plugin/basic-adsense/qa-basic-adsense.php
  160. +0 −4 qa-plugin/basic-adsense/qa-plugin.php
  161. +0 −4 qa-plugin/event-logger/qa-event-logger.php
  162. +0 −4 qa-plugin/event-logger/qa-plugin.php
  163. +0 −4 qa-plugin/example-page/qa-example-lang-default.php
  164. +0 −4 qa-plugin/example-page/qa-example-lang-en-GB.php
  165. +0 −4 qa-plugin/example-page/qa-example-page.php
  166. +0 −4 qa-plugin/example-page/qa-plugin.php
  167. +0 −4 qa-plugin/facebook-login/qa-facebook-layer.php
  168. +0 −4 qa-plugin/facebook-login/qa-facebook-login-page.php
  169. +0 −4 qa-plugin/facebook-login/qa-facebook-login.php
  170. +0 −4 qa-plugin/facebook-login/qa-plugin.php
  171. +0 −4 qa-plugin/mouseover-layer/qa-mouseover-admin-form.php
  172. +0 −4 qa-plugin/mouseover-layer/qa-mouseover-layer.php
  173. +0 −4 qa-plugin/mouseover-layer/qa-plugin.php
  174. +0 −4 qa-plugin/opensearch-support/qa-opensearch-layer.php
  175. +0 −4 qa-plugin/opensearch-support/qa-opensearch-page.php
  176. +0 −4 qa-plugin/opensearch-support/qa-plugin.php
  177. +0 −4 qa-plugin/recaptcha-captcha/qa-plugin.php
  178. +0 −4 qa-plugin/recaptcha-captcha/qa-recaptcha-captcha.php
  179. +0 −4 qa-plugin/tag-cloud-widget/qa-plugin.php
  180. +0 −4 qa-plugin/tag-cloud-widget/qa-tag-cloud.php
  181. +0 −4 qa-plugin/wysiwyg-editor/qa-plugin.php
  182. +0 −4 qa-plugin/wysiwyg-editor/qa-wysiwyg-editor.php
  183. +0 −4 qa-plugin/wysiwyg-editor/qa-wysiwyg-upload.php
  184. +0 −4 qa-plugin/xml-sitemap/qa-plugin.php
  185. +0 −4 qa-plugin/xml-sitemap/qa-xml-sitemap.php
  186. +0 −4 qa-theme/Candy/qa-theme.php
  187. +1 −5 qa-theme/Classic/qa-theme.php
View
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: index.php
- Version: See define()s at top of qa-include/qa-base.php
Description: A stub that only sets up the Q2A root and includes qa-index.php
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-config-example.php
- Version: See define()s at top of qa-include/qa-base.php
Description: After renaming, use this to set up database details and other stuff
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-external-example/qa-external-users.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Example of how to integrate with your own user database
@@ -1,11 +1,23 @@
<?php
/*
- Question2Answer (c) Gideon Greenspan
+ Question2Answer by Gideon Greenspan and contributors
http://www.question2answer.org/
- License: GPLv2+ <http://www.question2answer.org/license.php>
File: qa-include/Util/String.php
Description: Some useful string-related stuff
+
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ More about this license: http://www.question2answer.org/license.php
*/
class Q2A_Util_String
@@ -1,12 +1,23 @@
<?php
-
/*
- Question2Answer (c) Gideon Greenspan
+ Question2Answer by Gideon Greenspan and contributors
http://www.question2answer.org/
- License: GPLv2+ <http://www.question2answer.org/license.php>
File: qa-include/qa-util-debug.php
Description: Debugging stuff, currently used for tracking resource usage
+
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License
+ as published by the Free Software Foundation; either version 2
+ of the License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ More about this license: http://www.question2answer.org/license.php
*/
class Q2A_Util_Usage
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-ajax-answer.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax create answer requests
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-ajax-asktitle.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax request based on ask a question title
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-ajax-category.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax category information requests
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-ajax-click-admin.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax single clicks on posts in admin section
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-ajax-click-answer.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax single clicks on answer
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-ajax-click-comment.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax single clicks on comments
@@ -1,13 +1,9 @@
<?php
-
/*
- Question2Answer (c) Gideon Greenspan
-
+ Question2Answer by Gideon Greenspan and contributors
http://www.question2answer.org/
-
File: qa-include/qa-ajax-click-pm.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax single clicks on private messages
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-ajax-click-wall.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax single clicks on wall posts
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-ajax-comment.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax create comment requests
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-ajax-favorite.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax favorite requests
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-ajax-mailing.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax mailing loop requests
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-ajax-notice.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax requests to close a notice
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-ajax-recalc.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax admin recalculation requests
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-ajax-show-comments.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax request to view full comment list
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-ajax-version.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax version check requests
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-ajax-vote.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax voting requests
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-ajax-wallpost.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Server-side response to Ajax wall post requests
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-app-admin.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Functions used in the admin center pages
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-app-blobs.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Application-level blob-management functions
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-app-captcha.php
- Version: See define()s at top of qa-include/qa-base.php
Description: Wrapper functions and utilities for captcha modules
@@ -1,13 +1,9 @@
<?php
-
/*
Question2Answer by Gideon Greenspan and contributors
-
http://www.question2answer.org/
-
File: qa-include/qa-app-cookies.php
- Version: See define()s at top of qa-include/qa-base.php
Description: User cookie management (application level) for tracking anonymous posts
Oops, something went wrong.

0 comments on commit f8b7dfe

Please sign in to comment.