This commit is contained in:
Thomas Willingham 2014-05-19 02:05:22 +01:00
commit b06fd69da8
10 changed files with 841 additions and 599 deletions

View File

@ -47,7 +47,7 @@ define ( 'RED_PLATFORM', 'Red Matrix' );
define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'R'); define ( 'RED_VERSION', trim(file_get_contents('version.inc')) . 'R');
define ( 'ZOT_REVISION', 1 ); define ( 'ZOT_REVISION', 1 );
define ( 'DB_UPDATE_VERSION', 1107 ); define ( 'DB_UPDATE_VERSION', 1109 );
define ( 'EOL', '<br />' . "\r\n" ); define ( 'EOL', '<br />' . "\r\n" );
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
@ -347,7 +347,7 @@ define ( 'DROPITEM_PHASE2', 2);
* Maximum number of "people who like (or don't like) this" that we will list by name * Maximum number of "people who like (or don't like) this" that we will list by name
*/ */
define ( 'MAX_LIKERS', 75); define ( 'MAX_LIKERS', 10);
/** /**
* Communication timeout * Communication timeout
@ -403,7 +403,6 @@ define ('HUBLOC_RECEIVE_ERROR', 0x0002);
define ('HUBLOC_WORKS', 0x0004); define ('HUBLOC_WORKS', 0x0004);
define ('HUBLOC_OFFLINE', 0x0008); define ('HUBLOC_OFFLINE', 0x0008);
/** /**
* Tag/term types * Tag/term types
*/ */
@ -424,6 +423,7 @@ define ( 'TERM_OBJ_PROFILE', 3 );
define ( 'TERM_OBJ_CHANNEL', 4 ); define ( 'TERM_OBJ_CHANNEL', 4 );
define ( 'TERM_OBJ_OBJECT', 5 ); define ( 'TERM_OBJ_OBJECT', 5 );
define ( 'TERM_OBJ_THING', 6 ); define ( 'TERM_OBJ_THING', 6 );
define ( 'TERM_OBJ_APP', 7 );
/** /**

View File

@ -125,11 +125,24 @@ class Item extends BaseObject {
$like_count = ((x($alike,$item['mid'])) ? $alike[$item['mid']] : ''); $like_count = ((x($alike,$item['mid'])) ? $alike[$item['mid']] : '');
$like_list = ((x($alike,$item['mid'])) ? $alike[$item['mid'] . '-l'] : ''); $like_list = ((x($alike,$item['mid'])) ? $alike[$item['mid'] . '-l'] : '');
if (count($like_list) > MAX_LIKERS) {
$like_list_part = array_slice($like_list, 0, MAX_LIKERS);
array_push($like_list_part, '<a href="#" data-toggle="modal" data-target="#likeModal-' . $this->get_id() . '"><b>' . t('View all') . '</b></a>');
} else {
$like_list_part = '';
}
$like_button_label = ((x($alike,$item['mid'])) && ($alike[$item['mid']] < 2 ) ? t('Like') : t('Likes')); $like_button_label = ((x($alike,$item['mid'])) && ($alike[$item['mid']] < 2 ) ? t('Like') : t('Likes'));
if (feature_enabled($conv->get_profile_owner(),'dislike')) { if (feature_enabled($conv->get_profile_owner(),'dislike')) {
$dislike_count = ((x($dlike,$item['mid'])) ? $dlike[$item['mid']] : ''); $dislike_count = ((x($dlike,$item['mid'])) ? $dlike[$item['mid']] : '');
$dislike_list = ((x($dlike,$item['mid'])) ? $dlike[$item['mid'] . '-l'] : ''); $dislike_list = ((x($dlike,$item['mid'])) ? $dlike[$item['mid'] . '-l'] : '');
$dislike_button_label = ((x($dlike,$item['mid'])) && ($dlike[$item['mid']] < 2) ? t('Dislike') : t('Dislikes')); $dislike_button_label = ((x($dlike,$item['mid'])) && ($dlike[$item['mid']] < 2) ? t('Dislike') : t('Dislikes'));
if (count($dislike_list) > MAX_LIKERS) {
$dislike_list_part = array_slice($dislike_list, 0, MAX_LIKERS);
array_push($dislike_list_part, '<a href="#" data-toggle="modal" data-target="#dislikeModal-' . $this->get_id() . '"><b>' . t('View all') . '</b></a>');
} else {
$dislike_list_part = '';
}
} }
$showlike = ((x($alike,$item['mid'])) ? format_like($alike[$item['mid']],$alike[$item['mid'] . '-l'],'like',$item['mid']) : ''); $showlike = ((x($alike,$item['mid'])) ? format_like($alike[$item['mid']],$alike[$item['mid'] . '-l'],'like',$item['mid']) : '');
@ -261,10 +274,15 @@ class Item extends BaseObject {
// end toolbar buttons // end toolbar buttons
'like_count' => $like_count, 'like_count' => $like_count,
'like_list' => $like_list, 'like_list' => $like_list,
'like_list_part' => $like_list_part,
'like_button_label' => $like_button_label, 'like_button_label' => $like_button_label,
'like_modal_title' => t('Likes'),
'dislike_modal_title' => t('Dislikes'),
'dislike_count' => ((feature_enabled($conv->get_profile_owner(),'dislike')) ? $dislike_count : ''), 'dislike_count' => ((feature_enabled($conv->get_profile_owner(),'dislike')) ? $dislike_count : ''),
'dislike_list' => ((feature_enabled($conv->get_profile_owner(),'dislike')) ? $dislike_list : ''), 'dislike_list' => ((feature_enabled($conv->get_profile_owner(),'dislike')) ? $dislike_list : ''),
'dislike_list_part' => ((feature_enabled($conv->get_profile_owner(),'dislike')) ? $dislike_list_part : ''),
'dislike_button_label' => ((feature_enabled($conv->get_profile_owner(),'dislike')) ? $dislike_button_label : ''), 'dislike_button_label' => ((feature_enabled($conv->get_profile_owner(),'dislike')) ? $dislike_button_label : ''),
'modal_dismiss' => t('Close'),
'showlike' => $showlike, 'showlike' => $showlike,
'showdislike' => $showdislike, 'showdislike' => $showdislike,
'comment' => $this->get_comment_box($indent), 'comment' => $this->get_comment_box($indent),

View File

@ -104,12 +104,101 @@ function parse_app_description($f) {
function translate_system_apps(&$arr) { function translate_system_apps(&$arr) {
$apps = array( 'Matrix' => t('Matrix'), 'Channel Home' => t('Channel Home'), 'Profile' => t('Profile'), $apps = array( 'Matrix' => t('Matrix'),
'Photos' => t('Photos'), 'Events' => t('Events'), 'Directory' => t('Directory'), 'Help' => t('Help') 'Channel Home' => t('Channel Home'),
'Profile' => t('Profile'),
'Photos' => t('Photos'),
'Events' => t('Events'),
'Directory' => t('Directory'),
'Help' => t('Help')
); );
if(array_key_exists($arr['name'],$apps)) if(array_key_exists($arr['name'],$apps))
$arr['name'] = $apps[$arr['name']]; $arr['name'] = $apps[$arr['name']];
}
function app_render($app) {
}
function app_install($uid,$app) {
}
function app_installed($uid,$app) {
$r = q("select id from app where app_id = '%s' and app_version = '%s' and app_channel = %d limit 1",
dbesc((array_key_exists('guid',$app)) ? $app['guid'] : ''),
dbesc((array_key_exists('version',$app)) ? $app['version'] : ''),
intval($uid)
);
return(($r) ? true : false);
}
function app_list($uid) {
$r = q("select * from app where app_channel = %d order by app_name asc",
intval($uid)
);
return($r);
}
function app_decode($s) {
$x = base64_decode($s);
return json_decode($x,true);
}
function app_store($arr) {
$darray = array();
$ret = array('success' => false);
$darray['app_url'] = ((x($arr,'url')) ? $arr['url'] : '');
$darray['app_channel'] = ((x($arr,'uid')) ? $arr['uid'] : 0);
if((! $darray['url']) || (! $darray['app_channel']))
return $ret;
$darray['app_id'] = ((x($arr,'guid')) ? $arr['guid'] : random_string());
$darray['app_sig'] = ((x($arr,'sig')) ? $arr['sig'] : '');
$darray['app_author'] = ((x($arr,'author')) ? $arr['author'] : get_observer_hash());
$darray['app_name'] = ((x($arr,'name')) ? escape_tags($arr['name']) : t('Unknown'));
$darray['app_desc'] = ((x($arr,'desc')) ? escape_tags($arr['desc']) : '');
$darray['app_photo'] = ((x($arr,'photo')) ? $arr['photo'] : z_root() . '/' . get_default_profile_photo(80));
$darray['app_version'] = ((x($arr,'version')) ? escape_tags($arr['version']) : '');
$r = q("insert into app ( app_id, app_sig, app_author, app_name, app_desc, app_url, app_photo, app_version, app_channel) values ( '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d )",
dbesc($darray['app_id']),
dbesc($darray['app_sig']),
dbesc($darray['app_author']),
dbesc($darray['app_name']),
dbesc($darray['app_desc']),
dbesc($darray['app_url']),
dbesc($darray['app_photo']),
dbesc($darray['app_version']),
intval($darray['app_channel'])
);
if($r)
$ret['success'] = true;
return $ret;
}
function app_update($arr) {
} }

View File

@ -82,6 +82,32 @@ CREATE TABLE IF NOT EXISTS `addon` (
KEY `installed` (`installed`) KEY `installed` (`installed`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `app` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`app_id` char(64) NOT NULL DEFAULT '',
`app_sig` char(255) NOT NULL DEFAULT '',
`app_author` char(255) NOT NULL DEFAULT '',
`app_name` char(255) NOT NULL DEFAULT '',
`app_desc` text NOT NULL,
`app_url` char(255) NOT NULL DEFAULT '',
`app_photo` char(255) NOT NULL DEFAULT '',
`app_version` char(255) NOT NULL DEFAULT '',
`app_channel` int(11) NOT NULL DEFAULT '0',
`app_addr` char(255) NOT NULL DEFAULT '',
`app_price` char(255) NOT NULL DEFAULT '',
`app_page` char(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`),
KEY `app_id` (`app_id`),
KEY `app_name` (`app_name`),
KEY `app_url` (`app_url`),
KEY `app_photo` (`app_photo`),
KEY `app_version` (`app_version`),
KEY `app_channel` (`app_channel`),
KEY `app_price` (`app_price`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `attach` ( CREATE TABLE IF NOT EXISTS `attach` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`aid` int(10) unsigned NOT NULL DEFAULT '0', `aid` int(10) unsigned NOT NULL DEFAULT '0',

View File

@ -1,6 +1,6 @@
<?php <?php
define( 'UPDATE_VERSION' , 1107 ); define( 'UPDATE_VERSION' , 1109 );
/** /**
* *
@ -1189,3 +1189,39 @@ function update_r1106() {
return UPDATE_FAILED; return UPDATE_FAILED;
} }
function update_r1107() {
$r = q("CREATE TABLE IF NOT EXISTS `app` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`app_id` char(64) NOT NULL DEFAULT '',
`app_sig` char(255) NOT NULL DEFAULT '',
`app_author` char(255) NOT NULL DEFAULT '',
`app_name` char(255) NOT NULL DEFAULT '',
`app_desc` text NOT NULL,
`app_url` char(255) NOT NULL DEFAULT '',
`app_photo` char(255) NOT NULL DEFAULT '',
`app_version` char(255) NOT NULL DEFAULT '',
`app_channel` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `app_id` (`app_id`),
KEY `app_name` (`app_name`),
KEY `app_url` (`app_url`),
KEY `app_photo` (`app_photo`),
KEY `app_version` (`app_version`),
KEY `app_channel` (`app_channel`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ");
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
function update_r11108() {
$r = q("ALTER TABLE `app` ADD `app_addr` CHAR( 255 ) NOT NULL DEFAULT '',
ADD `app_price` CHAR( 255 ) NOT NULL DEFAULT '',
ADD `app_page` CHAR( 255 ) NOT NULL DEFAULT '',
ADD INDEX ( `app_price` )");
if($r)
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}

View File

@ -1 +1 @@
2014-05-16.677 2014-05-18.679

File diff suppressed because it is too large Load Diff

View File

@ -7,6 +7,12 @@ function string_plural_select_it($n){
; ;
$a->strings["Cannot locate DNS info for database server '%s'"] = "Non trovo le informazioni DNS per il database server '%s'"; $a->strings["Cannot locate DNS info for database server '%s'"] = "Non trovo le informazioni DNS per il database server '%s'";
$a->strings["Profile Photos"] = "Foto del profilo"; $a->strings["Profile Photos"] = "Foto del profilo";
$a->strings["Matrix"] = "La tua rete";
$a->strings["Channel Home"] = "Bacheca del canale";
$a->strings["Profile"] = "Profilo";
$a->strings["Photos"] = "Foto";
$a->strings["Events"] = "Eventi";
$a->strings["Directory"] = "Tutti i canali";
$a->strings["Embedded content"] = "Contenuti incorporati"; $a->strings["Embedded content"] = "Contenuti incorporati";
$a->strings["Embedding disabled"] = "Contenuti incorporati - funzione disabilitata"; $a->strings["Embedding disabled"] = "Contenuti incorporati - funzione disabilitata";
$a->strings["created a new post"] = "Ha creato un nuovo articolo"; $a->strings["created a new post"] = "Ha creato un nuovo articolo";
@ -23,49 +29,6 @@ $a->strings["Page Link"] = "Link alla pagina";
$a->strings["Title"] = "Titolo"; $a->strings["Title"] = "Titolo";
$a->strings["Created"] = "Creato"; $a->strings["Created"] = "Creato";
$a->strings["Edited"] = "Modificato"; $a->strings["Edited"] = "Modificato";
$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["like"] = "mi piace";
$a->strings["I don't like this (toggle)"] = "Attiva/disattiva Non mi piace";
$a->strings["dislike"] = "non mi piace";
$a->strings["Share this"] = "Condividi";
$a->strings["share"] = "condividi";
$a->strings["View %s's profile - %s"] = "Guarda il profilo di %s - %s";
$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["Bookmark Links"] = "I link dei segnalibri";
$a->strings["Please wait"] = "Attendere";
$a->strings["%d comment"] = array(
0 => "%d commento",
1 => "%d commenti",
);
$a->strings["show more"] = "mostra tutto";
$a->strings["This is you"] = "Questo sei tu";
$a->strings["Comment"] = "Commento";
$a->strings["Submit"] = "Salva";
$a->strings["Bold"] = "Grassetto";
$a->strings["Italic"] = "Corsivo";
$a->strings["Underline"] = "Sottolineato";
$a->strings["Quote"] = "Citazione";
$a->strings["Code"] = "Codice";
$a->strings["Image"] = "Immagine";
$a->strings["Link"] = "Link";
$a->strings["Video"] = "Video";
$a->strings["Encrypt text"] = "Crittografia del testo";
$a->strings["Can view my \"public\" stream and posts"] = "Può vedere i miei contenuti \"pubblici\""; $a->strings["Can view my \"public\" stream and posts"] = "Può vedere i miei contenuti \"pubblici\"";
$a->strings["Can view my \"public\" channel profile"] = "Può vedere il profilo del mio canale \"pubblico\""; $a->strings["Can view my \"public\" channel profile"] = "Può vedere il profilo del mio canale \"pubblico\"";
$a->strings["Can view my \"public\" photo albums"] = "Può vedere il mio album fotografico \"pubblico\""; $a->strings["Can view my \"public\" photo albums"] = "Può vedere il mio album fotografico \"pubblico\"";
@ -144,6 +107,53 @@ $a->strings["QR code"] = "QR code";
$a->strings["%1\$s wrote the following %2\$s %3\$s"] = "%1\$s ha scritto %2\$s %3\$s"; $a->strings["%1\$s wrote the following %2\$s %3\$s"] = "%1\$s ha scritto %2\$s %3\$s";
$a->strings["post"] = "l'articolo"; $a->strings["post"] = "l'articolo";
$a->strings["$1 wrote:"] = "$1 ha scritto:"; $a->strings["$1 wrote:"] = "$1 ha scritto:";
$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["Like"] = "Mi piace";
$a->strings["Likes"] = "Mi piace";
$a->strings["Dislike"] = "Non mi piace";
$a->strings["Dislikes"] = "Non mi piace";
$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["like"] = "mi piace";
$a->strings["I don't like this (toggle)"] = "Attiva/disattiva Non mi piace";
$a->strings["dislike"] = "non mi piace";
$a->strings["Share this"] = "Condividi";
$a->strings["share"] = "condividi";
$a->strings["View %s's profile - %s"] = "Guarda il profilo di %s - %s";
$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["Bookmark Links"] = "I link dei segnalibri";
$a->strings["Please wait"] = "Attendere";
$a->strings["%d comment"] = array(
0 => "%d commento",
1 => "%d commenti",
);
$a->strings["show more"] = "mostra tutto";
$a->strings["This is you"] = "Questo sei tu";
$a->strings["Comment"] = "Commento";
$a->strings["Submit"] = "Salva";
$a->strings["Bold"] = "Grassetto";
$a->strings["Italic"] = "Corsivo";
$a->strings["Underline"] = "Sottolineato";
$a->strings["Quote"] = "Citazione";
$a->strings["Code"] = "Codice";
$a->strings["Image"] = "Immagine";
$a->strings["Link"] = "Link";
$a->strings["Video"] = "Video";
$a->strings["Encrypt text"] = "Crittografia del testo";
$a->strings["%1\$s's bookmarks"] = "I segnalibri di %1\$s"; $a->strings["%1\$s's bookmarks"] = "I segnalibri di %1\$s";
$a->strings["Missing room name"] = "Chat senza nome"; $a->strings["Missing room name"] = "Chat senza nome";
$a->strings["Duplicate room name"] = "Il nome della chat è duplicato"; $a->strings["Duplicate room name"] = "Il nome della chat è duplicato";
@ -380,11 +390,9 @@ $a->strings["Channel"] = "Canale";
$a->strings["Status Messages and Posts"] = "Articoli e messaggi di stato"; $a->strings["Status Messages and Posts"] = "Articoli e messaggi di stato";
$a->strings["About"] = "Informazioni"; $a->strings["About"] = "Informazioni";
$a->strings["Profile Details"] = "Dettagli del profilo"; $a->strings["Profile Details"] = "Dettagli del profilo";
$a->strings["Photos"] = "Foto";
$a->strings["Files"] = "Elenco file"; $a->strings["Files"] = "Elenco file";
$a->strings["Files and Storage"] = "Archivio file"; $a->strings["Files and Storage"] = "Archivio file";
$a->strings["Chatrooms"] = "Chat"; $a->strings["Chatrooms"] = "Chat";
$a->strings["Events"] = "Eventi";
$a->strings["Events and Calendar"] = "Calendario eventi"; $a->strings["Events and Calendar"] = "Calendario eventi";
$a->strings["Bookmarks"] = "Segnalibri"; $a->strings["Bookmarks"] = "Segnalibri";
$a->strings["Saved Bookmarks"] = "Segnalibri salvati"; $a->strings["Saved Bookmarks"] = "Segnalibri salvati";
@ -514,9 +522,6 @@ $a->strings["Channel was deleted and no longer exists."] = "Il canale è stato r
$a->strings["Channel discovery failed."] = "La ricerca del canale non ha avuto successo."; $a->strings["Channel discovery failed."] = "La ricerca del canale non ha avuto successo.";
$a->strings["local account not found."] = "l'account locale non è stato trovato."; $a->strings["local account not found."] = "l'account locale non è stato trovato.";
$a->strings["Cannot connect to yourself."] = "Non puoi connetterti a te stesso."; $a->strings["Cannot connect to yourself."] = "Non puoi connetterti a te stesso.";
$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";
$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["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 canali che inizi a seguire"; $a->strings["Default privacy group for new contacts"] = "Insieme predefinito per i canali che inizi a seguire";
$a->strings["All Channels"] = "Tutti i canali"; $a->strings["All Channels"] = "Tutti i canali";
@ -558,7 +563,6 @@ $a->strings["Birthdays this week:"] = "Compleanni questa settimana:";
$a->strings["[No description]"] = "[Nessuna descrizione]"; $a->strings["[No description]"] = "[Nessuna descrizione]";
$a->strings["Event Reminders"] = "Promemoria"; $a->strings["Event Reminders"] = "Promemoria";
$a->strings["Events this week:"] = "Eventi di questa settimana:"; $a->strings["Events this week:"] = "Eventi di questa settimana:";
$a->strings["Profile"] = "Profilo";
$a->strings["Full Name:"] = "Nome completo:"; $a->strings["Full Name:"] = "Nome completo:";
$a->strings["j F, Y"] = "j F Y"; $a->strings["j F, Y"] = "j F Y";
$a->strings["j F"] = "j F"; $a->strings["j F"] = "j F";
@ -601,6 +605,7 @@ $a->strings["everybody"] = "tutti";
$a->strings["Secret Passphrase"] = "Chiave segreta"; $a->strings["Secret Passphrase"] = "Chiave segreta";
$a->strings["Passphrase hint"] = "Suggerimento per la chiave segreta"; $a->strings["Passphrase hint"] = "Suggerimento per la chiave segreta";
$a->strings["Notice: Permissions have changed but have not yet been submitted."] = "Nota: i permessi sono stati modificati ma non ancora salvati."; $a->strings["Notice: Permissions have changed but have not yet been submitted."] = "Nota: i permessi sono stati modificati ma non ancora salvati.";
$a->strings["close all"] = "chiudi tutto";
$a->strings["timeago.prefixAgo"] = "timeago.prefixAgo"; $a->strings["timeago.prefixAgo"] = "timeago.prefixAgo";
$a->strings["timeago.prefixFromNow"] = "timeago.prefixFromNow"; $a->strings["timeago.prefixFromNow"] = "timeago.prefixFromNow";
$a->strings["ago"] = "fa"; $a->strings["ago"] = "fa";
@ -648,12 +653,9 @@ $a->strings["Help and documentation"] = "Guida e documentazione";
$a->strings["Apps"] = "Apps"; $a->strings["Apps"] = "Apps";
$a->strings["Addon applications, utilities, games"] = "App, strumenti e giochi aggiuntivi"; $a->strings["Addon applications, utilities, games"] = "App, strumenti e giochi aggiuntivi";
$a->strings["Search site content"] = "Cerca nel sito"; $a->strings["Search site content"] = "Cerca nel sito";
$a->strings["Directory"] = "Tutti i canali";
$a->strings["Channel Locator"] = "Ricerca canali"; $a->strings["Channel Locator"] = "Ricerca canali";
$a->strings["Matrix"] = "La tua rete";
$a->strings["Your matrix"] = "La tua rete"; $a->strings["Your matrix"] = "La tua rete";
$a->strings["Mark all matrix notifications seen"] = "Segna come lette le notifiche della tua rete"; $a->strings["Mark all matrix notifications seen"] = "Segna come lette le notifiche della tua rete";
$a->strings["Channel Home"] = "Bacheca del canale";
$a->strings["Channel home"] = "Bacheca del canale"; $a->strings["Channel home"] = "Bacheca del canale";
$a->strings["Mark all channel notifications seen"] = "Segna come lette le notifiche dei canali"; $a->strings["Mark all channel notifications seen"] = "Segna come lette le notifiche dei canali";
$a->strings["Connections"] = "Contatti"; $a->strings["Connections"] = "Contatti";
@ -742,7 +744,13 @@ $a->strings["It's complicated"] = "Relazione complicata";
$a->strings["Don't care"] = "Chi se ne frega"; $a->strings["Don't care"] = "Chi se ne frega";
$a->strings["Ask me"] = "Chiedimelo"; $a->strings["Ask me"] = "Chiedimelo";
$a->strings["Edit File properties"] = "Modifica le proprietà dei file"; $a->strings["Edit File properties"] = "Modifica le proprietà dei file";
$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";
$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["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["App Category"] = "Categorie App";
$a->strings["System"] = "Sistema";
$a->strings["Featured"] = "In evidenza";
$a->strings["Ignore/Hide"] = "Ignora/nascondi"; $a->strings["Ignore/Hide"] = "Ignora/nascondi";
$a->strings["Suggestions"] = "Suggerimenti"; $a->strings["Suggestions"] = "Suggerimenti";
$a->strings["See more..."] = "Altro..."; $a->strings["See more..."] = "Altro...";
@ -971,8 +979,6 @@ $a->strings["Please login to continue."] = "Accedi al sito per continuare.";
$a->strings["Do you want to authorize this application to access your posts and contacts, and/or create new posts for you?"] = "Vuoi autorizzare questa app ad accedere ai messaggi e ai contatti o creare nuovi messaggi per te?"; $a->strings["Do you want to authorize this application to access your posts and contacts, and/or create new posts for you?"] = "Vuoi autorizzare questa app ad accedere ai messaggi e ai contatti o creare nuovi messaggi per te?";
$a->strings["Remote authentication blocked. You are logged into this site locally. Please logout and retry."] = "L'autenticazione remota non è disponibile. Hai accesso solamente a questo sito. Puoi provare ad uscire per tentare di nuovo."; $a->strings["Remote authentication blocked. You are logged into this site locally. Please logout and retry."] = "L'autenticazione remota non è disponibile. Hai accesso solamente a questo sito. Puoi provare ad uscire per tentare di nuovo.";
$a->strings["Welcome %s. Remote authentication successful."] = "Ciao %s. La tua autenticazione da remoto è avvenuta con successo."; $a->strings["Welcome %s. Remote authentication successful."] = "Ciao %s. La tua autenticazione da remoto è avvenuta con successo.";
$a->strings["No installed applications."] = "Nessuna app installata.";
$a->strings["Applications"] = "Applicazioni";
$a->strings["Item not available."] = "Elemento non disponibile."; $a->strings["Item not available."] = "Elemento non disponibile.";
$a->strings["Fetching URL returns error: %1\$s"] = "La chiamata all'URL restituisce questo errore: %1\$s"; $a->strings["Fetching URL returns error: %1\$s"] = "La chiamata all'URL restituisce questo errore: %1\$s";
$a->strings["Invalid item."] = "Elemento non valido."; $a->strings["Invalid item."] = "Elemento non valido.";
@ -1006,8 +1012,6 @@ $a->strings["Profile unavailable to clone."] = "Impossibile duplicare il profilo
$a->strings["Profile Name is required."] = "Il nome del profilo è obbligatorio ."; $a->strings["Profile Name is required."] = "Il nome del profilo è obbligatorio .";
$a->strings["Marital Status"] = "Stato sentimentale"; $a->strings["Marital Status"] = "Stato sentimentale";
$a->strings["Romantic Partner"] = "Partner affettivo"; $a->strings["Romantic Partner"] = "Partner affettivo";
$a->strings["Likes"] = "Mi piace";
$a->strings["Dislikes"] = "Non mi piace";
$a->strings["Work/Employment"] = "Lavoro/impiego"; $a->strings["Work/Employment"] = "Lavoro/impiego";
$a->strings["Religion"] = "Religione"; $a->strings["Religion"] = "Religione";
$a->strings["Political Views"] = "Orientamento politico"; $a->strings["Political Views"] = "Orientamento politico";
@ -1082,6 +1086,7 @@ $a->strings["Description"] = "Descrizione";
$a->strings["Or enter new bookmark folder name"] = "O inserisci il nome di una nuova cartella di segnalibri"; $a->strings["Or enter new bookmark folder name"] = "O inserisci il nome di una nuova cartella di segnalibri";
$a->strings["Room not found"] = "Chat non trovata"; $a->strings["Room not found"] = "Chat non trovata";
$a->strings["Leave Room"] = "Lascia la chat"; $a->strings["Leave Room"] = "Lascia la chat";
$a->strings["Delete This Room"] = "Elimina questa chat";
$a->strings["I am away right now"] = "Non sono presente al momento"; $a->strings["I am away right now"] = "Non sono presente al momento";
$a->strings["I am online"] = "Sono online"; $a->strings["I am online"] = "Sono online";
$a->strings["Bookmark this room"] = "Aggiungi chat ai segnalibri"; $a->strings["Bookmark this room"] = "Aggiungi chat ai segnalibri";
@ -1430,11 +1435,11 @@ $a->strings["view/tpl/smarty3 is writable"] = "view/tpl/smarty3 è scrivibile";
$a->strings["Red uses the store directory to save uploaded files. The web server needs to have write access to the store directory under the Red top level folder"] = "Red usa un archivio per salvare i file caricati. Il server deve avere i diritti di scrittura sulla cartella dell'archivio che si trova dentro la cartella principale di Red"; $a->strings["Red uses the store directory to save uploaded files. The web server needs to have write access to the store directory under the Red top level folder"] = "Red usa un archivio per salvare i file caricati. Il server deve avere i diritti di scrittura sulla cartella dell'archivio che si trova dentro la cartella principale di Red";
$a->strings["store is writable"] = "l'archivio è scrivibile"; $a->strings["store is writable"] = "l'archivio è scrivibile";
$a->strings["SSL certificate cannot be validated. Fix certificate or disable https access to this site."] = "Il certificato SSL non può essere validato. Correggi l'errore o disabilita l'accesso https al sito."; $a->strings["SSL certificate cannot be validated. Fix certificate or disable https access to this site."] = "Il certificato SSL non può essere validato. Correggi l'errore o disabilita l'accesso https al sito.";
$a->strings["If you use https access, you MUST use a certification instance known by all internet browsers. You MUST NOT use self-signed certificates!"] = "Se abiliti https, DEVI usare un certificato riconosciuto da tutti i browser internet. NON DEVI usare certificati self-signed!"; $a->strings["If you have https access to your website or allow connections to TCP port 443 (the https: port), you MUST use a browser-valid certificate. You MUST NOT use self-signed certificates!"] = "Se abiliti https per il tuo sito o permetti connessioni TCP su port 443 (quella di https), DEVI usare un certificato riconosciuto dai browser internet. NON DEVI usare certificati generati da te!";
$a->strings["This restriction is incorporated because public posts from you may for example contain references to images on your own hub. If your"] = "Questa restrizione è necessaria perché i tuoi post pubblici potrebbero contenere riferimenti a immagini sul tuo server, per esempio."; $a->strings["This restriction is incorporated because public posts from you may for example contain references to images on your own hub."] = "Questa restrizione è necessaria perché i tuoi post pubblici potrebbero contenere riferimenti a immagini sul tuo server.";
$a->strings["certificate is not known by the internet browser of users they get a warning message complaining about some security issues. Although"] = "Se il tuo certificato non è riconosciuto dai browser, chi ti legge riceverà degli avvisi di sicurezza."; $a->strings["If your certificate is not recognised, members of other sites (who may themselves have valid certificates) will get a warning message on their own site complaining about security issues."] = "Se il tuo certificato non è riconosciuto, gli utenti che ti seguono da altri siti (che avranno certificati validi) riceveranno un avviso su possibili problemi di sicurezza.";
$a->strings["these complains are not the real truth - there are no security issues with your encryption! - the users may be confused, nerved or even"] = "Anche se questi avvisi non indicano problemi reali - la tua crittografia non ha veramente problemi di sicurezza! - gli utenti potrebbero restarne confusi o preoccupati."; $a->strings["This can cause usability issues elsewhere (not just on your own site) so we must insist on this requirement."] = "Ciò può creare gravi problemi di usabilità (non solo sul tuo sito), quindi dobbiamo insistere su questo punto.";
$a->strings["worse may become scared about redmatrix having security issues. Use one of the free certification instances!"] = "Oppure potrebbero anche pensare che sia redmatrix in generale ad avere problemi di sicurezza. Puoi usare un certificato gratuito!"; $a->strings["Providers are available that issue free certificates which are browser-valid."] = "Eventualmente, considera che esistono provider che rilasciano certificati gratuiti riconosciuti dai browser.";
$a->strings["SSL certificate validation"] = "Validazione del certificato SSL"; $a->strings["SSL certificate validation"] = "Validazione del certificato SSL";
$a->strings["Url rewrite in .htaccess is not working. Check your server configuration."] = "In .htaccess la funzionalità url rewrite non funziona. Controlla la configurazione del server."; $a->strings["Url rewrite in .htaccess is not working. Check your server configuration."] = "In .htaccess la funzionalità url rewrite non funziona. Controlla la configurazione del server.";
$a->strings["Url rewrite is working"] = "Url rewrite funziona correttamente"; $a->strings["Url rewrite is working"] = "Url rewrite funziona correttamente";
@ -1779,7 +1784,7 @@ $a->strings["Set the background image"] = "Immagine di sfondo";
$a->strings["Set the background colour of items"] = "Colore di sfondo degli elementi della pagina"; $a->strings["Set the background colour of items"] = "Colore di sfondo degli elementi della pagina";
$a->strings["Set the background colour of comments"] = "Imposta il colore di sfondo dei commenti"; $a->strings["Set the background colour of comments"] = "Imposta il colore di sfondo dei commenti";
$a->strings["Set the border colour of comments"] = "Imposta il colore del bordo dei commenti"; $a->strings["Set the border colour of comments"] = "Imposta il colore del bordo dei commenti";
$a->strings["Set the opacity of items"] = "Opacità degli oggetti"; $a->strings["Set the indent for comments"] = "Imposta il lo spostamento a destra dei commenti";
$a->strings["Set the basic colour for item icons"] = "Colore di base per le icone"; $a->strings["Set the basic colour for item icons"] = "Colore di base per le icone";
$a->strings["Set the hover colour for item icons"] = "Colore per le icone in evidenza"; $a->strings["Set the hover colour for item icons"] = "Colore per le icone in evidenza";
$a->strings["Set font-size for the entire application"] = "Dimensione font per tutto il sito"; $a->strings["Set font-size for the entire application"] = "Dimensione font per tutto il sito";

View File

@ -71,13 +71,13 @@
if (! $code_bgcolour) if (! $code_bgcolour)
$code_bgcolour = "#000"; $code_bgcolour = "#000";
if (! $code_txtcolour) if (! $code_txtcolour)
$code_txtcolour = "#bbb"; $code_txtcolour = "#fff";
if (! $pre_borderc) if (! $pre_borderc)
$pre_borderc = "#090909"; $pre_borderc = "#090909";
if (! $pre_bgcolour) if (! $pre_bgcolour)
$pre_bgcolour = "#000"; $pre_bgcolour = "#000";
if (! $pre_txtcolour) if (! $pre_txtcolour)
$pre_txtcolour = "#bbb"; $pre_txtcolour = "#fff";
if (! $item_bordercolour) if (! $item_bordercolour)
$item_bordercolour = "#333"; $item_bordercolour = "#333";
if (! $notif_itemcolour) if (! $notif_itemcolour)

View File

@ -103,16 +103,60 @@
{{if $item.like_count}} {{if $item.like_count}}
<div class="btn-group"> <div class="btn-group">
<button type="button" class="btn btn-default btn-sm wall-item-like dropdown-toggle" data-toggle="dropdown" id="wall-item-like-{{$item.id}}">{{$item.like_count}} {{$item.like_button_label}}</button> <button type="button" class="btn btn-default btn-sm wall-item-like dropdown-toggle" data-toggle="dropdown" id="wall-item-like-{{$item.id}}">{{$item.like_count}} {{$item.like_button_label}}</button>
{{if $item.like_list_part}}
<ul class="dropdown-menu" role="menu" aria-labelledby="wall-item-like-{{$item.id}}">{{foreach $item.like_list_part as $liker}}<li role="presentation">{{$liker}}</li>{{/foreach}}</ul>
{{else}}
<ul class="dropdown-menu" role="menu" aria-labelledby="wall-item-like-{{$item.id}}">{{foreach $item.like_list as $liker}}<li role="presentation">{{$liker}}</li>{{/foreach}}</ul> <ul class="dropdown-menu" role="menu" aria-labelledby="wall-item-like-{{$item.id}}">{{foreach $item.like_list as $liker}}<li role="presentation">{{$liker}}</li>{{/foreach}}</ul>
{{/if}}
</div> </div>
{{/if}} {{/if}}
{{if $item.dislike_count}} {{if $item.dislike_count}}
<div class="btn-group"> <div class="btn-group">
<button type="button" class="btn btn-default btn-sm wall-item-dislike dropdown-toggle" data-toggle="dropdown" id="wall-item-dislike-{{$item.id}}">{{$item.dislike_count}} {{$item.dislike_button_label}}</button> <button type="button" class="btn btn-default btn-sm wall-item-dislike dropdown-toggle" data-toggle="dropdown" id="wall-item-dislike-{{$item.id}}">{{$item.dislike_count}} {{$item.dislike_button_label}}</button>
{{if $item.dislike_list_part}}
<ul class="dropdown-menu" role="menu" aria-labelledby="wall-item-dislike-{{$item.id}}">{{foreach $item.dislike_list_part as $disliker}}<li role="presentation">{{$disliker}}</li>{{/foreach}}</ul>
{{else}}
<ul class="dropdown-menu" role="menu" aria-labelledby="wall-item-dislike-{{$item.id}}">{{foreach $item.dislike_list as $disliker}}<li role="presentation">{{$disliker}}</li>{{/foreach}}</ul> <ul class="dropdown-menu" role="menu" aria-labelledby="wall-item-dislike-{{$item.id}}">{{foreach $item.dislike_list as $disliker}}<li role="presentation">{{$disliker}}</li>{{/foreach}}</ul>
{{/if}}
</div> </div>
{{/if}} {{/if}}
</div> </div>
{{if $item.like_list_part}}
<div class="modal" id="likeModal-{{$item.id}}">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title">{{$item.like_modal_title}}</h4>
</div>
<div class="modal-body">
<ul>{{foreach $item.like_list as $liker}}<li role="presentation">{{$liker}}</li>{{/foreach}}</ul>
</div>
<div class="modal-footer clear">
<button type="button" class="btn btn-default" data-dismiss="modal">{{$item.modal_dismiss}}</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
{{/if}}
{{if $item.dislike_list_part}}
<div class="modal" id="dislikeModal-{{$item.id}}">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title">{{$item.dislike_modal_title}}</h4>
</div>
<div class="modal-body">
<ul>{{foreach $item.dislike_list as $disliker}}<li role="presentation">{{$disliker}}</li>{{/foreach}}</ul>
</div>
<div class="modal-footer clear">
<button type="button" class="btn btn-default" data-dismiss="modal">{{$item.modal_dismiss}}</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
{{/if}}
</div> </div>
{{* we dont' use this do we? {{* we dont' use this do we?
{{if $item.drop.pagedrop}} {{if $item.drop.pagedrop}}