From 23def0b48db5d3058e62bba5dffb055aecaea1cc Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 19 Feb 2012 14:26:41 -0800 Subject: [PATCH] provide sane osm defaults if nothing has been configured --- openstreetmap.tgz | Bin 944 -> 2010 bytes openstreetmap/openstreetmap.php | 15 +++++++++++++-- qcomment.tgz | Bin 1432 -> 1426 bytes 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/openstreetmap.tgz b/openstreetmap.tgz index 93dc874b6296c6227aacee15444b9b8f959ca357..e54b0c787525150e39ab29c1eb5c072c2ce2f4ec 100644 GIT binary patch literal 2010 zcmV<02POC)iwFSsc0o@71MOICZ`;Tb_E+;)Oa&vN422RYQIZu~Y0#woaB&mFPKzQ4 zgcZ4x7N)qo<}I5t|JuP<5{ut?6!GdnN4Gcx08t`+Bc!LruDZ?f9B z`u*@A2)q3t=pMAgUeN3M=6$&ie7_&GgMKFn!h^Qo>4m`ogue}(>MC;06u`lPMKhtU zMS2HaHVb?HU@&+JOi#FE#s44Pyn229=CO5z;#j7@l0+_ZSjhskgd*oV(x*~EEb=U2E0NA1krC5Ern%=h1my$&xe$skc&c-P zfU>O=O)4@AjfAJ1$G|{~gu?|_*IXe9(~v27jlgnz;($Sof~x>xrWv5DDZVghIP$J! z%1gW+T+X>rR&s76qiu>qDz)dlPdFnq3^#=#dU*w?R2z=kC9!#t)sFKbxmXmb&?{hR4Edb4g{TtA;?jYClIc{; z3T3=%JxDSPnK##w`RrwLj0D0)axie9R>4yvUl_rqIV{rRnrR+8Cd$yM7>97go{y}+ zPxXA2Yrd#|{!}*<_0Mp&BeV&g=hYmuxpQ`H{7tI$QbJTgea)0$lLUi^;)8G)nZs|C zR^*dzy~you8~ye5hA)@j+3)&``{n&2<-&^c2S|^J#^HFQqRaN#Ns$w@qg$^qlfV%Sa~R64+MWFfP%GiG=bqPgp+pU>%U_eX^orK4nFs zflxXL=23#-xK2DU;*aUuu?IdrqTYNimxf?Dmxy&KRT3M8{(y3lzRbmJ&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g^a;9~R0x^i&S+%y`@0MO5>V0E;htZDZC~PxMzURX_lMuI zbOrVz2AuH?Q_F#l2^3cuTMld(!&e9Jojri9Wa)CycH`aM-T141cdp(owSrm)K}Ev8 zWn1f7oiwv>V%(f#AWb1KWkPyTvf|KmE+7Q_CXC+!^ZS3QD}0saJ1k`H(j4) z73=EL>P{%?>ba)|9dAS1syxHUmT*vbY3 t('Submit'), - '$tmsserver' => array('tmsserver', t('Tile Server URL'), get_config('openstreetmap','tmsserver' ), t('A list of public tile servers')), - '$zoom' => array('zoom', t('Default zoom'), get_config('openstreetmap','zoom' ), t('The default zoom level. (1:world, 18:highest)')), + '$tmsserver' => array('tmsserver', t('Tile Server URL'), $tmsserver, t('A list of public tile servers')), + '$zoom' => array('zoom', t('Default zoom'), $zoom, t('The default zoom level. (1:world, 18:highest)')), )); } function openstreetmap_plugin_admin_post (&$a) { diff --git a/qcomment.tgz b/qcomment.tgz index b0ae94bc88e605fdc39b9f8c7de58618d7e5473f..76dffda1c46b5eac43e558fa50e9ffa378a801e4 100644 GIT binary patch literal 1426 zcmV;D1#S8tiwFSsc0o@71MOFBZ`(Ey&e!-?+_a#w3&*nEI4RQD!_alWfOT!rV*Ah* z0WDD$7m8F#%8pU=zweH+9KWPUF{JH)>5#zo@!p<$qx2!xdCrxK4!$1skHGr&>x)+PfrG(zoLV|;B43*o()H%vxEL%cse*efYDcsX-%bd%m5tZES?E77wR)| z#cXssc>MVBw}|N*(ucbK^_O0e75D7pj{1*I2E(2Dj|TVw{dQ`{2X4DBEEvBRYMT_7j9!C3MaHWhc^oiu_TFA%UBZmlN;-g2faT1{<(CS zHs|nMTyc0_Cl@X<=ZfC_Eu;`hRKkTqN8A1Ir!g6db>H5LhLO zf;$_)A`@{2F;g(*Ae80C@dUp(jXJB~U?EhZ7cgB`K?^klt-xhG?~#{Zg|QB}VpGY9 z3oJ?STzC<%OY3-!yc`(?Q(X3ZY;Q8IfHU-7Aa0bWARH4?8`2X7;!KN}Q`8G>5=#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