Monday, December 10, 2007 17:08:08 |
Statistics |
Total changed lines : 23 (<1%); Same : 3401 |
Target Only : 6 |
Source Only : 9 |
Changed : 8 |
C:\Downloads\50_default_stylesheet\default_frontend_stylesheet.en.xslt | C:\Downloads\50_default_stylesheet\50iframe-example-frontend\iframe-example-frontend_stylesheet.en.xslt |
18 | 18 | Logo setup (can be customized) |
19 | 19 | - whether to show logo: 0 for FALSE, 1 (or non-zero) for TRUE |
20 | 20 | - logo url |
21 | 21 | - logo size: '' for default image size |
22 | 22 | ********************************************************************** --> |
23 | <xsl:variable name="show_logo">1</xsl:variable> | 23 | <xsl:variable name="show_logo">0</xsl:variable> |
24 | 24 | <xsl:variable name="logo_url">images/Title_Left.gif</xsl:variable> |
25 | 25 | <xsl:variable name="logo_width">200</xsl:variable> |
26 | 26 | <xsl:variable name="logo_height">78</xsl:variable> |
27 | 27 | |
28 | 28 | <!-- ********************************************************************** |
57 | 57 | <xsl:variable name="show_alerts_link">0</xsl:variable> |
58 | 58 | <xsl:variable name="alerts_anchor_text">Alerts</xsl:variable> |
59 | 59 | |
60 | 60 | <!-- *** search boxes *** --> |
61 | 61 | <xsl:variable name="show_top_search_box">1</xsl:variable> |
62 | <xsl:variable name="show_bottom_search_box">1</xsl:variable> | 62 | <xsl:variable name="show_bottom_search_box">0</xsl:variable> |
63 | 63 | <xsl:variable name="search_box_size">32</xsl:variable> |
64 | 64 | |
65 | 65 | <!-- *** choose search button type: 'text' or 'image' *** --> |
66 | 66 | <xsl:variable name="choose_search_button">text</xsl:variable> |
67 | 67 | <xsl:variable name="search_button_text">Google Search</xsl:variable> |
83 | 83 | <xsl:variable name="my_nav_align">right</xsl:variable> |
84 | 84 | <xsl:variable name="my_nav_size">-1</xsl:variable> |
85 | 85 | <xsl:variable name="my_nav_color">#6f6f6f</xsl:variable> |
86 | 86 | |
87 | 87 | <!-- *** sort by date/relevance *** --> |
88 | <xsl:variable name="show_sort_by">1</xsl:variable> | 88 | <xsl:variable name="show_sort_by">0</xsl:variable> |
89 | 89 | |
90 | 90 | <!-- *** spelling suggestions *** --> |
91 | 91 | <xsl:variable name="show_spelling">1</xsl:variable> |
92 | 92 | <xsl:variable name="spelling_text">Did you mean:</xsl:variable> |
93 | 93 | <xsl:variable name="spelling_text_color">#cc0000</xsl:variable> |
138 | 138 | <xsl:variable name="res_url_size">-1</xsl:variable> |
139 | 139 | <xsl:variable name="truncate_result_urls">1</xsl:variable> |
140 | 140 | <xsl:variable name="truncate_result_url_length">100</xsl:variable> |
141 | 141 | |
142 | 142 | <!-- *** misc elements *** --> |
143 | <xsl:variable name="show_meta_tags">0</xsl:variable> | 143 | <xsl:variable name="show_meta_tags">1</xsl:variable> |
144 | 144 | <xsl:variable name="show_res_size">1</xsl:variable> |
145 | 145 | <xsl:variable name="show_res_date">1</xsl:variable> |
146 | 146 | <xsl:variable name="show_res_cache">1</xsl:variable> |
147 | 147 | |
148 | 148 | <!-- *** used in result cache link, similar pages link, and description *** --> |
708 | 708 | <input type="hidden" name="ie" value="{@value}" /> |
709 | 709 | </xsl:if> |
710 | 710 | <xsl:text> |
711 | 711 | </xsl:text> |
712 | 712 | </xsl:for-each> |
713 | |||
714 | <!--Add these fields to every query string submitted from this front end--> | ||
715 | <input type="hidden" name="getfields" value="rank.price.fly-type" /> | ||
716 | <input type="hidden" name="num" value="3" /> | ||
717 |
713 | 718 | <xsl:if test="$search_collections_xslt = '' and PARAM[@name='site']"> |
714 | 719 | <input type="hidden" name="site" value="{PARAM[@name='site']/@value}"/> |
715 | 720 | </xsl:if> |
716 | 721 | </xsl:template> |
717 | 722 |
1932 | 1937 | </td> |
1933 | 1938 | </tr> |
1934 | 1939 | <xsl:if test="$show_secure_radio != '0'"> |
1935 | 1940 | <tr> |
1936 | 1941 | <td colspan="2"> |
1937 | <font size="-1">Search: | 1942 | <font size="-1"> |
1938 | 1943 | <xsl:choose> |
1939 | 1944 | <xsl:when test="$access='p'"> |
1940 | <label><input type="radio" name="access" value="p" checked="checked" />public content</label> | 1945 | <input type="checkbox" name="access" value="a" /> |
1941 | 1946 | </xsl:when> |
1942 | 1947 | <xsl:otherwise> |
1943 | <label><input type="radio" name="access" value="p"/>public content</label> | 1948 | <input type="checkbox" name="access" value="a" |
1949 | checked="checked" /> |
1944 | 1950 | </xsl:otherwise> |
1945 | 1951 | </xsl:choose> |
1946 | <xsl:choose> | 1952 | Include secure content |
1947 | <xsl:when test="$access='a'"> | ||
1948 | <label><input type="radio" name="access" value="a" checked="checked" />public and secure content</label> | ||
1949 | </xsl:when> | ||
1950 | <xsl:otherwise> | ||
1951 | <label><input type="radio" name="access" value="a"/>public and secure content</label> | ||
1952 | </xsl:otherwise> | ||
1953 | </xsl:choose> |
1954 | 1953 | </font> |
1955 | 1954 | </td> |
1956 | 1955 | </tr> |
1957 | 1956 | </xsl:if> |
1958 | 1957 | </table> |
2992 | 2991 | ********************************************************************** --> |
2993 | 2992 | <xsl:template name="analytics"> |
2994 | 2993 | <xsl:if test="string-length($analytics_account) != '0'"> |
2995 | 2994 | <script src="{$analytics_script_url}" type="text/javascript"></script> |
2996 | 2995 | <script type="text/javascript"> |
2997 | <xsl:comment> |
2998 | 2996 | _uacct = "<xsl:value-of select='$analytics_account'/>"; |
2999 | 2997 | urchinTracker(); |
3000 | //</xsl:comment> |
3001 | 2998 | </script> |
3002 | 2999 | </xsl:if> |
3003 | 3000 | </xsl:template> |
3004 | 3001 | |
3005 | 3002 | <!-- ********************************************************************** |