You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2011/07/19 06:21:02 UTC
svn commit: r1148147 - in /ofbiz/trunk/applications/party:
webapp/partymgr/party/editGeoLocation.ftl widget/partymgr/PartyScreens.xml
Author: hansbak
Date: Tue Jul 19 04:21:01 2011
New Revision: 1148147
URL: http://svn.apache.org/viewvc?rev=1148147&view=rev
Log:
use google geo key from general properties, comment from Erwan
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/party/editGeoLocation.ftl
ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml
Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/editGeoLocation.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/editGeoLocation.ftl?rev=1148147&r1=1148146&r2=1148147&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/editGeoLocation.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/editGeoLocation.ftl Tue Jul 19 04:21:01 2011
@@ -17,7 +17,7 @@ specific language governing permissions
under the License.
-->
-<script src="http://maps.google.com/maps?file=api&v=2&" type="text/javascript"></script>
+<script src="http://maps.google.com/maps?file=api&v=2&key=${googleMapKey?if_exists}" type="text/javascript"></script>
<script type="text/javascript">
function load() {
if (GBrowserIsCompatible()) {
Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml?rev=1148147&r1=1148146&r2=1148147&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/PartyScreens.xml Tue Jul 19 04:21:01 2011
@@ -1158,6 +1158,7 @@ under the License.
<actions>
<set field="titleProperty" value="PageTitlePartyGeoLocation"/>
<set field="tabButtonItem" value="PartyGeoLocation"/>
+ <property-to-field field="googleMapKey" resource="general" property="https.demo-trunk.ofbiz.apache.org"/>
<set field="partyId" from-field="parameters.partyId"/>
<script location="component://party/webapp/partymgr/WEB-INF/actions/party/GetGeoLocation.groovy"/>
</actions>