* Adjust codes.

This commit is contained in:
daitingting
2018-05-31 13:09:40 +08:00
parent 31f9ee5201
commit b1de85895c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -40,7 +40,7 @@
echo "<span class='input-group-addon'>";
echo html::a($this->createLink('tree', 'browse', "rootID=$rootID&view=line"), $lang->tree->manageLine, '_blank');
echo '&nbsp; ';
echo html::a("javascript:loadProductLines({$rootID})", $lang->refresh, "class='refresh'");
echo html::a("javascript:loadProductLines({$rootID})", $lang->refresh, '', "class='refresh'");
echo '</span>';
}
?>
+1 -1
View File
@@ -19,7 +19,7 @@
<?php echo $this->fetch('block', 'dashboard', 'module=product');?>
<?php endif;?>
<script>
<?php if($this->config->product->homepage != 'index'):?>
<?php if(isset($this->config->product->homepage) && $this->config->product->homepage != 'index'):?>
$(function()
{
$('#modulemenu .nav li.right:last').after("<li class='right'><a style='font-size:12px' href='javascript:setHomepage(\"product\", \"index\")'><i class='icon icon-cog'></i> <?php echo $lang->homepage?></a></li>")