Skip to content

Commit

Permalink
Sitemap v2.33.3 PHP8 + language russian
Browse files Browse the repository at this point in the history
  • Loading branch information
gigamaster committed Apr 5, 2023
1 parent 9560e7f commit e2bfbb3
Show file tree
Hide file tree
Showing 23 changed files with 339 additions and 56 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@


[2023-03-31] version 2.33.2

- Add language russian
- Fix language translations
- Fix block template
- Remove block[lang] PHP8

[2023-03-23] version 2.33.0

Update version XCL PHP8
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ MODULE | SITEMAP
------------ | -------------
Description | Module to Automated HTML sitemap and XML for search engines.
Render Engine | Smarty v2 and XCube Layout
Version | 2.33.0
Version | 2.33.2
Author | Nuno Luciano @gigamaster XCL PHP7
Author | Plugins by several modules developers
Author | Chatnoir's original work
Expand Down
2 changes: 1 addition & 1 deletion html/modules/sitemap/images/module_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 0 additions & 3 deletions html/modules/sitemap/include/sitemap.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ function sitemap_show()

$block = [];

@$block['lang_home'] = _MD_SITEMAP_HOME ;
@$block['lang_close'] = _CLOSE ;

$module_handler =& xoops_gethandler('module');


Expand Down
2 changes: 1 addition & 1 deletion html/modules/sitemap/language/english/admin.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

define( '_MD_A_MYMENU_MYLANGADMIN' , 'Language');
define( '_MD_A_MYMENU_MYTPLSADMIN' , 'Templates');
define( '_MD_A_MYMENU_MYBLOCKSADMIN' , 'Blocks/Permissions');
define( '_MD_A_MYMENU_MYLANGADMIN' , 'Language');
define( '_MD_A_MYMENU_MYPREFERENCES' , 'Preferences');
5 changes: 2 additions & 3 deletions html/modules/sitemap/language/english/blocks.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php

define( '_MB_SITEMAP_OPENCLOSE' , '[ Open/Close ]');
define( '_MB_SITEMAP_COLS' , 'Columns');
define( '_MB_SITEMAP_HOME' , 'HOME');
define( '_MB_SITEMAP_OPENCLOSE' , 'Open - Close');
define( '_MB_SITEMAP_COLS' , 'Columns');

2 changes: 1 addition & 1 deletion html/modules/sitemap/language/fr_utf8/blocks.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

define( '_MB_SITEMAP_HOME' , 'Accueil');
define( '_MB_SITEMAP_OPENCLOSE' , 'Click!!(Ouvrir/Fermer)');
define( '_MB_SITEMAP_OPENCLOSE' , 'Ouvrir - Fermer)');
define( '_MB_SITEMAP_COLS' , 'Colonnes');

2 changes: 1 addition & 1 deletion html/modules/sitemap/language/ja_utf8/admin.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

define( '_MD_A_MYMENU_MYLANGADMIN' , '言語定数管理');
define( '_MD_A_MYMENU_MYTPLSADMIN' , 'テンプレート管理');
define( '_MD_A_MYMENU_MYBLOCKSADMIN' , 'ブロック管理/アクセス権限');
define( '_MD_A_MYMENU_MYLANGADMIN' , '言語定数管理');
define( '_MD_A_MYMENU_MYPREFERENCES' , '一般設定');
6 changes: 3 additions & 3 deletions html/modules/sitemap/language/ja_utf8/blocks.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

define( '_MB_SITEMAP_OPENCLOSE' , 'Click !! ( Open/Close )');
define( '_MB_SITEMAP_HOME' , 'ホームページ');
define( '_MB_SITEMAP_OPENCLOSE' , '開 - 閉');
define( '_MB_SITEMAP_COLS' , '列数');
define( '_MB_SITEMAP_HOME' , 'HOME');

8 changes: 4 additions & 4 deletions html/modules/sitemap/language/pt_utf8/admin.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

define( '_MD_A_MYMENU_MYLANGADMIN' , 'Literals');
define( '_MD_A_MYMENU_MYTPLSADMIN' , 'Templates');
define( '_MD_A_MYMENU_MYBLOCKSADMIN' , 'Blocks/Permissions');
define( '_MD_A_MYMENU_MYPREFERENCES' , 'Preferences');
define( '_MD_A_MYMENU_MYLANGADMIN' , 'Linguagem');
define( '_MD_A_MYMENU_MYTPLSADMIN' , 'Modelos');
define( '_MD_A_MYMENU_MYBLOCKSADMIN' , 'Blocos/Permissões');
define( '_MD_A_MYMENU_MYPREFERENCES' , 'Preferências');

