simplify insecure network warning

This commit is contained in:
Friendika 2011-03-20 19:29:01 -07:00
parent b7292bc673
commit 5f9f03daf7
7 changed files with 16 additions and 37 deletions

View file

@ -244,6 +244,9 @@ function contacts_content(&$a) {
$sparkle = ''; $sparkle = '';
} }
$insecure = '<div id="profile-edit-insecure"><p><img src="images/unlock_icon.gif" alt="' . t('Privacy Unavailable') . '" />&nbsp;'
. t('Private communications are not available for this contact.') . '</p></div>';
$last_update = (($r[0]['last-update'] == '0000-00-00 00:00:00') $last_update = (($r[0]['last-update'] == '0000-00-00 00:00:00')
? t('Never') ? t('Never')
: datetime_convert('UTC',date_default_timezone_get(),$r[0]['last-update'],'D, j M Y, g:i A')); : datetime_convert('UTC',date_default_timezone_get(),$r[0]['last-update'],'D, j M Y, g:i A'));
@ -266,7 +269,7 @@ function contacts_content(&$a) {
'$contact_id' => $r[0]['id'], '$contact_id' => $r[0]['id'],
'$block_text' => (($r[0]['blocked']) ? t('Unblock this contact') : t('Block this contact') ), '$block_text' => (($r[0]['blocked']) ? t('Unblock this contact') : t('Block this contact') ),
'$ignore_text' => (($r[0]['readonly']) ? t('Unignore this contact') : t('Ignore this contact') ), '$ignore_text' => (($r[0]['readonly']) ? t('Unignore this contact') : t('Ignore this contact') ),
'$insecure' => (($r[0]['network'] === 'stat') ? load_view_file('view/insecure_net.tpl') : ''), '$insecure' => (($r[0]['network'] !== 'dfrn') ? $insecure : ''),
'$info' => $r[0]['info'], '$info' => $r[0]['info'],
'$blocked' => (($r[0]['blocked']) ? '<div id="block-message">' . t('Currently blocked') . '</div>' : ''), '$blocked' => (($r[0]['blocked']) ? '<div id="block-message">' . t('Currently blocked') . '</div>' : ''),
'$ignored' => (($r[0]['readonly']) ? '<div id="ignore-message">' . t('Currently ignored') . '</div>' : ''), '$ignored' => (($r[0]['readonly']) ? '<div id="ignore-message">' . t('Currently ignored') . '</div>' : ''),

View file

@ -1,8 +0,0 @@
<div id="profile-edit-insecure">
<p>
Das Soziale Netzwerk dem $name angehört ist ein offenes Netzwerk das nur
eingeschränkte oder nicht existente Privatspäreneinstellungen bietet.
Bitte verhalte dich entsprechend diskret.
</p>
</div>

View file

@ -1,6 +0,0 @@
<div id="profile-edit-insecure">
<p>
The social network that $name belongs to is an open network with limited or non-existent privacy controls.
Please use appropriate discretion.
</p>
</div>

View file

@ -1,6 +0,0 @@
<div id="profile-edit-insecure">
<p>
Le réseau social auquel $name appartient est un réseau ouvert ne disposant que d'un contrôle limité sur les éléments de la vie privée.
Gardez ceci à l'esprit, en fonction de vos besoins de discrétion.
</p>
</div>

View file

@ -1,6 +0,0 @@
<div id="profile-edit-insecure">
<p>
Il social network a cui $name appartiene &egrave; una rete aperta con limitati o non esistenti controlli di privacy.
Usa la necessaria discrezione.
</p>
</div>

View file

@ -1,6 +0,0 @@
<div id="profile-edit-insecure">
<p>
The social network that $name belongs to is an open network with limited or non-existent privacy controls.
Please use appropriate discretion.
</p>
</div>

View file

@ -1434,7 +1434,7 @@ input#dfrn-url {
/*margin-left: 50px;*/ /*margin-left: 50px;*/
} }
#block-message, #ignore-message, #profile-edit-insecure { #block-message, #ignore-message {
margin-top: 20px; margin-top: 20px;
color: #FF0000; color: #FF0000;
font-size: 1.1em; font-size: 1.1em;
@ -1443,13 +1443,21 @@ input#dfrn-url {
padding: 10px; padding: 10px;
} }
#profile-edit-insecure {
margin-top: 20px;
color: #FF0000;
font-size: 1.1em;
border: 1px solid #FF8888;
background-color: #FFEEEE;
padding-left: 5px;
/*: 3px 3px 3px 5px; */
width: 587px;
}
#block-message, #ignore-message { #block-message, #ignore-message {
width: 180px; width: 180px;
} }
#profile-edit-insecure {
width: 600px;
}
/* /*
.profile-tabs { .profile-tabs {