* Finish task #54471.
This commit is contained in:
@@ -450,7 +450,7 @@ class commonModel extends model
|
||||
echo '<li class="user-tutorial">' . html::a(helper::createLink('tutorial', 'start'), "<i class='icon icon-guide'></i> " . $lang->tutorialAB, '', "class='iframe' data-class-name='modal-inverse' data-width='800' data-headerless='true' data-backdrop='true' data-keyboard='true'") . '</li>';
|
||||
}
|
||||
|
||||
echo '<li>' . html::a(helper::createLink('my', 'preference', '', '', true), "<i class='icon icon-controls'></i> " . $lang->preference, '', "class='iframe' data-width='700'") . '</li>';
|
||||
echo '<li>' . html::a(helper::createLink('my', 'preference', 'false', '', true), "<i class='icon icon-controls'></i> " . $lang->preference, '', "class='iframe' data-width='700'") . '</li>';
|
||||
}
|
||||
|
||||
if(common::hasPriv('my', 'changePassword')) echo '<li>' . html::a(helper::createLink('my', 'changepassword', '', '', true), "<i class='icon icon-cog-outline'></i> " . $lang->changePassword, '', "class='iframe' data-width='600'") . '</li>';
|
||||
|
||||
@@ -1205,7 +1205,7 @@ EOF;
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function preference()
|
||||
public function preference($showTip = true)
|
||||
{
|
||||
$this->loadModel('setting');
|
||||
|
||||
@@ -1221,6 +1221,7 @@ EOF;
|
||||
|
||||
$this->view->title = $this->lang->my->common . $this->lang->colon . $this->lang->my->preference;
|
||||
$this->view->position[] = $this->lang->my->preference;
|
||||
$this->view->showTip = $showTip;
|
||||
|
||||
$this->view->URSRList = $this->loadModel('custom')->getURSRPairs();
|
||||
$this->view->URSR = $this->setting->getURSR();
|
||||
|
||||
@@ -70,7 +70,7 @@ html,body {height: 100%;}
|
||||
<tr>
|
||||
<td colspan='2' class='text-center form-actions'>
|
||||
<?php echo html::submitButton();?>
|
||||
<?php if(!isonlybody()):?>
|
||||
<?php if($showTip):?>
|
||||
<div>
|
||||
<p class='text-muted tip'><?php echo $lang->my->alert;?></p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user