Merge branch 'master' into '011_tokudome'
Masterから差分を取得 See merge request !26
Showing
17 changed files
with
140 additions
and
134 deletions
.htaccess
deleted
100644 → 0
1 | # AddHandler x-httpd-php5619 .php | ||
2 | |||
3 | |||
4 | Options +SymLinksIfOwnerMatch | ||
5 | |||
6 | Options -Indexes | ||
7 | |||
8 | RewriteEngine on | ||
9 | |||
10 | |||
11 | ## Begin - Rewrite rules to block out some common exploits. | ||
12 | # If you experience problems on your site then comment out the operations listed | ||
13 | # below by adding a # to the beginning of the line. | ||
14 | # This attempts to block the most common type of exploit `attempts` on Joomla! | ||
15 | # | ||
16 | # Block any script trying to base64_encode data within the URL. | ||
17 | RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR] | ||
18 | # Block any script that includes a <script> tag in URL. | ||
19 | RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR] | ||
20 | # Block any script trying to set a PHP GLOBALS variable via URL. | ||
21 | RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] | ||
22 | # Block any script trying to modify a _REQUEST variable via URL. | ||
23 | RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) | ||
24 | # Return 403 Forbidden header and show the content of the root home page | ||
25 | RewriteRule .* index.php [F] | ||
26 | # | ||
27 | ## End - Rewrite rules to block out some common exploits. | ||
28 | |||
29 | ## Begin - Custom redirects | ||
30 | # | ||
31 | # If you need to redirect some pages, or set a canonical non-www to | ||
32 | # www redirect (or vice versa), place that code here. Ensure those | ||
33 | # redirects use the correct RewriteRule syntax and the [R=301,L] flags. | ||
34 | # | ||
35 | ## End - Custom redirects | ||
36 | |||
37 | ## | ||
38 | # Uncomment the following line if your webserver's URL | ||
39 | # is not directly related to physical file paths. | ||
40 | # Update Your Joomla! Directory (just / for root). | ||
41 | ## | ||
42 | |||
43 | # RewriteBase / | ||
44 | |||
45 | ## Begin - Joomla! core SEF Section. | ||
46 | # | ||
47 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] | ||
48 | # | ||
49 | # If the requested path and file is not /index.php and the request | ||
50 | # has not already been internally rewritten to the index.php script | ||
51 | RewriteCond %{REQUEST_URI} !^/index\.php | ||
52 | # and the requested path and file doesn't directly match a physical file | ||
53 | RewriteCond %{REQUEST_FILENAME} !-f | ||
54 | # and the requested path and file doesn't directly match a physical folder | ||
55 | RewriteCond %{REQUEST_FILENAME} !-d | ||
56 | # internally rewrite the request to the index.php script | ||
57 | RewriteRule .* index.php [L] | ||
58 | # | ||
59 | ## End - Joomla! core SEF Section. | ||
60 | |||
61 | |||
62 | RewriteEngine On | ||
63 | # RewriteCond %{HTTPS} off | ||
64 | # RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] | ||
65 | |||
66 | #20200122 - IPアクセスリダイレクトnozaki | ||
67 | RewriteBase / | ||
68 | RewriteCond %{HTTP_HOST} ^18\.178\.92\.128$ [NC] | ||
69 | RewriteRule .* https://www.nifs-k.ac.jp%{REQUEST_URI} [R=302,L] | ||
70 | |||
71 | # 20200809 gitignore アクセス禁止 | ||
72 | RedirectMatch 404 /\.git | ||
73 | |||
74 | <IfModule mod_siteguard.c> | ||
75 | SiteGuard_User_ExcludeSig ip(202.95.45.168) | ||
76 | SiteGuard_User_ExcludeSig ip(202.24.160.0/21) | ||
77 | SiteGuard_User_ExcludeSig ip(210.137.6.192/26) | ||
78 | SiteGuard_User_ExcludeSig ip(210.237.39.72) | ||
79 | SiteGuard_User_ExcludeSig ip(210.237.36.185) | ||
80 | SiteGuard_User_ExcludeSig ip(18.178.92.128) | ||
81 | </IfModule> |
1 | # AddHandler x-httpd-php5619 .php | ||
2 | |||
3 | |||
4 | Options +SymLinksIfOwnerMatch | ||
5 | |||
6 | Options -Indexes | ||
7 | |||
8 | RewriteEngine on | ||
9 | |||
10 | |||
11 | ## Begin - Rewrite rules to block out some common exploits. | ||
12 | # If you experience problems on your site then comment out the operations listed | ||
13 | # below by adding a # to the beginning of the line. | ||
14 | # This attempts to block the most common type of exploit `attempts` on Joomla! | ||
15 | # | ||
16 | # Block any script trying to base64_encode data within the URL. | ||
17 | RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR] | ||
18 | # Block any script that includes a <script> tag in URL. | ||
19 | RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR] | ||
20 | # Block any script trying to set a PHP GLOBALS variable via URL. | ||
21 | RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] | ||
22 | # Block any script trying to modify a _REQUEST variable via URL. | ||
23 | RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) | ||
24 | # Return 403 Forbidden header and show the content of the root home page | ||
25 | RewriteRule .* index.php [F] | ||
26 | # | ||
27 | ## End - Rewrite rules to block out some common exploits. | ||
28 | |||
29 | ## Begin - Custom redirects | ||
30 | # | ||
31 | # If you need to redirect some pages, or set a canonical non-www to | ||
32 | # www redirect (or vice versa), place that code here. Ensure those | ||
33 | # redirects use the correct RewriteRule syntax and the [R=301,L] flags. | ||
34 | # | ||
35 | ## End - Custom redirects | ||
36 | |||
37 | ## | ||
38 | # Uncomment the following line if your webserver's URL | ||
39 | # is not directly related to physical file paths. | ||
40 | # Update Your Joomla! Directory (just / for root). | ||
41 | ## | ||
42 | |||
43 | # RewriteBase / | ||
44 | |||
45 | ## Begin - Joomla! core SEF Section. | ||
46 | # | ||
47 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] | ||
48 | # | ||
49 | # If the requested path and file is not /index.php and the request | ||
50 | # has not already been internally rewritten to the index.php script | ||
51 | RewriteCond %{REQUEST_URI} !^/index\.php | ||
52 | # and the requested path and file doesn't directly match a physical file | ||
53 | RewriteCond %{REQUEST_FILENAME} !-f | ||
54 | # and the requested path and file doesn't directly match a physical folder | ||
55 | RewriteCond %{REQUEST_FILENAME} !-d | ||
56 | # internally rewrite the request to the index.php script | ||
57 | RewriteRule .* index.php [L] | ||
58 | # | ||
59 | ## End - Joomla! core SEF Section. | ||
60 | |||
61 | |||
62 | RewriteEngine On | ||
63 | # RewriteCond %{HTTPS} off | ||
64 | # RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R,L] | ||
65 | |||
66 | #20200122 - IPアクセスリダイレクトnozaki | ||
67 | RewriteBase / | ||
68 | RewriteCond %{HTTP_HOST} ^18\.178\.92\.128$ [NC] | ||
69 | RewriteRule .* https://www.nifs-k.ac.jp%{REQUEST_URI} [R=302,L] | ||
70 | |||
71 | # 20200809 gitignore アクセス禁止 | ||
72 | RedirectMatch 404 /\.git | ||
73 | |||
74 | <IfModule mod_siteguard.c> | ||
75 | SiteGuard_User_ExcludeSig ip(202.95.45.168) | ||
76 | SiteGuard_User_ExcludeSig ip(202.24.160.0/21) | ||
77 | SiteGuard_User_ExcludeSig ip(210.137.6.192/26) | ||
78 | SiteGuard_User_ExcludeSig ip(210.237.39.72) | ||
79 | SiteGuard_User_ExcludeSig ip(210.237.36.185) | ||
80 | SiteGuard_User_ExcludeSig ip(18.178.92.128) | ||
81 | </IfModule> | ... | ... |
1 | ; Joomla! Project | ||
2 | ; Copyright (C) 2005 - 2019 Open Source Matters. All rights reserved. | ||
3 | ; License GNU General Public License version 2 or later; see LICENSE.txt | ||
4 | ; Note : All ini files need to be saved as UTF-8 | ||
5 | |||
6 | MOD_ARTICLES_ARCHIVE_CUSTOM="Articles - Archived - custom" | ||
7 | MOD_ARTICLES_ARCHIVE_CUSTOM_FIELD_COUNT_LABEL="# of Months" | ||
8 | MOD_ARTICLES_ARCHIVE_CUSTOM_FIELD_COUNT_DESC="The number of months to display (the default is 10)." | ||
9 | MOD_ARTICLES_ARCHIVE_CUSTOM_XML_DESCRIPTION="Display a list of calendar months, including published articles. This list is automatically generated when you create a published article." | ||
10 | MOD_ARTICLES_ARCHIVE_CUSTOM_DATE="%1$s, %2$s" | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | ; Joomla! Project | ||
2 | ; Copyright (C) 2005 - 2019 Open Source Matters. All rights reserved. | ||
3 | ; License GNU General Public License version 2 or later; see LICENSE.txt | ||
4 | ; Note : All ini files need to be saved as UTF-8 | ||
5 | |||
6 | MOD_ARTICLES_ARCHIVE_CUSTOM="Articles - Archived - custom" | ||
7 | MOD_ARTICLES_ARCHIVE_CUSTOM_XML_DESCRIPTION="Display a list of calendar months, including published articles. This list is automatically generated when you create a published article." | ||
8 | MOD_ARTICLES_ARCHIVE_CUSTOM_LAYOUT_DEFAULT="Default" | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | ; Joomla! Project | ||
2 | ; Copyright (C) 2005 - 2019 Open Source Matters. All rights reserved. | ||
3 | ; License GNU General Public License version 2 or later; see LICENSE.txt | ||
4 | ; Note : All ini files need to be saved as UTF-8 | ||
5 | |||
6 | MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM="InformationArticles - Archived - custom" | ||
7 | MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM_FIELD_COUNT_LABEL="# of Months" | ||
8 | MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM_FIELD_COUNT_DESC="The number of months to display (the default is 10)." | ||
9 | MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM_XML_DESCRIPTION="Display a list of calendar months, including published articles. This list is automatically generated when you create a published article." | ||
10 | MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM_DATE="%1$s, %2$s" | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | ; Joomla! Project | ||
2 | ; Copyright (C) 2005 - 2019 Open Source Matters. All rights reserved. | ||
3 | ; License GNU General Public License version 2 or later; see LICENSE.txt | ||
4 | ; Note : All ini files need to be saved as UTF-8 | ||
5 | |||
6 | MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM="InformationArticles - Archived - custom" | ||
7 | MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM_XML_DESCRIPTION="Display a list of calendar months, including published articles. This list is automatically generated when you create a published article." | ||
8 | MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM_LAYOUT_DEFAULT="Default" | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | ; Joomla! Project | ||
2 | ; Copyright (C) 2005 - 2017 Open Source Matters. All rights reserved. | ||
3 | ; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php | ||
4 | ; Note : All ini files need to be saved as UTF-8 | ||
5 | |||
6 | MOD_ARTICLES_ARCHIVE_CUSTOM="カスタムアーカイブ(モジュール)" | ||
7 | MOD_ARTICLES_ARCHIVE_CUSTOM_FIELD_COUNT_LABEL="表示月数" | ||
8 | MOD_ARTICLES_ARCHIVE_CUSTOM_FIELD_COUNT_DESC="表示する月数(標準は10)です。" | ||
9 | MOD_ARTICLES_ARCHIVE_CUSTOM_XML_DESCRIPTION="公開状態になっている記事を含むカレンダー月の一覧を表示します。公開状態になっている記事を作成すると、この一覧は自動的に生成されます。" | ||
10 | MOD_ARTICLES_ARCHIVE_CUSTOM_DATE="%1$s, %2$s" | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | ; Joomla! Project | ||
2 | ; Copyright (C) 2005 - 2017 Open Source Matters. All rights reserved. | ||
3 | ; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php | ||
4 | ; Note : All ini files need to be saved as UTF-8 | ||
5 | |||
6 | MOD_ARTICLES_ARCHIVE_CUSTOM="カスタムアーカイブ(モジュール)" | ||
7 | MOD_ARTICLES_ARCHIVE_CUSTOM_XML_DESCRIPTION="公開状態になっている記事を含むカレンダー月の一覧を表示します。公開状態になっている記事を作成すると、この一覧は自動的に生成されます。" | ||
8 | MOD_ARTICLES_ARCHIVE_CUSTOM_LAYOUT_DEFAULT="標準" | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | ; Joomla! Project | ||
2 | ; Copyright (C) 2005 - 2017 Open Source Matters. All rights reserved. | ||
3 | ; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php | ||
4 | ; Note : All ini files need to be saved as UTF-8 | ||
5 | |||
6 | MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM="カスタムインフォメーションアーカイブ(モジュール)" | ||
7 | MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM_FIELD_COUNT_LABEL="表示月数" | ||
8 | MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM_FIELD_COUNT_DESC="表示する月数(標準は10)です。" | ||
9 | MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM_XML_DESCRIPTION="公開状態になっている記事を含むカレンダー月の一覧を表示します。公開状態になっている記事を作成すると、この一覧は自動的に生成されます。" | ||
10 | MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM_DATE="%1$s, %2$s" | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | ; Joomla! Project | ||
2 | ; Copyright (C) 2005 - 2017 Open Source Matters. All rights reserved. | ||
3 | ; License GNU General Public License version 2 or later; see LICENSE.txt, see LICENSE.php | ||
4 | ; Note : All ini files need to be saved as UTF-8 | ||
5 | |||
6 | MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM="カスタムインフォメーションアーカイブ(モジュール)" | ||
7 | MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM_XML_DESCRIPTION="公開状態になっている記事を含むカレンダー月の一覧を表示します。公開状態になっている記事を作成すると、この一覧は自動的に生成されます。" | ||
8 | MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM_LAYOUT_DEFAULT="標準" | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <?php | 1 | <?php |
2 | /** | 2 | /** |
3 | * @package Joomla.Site | 3 | * @package Joomla.Site |
4 | * @subpackage mod_articles_archive | 4 | * @subpackage mod_information_articles_archive_custom |
5 | * | 5 | * |
6 | * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved. | 6 | * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved. |
7 | * @license GNU General Public License version 2 or later; see LICENSE.txt | 7 | * @license GNU General Public License version 2 or later; see LICENSE.txt |
... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
10 | defined('_JEXEC') or die; | 10 | defined('_JEXEC') or die; |
11 | 11 | ||
12 | /** | 12 | /** |
13 | * Helper for mod_articles_archive | 13 | * Helper for mod_information_articles_archive_custom |
14 | * | 14 | * |
15 | * @since 1.5 | 15 | * @since 1.5 |
16 | */ | 16 | */ |
... | @@ -78,8 +78,8 @@ class ModArchiveHelper | ... | @@ -78,8 +78,8 @@ class ModArchiveHelper |
78 | 78 | ||
79 | $lists[$i] = new stdClass; | 79 | $lists[$i] = new stdClass; |
80 | 80 | ||
81 | # $lists[$i]->link = JRoute::_('index.php?option=com_content_custom&view=archive&year=' . $createdYear . '&month=' . $createdMonth . $itemid); | ||
82 | $link = JRoute::_('index.php?option=com_content_custom&view=archive&year=' . $createdYear . '&month=' . $createdMonth . $itemid); | 81 | $link = JRoute::_('index.php?option=com_content_custom&view=archive&year=' . $createdYear . '&month=' . $createdMonth . $itemid); |
82 | // アーカイブコンポーネント以外でモジュールを表示した場合に以下の様にリンクを書き換える。 | ||
83 | $link = str_replace("/component/content_custom/", "/information/info-archive.html", $link); | 83 | $link = str_replace("/component/content_custom/", "/information/info-archive.html", $link); |
84 | 84 | ||
85 | $lists[$i]->link = $link; | 85 | $lists[$i]->link = $link; |
... | @@ -90,4 +90,4 @@ class ModArchiveHelper | ... | @@ -90,4 +90,4 @@ class ModArchiveHelper |
90 | 90 | ||
91 | return $lists; | 91 | return $lists; |
92 | } | 92 | } |
93 | } | 93 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -16,4 +16,4 @@ $params->def('count', 10); | ... | @@ -16,4 +16,4 @@ $params->def('count', 10); |
16 | $moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8'); | 16 | $moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'), ENT_COMPAT, 'UTF-8'); |
17 | $list = ModArchiveHelper::getList($params); | 17 | $list = ModArchiveHelper::getList($params); |
18 | 18 | ||
19 | require JModuleHelper::getLayoutPath('mod_articles_archive_custom', $params->get('layout', 'default')); | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
19 | require JModuleHelper::getLayoutPath('mod_information_articles_archive_custom', $params->get('layout', 'default')); | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <extension type="module" version="3.1" client="site" method="upgrade"> | 2 | <extension type="module" version="3.1" client="site" method="upgrade"> |
3 | <name>MOD_ARTICLES_ARCHIVE_CUSTOM</name> | 3 | <name>MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM</name> |
4 | <author>T.Tokudome</author> | 4 | <author>T.Tokudome</author> |
5 | <creationDate>June 2020</creationDate> | 5 | <creationDate>June 2020</creationDate> |
6 | <copyright></copyright> | 6 | <copyright></copyright> |
... | @@ -8,17 +8,17 @@ | ... | @@ -8,17 +8,17 @@ |
8 | <authorEmail>tokudome@lilli.co.jp</authorEmail> | 8 | <authorEmail>tokudome@lilli.co.jp</authorEmail> |
9 | <authorUrl></authorUrl> | 9 | <authorUrl></authorUrl> |
10 | <version>0.0.1</version> | 10 | <version>0.0.1</version> |
11 | <description>MOD_ARTICLES_ARCHIVE_CUSTOM_XML_DESCRIPTION</description> | 11 | <description>MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM_XML_DESCRIPTION</description> |
12 | <files> | 12 | <files> |
13 | <filename module="mod_articles_archive_custom">mod_articles_archive_custom.php</filename> | 13 | <filename module="mod_information_articles_archive_custom">mod_information_articles_archive_custom.php</filename> |
14 | <folder>tmpl</folder> | 14 | <folder>tmpl</folder> |
15 | <filename>helper.php</filename> | 15 | <filename>helper.php</filename> |
16 | </files> | 16 | </files> |
17 | <languages> | 17 | <languages> |
18 | <language tag="en-GB">en-GB.mod_articles_archive_custom.ini</language> | 18 | <language tag="en-GB">en-GB.mod_information_articles_archive_custom.ini</language> |
19 | <language tag="en-GB">en-GB.mod_articles_archive_custom.sys.ini</language> | 19 | <language tag="en-GB">en-GB.mod_information_articles_archive_custom.sys.ini</language> |
20 | <language tag="ja-JP">ja-JP.mod_articles_archive_custom.ini</language> | 20 | <language tag="ja-JP">ja-JP.mod_information_articles_archive_custom.ini</language> |
21 | <language tag="ja-JP">ja-JP.mod_articles_archive_custom.sys.ini</language> | 21 | <language tag="ja-JP">ja-JP.mod_information_articles_archive_custom.sys.ini</language> |
22 | </languages> | 22 | </languages> |
23 | <help key="JHELP_EXTENSIONS_MODULE_MANAGER_ARTICLES_ARCHIVE" /> | 23 | <help key="JHELP_EXTENSIONS_MODULE_MANAGER_ARTICLES_ARCHIVE" /> |
24 | <config> | 24 | <config> |
... | @@ -27,8 +27,8 @@ | ... | @@ -27,8 +27,8 @@ |
27 | <field | 27 | <field |
28 | name="count" | 28 | name="count" |
29 | type="number" | 29 | type="number" |
30 | label="MOD_ARTICLES_ARCHIVE_CUSTOM_FIELD_COUNT_LABEL" | 30 | label="MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM_FIELD_COUNT_LABEL" |
31 | description="MOD_ARTICLES_ARCHIVE_CUSTOM_FIELD_COUNT_DESC" | 31 | description="MOD_INFORMATION_ARTICLES_ARCHIVE_CUSTOM_FIELD_COUNT_DESC" |
32 | default="120" | 32 | default="120" |
33 | filter="integer" | 33 | filter="integer" |
34 | /> | 34 | /> | ... | ... |
1 | <?php | 1 | <?php |
2 | /** | 2 | /** |
3 | * @package Joomla.Site | 3 | * @package Joomla.Site |
4 | * @subpackage mod_articles_archive | 4 | * @subpackage mod_information_articles_archive_custom |
5 | * | 5 | * |
6 | * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved. | 6 | * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved. |
7 | * @license GNU General Public License version 2 or later; see LICENSE.txt | 7 | * @license GNU General Public License version 2 or later; see LICENSE.txt | ... | ... |
... | @@ -3,6 +3,9 @@ | ... | @@ -3,6 +3,9 @@ |
3 | .covid-19-news .mod-articles-category-category { | 3 | .covid-19-news .mod-articles-category-category { |
4 | display: none; | 4 | display: none; |
5 | } | 5 | } |
6 | .covid-19-sub-menu.category-list { | ||
7 | display: none; | ||
8 | } | ||
6 | 9 | ||
7 | /* 共通 ------------------------------------------------------*/ | 10 | /* 共通 ------------------------------------------------------*/ |
8 | .over { | 11 | .over { | ... | ... |
... | @@ -204,6 +204,8 @@ if ($this->params->get('logoFile')) { | ... | @@ -204,6 +204,8 @@ if ($this->params->get('logoFile')) { |
204 | 204 | ||
205 | <script> | 205 | <script> |
206 | window.onload = function() { | 206 | window.onload = function() { |
207 | covid19RedicretTarget = document.querySelector('.covid-19-sub-menu.category-list'); | ||
208 | if (covid19RedicretTarget) window.location.href = '/covid-19.html'; | ||
207 | jQuery(function($) { | 209 | jQuery(function($) { |
208 | var obj = $("#aside"); | 210 | var obj = $("#aside"); |
209 | var sW = window.innerWidth; | 211 | var sW = window.innerWidth; |
... | @@ -872,7 +874,7 @@ if ($this->params->get('logoFile')) { | ... | @@ -872,7 +874,7 @@ if ($this->params->get('logoFile')) { |
872 | <li><a href="/campus-life/activities/trainer.html">アスレティックトレーナー部</a></li> | 874 | <li><a href="/campus-life/activities/trainer.html">アスレティックトレーナー部</a></li> |
873 | <li><a href="/campus-life/activities/golf.html">ゴルフ部</a></li> | 875 | <li><a href="/campus-life/activities/golf.html">ゴルフ部</a></li> |
874 | <li><a href="/campus-life/activities/dance.html">ダンス部</a></li> | 876 | <li><a href="/campus-life/activities/dance.html">ダンス部</a></li> |
875 | <li><a href="/campus-life/activities/culture.html">伝統文化・スポーツ研究会</a></li> | 877 | <li><a href="/campus-life/activities/esports.html">eスポーツ競技・研究会</a></li> |
876 | </ul> | 878 | </ul> |
877 | </li> | 879 | </li> |
878 | <li><a href="/campus-life/activities/activities-apply.html" title="申請書様式(在学生向け)">申請書様式(在学生向け)</a></li> | 880 | <li><a href="/campus-life/activities/activities-apply.html" title="申請書様式(在学生向け)">申請書様式(在学生向け)</a></li> |
... | @@ -1464,6 +1466,7 @@ if ($this->params->get('logoFile')) { | ... | @@ -1464,6 +1466,7 @@ if ($this->params->get('logoFile')) { |
1464 | JRequest::getInt('Itemid') == 799 || | 1466 | JRequest::getInt('Itemid') == 799 || |
1465 | JRequest::getInt('Itemid') == 575 || | 1467 | JRequest::getInt('Itemid') == 575 || |
1466 | JRequest::getInt('Itemid') == 803 || | 1468 | JRequest::getInt('Itemid') == 803 || |
1469 | JRequest::getInt('Itemid') == 893 || | ||
1467 | $itemid == 871 || | 1470 | $itemid == 871 || |
1468 | JRequest::getInt('catid') == 142 | 1471 | JRequest::getInt('catid') == 142 |
1469 | ) : ?> | 1472 | ) : ?> | ... | ... |
-
Please register or sign in to post a comment