Loading...
 
Skip to main content

History: CartoGraf_FR_Map

Source of version: 11

Copy to clipboard
            {APPFRAME(absolute=y hideleft=y hideright=y)}
  {COLUMN(width=100%)}
    {COND(notempty="{{shareCode}}")}
      {COND(notempty="{{mapId}}")}
        {page name=MapCanvasShare coordinates={{coordinates}} mapId={{mapId}} shareCode={{shareCode}} user={{user}}}
      {COND}
      {COND(empty="{{mapId}}")}
        {page name=MapCanvasShare coordinates={{coordinates}} mapId=0 shareCode={{shareCode}}}
      {COND}
    {COND}
    {COND(empty="{{shareCode}}")}
      {page name=MapCanvasSolo coordinates={{coordinates}} mapId={{mapId}} user={{user}}}
    {COND}
    {ANCHOR(icon="styles/CartoGraf/img/btnCarte.png" label=Carte)}
      {COND(notempty="{{mapName}}")}
        {template file="map_info.tpl" mapId="{{mapId}}" sourceId="{{sourceId}}" trackerId=$profileobject:maps$ title="{{mapName}}"}
      {COND}
      {COND(empty="{{mapId}}")}
        {COND(empty="{{shareCode}}")}
          {COND(empty="{{user}}")}
            <div class="notloggedin floatleft">
              <strong>Nouvelle carte</strong><br><br>
              SVP <a href="login">log in</a><br>
              to Nouvelle carte
            </div>
          {COND}
          {COND(notempty="{{user}}")}
            {module 
              label="Nouvelle carte" 
              name=tracker_input 
              trackerId=$profileobject:maps$ 
              class="floatleft"
              hiddeninput=owner({{user}}) 
              location=mapBaseLocation:viewport 
              success=redirect(Carte?mapId=@itemId@&coordinates=@mapBaseLocation@&shareCode=@shareCode@&mapName=@mapName@)
            }
          {COND}
          <a class="mymaps floatright" href="Accueil">Mes cartes</a>
        {COND}
        {COND(notempty="{{shareCode}}")}
          {template file="map_join.tpl" sourceId="{{sourceId}}" shareCode="{{shareCode}}" coordinates="{{coordinates}}" trackerId=$profileobject:maps$ mapName="{{mapName}}" owner="{{user}}"}
          {template file="map_duplicate.tpl" mapId="{{sourceId}}" shareCode="{{shareCode}}" coordinates="{{coordinates}}" trackerId=$profileobject:maps$ mapName="{{mapName}}"}
          <div class="clearfix"></div>
        {COND}
      {COND}
      {COND(notempty="{{mapId}}")}
        {template file="map_duplicate.tpl" mapId="{{mapId}}" coordinates="{{coordinates}}" trackerId=3 mapName="{{mapName}}"}
        {template file="map_delete.tpl" mapId="{{mapId}}" trackerId=3}
        <div class="clearfix"></div>
      {COND}
      {COND(notempty="{{shareCode}}")}
        {module name=map_layer_selector baselayer=n optionallayers=y}
      {COND}
    {ANCHOR}

    {COND(notempty="{{mapId}}")}
       {ANCHOR(icon="styles/CartoGraf/img/btnLegende.png" label=Légende)}
          {template file="map_legend.tpl" mapId="{{mapId}}" shareCode="{{shareCode}}" trackerId=$profileobject:legend$}
       {ANCHOR}
    {COND}

    {ANCHOR(icon="styles/CartoGraf/img/btnPartager.png" label=Partage)}
      {template file="map_edit_sharecode.tpl" mapId="{{mapId}}" sourceId="{{sourceId}}" shareCode="{{shareCode}}" coordinates="{{coordinates}}" trackerId=$profileobject:maps$ mapName="{{mapName}}"}
      {COND(notempty="{{mapId}}")}
        {HIDDEN()}
          {module name=tracker_input trackerId=$profileobject:pointsOfInterest$  hiddeninput="map({{mapId}}),finder({{user}})" location=poiLocation submit="Ajouter un repère" streetview=poiImage insertmode="Défaut"}
          {module name=map_edit_features standard=0 hiddeninput="map({{mapId}}),finder({{user}})" trackerId=$profileobject:zones$ editdetail=1 insertmode="Défaut"}
        {HIDDEN}
        {template file="map_print.tpl"}
      {COND}
    {ANCHOR}
    {OVERLAY(top=5 left=350)}
      {mapcontrol type="pan_zoom" icon="styles/CartoGraf/img/btnNaviguation_2.png"}
      {COND(notempty="{{mapId}}")}
        {mapcontrol type="modify_feature" navigation=1 icon="styles/CartoGraf/img/btnPointer.png"}
        {mapcontrol type="draw_polygon" icon="styles/CartoGraf/img/btnOutils_5.png"}
        {mapcontrol type="draw_path" icon="styles/CartoGraf/img/btnOutils_4.png"}
        {mapcontrol type="mode_enable" mode="Tracker Input" icon="styles/CartoGraf/img/btnOutils_8.png" label="Repère"}
      {COND}
      {mapcontrol type="mode_enable" mode="StreetView" icon="styles/CartoGraf/img/btnStreetView.png" label="Panorama"}
    {OVERLAY}
    {OVERLAY(top=375 left=12)}
      {mapcontrol type="reset_zoom" icon="styles/CartoGraf/img/btnNaviguation_1.png" label="Reset Zoom"}
    {OVERLAY}
    {OVERLAY(class=layer_selector)}
      {module name=map_layer_selector baselayer=y optionallayers=n}
    {OVERLAY}
  {COLUMN}
{APPFRAME}
        

