删除PrestaShop后台官方关于PrestaShop的视频介绍,在程序中找到admin1\themes\default\template\controllers\home\content.tpl 搜索bo_show_screencast}找到以下语句:
{if $employee->bo_show_screencast}
<div id="adminpresentation" style="display:block">
<h2>{l s='Video'}</h2>
<div id="video">
<a href="{$protocol}://screencasts.prestashop.com/v1.5/screencast.php?iso_lang={$isoUser}" id="screencast_fancybox"><img height="128" width="220" src="../img/admin/preview_fr.jpg" /><span class="mask-player"></span></a>
</div>
<div id="video-content">
<p>{l s='Take part in the e-commerce adventure with PrestaShop, the best open-source shopping-cart solution on the planet. With more than 310 native features, PrestaShop comes fully equipped to help create a world of opportunity without limits. '}</p>
</div>
<div id="footer_iframe_home">
<!--<a href="#">{l s='View more video tutorials.'}</a>-->
<input type="checkbox" id="screencast_dont_show_again">
<label for="screencast_dont_show_again">{l s='Do not show me this again.'}</label>
</div>
<div class="separation"></div>
</div>
<script type="text/javascript">
$(document).ready(function() {
$('#screencast_dont_show_again').click(function() {
if ($(this).is(':checked'))
{
$.ajax({
type : 'POST',
data : {
ajax : '1',
controller : 'AdminHome',
token : '{$token}',
id_employee : '{$employee->id}',
action : 'hideScreencast'
},
url: 'ajax-tab.php',
dataType : 'json',
success: function(data) {
if (!data)
jAlert("TECHNICAL ERROR - no return status found");
else if (data.status != "ok")
jAlert("TECHNICAL ERROR: "+data.msg);
$('#adminpresentation').slideUp('slow');
},
error: function(data, textStatus, errorThrown)
{
jAlert("TECHNICAL ERROR: "+data);
}
});
}
});
});
</script>
{/if}
完整删除,刷新后台后关于PrestaShop的视频介绍就删除了(责任编辑:最模板) |