Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' of github.com:duckduckgo/duckduckgo-publisher

  • Loading branch information...
commit 096874459e4e2759be9c20a98be2d1edf67a2f2e 2 parents 65a8671 + 68446f3
@Getty Getty authored
View
2  share/site/duckduckgo/about.tx
@@ -87,7 +87,7 @@
<: l('Monthly newsletter:') :> &nbsp;
<input type="text" size="15" name="from" value="<: l('email address') :>" style="color:#888" onclick="if (this.value=='<: js(l('email address')) :>') {this.value='';this.style.color='#000000';}">
<input type="submit" value="Go">
-<input type="hidden" name="add3" value="1">
+<input type="hidden" name="add" value="1">
</span>
</form>
View
15 share/site/duckduckgo/footer_homepage.tx
@@ -19,12 +19,23 @@
</div>
<script type="text/javascript">
- document.x.q.focus();if (kurl) d.getElementById("logo_homepage_link").href+=kurl;
+ document.x.q.focus();
+ if (kurl) {d.getElementById("logo_homepage_link").href+='?t=i'+kurl;}
w=window;d=document;
fq=1;
ric=0;
var karr = new Array('t','ka','kb','kc','kd','ke','kf','kg','kh','ki','kj','kk','kl','km','kn','ko','kp','kq','kr','ks','kt','ku','kv','kw','kx','ky','kz','k1','k2','k3','k4','k5','k6','k7','k8','k9','kaa','kab','kac','kad','kae','kaf','kag','kah','kai','kaj','kak','kal','kam','kan','kao','kap','kaq','kar','kas','kat','kau','kav','kaw','kax','kay','kaz','key');
for (var i=0;i<karr.length;i++) {var kre=new RegExp('[\?\&]'+karr[i]+'=([^\&]+)');
var ktmp='';
- if (kre.test(window.location.href)) {ktmp=decodeURIComponent(RegExp.$1);if (ktmp.length<11) document.write('<input type="hidden" name="'+karr[i]+'" value="'+ktmp+'">');eval(karr[i]+'=ktmp');}if (karr[i]=='ki'&&((ktmp&&ktmp==-1)||YAHOO.util.Cookie.get("i")=='-1')) {document.write('<input type="hidden" name="v" value="n">');}else if(karr[i]=='kg'){if((ktmp&&ktmp=='p')||YAHOO.util.Cookie.get("g")=='p'){d.x.method='POST';}else{d.x.method='GET';}}else if(karr[i]=='kh'){if(((ktmp&&ktmp=='1')||YAHOO.util.Cookie.get("h")=='1')&&document.location.protocol!='https:'){d.x.action='https://'+window.location.host+'/';}else {d.x.action='/';}};}
+ if (kre.test(window.location.href)) {ktmp=decodeURIComponent(RegExp.$1);if (ktmp.length<11) document.write('<input type="hidden" name="'+karr[i]+'" value="'+ktmp+'">');eval(karr[i]+'=ktmp');}
+
+ if (karr[i]=='ki'&&((ktmp&&ktmp==-1)||YAHOO.util.Cookie.get("i")=='-1')) {document.write('<input type="hidden" name="v" value="n">');}
+ else if(karr[i]=='kg'){
+ if((ktmp&&ktmp=='p')||YAHOO.util.Cookie.get("g")=='p'){d.x.method='POST';}
+ else{d.x.method='GET';}}
+ else if(karr[i]=='kh'){
+ if(((ktmp&&ktmp=='1')||YAHOO.util.Cookie.get("h")=='1')&&document.location.protocol!='https:'){d.x.action='https://'+window.location.host+'/';}
+ else {d.x.action='/';}
+ };
+ }
</script>
View
4 share/site/duckduckgo/menu_inner.tx
@@ -2,11 +2,11 @@
<li><a href="/settings" tabindex="-1"><: l('Settings') :></a></li>
<li><a href="/goodies" tabindex="-1"><: l('Goodies') :></a></li>
<li><a href="/feedback" tabindex="-1"><: l('Help') :></a></li>
-<li class="more_menu_header header_button_menu_header"><: l('PRIVACY') :></li>
+<li class="more_menu_header header_button_menu_header"><: l('PRIVACY') :>&nbsp;&nbsp;&nbsp;&nbsp;</li>
<li><a href="/privacy" tabindex="-1"><: l('Policy') :></a></li>
<li><a href="http://donttrack.us/" tabindex="-1">DontTrack</a></li>
<li><a href="http://dontbubble.us/" tabindex="-1">DontBubble</a></li>
-<li class="more_menu_header header_button_menu_header"><: l('COMMUNITY') :></li>
+<li class="more_menu_header header_button_menu_header"><: l('COMMUNITY') :>&nbsp;&nbsp;&nbsp;&nbsp;</li>
<li><a href="http://duckduckhack.com/" tabindex="-1"><: l('Develop') :></a></li>
<li><a href="https://dukgo.com/" tabindex="-1"><: l('Translate') :></a></li>
<li><a href="/supportus" tabindex="-1"><: l('Support Us') :></a></li>

0 comments on commit 0968744

Please sign in to comment.
Something went wrong with that request. Please try again.