Merge branch 'master' of https://github.com/friendica/red
to be in sync with master repro
This commit is contained in:
commit
e5d1e20ff5
19
doc/Cloud.md
19
doc/Cloud.md
@ -22,10 +22,27 @@ Your files are visible on the web at the location "cloud/$channel_nickname" to a
|
||||
|
||||
**WebDAV access**
|
||||
|
||||
This varies by operating system. In Windows, open the Windows Explorer (file manager) and type "$yoursite\cloud\$channel_nickname" into the address bar. Replace $yoursite with the URL to your Red Matrix hub and $channel_nickname with the nickname for your channel.
|
||||
This varies by operating system.
|
||||
|
||||
|
||||
*Windows*
|
||||
|
||||
In Windows, open the Windows Explorer (file manager) and type "$yoursite\cloud\$channel_nickname" into the address bar. Replace $yoursite with the URL to your Red Matrix hub and $channel_nickname with the nickname for your channel.
|
||||
|
||||
You will be prompted for a username and password. For the username, you may supply either your account email address (which will select the default channel), or a channel nickname for the channel you wish to authenticate as. In either case use your account password for the password field. You will then be able to copy, drag/drop, edit, delete and otherwise work with files as if they were an attached disk drive.
|
||||
|
||||
*Linux KDE*
|
||||
|
||||
Simply log in to your hub as normal using Konqueror. Once logged in, visit webdavs://$yoursite/cloud. No further authentication is required.
|
||||
|
||||
*Linux GNOME*
|
||||
|
||||
Open a File browsing window (that's Nautilus), Select File > Connect to server from the menu. Type davs://$yoursite/cloud/$channel_nickname and click Connect. You will be prompted for your username and password. For the username, you may supply either your account email address (which will select the default channel) or a channel nickname.
|
||||
|
||||
|
||||
*See Also*
|
||||
|
||||
- [Linux - Mounting the cloud as a file system](help/dav_davfs2)
|
||||
|
||||
**Permissions**
|
||||
|
||||
|
@ -9,6 +9,10 @@
|
||||
<li>[color=red]red[/color] - <span style="color: red;">red</span><br />
|
||||
<li>[url=https://redmatrix.me]Red Matrix[/url] <a href="https://redmatrix.me">Red Matrix</a><br />
|
||||
<li>[img]https://redmatrix.me/images/default_profile_photos/rainbow_man/48.jpg[/img] <img src="https://redmatrix.me/images/default_profile_photos/rainbow_man/48.jpg" alt="Image/photo" /><br />
|
||||
<li>[img float=left]https://redmatrix.me/images/default_profile_photos/rainbow_man/48.jpg[/img] <img src="https://redmatrix.me/images/default_profile_photos/rainbow_man/48.jpg" style="float:left;" alt="Image/photo" /><br />
|
||||
<div style="clear:both;"></div>
|
||||
<li>[img float=right]https://redmatrix.me/images/default_profile_photos/rainbow_man/48.jpg[/img] <img src="https://redmatrix.me/images/default_profile_photos/rainbow_man/48.jpg" style="float:right;" alt="Image/photo" /><br />
|
||||
<div style="clear:both;"></div>
|
||||
<li>[code]code[/code] <code>code</code><br />
|
||||
<li>[quote]quote[/quote] <blockquote>quote</blockquote><br />
|
||||
<li>[quote=Author]Author? Me? No, no, no...[/quote] <br /><strong class="author">Author wrote:</strong><blockquote>Author? Me? No, no, no...</blockquote><br />
|
||||
|
58
doc/dav_davfs2.md
Normal file
58
doc/dav_davfs2.md
Normal file
@ -0,0 +1,58 @@
|
||||
**Installing The Cloud as a Filesystem on Linux**
|
||||
|
||||
To install your cloud directory as a filesystem, you first need davfs2 installed. 99% of the time, this will be included in your distributions repositories. In Debian
|
||||
|
||||
`apt-get install davfs2`
|
||||
|
||||
If you want to let normal users mount the filesystem
|
||||
|
||||
`dpkg-reconfigure davfs2`
|
||||
|
||||
and select "yes" at the prompt.
|
||||
|
||||
Now you need to add any user you want to be able to mount dav to the davfs2 group
|
||||
|
||||
`usermod -aG davfs2 <DesktopUser>`
|
||||
|
||||
Edit /etc/fstab
|
||||
|
||||
`nano /etc/fstab`
|
||||
|
||||
to include your cloud directory by adding
|
||||
|
||||
`example.com/cloud/ /mount/point davfs user,noauto,uid=<DesktopUser>,file_mode=600,dir_mode=700 0 1`
|
||||
|
||||
Where example.com is the URL of your hub, /mount/point is the location you want to mount the cloud, and <DesktopUser> is the user you log in to one your computer. Note that if you are mounting as a normal user (not root) the mount point must be in your home directory.
|
||||
|
||||
For example, if I wanted to mount my cloud to a directory called 'cloud' in my home directory, and my username was bob, my fstab would be
|
||||
|
||||
`example.com/cloud/ /home/bob/cloud davfs user,noauto,uid=bob,file_mode=600,dir_mode=700 0 1`
|
||||
|
||||
Now, create the mount point.
|
||||
|
||||
`mkdir /home/bob/cloud`
|
||||
|
||||
and also create a directory file to store your credentials
|
||||
|
||||
`mkdir /home/bob/.davfs2`
|
||||
|
||||
Create a file called 'secrets'
|
||||
|
||||
`nano /home/bob/.davfs2/secrets`
|
||||
|
||||
and add your cloud login credentials
|
||||
|
||||
`example.com/cloud <username> <password>`
|
||||
|
||||
|
||||
Where <username> and <password> are the username and password for your hub.
|
||||
|
||||
Don't let this file be writeable by anyone who doesn't need it with
|
||||
|
||||
`chmod 600 /home/bob/.davfs2/secrets`
|
||||
|
||||
Finally, mount the drive.
|
||||
|
||||
`mount example.com/cloud`
|
||||
|
||||
You can now find your cloud at /home/bob/cloud and use it as though it were part of your local filesystem - even if the applications you are using have no dav support themselves.
|
@ -531,14 +531,6 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
|
||||
"<br /><strong class=".'"author"'.">" . $t_wrote . "</strong><blockquote>$2</blockquote>",
|
||||
$Text);
|
||||
|
||||
// [img=widthxheight]image source[/img]
|
||||
//$Text = preg_replace("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/ism", '<img src="$3" style="height: $2px; width: $1px;" >', $Text);
|
||||
if (strpos($Text,'[/img]') !== false) {
|
||||
$Text = preg_replace("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/ism", '<img src="$3" style="width: $1px;" >', $Text);
|
||||
}
|
||||
if (strpos($Text,'[/zmg]') !== false) {
|
||||
$Text = preg_replace("/\[zmg\=([0-9]*)x([0-9]*)\](.*?)\[\/zmg\]/ism", '<img class="zrl" src="$3" style="width: $1px;" >', $Text);
|
||||
}
|
||||
// Images
|
||||
// [img]pathtoimage[/img]
|
||||
if (strpos($Text,'[/img]') !== false) {
|
||||
@ -548,6 +540,43 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
|
||||
$Text = preg_replace("/\[zmg\](.*?)\[\/zmg\]/ism", '<img class="zrl" src="$1" alt="' . t('Image/photo') . '" />', $Text);
|
||||
}
|
||||
|
||||
// [img float={left, right}]pathtoimage[/img]
|
||||
if (strpos($Text,'[/img]') !== false) {
|
||||
$Text = preg_replace("/\[img float=left\](.*?)\[\/img\]/ism", '<img src="$1" style="float: left;" alt="' . t('Image/photo') . '" />', $Text);
|
||||
}
|
||||
if (strpos($Text,'[/img]') !== false) {
|
||||
$Text = preg_replace("/\[img float=right\](.*?)\[\/img\]/ism", '<img src="$1" style="float: right;" alt="' . t('Image/photo') . '" />', $Text);
|
||||
}
|
||||
if (strpos($Text,'[/zmg]') !== false) {
|
||||
$Text = preg_replace("/\[zmg float=left\](.*?)\[\/zmg\]/ism", '<img class="zrl" src="$1" style="float: left;" alt="' . t('Image/photo') . '" />', $Text);
|
||||
}
|
||||
if (strpos($Text,'[/zmg]') !== false) {
|
||||
$Text = preg_replace("/\[zmg float=right\](.*?)\[\/zmg\]/ism", '<img class="zrl" src="$1" style="float: right;" alt="' . t('Image/photo') . '" />', $Text);
|
||||
}
|
||||
|
||||
// [img=widthxheight]pathtoimage[/img]
|
||||
if (strpos($Text,'[/img]') !== false) {
|
||||
$Text = preg_replace("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/ism", '<img src="$3" style="width: $1px;" alt="' . t('Image/photo') . '" >', $Text);
|
||||
}
|
||||
if (strpos($Text,'[/zmg]') !== false) {
|
||||
$Text = preg_replace("/\[zmg\=([0-9]*)x([0-9]*)\](.*?)\[\/zmg\]/ism", '<img class="zrl" src="$3" style="width: $1px;" alt="' . t('Image/photo') . '" >', $Text);
|
||||
}
|
||||
|
||||
// [img=widthxheight float={left, right}]pathtoimage[/img]
|
||||
if (strpos($Text,'[/img]') !== false) {
|
||||
$Text = preg_replace("/\[img\=([0-9]*)x([0-9]*) float=left\](.*?)\[\/img\]/ism", '<img src="$3" style="width: $1px; float: left;" alt="' . t('Image/photo') . '" >', $Text);
|
||||
}
|
||||
if (strpos($Text,'[/img]') !== false) {
|
||||
$Text = preg_replace("/\[img\=([0-9]*)x([0-9]*) float=right\](.*?)\[\/img\]/ism", '<img src="$3" style="width: $1px; float: right;" alt="' . t('Image/photo') . '" >', $Text);
|
||||
}
|
||||
if (strpos($Text,'[/zmg]') !== false) {
|
||||
$Text = preg_replace("/\[zmg\=([0-9]*)x([0-9]*) float=left\](.*?)\[\/zmg\]/ism", '<img class="zrl" src="$3" style="width: $1px; float: left;" alt="' . t('Image/photo') . '" >', $Text);
|
||||
}
|
||||
if (strpos($Text,'[/zmg]') !== false) {
|
||||
$Text = preg_replace("/\[zmg\=([0-9]*)x([0-9]*) float=right\](.*?)\[\/zmg\]/ism", '<img class="zrl" src="$3" style="width: $1px; float: right;" alt="' . t('Image/photo') . '" >', $Text);
|
||||
}
|
||||
|
||||
// crypt
|
||||
if (strpos($Text,'[/crypt]') !== false) {
|
||||
$x = random_string();
|
||||
$Text = preg_replace("/\[crypt\](.*?)\[\/crypt\]/ism",'<br/><div id="' . $x . '"><img src="' .$a->get_baseurl() . '/images/lock_icon.gif" onclick="red_decrypt(\'rot13\',\'\',\'$1\',\'#' . $x . '\');" alt="' . t('Encrypted content') . '" title="' . t('Encrypted content') . '" /><br /></div>', $Text);
|
||||
|
@ -20,6 +20,18 @@ function chatroom_create($channel,$arr) {
|
||||
return $ret;
|
||||
}
|
||||
|
||||
$r = q("select count(cr_id) as total from chatroom where cr_aid = %d",
|
||||
intval($channel['channel_account_id'])
|
||||
);
|
||||
if($r)
|
||||
$limit = service_class_fetch($channel_id,'chatrooms');
|
||||
|
||||
if(($r) && ($limit !== false) && ($r[0]['total'] >= $limit)) {
|
||||
$ret['message'] = upgrade_message();
|
||||
return $ret;
|
||||
}
|
||||
|
||||
|
||||
$created = datetime_convert();
|
||||
|
||||
$x = q("insert into chatroom ( cr_aid, cr_uid, cr_name, cr_created, cr_edited, allow_cid, allow_gid, deny_cid, deny_gid )
|
||||
@ -83,18 +95,20 @@ function chatroom_enter($observer_xchan,$room_id,$status,$client) {
|
||||
$r = q("select * from chatroom where cr_id = %d limit 1",
|
||||
intval($room_id)
|
||||
);
|
||||
if(! $r)
|
||||
return;
|
||||
if(! $r) {
|
||||
notice( t('Room not found.') . EOL);
|
||||
return false;
|
||||
}
|
||||
require_once('include/security.php');
|
||||
$sql_extra = permissions_sql($r[0]['cr_uid']);
|
||||
|
||||
$x = q("select * from chatroom where cr_id = %d and uid = %d $sql_extra limit 1",
|
||||
intval($room_id)
|
||||
$x = q("select * from chatroom where cr_id = %d and cr_uid = %d $sql_extra limit 1",
|
||||
intval($room_id),
|
||||
intval($r[0]['cr_uid'])
|
||||
);
|
||||
if(! $x) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
$r = q("select * from chatpresence where cp_xchan = '%s' and cp_room = %d limit 1",
|
||||
@ -122,12 +136,13 @@ function chatroom_enter($observer_xchan,$room_id,$status,$client) {
|
||||
}
|
||||
|
||||
|
||||
function chatroom_leave($observer_xchan,$room_id,$status) {
|
||||
function chatroom_leave($observer_xchan,$room_id,$client) {
|
||||
if(! $room_id || ! $observer_xchan)
|
||||
return;
|
||||
$r = q("select * from chatpresence where cp_xchan = '%s' and cp_room = %d limit 1",
|
||||
$r = q("select * from chatpresence where cp_xchan = '%s' and cp_room = %d and cp_client = '%s' limit 1",
|
||||
dbesc($observer_xchan),
|
||||
intval($room_id)
|
||||
intval($room_id),
|
||||
dbesc($client)
|
||||
);
|
||||
if($r) {
|
||||
q("delete from chatpresence where cp_id = %d limit 1",
|
||||
@ -140,7 +155,7 @@ function chatroom_leave($observer_xchan,$room_id,$status) {
|
||||
|
||||
function chatroom_list($uid) {
|
||||
|
||||
$r = q("select cr_name, cr_id, count(cp_id) as cr_inroom from chatroom left join chatpresence on cr_id = cp_room where cr_uid = %d group by cp_id order by cr_name",
|
||||
$r = q("select cr_name, cr_id, count(cp_id) as cr_inroom from chatroom left join chatpresence on cr_id = cp_room where cr_uid = %d group by cr_name order by cr_name",
|
||||
intval($uid)
|
||||
);
|
||||
|
||||
|
@ -628,7 +628,7 @@ function RedFileData($file, &$auth,$test = false) {
|
||||
}
|
||||
|
||||
if((! $file) || ($file === '/')) {
|
||||
return RedDirectory('/',$auth);
|
||||
return new RedDirectory('/',$auth);
|
||||
|
||||
}
|
||||
|
||||
|
@ -871,8 +871,8 @@ function get_mood_verbs() {
|
||||
* Returns string
|
||||
*
|
||||
* It is expected that this function will be called using HTML text.
|
||||
* We will escape text between HTML pre and code blocks from being
|
||||
* processed.
|
||||
* We will escape text between HTML pre and code blocks, and HTML attributes
|
||||
* (such as urls) from being processed.
|
||||
*
|
||||
* At a higher level, the bbcode [nosmile] tag can be used to prevent this
|
||||
* function from being executed by the prepare_text() routine when preparing
|
||||
@ -889,9 +889,8 @@ function smilies($s, $sample = false) {
|
||||
|| (local_user() && intval(get_pconfig(local_user(),'system','no_smilies'))))
|
||||
return $s;
|
||||
|
||||
$s = preg_replace_callback('/<pre>(.*?)<\/pre>/ism','smile_encode',$s);
|
||||
$s = preg_replace_callback('/<code>(.*?)<\/code>/ism','smile_encode',$s);
|
||||
// $s = preg_replace_callback('/<(.*?)>/ism','smile_encode',$s);
|
||||
$s = preg_replace_callback('{<(pre|code)>(?<target>.*?)</\1>}ism','smile_encode',$s);
|
||||
$s = preg_replace_callback('/<[a-z]+ (?<target>.*?)>/ism','smile_encode',$s);
|
||||
|
||||
$texts = array(
|
||||
'<3',
|
||||
@ -982,20 +981,20 @@ function smilies($s, $sample = false) {
|
||||
$s = str_replace($params['texts'],$params['icons'],$params['string']);
|
||||
}
|
||||
|
||||
$s = preg_replace_callback('/<pre>(.*?)<\/pre>/ism','smile_decode',$s);
|
||||
$s = preg_replace_callback('/<code>(.*?)<\/code>/ism','smile_decode',$s);
|
||||
// $s = preg_replace_callback('/<(.*?)>/s','smile_decode',$s);
|
||||
$s = preg_replace_callback(
|
||||
'/<!--base64:(.*?)-->/ism',
|
||||
function ($m) { return base64url_decode($m[1]); },
|
||||
$s
|
||||
);
|
||||
|
||||
return $s;
|
||||
|
||||
}
|
||||
|
||||
function smile_encode($m) {
|
||||
return(str_replace($m[1],base64url_encode($m[1]),$m[0]));
|
||||
}
|
||||
|
||||
function smile_decode($m) {
|
||||
return(str_replace($m[1],base64url_decode($m[1]),$m[0]));
|
||||
function smile_encode($m) {
|
||||
$cleartext = $m['target'];
|
||||
return str_replace($cleartext,'<!--base64:' . base64url_encode($cleartext) . '-->',$m[0]);
|
||||
}
|
||||
|
||||
// expand <3333 to the correct number of hearts
|
||||
|
@ -580,8 +580,12 @@ function widget_menu_preview($arr) {
|
||||
function widget_chatroom_list($arr) {
|
||||
require_once("include/chat.php");
|
||||
$r = chatroom_list(local_user());
|
||||
$channel = get_app()->get_channel();
|
||||
return replace_macros(get_markup_template('chatroomlist.tpl'),array(
|
||||
'$header' => t('Chat Rooms'),
|
||||
'$baseurl' => z_root(),
|
||||
'$nickname' => $channel['channel_address'],
|
||||
'$items' => $r,
|
||||
));
|
||||
}
|
||||
|
||||
|
@ -25,7 +25,7 @@ function attach_init(&$a) {
|
||||
return;
|
||||
|
||||
header('Content-type: ' . $r['data']['filetype']);
|
||||
header('Content-disposition: attachment; filename=' . $r['data']['filename']);
|
||||
header('Content-disposition: attachment; filename="' . $r['data']['filename'] . '"');
|
||||
if($r['data']['flags'] & ATTACH_FLAG_OS ) {
|
||||
$istream = fopen('store/' . $c[0]['channel_address'] . '/' . $r['data']['data'],'rb');
|
||||
$ostream = fopen('php://output','wb');
|
||||
|
147
mod/chat.php
Normal file
147
mod/chat.php
Normal file
@ -0,0 +1,147 @@
|
||||
<?php /** @file */
|
||||
|
||||
require_once('include/chat.php');
|
||||
|
||||
function chat_init(&$a) {
|
||||
|
||||
$which = null;
|
||||
if(argc() > 1)
|
||||
$which = argv(1);
|
||||
if(! $which) {
|
||||
if(local_user()) {
|
||||
$channel = $a->get_channel();
|
||||
if($channel && $channel['channel_address'])
|
||||
$which = $channel['channel_address'];
|
||||
}
|
||||
}
|
||||
if(! $which) {
|
||||
notice( t('You must be logged in to see this page.') . EOL );
|
||||
return;
|
||||
}
|
||||
|
||||
$profile = 0;
|
||||
$channel = $a->get_channel();
|
||||
|
||||
if((local_user()) && (argc() > 2) && (argv(2) === 'view')) {
|
||||
$which = $channel['channel_address'];
|
||||
$profile = argv(1);
|
||||
}
|
||||
|
||||
$a->page['htmlhead'] .= '<link rel="alternate" type="application/atom+xml" href="' . $a->get_baseurl() . '/feed/' . $which .'" />' . "\r\n" ;
|
||||
|
||||
// Run profile_load() here to make sure the theme is set before
|
||||
// we start loading content
|
||||
|
||||
profile_load($a,$which,$profile);
|
||||
|
||||
}
|
||||
|
||||
function chat_post(&$a) {
|
||||
|
||||
if($_POST['room_name'])
|
||||
$room = strip_tags(trim($_POST['room_name']));
|
||||
|
||||
if((! $room) || (! local_user()))
|
||||
return;
|
||||
|
||||
$channel = $a->get_channel();
|
||||
|
||||
|
||||
if($_POST['action'] === 'drop') {
|
||||
chatroom_destroy($channel,array('cr_name' => $room));
|
||||
goaway(z_root() . '/chat/' . $channel['channel_address']);
|
||||
}
|
||||
|
||||
|
||||
$arr = array('name' => $room);
|
||||
$arr['allow_gid'] = perms2str($_REQUEST['group_allow']);
|
||||
$arr['allow_cid'] = perms2str($_REQUEST['contact_allow']);
|
||||
$arr['deny_gid'] = perms2str($_REQUEST['group_deny']);
|
||||
$arr['deny_cid'] = perms2str($_REQUEST['contact_deny']);
|
||||
|
||||
chatroom_create($channel,$arr);
|
||||
|
||||
$x = q("select cr_id from chatroom where cr_name = '%s' and cr_uid = %d limit 1",
|
||||
dbesc($room),
|
||||
intval(local_user())
|
||||
);
|
||||
|
||||
if($x)
|
||||
goaway(z_root() . '/chat/' . $channel['channel_address'] . '/' . $x[0]['cr_id']);
|
||||
|
||||
// that failed. Try again perhaps?
|
||||
|
||||
goaway(z_root() . '/chat/' . $channel['channel_address'] . '/new');
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
function chat_content(&$a) {
|
||||
|
||||
$observer = get_observer_hash();
|
||||
if(! $observer) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
return;
|
||||
}
|
||||
|
||||
if(! perm_is_allowed($a->profile['profile_uid'],$observer,'chat')) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
return;
|
||||
}
|
||||
|
||||
if((argc() > 3) && intval(argv(2)) && (argv(3) === 'leave')) {
|
||||
chatroom_leave($observer,$room_id,$_SERVER['REMOTE_ADDR']);
|
||||
goaway(z_root() . '/channel/' . argv(1));
|
||||
}
|
||||
|
||||
|
||||
if(argc() > 2 && intval(argv(2))) {
|
||||
$room_id = intval(argv(2));
|
||||
$x = chatroom_enter($observer,$room_id,'online',$_SERVER['REMOTE_ADDR']);
|
||||
if(! $x)
|
||||
return;
|
||||
$o = replace_macros(get_markup_template('chat.tpl'),array(
|
||||
'$room_name' => '', // should we get this from the API?
|
||||
'$room_id' => $room_id,
|
||||
'$submit' => t('Submit')
|
||||
));
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if(local_user() && argc() > 2 && argv(2) === 'new') {
|
||||
|
||||
|
||||
$channel = $a->get_channel();
|
||||
$channel_acl = array(
|
||||
'allow_cid' => $channel['channel_allow_cid'],
|
||||
'allow_gid' => $channel['channel_allow_gid'],
|
||||
'deny_cid' => $channel['channel_deny_cid'],
|
||||
'deny_gid' => $channel['channel_deny_gid']
|
||||
);
|
||||
|
||||
require_once('include/acl_selectors.php');
|
||||
|
||||
$o = replace_macros(get_markup_template('chatroom_new.tpl'),array(
|
||||
'$header' => t('New Chatroom'),
|
||||
'$name' => array('room_name',t('Chatroom Name'),'', ''),
|
||||
'$acl' => populate_acl($channel_acl),
|
||||
'$submit' => t('Submit')
|
||||
));
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
require_once('include/widgets.php');
|
||||
|
||||
return widget_chatroom_list(array());
|
||||
|
||||
}
|
126
mod/chatsvc.php
Normal file
126
mod/chatsvc.php
Normal file
@ -0,0 +1,126 @@
|
||||
<?php /** @file */
|
||||
|
||||
require_once('include/security.php');
|
||||
|
||||
function chatsvc_init(&$a) {
|
||||
|
||||
//logger('chatsvc');
|
||||
|
||||
$ret = array('success' => false);
|
||||
|
||||
$a->data['chat']['room_id'] = intval($_REQUEST['room_id']);
|
||||
$x = q("select cr_uid from chatroom where cr_id = %d and cr_id != 0 limit 1",
|
||||
intval($a->data['chat']['room_id'])
|
||||
);
|
||||
if(! $x)
|
||||
json_return_and_die($ret);
|
||||
|
||||
$a->data['chat']['uid'] = $x[0]['cr_uid'];
|
||||
|
||||
if(! perm_is_allowed($a->data['chat']['uid'],get_observer_hash(),'chat')) {
|
||||
json_return_and_die($ret);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function chatsvc_post(&$a) {
|
||||
|
||||
$ret = array('success' => false);
|
||||
|
||||
$room_id = $a->data['chat']['room_id'];
|
||||
$text = escape_tags($_REQUEST['chat_text']);
|
||||
$status = strip_tags($_REQUEST['status']);
|
||||
|
||||
if($status && $room_id) {
|
||||
$r = q("update chatpresence set cp_status = '%s', cp_last = '%s' where cp_room = %d and cp_xchan = '%s' and cp_client = '%s' limit 1",
|
||||
dbesc($status),
|
||||
dbesc(datetime_convert()),
|
||||
intval($room_id),
|
||||
dbesc(get_observer_hash()),
|
||||
dbesc($_SERVER['REMOTE_ADDR'])
|
||||
);
|
||||
}
|
||||
if(! $text)
|
||||
return;
|
||||
|
||||
$sql_extra = permissions_sql($a->data['chat']['uid']);
|
||||
|
||||
$r = q("select * from chatroom where cr_uid = %d and cr_id = %d $sql_extra",
|
||||
intval($a->data['chat']['uid']),
|
||||
intval($a->data['chat']['room_id'])
|
||||
);
|
||||
if(! $r)
|
||||
json_return_and_die($ret);
|
||||
|
||||
$x = q("insert into chat ( chat_room, chat_xchan, created, chat_text )
|
||||
values( %d, '%s', '%s', '%s' )",
|
||||
intval($a->data['chat']['room_id']),
|
||||
dbesc(get_observer_hash()),
|
||||
dbesc(datetime_convert()),
|
||||
dbesc($text)
|
||||
);
|
||||
$ret['success'] = true;
|
||||
json_return_and_die($ret);
|
||||
}
|
||||
|
||||
function chatsvc_content(&$a) {
|
||||
|
||||
$lastseen = intval($_REQUEST['last']);
|
||||
|
||||
$ret = array('success' => false);
|
||||
|
||||
$sql_extra = permissions_sql($a->data['chat']['uid']);
|
||||
|
||||
$r = q("select * from chatroom where cr_uid = %d and cr_id = %d $sql_extra",
|
||||
intval($a->data['chat']['uid']),
|
||||
intval($a->data['chat']['room_id'])
|
||||
);
|
||||
if(! $r)
|
||||
json_return_and_die($ret);
|
||||
|
||||
$inroom = array();
|
||||
|
||||
$r = q("select * from chatpresence left join xchan on xchan_hash = cp_xchan where cp_room = %d order by xchan_name",
|
||||
intval($a->data['chat']['room_id'])
|
||||
);
|
||||
if($r) {
|
||||
foreach($r as $rr) {
|
||||
$inroom[] = array('img' => zid($rr['xchan_photo_m']), 'img_type' => $rr['xchan_photo_mimetype'],'name' => $rr['xchan_name']);
|
||||
}
|
||||
}
|
||||
|
||||
$chats = array();
|
||||
|
||||
$r = q("select * from chat left join xchan on chat_xchan = xchan_hash where chat_room = %d and chat_id > %d",
|
||||
intval($a->data['chat']['room_id']),
|
||||
intval($lastseen)
|
||||
);
|
||||
if($r) {
|
||||
foreach($r as $rr) {
|
||||
$chats[] = array(
|
||||
'id' => $rr['chat_id'],
|
||||
'img' => zid($rr['xchan_photo_m']),
|
||||
'img_type' => $rr['xchan_photo_mimetype'],
|
||||
'name' => $rr['xchan_name'],
|
||||
'isotime' => datetime_convert('UTC', date_default_timezone_get(), $rr['created'], 'c'),
|
||||
'localtime' => datetime_convert('UTC', date_default_timezone_get(), $rr['created'], 'r'),
|
||||
'text' => smilies(bbcode($rr['chat_text']))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
$r = q("update chatpresence set cp_last = '%s' where cp_room = %d and cp_xchan = '%s' and cp_client = '%s' limit 1",
|
||||
dbesc(datetime_convert()),
|
||||
intval($room_id),
|
||||
dbesc(get_observer_hash()),
|
||||
dbesc($_SERVER['REMOTE_ADDR'])
|
||||
);
|
||||
|
||||
$ret['success'] = true;
|
||||
$ret['inroom'] = $inroom;
|
||||
$ret['chats'] = $chats;
|
||||
|
||||
json_return_and_die($ret);
|
||||
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
2014-01-29.572
|
||||
2014-01-30.573
|
||||
|
2309
view/it/messages.po
2309
view/it/messages.po
File diff suppressed because it is too large
Load Diff
@ -71,45 +71,9 @@ $a->strings["Admin"] = "Amministrazione";
|
||||
$a->strings["Site Setup and Configuration"] = "Configurazione del sito";
|
||||
$a->strings["Nothing new here"] = "Niente di nuovo qui";
|
||||
$a->strings["Please wait..."] = "Attendere...";
|
||||
$a->strings["Edit File properties"] = "Modifica le proprietà dei file";
|
||||
$a->strings["Connect"] = "Entra in contatto";
|
||||
$a->strings["New window"] = "Nuova finestra";
|
||||
$a->strings["Open the selected location in a different window or browser tab"] = "Apri l'indirizzo selezionato in una nuova scheda o finestra";
|
||||
$a->strings["Categories"] = "Categorie";
|
||||
$a->strings["Ignore/Hide"] = "Ignora/nascondi";
|
||||
$a->strings["Suggestions"] = "Suggerimenti";
|
||||
$a->strings["See more..."] = "Altro...";
|
||||
$a->strings["You have %1$.0f of %2$.0f allowed connections."] = "Hai attivato %1$.0f delle %2$.0f connessioni permesse.";
|
||||
$a->strings["Add New Connection"] = "Aggiungi un contatto";
|
||||
$a->strings["Enter the channel address"] = "Scrivi l'indirizzo del canale";
|
||||
$a->strings["Example: bob@example.com, http://example.com/barbara"] = "Per esempio: mario@pippo.it oppure http://pluto.com/barbara";
|
||||
$a->strings["Notes"] = "Note";
|
||||
$a->strings["Save"] = "Salva";
|
||||
$a->strings["Remove term"] = "Rimuovi termine";
|
||||
$a->strings["Saved Searches"] = "Ricerche salvate";
|
||||
$a->strings["add"] = "aggiungi";
|
||||
$a->strings["Saved Folders"] = "Cartelle salvate";
|
||||
$a->strings["Everything"] = "Tutto";
|
||||
$a->strings["Archives"] = "Archivi";
|
||||
$a->strings["Refresh"] = "Aggiorna";
|
||||
$a->strings["Me"] = "Io";
|
||||
$a->strings["Best Friends"] = "Buoni amici";
|
||||
$a->strings["Friends"] = "Amici";
|
||||
$a->strings["Co-workers"] = "Colleghi";
|
||||
$a->strings["Former Friends"] = "Ex amici";
|
||||
$a->strings["Acquaintances"] = "Conoscenti";
|
||||
$a->strings["Everybody"] = "Tutti";
|
||||
$a->strings["Account settings"] = "Impostazioni dell'account";
|
||||
$a->strings["Channel settings"] = "Impostazioni del canale";
|
||||
$a->strings["Additional features"] = "Funzionalità aggiuntive";
|
||||
$a->strings["Feature settings"] = "Impostazioni aggiuntive";
|
||||
$a->strings["Display settings"] = "Impostazioni grafiche";
|
||||
$a->strings["Connected apps"] = "App connesse";
|
||||
$a->strings["Export channel"] = "Esporta il canale";
|
||||
$a->strings["Automatic Permissions (Advanced)"] = "Permessi predefiniti (avanzato)";
|
||||
$a->strings["Premium Channel Settings"] = "Canale premium - impostazioni";
|
||||
$a->strings["Channel Sources"] = "Sorgenti del canale";
|
||||
$a->strings["Check Mail"] = "Controlla i messaggi";
|
||||
$a->strings["Unknown | Not categorised"] = "Sconosciuto | Senza categoria";
|
||||
$a->strings["Block immediately"] = "Blocca subito";
|
||||
$a->strings["Shady, spammer, self-marketer"] = "Spammer o dedito al marketing";
|
||||
@ -167,6 +131,7 @@ $a->strings["%d Connection"] = array(
|
||||
1 => "%d contatti",
|
||||
);
|
||||
$a->strings["View Connections"] = "Elenco contatti";
|
||||
$a->strings["Save"] = "Salva";
|
||||
$a->strings["poke"] = "poke";
|
||||
$a->strings["poked"] = "ha ricevuto un poke";
|
||||
$a->strings["ping"] = "ping";
|
||||
@ -238,14 +203,6 @@ $a->strings["Blocks"] = "Riquadri";
|
||||
$a->strings["Menus"] = "Menù";
|
||||
$a->strings["Layouts"] = "Layout";
|
||||
$a->strings["Pages"] = "Pagine";
|
||||
$a->strings["A deleted group with this name was revived. Existing item permissions <strong>may</strong> apply to this group and any future members. If this is not what you intended, please create another group with a different name."] = "È stato ripristinato un insieme con lo stesso nome che era stato eliminato in precedenza. I permessi già presenti <strong>potrebbero</strong> rimanere validi per i nuovi canali. Se non vuoi che ciò accada, devi creare un altro insieme con un nome diverso.";
|
||||
$a->strings["Default privacy group for new contacts"] = "Insieme predefinito per i nuovi canali che aggiungi";
|
||||
$a->strings["All Channels"] = "Tutti i canali";
|
||||
$a->strings["edit"] = "modifica";
|
||||
$a->strings["Collections"] = "Insiemi di canali";
|
||||
$a->strings["Edit collection"] = "Modifica l'insieme di canali";
|
||||
$a->strings["Create a new collection"] = "Crea un nuovo insieme";
|
||||
$a->strings["Channels not in any collection"] = "Canali che non sono in un insieme";
|
||||
$a->strings["Delete this item?"] = "Eliminare questo elemento?";
|
||||
$a->strings["Comment"] = "Commento";
|
||||
$a->strings["show more"] = "mostra tutto";
|
||||
@ -278,6 +235,63 @@ $a->strings["Unable to determine sender."] = "Impossibile determinare il mittent
|
||||
$a->strings["Stored post could not be verified."] = "Non è stato possibile verificare l'articolo inserito.";
|
||||
$a->strings["Profile Photos"] = "Foto del profilo";
|
||||
$a->strings["view full size"] = "guarda nelle dimensioni reali";
|
||||
$a->strings["Unable to obtain identity information from database"] = "Impossibile ottenere le informazioni di identificazione dal database";
|
||||
$a->strings["Empty name"] = "Nome vuoto";
|
||||
$a->strings["Name too long"] = "Nome troppo lungo";
|
||||
$a->strings["No account identifier"] = "Account senza identificativo";
|
||||
$a->strings["Nickname is required."] = "Il nome dell'account è obbligatorio.";
|
||||
$a->strings["Nickname has unsupported characters or is already being used on this site."] = "Il nome dell'account è già in uso oppure ha dei caratteri non supportati.";
|
||||
$a->strings["Unable to retrieve created identity"] = "Impossibile caricare l'identità creata";
|
||||
$a->strings["Default Profile"] = "Profilo predefinito";
|
||||
$a->strings["Friends"] = "Amici";
|
||||
$a->strings["Requested channel is not available."] = "Il canale che cerchi non è disponibile.";
|
||||
$a->strings[" Sorry, you don't have the permission to view this profile. "] = "Purtroppo non hai il permesso di vedere questo profilo.";
|
||||
$a->strings["Requested profile is not available."] = "Il profilo richiesto non è disponibile.";
|
||||
$a->strings["Change profile photo"] = "Cambia la foto del profilo";
|
||||
$a->strings["Profiles"] = "Profili";
|
||||
$a->strings["Manage/edit profiles"] = "Gestisci/modifica i profili";
|
||||
$a->strings["Create New Profile"] = "Crea un nuovo profilo";
|
||||
$a->strings["Edit Profile"] = "Modifica il profilo";
|
||||
$a->strings["Profile Image"] = "Immagine del profilo";
|
||||
$a->strings["visible to everybody"] = "visibile a tutti";
|
||||
$a->strings["Edit visibility"] = "Cambia la visibilità";
|
||||
$a->strings["Gender:"] = "Sesso:";
|
||||
$a->strings["Status:"] = "Stato:";
|
||||
$a->strings["Homepage:"] = "Home page:";
|
||||
$a->strings["g A l F d"] = "g A l d F";
|
||||
$a->strings["F d"] = "d F";
|
||||
$a->strings["[today]"] = "[oggi]";
|
||||
$a->strings["Birthday Reminders"] = "Promemoria compleanni";
|
||||
$a->strings["Birthdays this week:"] = "Compleanni questa settimana:";
|
||||
$a->strings["[No description]"] = "[Nessuna descrizione]";
|
||||
$a->strings["Event Reminders"] = "Promemoria";
|
||||
$a->strings["Events this week:"] = "Eventi di questa settimana:";
|
||||
$a->strings["Profile"] = "Profilo";
|
||||
$a->strings["Full Name:"] = "Nome completo:";
|
||||
$a->strings["j F, Y"] = "j F Y";
|
||||
$a->strings["j F"] = "j F";
|
||||
$a->strings["Birthday:"] = "Compleanno:";
|
||||
$a->strings["Age:"] = "Età:";
|
||||
$a->strings["for %1\$d %2\$s"] = "per %1\$d %2\$s";
|
||||
$a->strings["Sexual Preference:"] = "Preferenze sessuali:";
|
||||
$a->strings["Hometown:"] = "Città dove vivo:";
|
||||
$a->strings["Tags:"] = "Tag:";
|
||||
$a->strings["Political Views:"] = "Orientamento politico:";
|
||||
$a->strings["Religion:"] = "Religione:";
|
||||
$a->strings["About:"] = "Informazioni:";
|
||||
$a->strings["Hobbies/Interests:"] = "Interessi e hobby:";
|
||||
$a->strings["Likes:"] = "Mi piace:";
|
||||
$a->strings["Dislikes:"] = "Non mi piace:";
|
||||
$a->strings["Contact information and Social Networks:"] = "Contatti e social network:";
|
||||
$a->strings["My other channels:"] = "I miei altri canali:";
|
||||
$a->strings["Musical interests:"] = "Gusti musicali:";
|
||||
$a->strings["Books, literature:"] = "Libri, letteratura:";
|
||||
$a->strings["Television:"] = "Televisione:";
|
||||
$a->strings["Film/dance/culture/entertainment:"] = "Film, danza, cultura, intrattenimento:";
|
||||
$a->strings["Love/Romance:"] = "Amore:";
|
||||
$a->strings["Work/employment:"] = "Lavoro:";
|
||||
$a->strings["School/education:"] = "Scuola:";
|
||||
$a->strings["Edit File properties"] = "Modifica le proprietà dei file";
|
||||
$a->strings["Image/photo"] = "Immagine";
|
||||
$a->strings["Encrypted content"] = "Contenuto crittografato";
|
||||
$a->strings["QR code"] = "QR code";
|
||||
@ -306,6 +320,7 @@ $a->strings["Richtext Editor"] = "Editor grafico";
|
||||
$a->strings["Enable richtext editor"] = "Abilita l'editor grafico";
|
||||
$a->strings["Post Preview"] = "Anteprima articolo";
|
||||
$a->strings["Allow previewing posts and comments before publishing them"] = "Abilita l'anteprima degli articoli e dei commenti prima di pubblicarli";
|
||||
$a->strings["Channel Sources"] = "Sorgenti del canale";
|
||||
$a->strings["Automatically import channel content from other channels or feeds"] = "Importa automaticamente il contenuto del canale da altri canali o feed";
|
||||
$a->strings["Even More Encryption"] = "Crittografia addizionale";
|
||||
$a->strings["Allow optional encryption of content end-to-end with a shared secret key"] = "Rendi possibile la crittografia dei contenuti tra mittente e destinatari con una chiave segreta";
|
||||
@ -314,6 +329,7 @@ $a->strings["Search by Date"] = "Ricerca per data";
|
||||
$a->strings["Ability to select posts by date ranges"] = "Per selezionare gli articoli in un intervallo tra date";
|
||||
$a->strings["Collections Filter"] = "Filtra per insiemi di canali";
|
||||
$a->strings["Enable widget to display Network posts only from selected collections"] = "Mostra il riquadro per filtrare gli articoli di certi insiemi di canali";
|
||||
$a->strings["Saved Searches"] = "Ricerche salvate";
|
||||
$a->strings["Save search terms for re-use"] = "Salva i termini delle ricerche per poterle ripetere";
|
||||
$a->strings["Network Personal Tab"] = "Attività personale";
|
||||
$a->strings["Enable tab to display only Network posts that you've interacted on"] = "Abilita il link per mostrare solamente i contenuti con cui hai interagito";
|
||||
@ -330,6 +346,7 @@ $a->strings["Tagging"] = "Tag";
|
||||
$a->strings["Ability to tag existing posts"] = "Permetti l'aggiunta di tag su articoli già esistenti";
|
||||
$a->strings["Post Categories"] = "Categorie degli articoli";
|
||||
$a->strings["Add categories to your posts"] = "Abilita le categorie per i tuoi articoli";
|
||||
$a->strings["Saved Folders"] = "Cartelle salvate";
|
||||
$a->strings["Ability to file posts under folders"] = "Abilita la raccolta dei tuoi articoli in cartelle";
|
||||
$a->strings["Dislike Posts"] = "Non mi piace";
|
||||
$a->strings["Ability to dislike posts/comments"] = "Abilità la funzionalità \"non mi piace\" per i tuoi articoli";
|
||||
@ -337,107 +354,15 @@ $a->strings["Star Posts"] = "Articoli stella (preferiti)";
|
||||
$a->strings["Ability to mark special posts with a star indicator"] = "Mostra la stella per scegliere gli articoli preferiti";
|
||||
$a->strings["Tag Cloud"] = "Nuvola di tag";
|
||||
$a->strings["Provide a personal tag cloud on your channel page"] = "Mostra la nuvola dei tag che usi di più sulla pagina del tuo canale";
|
||||
$a->strings["channel"] = "canale";
|
||||
$a->strings["%1\$s likes %2\$s's %3\$s"] = "A %1\$s piace %3\$s di %2\$s";
|
||||
$a->strings["%1\$s doesn't like %2\$s's %3\$s"] = "A %1\$s non piace %3\$s di %2\$s";
|
||||
$a->strings["%1\$s is now connected with %2\$s"] = "%1\$s adesso è connesso con %2\$s";
|
||||
$a->strings["%1\$s poked %2\$s"] = "%1\$s ha mandato un poke a %2\$s";
|
||||
$a->strings["%1\$s is currently %2\$s"] = "%1\$s al momento è %2\$s";
|
||||
$a->strings["Select"] = "Seleziona";
|
||||
$a->strings["Delete"] = "Elimina";
|
||||
$a->strings["Message is verified"] = "Messaggio verificato";
|
||||
$a->strings["View %s's profile @ %s"] = "Vedi il profilo di %s @ %s";
|
||||
$a->strings["Categories:"] = "Categorie:";
|
||||
$a->strings["Filed under:"] = "Classificato come:";
|
||||
$a->strings[" from %s"] = " da %s";
|
||||
$a->strings["last edited: %s"] = "ultima modifica: %s";
|
||||
$a->strings["View in context"] = "Vedi nel contesto";
|
||||
$a->strings["Please wait"] = "Attendere";
|
||||
$a->strings["remove"] = "rimuovi";
|
||||
$a->strings["Loading..."] = "Caricamento in corso...";
|
||||
$a->strings["Delete Selected Items"] = "Elimina gli oggetti selezionati";
|
||||
$a->strings["View Source"] = "Vedi il sorgente";
|
||||
$a->strings["Follow Thread"] = "Segui la discussione";
|
||||
$a->strings["View Status"] = "Guarda il messaggio di stato";
|
||||
$a->strings["View Photos"] = "Guarda le foto";
|
||||
$a->strings["Matrix Activity"] = "Attività nella tua rete";
|
||||
$a->strings["Edit Contact"] = "Modifica il contatto";
|
||||
$a->strings["Send PM"] = "Invia messaggio privato";
|
||||
$a->strings["Poke"] = "Poke";
|
||||
$a->strings["%s likes this."] = "Piace a %s.";
|
||||
$a->strings["%s doesn't like this."] = "Non piace a %s.";
|
||||
$a->strings["<span %1\$s>%2\$d people</span> like this."] = array(
|
||||
0 => "",
|
||||
1 => "Piace a <span %1\$s>%2\$d persone</span>.",
|
||||
);
|
||||
$a->strings["<span %1\$s>%2\$d people</span> don't like this."] = array(
|
||||
0 => "",
|
||||
1 => "Non piace a <span %1\$s>%2\$d persone</span>.",
|
||||
);
|
||||
$a->strings["and"] = "e";
|
||||
$a->strings[", and %d other people"] = array(
|
||||
0 => "",
|
||||
1 => "e altre %d persone",
|
||||
);
|
||||
$a->strings["%s like this."] = "Piace a %s.";
|
||||
$a->strings["%s don't like this."] = "Non piace a %s.";
|
||||
$a->strings["Visible to <strong>everybody</strong>"] = "Visibile a <strong>tutti</strong>";
|
||||
$a->strings["Please enter a link URL:"] = "Inserisci l'indirizzo del link:";
|
||||
$a->strings["Please enter a video link/URL:"] = "Inserisci l'indirizzo del video:";
|
||||
$a->strings["Please enter an audio link/URL:"] = "Inserisci l'indirizzo dell'audio:";
|
||||
$a->strings["Tag term:"] = "Tag:";
|
||||
$a->strings["Save to Folder:"] = "Salva nella cartella:";
|
||||
$a->strings["Where are you right now?"] = "Dove sei ora?";
|
||||
$a->strings["Expires YYYY-MM-DD HH:MM"] = "Scadenza il AAAA-MM-GG OO:MM";
|
||||
$a->strings["Preview"] = "Anteprima";
|
||||
$a->strings["Share"] = "Condividi";
|
||||
$a->strings["Page link title"] = "Link del titolo";
|
||||
$a->strings["Upload photo"] = "Carica foto";
|
||||
$a->strings["upload photo"] = "carica foto";
|
||||
$a->strings["Attach file"] = "Allega file";
|
||||
$a->strings["attach file"] = "allega file";
|
||||
$a->strings["Insert web link"] = "Inserisci un indirizzo web";
|
||||
$a->strings["web link"] = "link web";
|
||||
$a->strings["Insert video link"] = "Inserisci l'indirizzo di un video";
|
||||
$a->strings["video link"] = "link video";
|
||||
$a->strings["Insert audio link"] = "Inserisci l'indirizzo di un audio";
|
||||
$a->strings["audio link"] = "link audio";
|
||||
$a->strings["Set your location"] = "La tua località";
|
||||
$a->strings["set location"] = "la tua località";
|
||||
$a->strings["Clear browser location"] = "Rimuovi la località data dal browser";
|
||||
$a->strings["clear location"] = "rimuovi la località";
|
||||
$a->strings["Set title"] = "Scegli un titolo";
|
||||
$a->strings["Categories (comma-separated list)"] = "Categorie (separate da virgola)";
|
||||
$a->strings["Permission settings"] = "Impostazioni permessi";
|
||||
$a->strings["permissions"] = "permessi";
|
||||
$a->strings["Public post"] = "Articolo pubblico";
|
||||
$a->strings["Example: bob@example.com, mary@example.com"] = "Per esempio: mario@esempio.com, simona@esempio.com";
|
||||
$a->strings["Set expiration date"] = "Data di scadenza";
|
||||
$a->strings["Encrypt text"] = "Crittografia del testo";
|
||||
$a->strings["OK"] = "OK";
|
||||
$a->strings["Cancel"] = "Annulla";
|
||||
$a->strings["Commented Order"] = "Ultimi commenti";
|
||||
$a->strings["Sort by Comment Date"] = "Per data del commento";
|
||||
$a->strings["Posted Order"] = "Ultimi articoli";
|
||||
$a->strings["Sort by Post Date"] = "Per data di creazione";
|
||||
$a->strings["Personal"] = "Personali";
|
||||
$a->strings["Posts that mention or involve you"] = "Articoli che ti riguardano o ti menzionano";
|
||||
$a->strings["New"] = "Novità";
|
||||
$a->strings["Activity Stream - by date"] = "Elenco attività - per data";
|
||||
$a->strings["Starred"] = "Preferiti";
|
||||
$a->strings["Favourite Posts"] = "Articoli preferiti";
|
||||
$a->strings["Spam"] = "Spam";
|
||||
$a->strings["Posts flagged as SPAM"] = "Articoli marcati come spam";
|
||||
$a->strings["Channel"] = "Canale";
|
||||
$a->strings["Status Messages and Posts"] = "Articoli e messaggi di stato";
|
||||
$a->strings["About"] = "Informazioni";
|
||||
$a->strings["Profile Details"] = "Dettagli del profilo";
|
||||
$a->strings["Photo Albums"] = "Album foto";
|
||||
$a->strings["Files"] = "Elenco file";
|
||||
$a->strings["Files and Storage"] = "Archivio file";
|
||||
$a->strings["Events and Calendar"] = "Calendario eventi";
|
||||
$a->strings["Webpages"] = "Pagine web";
|
||||
$a->strings["Manage Webpages"] = "Gestisci le pagine web";
|
||||
$a->strings["A deleted group with this name was revived. Existing item permissions <strong>may</strong> apply to this group and any future members. If this is not what you intended, please create another group with a different name."] = "È stato ripristinato un insieme con lo stesso nome che era stato eliminato in precedenza. I permessi già presenti <strong>potrebbero</strong> rimanere validi per i nuovi canali. Se non vuoi che ciò accada, devi creare un altro insieme con un nome diverso.";
|
||||
$a->strings["Default privacy group for new contacts"] = "Insieme predefinito per i nuovi canali che aggiungi";
|
||||
$a->strings["All Channels"] = "Tutti i canali";
|
||||
$a->strings["edit"] = "modifica";
|
||||
$a->strings["Collections"] = "Insiemi di canali";
|
||||
$a->strings["Edit collection"] = "Modifica l'insieme di canali";
|
||||
$a->strings["Create a new collection"] = "Crea un nuovo insieme";
|
||||
$a->strings["Channels not in any collection"] = "Canali che non sono in un insieme";
|
||||
$a->strings["add"] = "aggiungi";
|
||||
$a->strings["created a new post"] = "Ha creato un nuovo articolo";
|
||||
$a->strings["commented on %s's post"] = "ha commentato l'articolo di %s";
|
||||
$a->strings["Permission denied."] = "Permesso negato.";
|
||||
@ -445,6 +370,7 @@ $a->strings["Image exceeds website size limit of %lu bytes"] = "L'immagine super
|
||||
$a->strings["Image file is empty."] = "Il file dell'immagine è vuoto.";
|
||||
$a->strings["Unable to process image"] = "Impossibile elaborare l'immagine";
|
||||
$a->strings["Photo storage failed."] = "Impossibile caricare la foto.";
|
||||
$a->strings["Photo Albums"] = "Album foto";
|
||||
$a->strings["Upload New Photos"] = "Carica nuove foto";
|
||||
$a->strings["Male"] = "Maschio";
|
||||
$a->strings["Female"] = "Femmina";
|
||||
@ -527,6 +453,9 @@ $a->strings["like"] = "mi piace";
|
||||
$a->strings["likes"] = "ama";
|
||||
$a->strings["dislike"] = "non mi piace";
|
||||
$a->strings["dislikes"] = "non ama";
|
||||
$a->strings["Logged out."] = "Uscita effettuata.";
|
||||
$a->strings["Failed authentication"] = "Autenticazione fallita";
|
||||
$a->strings["Login failed."] = "Accesso fallito.";
|
||||
$a->strings["Not a valid email address"] = "Email non valida";
|
||||
$a->strings["Your email domain is not among those allowed on this site"] = "Il dominio della tua email attualmente non è permesso su questo sito";
|
||||
$a->strings["Your email address is already registered at this site."] = "La tua email è già registrata su questo sito.";
|
||||
@ -586,9 +515,35 @@ $a->strings["%1\$s, you've received [zrl=%2\$s]a friend suggestion[/zrl] for %3\
|
||||
$a->strings["Name:"] = "Nome:";
|
||||
$a->strings["Photo:"] = "Foto:";
|
||||
$a->strings["Please visit %s to approve or reject the suggestion."] = "Visita %s per approvare o rifiutare il suggerimento.";
|
||||
$a->strings["Logged out."] = "Uscita effettuata.";
|
||||
$a->strings["Failed authentication"] = "Autenticazione fallita";
|
||||
$a->strings["Login failed."] = "Accesso fallito.";
|
||||
$a->strings["Categories"] = "Categorie";
|
||||
$a->strings["Ignore/Hide"] = "Ignora/nascondi";
|
||||
$a->strings["Suggestions"] = "Suggerimenti";
|
||||
$a->strings["See more..."] = "Altro...";
|
||||
$a->strings["You have %1$.0f of %2$.0f allowed connections."] = "Hai attivato %1$.0f delle %2$.0f connessioni permesse.";
|
||||
$a->strings["Add New Connection"] = "Aggiungi un contatto";
|
||||
$a->strings["Enter the channel address"] = "Scrivi l'indirizzo del canale";
|
||||
$a->strings["Example: bob@example.com, http://example.com/barbara"] = "Per esempio: mario@pippo.it oppure http://pluto.com/barbara";
|
||||
$a->strings["Notes"] = "Note";
|
||||
$a->strings["Remove term"] = "Rimuovi termine";
|
||||
$a->strings["Everything"] = "Tutto";
|
||||
$a->strings["Archives"] = "Archivi";
|
||||
$a->strings["Refresh"] = "Aggiorna";
|
||||
$a->strings["Me"] = "Io";
|
||||
$a->strings["Best Friends"] = "Buoni amici";
|
||||
$a->strings["Co-workers"] = "Colleghi";
|
||||
$a->strings["Former Friends"] = "Ex amici";
|
||||
$a->strings["Acquaintances"] = "Conoscenti";
|
||||
$a->strings["Everybody"] = "Tutti";
|
||||
$a->strings["Account settings"] = "Impostazioni dell'account";
|
||||
$a->strings["Channel settings"] = "Impostazioni del canale";
|
||||
$a->strings["Additional features"] = "Funzionalità aggiuntive";
|
||||
$a->strings["Feature settings"] = "Impostazioni aggiuntive";
|
||||
$a->strings["Display settings"] = "Impostazioni grafiche";
|
||||
$a->strings["Connected apps"] = "App connesse";
|
||||
$a->strings["Export channel"] = "Esporta il canale";
|
||||
$a->strings["Automatic Permissions (Advanced)"] = "Permessi predefiniti (avanzato)";
|
||||
$a->strings["Premium Channel Settings"] = "Canale premium - impostazioni";
|
||||
$a->strings["Check Mail"] = "Controlla i messaggi";
|
||||
$a->strings["%d invitation available"] = array(
|
||||
0 => "%d invito disponibile",
|
||||
1 => "%d inviti disponibili",
|
||||
@ -639,60 +594,6 @@ $a->strings["Somewhat advanced - very useful in open communities"] = "Piuttosto
|
||||
$a->strings["Can administer my channel resources"] = "Può amministrare i contenuti del mio canale";
|
||||
$a->strings["Extremely advanced. Leave this alone unless you know what you are doing"] = "Impostazione pericolosa - lasciare il valore predefinito se non si è assolutamente sicuri";
|
||||
$a->strings["Default"] = "Predefinito";
|
||||
$a->strings["Unable to obtain identity information from database"] = "Impossibile ottenere le informazioni di identificazione dal database";
|
||||
$a->strings["Empty name"] = "Nome vuoto";
|
||||
$a->strings["Name too long"] = "Nome troppo lungo";
|
||||
$a->strings["No account identifier"] = "Account senza identificativo";
|
||||
$a->strings["Nickname is required."] = "Il nome dell'account è obbligatorio.";
|
||||
$a->strings["Nickname has unsupported characters or is already being used on this site."] = "Il nome dell'account è già in uso oppure ha dei caratteri non supportati.";
|
||||
$a->strings["Unable to retrieve created identity"] = "Impossibile caricare l'identità creata";
|
||||
$a->strings["Default Profile"] = "Profilo predefinito";
|
||||
$a->strings["Requested channel is not available."] = "Il canale che cerchi non è disponibile.";
|
||||
$a->strings[" Sorry, you don't have the permission to view this profile. "] = "Purtroppo non hai il permesso di vedere questo profilo.";
|
||||
$a->strings["Requested profile is not available."] = "Il profilo richiesto non è disponibile.";
|
||||
$a->strings["Change profile photo"] = "Cambia la foto del profilo";
|
||||
$a->strings["Profiles"] = "Profili";
|
||||
$a->strings["Manage/edit profiles"] = "Gestisci/modifica i profili";
|
||||
$a->strings["Create New Profile"] = "Crea un nuovo profilo";
|
||||
$a->strings["Edit Profile"] = "Modifica il profilo";
|
||||
$a->strings["Profile Image"] = "Immagine del profilo";
|
||||
$a->strings["visible to everybody"] = "visibile a tutti";
|
||||
$a->strings["Edit visibility"] = "Cambia la visibilità";
|
||||
$a->strings["Gender:"] = "Sesso:";
|
||||
$a->strings["Status:"] = "Stato:";
|
||||
$a->strings["Homepage:"] = "Home page:";
|
||||
$a->strings["g A l F d"] = "g A l d F";
|
||||
$a->strings["F d"] = "d F";
|
||||
$a->strings["[today]"] = "[oggi]";
|
||||
$a->strings["Birthday Reminders"] = "Promemoria compleanni";
|
||||
$a->strings["Birthdays this week:"] = "Compleanni questa settimana:";
|
||||
$a->strings["[No description]"] = "[Nessuna descrizione]";
|
||||
$a->strings["Event Reminders"] = "Promemoria";
|
||||
$a->strings["Events this week:"] = "Eventi di questa settimana:";
|
||||
$a->strings["Profile"] = "Profilo";
|
||||
$a->strings["Full Name:"] = "Nome completo:";
|
||||
$a->strings["j F, Y"] = "j F Y";
|
||||
$a->strings["j F"] = "j F";
|
||||
$a->strings["Birthday:"] = "Compleanno:";
|
||||
$a->strings["Age:"] = "Età:";
|
||||
$a->strings["for %1\$d %2\$s"] = "per %1\$d %2\$s";
|
||||
$a->strings["Sexual Preference:"] = "Preferenze sessuali:";
|
||||
$a->strings["Hometown:"] = "Città dove vivo:";
|
||||
$a->strings["Tags:"] = "Tag:";
|
||||
$a->strings["Political Views:"] = "Orientamento politico:";
|
||||
$a->strings["Religion:"] = "Religione:";
|
||||
$a->strings["About:"] = "Informazioni:";
|
||||
$a->strings["Hobbies/Interests:"] = "Interessi e hobby:";
|
||||
$a->strings["Likes:"] = "Mi piace:";
|
||||
$a->strings["Dislikes:"] = "Non mi piace:";
|
||||
$a->strings["Contact information and Social Networks:"] = "Contatti e social network:";
|
||||
$a->strings["Musical interests:"] = "Gusti musicali:";
|
||||
$a->strings["Books, literature:"] = "Libri, letteratura:";
|
||||
$a->strings["Television:"] = "Televisione:";
|
||||
$a->strings["Film/dance/culture/entertainment:"] = "Film, danza, cultura, intrattenimento:";
|
||||
$a->strings["Love/Romance:"] = "Amore:";
|
||||
$a->strings["Work/employment:"] = "Lavoro:";
|
||||
$a->strings["School/education:"] = "Scuola:";
|
||||
$a->strings["Permission denied"] = "Permesso negato";
|
||||
$a->strings["Item not found."] = "Elemento non trovato.";
|
||||
$a->strings["Collection not found."] = "Insieme non trovato.";
|
||||
@ -701,11 +602,14 @@ $a->strings["Collection: %s"] = "Insieme: %s";
|
||||
$a->strings["Connection: %s"] = "Contatto: %s";
|
||||
$a->strings["Connection not found."] = "Contatto non trovato.";
|
||||
$a->strings["Private Message"] = "Messaggio privato";
|
||||
$a->strings["Delete"] = "Elimina";
|
||||
$a->strings["Select"] = "Seleziona";
|
||||
$a->strings["save to folder"] = "salva in una cartella";
|
||||
$a->strings["add star"] = "aggiungi ai preferiti";
|
||||
$a->strings["remove star"] = "rimuovi dai preferiti";
|
||||
$a->strings["toggle star status"] = "Attiva/disattiva preferito";
|
||||
$a->strings["starred"] = "preferito";
|
||||
$a->strings["Message is verified"] = "Messaggio verificato";
|
||||
$a->strings["add tag"] = "Aggiungi tag";
|
||||
$a->strings["I like this (toggle)"] = "Attiva/disattiva Mi piace";
|
||||
$a->strings["I don't like this (toggle)"] = "Attiva/disattiva Non mi piace";
|
||||
@ -716,7 +620,10 @@ $a->strings["to"] = "a";
|
||||
$a->strings["via"] = "via";
|
||||
$a->strings["Wall-to-Wall"] = "Da bacheca a bacheca";
|
||||
$a->strings["via Wall-To-Wall:"] = "da bacheca a bacheca:";
|
||||
$a->strings[" from %s"] = " da %s";
|
||||
$a->strings["last edited: %s"] = "ultima modifica: %s";
|
||||
$a->strings["Expires: %s"] = "Scadenza: %s";
|
||||
$a->strings["Please wait"] = "Attendere";
|
||||
$a->strings["%d comment"] = array(
|
||||
0 => "%d commento",
|
||||
1 => "%d commenti",
|
||||
@ -731,10 +638,104 @@ $a->strings["Code"] = "Codice";
|
||||
$a->strings["Image"] = "Immagine";
|
||||
$a->strings["Link"] = "Link";
|
||||
$a->strings["Video"] = "Video";
|
||||
$a->strings["Preview"] = "Anteprima";
|
||||
$a->strings["Encrypt text"] = "Crittografia del testo";
|
||||
$a->strings["Welcome "] = "Ciao";
|
||||
$a->strings["Please upload a profile photo."] = "Carica una foto per il profilo!";
|
||||
$a->strings["Welcome back "] = "Ciao, è bello rivederti";
|
||||
$a->strings["The form security token was not correct. This probably happened because the form has been opened for too long (>3 hours) before submitting it."] = "L'identificativo di sicurezza del modulo che hai riempito non è corretto. Probabilmente è accaduto perché la pagina è stata tenuta aperta troppo a lungo (ore?) prima di inviare il contenuto.";
|
||||
$a->strings["channel"] = "canale";
|
||||
$a->strings["%1\$s likes %2\$s's %3\$s"] = "A %1\$s piace %3\$s di %2\$s";
|
||||
$a->strings["%1\$s doesn't like %2\$s's %3\$s"] = "A %1\$s non piace %3\$s di %2\$s";
|
||||
$a->strings["%1\$s is now connected with %2\$s"] = "%1\$s adesso è connesso con %2\$s";
|
||||
$a->strings["%1\$s poked %2\$s"] = "%1\$s ha mandato un poke a %2\$s";
|
||||
$a->strings["%1\$s is currently %2\$s"] = "%1\$s al momento è %2\$s";
|
||||
$a->strings["View %s's profile @ %s"] = "Vedi il profilo di %s @ %s";
|
||||
$a->strings["Categories:"] = "Categorie:";
|
||||
$a->strings["Filed under:"] = "Classificato come:";
|
||||
$a->strings["View in context"] = "Vedi nel contesto";
|
||||
$a->strings["remove"] = "rimuovi";
|
||||
$a->strings["Loading..."] = "Caricamento in corso...";
|
||||
$a->strings["Delete Selected Items"] = "Elimina gli oggetti selezionati";
|
||||
$a->strings["View Source"] = "Vedi il sorgente";
|
||||
$a->strings["Follow Thread"] = "Segui la discussione";
|
||||
$a->strings["View Status"] = "Guarda il messaggio di stato";
|
||||
$a->strings["View Photos"] = "Guarda le foto";
|
||||
$a->strings["Matrix Activity"] = "Attività nella tua rete";
|
||||
$a->strings["Edit Contact"] = "Modifica il contatto";
|
||||
$a->strings["Send PM"] = "Invia messaggio privato";
|
||||
$a->strings["Poke"] = "Poke";
|
||||
$a->strings["%s likes this."] = "Piace a %s.";
|
||||
$a->strings["%s doesn't like this."] = "Non piace a %s.";
|
||||
$a->strings["<span %1\$s>%2\$d people</span> like this."] = array(
|
||||
0 => "",
|
||||
1 => "Piace a <span %1\$s>%2\$d persone</span>.",
|
||||
);
|
||||
$a->strings["<span %1\$s>%2\$d people</span> don't like this."] = array(
|
||||
0 => "",
|
||||
1 => "Non piace a <span %1\$s>%2\$d persone</span>.",
|
||||
);
|
||||
$a->strings["and"] = "e";
|
||||
$a->strings[", and %d other people"] = array(
|
||||
0 => "",
|
||||
1 => "e altre %d persone",
|
||||
);
|
||||
$a->strings["%s like this."] = "Piace a %s.";
|
||||
$a->strings["%s don't like this."] = "Non piace a %s.";
|
||||
$a->strings["Visible to <strong>everybody</strong>"] = "Visibile a <strong>tutti</strong>";
|
||||
$a->strings["Please enter a link URL:"] = "Inserisci l'indirizzo del link:";
|
||||
$a->strings["Please enter a video link/URL:"] = "Inserisci l'indirizzo del video:";
|
||||
$a->strings["Please enter an audio link/URL:"] = "Inserisci l'indirizzo dell'audio:";
|
||||
$a->strings["Tag term:"] = "Tag:";
|
||||
$a->strings["Save to Folder:"] = "Salva nella cartella:";
|
||||
$a->strings["Where are you right now?"] = "Dove sei ora?";
|
||||
$a->strings["Expires YYYY-MM-DD HH:MM"] = "Scadenza il AAAA-MM-GG OO:MM";
|
||||
$a->strings["Share"] = "Condividi";
|
||||
$a->strings["Page link title"] = "Link del titolo";
|
||||
$a->strings["Upload photo"] = "Carica foto";
|
||||
$a->strings["upload photo"] = "carica foto";
|
||||
$a->strings["Attach file"] = "Allega file";
|
||||
$a->strings["attach file"] = "allega file";
|
||||
$a->strings["Insert web link"] = "Inserisci un indirizzo web";
|
||||
$a->strings["web link"] = "link web";
|
||||
$a->strings["Insert video link"] = "Inserisci l'indirizzo di un video";
|
||||
$a->strings["video link"] = "link video";
|
||||
$a->strings["Insert audio link"] = "Inserisci l'indirizzo di un audio";
|
||||
$a->strings["audio link"] = "link audio";
|
||||
$a->strings["Set your location"] = "La tua località";
|
||||
$a->strings["set location"] = "la tua località";
|
||||
$a->strings["Clear browser location"] = "Rimuovi la località data dal browser";
|
||||
$a->strings["clear location"] = "rimuovi la località";
|
||||
$a->strings["Set title"] = "Scegli un titolo";
|
||||
$a->strings["Categories (comma-separated list)"] = "Categorie (separate da virgola)";
|
||||
$a->strings["Permission settings"] = "Impostazioni permessi";
|
||||
$a->strings["permissions"] = "permessi";
|
||||
$a->strings["Public post"] = "Articolo pubblico";
|
||||
$a->strings["Example: bob@example.com, mary@example.com"] = "Per esempio: mario@esempio.com, simona@esempio.com";
|
||||
$a->strings["Set expiration date"] = "Data di scadenza";
|
||||
$a->strings["OK"] = "OK";
|
||||
$a->strings["Cancel"] = "Annulla";
|
||||
$a->strings["Commented Order"] = "Ultimi commenti";
|
||||
$a->strings["Sort by Comment Date"] = "Per data del commento";
|
||||
$a->strings["Posted Order"] = "Ultimi articoli";
|
||||
$a->strings["Sort by Post Date"] = "Per data di creazione";
|
||||
$a->strings["Personal"] = "Personali";
|
||||
$a->strings["Posts that mention or involve you"] = "Articoli che ti riguardano o ti menzionano";
|
||||
$a->strings["New"] = "Novità";
|
||||
$a->strings["Activity Stream - by date"] = "Elenco attività - per data";
|
||||
$a->strings["Starred"] = "Preferiti";
|
||||
$a->strings["Favourite Posts"] = "Articoli preferiti";
|
||||
$a->strings["Spam"] = "Spam";
|
||||
$a->strings["Posts flagged as SPAM"] = "Articoli marcati come spam";
|
||||
$a->strings["Channel"] = "Canale";
|
||||
$a->strings["Status Messages and Posts"] = "Articoli e messaggi di stato";
|
||||
$a->strings["About"] = "Informazioni";
|
||||
$a->strings["Profile Details"] = "Dettagli del profilo";
|
||||
$a->strings["Files"] = "Elenco file";
|
||||
$a->strings["Files and Storage"] = "Archivio file";
|
||||
$a->strings["Events and Calendar"] = "Calendario eventi";
|
||||
$a->strings["Webpages"] = "Pagine web";
|
||||
$a->strings["Manage Webpages"] = "Gestisci le pagine web";
|
||||
$a->strings["Invalid data packet"] = "Dati non validi";
|
||||
$a->strings["Unable to verify channel signature"] = "Impossibile verificare la firma elettronica del canale";
|
||||
$a->strings["Unable to verify site signature for %s"] = "Impossibile verificare la firma elettronica del sito %s";
|
||||
@ -790,6 +791,7 @@ $a->strings["Please visit my channel at"] = "Puoi visitare il mio canale su";
|
||||
$a->strings["Once you have registered (on ANY Red Matrix site - they are all inter-connected), please connect with my Red Matrix channel address:"] = "Una volta che avrai completato la registrazione (su QUALSIASI sito Red Matrix - sono tutti interconnessi), potrai connetterti al mio canale:";
|
||||
$a->strings["Click the [Register] link on the following page to join."] = "Fai clic su [Registrati] nella pagina seguente per iscriverti.";
|
||||
$a->strings["For more information about the Red Matrix Project and why it has the potential to change the internet as we know it, please visit http://getzot.com"] = "Per saperne di più sul progetto Red Matrix e sul perché potrebbe cambiare internet per come la conosciamo, visita http://getzot.com";
|
||||
$a->strings["Red Matrix - Guests: Username: {your email address}, Password: +++"] = "Red Matrix - Ospiti: Nome utente: {il tuo indirizzo email}, Password: +++";
|
||||
$a->strings["Could not access contact record."] = "Non è possibile accedere alle informazioni sul contatto.";
|
||||
$a->strings["Could not locate selected profile."] = "Non riesco a trovare il profilo selezionato.";
|
||||
$a->strings["Connection updated."] = "Contatto aggiornato.";
|
||||
@ -1095,7 +1097,6 @@ $a->strings["User '%s' blocked"] = "Utente '%s' bloccato";
|
||||
$a->strings["select all"] = "seleziona tutti";
|
||||
$a->strings["User registrations waiting for confirm"] = "Richieste di registrazione in attesa di conferma";
|
||||
$a->strings["Request date"] = "Data richiesta";
|
||||
$a->strings["Name"] = "Nome";
|
||||
$a->strings["No registrations."] = "Nessuna registrazione.";
|
||||
$a->strings["Approve"] = "Approva";
|
||||
$a->strings["Deny"] = "Nega";
|
||||
@ -1168,8 +1169,6 @@ $a->strings["Page owner information could not be retrieved."] = "Impossibile ott
|
||||
$a->strings["Album not found."] = "Album non trovato.";
|
||||
$a->strings["Delete Album"] = "Elimina album";
|
||||
$a->strings["Delete Photo"] = "Elimina foto";
|
||||
$a->strings["%1\$s was tagged in %2\$s by %3\$s"] = "%3\$s ha taggato %1\$s in %2\$s";
|
||||
$a->strings["a photo"] = "una foto";
|
||||
$a->strings["No photos selected"] = "Nessuna foto selezionata";
|
||||
$a->strings["Access to this item is restricted."] = "Questo elemento non è visibile a tutti.";
|
||||
$a->strings["You have used %1$.2f Mbytes of %2$.2f Mbytes photo storage."] = "Hai usato %1$.2f Mb di %2$.2f Mb disponibili per le foto.";
|
||||
@ -1401,6 +1400,7 @@ $a->strings["Protected email address. Cannot change to that email."] = "È un in
|
||||
$a->strings["System failure storing new email. Please try again."] = "Errore di sistema. Non è stato possibile memorizzare il tuo messaggio, riprova per favore.";
|
||||
$a->strings["Settings updated."] = "Impostazioni aggiornate.";
|
||||
$a->strings["Add application"] = "Aggiungi una app";
|
||||
$a->strings["Name"] = "Nome";
|
||||
$a->strings["Name of application"] = "Nome dell'applicazione";
|
||||
$a->strings["Consumer Key"] = "Consumer Key";
|
||||
$a->strings["Automatically generated - change if desired. Max length 20"] = "Generato automaticamente - è possibile cambiarlo. Lunghezza massima 20";
|
||||
@ -1500,6 +1500,7 @@ $a->strings["No secure communications available. You <strong>may</strong> be abl
|
||||
$a->strings["Send Reply"] = "Invia la risposta";
|
||||
$a->strings["Item not found"] = "Elemento non trovato";
|
||||
$a->strings["Edit Layout"] = "Modifica il layout";
|
||||
$a->strings["Delete layout?"] = "Vuoi eliminare questo layout?";
|
||||
$a->strings["Insert YouTube video"] = "Inserisci video da YouTube";
|
||||
$a->strings["Insert Vorbis [.ogg] video"] = "Inserisci video Vorbis [.ogg]";
|
||||
$a->strings["Insert Vorbis [.ogg] audio"] = "Inserisci audio Vorbis [.ogg]";
|
||||
@ -1551,12 +1552,12 @@ $a->strings["Friend suggestion sent."] = "Suggerimento di amicizia inviato.";
|
||||
$a->strings["Suggest Friends"] = "Suggerisci amici";
|
||||
$a->strings["Suggest a friend for %s"] = "Suggerisci un amico a %s";
|
||||
$a->strings["Edit Block"] = "Modifica il riquadro";
|
||||
$a->strings["Delete block?"] = "Vuoi eliminare questo riquadro?";
|
||||
$a->strings["Delete Block"] = "Elimina il riquadro";
|
||||
$a->strings["Invalid profile identifier."] = "Indentificativo del profilo non valido.";
|
||||
$a->strings["Profile Visibility Editor"] = "Modifica la visibilità del profilo";
|
||||
$a->strings["Click on a contact to add or remove."] = "Clicca su un contatto per aggiungerlo o rimuoverlo.";
|
||||
$a->strings["Visible To"] = "Visibile a";
|
||||
$a->strings["All Contacts (with secure profile access)"] = "Tutti i contatti (con accesso fidato al profilo)";
|
||||
$a->strings["Version %s"] = "Versione %s";
|
||||
$a->strings["Installed plugins/addons/apps:"] = "App e componenti aggiuntivi instalati:";
|
||||
$a->strings["No installed plugins/addons/apps"] = "Nessuna app o componente aggiuntivo installato";
|
||||
@ -1598,7 +1599,7 @@ $a->strings["This will completely remove this channel from the network. Once thi
|
||||
$a->strings["Please enter your password for verification:"] = "Inserisci la tua password per verifica:";
|
||||
$a->strings["Remove this channel and all its clones from the network"] = "Rimuovi questo canale e tutti i suoi cloni dalla rete";
|
||||
$a->strings["By default only the instance of the channel located on this hub will be removed from the network"] = "L'impostazione predefinita è che sia eliminata solo l'istanza del canale presente su questo hub, non gli eventuali cloni";
|
||||
$a->strings["Remove My Account"] = "Elimina il mio account";
|
||||
$a->strings["Remove Channel"] = "Elimina questo canale";
|
||||
$a->strings["Unable to locate original post."] = "Impossibile trovare il messaggio originale.";
|
||||
$a->strings["Empty post discarded."] = "L'articolo vuoto è stato ignorato.";
|
||||
$a->strings["Executable content type not permitted to this channel."] = "I contenuti eseguibili non sono permessi su questo canale.";
|
||||
|
16
view/js/mod_chat.js
Normal file
16
view/js/mod_chat.js
Normal file
@ -0,0 +1,16 @@
|
||||
$(document).ready(function() {
|
||||
|
||||
$('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
|
||||
var selstr;
|
||||
$('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
||||
selstr = $(this).text();
|
||||
$('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
||||
$('#jot-public').hide();
|
||||
});
|
||||
if(selstr == null) {
|
||||
$('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
||||
$('#jot-public').show();
|
||||
}
|
||||
|
||||
}).trigger('change');
|
||||
});
|
16
view/js/mod_filestorage.php
Normal file
16
view/js/mod_filestorage.php
Normal file
@ -0,0 +1,16 @@
|
||||
$(document).ready(function() {
|
||||
|
||||
$('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
|
||||
var selstr;
|
||||
$('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
|
||||
selstr = $(this).text();
|
||||
$('#jot-perms-icon').removeClass('unlock').addClass('lock');
|
||||
$('#jot-public').hide();
|
||||
});
|
||||
if(selstr == null) {
|
||||
$('#jot-perms-icon').removeClass('lock').addClass('unlock');
|
||||
$('#jot-public').show();
|
||||
}
|
||||
|
||||
}).trigger('change');
|
||||
});
|
3
view/pdl/mod_chat.pdl
Normal file
3
view/pdl/mod_chat.pdl
Normal file
@ -0,0 +1,3 @@
|
||||
[region=aside]
|
||||
[widget=profile][/widget]
|
||||
[/region]
|
58
view/tpl/chat.tpl
Normal file
58
view/tpl/chat.tpl
Normal file
@ -0,0 +1,58 @@
|
||||
<div id="chatContainer" style="height: 100%; width: 100%; position: absolute; right: 0; bottom: 0;">
|
||||
|
||||
<div id="chatTopBar" style="float: left; height: 80%;"></div>
|
||||
<div id="chatLineHolder"></div>
|
||||
|
||||
<div id="chatUsers" style="float: right; width: 120px; height: 100%; border: 1px solid #000;" ></div>
|
||||
|
||||
<div class="clear"></div>
|
||||
<div id="chatBottomBar" style="position: absolute; bottom: 0; height: 150px;">
|
||||
<div class="tip"></div>
|
||||
|
||||
<form id="chat-form" method="post" action="#">
|
||||
<input type="hidden" name="room_id" value="{{$room_id}}" />
|
||||
<textarea id="chatText" name="chat_text" rows=3 cols=80></textarea><br />
|
||||
<input type="submit" name="submit" value="{{$submit}}" />
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
var room_id = {{$room_id}};
|
||||
var last_chat = 0;
|
||||
var chat_timer = null;
|
||||
|
||||
$('#chat-form').submit(function(ev) {
|
||||
$('body').css('cursor','wait');
|
||||
$.post("chatsvc", $('#chat-form').serialize(),function(data) {
|
||||
if(chat_timer) clearTimeout(chat_timer);
|
||||
load_chats();
|
||||
$('body').css('cursor','auto');
|
||||
},'json');
|
||||
ev.preventDefault();
|
||||
});
|
||||
|
||||
function load_chats() {
|
||||
|
||||
$.get("chatsvc?f=&room_id=" + room_id + '&last=' + last_chat,function(data) {
|
||||
if(data.success) {
|
||||
update_inroom(data.inroom);
|
||||
update_chats(data.chats);
|
||||
});
|
||||
}
|
||||
|
||||
chat_timer = setTimeout(load_chats,10000);
|
||||
|
||||
}
|
||||
|
||||
function update_inroom(inroom) {
|
||||
|
||||
}
|
||||
|
||||
function update_chats(chats) {
|
||||
|
||||
}
|
||||
|
||||
</script>
|
12
view/tpl/chatroom_new.tpl
Normal file
12
view/tpl/chatroom_new.tpl
Normal file
@ -0,0 +1,12 @@
|
||||
<h1>{{$header}}</h1>
|
||||
|
||||
<form action="chat" method="post" >
|
||||
{{include file="field_input.tpl" field=$name}}
|
||||
<br />
|
||||
<br />
|
||||
{{$acl}}
|
||||
<div class="clear"></div>
|
||||
<input type="submit" name="submit" value="{{$submit}}" />
|
||||
</form>
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
{{if $items}}
|
||||
<table>
|
||||
{{foreach $items as $item}}
|
||||
<tr><td>{{$item.cr_name}}</td><td>{{$item.cr_inroom}}</td></tr>
|
||||
<tr><td align="left"><a href="{{$baseurl}}/chat/{{$nickname}}/{{$item.cr_id}}">{{$item.cr_name}}</a></td><td align="right">{{$item.cr_inroom}}</td></tr>
|
||||
{{/foreach}}
|
||||
</table>
|
||||
{{/if}}
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div class="clear"></div>
|
||||
<div class="body-attach">
|
||||
{{foreach $attaches as $a}}
|
||||
<a href="{{$a.url}}" title="{{$a.title}}" class="attachlink" ><i class="icon-paper-clip attach-icons attach-clip"></i><i class="{{$a.icon}} attach-icons"></i></a>
|
||||
{{/foreach}}
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user