{$input.title|escape}

{if $input.mapId}

{tr}Description{/tr} {trackeritemcheck itemId=$input.mapId mode='edit'} {tr}Edit{/tr} {/trackeritemcheck}

{elseif $input.sourceId}

{tr}Description{/tr}

{/if}

{tr}My Maps{/tr}

{jq} $('.map-info .service-dialog-view').click(function () { $(this).serviceDialog({ title: $(this).text(), load: function () { $('.service-dialog').remove(); } }); return false; }); $('.map-info .service-dialog-edit').click(function () { $(this).serviceDialog({ title: $(this).text(), success: function (data) { var url = "Map?mapId=@itemId@&coordinates=@mapBaseLocation@&shareCode=@shareCode@&mapName=@mapName@" .replace("@itemId@", escape(data.itemId)); $.each(data.fields, function () { url = url.replace("@" + this.permName + "@", escape(this.value)); }); document.location.href = url; } }); return false; }); {/jq}