Commits

Anonymous committed 4cfdd47

新窗口分享

  • Participants
  • Parent commits b40aa53

Comments (0)

Files changed (3)

 		'USER':users.get_current_user(),
 		'URL':URL,
 		'NOTERM':NoTerm,
+		'NAME':db.get(user).name,
 		}
 		path = os.path.join(os.path.dirname(__file__), 'tpl','admin.html')
 		self.response.out.write(template.render(path, template_values))
 <div id="header">
 <h3>你的短链接:<br /><a href="/{{URL}}">mycubemark.appspot.com/{{URL}}</a></h3>
  分享到:
- <a href="http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=http://mycubemark.appspot.com/{{URL}}&title={{NAME}}的魔方成绩--mycubemark--在线魔方成绩" >QQ空间</a>
-  <a href="http://share.renren.com/share/buttonshare.do?link=http://mycubemark.appspot.com/{{URL}}&title={{NAME}}的魔方成绩--mycubemark--在线魔方成绩" >人人网</a>
-   <a href="http://www.douban.com/recommend/?url=http://mycubemark.appspot.com/{{URL}}&title={{NAME}}的魔方成绩--mycubemark--在线魔方成绩" >豆瓣</a>
-    <a href="http://v.t.sina.com.cn/share/share.php?url=http://mycubemark.appspot.com/{{URL}}&title={{NAME}}的魔方成绩--mycubemark--在线魔方成绩&appkey=79003238&type=3&ralateUid=1763833817" >新浪微博</a>
+ <a href="http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=http://mycubemark.appspot.com/{{URL}}&title={{NAME}}的魔方成绩--mycubemark--在线魔方成绩"  target="_blank">QQ空间</a>
+  <a href="http://share.renren.com/share/buttonshare.do?link=http://mycubemark.appspot.com/{{URL}}&title={{NAME}}的魔方成绩--mycubemark--在线魔方成绩" target="_blank">人人网</a>
+   <a href="http://www.douban.com/recommend/?url=http://mycubemark.appspot.com/{{URL}}&title={{NAME}}的魔方成绩--mycubemark--在线魔方成绩" target="_blank">豆瓣</a>
+    <a href="http://v.t.sina.com.cn/share/share.php?url=http://mycubemark.appspot.com/{{URL}}&title={{NAME}}的魔方成绩--mycubemark--在线魔方成绩&appkey=79003238&type=3&ralateUid=1763833817" target="_blank">新浪微博</a>
 </div>
 
 
 
 <html>
 <head>
-<title>bingo</title>
+<title>{{NAME}}的魔方成绩--mycubemark--在线魔方成绩</title>
 <meta http-equiv="Content-Type" content="text/html; charset=utf8">
 <link href="../static/main.css" rel="stylesheet" type="text/css" media="all" />
 </head>