Changeset 4555
- Timestamp:
- Dec 22, 2009, 9:33:29 AM (14 years ago)
- Location:
- extensions/edit_gmaps
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/edit_gmaps/admin/admin_edit.php
r4545 r4555 47 47 if ( count($collection)>0 ) 48 48 { 49 50 49 51 50 $lat = trim($_POST['lat']); … … 81 80 } 82 81 //=========================================================================== 83 84 if ($_POST['submit']== 'Raz')82 83 if ($_POST['submit']==l10n('reset' ) ) 85 84 { 86 85 $_POST['selection']=array(); 87 86 unset($collection); 88 87 } 89 if ($_POST['submit']== 'cherche')88 if ($_POST['submit']==l10n('search_title' )) 90 89 { 91 90 $match = $_POST['match'] ; -
extensions/edit_gmaps/admin/admin_edit.tpl
r4545 r4555 1 1 {html_head} 2 {* $Id: info_deroulante.tpl 3723 2009-08-07 04:53:38Z rvelices $ *} 3 4 {known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"template-common/lib/plugins/jquery.cluetip.js"} 5 6 7 <script type="text/javascript"> 8 jQuery().ready( 9 function(){ldelim} 10 jQuery('.cluetip').cluetip({ldelim} 11 width: 300, 12 splitTitle: '|' 13 } 14 ); 15 } 16 ); 17 </script> 18 2 19 {if $lat} 3 20 <script src="http://maps.google.com/maps?file=api&v=2&key={$GMAPS_API_KEY}&hl={$lang_info.code}" type="text/javascript"></script> … … 37 54 <fieldset> 38 55 <legend>{'Display options'|@translate}</legend> 56 <table ><td class="cluetip" title="{'set'|translate}|{'hlp_line1'|@translate}." align="left" > 39 57 <form> 40 58 Set: 41 <select onchange="document.location = this.options[this.selectedIndex].value;" >59 <select onchange="document.location = this.options[this.selectedIndex].value;" > 42 60 <optgroup label="Specials"> 43 61 {html_options options=$specials} … … 49 67 </select> 50 68 </form> 51 < table ><td align="left" >{'New_hlp'|@translate}</td>52 <t r><td align="left" >{'New_hlp2'|@translate}53 </td></tr> 69 </td> 70 <td > {'hlp_line2'|@translate} </td> 71 54 72 </table> 73 55 74 56 75 <p>{'elements per page'|@translate}: … … 61 80 </p> 62 81 </fieldset> 82 63 83 64 84 <form action="" method="post" id="Envoie" name="Envoie" > … … 96 116 <fieldset> 97 117 <legend>{'map'|@translate}</legend> 98 <input class="submit" type="submit" name="submit" value="{'selection'|@translate}" /> 99 <input class="submit" type="submit" name="submit" value="{'reset'|@translate}" /><br /> 100 <input type="text" size="300px" value="{$match}" name="match" /> 101 <input class="submit" type="submit" name="submit" value="{'search_title'|@translate}" /> 102 118 119 <input class="cluetip" title="{'selection'|@translate}|{'hlp_line3'|@translate}." type="submit" name="submit" value="{'selection'|@translate}" /> 120 <input class="cluetip" title="{'reset'|@translate}|{'hlp_line4'|@translate}." type="submit" name="submit" value="{'reset'|@translate}" /><br /> 121 122 <input class="cluetip" title="{'search_title'|@translate}|{'hlp_line6'|@translate}." type="submit" name="submit" value="{'search_title'|@translate}" /> 123 <input class="cluetip" title="{'lieu'|@translate}|{'hlp_line5'|@translate}." type="text" size="70" value="{$match}" name="match" /> 103 124 {if $lat} 104 125 <div id="map"></div> … … 116 137 <br/> 117 138 </label> 118 <input type=" text" value={$thumbnail.id} name="selection[]" />139 <input type="hidden" value={$thumbnail.id} name="selection[]" /> 119 140 120 141 -
extensions/edit_gmaps/language/fr_FR/lang.php
r4546 r4555 3 3 $lang['selection']="Sélection"; 4 4 $lang['reset'] ="Raz" ; 5 $lang['New_hlp'] .= " Sélectionnez une ou plusieurs photos d'un même lieu.<br/> <br/> Ensuite dans le cadre map <br />Pour une localisation automatique, entrez le lieu de la prise de vue et cliquez sur le bouton " . $lang['search_title'] ; 5 $lang['hlp_line1'] .= "Sélection de la categorie." ; 6 $lang['hlp_line2'] .= "Sélectionnez dans cette catégorie, une ou plusieurs photos d'un même lieu." ; 7 $lang['hlp_line3'] .= "Affiche les coordonnées de la première photo si elle est connue. " ; 8 $lang['hlp_line4'] .= "Annule la sélection."; 9 $lang['hlp_line5'] .= "Entrez le lieu à rechercher (ville,pays)" ; 6 10 7 $lang[' New_hlp2'] .= "<br /> Sinon cliquez sur le bouton " . $lang['selection'] .' <br/> <br/>Pour anuler la sélection cliquer sur ' . $lang['reset'];11 $lang['hlp_line6'] .= "Recherche sur Google map"; 8 12 9 13 $lang['Map']='Carte';
Note: See TracChangeset
for help on using the changeset viewer.