// check if user is looking at their own page
if (wiki.getuser(user.id).uri == page.uri) {
<style type="text/css">"
#user-welcome h2 {
font-family: Arial, sans-serif;
border: none;
color: #454545;
font-size: 25px;
font-weight: normal;
line-height: 30px;
margin: 20px 0;
}
#user-welcome h4 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
line-height: 28px;
margin-bottom: 10px;
margin-top: 0;
color: #454545;
}
#user-welcome .share {
font-weight: bold;
font-size: 14px;
line-height: 20px;
color: #666666;
}
#user-welcome-header {
border: 2px solid #c4e1ed;
background: #d1e8f0 url(/skins/common/images/oobe/mt-bg-user-welcome.png) repeat-x scroll center top;
margin-top: 20px;
padding: 25px;
}
#user-welcome-signup {
font-family:Arial, Helvetica, sans-serif;
margin: 0;
padding: 35px 40px 20px 40px;
font-size: 18px;
line-height: 28px;
}
#user-welcome-signup a {
color: #bc0d0d;
}
#user-welcome-signup a:hover {
color: #d70808;
}
#user-welcome-more {
padding: 25px;
}
#user-welcome ul li {
padding: 0;
margin: 0 0 14px;
}
"</style>
<div id="user-welcome">
<h2>
wiki.localize('MindTouch.Templates.userwelcome', [site.name]);
</h2>
<p class="share">
wiki.localize('System.API.new-user-page-text');
</p>
<div id="user-welcome-header">
<p id="user-welcome-signup"> </p>
</div>
</div>
} else {
// displayed for visitors to the user page
wiki.localize('MindTouch.Templates.UserWelcome.visitor');
}
"]" expected: p/span, line 1, column 107 (click for details)Callstack:
at Template:Profile/User_Welcome
MindTouch.Deki.Script.Compiler.DekiScriptParserException: "]" expected: p/span, line 1, column 107
at MindTouch.Deki.Script.Compiler.Errors.SynErr (System.String origin, Int32 line, Int32 col, Int32 n) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.SynErr (Int32 n) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.Expect (Int32 n) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.List (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.Literal (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.Primary (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.Unary (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.MulExpr (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.AddExpr (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.ConcatExpr (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.RelExpr (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.EqlExpr (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.AndExpr (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.OrExpr (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.NullCoalescingExpr (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.TernaryExpression (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.Expression (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.ArgList (MindTouch.Deki.Script.Expr.Location& location, MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.Primary (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.Unary (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.MulExpr (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.AddExpr (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.ConcatExpr (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.RelExpr (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.EqlExpr (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.AndExpr (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.OrExpr (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.NullCoalescingExpr (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.TernaryExpression (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.Expression (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.Statements (MindTouch.Deki.Script.Expr.DekiScriptExpression& expr) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.DekiScript () [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.Parser.Parse () [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.Compiler.DekiScriptParser.Parse (Location location, System.String source) [0x00000] in <filename unknown>:0
at MindTouch.Deki.Script.DekiScriptInterpreter.Evaluate (MindTouch.Xml.XDoc script, System.Xml.XmlElement node, MindTouch.Deki.Script.DekiScriptEvalContext context, MindTouch.Deki.Script.Runtime.DekiScriptEnv env, MindTouch.Deki.Script.DekiScriptRuntime runtime, System.Boolean& scripted, System.Boolean& error) [0x00000] in <filename unknown>:0
{{ HideElements([ 'secure', 'usertran' ] ) }}