2.7.1模板中user_passport.dwt文件的错误更正
[b][color=blue][code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="{$keywords}" />
<meta name="Description" content="{$description}" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>{$page_title}</title>
<!-- TemplateEndEditable --><!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link href="{$ecs_css_path}" rel="stylesheet" type="text/css" />
{* 包含脚本文件 *}
{insert_scripts files='common.js,user.js,transport.js'}
<body>
[/code][/color][/b]
缺少闭合标签“</head>”代码,请大家自行添加更正为如下代码:
[b][color=red][code]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="{$keywords}" />
<meta name="Description" content="{$description}" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>{$page_title}</title>
<!-- TemplateEndEditable --><!-- TemplateBeginEditable name="head" --><!-- TemplateEndEditable -->
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link href="{$ecs_css_path}" rel="stylesheet" type="text/css" />
{* 包含脚本文件 *}
{insert_scripts files='common.js,user.js,transport.js'}
</head>
<body>
[/code][/color][/b]
[b][color=#ff0000][/color][/b]
[b][color=magenta]如有疑问,请在下楼跟贴回复。[/color][/b] 我们用的360模板,我查看了一下。
有head闭合标签。
请楼主指点哪款模板没有? [b][size=4][color=magenta]哦,我讲的是官方默认的模板。主要是提醒大家在制作修改模板时,注意检查仔细了,尽量避免这样的小错误发生。哈哈哈 …… [/color][/size][/b] 这都被你发现了啊,真强啊,我改好了,谢谢,好像这个错误没什么影响吧
页:
[1]
