name change stragglers, fix newmember links, liveupdate glitch
This commit is contained in:
		
							
								
								
									
										2
									
								
								boot.php
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								boot.php
									
									
									
									
									
								
							| @@ -9,7 +9,7 @@ require_once('include/nav.php'); | |||||||
| require_once('include/cache.php'); | require_once('include/cache.php'); | ||||||
|  |  | ||||||
| define ( 'FRIENDICA_PLATFORM',     'Friendica'); | define ( 'FRIENDICA_PLATFORM',     'Friendica'); | ||||||
| define ( 'FRIENDICA_VERSION',      '2.3.1194' ); | define ( 'FRIENDICA_VERSION',      '2.3.1195' ); | ||||||
| define ( 'DFRN_PROTOCOL_VERSION',  '2.22'    ); | define ( 'DFRN_PROTOCOL_VERSION',  '2.22'    ); | ||||||
| define ( 'DB_UPDATE_VERSION',      1111      ); | define ( 'DB_UPDATE_VERSION',      1111      ); | ||||||
|  |  | ||||||
|   | |||||||
| @@ -257,12 +257,14 @@ | |||||||
| 			$('.wall-item-outside-wrapper',data).each(function() { | 			$('.wall-item-outside-wrapper',data).each(function() { | ||||||
| 				var ident = $(this).attr('id'); | 				var ident = $(this).attr('id'); | ||||||
| 				// If not on page 1, only add new conversation items to existing conversations on this page | 				// If not on page 1, only add new conversation items to existing conversations on this page | ||||||
| 				if($('#' + ident).length == 0 && (profile_page == 1 || prev != 'live-' + src)) { | 				if($('#' + ident).length == 0) { | ||||||
|  | 					if(profile_page == 1 || prev != 'live-' + src) { | ||||||
| 						$('img',this).each(function() { | 						$('img',this).each(function() { | ||||||
| 							$(this).attr('src',$(this).attr('dst')); | 							$(this).attr('src',$(this).attr('dst')); | ||||||
| 						}); | 						}); | ||||||
| 						$('#' + prev).after($(this)); | 						$('#' + prev).after($(this)); | ||||||
| 					} | 					} | ||||||
|  | 				} | ||||||
| 				else {  | 				else {  | ||||||
| 					$('#' + ident + ' ' + '.wall-item-ago').replaceWith($(this).find('.wall-item-ago'));  | 					$('#' + ident + ' ' + '.wall-item-ago').replaceWith($(this).find('.wall-item-ago'));  | ||||||
| 					if($('#' + ident + ' ' + '.comment-edit-text-empty').length) | 					if($('#' + ident + ' ' + '.comment-edit-text-empty').length) | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| <?php | <?php | ||||||
|  |  | ||||||
|  /** |  /** | ||||||
|   * Friendika admin |   * Friendica admin | ||||||
|   */ |   */ | ||||||
| require_once("include/remoteupdate.php"); | require_once("include/remoteupdate.php"); | ||||||
|   |   | ||||||
| @@ -277,7 +277,7 @@ function admin_page_site(&$a) { | |||||||
| 	/* Banner */ | 	/* Banner */ | ||||||
| 	$banner = get_config('system','banner'); | 	$banner = get_config('system','banner'); | ||||||
| 	if($banner == false)  | 	if($banner == false)  | ||||||
| 		$banner = '<a href="http://project.friendika.com"><img id="logo-img" src="images/friendika-32.png" alt="logo" /></a><span id="logo-text"><a href="http://project.friendika.com">Friendika</a></span>'; | 		$banner = '<a href="http://friendica.com"><img id="logo-img" src="images/friendica-32.png" alt="logo" /></a><span id="logo-text"><a href="http://friendica.com">Friendica</a></span>'; | ||||||
| 	$banner = htmlspecialchars($banner); | 	$banner = htmlspecialchars($banner); | ||||||
| 	 | 	 | ||||||
| 	//echo "<pre>"; var_dump($lang_choices); die("</pre>"); | 	//echo "<pre>"; var_dump($lang_choices); die("</pre>"); | ||||||
| @@ -325,7 +325,7 @@ function admin_page_site(&$a) { | |||||||
| 		'$no_community_page' => array('no_community_page', t("Show Community Page"), !get_config('system','no_community_page'), "Display a Community page showing all recent public postings on this site."), | 		'$no_community_page' => array('no_community_page', t("Show Community Page"), !get_config('system','no_community_page'), "Display a Community page showing all recent public postings on this site."), | ||||||
| 		'$ostatus_disabled' => array('ostatus_disabled', t("Enable OStatus support"), !get_config('system','ostatus_disable'), "Provide built-in OStatus \x28identi.ca, status.net, etc.\x29 compatibility. All communications in OStatus are public, so privacy warnings will be occasionally displayed."),	 | 		'$ostatus_disabled' => array('ostatus_disabled', t("Enable OStatus support"), !get_config('system','ostatus_disable'), "Provide built-in OStatus \x28identi.ca, status.net, etc.\x29 compatibility. All communications in OStatus are public, so privacy warnings will be occasionally displayed."),	 | ||||||
| 		'$diaspora_enabled' => array('diaspora_enabled', t("Enable Diaspora support"), get_config('system','diaspora_enabled'), "Provide built-in Diaspora network compatibility."),	 | 		'$diaspora_enabled' => array('diaspora_enabled', t("Enable Diaspora support"), get_config('system','diaspora_enabled'), "Provide built-in Diaspora network compatibility."),	 | ||||||
| 		'$dfrn_only'        => array('dfrn_only', t('Only allow Friendika contacts'), get_config('system','dfrn_only'), "All contacts must use Friendika protocols. All other built-in communication protocols disabled."), | 		'$dfrn_only'        => array('dfrn_only', t('Only allow Friendica contacts'), get_config('system','dfrn_only'), "All contacts must use Friendica protocols. All other built-in communication protocols disabled."), | ||||||
| 		'$verifyssl' 		=> array('verifyssl', t("Verify SSL"), get_config('system','verifyssl'), "If you wish, you can turn on strict certificate checking. This will mean you cannot connect (at all) to self-signed SSL sites."), | 		'$verifyssl' 		=> array('verifyssl', t("Verify SSL"), get_config('system','verifyssl'), "If you wish, you can turn on strict certificate checking. This will mean you cannot connect (at all) to self-signed SSL sites."), | ||||||
| 		'$proxyuser'		=> array('proxyuser', t("Proxy user"), get_config('system','proxyuser'), ""), | 		'$proxyuser'		=> array('proxyuser', t("Proxy user"), get_config('system','proxyuser'), ""), | ||||||
| 		'$proxy'			=> array('proxy', t("Proxy URL"), get_config('system','proxy'), ""), | 		'$proxy'			=> array('proxy', t("Proxy URL"), get_config('system','proxy'), ""), | ||||||
| @@ -657,7 +657,7 @@ function admin_page_logs(&$a){ | |||||||
| 		 | 		 | ||||||
| 									// name, label, value, help string, extra data... | 									// name, label, value, help string, extra data... | ||||||
| 		'$debugging' 		=> array('debugging', t("Debugging"),get_config('system','debugging'), ""), | 		'$debugging' 		=> array('debugging', t("Debugging"),get_config('system','debugging'), ""), | ||||||
| 		'$logfile'			=> array('logfile', t("Log file"), get_config('system','logfile'), t("Must be writable by web server. Relative to your Friendika index.php.")), | 		'$logfile'			=> array('logfile', t("Log file"), get_config('system','logfile'), t("Must be writable by web server. Relative to your Friendica top-level directory.")), | ||||||
| 		'$loglevel' 		=> array('loglevel', t("Log level"), get_config('system','loglevel'), "", $log_choices), | 		'$loglevel' 		=> array('loglevel', t("Log level"), get_config('system','loglevel'), "", $log_choices), | ||||||
| 	)); | 	)); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -3,7 +3,7 @@ | |||||||
| function newmember_content(&$a) { | function newmember_content(&$a) { | ||||||
|  |  | ||||||
|  |  | ||||||
| 	$o = '<h3>' . t('Welcome to Friendika') . '</h3>'; | 	$o = '<h3>' . t('Welcome to Friendica') . '</h3>'; | ||||||
|  |  | ||||||
| 	$o .= '<h3>' . t('New Member Checklist') . '</h3>'; | 	$o .= '<h3>' . t('New Member Checklist') . '</h3>'; | ||||||
|  |  | ||||||
| @@ -25,13 +25,13 @@ function newmember_content(&$a) { | |||||||
|     $mail_disabled = ((function_exists('imap_open') && (! get_config('system','imap_disabled'))) ? 0 : 1); |     $mail_disabled = ((function_exists('imap_open') && (! get_config('system','imap_disabled'))) ? 0 : 1); | ||||||
| 	 | 	 | ||||||
| 	if(! $mail_disabled) | 	if(! $mail_disabled) | ||||||
| 		$o .= '<li>' . '<a href="settings">' .  t('Enter your email access information on your Settings page if you wish to import and interact with friends or mailing lists from your email INBOX') . '</a></li>' . EOL; | 		$o .= '<li>' . '<a href="settings/connectors">' .  t('Enter your email access information on your Connector Settings page if you wish to import and interact with friends or mailing lists from your email INBOX') . '</a></li>' . EOL; | ||||||
|  |  | ||||||
| 	$o .= '<li>' . '<a href="profiles">' . t('Edit your <strong>default</strong> profile to your liking. Review the settings for hiding your list of friends and hiding the profile from unknown visitors.') . '</a></li>' . EOL; | 	$o .= '<li>' . '<a href="profiles">' . t('Edit your <strong>default</strong> profile to your liking. Review the settings for hiding your list of friends and hiding the profile from unknown visitors.') . '</a></li>' . EOL; | ||||||
|  |  | ||||||
| 	$o .= '<li>' . '<a href="profiles">' . t('Set some public keywords for your default profile which describe your interests. We may be able to find other people with similar interests and suggest friendships.') . '</a></li>' . EOL; | 	$o .= '<li>' . '<a href="profiles">' . t('Set some public keywords for your default profile which describe your interests. We may be able to find other people with similar interests and suggest friendships.') . '</a></li>' . EOL; | ||||||
|  |  | ||||||
| 	$o .= '<li>' . '<a href="contacts">' . t('Your Contacts page is your gateway to managing friendships and connecting with friends on other networks. Typically you enter their address or site URL in the <em>Connect</em> dialog.') . '</a></li>' . EOL; | 	$o .= '<li>' . '<a href="contacts">' . t('Your Contacts page is your gateway to managing friendships and connecting with friends on other networks. Typically you enter their address or site URL in the <em>Add New Contact</em> dialog.') . '</a></li>' . EOL; | ||||||
|  |  | ||||||
| 	$o .= '<li>' . '<a href="directory">' . t('The Directory page lets you find other people in this network or other federated sites. Look for a <em>Connect</em> or <em>Follow</em> link on their profile page. Provide your own Identity Address if requested.') . '</a></li>' . EOL; | 	$o .= '<li>' . '<a href="directory">' . t('The Directory page lets you find other people in this network or other federated sites. Look for a <em>Connect</em> or <em>Follow</em> link on their profile page. Provide your own Identity Address if requested.') . '</a></li>' . EOL; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user