3 changes: 1 addition & 2 deletions html/modules/sitemap/language/pt_utf8/blocks.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php

define( '_MB_SITEMAP_HOME' , 'Início');
define( '_MB_SITEMAP_OPENCLOSE' , 'Minorar ou Mostrar');
define( '_MB_SITEMAP_OPENCLOSE' , 'Abrir - Fechar');
define( '_MB_SITEMAP_COLS' , 'Colunas');


Expand Down
6 changes: 6 additions & 0 deletions html/modules/sitemap/language/ru_utf8/admin.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php

define( '_MD_A_MYMENU_MYLANGADMIN' , 'Язык');
define( '_MD_A_MYMENU_MYTPLSADMIN' , 'Шаблоны');
define( '_MD_A_MYMENU_MYBLOCKSADMIN' , 'Блоки/Разрешения');
define( '_MD_A_MYMENU_MYPREFERENCES' , 'Настройки');
5 changes: 5 additions & 0 deletions html/modules/sitemap/language/ru_utf8/blocks.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
define( '_MB_SITEMAP_HOME' , 'Главная');
define( '_MB_SITEMAP_OPENCLOSE' , 'Открыто закрыто');
define( '_MB_SITEMAP_COLS' , 'столбцы');

214 changes: 214 additions & 0 deletions html/modules/sitemap/language/ru_utf8/help/help.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,214 @@
<div data-layout="row sm-column">
<div data-self="size-xxsmall">
<nav id="help-menu">
<ul data-layout="rows">
<li><a href="#help-overview" class="button">Sitemap Module</a>
<li><a href="#help-block" class="button">Sitemap Block</a>
<li><a href="#help-features" class="button">Features - Plugins</a>
<li><a href="#help-protocol" class="button">Sitemap Protocol</a>
<li><a href="#help-development" class="button">Development</a>
</ul>
</nav>
</div>

<article id="help-module">

<section id="help-overview">
<h3>Sitemap</h3>
<p>Automated HTML Sitemap and XML file for search engines
<p>From the module preferences you can customize your Sitemap message and select categories.
<p>You can use Module Management's field "order" to exclude a module (invisible, private).
<p>Specify the directory name of modules that should be hide from Sitemap.
<p>If it's not already installed, copy modules/sitemap/xml_google.php to your public root (public_html/xml_google.php).

<div class="tips">Note: Edit the file "robots.txt" to add your sitemap: https://siteurl.com/xml_google.php.</div>
</section>


<hr>


<section id="help-block">
<h3>The Sitemap block</h3>
<p>This block displays a tree-like sitemap that can be expanded
<p>You can grant user groups permissions to the block
<p>and manage the block cache as well to improve performance.
</section>



<hr>


<section id="help-features">
<h3>Sitemap plugins</h3>
<p>Module originally developed by Chanoir, and plugins contributions by several developers.</p>
<ul class="ui-card-2-col">
<li>AMS: jseymour
<li>articles: PsyDoc
<li>bluesbb: StingBlue
<li>booklists:noisia
<li>catads: HMN
<li>debaser: proshack
<li>extcal: bonnaudet eric
<li>formulaire: philou
<li>liaise:monsuke
<li>myAds:Tom_G3X
<li>myalbum-P: suin, GIJOE
<li>mybbs: suin
<li>mydownloads: Ryuji
<li>mylinks: Ryuji
<li>mymovie: t_sakurai
<li>newbb: Ryuji
<li>newbb2: D.J.
<li>news: chanoir
<li>pages: philou
<li>pbboard: karedokx
<li>piCal-0.6x: GIJOE
<li>popnupblog: dashboard
<li>sections: onego
<li>smartfaq: HMN
<li>smartsection: karedokx
<li>soapbox: domifara
<li>sora_typethree: morisoba
<li>tutorials: HMN
<li>utype_bbs: morisoba
<li>weblinks: Ryuji
<li>weblog: fugafuga
<li>wfdownloads: HMN
<li>wfsection: onego
<li>wordbook: onego
<li>wordpress: Ryuji
<li>xcGallery: t_sakurai, karedokx
<li>xfsection: onego
<li>xoopsfaq: onego
<li>xoopsheadline: GIJOE
<li>xoopspoll: suin, bananas
<li>xwords: onego
<li>yybbs: suin
</ul>

