Browse Source

simplify insecure network warning

pull/1/head
Friendika 12 years ago
parent
commit
5f9f03daf7
  1. 5
      mod/contacts.php
  2. 8
      view/de/insecure_net.tpl
  3. 6
      view/en/insecure_net.tpl
  4. 6
      view/fr/insecure_net.tpl
  5. 6
      view/it/insecure_net.tpl
  6. 6
      view/sv/insecure_net.tpl
  7. 16
      view/theme/duepuntozero/style.css

5
mod/contacts.php

@ -244,6 +244,9 @@ function contacts_content(&$a) {
$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')
? t('Never')
: 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'],
'$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') ),
'$insecure' => (($r[0]['network'] === 'stat') ? load_view_file('view/insecure_net.tpl') : ''),
'$insecure' => (($r[0]['network'] !== 'dfrn') ? $insecure : ''),
'$info' => $r[0]['info'],
'$blocked' => (($r[0]['blocked']) ? '<div id="block-message">' . t('Currently blocked') . '</div>' : ''),
'$ignored' => (($r[0]['readonly']) ? '<div id="ignore-message">' . t('Currently ignored') . '</div>' : ''),

8
view/de/insecure_net.tpl

@ -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>

6
view/en/insecure_net.tpl

@ -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>

6
view/fr/insecure_net.tpl

@ -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>

6
view/it/insecure_net.tpl

@ -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>

6
view/sv/insecure_net.tpl

@ -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>

16
view/theme/duepuntozero/style.css

@ -1434,7 +1434,7 @@ input#dfrn-url {
/*margin-left: 50px;*/
}
#block-message, #ignore-message, #profile-edit-insecure {
#block-message, #ignore-message {
margin-top: 20px;
color: #FF0000;
font-size: 1.1em;
@ -1443,13 +1443,21 @@ input#dfrn-url {
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 {
width: 180px;
}
#profile-edit-insecure {
width: 600px;
}
/*
.profile-tabs {

Loading…
Cancel
Save