From 474f87c84f890f77fa4269d2da59f1698ab81f6c Mon Sep 17 00:00:00 2001 From: Gustavo Martin Morcuende Date: Wed, 27 Jun 2012 14:35:05 +0200 Subject: [PATCH] Embedding google maps in office form. --- apps/companyfront/modules/office/config/view.yml | 20 + .../modules/office/templates/_formCustomOffice.php | 4 + .../office/templates/_formCustomOfficeAds.php | 1 + .../modules/office/templates/indexSuccess.php | 2 + lib/form/doctrine/OfficeForm.class.php | 1 + web/css/inadminpanel/style.googlemaps.css | 584 +++++++++++++++++++++ web/js/googlemaps.js | 56 ++ 7 files changed, 668 insertions(+) create mode 100644 apps/companyfront/modules/office/config/view.yml create mode 100644 web/css/inadminpanel/style.googlemaps.css create mode 100644 web/js/googlemaps.js diff --git a/apps/companyfront/modules/office/config/view.yml b/apps/companyfront/modules/office/config/view.yml new file mode 100644 index 0000000..ca64440 --- /dev/null +++ b/apps/companyfront/modules/office/config/view.yml @@ -0,0 +1,20 @@ +# You can find more information about this file on the symfony website: +# http://www.symfony-project.org/reference/1_4/en/13-View + +default: + http_metas: + content-type: text/html + + metas: + #title: symfony project + #description: symfony project + #keywords: symfony, project + #language: en + #robots: index, follow + + stylesheets: [inadminpanel/niceforms-default.css] + + javascripts: [jquery-1.6.2.min.js, inadminpanel/ddaccordion.js] + + has_layout: true + layout: layout diff --git a/apps/companyfront/modules/office/templates/_formCustomOffice.php b/apps/companyfront/modules/office/templates/_formCustomOffice.php index 8963f67..d01f104 100644 --- a/apps/companyfront/modules/office/templates/_formCustomOffice.php +++ b/apps/companyfront/modules/office/templates/_formCustomOffice.php @@ -1,4 +1,6 @@ + +