<ul><li>PLUGIN in module's directory
<li>amaxoop
<li>piCal-0.7x
<li>xhld
</ul>

</section>


<hr>


<section id="help-protocol">

<h2>Learn more about the sitemap protocol</h2>

<h3>What are Sitemaps?</h3>


<p>A <strong>sitemap</strong> is a list of pages that are contained in a website
that is accessible to website crawlers or users.
It can vary in type—sometimes it may be a simple document used as a planning tool for designing the website,
or it may be a web page that contains a list of all pages within a website, which is generally organized in
a hierarchical way. Sitemaps display the relationship between various pages and content of a website,
demonstrating the way that the website is organized, how it can be navigated, and how it is labeled.
There are a few different types of sitemaps, and a few different styles of sitemaps.
Both of these factors will vary simply based on who or what the sitemap is intended for.</p>

<hr>

<h3>TYPES OF SITEMAPS</h3>
<p>Visual sitemaps, XML sitemaps, and HTML sitemaps all provide different benefits and make a website great
when they are all used together and cohesively. While the 3 types of sitemaps are used for distinctly different
purposes, the best outcome will be had when all 3 are employed and are created with full effort.
Using all 3 kinds of sitemaps will help to ensure that the website contains all the basic information
and content that is intended, but that it also functions successfully to provide a great user experience as
they are browsing the website and looking for the information that is provided.
Sitemaps also act as comparison points for various checkpoints in the life-cycle of a website.</p>


<h3>Visual sitemap</h3>
<p>Visual sitemaps are used mostly as a planning tool that will help webmasters to organize and sort the content
that will be included on the website, and helps to eliminate any pages that may be unnecessary.
When doing this, a visual sitemap allows the webmaster to outline the purpose and goal of the website
to be focused and easy to navigate, which will provide a great user experience to the website visitors.
Visual sitemaps are ideal for when the webmaster is planning the project, managing it through the process,
and maintaining it after it has been completed. Is it absolutely vital to have a visual sitemap in order
to have a successful website? It is difficult to say, but having a visual sitemap is just one factor in
the length of time that it takes to see success for a website. It is a great planning tool that comes
in hand for every step of the way in building a website.<br>
The module Sitemap can be used to show only the specified modules and sub-categories in preferences.</p>


<h3>XML sitemap</h3>
<p>XML sitemaps are structured in a way that the user does not need to see, but its purpose is to inform the
search engines about the pages that are on the website, relates their importance to each other, as well as
how often they are updated. The thought behind XML sitemaps is that some websites are made up of a large
amount of pages that are only accessible through user entries and forms (think Amazon).
This sitemap will contain URLs to all the individual pages so that they can be found by web crawlers.
This type of sitemap is much more precise than others—syntax must be exact because errors are absolutely
not tolerated. An XML sitemap ensures that all nooks and crannies of a website are available to be crawled
and indexed, so that they can be found by search engines when relevant search queries are performed.
This expands the chance that a website will show up in a search engine results page (SERP),
reaching more users than without showing up on the SERP. The module Sitemap file: xml_google.php</p>


<h3>HTML sitemap</h3>

<p>HTML sitemaps are designed with the user in mind, to help them find content on the web page. Because of this,
the HTML sitemaps do not need to include every single subpage on the website. An HTML sitemap helps both
website visitors and search engine bots to find web pages within a website. It should be noted that this
format is not supported by Google's Webmaster Tools, thus it cannot be submitted. This is purely for the
user experience, front end portion, and website search. This is a component of the XCL module that can be customized:
modules/sitemap/templates/sitemap_index.html.</p>

<div class="tips">Note: The module sitemap also features a block (template) that can be expanded.</div>

