email check failed, translate wall_item template
This commit is contained in:
		
					parent
					
						
							
								36b241c02b
							
						
					
				
			
			
				commit
				
					
						a51a1007a3
					
				
			
		
					 6 changed files with 8 additions and 5 deletions
				
			
		
							
								
								
									
										2
									
								
								boot.php
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								boot.php
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1497,7 +1497,7 @@ function validate_email($addr) {
 | 
			
		|||
		return false;
 | 
			
		||||
	$h = substr($addr,strpos($addr,'@') + 1);
 | 
			
		||||
 | 
			
		||||
	if(($h) && (dns_get_record($h['host'], DNS_A + DNS_CNAME + DNS_PTR + DNS_MX))) {
 | 
			
		||||
	if(($h) && (dns_get_record($h, DNS_A + DNS_CNAME + DNS_PTR + DNS_MX))) {
 | 
			
		||||
		return true;
 | 
			
		||||
	}
 | 
			
		||||
	return false;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -243,6 +243,7 @@ function display_content(&$a) {
 | 
			
		|||
 | 
			
		||||
			$tmp_item = replace_macros($template,array(
 | 
			
		||||
				'$id' => $item['item_id'],
 | 
			
		||||
				'$title' => t('View $name's profile'),
 | 
			
		||||
				'$profile_url' => $profile_link,
 | 
			
		||||
				'$name' => $profile_name,
 | 
			
		||||
				'$sparkle' => $sparkle,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -286,6 +286,7 @@ function network_content(&$a, $update = 0) {
 | 
			
		|||
 | 
			
		||||
			$tmp_item = replace_macros($template,array(
 | 
			
		||||
				'$id' => $item['item_id'],
 | 
			
		||||
				'$title' => t('View $name's profile'),
 | 
			
		||||
				'$profile_url' => $profile_link,
 | 
			
		||||
				'$name' => $profile_name,
 | 
			
		||||
				'$thumb' => $profile_avatar,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -344,6 +344,7 @@ function profile_content(&$a, $update = 0) {
 | 
			
		|||
 | 
			
		||||
			$tmp_item = replace_macros($template,array(
 | 
			
		||||
				'$id' => $item['item_id'],
 | 
			
		||||
				'$title' => t('View $name's profile'),
 | 
			
		||||
				'$profile_url' => $profile_link,
 | 
			
		||||
				'$name' => $profile_name,
 | 
			
		||||
				'$thumb' => $profile_avatar,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -139,6 +139,7 @@ $a->strings['Global Directory'] = 'Global Directory';
 | 
			
		|||
$a->strings['Item not found.'] = 'Item not found.';
 | 
			
		||||
$a->strings['Private Message'] = 'Private Message';
 | 
			
		||||
$a->strings['This is you'] = 'This is you';
 | 
			
		||||
$a->strings['View $name's profile'] = 'View $name's profile';
 | 
			
		||||
$a->strings['Item has been removed.'] = 'Item has been removed.';
 | 
			
		||||
$a->strings['The profile address specified does not provide adequate information.'] = 'The profile address specified does not provide adequate information.';
 | 
			
		||||
$a->strings['Limited profile. This person will be unable to receive direct/personal notifications from you.'] = 'Limited profile. This person will be unable to receive direct/personal notifications from you.';
 | 
			
		||||
| 
						 | 
				
			
			@ -195,7 +196,6 @@ $a->strings['Unable to locate original post.'] = 'Unable to locate original post
 | 
			
		|||
$a->strings['Empty post discarded.'] = 'Empty post discarded.';
 | 
			
		||||
$a->strings[" commented on your item at "] = " commented on your item at ";
 | 
			
		||||
$a->strings[" posted on your profile wall at "] = " posted on your profile wall at ";
 | 
			
		||||
$a->strings['Facebook status update failed.'] = 'Facebook status update failed.';
 | 
			
		||||
$a->strings['photo'] = 'photo';
 | 
			
		||||
$a->strings['status'] = 'status';
 | 
			
		||||
$a->strings['likes'] = 'likes';
 | 
			
		||||
| 
						 | 
				
			
			@ -341,10 +341,10 @@ $a->strings['Select a tag to remove: '] = 'Select a tag to remove: ';
 | 
			
		|||
$a->strings['Remove'] = 'Remove';
 | 
			
		||||
$a->strings['No contacts.'] = 'No contacts.';
 | 
			
		||||
$a->strings['Wall Photos'] = 'Wall Photos';
 | 
			
		||||
$a->strings['Logged out.'] = 'Logged out.';
 | 
			
		||||
$a->strings['Visible To:'] = 'Visible To:';
 | 
			
		||||
$a->strings['Groups'] = 'Groups';
 | 
			
		||||
$a->strings['Except For:'] = 'Except For:';
 | 
			
		||||
$a->strings['Logged out.'] = 'Logged out.';
 | 
			
		||||
$a->strings['Unknown | Not categorised'] = 'Unknown | Not categorised';
 | 
			
		||||
$a->strings['Block immediately'] = 'Block immediately';
 | 
			
		||||
$a->strings['Shady, spammer, self-marketer'] = 'Shady, spammer, self-marketer';
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,13 +1,13 @@
 | 
			
		|||
<div class="wall-item-outside-wrapper$indent" id="wall-item-outside-wrapper-$id" >
 | 
			
		||||
	<div class="wall-item-content-wrapper$indent" id="wall-item-content-wrapper-$id" >
 | 
			
		||||
		<div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$id" >
 | 
			
		||||
			<a href="$profile_url" title="View $name's profile" class="wall-item-photo-link" id="wall-item-photo-link-$id">
 | 
			
		||||
			<a href="$profile_url" title="$title" class="wall-item-photo-link" id="wall-item-photo-link-$id">
 | 
			
		||||
			<img src="$thumb" class="wall-item-photo$sparkle" id="wall-item-photo-$id" height="80" width="80" alt="$name" /></a>
 | 
			
		||||
		</div>
 | 
			
		||||
 | 
			
		||||
		<div class="wall-item-wrapper" id="wall-item-wrapper-$id" >
 | 
			
		||||
			$lock
 | 
			
		||||
			<a href="$profile_url" title="View $name's profile" class="wall-item-name-link"><span class="wall-item-name$sparkle" id="wall-item-name-$id" >$name</span></a>
 | 
			
		||||
			<a href="$profile_url" title="$title" class="wall-item-name-link"><span class="wall-item-name$sparkle" id="wall-item-name-$id" >$name</span></a>
 | 
			
		||||
			<div class="wall-item-ago"  id="wall-item-ago-$id">$ago</div>
 | 
			
		||||
			<div class="wall-item-location" id="wall-item-location-$id">$location</div>
 | 
			
		||||
			$vote
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue