* adjust code.
This commit is contained in:
@@ -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'];
|
||||
|
||||
@@ -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'}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user