Commit 74b48a7f authored by tombombadilom's avatar tombombadilom

added tpl

parent 65575555
......@@ -1638,6 +1638,12 @@ _mods/features/kamap/kamap/xhr.js -text
_mods/features/kamap/lib/map/maplib.php -text
_mods/features/kamap/templates/map/tiki-kamap.tpl -text
_mods/features/kamap/tiki-kamap.php -text
_mods/features/mapeditor/templates/tiki-mapeditor_edit.tpl -text
_mods/features/mapeditor/templates/tiki-mapeditor_edit_layer.tpl -text
_mods/features/mapeditor/templates/tiki-mapeditor_edit_layergroup.tpl -text
_mods/features/mapeditor/templates/tiki-mapeditor_layer.tpl -text
_mods/features/mapeditor/templates/tiki-mapeditor_layers.tpl -text
_mods/features/mapeditor/templates/tiki-mapeditor_maps.tpl -text
_mods/features/mapeditor/tiki-mapeditor_edit.php -text
_mods/features/mapeditor/tiki-mapeditor_edit_layer.php -text
_mods/features/mapeditor/tiki-mapeditor_layers.php -text
......
<h1><a class="pagetitle" href="tiki-mapeditor_edit.php">{tr}Edit or create maps{/tr}</a></h1>
<a class="linkbut" href="tiki-mapeditor_maps.php">{tr}List maps{/tr}</a><br /><br />
<form action="tiki-mapeditor_edit.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="mapId" value="{$mapId|escape}" />
<div class="simplebox">
<table ><tr><td>
<table >
<tr><td class="form">{tr}Name{/tr}:</td>
<td class="form">
<input type="hidden" name="mapId" value="{$mapId}" />
<input type="hidden" name="author" value="{$author}" />
<input type="text" name="name" value="{$name}" />
</td>
</tr>
<tr><td class="form">{tr}Type{/tr}:</td>
<td class="form"><select name="type">
<option value="tikimap" {if $type eq "tikimap"}selected="selected"{/if}>tikimap</option>
<option value="cartoweb" {if $type eq "cartoweb"}selected="selected"{/if}>cartoweb</option>
</select>
</td>
</tr>
</table>
</td>
<td align="right" class="form">
{tr}Path{/tr}:
<input type="text" name="path" size="40" value="{$path}" /><br />
{tr}Project Name{/tr}:
<input type="text" name="projectName" size="10" value="{$projectName}" /><br />
{tr}Database{/tr}:
<input type="text" name="db" size="15" value="{$db}" /><br />
</td>
</tr>
</tr>
<tr>
<td class="form">
{include file=categorize.tpl}
</td>
</tr>
<tr><td class="form">{tr}Gateway{/tr}:</td>
<td class="form">
<select name="gateway">
{section name=page loop=$gateways}
<option value="{$gateways[page].name}" {if $gateway eq $gateways[page].name}selected="selected"{/if}>{$gateways[page].name}</option>
{/section}
</select>
&nbsp;&nbsp;{tr}Copyright{/tr}:
<select name="copyright">
<option value="GPL" {if $copyright eq 'GPL'}selected="selected"{/if}>GPL</option>
<option value="IGN" {if $copyright eq 'IGN'}selected="selected"{/if}>IGN</option>
</select>
</td>
</tr>
<tr><td class="form">{tr}Description{/tr}:</td>
<td class="form"><textarea name="description" rows="5" cols="50">{$description|escape}</textarea>
</td>
</tr>
</table>
</div>
<div align="center" class="simplebox">
<input type="submit" name="save" value="{tr}save the map{/tr}" />
</div>
</form>
<h1><a class="pagetitle" href="tiki-mapeditor_edit_layer.php">{tr}Edit or create layers{/tr}</a></h1>
<a class="linkbut" href="tiki-mapeditor_layers.php?mapId={$mapId}">{tr}List layers{/tr}</a><br /><br />
<form action="tiki-mapeditor_edit_layer.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="layerId" value="{$layerId|escape}" />
<div class="simplebox">
<table ><tr><td>
<table >
<tr><td class="form">{tr}Name{/tr}:</td>
<td class="form">
<input type="hidden" name="layerId" value="{$layerId}" />
<input type="hidden" name="author" value="{$author}" />
<input type="text" name="name" value="{$name}" />
<input type="hidden" name="mapId" value="{$mapId}" />
</td>
</tr>
<tr><td class="form">{tr}Type{/tr}:</td>
<td class="form"><select name="type">
<option value="POINT" {if $type eq "POINT"}selected="selected"{/if}>POINT</option>
<option value="LINE" {if $type eq "LINE"}selected="selected"{/if}>LINE</option>
<option value="POLYGON" {if $type eq "POLYGON"}selected="selected"{/if}>POLYGON</option>
</select>
</td>
</tr>
<tr><td class="form">{tr}Parent LayerGroup{/tr}:</td>
<td class="form"><select name="layerGroupId">
<option value="0" {if $layerGroupId eq 0}selected="selected"{/if}>none</option>
{section name=page loop=$parentgroup}
<option value="{$parentgroup[page].layerId}" {if $layerGroupId eq $parentgroup[page].layerId++}selected="selected"{/if}>{$parentgroup[page].name}</option>
{/section}
</select>
</td>
</tr>
</table>
</td>
<td align="right" class="form">
{tr}Database{/tr}:
<input type="text" name="db" size="15" value="{$db}" /><br />
{tr}Project Name{/tr}:
<input type="text" name="projectName" size="10" value="{$projectName}" /><br />
{tr}Table{/tr}:
<input type="text" name="table" size="15" value="{$table}" /><br />
</td>
</tr>
</tr>
<tr>
<td class="form">
{include file=categorize.tpl}
</td>
</tr>
<tr><td class="form">{tr}Gateway{/tr}:</td>
<td class="form"><select name="gateway">
{section name=page loop=$gateways}
<option value="{$gateways[page].name}" {if $gateway eq $gateways[page].name}selected="selected"{/if}>{$gateways[page].name}</option>
{/section}
</select>
&nbsp;&nbsp;{tr}Copyright{/tr}:
<select name="copyright">
<option value="GPL" {if $copyright eq 'GPL'}selected="selected"{/if}>GPL</option>
<option value="IGN" {if $copyright eq 'IGN'}selected="selected"{/if}>IGN</option>
</select>
</td>
</tr>
<tr><td class="form">{tr}CLASS{/tr}:</td>
<td class="form"><textarea name="config" rows="15" cols="50">{$config|escape}</textarea>
</td>
</tr>
<tr><td class="form">{tr}Descrition{/tr}:</td>
<td class="form"><textarea name="description" rows="5" cols="50">{$description|escape}</textarea>
</td>
</tr>
</table>
</div>
<div align="center" class="simplebox">
<input type="submit" name="save" value="{tr}save the layer{/tr}" />
</div>
</form>
<h1><a class="pagetitle" href="tiki-mapeditor_edit_layer.php">{tr}Edit or create layer's group{/tr}</a></h1>
<a class="linkbut" href="tiki-mapeditor_layers.php?mapId={$mapId}">{tr}List layers{/tr}</a>&nbsp;&nbsp;<a class="linkbut" href="tiki-mapeditor_maps.php?mapId={$mapId}">{tr}List Maps{/tr}</a>
<br /><br />
<form action="tiki-mapeditor_edit_layergroup.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="layerId" value="{$layerId|escape}" />
<div class="simplebox">
<table ><tr><td>
<table >
<tr><td class="form">{tr}Name{/tr}:</td>
<td class="form">
<input type="hidden" name="layerId" value="{$layerId}" />
<input type="hidden" name="author" value="{$author}" />
<input type="text" name="name" value="{$name}" />
<input type="hidden" name="mapId" value="{$mapId}" />
<input type="hidden" name="islayerGroup" value="{$islayerGroup}" />
</td>
</tr>
<tr><td class="form">{tr}Layer rendering{/tr}:</td>
<td class="form"><select name="layerRendering">
<option value="" {if $layerRendering eq ""}selected="selected"{/if}>None</option>
<option value="block" {if $layerRendering eq "block"}selected="selected"{/if}>Block</option>
<option value="radio" {if $layerRendering eq "radio"}selected="selected"{/if}>Radio</option>
<option value="dropdown" {if $layerRendering eq "dropdown"}selected="selected"{/if}>Dropdown</option>
</select>
</td>
</tr>
</table>
</td>
<td align="right" class="form">
{tr}Project Name{/tr}:
<input type="text" name="projectName" size="10" value="{$projectName}" /><br />
{tr}Layer aggregate{/tr}:
<select name="layerAggregate">
<option value="0" {if $layerAggregate eq 0}selected="selected"{/if}>Distinct</option>
<option value="1" {if $layerAggregate eq 1}selected="selected"{/if}>Merged</option>
</select>
{tr}Parent{/tr}:
<select name="layerGroupId">
<option value="0" {if $layerGroupId eq 0}selected="selected"{/if}>none</option>
{section name=page loop=$parentgroup}
<option value="{$parentgroup[page].layerId}" {if $layerGroupId eq $parentgroup[page].layerId++}selected="selected"{/if}>{$parentgroup[page].name}</option>
{/section}
</select>
</td>
</tr>
</tr>
<tr>
<td class="form">
{include file=categorize.tpl}
</td>
</tr>
<tr><td class="form">{tr}Gateway{/tr}:</td>
<td class="form"><select name="gateway">
{section name=page loop=$gateways}
<option value="{$gateways[page].name}" {if $gateway eq $gateways[page].name}selected="selected"{/if}>{$gateways[page].name}</option>
{/section}
</select>
&nbsp;&nbsp;{tr}Copyright{/tr}:
<select name="copyright">
<option value="GPL" {if $copyright eq 'GPL'}selected="selected"{/if}>GPL</option>
<option value="IGN" {if $copyright eq 'IGN'}selected="selected"{/if}>IGN</option>
</select>
</td>
</tr>
<tr><td class="form">{tr}Descrition{/tr}:</td>
<td class="form"><textarea name="description" rows="5" cols="50">{$description|escape}</textarea>
</td>
</tr>
</table>
</div>
<div align="center" class="simplebox">
<input type="submit" name="save" value="{tr}save the layer{/tr}" />
</div>
</form>
{if $smarty.get.action eq 'edit' || $submit eq 'add'}<div id="box" style="font-size: 9px; float:right;background-color:yellow; width:250px; text-align:left">
{$layer.start_tag}<br />
&nbsp;&nbsp;{$layer.tag_name}<br/>
&nbsp;&nbsp;{$layer.tag_status}<br/>
&nbsp;&nbsp;{$layer.tag_connexiontype}<br/>
&nbsp;&nbsp;{$layer.tag_connexion}<br/>
&nbsp;&nbsp;{$layer.tag_data}<br/>
&nbsp;&nbsp;{$layer.tag_type}<br/>
{$layer.end_tag}</div>{/if}
{if isset($error_msg) }{$error_msg}{/if}
<h1><a class="pagetitle" href="tiki-map_layer.php">{tr}Map Layers{/tr}</a>
{if $feature_help eq 'y'}
<a href="http://dev.sigfreed.net/tiki-index.php?page=MapLayerDoc#id222862" target="tikihelp" class="tikihelp" title="{tr}Tikiwiki.org help{/tr}: {tr}Layers{/tr}">
<img border='0' src='img/icons/help.gif' alt="{tr}help{/tr}" />
</a>
{/if}
{if $feature_view_tpl eq 'y'}
<a href="tiki-edit_templates.php?template=tiki-map_layer.tpl" target="tikihelp" class="tikihelp" title="{tr}View tpl{/tr}: {tr}list quizzes tpl{/tr}">
<img src="img/icons/info.gif" border="0" height="16" width="16" alt='{tr}edit tpl{/tr}' /></a>{/if}</h1>
&nbsp;&nbsp;<a class="linkbut" href="tiki-map_layer.php?action=edit">{tr}edit layers{/tr}</a>
&nbsp;&nbsp;<a class="linkbut" href="tiki-map_layer.php?action=add">{tr}add layers{/tr}</a>&nbsp;&nbsp;<a class="linkbut" href="tiki-map_layer.php?action=list">{tr}list layers{/tr}</a>
{if $smarty.get.action eq 'list'}
<! -- begin find field ---!>
<br />
<br />
<div align="center">
<table class="findtable">
<tr>
<td class="findtable">{tr}Find{/tr}</td>
<td class="findtable">
<form method="get" action="tiki-map_layer.php">
<input type="text" name="find" value="{$find|escape}" />
<input type="submit" value="{tr}find{/tr}" name="search" />
<input type="hidden" name="sort_mode" value="{$sort_mode|escape}" />
<input type="hidden" name="mapId" value="{$mapId|escape}" />
</form>
</td>
</tr>
</table>
</div>
<!-- begin the table -->
<br /><br />
<table class="normal">
<tr>
<td class="heading">
ICON
</td>
<td class="heading">
<a class="tableheading" href="tiki-map_layer.php?action={$action}&amp;offset={$offset}&amp;sort_mode={if $sort_mode eq 'name_desc'}name_asc{else}name_desc{/if}">{tr}layer name{/tr}</a>
</td>
<td class="heading">
<a class="tableheading" href="tiki-map_layer.php?action={$action}&amp;offset={$offset}&amp;sort_mode={if $sort_mode eq 'author_desc'}author_asc{else}author_desc{/if}">{tr}Author{/tr}</a>
</td>
<td class="heading">
<a class="tableheading" href="tiki-map_layer.php?action={$action}&amp;offset={$offset}&amp;sort_mode={if $sort_mode eq 'type_desc'}type_asc{else}type_desc{/if}">{tr}Type{/tr}</a>
</td>
<td class="heading">
<a class="tableheading" href="tiki-map_layer.php?action={$action}&amp;offset={$offset}&amp;sort_mode={if $sort_mode eq 'table_desc'}table_asc{else}table_desc{/if}">{tr}Table{/tr}</a>
</td>
<!-- the edit heading won't sort -->
<td class="heading">{tr}editer{/tr}</td>
</tr>
{section name=layer loop=$layers}
{if ($tiki_p_admin eq 'y') }
{if $smarty.section.layer.index % 2}
<tr>
<td class="odd">
<img src="generated/icons/Sigfreed/World/{$layers[layer].table}_class_0.png" />
</td>
<td class="odd">
{$layers[layer].name}
</td>
<td class="odd">{$layers[layer].author}</td>
<td class="odd">{$layers[layer].type} </td>
<td class="odd">{$layers[layer].table}</td>
<td class="odd"><a href="tiki-map_layer.php?action=edit&amp;layerId={$layers[layer].layerId}"><img src="img/icons/edit.gif" /></a>&nbsp;<a href="tiki-map_layer.php?action=delete&amp;layerId={$layers[layer].layerId}"><img src="img/icons2/delete.gif" /></a>&nbsp;</td>
</tr>
{else}
<tr>
<td class="even">
<img src="generated/icons/Sigfreed/World/{$layers[layer].table}_class_0.png" />
</td>
<td class="even">{$layers[layer].name}
</td>
<td class="even">{$layers[layer].author}</td>
<td class="even">{$layers[layer].type}</td>
<td class="even">{$layers[layer].table}</td>
<td class="even"><a href="tiki-map_layer.php?action=edit&amp;layerId={$layers[layer].layerId}"><img src="img/icons/edit.gif" /></a>&nbsp;<a href="tiki-map_layer.php?action=delete&amp;layerId={$layers[layer].layerId}"><img src="img/icons2/delete.gif" /></a>&nbsp;</td>
</tr>
{/if}
{/if}
{/section}
</table>
<!-- the next/ prev -->
<br />
<div align="center">
<div class="mini">
{if $prev_offset >= 0}
[<a class="prevnext" href="tiki-map_layer.php?find={$find}&amp;offset={$prev_offset}&amp;sort_mode={$sort_mode}">{tr}prev{/tr}</a>]&nbsp;
{/if}
{tr}Page{/tr}: {$actual_page}/{$cant_pages}
{if $next_offset >= 0}
&nbsp;[<a class="prevnext" href="tiki-map_layer.php?find={$find}&amp;offset={$next_offset}&amp;sort_mode={$sort_mode}">{tr}next{/tr}</a>]
{/if}
{if $direct_pagination eq 'y'}
<br />
{section loop=$cant_pages name=foo}
{assign var=selector_offset value=$smarty.section.foo.index|times:$maxRecords}
<a class="prevnext" href="tiki-map_layer.php?find={$find}&amp;offset={$selector_offset}&amp;sort_mode={$sort_mode}">
{$smarty.section.foo.index_next}</a>&nbsp;
{/section}
{/if}
{**end if list **}
{else if $smarty.get.action eq 'edit' || if $smarty.get.action eq 'add'}
<div align="center">
{if $msg }{$msg}{/if}
<form name="form" method="get" action="tiki-map_layer.php"><table class="findtable">
<tr>
<td class="findtable">{tr}Nom du layer{/tr}</td>
<td class="findtable">
<input type="text" name="namelayer" value="{$namelayer|escape}" />&nbsp;<input type="hidden" name="action" value="{$smarty.get.action}" /><input type="hidden" name="cat_restric_child" value="{$map.catId}" />
{tr}Map: {/tr}&nbsp;{$map.mapName|escape}
</td>
</tr>
<tr>
<td class="findtable">{tr}Type de layer{/tr}</td>
<td class="findtable">
<input type="hidden" name="author" value="{$author|escape}" />
<select name="type">
<option value="POINT" {if $type eq 'POINT'} selected=selected{/if} >Point</option>
<option value="LINE" {if $type eq 'LINE'} selected=selected{/if}>Ligne</option>
<option value="POLYGON" {if $type eq 'POLYGON'} selected=selected{/if}>Polygone</option>
</select>&nbsp; &nbsp;{tr}Connexion{/tr}:{$map.default_connexion_type}- {tr}host{/tr}: {$project.host} {tr}table{/tr}:{$tablename}
</td>
</tr>
<tr><td class="findtable">
{include file=categorize.tpl}
</td>
</tr>
{if $submit eq "add"}
<tr>
<td class="findtable">{tr}Config layer{/tr}</td>
<td class="findtable">
<textarea name="config" rows="20" cols="40">{$option_config|escape}</textarea>
</td>
</tr>
{else }
<tr>
<td colspan=2><input type="hidden" value="" /></td>
</tr>
{/if}
<tr>
<td class="findtable">{tr}Description{/tr}</td>
<td class="findtable">
<textarea name="description" rows="5" cols="70">{$description|escape}</textarea>
</td>
</tr>
<tr>
<td class="findtable">{tr}Copyrights{/tr}</td>
<td class="findtable">
<select name="copyright">
<option value="DGL" {if $copyright eq 'DGL'} selected=selected{/if} >Public Geodata License</option>
<option value="IGN" {if $copyright eq 'IGN'} selected=selected{/if}>IGN</option>
</select>
{tr}Copyright url{/tr}&nbsp;<input type="text" name="copyrightUrl" value="{$copyrightUrl|escape}tiki-index.php?page=PGL" />
</td>
</tr>
<tr>
<td class="findtable">&nbsp;</td>
<td class="findtable">
<input type="submit" value="{$smarty.get.action}" name="submit" />
<input type="hidden" name="sort_mode" value="{$sort_mode|escape}" />
<input type="hidden" name="layerId" value="{$layerId|escape}" />
</td>
</tr>
</table>
</form>
</div>
{/if}
</div>
</div>
<h1><a class="pagetitle" href="tiki-mapeditor_layers.php">{tr}Layers{/tr}</a>
{if $feature_help eq 'y'}
<a href="{$helpurl}Layers" target="tikihelp" class="tikihelp" title="{tr}admin Layers{/tr}">
<img src="img/icons/help.gif" border="0" height="16" width="16" alt='{tr}help{/tr}' /></a>{/if}
{if $feature_view_tpl eq 'y'}
<a href="tiki-edit_templates.php?template=tiki-mapeditor_layers.tpl" target="tikihelp" class="tikihelp" title="{tr}View tpl{/tr}: {tr}admin Layers tpl{/tr}">
<img src="img/icons/info.gif" border="0" height="16" width="16" alt='{tr}edit tpl{/tr}' /></a>{/if}</h1>
<a class="linkbut" href="tiki-mapeditor_edit_layer.php?mapId={$mapId}">{tr}Create layer{/tr}</a>
<a class="linkbut" href="tiki-mapeditor_edit_layergroup.php?mapId={$mapId}">{tr}Create layerGroup{/tr}</a>
<a class="linkbut" href="tiki-mapeditor_maps.php">{tr}See Maps{/tr}</a>
<br /><br />
<div class="tree">{$tree}</div>
<h1><a class="pagetitle" href="tiki-mapeditor_maps.php">{tr}Maps{/tr}</a>
{if $feature_help eq 'y'}
<a href="{$helpurl}Maps" target="tikihelp" class="tikihelp" title="{tr}admin Maps{/tr}">
<img src="img/icons/help.gif" border="0" height="16" width="16" alt='{tr}help{/tr}' /></a>{/if}
{if $feature_view_tpl eq 'y'}
<a href="tiki-edit_templates.php?template=tiki-mapeditor_maps.tpl" target="tikihelp" class="tikihelp" title="{tr}View tpl{/tr}: {tr}admin Maps tpl{/tr}">
<img src="img/icons/info.gif" border="0" height="16" width="16" alt='{tr}edit tpl{/tr}' /></a>{/if}</h1>
<a class="linkbut" href="tiki-mapeditor_edit.php">{tr}Create map{/tr}</a>
<br /><br />
<div align="center">
<table class="findtable">
<tr><td class="findtable">{tr}Find{/tr}</td>
<td class="findtable">
<form path="get" action="tiki-mapeditor_maps.php">
<input type="text" name="find" value="{$find|escape}" />
<input type="submit" value="{tr}find{/tr}" name="search" />
<input type="hidden" name="sort_mode" value="{$sort_mode|escape}" />
</form>
</td>
</tr>
</table>
<table class="normal">
<tr>
<td class="heading"><a class="tableheading" href="tiki-mapeditor_maps.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'mapId_desc'}mapId_asc{else}mapId_desc{/if}">{tr}Id{/tr}</a></td>
<td class="heading"><a class="tableheading" href="tiki-mapeditor_maps.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'name_desc'}name_asc{else}name_desc{/if}">{tr}Name{/tr}</a></td>
<td class="heading"><a class="tableheading" href="tiki-mapeditor_maps.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'author_desc'}author_asc{else}author_desc{/if}">{tr}Author{/tr}</a></td>
<td class="heading"><a class="tableheading" href="tiki-mapeditor_maps.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'type_desc'}type_asc{else}type_desc{/if}">{tr}Type{/tr}</a></td>
<td class="heading"><a class="tableheading" href="tiki-mapeditor_maps.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'path_desc'}path_asc{else}path_desc{/if}">{tr}path{/tr}</a></td>
<td class="heading"><a class="tableheading" href="tiki-mapeditor_maps.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'copyright_desc'}copyright_asc{else}copyright_desc{/if}">{tr}Copyright{/tr}</a></td>
<td class="heading"><a class="tableheading" href="tiki-mapeditor_maps.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'gateway_desc'}gateway_asc{else}gateway_desc{/if}">{tr}Gateway{/tr}</a></td>
<td class="heading"><a class="tableheading" href="tiki-mapeditor_maps.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'db_desc'}db_asc{else}db_desc{/if}">{tr}Database{/tr}</a></td>
<td class="heading"><a class="tableheading" href="tiki-mapeditor_maps.php?offset={$offset}&amp;sort_mode={if $sort_mode eq 'description_desc'}description_asc{else}description_desc{/if}">{tr}Description{/tr}</a></td>
<td class="heading">{tr}Action{/tr}</a></td>
</tr>
{section name=changes loop=$listpages}
<tr>
{if $smarty.section.changes.index % 2}
<td class="odd">&nbsp;{$listpages[changes].mapId}&nbsp;</td>
<td class="odd">&nbsp;{$listpages[changes].name}&nbsp;</td>
<td class="odd">&nbsp;{$listpages[changes].author}&nbsp;</td>
<td class="odd">&nbsp;{$listpages[changes].type}&nbsp;</td>
<td class="odd">&nbsp;{$listpages[changes].path}&nbsp;</td>
<td class="odd">&nbsp;<a class="link" href="{$listpages[changes].copyrightUrl}" >{$listpages[changes].copyright}</a>&nbsp;</td>
<td class="odd">&nbsp;<a class="link" href="tiki-index.php?page={$listpages[changes].gateway}">{$listpages[changes].gateway}</a>&nbsp;</td>
<td class="odd">&nbsp;{$listpages[changes].db}&nbsp;</td>
<td class="odd">&nbsp;{$listpages[changes].description}&nbsp;</td>
<td class="odd">
{if $tiki_p_map_edit eq 'y'}
<a class="link" href="tiki-mapeditor_edit.php?mapId={$listpages[changes].mapId}"><img border="0" src="pics/icons/page_edit.png" halt="{tr}Edit{/tr}" /></a><a class="link" href="tiki-mapeditor_maps.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;remove={$listpages[changes].mapId}"><img src="img/icons2/delete.gif" border="0" halt="{tr}Remove{/tr}" /></a><a class="link" href="tiki-mapeditor_layers.php?mapId={$listpages[changes].mapId}"><img src="pics/icons/wrench.png"" border="0" halt="{tr}See Layer{/tr}" /></a><a class="link" href="tiki-objectpermissions.php?objectName={$listpages[changes].name}&objectType=maps&permType=maps&objectId={$listpages[changes].mapId}"><img src="img/icons/key.gif" border="0" halt="{tr}Set Permissions{/tr}" /></a>
{/if}
</td>
{else}
<td class="even">&nbsp;{$listpages[changes].mapId}&nbsp;</td>
<td class="even">&nbsp;{$listpages[changes].name}&nbsp;</td>
<td class="even">&nbsp;{$listpages[changes].author}&nbsp;</td>
<td class="even">&nbsp;{$listpages[changes].type}&nbsp;</td>
<td class="even">&nbsp;{$listpages[changes].path}&nbsp;</td>
<td class="even">&nbsp;<a class="link" href="{$listpages[changes].copyrightUrl}" >{$listpages[changes].copyright}</a>&nbsp;</td>
<td class="even">&nbsp;<a class="link" href="tiki-index.php?page={$listpages[changes].gateway}">{$listpages[changes].gateway}</a>&nbsp;</td>
<td class="even">&nbsp;{$listpages[changes].db}&nbsp;</td>
<td class="even">&nbsp;{$listpages[changes].description}&nbsp;</td>
<td class="even">
{if $tiki_p_map_edit eq 'y'}
<a class="link" href="tiki-mapeditor_edit.php?mapId={$listpages[changes].mapId}"><img src="pics/icons/page_edit.png" halt="{tr}Edit{/tr}" border="0" />&nbsp;</a><a class="link" href="tiki-mapeditor_maps.php?offset={$offset}&amp;sort_mode={$sort_mode}&amp;remove={$listpages[changes].mapId}"><img src="img/icons2/delete.gif" border="0" halt="{tr}Remove{/tr}" /></a><a class="link" href="tiki-mapeditor_layers.php?mapId={$listpages[changes].mapId}"><img src="pics/icons/wrench.png" border="0" halt="{tr}See Layer{/tr}" /></a><a class="link" href="tiki-objectpermissions.php?objectName={$listpages[changes].name}&objectType=maps&permType=maps&objectId={$listpages[changes].mapId}"><img border="0" src="img/icons/key.gif" halt="{tr}Set Permissions{/tr}" /></a>
{/if}
</td>
{/if}
</tr>
{sectionelse}
<tr><td class="odd" colspan="10">
{tr}No records found{/tr}
</td></tr>
{/section}
</table>
<div class="mini">
{if $prev_offset >= 0}
[<a class="prevnext" href="tiki-mapeditor_maps.php?find={$find}&amp;offset={$prev_offset}&amp;sort_mode={$sort_mode}">{tr}prev{/tr}</a>]&nbsp;
{/if}
{tr}Page{/tr}: {$actual_page}/{$cant_pages}
{if $next_offset >= 0}
&nbsp;[<a class="prevnext" href="tiki-mapeditor_maps.php?find={$find}&amp;offset={$next_offset}&amp;sort_mode={$sort_mode}">{tr}next{/tr}</a>]
{/if}
{if $direct_pagination eq 'y'}
<br />
{section loop=$cant_pages name=foo}
{assign var=selector_offset value=$smarty.section.foo.index|times:$maxRecords}
<a class="prevnext" href="tiki-mapeditor_maps.php?find={$find}&amp;offset={$selector_offset}&amp;sort_mode={$sort_mode}">
{$smarty.section.foo.index_next}</a>&nbsp;
{/section}
{/if}
</div>
</div>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment