Skip to content

Commit

Permalink
https
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th committed Dec 31, 2016
1 parent 54e06eb commit 8f4ff71
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion Application/Home/Controller/BaseController.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function message($msg , $redirect = ''){

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();
}
Expand Down
10 changes: 5 additions & 5 deletions Application/Home/Controller/IndexController.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ public function index(){
$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);
Expand Down
8 changes: 4 additions & 4 deletions Application/Home/Controller/ItemController.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ public function showByUid(){

}
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);
Expand Down Expand Up @@ -206,10 +206,10 @@ private function _show_regular_item($item){
$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);
Expand Down
2 changes: 1 addition & 1 deletion Application/Home/Controller/UpdateController.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public function db(){
$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();
Expand Down
2 changes: 1 addition & 1 deletion Application/Home/View/Item/add.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion Application/Home/View/Item/show.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ <h3>{$Think.Lang.share_page}</h3>
<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>
Expand Down
2 changes: 1 addition & 1 deletion Application/Home/View/Item/show_regular.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ <h3>{$Think.Lang.share_page}</h3>
<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>
Expand Down
2 changes: 1 addition & 1 deletion Application/Home/View/Item/show_single_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h3 id="doc-title">{$page.page_title}</h3>
</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>
Expand Down
2 changes: 1 addition & 1 deletion Application/Home/View/Page/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ <h3 id="doc-title">{$page.page_title}</h3>
</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>

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 中文版教程:http://www.showdoc.cc/help
## 中文版教程:https://www.showdoc.cc/help

### What is ShowDoc ?

Expand All @@ -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.

Expand Down Expand 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
Expand Down
2 changes: 1 addition & 1 deletion install/ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function user_sqlite(){
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);
Expand Down
2 changes: 1 addition & 1 deletion install/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
<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>

Expand Down
2 changes: 1 addition & 1 deletion install/lang.en.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"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',

Expand Down
2 changes: 1 addition & 1 deletion install/lang.zh.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"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"=>'常见问题',

Expand Down

0 comments on commit 8f4ff71

Please sign in to comment.