Browse Source

rename PageDirectory to WebDirectory

master
filesite 3 years ago
parent
commit
0e0aadeb3c
  1. 2
      conf/app.php
  2. 0
      themes/webdirectory/controller/SiteController.php
  3. 6
      themes/webdirectory/views/layout/main.php
  4. 0
      themes/webdirectory/views/site/index.php
  5. 6
      www/content/README.md
  6. 4
      www/content/Theme_WebDirectory.md
  7. 0
      www/css/webdirectory.css
  8. 0
      www/js/webdirectory.js

2
conf/app.php

@ -12,7 +12,7 @@ return array( @@ -12,7 +12,7 @@ return array(
//导航站皮肤
'content_directory' => 'navs/', //directory of contents in /www/
'theme' => 'pagedirectory',
'theme' => 'webdirectory',
//图片站皮肤
//'content_directory' => 'dogs/', //directory of contents in /www/

0
themes/pagedirectory/controller/SiteController.php → themes/webdirectory/controller/SiteController.php

6
themes/pagedirectory/views/layout/main.php → themes/webdirectory/views/layout/main.php

@ -13,7 +13,7 @@ require_once __DIR__ . '/../../../../plugins/Html.php'; @@ -13,7 +13,7 @@ require_once __DIR__ . '/../../../../plugins/Html.php';
<link href="/css/main.css?v.1.1" rel="stylesheet">
<!--for theme manual-->
<link href="/css/github-markdown-dark.css" rel="stylesheet">
<link href="/css/pagedirectory.css?v<?=Html::getStaticFileVersion('pagedirectory.css', 'css')?>" rel="stylesheet">
<link href="/css/webdirectory.css?v<?=Html::getStaticFileVersion('webdirectory.css', 'css')?>" rel="stylesheet">
</head>
<body>
@ -65,7 +65,7 @@ eof; @@ -65,7 +65,7 @@ eof;
<script src="/js/jquery-3.6.0.min.js"></script>
<script src="/js/js.cookie.min.js"></script>
<script src="/js/main.js?v.1.0"></script>
<!--for theme pagedirectory-->
<script src="/js/pagedirectory.js?v<?=Html::getStaticFileVersion('pagedirectory.js', 'js')?>"></script>
<!--for theme webdirectory-->
<script src="/js/webdirectory.js?v<?=Html::getStaticFileVersion('webdirectory.js', 'js')?>"></script>
</body>
</html>

0
themes/pagedirectory/views/site/index.php → themes/webdirectory/views/site/index.php

6
www/content/README.md

@ -66,7 +66,7 @@ https://git.filesite.io/filesite/machete/archive/master.zip @@ -66,7 +66,7 @@ https://git.filesite.io/filesite/machete/archive/master.zip
| 名称 | 网址 |
| ---- | ---- |
| 站长手册 | <a href="https://pagedirectory.filesite.io" target="_blank">PageDirectory.filesite.io</a> |
| 站长手册 | <a href="https://webdirectory.filesite.io" target="_blank">WebDirectory.filesite.io</a> |
3. 小说站
@ -112,12 +112,12 @@ FileSite.io官方提供的皮肤都包含在最新版的源码目录```themes/`` @@ -112,12 +112,12 @@ FileSite.io官方提供的皮肤都包含在最新版的源码目录```themes/``
| 皮肤名称 | 目录名 | 适用网站类型 |
| ---- | ---- | ---- |
| PageDirectory | pagedirectory | 导航站 |
| WebDirectory | webdirectory | 导航站 |
| Manual | manual | 文档站 |
| GoogleImage | googleimage | 图片站 |
官方皮肤介绍如下:
* [导航站皮肤PageDirectory](./Theme_PageDirectory.md)
* [导航站皮肤WebDirectory](./Theme_WebDirectory.md)
* [文档站皮肤Manual](./Theme_Manual.md)
* [图片站皮肤GoogleImage](./Theme_GoogleImage.md)

4
www/content/Theme_PageDirectory.md → www/content/Theme_WebDirectory.md

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
# Theme - PageDirectory
# Theme - WebDirectory
导航网站皮肤**PageDirectory**。
导航网站皮肤**WebDirectory**。
## 皮肤特点

0
www/css/pagedirectory.css → www/css/webdirectory.css

0
www/js/pagedirectory.js → www/js/webdirectory.js

Loading…
Cancel
Save