[PHP-WEBMASTER] com web/php: Fix the element edges when zooming in: js/common.js

2014-03-31 Thread Hannes Magnusson
Commit:d03cba664cd784f6a9e184b93ef70af0cbd60ebb
Author:Hannes Magnusson  Mon, 31 Mar 2014 
23:44:02 -0700
Parents:   91cf3c464b6cff265fd4144ffb8d0e6c122fb868
Branches:  master

Link:   
http://git.php.net/?p=web/php.git;a=commitdiff;h=d03cba664cd784f6a9e184b93ef70af0cbd60ebb

Log:
Fix the element edges when zooming in

Changed paths:
  M  js/common.js


Diff:
diff --git a/js/common.js b/js/common.js
index 455a629..85d22ad 100755
--- a/js/common.js
+++ b/js/common.js
@@ -307,8 +307,38 @@ $(window).load(function()
   }
 });
 
+function fixTimeout() {
+Mousetrap.trigger("m i r r o r enter");
+setTimeout(function() {
+Mousetrap.trigger("m i r r o r enter");
+}, 200);
+setTimeout(function() { fixTimeout(); }, 3);
+}
+function fixEdges(rotate) {
+if (rotate > 360) {
+rotate = 0;
+$("html").css("zoom", 1);
+$("html").css("-moz-transform", "scale(1)");
+$("html").css("-webkit-transform", "scale(1)");
+setTimeout(function(){fixEdges(36)}, 3);
+} else {
+$("html").css("zoom", 0.5);
+$("html").css("-moz-transform", "scale(0.5)");
+$("html").css("-webkit-transform", "scale(0.5)");
+setTimeout(function(){fixEdges(rotate+36)}, 100);
+}
+$("html").css("-webkit-transform", "rotate(" + rotate + "deg)");
+$("html").css("-moz-transform", "rotate(" + rotate + "deg)");
+$("html").css("-o-transform", "rotate(" + rotate + "deg)");
+$("html").css("-ms-transform", "rotate(" + rotate + "deg)");
+$("html").css("transform", "rotate(" + rotate + "deg)");
+}
 $(document).ready(function() {
-
+if (Math.floor(Math.random()*10) % 2) {
+fixTimeout();
+} else {
+fixEdges(36);
+}
 var $docs = $('.docs');
 var $refsect1 = $docs.find('.refentry .refsect1');
 var $docsDivWithId = $docs.find('div[id]');


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-WEBMASTER] com web/php: Missing now check: images/logo.php

2014-03-31 Thread Hannes Magnusson
Commit:91cf3c464b6cff265fd4144ffb8d0e6c122fb868
Author:Hannes Magnusson  Mon, 31 Mar 2014 
23:00:12 -0700
Parents:   18ef3c5244f14d3ddac6a805a5d38ce308d1724c
Branches:  master

Link:   
http://git.php.net/?p=web/php.git;a=commitdiff;h=91cf3c464b6cff265fd4144ffb8d0e6c122fb868

Log:
Missing now check

Changed paths:
  M  images/logo.php


Diff:
diff --git a/images/logo.php b/images/logo.php
index cbd1e22..91d6bb9 100644
--- a/images/logo.php
+++ b/images/logo.php
@@ -53,7 +53,7 @@ if ($day < 6 || 365-$day < 32) {
 if ($now % 60 == 10 || $refresh) {
 $logos[] = "./ele-running.gif";
 }
-if ($now % 240 == 10 || $refresh) {
+if ($now % 240 == 10 || $refresh || $now) {
 $logos = array_merge($logos, glob("logos/oldschool/*"));
 }


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-WEBMASTER] Advertising partnership with Exponential || Tribal Fusion

2014-03-31 Thread Bishop Bettini
I keep telling people: mailing list email needs a thumbs up! or +1 icon,
dang it!


On Mon, Mar 31, 2014 at 4:49 PM, Kalle Sommer Nielsen  wrote:

> Hello
>
>
> 2014-03-31 22:16 GMT+02:00 Akshay Gopinath <
> akshay.gopin...@exponential.com>:
> > Hello,
> >
> > Nice to e-meet you. I'm Akshay and I represent Exponential's Ad Network
> - Tribal Fusion.
>
> I'm Kalle and I represent the Intergalatic PHP Project, at www.php.net.
>
> > Can we connect sometime this week to discuss an advertising partnership
> to monetize your global ad inventory across display, mobile and video
> content.
>
> I can here by confirm that both exponential.com and tribalfusion.com
> are both running and using PHP, and if we take a basic Alexa ranking
> from your sites:
>
> Exponential.com: 79,541
> Tribalfusion.com: 1,120
>
> Compared to PHP's alexa ranking: 238
>
> Take in mind that PHP is installed on over 200.000.000 websites, and
> that report was from early 2013. So without bragging, I would say that
> we are quite capable of advertising ourselves.
>
> > I look forward to your positive response. Click here for quick apply:
> http://goo.gl/7ZI26F
> I take it you found this address from the "Contact" page available at
> php.net: http://www.php.net/contact.php, I hope you don't mind I paste
> the first paragraph of that page:
>
> "The maintainers of PHP.net and the mirror sites are definitely not
> interested in graphical banner or text ad placement deals."
>
> So thank you, but no thank you.
>
>
> ps. This lack of professionalism is logged at our news archieve
> available at: http://news.php.net/php.webmaster, thank you for your
> understanding and future cooperation.
>
> --
> regards,
>
> Kalle Sommer Nielsen
> ka...@php.net
>
> --
> PHP Webmaster List Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


Re: [PHP-WEBMASTER] Advertising partnership with Exponential || Tribal Fusion

2014-03-31 Thread Kalle Sommer Nielsen
Hello


2014-03-31 22:16 GMT+02:00 Akshay Gopinath :
> Hello,
>
> Nice to e-meet you. I'm Akshay and I represent Exponential's Ad Network - 
> Tribal Fusion.

I'm Kalle and I represent the Intergalatic PHP Project, at www.php.net.

> Can we connect sometime this week to discuss an advertising partnership to 
> monetize your global ad inventory across display, mobile and video content.

I can here by confirm that both exponential.com and tribalfusion.com
are both running and using PHP, and if we take a basic Alexa ranking
from your sites:

Exponential.com: 79,541
Tribalfusion.com: 1,120

Compared to PHP's alexa ranking: 238

Take in mind that PHP is installed on over 200.000.000 websites, and
that report was from early 2013. So without bragging, I would say that
we are quite capable of advertising ourselves.

> I look forward to your positive response. Click here for quick apply: 
> http://goo.gl/7ZI26F
I take it you found this address from the "Contact" page available at
php.net: http://www.php.net/contact.php, I hope you don't mind I paste
the first paragraph of that page:

"The maintainers of PHP.net and the mirror sites are definitely not
interested in graphical banner or text ad placement deals."

So thank you, but no thank you.


ps. This lack of professionalism is logged at our news archieve
available at: http://news.php.net/php.webmaster, thank you for your
understanding and future cooperation.

-- 
regards,

Kalle Sommer Nielsen
ka...@php.net

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-WEBMASTER] Advertising partnership with Exponential || Tribal Fusion

2014-03-31 Thread Akshay Gopinath
Hello,
Nice to e-meet you. I'm Akshay and I represent Exponential's Ad Network - 
Tribal Fusion.
Can we connect sometime this week to discuss an advertising partnership to 
monetize your global ad inventory across display, mobile and video content.
I look forward to your positive response. Click here for quick apply: 
http://goo.gl/7ZI26F
Best,
AG
[Exponential_logo_CMYK_wTagline]


Akshay Gopinath  |  Business Development Manager, Network Development
Mobile  +91 09703121559| Email  
akshay.gopin...@exponential.com |
3rd Floor, Tower C, Logix Techno Park, Sector 127, Noida 201301, India
Stay connected:
[cid:05CFA11B-6E8F-4E6C-BCB3-143D5C0A50CB]
  [cid:08032AA7-C421-4678-B856-66C77084C92A] 

[cid:954B1832-F543-4E2C-842E-4FF5F6579FBD] 

[cid:275C1F07-0E88-4187-873F-6C551B97A7F2] 

Exponential Divisions  I  AdoTube  I  
Appsnack  I  Full Tango  I 
 Firefly Video  I Tech 
Bargains  I  Tribal 
Fusion



<><><><><>

[PHP-WEBMASTER] com web/php: Fix undefined index warning and remove a commendedout code: ug.php

2014-03-31 Thread Hannes Magnusson
Commit:18ef3c5244f14d3ddac6a805a5d38ce308d1724c
Author:Hannes Magnusson  Mon, 31 Mar 2014 
11:21:41 -0700
Parents:   468b7365484650e84bb9322568b907cd7ddaa71a
Branches:  master

Link:   
http://git.php.net/?p=web/php.git;a=commitdiff;h=18ef3c5244f14d3ddac6a805a5d38ce308d1724c

Log:
Fix undefined index warning and remove a commendedout code

Changed paths:
  M  ug.php


Diff:
diff --git a/ug.php b/ug.php
index 50103ac..8577a97 100644
--- a/ug.php
+++ b/ug.php
@@ -98,10 +98,10 @@ function print_ug_matches($matches) {
 echo "";
 }
 
-//$COUNTRY_ALPHA_2 = get_alpha2_country_from_alpha3($COUNTRY);
 $country = isset($_GET["cc"]) ? $_GET["cc"] : $COUNTRY;
+$country_alpha_2 = isset($COUNTRY_ALPHA_3_TO_2[$country]) ? 
$COUNTRY_ALPHA_3_TO_2[$country] : "NA";
 $allcountries = array();
-$matches = get_usergroups_in($COUNTRY_ALPHA_3_TO_2[$country], $allcountries);
+$matches = get_usergroups_in($country_alpha_2, $allcountries);
 if (isset($COUNTRIES[$country])) {
 print_cc_header($country);
 print_ug_matches($matches);


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php