Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge

This commit is contained in:
zotlabs 2016-11-22 14:18:58 -08:00
commit 11b4d98f37
14 changed files with 241 additions and 162 deletions

View File

@ -90,7 +90,10 @@ class Wiki extends \Zotlabs\Web\Controller {
// Not the channel owner // Not the channel owner
$owner_acl = $x = array(); $owner_acl = $x = array();
} }
$is_owner = ((local_channel()) && (local_channel() == \App::$profile['profile_uid']) ? true : false);
$o = profile_tabs($a, $is_owner, \App::$profile['channel_address']);
// Download a wiki // Download a wiki
if ((argc() > 3) && (argv(2) === 'download') && (argv(3) === 'wiki')) { if ((argc() > 3) && (argv(2) === 'download') && (argv(3) === 'wiki')) {
$resource_id = argv(4); $resource_id = argv(4);
@ -122,18 +125,33 @@ class Wiki extends \Zotlabs\Web\Controller {
switch (argc()) { switch (argc()) {
case 2: case 2:
// Configure page template $wikis = wiki_list($owner, get_observer_hash());
$wikiheaderName = t('Wiki'); if ($wikis) {
$wikiheaderPage = t('Sandbox'); $o .= replace_macros(get_markup_template('wikilist.tpl'), array(
require_once('library/markdown.php'); '$header' => t('Wikis'),
$content = t('"# Wiki Sandbox\n\nContent you **edit** and **preview** here *will not be saved*."'); '$channel' => $owner['channel_address'],
$renderedContent = Markdown(json_decode($content)); '$wikis' => $wikis['wikis'],
$hide_editor = true; // If the observer is the local channel owner, show the wiki controls
$showPageControls = false; '$owner' => ((local_channel() && local_channel() === intval(\App::$profile['uid'])) ? true : false),
$showNewWikiButton = $wiki_owner; '$edit' => t('Edit'),
$showNewPageButton = false; '$download' => t('Download'),
$hidePageHistory = true; '$view' => t('View'),
$showCommitMsg = false; '$create' => t('Create New'),
'$submit' => t('Submit'),
'$wikiName' => array('wikiName', t('Wiki name')),
'$name' => t('Name'),
'$lockstate' => $x['lockstate'],
'$acl' => $x['acl'],
'$allow_cid' => $x['allow_cid'],
'$allow_gid' => $x['allow_gid'],
'$deny_cid' => $x['deny_cid'],
'$deny_gid' => $x['deny_gid'],
'$notify' => array('postVisible', t('Create a status post for this wiki'), '', '', array(t('No'), t('Yes')))
));
return $o;
}
break; break;
case 3: case 3:
// /wiki/channel/wiki -> No page was specified, so redirect to Home.md // /wiki/channel/wiki -> No page was specified, so redirect to Home.md
@ -201,11 +219,6 @@ class Wiki extends \Zotlabs\Web\Controller {
) )
); );
$is_owner = ((local_channel()) && (local_channel() == \App::$profile['profile_uid']) ? true : false);
$o .= profile_tabs($a, $is_owner, \App::$profile['channel_address']);
$o .= replace_macros(get_markup_template('wiki.tpl'),array( $o .= replace_macros(get_markup_template('wiki.tpl'),array(
'$wikiheaderName' => $wikiheaderName, '$wikiheaderName' => $wikiheaderName,
'$wikiheaderPage' => $wikiheaderPage, '$wikiheaderPage' => $wikiheaderPage,

View File

@ -1752,7 +1752,7 @@ function profile_tabs($a, $is_owner = false, $nickname = null){
if(feature_enabled($uid,'wiki') && (get_account_techlevel($account_id) > 3)) { if(feature_enabled($uid,'wiki') && (get_account_techlevel($account_id) > 3)) {
$tabs[] = array( $tabs[] = array(
'label' => t('Wiki'), 'label' => t('Wikis'),
'url' => z_root() . '/wiki/' . $nickname, 'url' => z_root() . '/wiki/' . $nickname,
'sel' => ((argv(0) == 'wiki') ? 'active' : ''), 'sel' => ((argv(0) == 'wiki') ? 'active' : ''),
'title' => t('Wiki'), 'title' => t('Wiki'),

View File

@ -108,7 +108,7 @@ EOT;
if(feature_enabled($channel['channel_id'],'webpages') && (! $basic)) if(feature_enabled($channel['channel_id'],'webpages') && (! $basic))
$nav['usermenu'][] = Array('webpages/' . $channel['channel_address'],t('Webpages'),"",t('Your webpages'),'webpages_nav_btn'); $nav['usermenu'][] = Array('webpages/' . $channel['channel_address'],t('Webpages'),"",t('Your webpages'),'webpages_nav_btn');
if(feature_enabled($channel['channel_id'],'wiki') && (! $basic)) if(feature_enabled($channel['channel_id'],'wiki') && (! $basic))
$nav['usermenu'][] = Array('wiki/' . $channel['channel_address'],t('Wiki'),"",t('Your wiki'),'wiki_nav_btn'); $nav['usermenu'][] = Array('wiki/' . $channel['channel_address'],t('Wikis'),"",t('Your wikis'),'wiki_nav_btn');
} }
else { else {
if(! get_account_id()) { if(! get_account_id()) {
@ -127,26 +127,24 @@ EOT;
); );
} }
if($observer) {
$nav['lock'] = array('logout','','lock',
sprintf( t('%s - click to logout'), $observer['xchan_addr']));
}
elseif(! $_SESSION['authenticated']) { elseif(! $_SESSION['authenticated']) {
$nav['loginmenu'][] = Array('rmagic',t('Remote authentication'),'',t('Click to authenticate to your home hub'),'rmagic_nav_btn'); $nav['loginmenu'][] = Array('rmagic',t('Remote authentication'),'',t('Click to authenticate to your home hub'),'rmagic_nav_btn');
} }
/**
* "Home" should also take you home from an authenticated remote profile connection
*/
$homelink = get_my_url(); $homelink = get_my_url();
if(! $homelink) { if(! $homelink) {
$observer = App::get_observer(); $observer = App::get_observer();
$homelink = (($observer) ? $observer['xchan_url'] : ''); $homelink = (($observer) ? $observer['xchan_url'] : '');
} }
if(! local_channel()) if(! local_channel()) {
$nav['home'] = array($homelink, t('Home'), "", t('Home Page'),'home_nav_btn'); $nav['rusermenu'] = array(
$homelink,
t('Get me home'),
'logout',
t('Log me out of this site')
);
}
if(((get_config('system','register_policy') == REGISTER_OPEN) || (get_config('system','register_policy') == REGISTER_APPROVE)) && (! $_SESSION['authenticated'])) if(((get_config('system','register_policy') == REGISTER_OPEN) || (get_config('system','register_policy') == REGISTER_APPROVE)) && (! $_SESSION['authenticated']))
$nav['register'] = array('register',t('Register'), "", t('Create an account'),'register_nav_btn'); $nav['register'] = array('register',t('Register'), "", t('Create an account'),'register_nav_btn');

View File

@ -386,7 +386,7 @@ function get_things($profile_hash,$uid) {
$things[$k] = null; $things[$k] = null;
foreach($r as $rr) { foreach($r as $rr) {
$l = q("select xchan_name, xchan_photo_s, xchan_url from likes left join xchan on likee = xchan_hash where $l = q("select xchan_name, xchan_photo_s, xchan_url from likes left join xchan on liker = xchan_hash where
target_type = '%s' and target_id = '%s' and channel_id = %d", target_type = '%s' and target_id = '%s' and channel_id = %d",
dbesc(ACTIVITY_OBJ_THING), dbesc(ACTIVITY_OBJ_THING),
dbesc($rr['obj_obj']), dbesc($rr['obj_obj']),

View File

@ -956,7 +956,7 @@ function widget_wiki_list($arr) {
} }
} }
if ($wikis) { if ($wikis) {
return replace_macros(get_markup_template('wikilist.tpl'), array( return replace_macros(get_markup_template('wikilist_widget.tpl'), array(
'$header' => t('Wiki List'), '$header' => t('Wiki List'),
'$channel' => $channel['channel_address'], '$channel' => $channel['channel_address'],
'$wikis' => $wikis['wikis'], '$wikis' => $wikis['wikis'],

40
view/css/mod_wiki.css Normal file
View File

@ -0,0 +1,40 @@
#ace-editor {
position: relative;
width: 100%;
height: 500px;
}
.fade.in {
-webkit-transition: opacity 0.5s 0.5s ease;
-moz-transition: opacity 0.5s 0.5s ease;
-o-transition: opacity 0.5s 0.5s ease;
transition: opacity 0.5s 0.5s ease;
}
#new-wiki-form-wrapper {
display: none;
}
#wikis-index {
width: 100%;
}
#wikis-index th:nth-child(1),
#wikis-index td:nth-child(1){
padding: 7px 3px 7px 10px;
}
#wikis-index th:nth-child(2),
#wikis-index td:nth-child(2){
padding: 7px 10px 7px 7px;
}
#wikis-index th:nth-child(3),
#wikis-index td:nth-child(3){
padding: 7px 10px 7px 7px;
}
.wikis-index-tool {
padding: 7px 10px;
}

View File

@ -14,7 +14,7 @@ msgstr ""
"Project-Id-Version: Redmatrix\n" "Project-Id-Version: Redmatrix\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-11-18 00:04-0800\n" "POT-Creation-Date: 2016-11-18 00:04-0800\n"
"PO-Revision-Date: 2016-11-19 10:04+0000\n" "PO-Revision-Date: 2016-11-20 09:13+0000\n"
"Last-Translator: Manuel Jiménez Friaza <mjfriaza@openmailbox.org>\n" "Last-Translator: Manuel Jiménez Friaza <mjfriaza@openmailbox.org>\n"
"Language-Team: Spanish (Spain) (http://www.transifex.com/Friendica/red-matrix/language/es_ES/)\n" "Language-Team: Spanish (Spain) (http://www.transifex.com/Friendica/red-matrix/language/es_ES/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -168,7 +168,7 @@ msgstr "Se puede chatear conmigo"
#: ../../Zotlabs/Access/Permissions.php:44 ../../include/permissions.php:53 #: ../../Zotlabs/Access/Permissions.php:44 ../../include/permissions.php:53
msgid "Can source my public posts in derived channels" msgid "Can source my public posts in derived channels"
msgstr "Pueden utilizarse mis publicaciones públicas como origen de contenidos en canales derivados" msgstr "Pueden utilizarse mis entradas públicas como origen de contenidos en canales derivados"
#: ../../Zotlabs/Access/Permissions.php:45 #: ../../Zotlabs/Access/Permissions.php:45
msgid "Can administer my channel" msgid "Can administer my channel"
@ -5234,7 +5234,7 @@ msgid ""
"This software uses the store directory to save uploaded files. The web " "This software uses the store directory to save uploaded files. The web "
"server needs to have write access to the store directory under the Red top " "server needs to have write access to the store directory under the Red top "
"level folder" "level folder"
msgstr "Este software utiliza el directorio de almacenamiento para guardar los archivos subidos. El servidor web debe tener acceso de escritura al directorio de almacenamiento en la carpeta de nivel superior" msgstr "Este software utiliza el directorio de almacenamiento para guardar los ficheros subidos. El servidor web debe tener acceso de escritura al directorio de almacenamiento en la carpeta de nivel superior"
#: ../../Zotlabs/Module/Setup.php:608 #: ../../Zotlabs/Module/Setup.php:608
msgid "store is writable" msgid "store is writable"
@ -5257,7 +5257,7 @@ msgstr "Si su servidor soporta conexiones cifradas SSL o si permite conexiones a
msgid "" msgid ""
"This restriction is incorporated because public posts from you may for " "This restriction is incorporated because public posts from you may for "
"example contain references to images on your own hub." "example contain references to images on your own hub."
msgstr "Se ha incorporado esta restricción para evitar que sus publicaciones públicas hagan referencia a imágenes en su propio servidor." msgstr "Se ha incorporado esta restricción para evitar que sus entradas públicas hagan referencia a imágenes en su propio servidor."
#: ../../Zotlabs/Module/Setup.php:644 #: ../../Zotlabs/Module/Setup.php:644
msgid "" msgid ""
@ -5861,7 +5861,7 @@ msgstr "Error al recuperar el wiki"
#: ../../Zotlabs/Module/Wiki.php:105 #: ../../Zotlabs/Module/Wiki.php:105
msgid "Error creating zip file export folder" msgid "Error creating zip file export folder"
msgstr "Error al crear el fichero comprimido zip de la carpeta de exportación" msgstr "Error al crear el fichero comprimido zip de la carpeta a exportar"
#: ../../Zotlabs/Module/Wiki.php:126 ../../Zotlabs/Lib/Apps.php:219 #: ../../Zotlabs/Module/Wiki.php:126 ../../Zotlabs/Lib/Apps.php:219
#: ../../include/features.php:99 ../../include/nav.php:111 #: ../../include/features.php:99 ../../include/nav.php:111
@ -6608,7 +6608,7 @@ msgstr "%Y - año en curso, %m - mes actual"
#: ../../Zotlabs/Module/Settings/Channel.php:541 #: ../../Zotlabs/Module/Settings/Channel.php:541
msgid "Default file upload folder" msgid "Default file upload folder"
msgstr "Carpeta por defecto de los archivos subidos" msgstr "Carpeta por defecto de los ficheros subidos"
#: ../../Zotlabs/Module/Settings/Channel.php:543 #: ../../Zotlabs/Module/Settings/Channel.php:543
msgid "Personal menu to display in your channel pages" msgid "Personal menu to display in your channel pages"
@ -7513,7 +7513,7 @@ msgid ""
"Chord names start with a root note (A-G) and may include sharps (#) and " "Chord names start with a root note (A-G) and may include sharps (#) and "
"flats (b). This software will parse most of the standard naming conventions " "flats (b). This software will parse most of the standard naming conventions "
"such as maj, min, dim, sus(2 or 4), aug, with optional repeating elements." "such as maj, min, dim, sus(2 or 4), aug, with optional repeating elements."
msgstr "Los nombres de acordes comienzan con una nota fundamental (La-Sol) y pueden incluir bemoles (#) y sostenidos (b). Este software analizará la mayor parte de las convenciones de nomenclatura estándar como maj, min, tenue, SUS (2 ó 4), aug, con la repetición de elementos opcionales." msgstr "Los nombres de acordes comienzan con una nota fundamental (La-Sol) y pueden incluir sostenidos (#) y bemoles (b). Este software analizará la mayor parte de las convenciones de nomenclatura estándar como maj, min, tenue, SUS (2 ó 4), aug, con la repetición de elementos opcionales."
#: ../../extend/addon/addon/chords/Mod_Chords.php:48 #: ../../extend/addon/addon/chords/Mod_Chords.php:48
msgid "" msgid ""
@ -7744,7 +7744,7 @@ msgstr "Usuario en Flattr"
#: ../../extend/addon/addon/flattrwidget/flattrwidget.php:104 #: ../../extend/addon/addon/flattrwidget/flattrwidget.php:104
msgid "URL of the Thing to flattr" msgid "URL of the Thing to flattr"
msgstr "URL de la Cosa para flattr" msgstr "URL de la Cosa para apoyar en flattr"
#: ../../extend/addon/addon/flattrwidget/flattrwidget.php:104 #: ../../extend/addon/addon/flattrwidget/flattrwidget.php:104
msgid "If empty channel URL is used" msgid "If empty channel URL is used"
@ -7752,7 +7752,7 @@ msgstr "Si está vacío, se usa la URL del canal"
#: ../../extend/addon/addon/flattrwidget/flattrwidget.php:108 #: ../../extend/addon/addon/flattrwidget/flattrwidget.php:108
msgid "Title of the Thing to flattr" msgid "Title of the Thing to flattr"
msgstr "Título de la Cosa para flattr" msgstr "Título de la Cosa para apoyar en flattr"
#: ../../extend/addon/addon/flattrwidget/flattrwidget.php:108 #: ../../extend/addon/addon/flattrwidget/flattrwidget.php:108
msgid "If empty \"channel name on The Hubzilla\" will be used" msgid "If empty \"channel name on The Hubzilla\" will be used"
@ -8003,7 +8003,7 @@ msgstr "Ocultar este contacto"
#: ../../extend/addon/addon/friendica/dfrn_request.php:705 #: ../../extend/addon/addon/friendica/dfrn_request.php:705
#, php-format #, php-format
msgid "Welcome home %s." msgid "Welcome home %s."
msgstr "Bienvenido a casa %s." msgstr "Bienvenido a la página de inicio %s."
#: ../../extend/addon/addon/friendica/dfrn_request.php:706 #: ../../extend/addon/addon/friendica/dfrn_request.php:706
#, php-format #, php-format
@ -8289,7 +8289,7 @@ msgstr "Ha fallado"
#: ../../extend/addon/addon/js_upload/js_upload.php:315 #: ../../extend/addon/addon/js_upload/js_upload.php:315
msgid "No files were uploaded." msgid "No files were uploaded."
msgstr "No se han subido archivos." msgstr "No se han subido ficheros."
#: ../../extend/addon/addon/js_upload/js_upload.php:322 #: ../../extend/addon/addon/js_upload/js_upload.php:322
msgid "Uploaded file is empty" msgid "Uploaded file is empty"
@ -8497,7 +8497,7 @@ msgstr "una bofetada humillante"
#: ../../extend/addon/addon/morepokes/morepokes.php:19 #: ../../extend/addon/addon/morepokes/morepokes.php:19
msgid "bitchslapped" msgid "bitchslapped"
msgstr "ha abofeteado/a de forma humillante a" msgstr "ha abofeteado de forma humillante a"
#: ../../extend/addon/addon/morepokes/morepokes.php:20 #: ../../extend/addon/addon/morepokes/morepokes.php:20
msgid "shag" msgid "shag"
@ -8784,7 +8784,7 @@ msgstr "Tal como se ingresaron"
#: ../../extend/addon/addon/openclipatar/openclipatar.php:66 #: ../../extend/addon/addon/openclipatar/openclipatar.php:66
msgid "Order of other" msgid "Order of other"
msgstr "Orden de otro tipo" msgstr "Orden de los demás"
#: ../../extend/addon/addon/openclipatar/openclipatar.php:66 #: ../../extend/addon/addon/openclipatar/openclipatar.php:66
msgid "Sort order of other clipart ids." msgid "Sort order of other clipart ids."
@ -9326,7 +9326,7 @@ msgid ""
"details from unknown viewers?</em>) the link potentially included in public " "details from unknown viewers?</em>) the link potentially included in public "
"postings relayed to GNU social will lead the visitor to a blank page " "postings relayed to GNU social will lead the visitor to a blank page "
"informing the visitor that the access to your profile has been restricted." "informing the visitor that the access to your profile has been restricted."
msgstr "<strong>Aviso</strong>: Debido a su configuración de privacidad (<em>Ocultar los detalles de su perfil a los visitantes desconocidos?</em>) el vínculo potencialmente incluido en las publicaciones públicas retransmitidas a GNU social llevará al visitante a una página en blanco que le informará de que el acceso a su perfil ha sido restringido." msgstr "<strong>Aviso</strong>: Debido a su configuración de privacidad (<em>Ocultar los detalles de su perfil a los visitantes desconocidos?</em>) el vínculo potencialmente incluido en las entradas públicas retransmitidas a GNU social llevará al visitante a una página en blanco que le informará de que el acceso a su perfil ha sido restringido."
#: ../../extend/addon/addon/statusnet/statusnet.php:411 #: ../../extend/addon/addon/statusnet/statusnet.php:411
msgid "Allow posting to GNU social" msgid "Allow posting to GNU social"
@ -9596,7 +9596,7 @@ msgstr "Si ve este icono puede estar seguro de que el remitente es quien dice se
msgid "" msgid ""
"Danger! It seems someone tried to forge a message! This message is not " "Danger! It seems someone tried to forge a message! This message is not "
"necessarily from who it says it is from!" "necessarily from who it says it is from!"
msgstr "¡Peligro! ¡Parece que alguien intentó forjar un mensaje! ¡Este mensaje no es necesariamente de quien dice que es!" msgstr "¡Peligro! ¡Parece que alguien intentó falsificar un mensaje! ¡Este mensaje no es necesariamente de quien dice que es!"
#: ../../extend/addon/addon/tour/tour.php:125 #: ../../extend/addon/addon/tour/tour.php:125
msgid "" msgid ""
@ -9643,7 +9643,7 @@ msgid ""
"details from unknown viewers?</em>) the link potentially included in public " "details from unknown viewers?</em>) the link potentially included in public "
"postings relayed to Twitter will lead the visitor to a blank page informing " "postings relayed to Twitter will lead the visitor to a blank page informing "
"the visitor that the access to your profile has been restricted." "the visitor that the access to your profile has been restricted."
msgstr "<strong>Aviso:</strong> Debido a su configuración de privacidad (<em>Ocultar los detalles de su perfil a los visitantes desconocidos?</em>), el enlace potencialmente incluido en las publicaciones públicas retransmitidas a Twitter llevará al visitante a una página en blanco informándolo de que el acceso a su perfil ha sido restringido." msgstr "<strong>Aviso:</strong> Debido a su configuración de privacidad (<em>Ocultar los detalles de su perfil a los visitantes desconocidos?</em>), el enlace potencialmente incluido en las entradas públicas retransmitidas a Twitter llevará al visitante a una página en blanco informándolo de que el acceso a su perfil ha sido restringido."
#: ../../extend/addon/addon/twitter/twitter.php:242 #: ../../extend/addon/addon/twitter/twitter.php:242
msgid "Allow posting to Twitter" msgid "Allow posting to Twitter"
@ -9924,15 +9924,15 @@ msgstr "Fecha y hora de finalización"
#: ../../extend/addon/addon/cdav/Mod_Cdav.php:848 #: ../../extend/addon/addon/cdav/Mod_Cdav.php:848
msgid "List month" msgid "List month"
msgstr "Mes de la lista" msgstr "Lista mensual"
#: ../../extend/addon/addon/cdav/Mod_Cdav.php:849 #: ../../extend/addon/addon/cdav/Mod_Cdav.php:849
msgid "List week" msgid "List week"
msgstr "Semana de la lista" msgstr "Lista semanal"
#: ../../extend/addon/addon/cdav/Mod_Cdav.php:850 #: ../../extend/addon/addon/cdav/Mod_Cdav.php:850
msgid "List day" msgid "List day"
msgstr "Día de la lista" msgstr "Lista diaria"
#: ../../extend/addon/addon/cdav/Mod_Cdav.php:857 #: ../../extend/addon/addon/cdav/Mod_Cdav.php:857
msgid "More" msgid "More"
@ -10277,7 +10277,7 @@ msgstr "Token de acceso de Mapbox"
msgid "" msgid ""
"If you enter a Mapbox access token, it will be used to retrieve map tiles " "If you enter a Mapbox access token, it will be used to retrieve map tiles "
"from Mapbox instead of the default OpenStreetMap tile server." "from Mapbox instead of the default OpenStreetMap tile server."
msgstr "Si introduce un token de acceso a Mapbox, se utilizará para recuperar los mapas de mosaicos de imágenes de Mapbox en lugar del servidor de mosaicode imágenes OpenStreetMap predeterminado." msgstr "Si introduce un token de acceso a Mapbox, se utilizará para recuperar los mapas de mosaicos de imágenes de Mapbox en lugar del servidor de mosaico de imágenes OpenStreetMap predeterminado."
#: ../../extend/addon/addon/rendezvous/rendezvous.php:122 #: ../../extend/addon/addon/rendezvous/rendezvous.php:122
msgid "Rendezvous" msgid "Rendezvous"
@ -10333,7 +10333,7 @@ msgstr "Editar alerta de proximidad"
msgid "" msgid ""
"A proximity alert will be issued when this member is within a certain radius" "A proximity alert will be issued when this member is within a certain radius"
" of you.<br><br>Enter a radius in meters (0 to disable):" " of you.<br><br>Enter a radius in meters (0 to disable):"
msgstr "Se emitirá una alerta de proximidad cuando este miembro esté dentro de un cierto radio respecto a usted.<br><br> Ingrese el radio en metros (0 para deshabilitar):" msgstr "Se emitirá una alerta de proximidad cuando este miembro esté dentro de un radio determinado respecto a usted.<br><br> Ingrese el radio en metros (0 para deshabilitar):"
#: ../../extend/addon/addon/rendezvous/rendezvous.php:140 #: ../../extend/addon/addon/rendezvous/rendezvous.php:140
msgid "distance" msgid "distance"
@ -10349,7 +10349,7 @@ msgid ""
"invite to the group. Those who open the link become members of the " "invite to the group. Those who open the link become members of the "
"rendezvous. They can view other member locations, add markers to the map, or" "rendezvous. They can view other member locations, add markers to the map, or"
" share their own locations with the group." " share their own locations with the group."
msgstr "Cree una nueva cita y comparta los enlaces de acceso con los que desea invitar al grupo. Aquellos que abren el enlace se convierten en miembros de la cita. Pueden ver otras ubicaciones de miembros, añadir marcadores al mapa o compartir sus propias ubicaciones con el grupo." msgstr "Cree una nueva cita y comparta los enlaces de acceso con los que desea invitar al grupo. Aquellos que abran el enlace se convertirán en miembros de la cita. Pueden ver otras ubicaciones de miembros, añadir marcadores al mapa o compartir sus propias ubicaciones con el grupo."
#: ../../include/Import/import_diaspora.php:16 #: ../../include/Import/import_diaspora.php:16
msgid "No username found in import file." msgid "No username found in import file."
@ -10813,7 +10813,7 @@ msgstr "Deshabilitar comentarios"
#: ../../include/features.php:223 #: ../../include/features.php:223
msgid "Provide the option to disable comments for a post" msgid "Provide the option to disable comments for a post"
msgstr "Proporcionar la opción de desactivar los comentarios de una publicación" msgstr "Proporcionar la opción de desactivar los comentarios para una entrada"
#: ../../include/features.php:231 #: ../../include/features.php:231
msgid "Delayed Posting" msgid "Delayed Posting"
@ -12155,11 +12155,11 @@ msgstr "sitio_web.zip"
#: ../../include/text.php:2302 #: ../../include/text.php:2302
msgid "Enter a name for the zip file." msgid "Enter a name for the zip file."
msgstr "Escribir un nombre para el fichero .zip." msgstr "Escriba un nombre para el fichero zip."
#: ../../include/text.php:2303 #: ../../include/text.php:2303
msgid "Export to cloud files" msgid "Export to cloud files"
msgstr "Exportar a los ficheros en la nube" msgstr "Exportar a la nube de ficheros"
#: ../../include/text.php:2304 #: ../../include/text.php:2304
msgid "/path/to/export/folder" msgid "/path/to/export/folder"
@ -12167,7 +12167,7 @@ msgstr "/ruta/para/exportar/carpeta"
#: ../../include/text.php:2305 #: ../../include/text.php:2305
msgid "Enter a path to a cloud files destination." msgid "Enter a path to a cloud files destination."
msgstr "Escribir una ruta de destino para los ficheros en la nube" msgstr "Escriba una ruta de destino a la nube de ficheros."
#: ../../include/text.php:2306 #: ../../include/text.php:2306
msgid "Specify folder" msgid "Specify folder"
@ -12591,7 +12591,7 @@ msgstr "foto del perfil"
#: ../../include/items.php:4456 #: ../../include/items.php:4456
#, php-format #, php-format
msgid "[Edited %s]" msgid "[Edited %s]"
msgstr "[%s editado]" msgstr "[se ha editado %s]"
#: ../../include/items.php:4456 #: ../../include/items.php:4456
msgctxt "edit_activity" msgctxt "edit_activity"

View File

@ -35,7 +35,7 @@ App::$strings["Can send me private mail messages"] = "Se me pueden enviar mensaj
App::$strings["Can like/dislike profiles and profile things"] = "Se puede mostrar agrado o desagrado (Me gusta / No me gusta) en mis perfiles y sus distintos apartados"; App::$strings["Can like/dislike profiles and profile things"] = "Se puede mostrar agrado o desagrado (Me gusta / No me gusta) en mis perfiles y sus distintos apartados";
App::$strings["Can forward to all my channel connections via @+ mentions in posts"] = "Pueden reenviarse publicaciones a todas las conexiones de mi canal a través de @+ menciones en las entradas"; App::$strings["Can forward to all my channel connections via @+ mentions in posts"] = "Pueden reenviarse publicaciones a todas las conexiones de mi canal a través de @+ menciones en las entradas";
App::$strings["Can chat with me"] = "Se puede chatear conmigo"; App::$strings["Can chat with me"] = "Se puede chatear conmigo";
App::$strings["Can source my public posts in derived channels"] = "Pueden utilizarse mis publicaciones públicas como origen de contenidos en canales derivados"; App::$strings["Can source my public posts in derived channels"] = "Pueden utilizarse mis entradas públicas como origen de contenidos en canales derivados";
App::$strings["Can administer my channel"] = "Se puede administrar mi canal"; App::$strings["Can administer my channel"] = "Se puede administrar mi canal";
App::$strings["parent"] = "padre"; App::$strings["parent"] = "padre";
App::$strings["Collection"] = "Colección"; App::$strings["Collection"] = "Colección";
@ -1104,11 +1104,11 @@ App::$strings["In order to store these compiled templates, the web server needs
App::$strings["Please ensure that the user that your web server runs as (e.g. www-data) has write access to this folder."] = "Por favor, asegúrese de que el servidor web está siendo ejecutado por un usuario que tenga permisos de escritura sobre esta carpeta (por ejemplo, www-data)."; App::$strings["Please ensure that the user that your web server runs as (e.g. www-data) has write access to this folder."] = "Por favor, asegúrese de que el servidor web está siendo ejecutado por un usuario que tenga permisos de escritura sobre esta carpeta (por ejemplo, www-data).";
App::$strings["Note: as a security measure, you should give the web server write access to %s only--not the template files (.tpl) that it contains."] = "Nota: como medida de seguridad, debe dar al servidor web permisos de escritura solo sobre %s - no sobre el fichero de plantilla (.tpl) que contiene."; App::$strings["Note: as a security measure, you should give the web server write access to %s only--not the template files (.tpl) that it contains."] = "Nota: como medida de seguridad, debe dar al servidor web permisos de escritura solo sobre %s - no sobre el fichero de plantilla (.tpl) que contiene.";
App::$strings["%s is writable"] = "%s tiene permisos de escritura"; App::$strings["%s is writable"] = "%s tiene permisos de escritura";
App::$strings["This software 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"] = "Este software utiliza el directorio de almacenamiento para guardar los archivos subidos. El servidor web debe tener acceso de escritura al directorio de almacenamiento en la carpeta de nivel superior"; App::$strings["This software 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"] = "Este software utiliza el directorio de almacenamiento para guardar los ficheros subidos. El servidor web debe tener acceso de escritura al directorio de almacenamiento en la carpeta de nivel superior";
App::$strings["store is writable"] = "\"store\" tiene permisos de escritura"; App::$strings["store is writable"] = "\"store\" tiene permisos de escritura";
App::$strings["SSL certificate cannot be validated. Fix certificate or disable https access to this site."] = "El certificado SSL no ha podido ser validado. Corrija este problema o desactive el acceso https a este sitio."; App::$strings["SSL certificate cannot be validated. Fix certificate or disable https access to this site."] = "El certificado SSL no ha podido ser validado. Corrija este problema o desactive el acceso https a este sitio.";
App::$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!"] = "Si su servidor soporta conexiones cifradas SSL o si permite conexiones al puerto TCP 443 (el puerto usado por el protocolo https), debe utilizar un certificado válido. No debe usar un certificado firmado por usted mismo."; App::$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!"] = "Si su servidor soporta conexiones cifradas SSL o si permite conexiones al puerto TCP 443 (el puerto usado por el protocolo https), debe utilizar un certificado válido. No debe usar un certificado firmado por usted mismo.";
App::$strings["This restriction is incorporated because public posts from you may for example contain references to images on your own hub."] = "Se ha incorporado esta restricción para evitar que sus publicaciones públicas hagan referencia a imágenes en su propio servidor."; App::$strings["This restriction is incorporated because public posts from you may for example contain references to images on your own hub."] = "Se ha incorporado esta restricción para evitar que sus entradas públicas hagan referencia a imágenes en su propio servidor.";
App::$strings["If your certificate is not recognized, members of other sites (who may themselves have valid certificates) will get a warning message on their own site complaining about security issues."] = "Si su certificado no ha sido reconocido, los miembros de otros sitios (con certificados válidos) recibirán mensajes de aviso en sus propios sitios web."; App::$strings["If your certificate is not recognized, members of other sites (who may themselves have valid certificates) will get a warning message on their own site complaining about security issues."] = "Si su certificado no ha sido reconocido, los miembros de otros sitios (con certificados válidos) recibirán mensajes de aviso en sus propios sitios web.";
App::$strings["This can cause usability issues elsewhere (not just on your own site) so we must insist on this requirement."] = "Por razones de compatibilidad (sobre el conjunto de la red, no solo sobre su propio sitio), debemos insistir en estos requisitos."; App::$strings["This can cause usability issues elsewhere (not just on your own site) so we must insist on this requirement."] = "Por razones de compatibilidad (sobre el conjunto de la red, no solo sobre su propio sitio), debemos insistir en estos requisitos.";
App::$strings["Providers are available that issue free certificates which are browser-valid."] = "Existen varias Autoridades de Certificación que le pueden proporcionar certificados válidos."; App::$strings["Providers are available that issue free certificates which are browser-valid."] = "Existen varias Autoridades de Certificación que le pueden proporcionar certificados válidos.";
@ -1241,7 +1241,7 @@ App::$strings["You must be logged in to see this page."] = "Debe haber iniciado
App::$strings["Not found"] = "No encontrado"; App::$strings["Not found"] = "No encontrado";
App::$strings["Invalid channel"] = "Canal no válido"; App::$strings["Invalid channel"] = "Canal no válido";
App::$strings["Error retrieving wiki"] = "Error al recuperar el wiki"; App::$strings["Error retrieving wiki"] = "Error al recuperar el wiki";
App::$strings["Error creating zip file export folder"] = "Error al crear el fichero comprimido zip de la carpeta de exportación"; App::$strings["Error creating zip file export folder"] = "Error al crear el fichero comprimido zip de la carpeta a exportar";
App::$strings["Wiki"] = "Wiki"; App::$strings["Wiki"] = "Wiki";
App::$strings["Sandbox"] = "Entorno de edición"; App::$strings["Sandbox"] = "Entorno de edición";
App::$strings["\"# Wiki Sandbox\\n\\nContent you **edit** and **preview** here *will not be saved*.\""] = "\"# Entorno de edición del Wiki\\n\\nEl contenido que se **edite** y **previsualizce** aquí *no se guardará*.\""; App::$strings["\"# Wiki Sandbox\\n\\nContent you **edit** and **preview** here *will not be saved*.\""] = "\"# Entorno de edición del Wiki\\n\\nEl contenido que se **edite** y **previsualizce** aquí *no se guardará*.\"";
@ -1413,7 +1413,7 @@ App::$strings["Change the behaviour of this account for special situations"] = "
App::$strings["Miscellaneous Settings"] = "Ajustes diversos"; App::$strings["Miscellaneous Settings"] = "Ajustes diversos";
App::$strings["Default photo upload folder"] = "Carpeta por defecto de las fotos subidas"; App::$strings["Default photo upload folder"] = "Carpeta por defecto de las fotos subidas";
App::$strings["%Y - current year, %m - current month"] = "%Y - año en curso, %m - mes actual"; App::$strings["%Y - current year, %m - current month"] = "%Y - año en curso, %m - mes actual";
App::$strings["Default file upload folder"] = "Carpeta por defecto de los archivos subidos"; App::$strings["Default file upload folder"] = "Carpeta por defecto de los ficheros subidos";
App::$strings["Personal menu to display in your channel pages"] = "Menú personal que debe mostrarse en las páginas de su canal"; App::$strings["Personal menu to display in your channel pages"] = "Menú personal que debe mostrarse en las páginas de su canal";
App::$strings["Remove this channel."] = "Eliminar este canal."; App::$strings["Remove this channel."] = "Eliminar este canal.";
App::$strings["Firefox Share \$Projectname provider"] = "Servicio de compartición de Firefox: proveedor \$Projectname"; App::$strings["Firefox Share \$Projectname provider"] = "Servicio de compartición de Firefox: proveedor \$Projectname";
@ -1622,7 +1622,7 @@ App::$strings["This is your default setting for the audience of your webpages"]
App::$strings["Flag Adult Photos"] = "Indicador (\"flag\") de fotos de adultos"; App::$strings["Flag Adult Photos"] = "Indicador (\"flag\") de fotos de adultos";
App::$strings["Provide photo edit option to hide inappropriate photos from default album view"] = "Proporcionar una opción de edición de fotos para ocultar las fotos inapropiadas de la vista de álbum predeterminada"; App::$strings["Provide photo edit option to hide inappropriate photos from default album view"] = "Proporcionar una opción de edición de fotos para ocultar las fotos inapropiadas de la vista de álbum predeterminada";
App::$strings["This is a fairly comprehensive and complete guitar chord dictionary which will list most of the available ways to play a certain chord, starting from the base of the fingerboard up to a few frets beyond the twelfth fret (beyond which everything repeats). A couple of non-standard tunings are provided for the benefit of slide players, etc."] = "Se trata de un diccionario bastante amplio y completo de acordes de guitarra que enumerará la mayor parte de las formas disponibles para tocar un acorde determinado, partiendo de la base del diapasón hasta unos pocos trastes más allá del traste doce (más allá del cual todo se repite). Se proporcionan un par de afinaciones no convencionales para provecho de los guitarristas con \"slides\" ( barras de acero), etc."; App::$strings["This is a fairly comprehensive and complete guitar chord dictionary which will list most of the available ways to play a certain chord, starting from the base of the fingerboard up to a few frets beyond the twelfth fret (beyond which everything repeats). A couple of non-standard tunings are provided for the benefit of slide players, etc."] = "Se trata de un diccionario bastante amplio y completo de acordes de guitarra que enumerará la mayor parte de las formas disponibles para tocar un acorde determinado, partiendo de la base del diapasón hasta unos pocos trastes más allá del traste doce (más allá del cual todo se repite). Se proporcionan un par de afinaciones no convencionales para provecho de los guitarristas con \"slides\" ( barras de acero), etc.";
App::$strings["Chord names start with a root note (A-G) and may include sharps (#) and flats (b). This software will parse most of the standard naming conventions such as maj, min, dim, sus(2 or 4), aug, with optional repeating elements."] = "Los nombres de acordes comienzan con una nota fundamental (La-Sol) y pueden incluir bemoles (#) y sostenidos (b). Este software analizará la mayor parte de las convenciones de nomenclatura estándar como maj, min, tenue, SUS (2 ó 4), aug, con la repetición de elementos opcionales."; App::$strings["Chord names start with a root note (A-G) and may include sharps (#) and flats (b). This software will parse most of the standard naming conventions such as maj, min, dim, sus(2 or 4), aug, with optional repeating elements."] = "Los nombres de acordes comienzan con una nota fundamental (La-Sol) y pueden incluir sostenidos (#) y bemoles (b). Este software analizará la mayor parte de las convenciones de nomenclatura estándar como maj, min, tenue, SUS (2 ó 4), aug, con la repetición de elementos opcionales.";
App::$strings["Valid examples include A, A7, Am7, Amaj7, Amaj9, Ammaj7, Aadd4, Asus2Add4, E7b13b11 ..."] = "Ejemplos válidos son A, A7, Am7, Amaj7, Amaj9, Ammaj7, Aadd4, Asus2Add4, E7b13b11 ..."; App::$strings["Valid examples include A, A7, Am7, Amaj7, Amaj9, Ammaj7, Aadd4, Asus2Add4, E7b13b11 ..."] = "Ejemplos válidos son A, A7, Am7, Amaj7, Amaj9, Ammaj7, Aadd4, Asus2Add4, E7b13b11 ...";
App::$strings["Guitar Chords"] = "Acordes de guitarra"; App::$strings["Guitar Chords"] = "Acordes de guitarra";
App::$strings["The complete online chord dictionary"] = "El diccionario completo de acordes en línea"; App::$strings["The complete online chord dictionary"] = "El diccionario completo de acordes en línea";
@ -1674,9 +1674,9 @@ App::$strings["Dreamwidth Post Settings"] = "Ajustes de publicación en Dreamwid
App::$strings["Flattr this!"] = "¡Apoyar esto en Flattr!"; App::$strings["Flattr this!"] = "¡Apoyar esto en Flattr!";
App::$strings["Flattr widget settings updated."] = "Los ajustes del widget Flattr han sido actualizados."; App::$strings["Flattr widget settings updated."] = "Los ajustes del widget Flattr han sido actualizados.";
App::$strings["Flattr user"] = "Usuario en Flattr"; App::$strings["Flattr user"] = "Usuario en Flattr";
App::$strings["URL of the Thing to flattr"] = "URL de la Cosa para flattr"; App::$strings["URL of the Thing to flattr"] = "URL de la Cosa para apoyar en flattr";
App::$strings["If empty channel URL is used"] = "Si está vacío, se usa la URL del canal"; App::$strings["If empty channel URL is used"] = "Si está vacío, se usa la URL del canal";
App::$strings["Title of the Thing to flattr"] = "Título de la Cosa para flattr"; App::$strings["Title of the Thing to flattr"] = "Título de la Cosa para apoyar en flattr";
App::$strings["If empty \"channel name on The Hubzilla\" will be used"] = "Si está vacío, se usará \"nombre del canal en Hubzilla\""; App::$strings["If empty \"channel name on The Hubzilla\" will be used"] = "Si está vacío, se usará \"nombre del canal en Hubzilla\"";
App::$strings["Static or dynamic flattr button"] = "Botón de flattr estático o dinámico"; App::$strings["Static or dynamic flattr button"] = "Botón de flattr estático o dinámico";
App::$strings["static"] = "estático"; App::$strings["static"] = "estático";
@ -1735,7 +1735,7 @@ App::$strings["Please login to confirm introduction."] = "Por favor, inicie sesi
App::$strings["Incorrect identity currently logged in. Please login to <strong>this</strong> profile."] = "Actualmente su identidad en el sistema es incorrecta. Por favor, inicie sesión en <strong>este</strong> perfil."; App::$strings["Incorrect identity currently logged in. Please login to <strong>this</strong> profile."] = "Actualmente su identidad en el sistema es incorrecta. Por favor, inicie sesión en <strong>este</strong> perfil.";
App::$strings["Confirm"] = "Confirmar"; App::$strings["Confirm"] = "Confirmar";
App::$strings["Hide this contact"] = "Ocultar este contacto"; App::$strings["Hide this contact"] = "Ocultar este contacto";
App::$strings["Welcome home %s."] = "Bienvenido a casa %s."; App::$strings["Welcome home %s."] = "Bienvenido a la página de inicio %s.";
App::$strings["Please confirm your introduction/connection request to %s."] = "Por favor, confirme su solicitud de conexión a %s."; App::$strings["Please confirm your introduction/connection request to %s."] = "Por favor, confirme su solicitud de conexión a %s.";
App::$strings["Please enter your 'Identity Address' from one of the following supported communications networks:"] = "Por favor, elija su 'dirección identificativa' de entre las siguientes redes de comunicación soportadas: "; App::$strings["Please enter your 'Identity Address' from one of the following supported communications networks:"] = "Por favor, elija su 'dirección identificativa' de entre las siguientes redes de comunicación soportadas: ";
App::$strings["If you are not yet a member of the free social web, <a href=\"%s/siteinfo\">follow this link to find a public Friendica site and join us today</a>."] = "Si aún no es miembro de las redes sociales libres, <a href=\"%s/siteinfo\">siga este enlace para encontrar un sitio público de Friendica y unirse a nosotros hoy</a>."; App::$strings["If you are not yet a member of the free social web, <a href=\"%s/siteinfo\">follow this link to find a public Friendica site and join us today</a>."] = "Si aún no es miembro de las redes sociales libres, <a href=\"%s/siteinfo\">siga este enlace para encontrar un sitio público de Friendica y unirse a nosotros hoy</a>.";
@ -1799,7 +1799,7 @@ App::$strings["Jappix Mini Settings"] = "Ajustes de Jappix Mini";
App::$strings["Upload a file"] = "Subir un fichero"; App::$strings["Upload a file"] = "Subir un fichero";
App::$strings["Drop files here to upload"] = "Arrastre los ficheros aquí para subirlos"; App::$strings["Drop files here to upload"] = "Arrastre los ficheros aquí para subirlos";
App::$strings["Failed"] = "Ha fallado"; App::$strings["Failed"] = "Ha fallado";
App::$strings["No files were uploaded."] = "No se han subido archivos."; App::$strings["No files were uploaded."] = "No se han subido ficheros.";
App::$strings["Uploaded file is empty"] = "El fichero subido está vacío"; App::$strings["Uploaded file is empty"] = "El fichero subido está vacío";
App::$strings["Image exceeds size limit of "] = "La imagen supera el límite de tamaño de "; App::$strings["Image exceeds size limit of "] = "La imagen supera el límite de tamaño de ";
App::$strings["File has an invalid extension, it should be one of "] = "El fichero tiene una extensión no válida, debería ser una de estas: "; App::$strings["File has an invalid extension, it should be one of "] = "El fichero tiene una extensión no válida, debería ser una de estas: ";
@ -1851,7 +1851,7 @@ App::$strings["defeated"] = "derrotado/a";
App::$strings["envious"] = "envidioso/a"; App::$strings["envious"] = "envidioso/a";
App::$strings["jealous"] = "celoso/a"; App::$strings["jealous"] = "celoso/a";
App::$strings["bitchslap"] = "una bofetada humillante"; App::$strings["bitchslap"] = "una bofetada humillante";
App::$strings["bitchslapped"] = "ha abofeteado/a de forma humillante a"; App::$strings["bitchslapped"] = "ha abofeteado de forma humillante a";
App::$strings["shag"] = "un polvo"; App::$strings["shag"] = "un polvo";
App::$strings["shagged"] = "ha dejado exhausto/a a"; App::$strings["shagged"] = "ha dejado exhausto/a a";
App::$strings["patent"] = "una patente"; App::$strings["patent"] = "una patente";
@ -1920,7 +1920,7 @@ App::$strings["Order of Preferred"] = "Orden de preferencia";
App::$strings["Sort order of preferred clipart ids."] = "Orden de clasificación de los identificadores de imágenes clipart preferidas."; App::$strings["Sort order of preferred clipart ids."] = "Orden de clasificación de los identificadores de imágenes clipart preferidas.";
App::$strings["Newest first"] = "Las más nuevas en primer lugar"; App::$strings["Newest first"] = "Las más nuevas en primer lugar";
App::$strings["As entered"] = "Tal como se ingresaron"; App::$strings["As entered"] = "Tal como se ingresaron";
App::$strings["Order of other"] = "Orden de otro tipo"; App::$strings["Order of other"] = "Orden de los demás";
App::$strings["Sort order of other clipart ids."] = "Orden de clasificación de otros ids de imágenes clipart."; App::$strings["Sort order of other clipart ids."] = "Orden de clasificación de otros ids de imágenes clipart.";
App::$strings["Most downloaded first"] = "Las más descargadas en primer lugar"; App::$strings["Most downloaded first"] = "Las más descargadas en primer lugar";
App::$strings["Most liked first"] = "Las más apreciadas en primer lugar"; App::$strings["Most liked first"] = "Las más apreciadas en primer lugar";
@ -2045,7 +2045,7 @@ App::$strings["Cancel Connection Process"] = "Cancelar el proceso de conexión";
App::$strings["Current GNU social API is"] = "La API actual de GNU social es "; App::$strings["Current GNU social API is"] = "La API actual de GNU social es ";
App::$strings["Cancel GNU social Connection"] = "Cancelar la conexión de GNU social"; App::$strings["Cancel GNU social Connection"] = "Cancelar la conexión de GNU social";
App::$strings["Currently connected to: "] = "Actualmente está conectado a: "; App::$strings["Currently connected to: "] = "Actualmente está conectado a: ";
App::$strings["<strong>Note</strong>: Due your privacy settings (<em>Hide your profile details from unknown viewers?</em>) the link potentially included in public postings relayed to GNU social will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = "<strong>Aviso</strong>: Debido a su configuración de privacidad (<em>Ocultar los detalles de su perfil a los visitantes desconocidos?</em>) el vínculo potencialmente incluido en las publicaciones públicas retransmitidas a GNU social llevará al visitante a una página en blanco que le informará de que el acceso a su perfil ha sido restringido."; App::$strings["<strong>Note</strong>: Due your privacy settings (<em>Hide your profile details from unknown viewers?</em>) the link potentially included in public postings relayed to GNU social will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = "<strong>Aviso</strong>: Debido a su configuración de privacidad (<em>Ocultar los detalles de su perfil a los visitantes desconocidos?</em>) el vínculo potencialmente incluido en las entradas públicas retransmitidas a GNU social llevará al visitante a una página en blanco que le informará de que el acceso a su perfil ha sido restringido.";
App::$strings["Allow posting to GNU social"] = "Habilitar la publicación en GNU social"; App::$strings["Allow posting to GNU social"] = "Habilitar la publicación en GNU social";
App::$strings["If enabled your public postings can be posted to the associated GNU-social account"] = "Si está habilitado, sus entradas públicas se pueden publicar en la cuenta GNU-social asociada"; App::$strings["If enabled your public postings can be posted to the associated GNU-social account"] = "Si está habilitado, sus entradas públicas se pueden publicar en la cuenta GNU-social asociada";
App::$strings["Post to GNU social by default"] = "Publicar en GNU social por defecto"; App::$strings["Post to GNU social by default"] = "Publicar en GNU social por defecto";
@ -2106,7 +2106,7 @@ App::$strings["Suggested users who have volounteered to be shown as suggestions,
App::$strings["Here you see channels you have connected to."] = "Aquí puede ver los canales a los que está conectado."; App::$strings["Here you see channels you have connected to."] = "Aquí puede ver los canales a los que está conectado.";
App::$strings["Save your search so you can repeat it at a later date."] = "Guarde su búsqueda para poder repetirla en una fecha posterior."; App::$strings["Save your search so you can repeat it at a later date."] = "Guarde su búsqueda para poder repetirla en una fecha posterior.";
App::$strings["If you see this icon you can be sure that the sender is who it say it is. It is normal that it is not always possible to verify the sender, so the icon will be missing sometimes. There is usually no need to worry about that."] = "Si ve este icono puede estar seguro de que el remitente es quien dice ser. Es normal que no siempre sea posible verificar el remitente, por lo que el icono faltará en ocasiones. Por lo general, no hay necesidad de preocuparse por eso."; App::$strings["If you see this icon you can be sure that the sender is who it say it is. It is normal that it is not always possible to verify the sender, so the icon will be missing sometimes. There is usually no need to worry about that."] = "Si ve este icono puede estar seguro de que el remitente es quien dice ser. Es normal que no siempre sea posible verificar el remitente, por lo que el icono faltará en ocasiones. Por lo general, no hay necesidad de preocuparse por eso.";
App::$strings["Danger! It seems someone tried to forge a message! This message is not necessarily from who it says it is from!"] = "¡Peligro! ¡Parece que alguien intentó forjar un mensaje! ¡Este mensaje no es necesariamente de quien dice que es!"; App::$strings["Danger! It seems someone tried to forge a message! This message is not necessarily from who it says it is from!"] = "¡Peligro! ¡Parece que alguien intentó falsificar un mensaje! ¡Este mensaje no es necesariamente de quien dice que es!";
App::$strings["Welcome to Hubzilla! Would you like to see a tour of the UI?</p> <p>You can pause it at any time and continue where you left off by reloading the page, or navigting to another page.</p><p>You can also advance by pressing the return key"] = "¡Bienvenido/a a Hubzilla! ¿Quiere hacer un recorrido por la interfaz de usuario?</p> <p> Puede detenerlo en cualquier momento y continuar donde lo dejó recargando la página o navegando a otra.</p> <p> También puede avanzar pulsando la tecla de retorno"; App::$strings["Welcome to Hubzilla! Would you like to see a tour of the UI?</p> <p>You can pause it at any time and continue where you left off by reloading the page, or navigting to another page.</p><p>You can also advance by pressing the return key"] = "¡Bienvenido/a a Hubzilla! ¿Quiere hacer un recorrido por la interfaz de usuario?</p> <p> Puede detenerlo en cualquier momento y continuar donde lo dejó recargando la página o navegando a otra.</p> <p> También puede avanzar pulsando la tecla de retorno";
App::$strings["Post to Twitter"] = "Publicar en Twitter"; App::$strings["Post to Twitter"] = "Publicar en Twitter";
App::$strings["Twitter settings updated."] = "Se han actualizado los ajustes de Twitter."; App::$strings["Twitter settings updated."] = "Se han actualizado los ajustes de Twitter.";
@ -2114,7 +2114,7 @@ App::$strings["No consumer key pair for Twitter found. Please contact your site
App::$strings["At this Hubzilla instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your <strong>public</strong> posts will be posted to Twitter."] = "En esta instancia de Hubzilla, el complemento de Twitter estaba habilitado pero aún no ha conectado su cuenta a la cuenta de Twitter. Para ello, haga clic en el botón de abajo, para obtener un PIN de Twitter que debe copiar en el cuadro de entrada a continuación y enviar el formulario. Solo sus entradas <strong>públicas</ strong> se publicarán en Twitter."; App::$strings["At this Hubzilla instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your <strong>public</strong> posts will be posted to Twitter."] = "En esta instancia de Hubzilla, el complemento de Twitter estaba habilitado pero aún no ha conectado su cuenta a la cuenta de Twitter. Para ello, haga clic en el botón de abajo, para obtener un PIN de Twitter que debe copiar en el cuadro de entrada a continuación y enviar el formulario. Solo sus entradas <strong>públicas</ strong> se publicarán en Twitter.";
App::$strings["Log in with Twitter"] = "Iniciar sesión en Twitter"; App::$strings["Log in with Twitter"] = "Iniciar sesión en Twitter";
App::$strings["Copy the PIN from Twitter here"] = "Copiar aquí el PIN de Twitter"; App::$strings["Copy the PIN from Twitter here"] = "Copiar aquí el PIN de Twitter";
App::$strings["<strong>Note:</strong> Due your privacy settings (<em>Hide your profile details from unknown viewers?</em>) the link potentially included in public postings relayed to Twitter will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = "<strong>Aviso:</strong> Debido a su configuración de privacidad (<em>Ocultar los detalles de su perfil a los visitantes desconocidos?</em>), el enlace potencialmente incluido en las publicaciones públicas retransmitidas a Twitter llevará al visitante a una página en blanco informándolo de que el acceso a su perfil ha sido restringido."; App::$strings["<strong>Note:</strong> Due your privacy settings (<em>Hide your profile details from unknown viewers?</em>) the link potentially included in public postings relayed to Twitter will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = "<strong>Aviso:</strong> Debido a su configuración de privacidad (<em>Ocultar los detalles de su perfil a los visitantes desconocidos?</em>), el enlace potencialmente incluido en las entradas públicas retransmitidas a Twitter llevará al visitante a una página en blanco informándolo de que el acceso a su perfil ha sido restringido.";
App::$strings["Allow posting to Twitter"] = "Permitir la publicación en Twitter"; App::$strings["Allow posting to Twitter"] = "Permitir la publicación en Twitter";
App::$strings["If enabled your public postings can be posted to the associated Twitter account"] = "Si está activado, sus entradas públicas se pueden publicar en la cuenta de Twitter asociada"; App::$strings["If enabled your public postings can be posted to the associated Twitter account"] = "Si está activado, sus entradas públicas se pueden publicar en la cuenta de Twitter asociada";
App::$strings["Send public postings to Twitter by default"] = "Enviar mensajes públicos a Twitter de forma predeterminada"; App::$strings["Send public postings to Twitter by default"] = "Enviar mensajes públicos a Twitter de forma predeterminada";
@ -2181,9 +2181,9 @@ App::$strings["Name: "] = "Nombre: ";
App::$strings["You have to enable this plugin in Feature/Addon Settings > CalDAV/CardDAV Settings before you can use it."] = "Debe habilitar este complemento en Ajustes/Complementos>Configuración de CalDAV/CardDAV antes de poder utilizarlo."; App::$strings["You have to enable this plugin in Feature/Addon Settings > CalDAV/CardDAV Settings before you can use it."] = "Debe habilitar este complemento en Ajustes/Complementos>Configuración de CalDAV/CardDAV antes de poder utilizarlo.";
App::$strings["Example: YYYY-MM-DD HH:mm"] = "Ejemplo: YYYY-MM-DD HH:mm"; App::$strings["Example: YYYY-MM-DD HH:mm"] = "Ejemplo: YYYY-MM-DD HH:mm";
App::$strings["End date and time"] = "Fecha y hora de finalización"; App::$strings["End date and time"] = "Fecha y hora de finalización";
App::$strings["List month"] = "Mes de la lista"; App::$strings["List month"] = "Lista mensual";
App::$strings["List week"] = "Semana de la lista"; App::$strings["List week"] = "Lista semanal";
App::$strings["List day"] = "Día de la lista"; App::$strings["List day"] = "Lista diaria";
App::$strings["More"] = "Más"; App::$strings["More"] = "Más";
App::$strings["Less"] = "Menos"; App::$strings["Less"] = "Menos";
App::$strings["Select calendar"] = "Seleccionar un calendario"; App::$strings["Select calendar"] = "Seleccionar un calendario";
@ -2264,7 +2264,7 @@ App::$strings["Errors encountered deleting database table "] = "Errores encontra
App::$strings["Drop tables when uninstalling?"] = "¿Eliminar tablas al desinstalar?"; App::$strings["Drop tables when uninstalling?"] = "¿Eliminar tablas al desinstalar?";
App::$strings["If checked, the Rendezvous database tables will be deleted when the plugin is uninstalled."] = "Si se selecciona, las tablas de la base de datos Rendezvous se eliminarán cuando se desinstale el plugin."; App::$strings["If checked, the Rendezvous database tables will be deleted when the plugin is uninstalled."] = "Si se selecciona, las tablas de la base de datos Rendezvous se eliminarán cuando se desinstale el plugin.";
App::$strings["Mapbox Access Token"] = "Token de acceso de Mapbox"; App::$strings["Mapbox Access Token"] = "Token de acceso de Mapbox";
App::$strings["If you enter a Mapbox access token, it will be used to retrieve map tiles from Mapbox instead of the default OpenStreetMap tile server."] = "Si introduce un token de acceso a Mapbox, se utilizará para recuperar los mapas de mosaicos de imágenes de Mapbox en lugar del servidor de mosaicode imágenes OpenStreetMap predeterminado."; App::$strings["If you enter a Mapbox access token, it will be used to retrieve map tiles from Mapbox instead of the default OpenStreetMap tile server."] = "Si introduce un token de acceso a Mapbox, se utilizará para recuperar los mapas de mosaicos de imágenes de Mapbox en lugar del servidor de mosaico de imágenes OpenStreetMap predeterminado.";
App::$strings["Rendezvous"] = "Rendezvous"; App::$strings["Rendezvous"] = "Rendezvous";
App::$strings["This identity has been deleted by another member due to inactivity. Please press the \"New identity\" button or refresh the page to register a new identity. You may use the same name."] = "Esta identidad ha sido eliminada por otro miembro debido a su inactividad. Pulse el botón \"Nueva identidad\" o actualice la página para registrar una nueva identidad. Puede usar el mismo nombre."; App::$strings["This identity has been deleted by another member due to inactivity. Please press the \"New identity\" button or refresh the page to register a new identity. You may use the same name."] = "Esta identidad ha sido eliminada por otro miembro debido a su inactividad. Pulse el botón \"Nueva identidad\" o actualice la página para registrar una nueva identidad. Puede usar el mismo nombre.";
App::$strings["Welcome to Rendezvous!"] = "¡Bienvenido/a a Rendevous!"; App::$strings["Welcome to Rendezvous!"] = "¡Bienvenido/a a Rendevous!";
@ -2276,10 +2276,10 @@ App::$strings["New identity"] = "Nueva identidad";
App::$strings["Delete marker"] = "Eliminar un marcador"; App::$strings["Delete marker"] = "Eliminar un marcador";
App::$strings["Delete member"] = "Eliminar un miembro"; App::$strings["Delete member"] = "Eliminar un miembro";
App::$strings["Edit proximity alert"] = "Editar alerta de proximidad"; App::$strings["Edit proximity alert"] = "Editar alerta de proximidad";
App::$strings["A proximity alert will be issued when this member is within a certain radius of you.<br><br>Enter a radius in meters (0 to disable):"] = "Se emitirá una alerta de proximidad cuando este miembro esté dentro de un cierto radio respecto a usted.<br><br> Ingrese el radio en metros (0 para deshabilitar):"; App::$strings["A proximity alert will be issued when this member is within a certain radius of you.<br><br>Enter a radius in meters (0 to disable):"] = "Se emitirá una alerta de proximidad cuando este miembro esté dentro de un radio determinado respecto a usted.<br><br> Ingrese el radio en metros (0 para deshabilitar):";
App::$strings["distance"] = "distancia"; App::$strings["distance"] = "distancia";
App::$strings["Add new rendezvous"] = "Añadir una nueva cita"; App::$strings["Add new rendezvous"] = "Añadir una nueva cita";
App::$strings["Create a new rendezvous and share the access link with those you wish to invite to the group. Those who open the link become members of the rendezvous. They can view other member locations, add markers to the map, or share their own locations with the group."] = "Cree una nueva cita y comparta los enlaces de acceso con los que desea invitar al grupo. Aquellos que abren el enlace se convierten en miembros de la cita. Pueden ver otras ubicaciones de miembros, añadir marcadores al mapa o compartir sus propias ubicaciones con el grupo."; App::$strings["Create a new rendezvous and share the access link with those you wish to invite to the group. Those who open the link become members of the rendezvous. They can view other member locations, add markers to the map, or share their own locations with the group."] = "Cree una nueva cita y comparta los enlaces de acceso con los que desea invitar al grupo. Aquellos que abran el enlace se convertirán en miembros de la cita. Pueden ver otras ubicaciones de miembros, añadir marcadores al mapa o compartir sus propias ubicaciones con el grupo.";
App::$strings["No username found in import file."] = "No se ha encontrado el nombre de usuario en el fichero importado."; App::$strings["No username found in import file."] = "No se ha encontrado el nombre de usuario en el fichero importado.";
App::$strings["Unable to create a unique channel address. Import failed."] = "No se ha podido crear una dirección de canal única. Ha fallado la importación."; App::$strings["Unable to create a unique channel address. Import failed."] = "No se ha podido crear una dirección de canal única. Ha fallado la importación.";
App::$strings["Cannot locate DNS info for database server '%s'"] = "No se ha podido localizar información de DNS para el servidor de base de datos “%s”"; App::$strings["Cannot locate DNS info for database server '%s'"] = "No se ha podido localizar información de DNS para el servidor de base de datos “%s”";
@ -2388,7 +2388,7 @@ App::$strings["Allow optional encryption of content end-to-end with a shared sec
App::$strings["Enable Voting Tools"] = "Permitir entradas con votación"; App::$strings["Enable Voting Tools"] = "Permitir entradas con votación";
App::$strings["Provide a class of post which others can vote on"] = "Proveer una clase de publicación en la que otros puedan votar"; App::$strings["Provide a class of post which others can vote on"] = "Proveer una clase de publicación en la que otros puedan votar";
App::$strings["Disable Comments"] = "Deshabilitar comentarios"; App::$strings["Disable Comments"] = "Deshabilitar comentarios";
App::$strings["Provide the option to disable comments for a post"] = "Proporcionar la opción de desactivar los comentarios de una publicación"; App::$strings["Provide the option to disable comments for a post"] = "Proporcionar la opción de desactivar los comentarios para una entrada";
App::$strings["Delayed Posting"] = "Publicación aplazada"; App::$strings["Delayed Posting"] = "Publicación aplazada";
App::$strings["Allow posts to be published at a later date"] = "Permitir mensajes que se publicarán en una fecha posterior"; App::$strings["Allow posts to be published at a later date"] = "Permitir mensajes que se publicarán en una fecha posterior";
App::$strings["Content Expiration"] = "Caducidad del contenido"; App::$strings["Content Expiration"] = "Caducidad del contenido";
@ -2720,10 +2720,10 @@ App::$strings["Select folder"] = "Seleccionar la carpeta";
App::$strings["Export website..."] = "Exportar un sitio web..."; App::$strings["Export website..."] = "Exportar un sitio web...";
App::$strings["Export to a zip file"] = "Exportar a un fichero comprimido .zip"; App::$strings["Export to a zip file"] = "Exportar a un fichero comprimido .zip";
App::$strings["website.zip"] = "sitio_web.zip"; App::$strings["website.zip"] = "sitio_web.zip";
App::$strings["Enter a name for the zip file."] = "Escribir un nombre para el fichero .zip."; App::$strings["Enter a name for the zip file."] = "Escriba un nombre para el fichero zip.";
App::$strings["Export to cloud files"] = "Exportar a los ficheros en la nube"; App::$strings["Export to cloud files"] = "Exportar a la nube de ficheros";
App::$strings["/path/to/export/folder"] = "/ruta/para/exportar/carpeta"; App::$strings["/path/to/export/folder"] = "/ruta/para/exportar/carpeta";
App::$strings["Enter a path to a cloud files destination."] = "Escribir una ruta de destino para los ficheros en la nube"; App::$strings["Enter a path to a cloud files destination."] = "Escriba una ruta de destino a la nube de ficheros.";
App::$strings["Specify folder"] = "Especificar una carpeta"; App::$strings["Specify folder"] = "Especificar una carpeta";
App::$strings["Logged out."] = "Desconectado/a."; App::$strings["Logged out."] = "Desconectado/a.";
App::$strings["Failed authentication"] = "Autenticación fallida."; App::$strings["Failed authentication"] = "Autenticación fallida.";
@ -2826,7 +2826,7 @@ App::$strings["Privacy group is empty."] = "El grupo de canales está vacío.";
App::$strings["Privacy group: %s"] = "Grupo de canales: %s"; App::$strings["Privacy group: %s"] = "Grupo de canales: %s";
App::$strings["Connection not found."] = "Conexión no encontrada"; App::$strings["Connection not found."] = "Conexión no encontrada";
App::$strings["profile photo"] = "foto del perfil"; App::$strings["profile photo"] = "foto del perfil";
App::$strings["[Edited %s]"] = "[%s editado]"; App::$strings["[Edited %s]"] = "[se ha editado %s]";
App::$strings["__ctx:edit_activity__ Post"] = "Publicar"; App::$strings["__ctx:edit_activity__ Post"] = "Publicar";
App::$strings["__ctx:edit_activity__ Comment"] = "Comentar"; App::$strings["__ctx:edit_activity__ Comment"] = "Comentar";
App::$strings["view full size"] = "Ver en el tamaño original"; App::$strings["view full size"] = "Ver en el tamaño original";

View File

@ -1,4 +1,4 @@
[region=aside] [region=aside]
[widget=wiki_list][/widget] [widget=vcard][/widget]
[widget=wiki_pages][/widget] [widget=wiki_pages][/widget]
[/region] [/region]

View File

@ -1649,6 +1649,7 @@ main.fullscreen .section-content-wrapper-np {
.atoken-index-row:hover td, .atoken-index-row:hover td,
.chatroom-index-row:hover td, .chatroom-index-row:hover td,
.wikis-index-row:hover td,
.locs-index-row:hover td, .locs-index-row:hover td,
[id^="cloud-index-"]:hover td, [id^="cloud-index-"]:hover td,
.cloud-index-active { .cloud-index-active {

View File

@ -45,9 +45,10 @@
{{/if}} {{/if}}
</ul> </ul>
{{else}} {{else}}
{{if $nav.lock}} {{if $nav.rusermenu}}
<ul class="dropdown-menu" role="menu" aria-labelledby="avatar"> <ul class="dropdown-menu" role="menu" aria-labelledby="avatar">
<li role="presentation"><a href="{{$nav.lock.0}}" title="{{$nav.lock.3}}" role="menuitem">{{$nav.lock.3}}</a></li> <li role="presentation"><a href="{{$nav.rusermenu.0}}" role="menuitem">{{$nav.rusermenu.1}}</a></li>
<li role="presentation"><a href="{{$nav.rusermenu.2}}" role="menuitem">{{$nav.rusermenu.3}}</a></li>
</ul> </ul>
{{/if}} {{/if}}
{{/if}} {{/if}}

View File

@ -1,16 +1,3 @@
<style type="text/css" media="screen">
#ace-editor {
position: relative;
width: 100%;
height: 500px;
}
.fade.in {
-webkit-transition: opacity 0.5s 0.5s ease;
-moz-transition: opacity 0.5s 0.5s ease;
-o-transition: opacity 0.5s 0.5s ease;
transition: opacity 0.5s 0.5s ease;
}
</style>
{{if $hideEditor}} {{if $hideEditor}}
<div> <div>
<p class="lead text-center">{{$chooseWikiMessage}}</p> <p class="lead text-center">{{$chooseWikiMessage}}</p>
@ -79,7 +66,7 @@
<div id="ace-editor"></div> <div id="ace-editor"></div>
{{if $showCommitMsg}} {{if $showCommitMsg}}
{{if $showPageControls}} {{if $showPageControls}}
<div class="section-content-wrapper"> <div>
<div id="id_{{$commitMsg.0}}_wrapper" class='form-group field input'> <div id="id_{{$commitMsg.0}}_wrapper" class='form-group field input'>
<label for='id_{{$commitMsg.0}}' id='label_{{$commitMsg.0}}'>{{$commitMsg.1}}{{if $commitMsg.4}}<span class="required"> {{$commitMsg.4}}</span>{{/if}}</label> <label for='id_{{$commitMsg.0}}' id='label_{{$commitMsg.0}}'>{{$commitMsg.1}}{{if $commitMsg.4}}<span class="required"> {{$commitMsg.4}}</span>{{/if}}</label>
<span> <span>
@ -95,12 +82,12 @@
{{/if}} {{/if}}
</div> </div>
<div id="preview-pane" class="tab-pane fade in active"> <div id="preview-pane" class="tab-pane fade in active">
<div id="wiki-preview" class="section-content-wrapper"> <div id="wiki-preview">
{{$renderedContent}} {{$renderedContent}}
</div> </div>
</div> </div>
<div id="page-history-pane" class="tab-pane fade" {{if $hidePageHistory}}style="display: none;"{{/if}}> <div id="page-history-pane" class="tab-pane fade" {{if $hidePageHistory}}style="display: none;"{{/if}}>
<div id="page-history-list" class="section-content-wrapper"> <div id="page-history-list">
</div> </div>
</div> </div>
@ -222,27 +209,6 @@
ev.preventDefault(); ev.preventDefault();
}); });
function wiki_delete_wiki(wikiHtmlName, resource_id) {
if(!confirm('Are you sure you want to delete the entire wiki: ' + JSON.stringify(wikiHtmlName))) {
return;
}
$.post("wiki/{{$channel}}/delete/wiki", {resource_id: resource_id}, function (data) {
if (data.success) {
window.console.log('Wiki deleted');
// Refresh list and redirect page as necessary
window.location = 'wiki/{{$channel}}';
} else {
alert('Error deleting wiki!');
window.console.log('Error deleting wiki.');
}
}, 'json');
}
function wiki_download_wiki(resource_id) {
window.location = "wiki/{{$channel}}/download/wiki/" + resource_id;
}
function wiki_refresh_page_list() { function wiki_refresh_page_list() {
if (window.wiki_resource_id === '') { if (window.wiki_resource_id === '') {
return false; return false;
@ -466,14 +432,6 @@
'json'); 'json');
}; };
function wiki_show_new_wiki_form() {
$('div[id^=\'edit-wiki-form-wrapper\']').hide();
$('#new-page-form-wrapper').hide();
$('#edit-wiki-form-wrapper').hide();
$('#new-wiki-form-wrapper').toggle();
return false;
}
function wiki_show_new_page_form() { function wiki_show_new_page_form() {
$('div[id^=\'edit-wiki-form-wrapper\']').hide(); $('div[id^=\'edit-wiki-form-wrapper\']').hide();
$('#edit-wiki-form-wrapper').hide(); $('#edit-wiki-form-wrapper').hide();

View File

@ -1,45 +1,68 @@
<div id="wiki_list" class="widget"> <div class="generic-content-wrapper">
<h3>{{$header}}</h3> <div class="section-title-wrapper">
<ul class="nav nav-pills nav-stacked">
{{if $wikis}}
{{foreach $wikis as $wiki}}
<li>{{if $owner}}<a href="#" onclick="$('div[id^=\'edit-wiki-form-wrapper\']').hide(); $('div[id^=\'new-wiki-form-wrapper\']').hide(); openClose('edit-wiki-form-wrapper-{{$wiki.resource_id}}'); return false;" class="pull-right wikilist" title="{{$edit}}"><i class="fa fa-pencil"></i></a>{{/if}}
<a href="#" onclick="wiki_download_wiki('{{$wiki.resource_id}}'); return false;" title="{{$download}}" class="pull-right wikilist"><i class="fa fa-download"></i></a>
<a href="/wiki/{{$channel}}/{{$wiki.urlName}}/Home" title="{{$view}}"{{if $wiki.active}} class="active"{{/if}}>{{$wiki.title}}</a>
{{if $owner}}
<div id="edit-wiki-form-wrapper-{{$wiki.resource_id}}" class="section-content-tools-wrapper" style="display:none;">
<form id="edit-wiki-form" action="wiki/edit/wiki" method="post" >
<div class="clear"></div>
<div class="btn-group pull-right">
<button class="btn btn-xs btn-danger" onclick="wiki_delete_wiki('{{$wiki.title}}', '{{$wiki.resource_id}}'); return false;"><i class="fa fa-trash-o"></i>&nbsp;Delete Wiki</button>
</div>
</form>
<div class="clear"></div>
</div>
{{/if}}
</li>
{{/foreach}}
{{/if}}
{{if $owner}} {{if $owner}}
<li><a href="#" class="fakelink" onclick="wiki_show_new_wiki_form(); return false;"><i id="new-wiki-button" class="fa fa-plus-circle"></i>&nbsp;{{$addnew}}</a></li> <button type="button" class="btn btn-success btn-xs pull-right acl-form-trigger" onclick="openClose('new-wiki-form-wrapper');" data-form_id="new-wiki-form"><i class="fa fa-plus-circle"></i>&nbsp;{{$create}}</button>
{{/if}} {{/if}}
</ul> <h2>{{$header}}</h2>
</div>
{{if $owner}} {{if $owner}}
<div id="new-wiki-form-wrapper" class="sub-menu" style="display:none;"> <div id="new-wiki-form-wrapper" class="section-content-tools-wrapper">
<form id="new-wiki-form" action="wiki/{{$channel}}/create/wiki" method="post" class="acl-form" data-form_id="new-wiki-form" data-allow_cid='{{$allow_cid}}' data-allow_gid='{{$allow_gid}}' data-deny_cid='{{$deny_cid}}' data-deny_gid='{{$deny_gid}}'> <form id="new-wiki-form" action="wiki/{{$channel}}/create/wiki" method="post" class="acl-form" data-form_id="new-wiki-form" data-allow_cid='{{$allow_cid}}' data-allow_gid='{{$allow_gid}}' data-deny_cid='{{$deny_cid}}' data-deny_gid='{{$deny_gid}}'>
{{include file="field_input.tpl" field=$wikiName}} {{include file="field_input.tpl" field=$wikiName}}
{{include file="field_checkbox.tpl" field=$notify}} {{include file="field_checkbox.tpl" field=$notify}}
<div> <div>
<div id="profile-jot-submit-right" class="btn-group"> <div class="btn-group pull-right">
<button id="dbtn-acl" class="btn btn-default btn-sm" data-toggle="modal" data-target="#aclModal" title="Permission settings" onclick="return false;"> <button id="dbtn-acl" class="btn btn-default btn-sm" data-toggle="modal" data-target="#aclModal" title="Permission settings" onclick="return false;">
<i id="jot-perms-icon" class="fa fa-{{$lockstate}} jot-icons"></i>{{$bang}} <i id="jot-perms-icon" class="fa fa-{{$lockstate}} jot-icons"></i>
</button> </button>
<button id="new-wiki-submit" class="btn btn-primary btn-sm" type="submit" name="submit" >{{$create}}</button> <button id="new-wiki-submit" class="btn btn-primary btn-sm" type="submit" name="submit" >{{$submit}}</button>
</div> </div>
</div> </div>
</form> </form>
{{$acl}}
<div class="clear"></div> <div class="clear"></div>
</div> </div>
{{/if}} {{/if}}
<div class="section-content-wrapper-np">
<table id="wikis-index">
<tr>
<th width="98%">{{$name}}</th>
<th width="1%" class="wikis-index-tool"></th>
{{if $owner}}
<th width="1%"></th>
{{/if}}
</tr>
{{foreach $wikis as $wiki}}
<tr class="wikis-index-row">
<td><a href="/wiki/{{$channel}}/{{$wiki.urlName}}/Home" title="{{$view}}"{{if $wiki.active}} class="active"{{/if}}>{{$wiki.title}}</a></td>
<td class="wiki-index-tool"><i class="fa fa-download fakelink" onclick="wiki_download_wiki('{{$wiki.resource_id}}'); return false;"></i></td>
{{if $owner}}
<td><i class="fa fa-trash-o drop-icons" onclick="wiki_delete_wiki('{{$wiki.title}}', '{{$wiki.resource_id}}'); return false;"></i></td>
{{/if}}
</tr>
{{/foreach}}
</table>
</div>
</div> </div>
{{$acl}} <script>
{{if $owner}}
function wiki_delete_wiki(wikiHtmlName, resource_id) {
if(!confirm('Are you sure you want to delete the entire wiki: ' + JSON.stringify(wikiHtmlName))) {
return;
}
$.post("wiki/{{$channel}}/delete/wiki", {resource_id: resource_id}, function (data) {
if (data.success) {
window.console.log('Wiki deleted');
// Refresh list and redirect page as necessary
window.location = 'wiki/{{$channel}}';
} else {
alert('Error deleting wiki!');
window.console.log('Error deleting wiki.');
}
}, 'json');
}
{{/if}}
function wiki_download_wiki(resource_id) {
window.location = "wiki/{{$channel}}/download/wiki/" + resource_id;
}
</script>

View File

@ -0,0 +1,45 @@
<div id="wiki_list" class="widget">
<h3>{{$header}}</h3>
<ul class="nav nav-pills nav-stacked">
{{if $wikis}}
{{foreach $wikis as $wiki}}
<li>{{if $owner}}<a href="#" onclick="$('div[id^=\'edit-wiki-form-wrapper\']').hide(); $('div[id^=\'new-wiki-form-wrapper\']').hide(); openClose('edit-wiki-form-wrapper-{{$wiki.resource_id}}'); return false;" class="pull-right wikilist" title="{{$edit}}"><i class="fa fa-pencil"></i></a>{{/if}}
<a href="#" onclick="wiki_download_wiki('{{$wiki.resource_id}}'); return false;" title="{{$download}}" class="pull-right wikilist"><i class="fa fa-download"></i></a>
<a href="/wiki/{{$channel}}/{{$wiki.urlName}}/Home" title="{{$view}}"{{if $wiki.active}} class="active"{{/if}}>{{$wiki.title}}</a>
{{if $owner}}
<div id="edit-wiki-form-wrapper-{{$wiki.resource_id}}" class="section-content-tools-wrapper" style="display:none;">
<form id="edit-wiki-form" action="wiki/edit/wiki" method="post" >
<div class="clear"></div>
<div class="btn-group pull-right">
<button class="btn btn-xs btn-danger" onclick="wiki_delete_wiki('{{$wiki.title}}', '{{$wiki.resource_id}}'); return false;"><i class="fa fa-trash-o"></i>&nbsp;Delete Wiki</button>
</div>
</form>
<div class="clear"></div>
</div>
{{/if}}
</li>
{{/foreach}}
{{/if}}
{{if $owner}}
<li><a href="#" class="fakelink" onclick="wiki_show_new_wiki_form(); return false;"><i id="new-wiki-button" class="fa fa-plus-circle"></i>&nbsp;{{$addnew}}</a></li>
{{/if}}
</ul>
{{if $owner}}
<div id="new-wiki-form-wrapper" class="sub-menu" style="display:none;">
<form id="new-wiki-form" action="wiki/{{$channel}}/create/wiki" method="post" class="acl-form" data-form_id="new-wiki-form" data-allow_cid='{{$allow_cid}}' data-allow_gid='{{$allow_gid}}' data-deny_cid='{{$deny_cid}}' data-deny_gid='{{$deny_gid}}'>
{{include file="field_input.tpl" field=$wikiName}}
{{include file="field_checkbox.tpl" field=$notify}}
<div>
<div id="profile-jot-submit-right" class="btn-group">
<button id="dbtn-acl" class="btn btn-default btn-sm" data-toggle="modal" data-target="#aclModal" title="Permission settings" onclick="return false;">
<i id="jot-perms-icon" class="fa fa-{{$lockstate}} jot-icons"></i>{{$bang}}
</button>
<button id="new-wiki-submit" class="btn btn-primary btn-sm" type="submit" name="submit" >{{$create}}</button>
</div>
</div>
</form>
<div class="clear"></div>
</div>
{{/if}}
</div>
{{$acl}}