From 0e0aadeb3c82fb92cc066b673d8e67e4c9c327e3 Mon Sep 17 00:00:00 2001 From: filesite Date: Sun, 22 May 2022 10:24:13 +0800 Subject: [PATCH] rename PageDirectory to WebDirectory --- conf/app.php | 2 +- .../controller/SiteController.php | 0 .../{pagedirectory => webdirectory}/views/layout/main.php | 6 +++--- themes/{pagedirectory => webdirectory}/views/site/index.php | 0 www/content/README.md | 6 +++--- .../{Theme_PageDirectory.md => Theme_WebDirectory.md} | 4 ++-- www/css/{pagedirectory.css => webdirectory.css} | 0 www/js/{pagedirectory.js => webdirectory.js} | 0 8 files changed, 9 insertions(+), 9 deletions(-) rename themes/{pagedirectory => webdirectory}/controller/SiteController.php (100%) rename themes/{pagedirectory => webdirectory}/views/layout/main.php (92%) rename themes/{pagedirectory => webdirectory}/views/site/index.php (100%) rename www/content/{Theme_PageDirectory.md => Theme_WebDirectory.md} (83%) rename www/css/{pagedirectory.css => webdirectory.css} (100%) rename www/js/{pagedirectory.js => webdirectory.js} (100%) diff --git a/conf/app.php b/conf/app.php index c00214b..c017313 100644 --- a/conf/app.php +++ b/conf/app.php @@ -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/ diff --git a/themes/pagedirectory/controller/SiteController.php b/themes/webdirectory/controller/SiteController.php similarity index 100% rename from themes/pagedirectory/controller/SiteController.php rename to themes/webdirectory/controller/SiteController.php diff --git a/themes/pagedirectory/views/layout/main.php b/themes/webdirectory/views/layout/main.php similarity index 92% rename from themes/pagedirectory/views/layout/main.php rename to themes/webdirectory/views/layout/main.php index 945488e..d7b31f2 100644 --- a/themes/pagedirectory/views/layout/main.php +++ b/themes/webdirectory/views/layout/main.php @@ -13,7 +13,7 @@ require_once __DIR__ . '/../../../../plugins/Html.php'; - + @@ -65,7 +65,7 @@ eof; - - + + diff --git a/themes/pagedirectory/views/site/index.php b/themes/webdirectory/views/site/index.php similarity index 100% rename from themes/pagedirectory/views/site/index.php rename to themes/webdirectory/views/site/index.php diff --git a/www/content/README.md b/www/content/README.md index 3783367..662dca3 100644 --- a/www/content/README.md +++ b/www/content/README.md @@ -66,7 +66,7 @@ https://git.filesite.io/filesite/machete/archive/master.zip | 名称 | 网址 | | ---- | ---- | -| 站长手册 | PageDirectory.filesite.io | +| 站长手册 | WebDirectory.filesite.io | 3. 小说站 @@ -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) diff --git a/www/content/Theme_PageDirectory.md b/www/content/Theme_WebDirectory.md similarity index 83% rename from www/content/Theme_PageDirectory.md rename to www/content/Theme_WebDirectory.md index 47c531d..4d29336 100644 --- a/www/content/Theme_PageDirectory.md +++ b/www/content/Theme_WebDirectory.md @@ -1,6 +1,6 @@ -# Theme - PageDirectory +# Theme - WebDirectory -导航网站皮肤**PageDirectory**。 +导航网站皮肤**WebDirectory**。 ## 皮肤特点 diff --git a/www/css/pagedirectory.css b/www/css/webdirectory.css similarity index 100% rename from www/css/pagedirectory.css rename to www/css/webdirectory.css diff --git a/www/js/pagedirectory.js b/www/js/webdirectory.js similarity index 100% rename from www/js/pagedirectory.js rename to www/js/webdirectory.js