Changeset 2818
- Timestamp:
- 12/30/10 14:05:42 (13 years ago)
- Location:
- plugins/myGmaps
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/myGmaps/_define.php
r2817 r2818 15 15 /* Description*/ "Create Google Maps objects to include in maps associated to your posts", 16 16 /* Author */ "Philippe aka amalgame", 17 /* Version */ '0.6. 4',17 /* Version */ '0.6.5', 18 18 /* Permissions */ 'usage,contentadmin' 19 19 ); -
plugins/myGmaps/js/_map.js
r2814 r2818 50 50 hide: $('#post_notes').val() == '' 51 51 }); 52 52 53 $('#description-area label').toggleWithLegend($('#description-area').children().not('label'), { 54 cookie: 'dcx_map_description', 55 hide: $('#post_content').val() == 'Pas de description' 56 }); 57 53 58 function trim(myString) { 54 59 return myString.replace(/^\s+/g, '').replace(/\s+$/g, '') -
plugins/myGmaps/map.php
r2815 r2818 34 34 $post_excerpt = ''; 35 35 $post_excerpt_xhtml = ''; 36 $post_content = ' ';37 $post_content_xhtml = ' ';36 $post_content = 'Pas de description'; 37 $post_content_xhtml = '<p>Pas de description</p>'; 38 38 $post_notes = ''; 39 39 $post_status = $core->auth->getInfo('user_post_status'); … … 456 456 '<p class="area" id="map_canvas"></p>'. 457 457 458 '<p class="area" ><label class="requiredinfowindow" title="'.__('Required field').'" '.458 '<p class="area" id="description-area" ><label class="infowindow" title="'.__('Required field').'" '. 459 459 'for="post_content">'.__('Description:').'</label> '. 460 460 form::textarea('post_content',50,$core->auth->getOption('edit_size'),html::escapeHTML($post_content),'',2).
Note: See TracChangeset
for help on using the changeset viewer.