From: short <> Date: Thu, 15 Dec 2005 09:48:39 +0000 (+0000) Subject: Provide client-selectively www.mms2.org/www.mms2.cz sites. X-Git-Url: http://git.jankratochvil.net/?p=www.jankratochvil.net.git;a=commitdiff_plain;h=ac243940c725600226f1b7ecd1c21f66a0e82f36;ds=sidebyside Provide client-selectively mms2.org/www.mms2.cz sites. --- diff --git a/product/mms2/Index.pm b/product/mms2/Index.pm index de809eb..0ca4be5 100644 --- a/product/mms2/Index.pm +++ b/product/mms2/Index.pm @@ -50,6 +50,13 @@ my $W=product::Lib->init( my $ListItem=product::Lib->name_to_hashref("mms2"); +my %www_mms2_site=( + "CZ"=>"www.mms2.cz", + "SK"=>"www.mms2.cz", + ""=>"www.mms2.org", + ); +my $www_mms2_site=text_cc \%www_mms2_site; +$_="http://$_/" for values(%www_mms2_site); # would get wrapped to the image width. print <<"HERE";

@{[ product::Lib->title($ListItem) ]}

@@ -57,10 +64,11 @@ print <<"HERE";

Currently supported client mobile phones of the country: Czech Republic

+ -
@{[ - img 'web-screenshot256.png','www.mms2.org web link', - "a_href"=>'http://www.mms2.org/' + a_href_cc \%www_mms2_site,img('web-screenshot256.png',"$www_mms2_site web link") + ]}
@{[ + a_href_cc \%www_mms2_site,"$www_mms2_site web link" ]}
@{[ a_href 'http://www.mms2.org/','www.mms2.org web link' ]}
HERE