浏览代码

Update TipueSearch from 3.0.1 to 3.1

https://github.com/Tipue/Tipue-Search
Talha Mansoor 11 年之前
父节点
当前提交
8190feaa16

二进制
static/tipuesearch/img/expand.png


二进制
static/tipuesearch/img/link.png


二进制
static/tipuesearch/img/search.png


+ 1 - 1
static/tipuesearch/tipuesearch.css

@@ -1,5 +1,5 @@
 /*
-Tipue Search 3.0.1
+Tipue Search 3.1
 Copyright (c) 2013 Tipue
 Tipue Search is released under the MIT License
 http://www.tipue.com/search

+ 6 - 11
static/tipuesearch/tipuesearch.js

@@ -1,6 +1,6 @@
 
 /*
-Tipue Search 3.0.1
+Tipue Search 3.1
 Copyright (c) 2013 Tipue
 Tipue Search is released under the MIT License
 http://www.tipue.com/search
@@ -266,13 +266,8 @@ http://www.tipue.com/search
                                         out += '<div class="tipue_search_content_text">' + t_d + '</div>';
                                         
                                         if (set.showURL)
-                                        {
-                                             t_url = fo[3];
-                                             if (t_url.length > 45)
-                                             {
-                                                  t_url = fo[3].substr(0, 45) + ' ...';
-                                             }    
-                                             out += '<div class="tipue_search_content_loc"><a href="' + fo[3] + '"' + tipue_search_w + '>' + t_url + '</a></div>';
+                                        {  
+                                             out += '<div class="tipue_search_content_loc"><a href="' + fo[3] + '"' + tipue_search_w + '>' + fo[3] + '</a></div>';
                                         }
                                    }
                                    l_o++;     
@@ -286,7 +281,7 @@ http://www.tipue.com/search
                                    
                                    if (start > 0)
                                    {
-                                       out += '<li><a href="javascript:void(0)" class="tipue_search_foot_box" id="' + (start - set.show) + '_' + replace + '">Prev</a></li>'; 
+                                       out += '<li><a href="javascript:void(0)" class="tipue_search_foot_box" id="' + (start - set.show) + '_' + replace + '">&#171; Prev</a></li>'; 
                                    }
                                                        
                                    if (page <= 2)
@@ -310,7 +305,7 @@ http://www.tipue.com/search
                                    }
                                    else
                                    {
-                                        var p_b = page + 3;
+                                        var p_b = pages + 2;
                                         if (p_b > pages)
                                         {
                                              p_b = pages; 
@@ -330,7 +325,7 @@ http://www.tipue.com/search
                                                       
                                    if (page + 1 != pages)
                                    {
-                                       out += '<li><a href="javascript:void(0)" class="tipue_search_foot_box" id="' + (start + set.show) + '_' + replace + '">Next</a></li>'; 
+                                       out += '<li><a href="javascript:void(0)" class="tipue_search_foot_box" id="' + (start + set.show) + '_' + replace + '">Next &#187;</a></li>'; 
                                    }                    
                                    
                                    out += '</ul></div>';

文件差异内容过多而无法显示
+ 3 - 3
static/tipuesearch/tipuesearch.min.js


+ 1 - 1
static/tipuesearch/tipuesearch_set.js

@@ -1,6 +1,6 @@
 
 /*
-Tipue Search 3.0.1
+Tipue Search 3.1
 Copyright (c) 2013 Tipue
 Tipue Search is released under the MIT License
 http://www.tipue.com/search