* adjust code.

This commit is contained in:
wangyidong
2018-11-28 08:57:04 +08:00
parent f69fd87feb
commit c617950ac2
4 changed files with 2 additions and 6 deletions
-2
View File
@@ -1154,8 +1154,6 @@ EOD;
{
$preAndNextObject = new stdClass();
if(strpos('story, task, bug, testcase, doc', $type) === false) return $preAndNextObject;
/* Use existObject when the preAndNextObject of this objectID has exist in session. */
$existObject = $type . 'PreAndNext';
if(isset($_SESSION[$existObject]) and $_SESSION[$existObject]['objectID'] == $objectID) return $_SESSION[$existObject]['preAndNextObject'];
-1
View File
@@ -17,5 +17,4 @@
.main-row > .main-col .article-content {transition: max-width; margin: 0 auto!important;}
.main-row > .side-col > .cell {transition: opacity .2s;}
.doc-fullscreen .main-row > .side-col {width: 0; position: relative; overflow: hidden}
.doc-fullscreen .main-row > .side-col > .cell {opacity: 0}
.doc-fullscreen .fullscreen-btn > .icon-fullscreen:before {content: '\e972'}
+1 -2
View File
@@ -426,8 +426,7 @@ class upgradeModel extends model
if(isset($out[1][0]))
{
$fields = array();
$table = $out[1][0];
$table = str_replace('zt_', $this->config->db->prefix, $out[1][0]);
$table = str_replace('zt_', $this->config->db->prefix, $out[1][0]);
try
{
$tableExists = true;
+1 -1
View File
@@ -49,7 +49,7 @@
<table align='center' class='table table-form'>
<caption class='text-left text-muted'><?php echo $lang->user->accountInfo;?></caption>
<tr>
<th class='w-90px'><?php echo $lang->user->account;?></th>
<th class='w-100px'><?php echo $lang->user->account;?></th>
<td class='w-p40'><?php echo html::input('account', $user->account, "class='form-control' autocomplete='off'");?></td>
<th class='w-90px'><?php echo $lang->user->email;?></th>
<td>