Skip to content

Commit

Permalink
englische Artikel und Attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
following committed Aug 5, 2012
1 parent f17d957 commit 3059715
Show file tree
Hide file tree
Showing 14 changed files with 518 additions and 6 deletions.
4 changes: 2 additions & 2 deletions htdocs/articles.php
Expand Up @@ -26,9 +26,9 @@
else if (!file_exists($opt['stylepath'] . '/articles/' . $language . '/' . $article . '.tpl'))
{
// does article exist in default-language?
if (file_exists($opt['stylepath'] . '/articles/' . $opt['template']['default']['locale'] . '/' . $article . '.tpl'))
if (file_exists($opt['stylepath'] . '/articles/' . $opt['template']['default']['article_locale'] . '/' . $article . '.tpl'))
{
$language = $opt['template']['default']['locale'];
$language = $opt['template']['default']['article_locale'];
}
elseif (file_exists($opt['stylepath'] . '/articles/EN/' . $article . '.tpl'))
{
Expand Down
1 change: 1 addition & 0 deletions htdocs/config2/settings-dist.inc.php
Expand Up @@ -166,6 +166,7 @@
*
*/
$opt['template']['default']['locale'] = 'DE'; // may be overwritten by $opt['domain'][...]['locale']
$opt['template']['default']['article_locale'] = 'EN'; // may be overwritten by $opt['domain'][...]['article_locale']
$opt['template']['default']['style'] = 'ocstyle'; // may be overwritten by $opt['domain'][...]['style']
$opt['template']['default']['country'] = 'DE'; // may be overwritten by $opt['domain'][...]['country']

Expand Down
8 changes: 4 additions & 4 deletions htdocs/doc/sql/static-data/data.sql

Large diffs are not rendered by default.

173 changes: 173 additions & 0 deletions htdocs/templates2/ocstyle/articles/EN/cacheinfo.tpl
@@ -0,0 +1,173 @@
{***************************************************************************
* You can find the license in the docs directory
*
* Unicode Reminder ??
***************************************************************************}

<div class="content2-pagetitle">
<img src="resource2/{$opt.template.style}/images/misc/32x32-tools.png" style="align: left; margin-right: 10px;" width="32" height="32" alt="" />Information on cache descriptions
</div>
<div class="content-txtbox-noshade" style="padding-right: 25px;">

<p>
<b>Name:</b> Please choose a comprehensible name, which describes the cache or the location. Use different names for different caches.</p><p>
<b id="cachetype">Cache type:</b> There are several ways to design a cache:</p>
<table class="table">
<tr>
<td valign="top" style="padding-top:5px"><img src="resource2/ocstyle/images/cacheicon/traditional.gif" width="32" border="0" height="32" align="left" alt="Traditional Cache" title="Traditional Cache"></td>
<td>Traditional Cache: The coordinates point directly to the cache stash. The cache is a container with a logbook, and no puzzles or quests must be done to find and open it.
</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
<tr>
<td valign="top" style="padding-top:5px"><img src="resource2/ocstyle/images/cacheicon/drivein.gif" width="32" border="0" height="32" align="left" alt="Drive-In" title="Drive-In"></td>
<td>Drive-In: A traditional cache with a parking area very nearby. No special equipment is needed to find and retrieve the cache.</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
<tr>
<td valign="top" style="padding-top:5px"><img src="resource2/ocstyle/images/cacheicon/multi.gif" width="32" border="0" height="32" align="left" alt="Multicache" title="Multicache"></td>
<td>Multicache: The coordinates do not point to the stash, but at the trailhead for seeking the cache. Starting there, the cache can be reached by finding intermediate stages and/or solving puzzles. The solutions must be possible on site.</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
<tr>
<td valign="top" style="padding-top:5px"><img src="resource2/ocstyle/images/cacheicon/mystery.gif" width="32" border="0" height="32" align="left" alt="Quiz cache" title="Quiz cache"></td>
<td>Quiz cache (&bdquo;Mystery&ldquo;): A puzzle must be solved to determine the (starting) location of the cache. From there on, it may continue like any other type of cache.</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
<tr>
<td valign="top" style="padding-top:5px"><img src="resource2/ocstyle/images/cacheicon/mathe.gif" width="32" border="0" height="32" align="left" alt="Math or physics cache" title="Math or physics cache"></td>
<td>Math or physics cache: To find the cache, you have to solve one or more sophisticated math or physics problems.</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
<tr>
<td valign="top" style="padding-top:5px"><img src="resource2/ocstyle/images/cacheicon/moving.gif" width="32" border="0" height="32" align="left" alt="Moving Cache" title="Moving Cache"></td>
<td>Moving Cache: The cache is changing positions. For example, it will be placed at a new location by each finder, who logs the new coordinates and maybe a new quest or puzzle at Opencaching.de. Or the cache is attached to a vehicle, whose coordinates have to be determined.</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
<tr>
<td valign="top" style="padding-top:5px"><img src="resource2/ocstyle/images/cacheicon/virtual.gif" width="32" border="0" height="32" align="left" alt="Virtual cache" title="Virtual cache"></td>
<td>Virtual cache: There is no container at the cache site and no logbook. Instead a puzzle or quest must be done on site &ndash; e.g. taking a picture or finding somthing written on a plate &ndash;, before the cache can be logged online.</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
<tr>
<td valign="top" style="padding-top:5px"><img src="resource2/ocstyle/images/cacheicon/webcam.gif" width="32" border="0" height="32" align="left" alt="Webcam" title="Webcam"></td>
<td>Webcam cache: A public webcam is utilized to solve the cache. Usually the webcam must be found and a picture of the geocacher be taken. The picture will then be appended to the online log. There is no container or logbook.</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
<tr>
<td valign="top" style="padding-top:5px"><img src="resource2/ocstyle/images/cacheicon/event.gif" width="32" border="0" height="32" align="left" alt="Event" title="Event"></td>
<td>Event cache: A meeting of geocachers; anyone may attend.</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
<tr>
<td valign="top" style="padding-top:5px"><img src="resource2/ocstyle/images/cacheicon/unknown.gif" width="32" border="0" height="32" align="left" alt="Unknown cache type" title="Unknown cache type"></td>
<td>Unknown cache type: The geocache does not fit any of the types listed above.</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
</table>

<p><b>Coordinates:</b> The hiding place of the cache, or the first stage, trailhead or parking area of a multicache. If the coordinates have to be found by solving a puzzle: An arbitrary coordinate in the target area, so that the cache may be found on maps and the distance may be estimated.</p>
<p><b>Country:</b> In which country is the cache location? This information is important especially for near-border caches.</p>
<p id="difficulty"><b>Rating:</b> Difficulty and Terrain: Difficulty of the tasks necessary to find and unhide the cache / how demanding is the way to the cache?</p>
<p>Indications for difficulty rating:</p>
<table class="table">
<tr>
<td></td>
<td valign="top" style="padding-top:5px;"><img src='./resource2/{$opt.template.style}/images/difficulty/diff-10.gif' border='0' width='19' height='16' hspace='2' /></td>
<td>1: can be found within a few minutes, well suited for beginners</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
<tr>
<td></td>
<td valign="top" style="padding-top:5px;"><img src='./resource2/{$opt.template.style}/images/difficulty/diff-20.gif' border='0' width='19' height='16' hspace='2' /></td>
<td>2: easy to find for experienced geocaches; may be demanding for beginners</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
<tr>
<td></td>
<td valign="top" style="padding-top:5px"><img src='./resource2/{$opt.template.style}/images/difficulty/diff-30.gif' border='0' width='19' height='16' hspace='2' /></td>
<td>3: demanding cache &ndash; even experienced cachers may seek for a while or need multiple attempts; inappropriate for beginners</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
<tr>
<td></td>
<td valign="top" style="padding-top:5px"><img src='./resource2/{$opt.template.style}/images/difficulty/diff-40.gif' border='0' width='19' height='16' hspace='2' /></td>
<td>4: an extraordinary challenge or a very difficult puzzle; will need lots of experience and skills or may take more than a day.</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
<tr>
<td></td>
<td valign="top" style="padding-top:5px"><img src='./resource2/{$opt.template.style}/images/difficulty/diff-50.gif' border='0' width='19' height='16' hspace='2' /></td>
<td>5: extremely difficult to solve or find</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
</table>

<p>Indications for terrain rating:</p>
<table class="table">
<tr>
<td></td>
<td valign="top" style="padding-top:5px;"><img src='./resource2/{$opt.template.style}/images/difficulty/terr-10.gif' border='0' width='19' height='16' hspace='2' /></td>
<td>1: flat area with evenly paved ways, maximum halve a mile (0.8&nbsp;km) total route; suited for handicapped people</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
<tr>
<td></td>
<td valign="top" style="padding-top:5px;"><img src='./resource2/{$opt.template.style}/images/difficulty/terr-20.gif' border='0' width='19' height='16' hspace='2' /></td>
<td>2: no major changes in altitude; paved ways, paths, lawns etc.; maxium total route of two miles (3.2&nbsp;km); suited for small children</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
<tr>
<td></td>
<td valign="top" style="padding-top:5px"><img src='./resource2/{$opt.template.style}/images/difficulty/terr-30.gif' border='0' width='19' height='16' hspace='2' /></td>
<td>3: pathless or steep area, some undergrow, maximum 10 miles (16&nbsp;km) of total route; not suited for small children</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
<tr>
<td></td>
<td valign="top" style="padding-top:5px"><img src='./resource2/{$opt.template.style}/images/difficulty/terr-40.gif' border='0' width='19' height='16' hspace='2' /></td>
<td>4: pathless area with dense vegetation, very steep with necessity to use hands, or a route of more than 10 miles</td>
</tr>
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
<tr>
<td></td>
<td valign="top" style="padding-top:5px"><img src='./resource2/{$opt.template.style}/images/difficulty/terr-50.gif' border='0' width='19' height='16' hspace='2' /></td>
<td>5: can only be done with special equipment and skills; finding the cache requires climbing, diving etc.</td>
</tr>
</table>

<p><a name="time"></a><b>Effort:</b> How much time and way is to be expected, beginning at the starting point or parking lot, to find the cache and return to the starting point? Please assume that the geocacher is experienced, but will struggle to solve the one or other puzzle or quest. If you cannot pin down the time needed, keep the default of 0&nbsp;h / 0&nbsp;min and describe the effort. If you estimated the time assuming use of inline skates, a bicycle or car, please mention it in the cache description.</p>

<p>
<b>Cache attributes:</b> Use the attributes to specify properties of your cache, which may be selected by the <a href="search.php">search function</a>. Attributes may be estimated and depend on your knowledge of the site (e.g. frequent occurance of ticks). As searcher and finder of a cache, you may tell the owner about the usage and helpfullness of attributes or make suggestions. </p>

<p>When describing your caches, please assume normal, dry weather conditions.</p>

<table class="table">
<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>

{foreach from=$attributes item=attribGroupItem}
<tr><td colspan="2" bgcolor="{$attribGroupItem.color|escape}"><b><i>{$attribGroupItem.category|escape} / {$attribGroupItem.name|escape}</i></b></td></tr>

{foreach from=$attribGroupItem.attr item=attribItem name=attrItem}
<tr>
<td valign="top" style="padding-top:5px"><img src="resource2/ocstyle/images/attributes/{$attribItem.icon|escape}.png" border="0" align="left" alt="{$attribItem.name|escape}" title="{$attribItem.name|escape}"></td>
<td valign="top">
{$attribItem.name|escape}: {$attribItem.html_desc}
</td>
</tr>

<tr><td class="spacer"><img src="/images/trans.gif" border="0" width="1" height="1" alt="" title=""></td></tr>
{/foreach}
{/foreach}
</table>

<p><b>Short description:</b> Try to subsume your cache by a few words!</p>
<p><b>Description:</b> Enter any information which is needed to find the cache, but avoid spoiling it by telling too much! </p>
<p><b>Hint:</b> For the case the geocacher has no clue how to find it, give her a final aid to unhide it! </p>
<p><b>Hidden on:</b> The date when you did hide the cache. If you enter a future date, the cache will be listed as "temporarily not available", and you will have to change the state to "available" when the cache is hidden. For an event cache, enter the planned date of the event.</p>
<p><a name="logpw"></a><b>Password to log:</b> If specified, every finder has to enter this password when logging online. He will not be able to log "found it" without password. Case does not matter. Be careful when using 0, O, i or j, because these characters may be confused.</p>
<p><b>Terms of use:</b> Please read our terms of use carefully! We tried hard to make them brief and fair.</p>
<p><b>Pictures:</b> Pictures may be uploaded after entering and saving the cache listing: Open the listing and click "Edit" at the second-to-top menu. Look for the section "Pictures" and click on "Upload a picture".</p>

</div>
53 changes: 53 additions & 0 deletions htdocs/templates2/ocstyle/articles/EN/contact.tpl
@@ -0,0 +1,53 @@
{***************************************************************************
* You can find the license in the docs directory
*
* Unicode Reminder メモ
***************************************************************************}
<div class="content2-pagetitle">
<img src="resource2/{$opt.template.style}/images/misc/32x32-tools.png" style="align: left; margin-right: 10px;" width="32" height="32" alt="" />Contact Information
</div>
<div class="content-txtbox-noshade" style="padding-right: 25px;">

<table class="table">

<tr>
<td class="header-small"><b>General questions regarding Geocaching</b></td>
</tr>
<tr><td class="spacer"></td></tr>
<tr>
<td>
For general questions, there is a good German website named <a href="http://www.geocaching.de">www.geocaching.de</a>.
<br />
<br />
If you encounter a special problem, you may ask your questions in one of the German or international discussion boards at <a href="http://forum.geocaching-network.com/">forum.geocaching-network.com</a>.<br />
&nbsp;
</td>
</tr>

<tr><td class="spacer"></td></tr>
<tr>
<td class="header-small"><b>Usage of the website, suggestions and comments</b></td>
</tr>
<tr><td class="spacer"></td></tr>
<tr>
<td>
There is a board for this purpose at
<a href="http://forum.geocaching-network.com/index.php?board=33.0">forum.geocaching-network.com</a> (<em>Opencaching 3.0 &ndash; Ideen und Gedanken</em>). It also conatains (German) information on joining our team.
<br />
&nbsp;
</td>
</tr>

<tr><td class="spacer"></td></tr>
<tr>
<td class="header-small"><b>Other issues</b></td>
</tr>
<tr><td class="spacer"></td></tr>
<tr>
<td>
For the case that the contact places mentioned above do not meet your requirements, you may contact the Opencaching.de operator or send an email to our support team at <a href="mailto:contact@opencaching.de">contact@opencaching.de</a>. We will try to answer your request promptly, but please keep in mind that we are a team of volunteers who are not permanently and immediately available.<br />
&nbsp;
</td>
</tr>
</table>
</div>

0 comments on commit 3059715

Please sign in to comment.