* Fix tutorial modal.
This commit is contained in:
@@ -179,16 +179,17 @@ class header extends wg
|
||||
{
|
||||
$items[] = array
|
||||
(
|
||||
'url' => createLink('tutorial', 'start'),
|
||||
'url' => createLink('tutorial', 'start', '', '', true),
|
||||
'icon' => 'guide',
|
||||
'text' => $lang->tutorialAB,
|
||||
'class' => '800',
|
||||
'class' => 'iframe',
|
||||
'outerClass' => 'user-tutorial',
|
||||
'data-width' => 700,
|
||||
'data-class-name' => 'modal-inverse',
|
||||
'data-headerless' => true,
|
||||
'data-backdrop' => true,
|
||||
'data-keyboard' => true
|
||||
'data-keyboard' => true,
|
||||
'data-toggle' => 'iframeModal'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -504,7 +504,7 @@ class commonModel extends model
|
||||
{
|
||||
if(!commonModel::isTutorialMode())
|
||||
{
|
||||
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 class="user-tutorial">' . html::a(helper::createLink('tutorial', 'start', '', '', true), "<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', 'showTip=false', '', true), "<i class='icon icon-controls'></i> " . $lang->preference, '', "class='iframe' data-width='700'") . '</li>';
|
||||
|
||||
Reference in New Issue
Block a user