Changeset 4555


Ignore:
Timestamp:
Dec 22, 2009, 9:33:29 AM (14 years ago)
Author:
cljosse
Message:

[Edit_gmaps] Udate help

Location:
extensions/edit_gmaps
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/edit_gmaps/admin/admin_edit.php

    r4545 r4555  
    4747  if ( count($collection)>0 )
    4848  {
    49  
    5049
    5150    $lat = trim($_POST['lat']);
     
    8180  }
    8281//=========================================================================== 
    83 
    84  if ($_POST['submit']=='Raz' )
     82 
     83 if ($_POST['submit']==l10n('reset' ) )
    8584 {
    8685       $_POST['selection']=array();
    8786            unset($collection);
    8887 }
    89  if ($_POST['submit']=='cherche' )
     88 if ($_POST['submit']==l10n('search_title' ))
    9089  { 
    9190  $match  = $_POST['match'] ;
  • extensions/edit_gmaps/admin/admin_edit.tpl

    r4545 r4555  
    11{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">
     8jQuery().ready(
     9  function(){ldelim}
     10  jQuery('.cluetip').cluetip({ldelim}
     11    width: 300,
     12    splitTitle: '|'
     13   }
     14  );
     15 }
     16);
     17</script>
     18
    219{if $lat}
    320<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key={$GMAPS_API_KEY}&amp;hl={$lang_info.code}" type="text/javascript"></script>
     
    3754<fieldset>
    3855  <legend>{'Display options'|@translate}</legend>
     56  <table ><td class="cluetip" title="{'set'|translate}|{'hlp_line1'|@translate}." align="left"  >
    3957<form>
    4058Set:
    41 <select onchange="document.location = this.options[this.selectedIndex].value;">
     59<select onchange="document.location = this.options[this.selectedIndex].value;"   >
    4260  <optgroup label="Specials">
    4361    {html_options options=$specials}
     
    4967</select>
    5068</form>
    51 <table ><td align="left" >{'New_hlp'|@translate}</td>
    52 <tr><td align="left" >{'New_hlp2'|@translate}
    53 </td></tr>
     69</td>
     70<td   > {'hlp_line2'|@translate} </td>
     71
    5472</table>
     73
    5574
    5675  <p>{'elements per page'|@translate}:
     
    6180  </p>
    6281</fieldset>
     82
    6383
    6484<form action="" method="post" id="Envoie" name="Envoie"   >
     
    96116<fieldset>
    97117<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"    />
    103124{if $lat}
    104125<div id="map"></div>
     
    116137                                        <br/>
    117138</label>
    118                                 <input type="text"  value={$thumbnail.id}  name="selection[]"    />
     139                                <input type="hidden"  value={$thumbnail.id}  name="selection[]"    />
    119140                               
    120141                               
  • extensions/edit_gmaps/language/fr_FR/lang.php

    r4546 r4555  
    33$lang['selection']="Sélection";
    44$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)"  ;
    610
    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";
    812
    913$lang['Map']='Carte';
Note: See TracChangeset for help on using the changeset viewer.