Blame Extras/phpBB/3.0.4/styles/prosilver/template/memberlist_im.html

4c79b5
4c79b5
4c79b5
4c79b5

{L_SEND_IM}

4c79b5
4c79b5
<form method="post" action="{S_IM_ACTION}">
4c79b5
4c79b5
4c79b5
	
4c79b5
	
4c79b5
	

{L_SEND_IM_EXPLAIN}

4c79b5
4c79b5
	<fieldset>
4c79b5
	
4c79b5
		
<label>{L_IM_RECIPIENT}:</label>
4c79b5
		
{USERNAME} [ {IM_CONTACT} ] {PRESENCE_IMG}
4c79b5
	
4c79b5
4c79b5
	
4c79b5
		
4c79b5
			
<label for="from">{L_IM_NAME}:</label>
4c79b5
			
<input class="inputbox autowidth" type="text" name="from" id="from" size="20" />
4c79b5
		
4c79b5
		
4c79b5
			
<label for="body">{L_IM_MESSAGE}:</label>
4c79b5
			
<textarea class="inputbox autowidth" name="body" id="body" rows="5" cols="45"></textarea>
4c79b5
		
4c79b5
		
4c79b5
			
 
4c79b5
			
<input class="button1" name="submit" type="submit" value="{L_IM_SEND}" />
4c79b5
		
4c79b5
		<input type="hidden" name="fromemail" value="{EMAIL}" />
4c79b5
		<input type="hidden" name="subject" value="{SITENAME}" />
4c79b5
		<input type="hidden" name="to" value="{IM_CONTACT}" />
4c79b5
	
4c79b5
4c79b5
	
4c79b5
		
4c79b5
			
 
4c79b5
			
{L_IM_ADD_CONTACT}
4c79b5
			
{L_IM_SEND_MESSAGE}
4c79b5
			
{L_IM_DOWNLOAD_APP} | {L_IM_AIM_EXPRESS}
4c79b5
		
4c79b5
	
4c79b5
4c79b5
	
4c79b5
		
4c79b5
			
 
4c79b5
			
<object classid="clsid:B69003B3-C55E-4B48-836C-BC5946FC3B28" codetype="application/x-oleobject" id="objMessengerApp" width="0" height="0"></object>
4c79b5
			
{L_IM_ADD_CONTACT}
4c79b5
			
{L_IM_SEND_MESSAGE}
4c79b5
		
4c79b5
	
4c79b5
4c79b5
	
4c79b5
		
4c79b5
			
<label for="message">{L_IM_MESSAGE}:</label>
4c79b5
			
<textarea class="inputbox autowidth" name="message" id="message" rows="5" cols="45"></textarea>
4c79b5
		
4c79b5
		
4c79b5
			
 
4c79b5
			
<input class="button1" name="submit" type="submit" value="{L_IM_SEND}" />
4c79b5
		
4c79b5
	
4c79b5
4c79b5
	
4c79b5
		
4c79b5
			
 
4c79b5
			
{L_IM_NO_JABBER}
4c79b5
		
4c79b5
	
4c79b5
4c79b5
	
4c79b5
		
4c79b5
			
 
4c79b5
			
{L_IM_SENT_JABBER}
4c79b5
		
4c79b5
	
4c79b5
	{S_FORM_TOKEN}
4c79b5
	</fieldset>
4c79b5
4c79b5
	
4c79b5
4c79b5
{L_CLOSE_WINDOW}
4c79b5
</form>
4c79b5
4c79b5
<script type="text/javascript">
4c79b5
// 
4c79b5
4c79b5
	/** The following will not work with Windows Vista **/
4c79b5
4c79b5
	var app = document.getElementById('objMessengerApp');
4c79b5
4c79b5
	/**
4c79b5
	* Check whether the browser supports this and whether MSNM is connected
4c79b5
	*/
4c79b5
	function msn_supported()
4c79b5
	{
4c79b5
		// Does the browser support the MSNM object?
4c79b5
		if (app.MyStatus)
4c79b5
		{
4c79b5
			// Is MSNM connected?
4c79b5
			if (app.MyStatus == 1)
4c79b5
			{
4c79b5
				alert('{LA_IM_MSNM_CONNECT}');
4c79b5
				return false;
4c79b5
			}
4c79b5
		}
4c79b5
		else
4c79b5
		{
4c79b5
			alert('{LA_IM_MSNM_BROWSER}');
4c79b5
			return false;
4c79b5
		}
4c79b5
		return true;
4c79b5
	}
4c79b5
4c79b5
	/**
4c79b5
	* Add to your contact list
4c79b5
	*/
4c79b5
	function add_contact(address) 
4c79b5
	{
4c79b5
		if (msn_supported()) 
4c79b5
		{
4c79b5
			// Could return an error while MSNM is connecting, don't want that
4c79b5
			try
4c79b5
			{
4c79b5
				app.AddContact(0, address);
4c79b5
			}
4c79b5
			catch (e)
4c79b5
			{
4c79b5
				return;
4c79b5
			}
4c79b5
	}
4c79b5
}
4c79b5
4c79b5
/**
4c79b5
* Write IM to contact
4c79b5
*/
4c79b5
function im_contact(address)
4c79b5
{
4c79b5
	if (msn_supported())
4c79b5
	{
4c79b5
		// Could return an error while MSNM is connecting, don't want that
4c79b5
		try
4c79b5
		{
4c79b5
			app.InstantMessage(address);
4c79b5
		}
4c79b5
		catch (e)
4c79b5
		{
4c79b5
			return;
4c79b5
		}
4c79b5
	}
4c79b5
}
4c79b5
// ]]>
4c79b5
</script>
4c79b5
4c79b5