Changeset 453
- Timestamp:
- 05/26/10 10:06:41 (21 months ago)
- Location:
- trunk/views
- Files:
-
- 3 edited
-
layouts/gmap.ctp (modified) (3 diffs)
-
markers/admin_index.ctp (modified) (2 diffs)
-
markers/view.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/views/layouts/gmap.ctp
r452 r453 4 4 <head> 5 5 <meta http-equiv="content-type" content="text/html; charset=utf-8"/> 6 <title>Google Maps</title> 6 <title>MonoNeurona::Google Maps</title> 7 <style type="text/css"> 8 body { 9 background: #fff url(/img/imgusers/aarkerio_1985.jpg) bottom right no-repeat; 10 margin: 0px; 11 padding: 0px; 12 font-size: 10pt; 13 font-family: Verdana, Arial; 14 min-width:900px; 15 } 16 </style> 7 17 <meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> 18 8 19 <script type="text/javascript" src="http://www.google.com/jsapi"></script> 9 20 … … 19 30 var myLatlng = new google.maps.LatLng(19.43576, -99.14466); 20 31 var myOptions = { 21 zoom: 1 0,32 zoom: 12, 22 33 center: myLatlng, 23 34 mapTypeId: google.maps.MapTypeId.ROADMAP … … 54 65 55 66 </script> 56 <body><h3> MonoNeurona::Google Maps</h3>67 <body><h3>Sitios Recomendados :: MonoNeurona :: Google Maps</h3> 57 68 <div id="map_canvas" style="border: 1px solid black; margin:auto;width:900px; height:800px"></div> 58 69 </body> -
trunk/views/markers/admin_index.ctp
r452 r453 3 3 <?php 4 4 echo $this->Html->link(sprintf(__('New %s', true), __('Marker', true)), array('action' => 'edit')); 5 echo $this->Html->link('View all markers', array('controller'=>'','action' => 'view'));5 echo ' '.$this->Html->link('View all markers', '/markers/view/'); 6 6 ?> 7 7 </div> … … 34 34 <td><?php echo $marker['Marker']['type']; ?> </td> 35 35 <td class="actions"> 36 <?php echo $this->Html->link(__('Edit', True), array('action' => 'edit', $marker['Marker']['id'])); ?>37 <?php echo $this->Html->link(__('Delete', True), array('action' => 'delete', $marker['Marker']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $marker['Marker']['id'])); ?>36 <?php echo $this->Html->link(__('Edit', True), array('action' => 'edit', $marker['Marker']['id'])); ?> 37 <?php echo $this->Html->link(__('Delete', True), array('action' => 'delete', $marker['Marker']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $marker['Marker']['id'])); ?> 38 38 </td> 39 39 </tr> -
trunk/views/markers/view.ctp
r449 r453 1 <div class="markers view">2 <h2><?php __('Marker');?></h2>3 <dl><?php $i = 0; $class = ' class="altrow"';?>4 <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>5 <dd<?php if ($i++ % 2 == 0) echo $class;?>>6 <?php echo $marker['Marker']['id']; ?>7 8 </dd>9 <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Name'); ?></dt>10 <dd<?php if ($i++ % 2 == 0) echo $class;?>>11 <?php echo $marker['Marker']['name']; ?>12 13 </dd>14 <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Address'); ?></dt>15 <dd<?php if ($i++ % 2 == 0) echo $class;?>>16 <?php echo $marker['Marker']['address']; ?>17 18 </dd>19 <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Lat'); ?></dt>20 <dd<?php if ($i++ % 2 == 0) echo $class;?>>21 <?php echo $marker['Marker']['lat']; ?>22 23 </dd>24 <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Lng'); ?></dt>25 <dd<?php if ($i++ % 2 == 0) echo $class;?>>26 <?php echo $marker['Marker']['lng']; ?>27 28 </dd>29 <dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Type'); ?></dt>30 <dd<?php if ($i++ % 2 == 0) echo $class;?>>31 <?php echo $marker['Marker']['type']; ?>32 33 </dd>34 </dl>35 </div>36 <div class="actions">37 <h3><?php __('Actions'); ?></h3>38 <ul>39 <li><?php echo $this->Html->link(sprintf(__('Edit %s', true), __('Marker', true)), array('action' => 'edit', $marker['Marker']['id'])); ?> </li>40 <li><?php echo $this->Html->link(sprintf(__('Delete %s', true), __('Marker', true)), array('action' => 'delete', $marker['Marker']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $marker['Marker']['id'])); ?> </li>41 <li><?php echo $this->Html->link(sprintf(__('List %s', true), __('Markers', true)), array('action' => 'index')); ?> </li>42 <li><?php echo $this->Html->link(sprintf(__('New %s', true), __('Marker', true)), array('action' => 'add')); ?> </li>43 </ul>44 </div>
Note: See TracChangeset
for help on using the changeset viewer.
