Hallo heiley
Schau dir mal die Änderungen in der posting.php an, dann kommst du von selbst darauf wie man das ändert.
Aber seis drum...hier mal die zu ändernden Stellen.
Suche in der
posting.php
Code: Alles auswählen
$phpbbtype = request_var('phpbbtype', 0);
$phpbbmods = request_var('phpbbmods', 0);
Ersetze mit
Code: Alles auswählen
$phpbbtype = utf8_normalize_nfc(request_var('phpbbtype', '', true ));
$phpbbmods = utf8_normalize_nfc(request_var('phpbbmods', '', true ));
Suche und entferne
Code: Alles auswählen
// phpBB Typ Optionsfeld umwandeln
if ($phpbbtype == '1')
{
$phpbbtype = $user->lang['CST_STANDARD'];
}
else if ($phpbbtype == '2')
{
$phpbbtype = $user->lang['CST_PREMOD'];
}
else
{
$phpbbtype = $user->lang['CST_ANDDIST'];
}
// Mods Optionsfeld umwandeln
if ($phpbbmods == '0')
{
$phpbbmods = $user->lang['CST_NO'];
}
else
{
$phpbbmods = $user->lang['CST_YES'];
}
// Wissenstand umwandeln
if ($phpbbknowledge == '1')
{
$phpbbknowledge = $user->lang['CST_BEGINNER'];
}
else if ($phpbbknowledge == '2')
{
$phpbbknowledge = $user->lang['CST_BASICKNOW'];
}
else if ($phpbbknowledge == '3')
{
$phpbbknowledge = $user->lang['CST_EXTENDED'];
}
else
{
$phpbbknowledge = $user->lang['CST_PROFI'];
}
Bei Bedarf, kannst du noch die Formatierung der Ausgabe über
Code: Alles auswählen
$messagetemp .= "[b]" . $u2 . "[/b] " . $phpbbtype . "\n";
$messagetemp .= "[b]" . $u3 . "[/b] " . $phpbbmods . "\n";
$messagetemp .= "[b]" . $u4 . "[/b] " . $phpbbknowledge . "\n";
steuern (musst du entsprechend ändern - schau dir dazu einfach mal die Formatierung der anderen Ausgaben an).
Suche nach
Code: Alles auswählen
'CST_PHPBBTYPE' => request_var('phpbbtype', 0),
'CST_MODS' => request_var('phpbbmods', 0),
'CST_KNOWLEDGE' => request_var('phpbbknowledge', 0),
Ersetze mit
Code: Alles auswählen
'CST_PHPBBTYPE' => request_var('phpbbtype', '', true),
'CST_MODS' => request_var('phpbbmods', '', true),
'CST_KNOWLEDGE' => request_var('phpbbknowledge', '', true),
Öffne die styles/prosilver/template/posting_editor.html
Suche nach
Code: Alles auswählen
<dl>
<dt><label for="phpbbtype">{L_CST_PHPBBTYPE}</label></dt>
<dd><input type="radio" name="phpbbtype" value="1" checked="checked" /> {L_CST_STANDARD}</dd>
<dd><input type="radio" name="phpbbtype" value="2"<!-- IF CST_PHPBBTYPE == 2 --> checked="checked"<!-- ENDIF --> /> {L_CST_PREMOD}</dd>
<dd><input type="radio" name="phpbbtype" value="3"<!-- IF CST_PHPBBTYPE == 3 --> checked="checked"<!-- ENDIF --> /> {L_CST_ANDDIST}</dd>
</dl>
Ersetze mit
Code: Alles auswählen
<dl>
<dt><label for="phpbbtype">{L_CST_PHPBBTYPE}</label></dt>
<dd><input type="text" name="phpbbtype" size="45" maxlength="10" value="{CST_PHPBBTYPE}" class="inputbox autowidth" /></dd>
</dl>
Suche nach
Code: Alles auswählen
<dl>
<dt><label for="phpbbmods">{L_CST_MODS}</label></dt>
<dd><input type="radio" name="phpbbmods" value="1"<!-- IF CST_MODS --> checked="checked"<!-- ENDIF --> /> {L_CST_YES}</dd>
<dd><input type="radio" name="phpbbmods" value="0"<!-- IF not CST_MODS --> checked="checked"<!-- ENDIF --> /> {L_CST_NO}</dd>
</dl>
<dl>
<dt><label for="phpbbknowledge">{L_CST_KNOWLEDGE}</label></dt>
<dd><input type="radio" name="phpbbknowledge" value="1" checked="checked" /> {L_CST_BEGINNER}</dd>
<dd><input type="radio" name="phpbbknowledge" value="2"<!-- IF CST_KNOWLEDGE == 2 --> checked="checked"<!-- ENDIF --> /> {L_CST_BASICKNOW}</dd>
<dd><input type="radio" name="phpbbknowledge" value="3"<!-- IF CST_KNOWLEDGE == 3 --> checked="checked"<!-- ENDIF --> /> {L_CST_EXTENDED}</dd>
<dd><input type="radio" name="phpbbknowledge" value="4"<!-- IF CST_KNOWLEDGE == 4 --> checked="checked"<!-- ENDIF --> /> {L_CST_PROFI}</dd>
</dl>
Ersetze mit
Code: Alles auswählen
<dl>
<dt><label for="phpbbmods">{L_CST_MODS}</label></dt>
<dd><input type="text" name="phpbbmods" size="45" maxlength="10" value="{CST_MODS}" class="inputbox autowidth" /></dd>
</dl>
<dl>
<dt><label for="phpbbknowledge">{L_CST_KNOWLEDGE}</label></dt>
<dd><input type="text" name="phpbbknowledge" size="45" maxlength="10" value="{CST_KNOWLEDGE}" class="inputbox autowidth" /></dd>
</dl>
Öffne die styles/subsilver2/template/posting_body.html
Suche nach
Code: Alles auswählen
<tr>
<td class="row1" width="22%" style="vertical-align:top;"><span class="gen"><b>{L_CST_PHPBBTYPE}</b></span></td>
<td class="row2" width="78%"><span class="gen">
<input type="radio" name="phpbbtype" value="1" checked="checked" /> {L_CST_STANDARD}<br />
<input type="radio" name="phpbbtype" value="2"<!-- IF CST_PHPBBTYPE == 2 --> checked="checked"<!-- ENDIF --> /> {L_CST_PREMOD}<br />
<input type="radio" name="phpbbtype" value="3"<!-- IF CST_PHPBBTYPE == 3 --> checked="checked"<!-- ENDIF --> /> {L_CST_ANDDIST}
</span> </td>
</tr>
Ersetze mit
Code: Alles auswählen
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_CST_PHPBBTYPE}</b></span></td>
<td class="row2" width="78%"><input type="text" name="phpbbtype" size="10" maxlength="10" style="width:450px" tabindex="2" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" class="post" value="{CST_PHPBBTYPE}" /></td>
</tr>
Suche nach
Code: Alles auswählen
<tr>
<td class="row1" width="22%" style="vertical-align:top;"><span class="gen"><b>{L_CST_MODS}</b></span></td>
<td class="row2" width="78%"><span class="gen">
<input type="radio" name="phpbbmods" value="1"<!-- IF CST_MODS --> checked="checked"<!-- ENDIF --> /> {L_CST_YES}<br />
<input type="radio" name="phpbbmods" value="0"<!-- IF not CST_MODS --> checked="checked"<!-- ENDIF --> /> {L_CST_NO}
</span> </td>
</tr>
<tr>
<td class="row1" width="22%" style="vertical-align:top;"><span class="gen"><b>{L_CST_KNOWLEDGE}</b></span></td>
<td class="row2" width="78%"><span class="gen">
<input type="radio" name="phpbbknowledge" value="1" checked="checked" /> {L_CST_BEGINNER}<br />
<input type="radio" name="phpbbknowledge" value="2"<!-- IF CST_KNOWLEDGE == 2 --> checked="checked"<!-- ENDIF --> /> {L_CST_BASICKNOW}<br />
<input type="radio" name="phpbbknowledge" value="3"<!-- IF CST_KNOWLEDGE == 3 --> checked="checked"<!-- ENDIF --> /> {L_CST_EXTENDED}<br />
<input type="radio" name="phpbbknowledge" value="4"<!-- IF CST_KNOWLEDGE == 4 --> checked="checked"<!-- ENDIF --> /> {L_CST_PROFI}
</span> </td>
</tr>
Ersetze mit
Code: Alles auswählen
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_CST_MODS}</b></span></td>
<td class="row2" width="78%"><input type="text" name="phpbbmods" size="10" maxlength="10" style="width:450px" tabindex="2" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" class="post" value="{CST_MODS}" /></td>
</tr>
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_CST_KNOWLEDGE}</b></span></td>
<td class="row2" width="78%"><input type="text" name="phpbbknowledge" size="10" maxlength="10" style="width:450px" tabindex="2" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" class="post" value="{CST_KNOWLEDGE}" /></td>
</tr>
Die Sprachvariablen musst du dann deinen Wünschen entsprechend noch in der languages/de/mods/ticket.php (und gegebenenfalls in deinen anderen Sprachdateien z.b. languages/en/mods/ticket.php)anpassen.
Grüße: Mahony