Verschiedene Bilder für in-, out- und savebox

Alles zu Styles, Templates, Icons und Smilies für phpBB 2.0, sowie allgemeine Designfragen zur Integration von phpBB in bestehende Websites.
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
iixo
Mitglied
Beiträge: 22
Registriert: 10.04.2005 13:54
Kontaktdaten:

Verschiedene Bilder für in-, out- und savebox

Beitrag von iixo »

hallo zusammn,

ich hätte folgendes problem, ich möchte für inbox, outbox & savebox, verschiedene bilder einblenden lassn..


habe aber net viel ahnung von php..

also ich habe bissher volgendes im privmsg.php geschrieben:

Code: Alles auswählen

if ( $folder == 'inbox' )
	{
		// xCom //
		
		
		{ 
  			  $new_image = 'templates/subSilver/main/temp_menu2.gif'; 
		} 
		
 
		$template->assign_vars(array( 
   	 	
  		
		  'outbox_headline' => $new_image

		));
		
		// ---- //
		$post_img = $post_icons['post_img'];
		$reply_img = $post_icons['reply_img'];
		$quote_img = $post_icons['quote_img'];
		$edit_img = '';
		$post = $post_icons['post'];
		$reply = $post_icons['reply'];
		$quote = $post_icons['quote'];
		$edit = '';
		$l_box_name = $lang['Inbox'];
	}
	else if ( $folder == 'outbox' )
	{

		// xCom //
		

		{ 
  			  $new_image2 = 'templates/subSilver/main/temp_menu2.gif'; 
		} 
		
 
		$template->assign_vars(array( 
   	 	
  		
		  'outbox_headline' => $new_image2

		));

		
		// ---- //
		$post_img = $post_icons['post_img'];
		$reply_img = '';
		$quote_img = '';
		$edit_img = $post_icons['edit_img'];
		$post = $post_icons['post'];
		$reply = '';
		$quote = '';
		$edit = $post_icons['edit'];
		$l_box_name = $lang['Outbox'];
	}
	else if ( $folder == 'savebox' )
	{
		// xCom //
		
	
		// ---- //
		if ( $privmsg['privmsgs_type'] == PRIVMSGS_SAVED_IN_MAIL )
		{
			$post_img = $post_icons['post_img'];
			$reply_img = $post_icons['reply_img'];
			$quote_img = $post_icons['quote_img'];
			$edit_img = '';
			$post = $post_icons['post'];
			$reply = $post_icons['reply'];
			$quote = $post_icons['quote'];
			$edit = '';
		}
		else
		{
			$post_img = $post_icons['post_img'];
			$reply_img = '';
			$quote_img = '';
			$edit_img = '';
			$post = $post_icons['post'];
			$reply = '';
			$quote = '';
			$edit = '';
		}
		$l_box_name = $lang['Saved'];
	}
	else if ( $folder == 'sentbox' )
	{
		// xCom //
		
	
		// ---- //
		$post_img = $post_icons['post_img'];
		$reply_img = '';
		$quote_img = '';
		$edit_img = '';
		$post = $post_icons['post'];
		$reply = '';
		$quote = '';
		$edit = '';
		$l_box_name = $lang['Sent'];
	}

des funzt aber trotzdem irgendwie imma noch net :(

hätte jemand ne idee, voran des liegen könnte?


schon ma danke im voraus

mfg

iixo


PS: alles was zwischen:

Code: Alles auswählen

// xCom //
und:

Code: Alles auswählen

// ---- //
steht wurde dazu geschrieben...
Antworten

Zurück zu „phpBB 2.0: Styles, Templates und Grafiken“