status logging
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
$way_length_not_ok_message = '<span class="errormsg">' . t('The distance you have entered is invalid. Format aa.aaa') . '</span>';
|
||||
$sizemismatch_message = ' <span class="errormsg">' . t('For virtual and webcam caches, the cache size has to be -no container-!') . '</span>';
|
||||
$status_message = ' <span class="errormsg">' . t('The cache-status does not fit to your publishing options') . '</span>';
|
||||
$status_change = '<br /><div style="margin-top:6px"><img src="lang/de/ocstyle/images/misc/hint.gif" border="0" width="15" height="11" >' . t('To change the state, you need to <a href="log.php?cacheid=%1">log</a> the new state.') . '</div>';
|
||||
$diff_not_ok_message = ' <span class="errormsg">' . t('Choose both valuations!') . '</span>';
|
||||
$safari_not_allowed_message = '<span class="errormsg">' . t('Only virtual caches can be safari caches.') . '</span>';
|
||||
$nopictures = '<tr><td colspan="2">' . t('No pictures available') . '</td></tr>';
|
||||
|
||||
@@ -137,7 +137,7 @@ function toggleAttr(id)
|
||||
<td>
|
||||
<select name="status" class="input200">
|
||||
{statusoptions}
|
||||
</select>{status_message}
|
||||
</select>{status_message}{statuschange}
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="spacer" colspan="2"></td></tr>
|
||||
|
||||
@@ -25,4 +25,6 @@
|
||||
$log_pw_field = '<tr><td colspan="2">' . t('passwort to log:') . ' <input class="input100" type="text" name="log_pw" maxlength="20" value="" /> ' . t('(only for found logs)') . '</td></tr>
|
||||
<tr><td class="spacer" colspan="2"></td></tr>';
|
||||
$log_pw_field_pw_not_ok = '<tr><td colspan="2">' . t('passwort to log:') . ' <input type="text" name="log_pw" maxlength="20" size="20" value=""/><span class="errormsg"> ' . t('Invalid password!') . '</span></td></tr><tr><td class="spacer" colspan="2"></td></tr>';
|
||||
|
||||
$teamcomment_field = ' <input type="checkbox" name="teamcomment" value="1" class="checkbox" {chk_sel} id="teamcomment" /> <label for="teamcomment">' . t('OC team comment') . "</label>";
|
||||
?>
|
||||
@@ -89,6 +89,7 @@ function _chkFound () {
|
||||
<select name="logtype" onChange="return _chkFound()">
|
||||
{logtypeoptions}
|
||||
</select>
|
||||
{teamcommentoption}
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="spacer" colspan="2"></td></tr>
|
||||
|
||||
@@ -16,23 +16,7 @@
|
||||
function icon_log_type($icon_small, $text)
|
||||
{
|
||||
global $stylepath;
|
||||
return "<img src='$stylepath/images/$icon_small' width='16' height='16' align='middle' border='0' align='left' alt='$text' title='$text'>";
|
||||
}
|
||||
|
||||
function icon_cache_status($status, $text)
|
||||
{
|
||||
global $stylepath;
|
||||
switch($status)
|
||||
{
|
||||
case 1: $icon = "log/16x16-go.png"; break;
|
||||
case 2: $icon = "log/16x16-stop.png"; break;
|
||||
case 3: $icon = "log/16x16-trash.png"; break;
|
||||
case 4: $icon = "log/16x16-trash.png"; break;
|
||||
case 5: $icon = "log/16x16-stop.png"; break;
|
||||
|
||||
default: $icon = "log/16x16-go.png"; break;
|
||||
}
|
||||
return "<img src='$stylepath/images/$icon' width='16' height='16' align='middle' border='0' align='left' alt='$text' title='$text'>";
|
||||
return "<img src='resource2/ocstyle/images/$icon_small' width='16' height='16' align='middle' border='0' align='left' alt='$text' title='$text'>";
|
||||
}
|
||||
|
||||
function icon_difficulty($what, $difficulty)
|
||||
|
||||
@@ -24,9 +24,9 @@
|
||||
$event_log_pw_field = '<tr><td colspan="2">' . t('passwort to log:') . ' <input class="input100" type="text" name="log_pw" maxlength="20" value="" /> (' . t('only for attended-logs') . ')</td></tr><tr><td class="spacer" colspan="2"></td></tr>';
|
||||
$other_log_pw_field = '<tr><td colspan="2">' . t('passwort to log:') . ' <input class="input100" type="text" name="log_pw" maxlength="20" value="" /> ' . t('(only for found-logs)') . '</td></tr><tr><td class="spacer" colspan="2"></td></tr>';
|
||||
$log_pw_field_pw_not_ok = '<tr><td colspan="2">' . t('passwort to log:') . ' <input type="text" name="log_pw" maxlength="20" size="20" value=""/><span class="errormsg"> ' . t('Invalid password!') . '</span></td></tr><tr><td class="spacer" colspan="2"></td></tr>';
|
||||
$teamcomment_field = ' <input type="checkbox" name="teamcomment" value="1" class="checkbox" {chk_sel} id="teamcomment" /> <label for="teamcomment">' . t('OC team comment') . '</label>';
|
||||
|
||||
$listed_only_oc = t('only listed here!');
|
||||
|
||||
$smiley_link = '<a href="javascript:insertSmiley(\'{smiley_text}\')">{smiley_image}</a>';
|
||||
|
||||
?>
|
||||
@@ -84,6 +84,7 @@ function _chkFound () {
|
||||
<select name="logtype" onChange="return _chkFound()">
|
||||
{logtypeoptions}
|
||||
</select>
|
||||
{teamcommentoption}
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="spacer" colspan="2"></td></tr>
|
||||
|
||||
Reference in New Issue
Block a user