Changeset 2795
- Timestamp:
- 07/16/08 08:48:17 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/release-41/default_templates/javascript.mtml
r2764 r2795 235 235 if (u.url) str += "url:'" + mtEscapeJS(u.url) + "';"; 236 236 if (u.email) str += "email:'" + mtEscapeJS(u.email) + "';"; 237 if (u.auth_type) str += "auth_type:'" + u.auth_type + "';"; 237 238 if (u.is_authenticated) str += "is_authenticated:'1';"; 238 239 if (u.profile) str += "profile:'" + mtEscapeJS(u.profile) + "';"; … … 259 260 var u = {}; 260 261 var m; 261 while (m = s.match(/^((name|url|email| is_authenticated|profile|userpic|sid|is_trusted|is_author|is_banned|can_post|can_comment):'([^']+?)';?)/)) {262 while (m = s.match(/^((name|url|email|auth_type|is_authenticated|profile|userpic|sid|is_trusted|is_author|is_banned|can_post|can_comment):'([^']+?)';?)/)) { 262 263 s = s.substring(m[1].length); 263 264 if (m[2].match(/^(is|can)_/)) // boolean fields
