369 lines
12 KiB
PHP
369 lines
12 KiB
PHP
<?php
|
|
/****************************************************************************
|
|
./lang/de/ocstyle/editcache.tpl.php
|
|
-------------------
|
|
begin : Mon July 6 2004
|
|
|
|
For license information see doc/license.txt
|
|
****************************************************************************/
|
|
|
|
/****************************************************************************
|
|
|
|
Unicode Reminder メモ
|
|
|
|
edit a cache listing
|
|
|
|
template replacement(s):
|
|
|
|
cacheid
|
|
show_all_countries
|
|
name
|
|
typeoptions
|
|
sizeoptions
|
|
selLatN
|
|
selLatS
|
|
selLonE
|
|
selLonW
|
|
lat_h
|
|
lat_min
|
|
lon_h
|
|
lon_min
|
|
lon_message
|
|
lat_message
|
|
countryoptions
|
|
show_all_countries_submit
|
|
difficultyoptions
|
|
terrainoptions
|
|
cache_descs
|
|
date_day
|
|
date_month
|
|
date_year
|
|
date_message
|
|
reset
|
|
submit
|
|
cacheid_urlencode
|
|
statusoptions
|
|
search_time
|
|
way_length
|
|
styleoptions
|
|
|
|
****************************************************************************/
|
|
?>
|
|
<script type="text/javascript" src="resource2/ocstyle/js/wz_tooltip.js"></script>
|
|
<script type="text/javascript">
|
|
<!--
|
|
var maAttributes = new Array({jsattributes_array});
|
|
|
|
function _chkVirtual () {
|
|
if (document.editcache_form.type.value == "4" || document.editcache_form.type.value == "5") {
|
|
document.editcache_form.size.value = "7";
|
|
document.editcache_form.size.disabled = true;
|
|
}
|
|
else
|
|
{
|
|
document.editcache_form.size.disabled = false;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
function rebuildCacheAttr()
|
|
{
|
|
var i = 0;
|
|
var sAttr = '';
|
|
for (i = 0; i < maAttributes.length; i++)
|
|
{
|
|
if (maAttributes[i][1] == 1)
|
|
{
|
|
if (sAttr != '') sAttr += ';';
|
|
sAttr = sAttr + maAttributes[i][0];
|
|
|
|
document.getElementById('attr' + maAttributes[i][0]).src = maAttributes[i][3];
|
|
}
|
|
else
|
|
document.getElementById('attr' + maAttributes[i][0]).src = maAttributes[i][2];
|
|
|
|
document.getElementById('cache_attribs').value = sAttr;
|
|
}
|
|
}
|
|
|
|
function toggleAttr(id)
|
|
{
|
|
var i = 0;
|
|
for (i = 0; i < maAttributes.length; i++)
|
|
{
|
|
if (maAttributes[i][0] == id)
|
|
{
|
|
if (maAttributes[i][1] == 0)
|
|
maAttributes[i][1] = 1;
|
|
else
|
|
maAttributes[i][1] = 0;
|
|
|
|
rebuildCacheAttr();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
//-->
|
|
</script>
|
|
|
|
<div class="content2-pagetitle">
|
|
<img src="resource2/ocstyle/images/cacheicon/traditional.gif" style="align: left; margin-right: 10px;" width="32" height="32" alt="{t}New cache{/t}" />
|
|
{t}Edit cache <a href="viewcache.php?cacheid={cacheid}">{name}</a>{/t}
|
|
</div>
|
|
|
|
<form action="editcache.php" method="post" enctype="application/x-www-form-urlencoded" name="editcache_form" dir="ltr">
|
|
<input type="hidden" name="cacheid" value="{cacheid}"/>
|
|
<input type="hidden" id="cache_attribs" name="cache_attribs" value="{cache_attribs}" />
|
|
<input type="hidden" name="show_all_countries" value="{show_all_countries}"/>
|
|
<table class="table">
|
|
<tr>
|
|
<td>{t}Name:{/t}</td>
|
|
<td>
|
|
<input type="text" name="name" value="{name}" maxlength="60" class="input400">{name_message}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>{t}Owner:{/t}</td>
|
|
<td>
|
|
{ownername} [<a href="adoptcache.php?action=listbycache&cacheid={cacheid_urlencode}">{t}offer for adoption{/t}</a>]
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="spacer" colspan="2"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>{t}State:{/t}</td>
|
|
<td>
|
|
<select name="status" class="input200">
|
|
{statusoptions}
|
|
</select>{status_message}
|
|
</td>
|
|
</tr>
|
|
<tr><td class="spacer" colspan="2"></td></tr>
|
|
|
|
<tr>
|
|
<td>{t}Cachetype:{/t}</td>
|
|
<td>
|
|
<select name="type" class="input200" onChange="return _chkVirtual()">
|
|
{typeoptions}
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>{t}Size:{/t}</td>
|
|
<td>
|
|
<select name="size" class="input200" onChange="return _chkVirtual()">
|
|
{sizeoptions}
|
|
</select>{size_message}
|
|
</td>
|
|
</tr>
|
|
<tr><td class="spacer" colspan="2"></td></tr>
|
|
<tr>
|
|
<td valign="top">{t}Coordinates:{/t}</td>
|
|
<td>
|
|
<select name="latNS" class="input40">
|
|
<option value="N"{selLatN}>{t}N{/t}</option>
|
|
<option value="S"{selLatS}>{t}S{/t}</option>
|
|
</select>
|
|
<input type="text" name="lat_h" maxlength="2" value="{lat_h}" class="input30" />
|
|
° <input type="text" name="lat_min" maxlength="6" value="{lat_min}" class="input50" /> '
|
|
{lat_message}
|
|
|
|
<select name="lonEW" class="input40">
|
|
<option value="E"{selLonE}>{t}E{/t}</option>
|
|
<option value="W"{selLonW}>{t}W{/t}</option>
|
|
</select>
|
|
<input type="text" name="lon_h" maxlength="3" value="{lon_h}" class="input30" />
|
|
° <input type="text" name="lon_min" maxlength="6" value="{lon_min}" class="input50" /> '
|
|
{lon_message}
|
|
</td>
|
|
</tr>
|
|
<tr><td class="spacer" colspan="2"></td></tr>
|
|
|
|
<tr>
|
|
<td>{t}Country:{/t}</td>
|
|
<td>
|
|
<select name="country" class="input200">
|
|
{countryoptions}
|
|
</select>
|
|
{show_all_countries_submit}
|
|
</td>
|
|
</tr>
|
|
<tr><td class="spacer" colspan="2"></td></tr>
|
|
|
|
<tr><td>{t}Rating:{/t}</td>
|
|
<td>
|
|
{t}Difficulty:{/t}
|
|
<select name="difficulty" class="input60">
|
|
{difficultyoptions}
|
|
</select>
|
|
{t}Terrain:{/t}
|
|
<select name="terrain" class="input60">
|
|
{terrainoptions}
|
|
</select>{diff_message}
|
|
</td>
|
|
</tr>
|
|
<tr><td>{t}Time and effort (optional):{/t}</td>
|
|
<td>
|
|
{t}Time effort:{/t}
|
|
<input type="text" name="search_time" maxLength="10" value="{search_time}" class="input30" /> h
|
|
|
|
{t}Distance:{/t}
|
|
<input type="text" name="way_length" maxlength="10" value="{way_length}" class="input30" /> km {effort_message}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td class="help"><img src="lang/de/ocstyle/images/misc/hint.gif" border="0" width="15" height="11" alt="{t}Notice{/t}" title="{t}Notice{/t}">
|
|
{t}Of course, this effort can only be estimated and can vary depending on enviromental influences. If you cannot make sufficiently detailed information, fill both fields up with a O (zero).{/t}
|
|
</td>
|
|
</tr>
|
|
<tr><td class="spacer" colspan="2"></td></tr>
|
|
|
|
<tr>
|
|
<td>{t}Waypoints (optional):{/t}</td>
|
|
<!-- allow wp_gc copy&paste with leading spaces; will be trimmed later -->
|
|
<td>geocaching.com: <input type="text" name="wp_gc" value="{wp_gc}" maxlength="12" class="input50">
|
|
navicache.com: <input type="text" name="wp_nc" value="{wp_nc}" maxlength="6" class="input50">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td> </td>
|
|
<td class="help">
|
|
<img src="lang/de/ocstyle/images/misc/hint.gif" border="0" width="15" height="11" alt="{t}Notice{/t}" title="{t}Notice{/t}">
|
|
{t}This waypoints will be used to show links in the view cache and the log page.{/t}<br />
|
|
{t}No data will be imported automatically from these listing services.{/t}
|
|
</td>
|
|
</tr>
|
|
<tr><td class="spacer" colspan="2"></td></tr>
|
|
|
|
<tr>
|
|
<td class="header-small" colspan="2">
|
|
<div class="content2-container bg-blue02">
|
|
<p class="content-title-noshade-size2">
|
|
<img src="lang/de/ocstyle/images/description/22x22-description.png" width="22" height="22" align="middle" border="0">
|
|
{t}Cache attributes{/t}
|
|
</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="spacer" colspan="2"></td></tr>
|
|
<tr>
|
|
<td colspan="2">{cache_attrib_list}</td>
|
|
</tr>
|
|
<tr><td class="spacer" colspan="2"> </td></tr>
|
|
|
|
<tr>
|
|
<td class="header-small" colspan="2">
|
|
<div class="content2-container bg-blue02">
|
|
<p class="content-title-noshade-size2">
|
|
<img src="lang/de/ocstyle/images/description/22x22-description.png" width="22" height="22" align="middle" border="0">
|
|
{t}Descriptions{/t}
|
|
<img src="lang/de/ocstyle/images/action/16x16-adddesc.png" width="16" height="16" align="middle" border="0" alt="{t}Create a new description{/t}" title="{t}Create a new description{/t}">
|
|
<span style="font-weight: 400;font-size: small;">[<a href="newdesc.php?cacheid={cacheid_urlencode}">{t}Add an additional description{/t}</a>]</span>
|
|
</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="spacer" colspan="2"></td></tr>
|
|
{cache_descs}
|
|
{gc_com_refs_start}
|
|
<tr><td class="help" colspan="2"><img src="lang/de/ocstyle/images/misc/hint.gif" border="0" width="15" height="11" alt="{t}Notice{/t}" title="{t}Notice{/t}"><span style="color:red">{t}Your description contains at least one link to a picture hosted on geocaching.com!{/t}<br />
|
|
{t}To prevent any problems with geocaching.com we want to please you to upload all linked pictures to opencaching.de as well and link the pictures in the HTML code to these on opencaching.de{/t}</span>
|
|
</td></tr>
|
|
{gc_com_refs_end}
|
|
<tr><td colspan="2"> </td></tr>
|
|
|
|
<tr>
|
|
<td class="header-small" colspan="2">
|
|
<div class="content2-container bg-blue02">
|
|
<p class="content-title-noshade-size2">
|
|
<img src="lang/de/ocstyle/images/description/22x22-image.png" width="22" height="22" align="middle" border="0">
|
|
{t}Pictures{/t}
|
|
<img src="lang/de/ocstyle/images/action/16x16-addimage.png" width="16" height="16" align="middle" border="0">
|
|
<span style="font-weight: 400;font-size: small;">[<a href="picture.php?action=add&cacheuuid={cacheuuid_urlencode}">{t}Upload a picture{/t}</a>]</span>
|
|
</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="spacer" colspan="2"></td></tr>
|
|
{pictures}
|
|
<tr><td class="spacer" colspan="2"></td></tr>
|
|
|
|
<tr>
|
|
<td class="header-small" colspan="2">
|
|
<div class="content2-container bg-blue02">
|
|
<p class="content-title-noshade-size2">
|
|
<img src="resource2/ocstyle/images/description/20x20-compass.png" align="middle" border="0">
|
|
{t}Additional waypoints{/t}
|
|
<span style="font-weight: 400;font-size: small;">[<a href="childwp.php?cacheid={cacheid_urlencode}">{t}Add a waypoint{/t}</a>]</span>
|
|
</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="spacer" colspan="2"></td></tr>
|
|
{waypoints}
|
|
<tr>
|
|
<td class="help" colspan="2">
|
|
<img src="lang/de/ocstyle/images/misc/hint.gif" border="0" width="15" height="11" alt="{t}Notice{/t}" title="{t}Notice{/t}">
|
|
{t}Additional waypoints can be entered to make searching easier, for example by pointing to a suitable parking location or start of a path (the waypoint's description may contain more information). The waypoints are included in GPX-file downloads and will be sent to the GPS device.{/t}
|
|
</td>
|
|
</tr>
|
|
<tr><td class="spacer" colspan="2"> </td></tr>
|
|
<tr>
|
|
<td class="header-small" colspan="2">
|
|
<div class="content2-container bg-blue02">
|
|
<p class="content-title-noshade-size2">
|
|
<img src="lang/de/ocstyle/images/description/22x22-misc.png" width="22" height="22" align="middle" border="0">
|
|
{t}Others{/t}
|
|
</p>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr><td class="spacer" colspan="2"></td></tr>
|
|
<tr>
|
|
<td>{t}Hidden since:{/t}</td>
|
|
<td>
|
|
<input class="input20" type="text" name="hidden_day" maxlength="2" value="{date_day}"/>.
|
|
<input class="input20" type="text" name="hidden_month" maxlength="2" value="{date_month}"/>.
|
|
<input class="input40" type="text" name="hidden_year" maxlength="4" value="{date_year}"/>
|
|
{date_message}
|
|
</td>
|
|
</tr>
|
|
|
|
{activation_form}
|
|
|
|
<tr><td class="spacer" colspan="2"></td></tr>
|
|
<tr>
|
|
<td nowrap="nowrap">{t}passwort to log:{/t}</td>
|
|
<td><input class="input100" type="text" name="log_pw" value="{log_pw}" maxlength="20"/> {t}(leave blank for no password){/t}</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="help" colspan="2">
|
|
<img src="lang/de/ocstyle/images/misc/hint-link.gif" border="0" width="15" height="11" alt="{t}Notice{/t}" title="{t}Notice{/t}">
|
|
{t}Please note the <a href="articles.php?page=cacheinfo#logpw" target="_blank">description</a>{/t}
|
|
</td>
|
|
</tr>
|
|
|
|
<tr><td class="spacer" colspan="2"></td></tr>
|
|
<tr><td class="spacer" colspan="2"></td></tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
{t}By submitting I accept the <a href="articles.php?page=impressum#tos" target="_blank">Opencaching.de Terms of Service</a> and the <a href="articles.php?page=impressum#datalicense" target="_blank">Opencaching.de Datalicense</a>{/t}
|
|
</td>
|
|
</tr>
|
|
<tr><td class="spacer" colspan="2"></td></tr>
|
|
<tr>
|
|
<td class="header-small" colspan="2">
|
|
<input type="reset" name="reset" value="{reset}" style="width:120px"/>
|
|
<input type="submit" name="submit" value="{submit}" style="width:120px"/>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
<script type="text/javascript">
|
|
<!--
|
|
_chkVirtual();
|
|
//-->
|
|
</script>
|