star7th 9 жил өмнө
parent
commit
8f4ff71918

+ 1 - 1
Application/Home/Controller/BaseController.class.php

@@ -11,7 +11,7 @@ class BaseController extends Controller {
 
 	public function checkLogin($redirect = true){
     	if (strtolower(C("DB_TYPE")) == 'mysql' ) {
-            echo 'ShowDoc does not support mysql any more . http://www.showdoc.cc/help?page_id=31990 ';
+            echo 'ShowDoc does not support mysql any more . https://www.showdoc.cc/help?page_id=31990 ';
             clear_runtime();
             exit();
     	}

+ 5 - 5
Application/Home/Controller/IndexController.class.php

@@ -7,14 +7,14 @@ class IndexController extends BaseController {
     	$login_user = session("login_user");
     	$this->assign("login_user" ,$login_user);
     	if (LANG_SET == 'en-us') {
-    		$demo_url = "http://www.showdoc.cc/demo-en";
-    		$help_url = "http://www.showdoc.cc/help-en";
+    		$demo_url = "https://www.showdoc.cc/demo-en";
+    		$help_url = "https://www.showdoc.cc/help-en";
     		$creator_url = "https://github.com/star7th";
     	}
     	else{
-    		$demo_url = "http://www.showdoc.cc/demo";
-    		$help_url = "http://www.showdoc.cc/help";
-    		$creator_url = "http://blog.star7th.com/";
+    		$demo_url = "https://www.showdoc.cc/demo";
+    		$help_url = "https://www.showdoc.cc/help";
+    		$creator_url = "https://blog.star7th.com/";
     	}
     	$this->assign("demo_url" ,$demo_url);
     	$this->assign("help_url" ,$help_url);

+ 4 - 4
Application/Home/Controller/ItemController.class.php

@@ -27,10 +27,10 @@ class ItemController extends BaseController {
             
         }
         if (LANG_SET == 'en-us') {
-            $help_url = "http://www.showdoc.cc/help-en";
+            $help_url = "https://www.showdoc.cc/help-en";
         }
         else{
-            $help_url = "http://www.showdoc.cc/help";
+            $help_url = "https://www.showdoc.cc/help";
         }
 
         $this->assign("help_url" , $help_url);
@@ -206,10 +206,10 @@ class ItemController extends BaseController {
         $ItemCreator = $this->checkItemCreator($uid , $item_id);
 
         if (LANG_SET == 'en-us') {
-            $help_url = "http://www.showdoc.cc/help-en";
+            $help_url = "https://www.showdoc.cc/help-en";
         }
         else{
-            $help_url = "http://www.showdoc.cc/help";
+            $help_url = "https://www.showdoc.cc/help";
         }
         
         $this->assign("help_url" , $help_url);

+ 1 - 1
Application/Home/Controller/UpdateController.class.php

@@ -8,7 +8,7 @@ class UpdateController extends BaseController {
         $this->_clear_runtime();
     	if (strtolower(C("DB_TYPE")) == 'mysql' ) {
     		//$this->mysql();
-            echo 'ShowDoc does not support mysql any more . http://www.showdoc.cc/help?page_id=31990 ';
+            echo 'ShowDoc does not support mysql any more . https://www.showdoc.cc/help?page_id=31990 ';
     	}
         elseif (strtolower(C("DB_TYPE")) == 'sqlite' ) {
             $this->sqlite();

+ 1 - 1
Application/Home/View/Item/add.html

@@ -23,7 +23,7 @@
               <input type="radio" name="item_type" id="item_type2" value="2" <?php if($item['item_type'] == 2 )echo 'checked'?>>
               单页项目
               &nbsp;
-              <a href="http://www.showdoc.cc/page/65391" target="_blank"><i class="icon-question-sign"></i></a>
+              <a href="https://www.showdoc.cc/page/65391" target="_blank"><i class="icon-question-sign"></i></a>
 
             </label>
         </div>

+ 1 - 1
Application/Home/View/Item/show.html

@@ -164,7 +164,7 @@
     <p >单页面地址:<code id="share-single-link"></code>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" id="copy-single-link">复制链接</a>
     </p>
       <p style="border-bottom: 1px solid #eee;"><img  alt="二维码" id="qr-single-link" style="width:114px;height:114px;" src="?s=home/common/qrcode&size=3&url="> </p>
-   <p><a href="http://www.showdoc.cc/page/63882" target="_blank">项目页面地址和单页面地址有什么区别?</a></p><p>
+   <p><a href="https://www.showdoc.cc/page/63882" target="_blank">项目页面地址和单页面地址有什么区别?</a></p><p>
     </p>
   </div>
 </div>

+ 1 - 1
Application/Home/View/Item/show_regular.html

@@ -164,7 +164,7 @@
     <p >单页面地址:<code id="share-single-link"></code>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" id="copy-single-link">复制链接</a>
     </p>
       <p style="border-bottom: 1px solid #eee;"><img  alt="二维码" id="qr-single-link" style="width:114px;height:114px;" src="?s=home/common/qrcode&size=3&url="> </p>
-   <p><a href="http://www.showdoc.cc/page/63882" target="_blank">项目页面地址和单页面地址有什么区别?</a></p><p>
+   <p><a href="https://www.showdoc.cc/page/63882" target="_blank">项目页面地址和单页面地址有什么区别?</a></p><p>
     </p>
   </div>
 </div>

+ 1 - 1
Application/Home/View/Item/show_single_page.html

@@ -53,7 +53,7 @@
 </div>
   <div id="footer">
     <if condition="! $login_user">
-      <div id="copyright-text">本页面使用<a href="http://www.showdoc.cc/">showdoc</a>编写
+      <div id="copyright-text">本页面使用<a href="https://www.showdoc.cc/">showdoc</a>编写
     </if>
     </div>
   </div>

+ 1 - 1
Application/Home/View/Page/single.html

@@ -77,7 +77,7 @@ body{
 </div>
   <div id="footer">
     <if condition="! $login_user">
-      <div id="copyright-text">本页面使用<a href="http://www.showdoc.cc/">showdoc</a>编写
+      <div id="copyright-text">本页面使用<a href="https://www.showdoc.cc/">showdoc</a>编写
     </if>
   </div>
 

+ 5 - 5
README.md

@@ -1,4 +1,4 @@
-## 中文版教程:http://www.showdoc.cc/help
+## 中文版教程:https://www.showdoc.cc/help
 
 ### What is ShowDoc ?
 
@@ -12,15 +12,15 @@ ShowDoc is a tool greatly applicable for an IT team to share documents online. I
 
 ### What can it be used for?
 
-- #### API Document ( [Demo](http://www.showdoc.cc/demo-en))
+- #### API Document ( [Demo](https://www.showdoc.cc/demo-en))
  
  With the development of mobile Internet, BaaS (Backend as a Service) becomes more and more popular. The Server end provides API, and the APP end or Webpage frontend can invoke data conveniently. Using ShowDoc can compile exquisite API documents in a very fast and convenient way.
 
-- #### Data Dictionary ( [Demo](http://www.showdoc.cc/demo-en))
+- #### Data Dictionary ( [Demo](https://www.showdoc.cc/demo-en))
  
  A good Data Dictionary can easily exhibit database structure to other people, such as definition of each field and the like.
 
-- #### Explanation Document ( [Demo](http://www.showdoc.cc/help-en))
+- #### Explanation Document ( [Demo](https://www.showdoc.cc/help-en))
  
  You can absolutely use ShowDoc to compile the explanation documents for some tools, as well as to compile some technical specifications explanation documents for the team to look up.
  
@@ -61,7 +61,7 @@ ShowDoc is a tool greatly applicable for an IT team to share documents online. I
 ### Deploy It to Your Own Server
  - ShowDoc Deploy Manual
   
-     Please refer to:[http://www.showdoc.cc/help-en?page_id=16975](http://www.showdoc.cc/help-en?page_id=16975)
+     Please refer to:[https://www.showdoc.cc/help-en?page_id=16975](https://www.showdoc.cc/help-en?page_id=16975)
   
 
 ### Copyright 

+ 1 - 1
install/ajax.php

@@ -95,7 +95,7 @@ return array(
 EOD;
         $ret = file_put_contents("../Application/Common/Conf/config.php", $config);
         if ($ret) {
-        	file_put_contents("./install.lock","http://www.showdoc.cc/");
+        	file_put_contents("./install.lock","https://www.showdoc.cc/");
             ajax_out(L("install_success"));
         }else{
             ajax_out(L("install_config_not_writable"),10001);

+ 1 - 1
install/database.php

@@ -128,7 +128,7 @@ if (!$go) {
         <br>
         <div>
         	 <button class="btn btn-large btn-primary " id="start" type="submit"><?php echo L("go");?>&nbsp;&nbsp;<i class="icon-circle-arrow-right"></i></button>
-          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.showdoc.cc/help?page_id=16118" target="_blank"><?php echo L("FAQ");?></a>
+          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://www.showdoc.cc/help?page_id=16118" target="_blank"><?php echo L("FAQ");?></a>
         </div>
       </form>
 

+ 1 - 1
install/lang.en.php

@@ -11,7 +11,7 @@ return array(
   "db_password"=>' Database Password',
   "sqlite_tips"=>'Sqlite has supported by PHP and you just need to click the Go buttun',
   "go"=>'Go',
-  "install_success_help"=>'Installation success!Please delete the /install directory, avoid the script to be executed again.<br><a href="http://www.showdoc.cc/help-en" target="_blank">http://www.showdoc.cc/help-en</a>',
+  "install_success_help"=>'Installation success!Please delete the /install directory, avoid the script to be executed again.<br><a href="https://www.showdoc.cc/help-en" target="_blank">https://www.showdoc.cc/help-en</a>',
   "home"=>'Website Home',
   "FAQ"=>'FAQ',
 

+ 1 - 1
install/lang.zh.php

@@ -11,7 +11,7 @@ return array(
   "db_password"=>'数据库密码',
   "sqlite_tips"=>'PHP内置支持Sqlite数据库,你无须再配置数据库,直接点击开始即可',
   "go"=>'开始',
-  "install_success_help"=>'安装成功!建议删除/install目录,以免安装脚本被再次执行。若再遇到问题,可参考ShowDoc帮助文档:<a href="http://www.showdoc.cc/help" target="_blank">http://www.showdoc.cc/help</a>',
+  "install_success_help"=>'安装成功!建议删除/install目录,以免安装脚本被再次执行。若再遇到问题,可参考ShowDoc帮助文档:<a href="https://www.showdoc.cc/help" target="_blank">https://www.showdoc.cc/help</a>',
   "home"=>'进入网站首页',
   "FAQ"=>'常见问题',