<p>Learn more about Sitemaps</p>
<p><a rel="nofollow" href="https://www.sitemaps.org/index.html" target="_blank">Sitemaps.org ⭧</a></p>
<p>Sitemaps XML format</p>
<p><a rel="nofollow" href="https://www.sitemaps.org/protocol.html" target="_blank">Sitemap Protocol ⭧</a></p>
<p>sitemap-generators - SitemapGenerators.wiki</p>
<p><a rel="nofollow" href="https://code.google.com/archive/p/sitemap-generators/wikis/SitemapGenerators.wiki" target="_blank">Archive Sitemap Generators ⭧</a></p>

</section>


<hr>


<section id="help-development">
<h3>Development</h3>

<table class="outer">
<thead>
<tr>
<th>Module name</th>
<th>Sitemap</th>
</tr>
</thead>
<tbody>
<tr>
<td>Type</td>
<td>X2 module</td>
</tr>
<tr>
<td>Version</td>
<td>2.31</td>
</tr>
<tr>
<td>Level</td>
<td>Recommended</td>
</tr>
<tr>
<td>🌐 Repository URL</td>
<td><a href="https://github.com/xoopscube/sitemap" target="_blank">https://github.com/xoopscube/sitemap ⭧</a></td>
</tr>
</tbody>
</table>

</section>

</article>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script>history.go(-1);</script>
1 change: 1 addition & 0 deletions html/modules/sitemap/language/ru_utf8/help/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script>history.go(-1);</script>
1 change: 1 addition & 0 deletions html/modules/sitemap/language/ru_utf8/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script>history.go(-1);</script>
3 changes: 3 additions & 0 deletions html/modules/sitemap/language/ru_utf8/main.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

define( '_MD_SITEMAP_HOME' , 'Главная');
26 changes: 26 additions & 0 deletions html/modules/sitemap/language/ru_utf8/modinfo.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

define( '_MI_SITEMAP_NAME' , 'Карта сайта');
define( '_MI_SITEMAP_MESSAGE' , '<p>Карта сайта — это специальная страница, предназначенная для использования в качестве руководства для веб-сайта.<br>
Это визуальное представление информационного пространства, помогающее посетителям более эффективно находить определенные страницы.</p>');

define( '_MI_SITEMAP_ADMENU_TOP' , 'ВЕРШИНА');
define( '_MI_SITEMAP_ADMENU_MYBLOCKSADMIN' , 'Блоки/группы');

define( '_MI_SITEMAP_BLOCKNAME' , 'Карта сайта');
define( '_MI_SITEMAP_BLOCKDESC' , 'Показать карту сайта в виде блока.');

define( '_MI_MESSAGE' , 'Сообщение [html]');
define( '_MI_MESSAGEEDSC' , 'Сообщение для отображения на странице');

define( '_MI_SHOW_SUBCATEGORIES' , 'Показать подкатегории');
define( '_MI_SHOW_SUBCATEGORIESDSC' , '');

define( '_MI_ALLTIME_GUEST' , 'Постоянный гостевой режим');
define( '_MI_ALLTIME_GUESTDSC' , "Если вы включите кеш этого модуля, установите для этого параметра значение «да».");

define( '_MI_INVISIBLE_WEIGHTS' , 'Невидимые модули');
define( '_MI_INVISIBLE_WEIGHTSDSC' , 'Исключите модули из карты сайта, используя то же значение поля «заказ» (рядом с именем модуля в разделе «Управление модулями»). Номера «заказов» должны быть разделены запятыми. По умолчанию: 0 или пусто.');

define( '_MI_INVISIBLE_DIRNAMES' , 'Скрыть имена каталогов из карты сайта');
define( '_MI_INVISIBLE_DIRNAMESDSC' , "Укажите имя каталога модулей, которые нужно скрыть из карты сайта.<br>Имена каталогов должны быть разделены запятыми, например: загрузки, виджет.");
20 changes: 20 additions & 0 deletions html/modules/sitemap/language/ru_utf8/readme.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<div class="ui-card-full">



<h3>THANKS ...</h3>

<p>All authors of plugin! (see MODULES)</p>
<p>
<small>
Another thanks to chiron.<br>
Many more thanks to Ryuji<br>
<br>
And my name is chanoir as a module developper, hence chatnoir as a theme developper.
<br>
<br>
</small>

<div align="right">I LOVE YOU ALL ++ <a href="#">PetitOOps</a> ++ chanoir</div>

</div>
Loading

0 comments on commit e2bfbb3

Please sign in to comment.