Merge branch 'sprint/228_liumengyi_25319' into 'master'
* Fix bug #25319. See merge request easycorp/zentaopms!4991
This commit is contained in:
@@ -2,3 +2,15 @@ $(function()
|
||||
{
|
||||
$("#mainHeader #navbar li[data-id='system']").addClass('active');
|
||||
})
|
||||
|
||||
/**
|
||||
* When changeWeask change.
|
||||
*
|
||||
* @param bool changeWeak
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
function changeWeakChange(changeWeak)
|
||||
{
|
||||
$('#mainContent .table td.notice').html(changeWeak == 1 ? adminLang.safe.noticeWeakMode : adminLang.safe.noticeMode);
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
.icon-exclamation-sign.icon {color:#2667E3; margin-right: 8px;}
|
||||
.notice {color:#2667E3; margin-left: 12px;}
|
||||
</style>
|
||||
<?php js::set('adminLang', $lang->admin);?>
|
||||
<?php include '../../common/view/header.html.php';?>
|
||||
<div id='mainMenu' class='clearfix'>
|
||||
<div class='btn-toolbar pull-left'>
|
||||
@@ -62,7 +63,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->admin->safe->changeWeak?></th>
|
||||
<td colspan='2'><?php echo html::radio('changeWeak', $lang->admin->safe->modifyPasswordList, isset($config->safe->changeWeak) ? $config->safe->changeWeak : 0)?></td>
|
||||
<td colspan='2'><?php echo html::radio('changeWeak', $lang->admin->safe->modifyPasswordList, isset($config->safe->changeWeak) ? $config->safe->changeWeak : 0, "onchange='changeWeakChange(this.value)'")?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?php echo $lang->admin->safe->modifyPasswordFirstLogin?></th>
|
||||
|
||||
Reference in New Issue
Block a user