-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from mambax7/master
5.0 Final merge
- Loading branch information
Showing
444 changed files
with
17,074 additions
and
12,142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
*~ | ||
\#* | ||
*.bak | ||
.idea/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
RewriteEngine on | ||
RewriteRule ^newbb/([a-z]+)-([0-9]+)(/(.+))? modules/newbb/seo.php?seoOp=$1&seoArg=$2&seoOther=$4&%{QUERY_STRING} [L] | ||
#.htaccess located in XOOPS_PATH. For SEO Links | ||
#RewriteRule ^modules/newbb/([a-z]+)-([0-9]+)(/(.+))? modules/newbb/seo.php?seoOp=$1&seoArg=$2&seoOther=$4&%{QUERY_STRING} [L] | ||
#.htaccess located in modules/newbb. For SEO Links | ||
#RewriteRule ^([a-z]+)-([0-9]+)(/(.+))? seo.php?seoOp=$1&seoArg=$2&seoOther=$4&%{QUERY_STRING} [L] | ||
|
||
#RewriteRule ^(.*)$ $1 [L] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,22 @@ | ||
checks: | ||
php: | ||
code_rating: true | ||
variable_existence: true | ||
useless_calls: true | ||
use_statement_alias_conflict: true | ||
unused_variables: true | ||
unused_properties: true | ||
unused_parameters: true | ||
unused_methods: true | ||
unreachable_code: true | ||
sql_injection_vulnerabilities: true | ||
security_vulnerabilities: true | ||
precedence_mistakes: true | ||
precedence_in_conditions: true | ||
parameter_non_unique: true | ||
no_property_on_interface: true | ||
no_non_implemented_abstract_methods: true | ||
deprecated_code_usage: true | ||
closure_use_not_conflicting: true | ||
closure_use_modifiable: true | ||
avoid_useless_overridden_methods: true | ||
avoid_conflicting_incrementers: true | ||
assignment_of_null_return: true | ||
verify_property_names: true | ||
verify_argument_usable_as_reference: true | ||
verify_access_scope_valid: true | ||
use_self_instead_of_fqcn: true | ||
too_many_arguments: true | ||
single_namespace_per_use: true | ||
return_doc_comment_if_not_inferrable: true | ||
return_doc_comments: true | ||
require_scope_for_methods: true | ||
require_scope_for_properties: true | ||
require_php_tag_first: true | ||
require_braces_around_control_structures: true | ||
psr2_control_structure_declaration: true | ||
psr2_switch_declaration: true | ||
psr2_class_declaration: true | ||
no_eval: true | ||
no_else_if_statements: true | ||
avoid_corrupting_byteorder_marks: true | ||
argument_type_checks: true | ||
php5_style_constructor: true | ||
parameter_doc_comments: true | ||
no_duplicate_arguments: true | ||
missing_arguments: true | ||
instanceof_class_exists: true | ||
foreach_traversable: true | ||
no_unnecessary_function_call_in_for_loop: true | ||
# language: php | ||
build: | ||
nodes: | ||
tests: true | ||
analysis: | ||
dependencies: | ||
after: | ||
# The following installs the most recent XOOPS CMS version, you might want | ||
# to install a specific release tag or branch instead. | ||
- git clone --depth=1 https://github.com/XOOPS/XoopsCore25 | ||
- git clone --depth=1 https://github.com/mambax7/tag | ||
project_setup: | ||
override: true | ||
tests: | ||
override: | ||
- php-scrutinizer-run --enable-security-analysis | ||
filter: | ||
dependency_paths: | ||
- XoopsCore25/* | ||
- tag/* | ||
- Xoopspoll | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
EXTRA/themes/templates_fulldiv_opacity/blocks/newbb_block_post.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<div class="outer forum_block_<{$block.disp_mode}>"> | ||
<{if $block.disp_mode == 0}> | ||
<div class="head align_center"> | ||
<div class="block_full_forum floatleft"><{$smarty.const._MB_NEWBB_FORUM}></div> | ||
<div class="block_full_topic floatleft"><{$smarty.const._MB_NEWBB_TITLE}></div> | ||
<div class="_col_end"><{$smarty.const._MB_NEWBB_AUTHOR}></div> | ||
<div class="clear"></div> | ||
</div> | ||
<{foreach item=topic from=$block.topics}> | ||
<div class="<{cycle values="even,odd"}>"> | ||
<div class="block_full_forum floatleft left"><a href="<{$topic.seo_forum_url}>"><{$topic.forum_name}></a></div> | ||
<div class="block_full_topic floatleft left"><a href="<{$topic.seo_url}>"><{$topic.title}></a></div> | ||
<div class="_col_end right"><{$topic.time}><br><{$topic.topic_poster}></div> | ||
<div class="clear"></div> | ||
</div> | ||
<{/foreach}> | ||
<{elseif $block.disp_mode == 1}> | ||
<div class="head align_center"> | ||
<div class="block_compact_topic floatleft"><{$smarty.const._MB_NEWBB_TOPIC}></div> | ||
<div class="_col_end"><{$smarty.const._MB_NEWBB_AUTHOR}></div> | ||
<div class="clear"></div> | ||
</div> | ||
<{foreach item=topic from=$block.topics}> | ||
<div class="<{cycle values="even,odd"}>"> | ||
<div class="block_compact_topic floatleft left"><a href="<{$topic.seo_url}>"><{$topic.title}></a></div> | ||
<div class="_col_end right"><{$topic.time}><br><{$topic.topic_poster}></div> | ||
<div class="clear"></div> | ||
</div> | ||
<{/foreach}> | ||
<{elseif $block.disp_mode == 2}> | ||
<{foreach item=topic from=$block.topics}> | ||
<div class="<{cycle values="even,odd"}>"> | ||
<div><a href="<{$topic.seo_url}>"><{$topic.title}></a></div> | ||
<div class="clear"></div> | ||
</div> | ||
<{/foreach}> | ||
<{else}> | ||
<div> | ||
<{foreach item=topic from=$block.topics}> | ||
<div><strong><a href="<{$topic.seo_url}>"><{$topic.title}></a></strong></div> | ||
<div> | ||
<a href="<{$topic.seo_forum_url}>"><{$topic.forum_name}></a> | | ||
<{$topic.topic_poster}> | <{$topic.time}> | ||
</div> | ||
<div class="post_text"><{$topic.post_text}></div> | ||
<{/foreach}> | ||
</div> | ||
<{/if}> | ||
</div> | ||
<div class="clear"></div> | ||
<{if $block.indexNav}> | ||
<div class="pagenav"> | ||
<a href="<{$block.seo_top_allposts}>"><{$smarty.const._MB_NEWBB_ALLPOSTS}></a> | | ||
<a href="<{$block.seo_top_allforums}>"><{$smarty.const._MB_NEWBB_VSTFRMS}></a> | ||
</div> | ||
<{/if}> |
File renamed without changes.
48 changes: 48 additions & 0 deletions
48
EXTRA/themes/templates_fulldiv_opacity/blocks/newbb_block_topic.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<div class="outer forum_block_<{$block.disp_mode}>"> | ||
<{if $block.disp_mode == 0}> | ||
<div class="head align_center"> | ||
<div class="block_full_forum floatleft"><{$smarty.const._MB_NEWBB_FORUM}></div> | ||
<div class="block_full_topic floatleft"><{$smarty.const._MB_NEWBB_TITLE}></div> | ||
<div class="block_full_reply floatleft"><{$smarty.const._MB_NEWBB_RPLS}></div> | ||
<div class="block_full_view floatleft"><{$smarty.const._MB_NEWBB_VIEWS}></div> | ||
<div class="_col_end"><{$smarty.const._MB_NEWBB_AUTHOR}></div> | ||
<div class="clear"></div> | ||
</div> | ||
<{foreach item=topic from=$block.topics}> | ||
<div class="align_center <{cycle values="even,odd"}>"> | ||
<div class="block_full_forum floatleft left"><a href="<{$topic.seo_forum_url}>"><{$topic.forum_name}></a></div> | ||
<div class="block_full_topic floatleft left"><a href="<{$topic.seo_topic_url}>"><{$topic.title}></a></div> | ||
<div class="block_full_reply floatleft"><{$topic.replies}></div> | ||
<div class="block_full_view floatleft"><{$topic.views}></div> | ||
<div class="_col_end right"><{$topic.time}><br><{$topic.topic_poster}></div> | ||
<div class="clear"></div> | ||
</div> | ||
<{/foreach}> | ||
<{elseif $block.disp_mode == 1}> | ||
<div class="head align_center"> | ||
<div class="block_compact_topic floatleft"><{$smarty.const._MB_NEWBB_TOPIC}></div> | ||
<div class="_col_end"><{$smarty.const._MB_NEWBB_AUTHOR}></div> | ||
<div class="clear"></div> | ||
</div> | ||
<{foreach item=topic from=$block.topics}> | ||
<div class="<{cycle values="even,odd"}>"> | ||
<div class="block_compact_topic floatleft left"><a href="<{$topic.seo_topic_url}>"><{$topic.title}></a></div> | ||
<div class="_col_end right"><{$topic.time}><br><{$topic.topic_poster}></div> | ||
<div class="clear"></div> | ||
</div> | ||
<{/foreach}> | ||
<{elseif $block.disp_mode == 2}> | ||
<{foreach item=topic from=$block.topics}> | ||
<div class="<{cycle values="even,odd"}>"> | ||
<div><a href="<{$topic.seo_topic_url}>"><{$topic.title}></a></div> | ||
</div> | ||
<{/foreach}> | ||
<{/if}> | ||
</div> | ||
<div class="clear"></div> | ||
<{if $block.indexNav}> | ||
<div class="pagenav"> | ||
<a href="<{$block.seo_top_alltopics}>"><{$smarty.const._MB_NEWBB_ALLTOPICS}></a> | | ||
<a href="<{$block.seo_top_allforums}>"><{$smarty.const._MB_NEWBB_VSTFRMS}></a> | ||
</div> | ||
<{/if}> |
1 change: 1 addition & 0 deletions
1
EXTRA/themes/templates_fulldiv_opacity/blocks/newbb_tag_block_cloud.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<{include file="db:tag_block_cloud.tpl"}> |
1 change: 1 addition & 0 deletions
1
EXTRA/themes/templates_fulldiv_opacity/blocks/newbb_tag_block_top.tpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<{include file="db:tag_block_top.tpl"}> |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file renamed
BIN
+747 Bytes
...ulldiv_opacity/images/icon/googleplus.png → ...ulldiv_opacity/images/icon/googleplus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file renamed
BIN
+798 Bytes
...tes_fulldiv_opacity/images/icon/minus.png → ...tes_fulldiv_opacity/images/icon/minus.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file renamed
BIN
+979 Bytes
...fulldiv_opacity/images/icon/new_forum.png → ...fulldiv_opacity/images/icon/new_forum.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file renamed
BIN
+799 Bytes
...ates_fulldiv_opacity/images/icon/plus.png → ...ates_fulldiv_opacity/images/icon/plus.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
1 change: 1 addition & 0 deletions
1
EXTRA/themes/templates_fulldiv_opacity/images/language/english/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<script>history.go(-1);</script> |
Binary file renamed
BIN
+576 Bytes
...ity/images/language/persian/new_forum.png → ...ity/images/language/english/new_forum.png
Oops, something went wrong.
Binary file renamed
BIN
+594 Bytes
.../images/language/persian/new_subforum.png → .../images/language/english/new_subforum.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
Binary file renamed
BIN
+993 Bytes
...pacity/images/language/english/p_bann.png → ...pacity/images/language/english/p_bann.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file renamed
BIN
+2.07 KB
...pacity/images/language/english/t_poll.png → ...pacity/images/language/english/t_poll.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
1 change: 1 addition & 0 deletions
1
EXTRA/themes/templates_fulldiv_opacity/images/language/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<script>history.go(-1);</script> |
File renamed without changes.
Binary file renamed
BIN
+576 Bytes
...ity/images/language/english/new_forum.png → ...ity/images/language/persian/new_forum.png
Oops, something went wrong.
Binary file renamed
BIN
+594 Bytes
.../images/language/english/new_subforum.png → .../images/language/persian/new_subforum.png
Oops, something went wrong.
Binary file renamed
BIN
+2.38 KB
...acity/images/language/persian/offline.png → ...acity/images/language/persian/offline.png
Oops, something went wrong.
Binary file renamed
BIN
+2.32 KB
...pacity/images/language/persian/online.png → ...pacity/images/language/persian/online.png
Oops, something went wrong.
Binary file renamed
BIN
+993 Bytes
...pacity/images/language/persian/p_bann.png → ...pacity/images/language/persian/p_bann.png
Oops, something went wrong.
Binary file renamed
BIN
+2.39 KB
...city/images/language/persian/p_delete.png → ...city/images/language/persian/p_delete.png
Oops, something went wrong.
Binary file renamed
BIN
+1.74 KB
...pacity/images/language/persian/p_edit.png → ...pacity/images/language/persian/p_edit.png
Oops, something went wrong.
Binary file renamed
BIN
+2.59 KB
...acity/images/language/persian/p_quote.png → ...acity/images/language/persian/p_quote.png
Oops, something went wrong.
Binary file renamed
BIN
+1.71 KB
...acity/images/language/persian/p_reply.png → ...acity/images/language/persian/p_reply.png
Oops, something went wrong.
Binary file renamed
BIN
+2.64 KB
...city/images/language/persian/p_report.png → ...city/images/language/persian/p_report.png
Oops, something went wrong.
Binary file renamed
BIN
+1.13 KB
..._opacity/images/language/persian/p_up.png → ..._opacity/images/language/persian/p_up.png
Oops, something went wrong.
Binary file renamed
BIN
+7.57 KB
...opacity/images/language/persian/t_new.png → ...opacity/images/language/persian/t_new.png
Oops, something went wrong.
Binary file renamed
BIN
+7.59 KB
...pacity/images/language/persian/t_poll.png → ...pacity/images/language/persian/t_poll.png
Oops, something went wrong.
Binary file renamed
BIN
+7.52 KB
..._opacity/images/language/persian/t_qr.png → ..._opacity/images/language/persian/t_qr.png
Oops, something went wrong.
File renamed without changes
Binary file renamed
BIN
+7.58 KB
...acity/images/language/persian/t_reply.png → ...acity/images/language/persian/t_reply.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.