From 127fd2a57f71d7e96e441189388608434bdd1c39 Mon Sep 17 00:00:00 2001
From: cyc
Date: Mon, 9 Apr 2018 10:50:06 +0800
Subject: [PATCH 001/596] =?UTF-8?q?=E5=BE=B7=E8=AF=AD=E4=BF=A1=E6=81=AF?=
=?UTF-8?q?=E5=B9=B3=E5=8F=B0=E5=A2=9E=E5=8A=A0=E9=A2=84=E8=A7=88=E6=8C=89?=
=?UTF-8?q?=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
application/views/bootstrap3/information_edit.php | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/application/views/bootstrap3/information_edit.php b/application/views/bootstrap3/information_edit.php
index f551fc9f..8d4b9c00 100644
--- a/application/views/bootstrap3/information_edit.php
+++ b/application/views/bootstrap3/information_edit.php
@@ -346,6 +346,12 @@
var site_url = 'http://192.155.224.195:8080/guide-use.php/travelguide/guide/?static_html_url=';
$('#goto_test_page_button').attr("href", site_url + $('#ic_url').val());
return true;
+ }
+ //德语站点跳转测试页面
+ function goto_gmtest_page() {
+ var site_url = 'http://gm.test/gm.php/information/detail/?static_html_url=';
+ $('#goto_test_page_button').attr("href", site_url + $('#ic_url').val());
+ return true;
}
function goto_test_page_pgr() {
var site_url = 'http://192.155.250.125:8011/guide.php/travelguide/guide/?static_html_url=';
@@ -576,6 +582,9 @@
ic_sitecode == 'cht') {?>
+
+ ic_sitecode == 'gm') {?>
+
From 7b68c7aaf063f498450074c1802b25063e4ad6a6 Mon Sep 17 00:00:00 2001
From: cyc
Date: Mon, 9 Apr 2018 11:14:11 +0800
Subject: [PATCH 002/596] =?UTF-8?q?=E5=85=B3=E9=97=AD=E5=BE=B7=E8=AF=AD?=
=?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=9B=B4=E6=96=B0=E7=9A=84=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
application/controllers/information.php | 2 +-
application/views/bootstrap3/information_edit.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/application/controllers/information.php b/application/controllers/information.php
index 33912e01..c046affd 100644
--- a/application/controllers/information.php
+++ b/application/controllers/information.php
@@ -424,7 +424,7 @@ class Information extends CI_Controller {
$site_code = $this->config->item('site_code');
$ic_url = $this->input->post('ic_url');
$auto_update_cache = $this->input->get_post('auto_update_cache_checkbox');
- if ($site_code == 'gm' && substr($ic_url, 0, 5) == '/faq/') {
+ if (strcasecmp($site_code, "gm") == 0 && !empty($auto_update_cache)) {
$update_info_log = $this->update_cache($ic_url, true);
} else if (strcasecmp($site_code, "cht") == 0 && !empty($auto_update_cache)) {
$update_info_log = $this->update_cache($ic_url);
diff --git a/application/views/bootstrap3/information_edit.php b/application/views/bootstrap3/information_edit.php
index 8d4b9c00..3b462871 100644
--- a/application/views/bootstrap3/information_edit.php
+++ b/application/views/bootstrap3/information_edit.php
@@ -1222,7 +1222,7 @@ foreach ($author_list as $author_item) {
忽略URL重复
- config->item('site_code') == 'ah') || ($this->config->item('site_code') == 'gm')) {?>
+ config->item('site_code') == 'ah')) {?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+