Commits

Anonymous committed 7c5f02d

new logo
background

  • Participants
  • Parent commits 1378613

Comments (0)

Files changed (7)

javascripts/lib2nd.js

 // app.js
 // report
 // ajaxlogin
-// jquery.poshytip.min
 var l = window.location.href;
 var currentUser;
 var VoteHistory = {
 	_IsValid  : null,
 	// set/get state for article
 	// return 1,0,-1 for state up, normal, down
-	voteState : function (article_id,state){
+	voteState : function(article_id, state){
 		if (!this.isValid()) return 0;
 		if(state == null){
 			return this._Historys[article_id];
 	});
 }
 var msg_regexp = new RegExp('您收到\\d+个小纸条');
+
 function queryNewMessage(){
 	if(currentUser){	
         	$.ajax({
                     type: "GET",
-                    url: "/new4/messages?query_new_msg=" + Math.floor(Math.random()*316661),
+                    url: "/messages/count?query_new_msg=" + Math.floor(Math.random()*316661),
                     dataType: "text",
                     success: function(msg) {
 			newmsg = parseInt(msg);
     var form = $(this);
     $.post('/new2/suggest', form.serialize(), function(data){
 
-	$('#suggest-form').trigger('close');
+      $('#suggest-form').trigger('close');
       $('button[type=submit]', form).attr('disabled', '').val('提交建议');
       $('#suggest-text')[0].value = '';
   	$('#suggest-form button[type=submit]').attr("disabled", false ) ;

javascripts/signin_up.js

                 $('#insertlogin').html("<span class='verifi-failed'></span>不能为空");
                 return;
            }
-           {$.get("/new4/signup_login",{user_login:$(this).val()},
+           {$.get("/users/check_login", {user_login:$(this).val() },
            function(text){
                 if( text=='1')$('#insertlogin').html("<span class='verifi-failed'></span>此用户名已被注册");
                 else
     $('#user_email').change(function(){
     var email=$('#user_email').val();
         if( $('#user_email').val()  == 0 ) { $('#insertemail').html("<span class='verifi-failed'></span>不能为空");return}
-       if(isEmail(email)){$.get("/new4/signup_email",{user_email:$(this).val()},
+       if(isEmail(email)){$.get("/users/check_email",{user_email:$(this).val()},
            function(text){
              /*  if (text!="can_use"){ */
               if( text=='1')$('#insertemail').html("<span class='verifi-failed'></span>此邮箱地址已被使用");

stylesheets/.gitignore

+
+*.css~

stylesheets/img/logo.jpg

Removed
Old image

stylesheets/img/logo.png

Added
New image

stylesheets/img/web_icon.png

Old
Old image
New
New image

stylesheets/style_web.css

 /* Head */
 
 .head{background:url(img/web_icon.png) repeat-x 0 -477px;}
-.head .content-block{height:180px; background-image:url(img/logo.jpg); background-repeat:no-repeat;}
+.head .content-block{height:180px; background-image:url(img/logo.png); background-repeat:no-repeat;}
 .head .logo {float: left; }
 .head .logo a {display: block;	height: 180px;	width: 250px;	text-indent: -999999px;}
 
 _margin:9px 0 0 9px; /* for IE6 */ }
 .sign .verifi-success, .sign .verifi-failed {display:inline-block; vertical-align:middle; height:20px; width:20px; margin:0 4px 0 0;}
 .sign .verifi-success {background:url(img/web_icon.png) no-repeat -200px 0;}
-.sign .verifi-failed {background:url(img/web_icon.png) no-repeat -220px 0;}
+.sign .verifi-failed {background:url(img/web_icon.png) no-repeat -220px 0;}