projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adds the possibility to forge an url linking to a profile page from networking addresses
[platal.git]
/
templates
/
geoloc
/
form.address.tpl
diff --git
a/templates/geoloc/form.address.tpl
b/templates/geoloc/form.address.tpl
index
3b4f87d
..
63389f7
100644
(file)
--- a/
templates/geoloc/form.address.tpl
+++ b/
templates/geoloc/form.address.tpl
@@
-1,6
+1,6
@@
{**************************************************************************}
{* *}
{**************************************************************************}
{* *}
-{* Copyright (C) 2003-200
7
Polytechnique.org *}
+{* Copyright (C) 2003-200
8
Polytechnique.org *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
{* http://opensource.polytechnique.org/ *}
{* *}
{* This program is free software; you can redistribute it and/or modify *}
@@
-40,6
+40,7
@@
name="{$name}[geoloc]"
onclick="blur()"
>{$adr.geoloc}</textarea>
name="{$name}[geoloc]"
onclick="blur()"
>{$adr.geoloc}</textarea>
+<input type="hidden" name="{$name}[geoloc_cityid]" value="{$adr.geoloc_cityid}" />
<input type="hidden" name="{$name}[parsevalid]" value="0" />
</span>
</div>
<input type="hidden" name="{$name}[parsevalid]" value="0" />
</span>
</div>
@@
-59,4
+60,7
@@
<input type="hidden" name="{$name}[countrytxt]" value="{$adr.countrytxt}" />
<input type="hidden" name="{$name}[region]" value="{$adr.region}" />
<input type="hidden" name="{$name}[regiontxt]" value="{$adr.regiontxt}" />
<input type="hidden" name="{$name}[countrytxt]" value="{$adr.countrytxt}" />
<input type="hidden" name="{$name}[region]" value="{$adr.region}" />
<input type="hidden" name="{$name}[regiontxt]" value="{$adr.regiontxt}" />
+<input type="hidden" name="{$name}[checked]" value="{$adr.checked}" />
+<input type="hidden" name="{$name}[precise_lat]" value="{$adr.precise_lat}" />
+<input type="hidden" name="{$name}[precise_lon]" value="{$adr.precise_lon}" />
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}
{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}