Seite 1 von 1

"Thema schreiben als" entfernen?

Verfasst: 24.10.2004 14:06
von Paulchen
Hi,
wenn man als Admin einen neuen Beitrag schreibt, dann kann man auswählen, wie man ihn schreiben will.

Entweder als "Normal", "Wichtig" oder "Ankündigung".

Kann man irgendwie machen, dass das Thema automatisch "normal" geschrieben wird (wird es ja sowieso) und als Auswahlmöglichkeit nur "Ankündigung" übrig bleibt?

Verfasst: 24.10.2004 14:12
von kratzer54847
versuch mal...

Öffne posting.php und suche:

Code: Alles auswählen

if ( $mode == 'newtopic' || ( $mode == 'editpost' && $post_data['first_post'] ) )
{
	$template->assign_block_vars('switch_type_toggle', array());

	if( $is_auth['auth_sticky'] )
	{
		$topic_type_toggle .= '<input type="radio" name="topictype" value="' . POST_STICKY . '"';
		if ( $post_data['topic_type'] == POST_STICKY || $topic_type == POST_STICKY )
		{
			$topic_type_toggle .= ' checked="checked"';
		}
		$topic_type_toggle .= ' /> ' . $lang['Post_Sticky'] . '&nbsp;&nbsp;';
	}
lösche:

Code: Alles auswählen

	if( $is_auth['auth_sticky'] )
	{
		$topic_type_toggle .= '<input type="radio" name="topictype" value="' . POST_STICKY . '"';
		if ( $post_data['topic_type'] == POST_STICKY || $topic_type == POST_STICKY )
		{
			$topic_type_toggle .= ' checked="checked"';
		}
		$topic_type_toggle .= ' /> ' . $lang['Post_Sticky'] . '&nbsp;&nbsp;';
	}