History

Information Version
Tue 24 of Mar, 2015 17:32 GMT-0000 Jonny Bradley Move the print tpl out of the mapId check 18
Fri 15 of Aug, 2014 10:26 GMT-0000 Jonny Bradley legend was missing on shared maps (was ok in En version) 17
Tue 23 of Apr, 2013 22:38 GMT-0000 Jonny Bradley French Default in French (again) 16
Tue 16 of Apr, 2013 21:28 GMT-0000 Jonny Bradley Default tools changed back to Default again (let's hope they stay like that!) 15
Mon 25 of Mar, 2013 13:48 GMT-0000 Jonny Bradley adding classes to French overlay div 14
Sun 24 of Mar, 2013 08:55 GMT-0000 luciash d' being 🧙 Adjust position of the left pane icons to prevent IE10 Metro UI overlap 13
Sat 23 of Mar, 2013 19:50 GMT-0000 Marc Laporte tr 12
Sat 23 of Mar, 2013 17:47 GMT-0000 luciash d' being 🧙 label for Reset Zoom 11
Sat 23 of Mar, 2013 17:45 GMT-0000 luciash d' being 🧙 label for StreetView 10
Sat 23 of Mar, 2013 01:08 GMT-0000 Marc Laporte Needs to be in French 9
Wed 20 of Mar, 2013 16:27 GMT-0000 Jonny Bradley anon login notice instead of create map (needs translating properly ;) 8
Fri 15 of Mar, 2013 16:48 GMT-0000 Jonny Bradley insertmode (for Default mode) seems now must not be translated... odd 7
Wed 16 of Jan, 2013 15:49 GMT-0000 Jonny Bradley french for Défaut 6
Sun 13 of Jan, 2013 20:01 GMT-0000 Marc Laporte Point d'intérêt -> Repère 5
Sun 13 of Jan, 2013 18:19 GMT-0000 Marc Laporte Like in English 4
Fri 30 of Nov, 2012 20:28 GMT-0000 Louis-Philippe Huberdeau Fixing link 3
Fri 30 of Nov, 2012 20:07 GMT-0000 Louis-Philippe Huberdeau Removing translation header 2
Fri 30 of Nov, 2012 20:07 GMT-0000 Louis-Philippe Huberdeau Initial translation 1