* Task #41784: Remove the unused code.

This commit is contained in:
hufangzhou
2021-08-26 09:26:19 +08:00
parent 4779bb64b3
commit 10f39c9053
2 changed files with 6 additions and 12 deletions
+6 -1
View File
@@ -49,7 +49,12 @@
</div>
<?php if(!isset($config->tutorialHidden) or $config->tutorialHidden == '0'):?>
<div class="tutorial">
<?php echo html::a(helper::createLink('my', 'tutorial'), "<i class='icon icon-guide'></i> " . $lang->tutorialAB, '', "class='text-muted'");?>
<?php
if($this->app->config->global->flow == 'full' && !commonModel::isTutorialMode())
{
echo html::a(helper::createLink('tutorial', 'start'), "<i class='icon icon-guide'></i> " . $lang->tutorialAB, '', "class='iframe text-muted' data-class-name='modal-inverse' data-width='800' data-headerless='true' data-backdrop='true' data-keyboard='true'");
}
?>
<label class="label label-light label-badge hidden"><i class="icon icon-close"></i></label>
</div>
<?php endif;?>
-11
View File
@@ -991,17 +991,6 @@ class my extends control
$this->display();
}
/**
* Tutorial.
*
* @access public
* @return void
*/
public function tutorial()
{
$this->display();
}
/**
* Set the tutorial hidden in the welcome block.
*