diff options
author | Andrew Manning <andrew@reticu.li> | 2016-11-29 22:13:24 -0500 |
---|---|---|
committer | Andrew Manning <andrew@reticu.li> | 2016-11-29 22:13:24 -0500 |
commit | 50a8ba8c18b081ce60ba7ab1a74ba30d8ff43794 (patch) | |
tree | 4f38196c3f0b45d6aa87149ca27119481f470c60 | |
parent | b32bce9be22ca9c0c2b47e4a43282e9289c236ff (diff) | |
parent | 8c87f32b381ec0be066cdd0e6ca4fe50079bbd16 (diff) | |
download | volse-hubzilla-50a8ba8c18b081ce60ba7ab1a74ba30d8ff43794.tar.gz volse-hubzilla-50a8ba8c18b081ce60ba7ab1a74ba30d8ff43794.tar.bz2 volse-hubzilla-50a8ba8c18b081ce60ba7ab1a74ba30d8ff43794.zip |
Merge remote-tracking branch 'upstream/dev' into doco
-rw-r--r-- | Zotlabs/Lib/System.php | 14 | ||||
-rw-r--r-- | Zotlabs/Module/Admin/Site.php | 3 | ||||
-rw-r--r-- | Zotlabs/Module/Connedit.php | 10 | ||||
-rw-r--r-- | Zotlabs/Module/Siteinfo.php | 80 | ||||
-rw-r--r-- | Zotlabs/Module/Wiki.php | 16 | ||||
-rwxr-xr-x | boot.php | 2 | ||||
-rw-r--r-- | include/bbcode.php | 6 | ||||
-rwxr-xr-x | include/dba/dba_driver.php | 2 | ||||
-rw-r--r-- | include/wiki.php | 71 | ||||
-rw-r--r-- | include/zot.php | 8 | ||||
-rw-r--r-- | util/hmessages.po | 1357 | ||||
-rw-r--r-- | view/js/autocomplete.js | 2 | ||||
-rwxr-xr-x | view/tpl/abook_edit.tpl | 11 | ||||
-rwxr-xr-x | view/tpl/admin_site.tpl | 1 | ||||
-rwxr-xr-x | view/tpl/siteinfo.tpl | 61 | ||||
-rw-r--r-- | view/tpl/wikilist.tpl | 2 |
16 files changed, 840 insertions, 806 deletions
diff --git a/Zotlabs/Lib/System.php b/Zotlabs/Lib/System.php index 26768af26..70443016f 100644 --- a/Zotlabs/Lib/System.php +++ b/Zotlabs/Lib/System.php @@ -42,6 +42,20 @@ class System { } + static public function get_project_link() { + if(is_array(\App::$config) && is_array(\App::$config['system']) && \App::$config['system']['project_link']) + return \App::$config['system']['project_link']; + return 'https://hubzilla.org'; + } + + static public function get_project_srclink() { + if(is_array(\App::$config) && is_array(\App::$config['system']) && \App::$config['system']['project_srclink']) + return \App::$config['system']['project_srclink']; + return 'https://github.com/redmatrix/hubzilla'; + } + + + static public function get_server_role() { if(is_array(\App::$config) && is_array(\App::$config['system']) && \App::$config['system']['server_role']) return \App::$config['system']['server_role']; diff --git a/Zotlabs/Module/Admin/Site.php b/Zotlabs/Module/Admin/Site.php index 251533e68..829ca71e4 100644 --- a/Zotlabs/Module/Admin/Site.php +++ b/Zotlabs/Module/Admin/Site.php @@ -22,6 +22,7 @@ class Site { $banner = ((x($_POST,'banner')) ? trim($_POST['banner']) : false); $admininfo = ((x($_POST,'admininfo')) ? trim($_POST['admininfo']) : false); + $siteinfo = ((x($_POST,'siteinfo')) ? trim($_POST['siteinfo']) : ''); $language = ((x($_POST,'language')) ? notags(trim($_POST['language'])) : ''); $theme = ((x($_POST,'theme')) ? notags(trim($_POST['theme'])) : ''); $theme_mobile = ((x($_POST,'theme_mobile')) ? notags(trim($_POST['theme_mobile'])) : ''); @@ -97,6 +98,7 @@ class Site { linkify_tags($a, $admininfo, local_channel()); set_config('system', 'admininfo', $admininfo); } + set_config('system','siteinfo',$siteinfo); set_config('system', 'language', $language); set_config('system', 'theme', $theme); if ( $theme_mobile === '---' ) { @@ -273,6 +275,7 @@ class Site { '$banner' => array('banner', t("Banner/Logo"), $banner, ""), '$admininfo' => array('admininfo', t("Administrator Information"), $admininfo, t("Contact information for site administrators. Displayed on siteinfo page. BBCode can be used here")), + '$siteinfo' => array('siteinfo', t('Site Information'), get_config('system','siteinfo'), t("Publicly visible description of this site. Displayed on siteinfo page. BBCode can be used here")), '$language' => array('language', t("System language"), get_config('system','language'), "", $lang_choices), '$theme' => array('theme', t("System theme"), get_config('system','theme'), t("Default system theme - may be over-ridden by user profiles - <a href='#' id='cnftheme'>change theme settings</a>"), $theme_choices), '$theme_mobile' => array('theme_mobile', t("Mobile system theme"), get_config('system','mobile_theme'), t("Theme for mobile devices"), $theme_choices_mobile), diff --git a/Zotlabs/Module/Connedit.php b/Zotlabs/Module/Connedit.php index 9dfa871f7..5968ccde6 100644 --- a/Zotlabs/Module/Connedit.php +++ b/Zotlabs/Module/Connedit.php @@ -48,9 +48,6 @@ class Connedit extends \Zotlabs\Web\Controller { } - static public function xchan_name_sort($a,$b) { - return strcasecmp($a['xchan_name'],$b['xchan_name']); - } /* @brief Evaluate posted values and set changes * @@ -401,6 +398,7 @@ class Connedit extends \Zotlabs\Web\Controller { return login(); } + $section = ((array_key_exists('section',$_REQUEST)) ? $_REQUEST['section'] : ''); $channel = \App::get_channel(); $my_perms = get_channel_default_perms(local_channel()); $role = get_pconfig(local_channel(),'system','permissions_role'); @@ -557,12 +555,11 @@ class Connedit extends \Zotlabs\Web\Controller { $contact_id = \App::$poi['abook_id']; $contact = \App::$poi; - $cn = q("SELECT abook_id, xchan_name from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and abook_self = 0", + $cn = q("SELECT abook_id, xchan_name from abook left join xchan on abook_xchan = xchan_hash where abook_channel = %d and abook_self = 0 order by xchan_name", intval(local_channel()) ); - if($cn) { - usort($cn, '\\Zotlabs\\Module\\Connedit::xchan_name_sort'); + if($cn) { $pntotal = count($cn); for($x = 0; $x < $pntotal; $x ++) { @@ -783,6 +780,7 @@ class Connedit extends \Zotlabs\Web\Controller { '$header' => (($self) ? t('Connection Default Permissions') : sprintf( t('Connection: %s'),$contact['xchan_name'])), '$autoperms' => array('autoperms',t('Apply these permissions automatically'), ((get_pconfig(local_channel(),'system','autoperms')) ? 1 : 0), t('Connection requests will be approved without your interaction'), $yes_no), '$addr' => $contact['xchan_addr'], + '$section' => $section, '$addr_text' => t('This connection\'s primary address is'), '$loc_text' => t('Available locations:'), '$locstr' => $locstr, diff --git a/Zotlabs/Module/Siteinfo.php b/Zotlabs/Module/Siteinfo.php index a15e2896d..461db1752 100644 --- a/Zotlabs/Module/Siteinfo.php +++ b/Zotlabs/Module/Siteinfo.php @@ -15,63 +15,33 @@ class Siteinfo extends \Zotlabs\Web\Controller { function get() { - if(! get_config('system','hidden_version_siteinfo')) { - $version = sprintf( t('Version %s'), \Zotlabs\Lib\System::get_project_version()); - if(@is_dir('.git') && function_exists('shell_exec')) { - $commit = @shell_exec('git log -1 --format="%h"'); - $tag = \Zotlabs\Lib\System::get_std_version(); // @shell_exec('git describe --tags --abbrev=0'); - } - if(! isset($commit) || strlen($commit) > 16) - $commit = ''; - } - else { - $version = $commit = ''; - } + $siteinfo = replace_macros(get_markup_template('siteinfo.tpl'), + [ + '$title' => t('About this site'), + '$sitenametxt' => t('Site Name'), + '$sitename' => \Zotlabs\Lib\System::get_site_name(), + '$headline' => t('Site Information'), + '$site_about' => bbcode(get_config('system','siteinfo')), + '$admin_headline' => t('Administrator'), + '$admin_about' => bbcode(get_config('system','admininfo')), + '$terms' => t('Terms of Service'), + '$prj_header' => t('Software and Project information'), + '$prj_name' => t('This site is powered by $Projectname'), + '$prj_transport' => t('Federated and decentralised networking and identity services provided by Zot'), + '$transport_link' => '<a href="http://zotlabs.com">http://zotlabs.com</a>', + '$prj_version' => ((get_config('system','hidden_version_siteinfo')) ? '' : sprintf( t('Version %s'), \Zotlabs\Lib\System::get_project_version())), + '$prj_linktxt' => t('Project homepage'), + '$prj_srctxt' => t('Developer homepage'), + '$prj_link' => \Zotlabs\Lib\System::get_project_link(), + '$prj_src' => \Zotlabs\Lib\System::get_project_srclink(), + ] + ); - $plugins_list = implode(', ',visible_plugin_list()); + call_hooks('about_hook', $siteinfo); + + return $siteinfo; - if($plugins_list) - $plugins_text = t('Installed plugins/addons/apps:'); - else - $plugins_text = t('No installed plugins/addons/apps'); - - $txt = get_config('system','admininfo'); - $admininfo = bbcode($txt); - - if(file_exists('doc/site_donate.html')) - $donate .= file_get_contents('doc/site_donate.html'); - - if(function_exists('sys_getloadavg')) - $loadavg = sys_getloadavg(); - - $o = replace_macros(get_markup_template('siteinfo.tpl'), array( - '$title' => t('$Projectname'), - '$description' => t('This is a hub of $Projectname - a global cooperative network of decentralized privacy enhanced websites.'), - '$version' => $version, - '$tag_txt' => t('Tag: '), - '$tag' => $tag, - '$polled' => t('Last background fetch: '), - '$lastpoll' => get_poller_runtime(), - '$load_average' => t('Current load average: '), - '$loadavg_all' => $loadavg[0] . ', ' . $loadavg[1] . ', ' . $loadavg[2], - '$commit' => $commit, - '$web_location' => t('Running at web location') . ' ' . z_root(), - '$visit' => t('Please visit <a href="http://hubzilla.org">hubzilla.org</a> to learn more about $Projectname.'), - '$bug_text' => t('Bug reports and issues: please visit'), - '$bug_link_url' => 'https://github.com/redmatrix/hubzilla/issues', - '$bug_link_text' => t('$projectname issues'), - '$contact' => t('Suggestions, praise, etc. - please email "redmatrix" at librelist - dot com'), - '$donate' => $donate, - '$adminlabel' => t('Site Administrators'), - '$admininfo' => $admininfo, - '$plugins_text' => $plugins_text, - '$plugins_list' => $plugins_list - )); - - call_hooks('about_hook', $o); - - return $o; - } + } diff --git a/Zotlabs/Module/Wiki.php b/Zotlabs/Module/Wiki.php index 37ebe2a38..edd783a62 100644 --- a/Zotlabs/Module/Wiki.php +++ b/Zotlabs/Module/Wiki.php @@ -34,10 +34,7 @@ class Wiki extends \Zotlabs\Web\Controller { notice( t('Not found') . EOL); return; } - - $tab = 'wiki'; - - + require_once('include/wiki.php'); require_once('include/acl_selectors.php'); require_once('include/conversation.php'); @@ -151,6 +148,7 @@ class Wiki extends \Zotlabs\Web\Controller { '$create' => t('Create New'), '$submit' => t('Submit'), '$wikiName' => array('wikiName', t('Wiki name')), + '$mimeType' => array('mimeType', t('Content type'), '', '', ['text/markdown' => 'Markdown', 'text/bbcode' => 'BB Code']), '$name' => t('Name'), '$lockstate' => $x['lockstate'], '$acl' => $x['acl'], @@ -315,17 +313,19 @@ class Wiki extends \Zotlabs\Web\Controller { if (local_channel() !== intval($owner['channel_id'])) { goaway('/' . argv(0) . '/' . $nick . '/'); } - $wiki = array(); // Generate new wiki info from input name $wiki['postVisible'] = ((intval($_POST['postVisible']) === 0) ? 0 : 1); $wiki['rawName'] = $_POST['wikiName']; $wiki['htmlName'] = escape_tags($_POST['wikiName']); $wiki['urlName'] = urlencode($_POST['wikiName']); + $wiki['mimeType'] = $_POST['mimeType']; + if($wiki['urlName'] === '') { notice( t('Error creating wiki. Invalid name.') . EOL); goaway('/wiki'); } + // Get ACL for permissions $acl = new \Zotlabs\Access\AccessList($owner); $acl->set_from_array($_POST); @@ -387,7 +387,7 @@ class Wiki extends \Zotlabs\Web\Controller { 'commit_msg' => t('New page created'), 'resource_id' => $resource_id, 'observer' => $ob, - 'files' => array($page['page']['urlName'].'.md') + 'files' => array($page['page']['fileName']) )); if($commit['success']) { json_return_and_die(array('url' => '/'.argv(0).'/'.argv(1).'/'.$page['wiki']['urlName'].'/'.$page['page']['urlName'], 'success' => true)); @@ -443,7 +443,7 @@ class Wiki extends \Zotlabs\Web\Controller { 'commit_msg' => $commitMsg, 'resource_id' => $resource_id, 'observer' => $ob, - 'files' => array($pageUrlName.'.md') + 'files' => array($saved['fileName']) )); if($commit['success']) { json_return_and_die(array('message' => 'Wiki git repo commit made', 'success' => true)); @@ -582,7 +582,7 @@ class Wiki extends \Zotlabs\Web\Controller { 'commit_msg' => 'Renamed ' . urldecode($pageUrlName) . ' to ' . $renamed['page']['htmlName'], 'resource_id' => $resource_id, 'observer' => $ob, - 'files' => array($pageUrlName . '.md', $renamed['page']['fileName']), + 'files' => array($pageUrlName . substr($renamed['page']['fileName'], -3), $renamed['page']['fileName']), 'all' => true )); if($commit['success']) { @@ -48,7 +48,7 @@ require_once('include/zid.php'); define ( 'PLATFORM_NAME', 'hubzilla' ); -define ( 'STD_VERSION', '1.15.1' ); +define ( 'STD_VERSION', '1.15.2' ); define ( 'ZOT_REVISION', '1.1' ); define ( 'DB_UPDATE_VERSION', 1185 ); diff --git a/include/bbcode.php b/include/bbcode.php index 1aabbc129..7e932151f 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -787,6 +787,12 @@ function bbcode($Text, $preserve_nl = false, $tryoembed = true, $cache = false) if (strpos($Text,'[/color]') !== false) { $Text = preg_replace("(\[color=(.*?)\](.*?)\[\/color\])ism", "<span style=\"color: $1;\">$2</span>", $Text); } + // Check for colored text + if (strpos($Text,'[/hl]') !== false) { + $Text = preg_replace("(\[hl\](.*?)\[\/hl\])ism", "<span style=\"background-color: yellow;\">$1</span>", $Text); + $Text = preg_replace("(\[hl=(.*?)\](.*?)\[\/hl\])ism", "<span style=\"background-color: $1;\">$2</span>", $Text); + } + // Check for sized text // [size=50] --> font-size: 50px (with the unit). if (strpos($Text,'[/size]') !== false) { diff --git a/include/dba/dba_driver.php b/include/dba/dba_driver.php index 0b5f085af..81a3bd590 100755 --- a/include/dba/dba_driver.php +++ b/include/dba/dba_driver.php @@ -98,7 +98,7 @@ class DBA { abstract class dba_driver { // legacy behavior - protected $db; + public $db; protected $pdo = array(); public $debug = 0; diff --git a/include/wiki.php b/include/wiki.php index eb87840f6..8fbabcbef 100644 --- a/include/wiki.php +++ b/include/wiki.php @@ -19,6 +19,7 @@ function wiki_list($channel, $observer_hash) { $w['htmlName'] = get_iconfig($w, 'wiki', 'htmlName'); $w['urlName'] = get_iconfig($w, 'wiki', 'urlName'); $w['path'] = get_iconfig($w, 'wiki', 'path'); + $w['path'] = get_iconfig($w, 'wiki', 'mimeType'); } } // TODO: query db for wikis the observer can access. Return with two lists, for read and write access @@ -44,7 +45,7 @@ function wiki_page_list($resource_id) { // TODO: Check that the files are all text files $i = 1; foreach($files as $file) { - // strip the .md file extension and unwrap URL encoding to leave HTML encoded name + // strip the file extension and unwrap URL encoding to leave HTML encoded name $title = substr($file, 0, -3); if(urldecode($title) !== 'Home') { $pages[] = [ @@ -91,7 +92,7 @@ function wiki_create_wiki($channel, $observer_hash, $wiki, $acl) { $resource_id = random_string(); $r = q("SELECT mid FROM item WHERE resource_id = '%s' AND resource_type = '%s' AND uid = %d LIMIT 1", dbesc($resource_id), - dbesc(WIKI_ITEM_RESOURCE_TYPE), + dbesc(WIKI_ITEM_RESOURCE_TYPE), intval($channel['channel_id']) ); if (count($r)) @@ -139,6 +140,9 @@ function wiki_create_wiki($channel, $observer_hash, $wiki, $acl) { if (!set_iconfig($arr, 'wiki', 'urlName', $wiki['urlName'], true)) { return array('item' => null, 'success' => false); } + if (!set_iconfig($arr, 'wiki', 'mimeType', $wiki['mimeType'], true)) { + return array('item' => null, 'success' => false); + } $post = item_store($arr); $item_id = $post['item_id']; @@ -168,8 +172,8 @@ function wiki_delete_wiki($resource_id) { function wiki_get_wiki($resource_id) { $item = q("SELECT * FROM item WHERE resource_type = '%s' AND resource_id = '%s' AND item_deleted = 0 limit 1", - dbesc(WIKI_ITEM_RESOURCE_TYPE), - dbesc($resource_id) + dbesc(WIKI_ITEM_RESOURCE_TYPE), + dbesc($resource_id) ); if (!$item) { return array('wiki' => null, 'path' => null); @@ -179,17 +183,21 @@ function wiki_get_wiki($resource_id) { $rawName = get_iconfig($w, 'wiki', 'rawName'); $htmlName = get_iconfig($w, 'wiki', 'htmlName'); $urlName = get_iconfig($w, 'wiki', 'urlName'); + $mimeType = get_iconfig($w, 'wiki', 'mimeType'); + $path = get_iconfig($w, 'wiki', 'path'); if (!realpath(__DIR__ . '/../' . $path)) { return array('wiki' => null, 'path' => null); } // Path to wiki exists $abs_path = realpath(__DIR__ . '/../' . $path); - return array( 'wiki' => $w, - 'path' => $abs_path, - 'rawName' => $rawName, - 'htmlName' => $htmlName, - 'urlName' => $urlName + return array( + 'wiki' => $w, + 'path' => $abs_path, + 'rawName' => $rawName, + 'htmlName' => $htmlName, + 'urlName' => $urlName, + 'mimeType' => $mimeType ); } } @@ -236,7 +244,8 @@ function wiki_create_page($name, $resource_id) { if (!$w['path']) { return array('page' => null, 'wiki' => null, 'message' => 'Wiki not found.', 'success' => false); } - $page = array('rawName' => $name, 'htmlName' => escape_tags($name), 'urlName' => urlencode(escape_tags($name)), 'fileName' => urlencode(escape_tags($name)).'.md'); + + $page = array('rawName' => $name, 'htmlName' => escape_tags($name), 'urlName' => urlencode(escape_tags($name)), 'fileName' => urlencode(escape_tags($name)) . wiki_get_mimetype($w)); $page_path = $w['path'] . '/' . $page['fileName']; if (is_file($page_path)) { return array('page' => null, 'wiki' => null, 'message' => 'Page already exists.', 'success' => false); @@ -258,11 +267,11 @@ function wiki_rename_page($arr) { if (!$w['path']) { return array('message' => 'Wiki not found.', 'success' => false); } - $page_path_old = $w['path'].'/'.$pageUrlName.'.md'; + $page_path_old = $w['path'] . '/' . $pageUrlName . wiki_get_mimetype($w); if (!is_readable($page_path_old) === true) { return array('message' => 'Cannot read wiki page: ' . $page_path_old, 'success' => false); } - $page = array('rawName' => $pageNewName, 'htmlName' => escape_tags($pageNewName), 'urlName' => urlencode(escape_tags($pageNewName)), 'fileName' => urlencode(escape_tags($pageNewName)).'.md'); + $page = array('rawName' => $pageNewName, 'htmlName' => escape_tags($pageNewName), 'urlName' => urlencode(escape_tags($pageNewName)), 'fileName' => urlencode(escape_tags($pageNewName)) . wiki_get_mimetype($w)); $page_path_new = $w['path'] . '/' . $page['fileName'] ; if (is_file($page_path_new)) { return array('message' => 'Page already exists.', 'success' => false); @@ -283,7 +292,7 @@ function wiki_get_page_content($arr) { if (!$w['path']) { return array('content' => null, 'message' => 'Error reading wiki', 'success' => false); } - $page_path = $w['path'].'/'.$pageUrlName.'.md'; + $page_path = $w['path'] . '/' . $pageUrlName . wiki_get_mimetype($w); if (is_readable($page_path) === true) { if(filesize($page_path) === 0) { $content = ''; @@ -305,7 +314,7 @@ function wiki_page_history($arr) { if (!$w['path']) { return array('history' => null, 'message' => 'Error reading wiki', 'success' => false); } - $page_path = $w['path'].'/'.$pageUrlName.'.md'; + $page_path = $w['path'] . '/' . $pageUrlName . wiki_get_mimetype($w); if (!is_readable($page_path) === true) { return array('history' => null, 'message' => 'Cannot read wiki page: ' . $page_path, 'success' => false); } @@ -330,12 +339,14 @@ function wiki_save_page($arr) { if (!$w['path']) { return array('message' => 'Error reading wiki', 'success' => false); } - $page_path = $w['path'].'/'.$pageUrlName.'.md'; + + $fileName = $pageUrlName . wiki_get_mimetype($w); + $page_path = $w['path'] . '/' . $fileName; if (is_writable($page_path) === true) { if(!file_put_contents($page_path, $content)) { return array('message' => 'Error writing to page file', 'success' => false); } - return array('message' => '', 'success' => true); + return array('message' => '', 'filename' => $filename, 'success' => true); } else { return array('message' => 'Page file not writable', 'success' => false); } @@ -348,7 +359,7 @@ function wiki_delete_page($arr) { if (!$w['path']) { return array('message' => 'Error reading wiki', 'success' => false); } - $page_path = $w['path'].'/'.$pageUrlName.'.md'; + $page_path = $w['path'] . '/' . $pageUrlName . wiki_get_mimetype($w); if (is_writable($page_path) === true) { if(!unlink($page_path)) { return array('message' => 'Error deleting page file', 'success' => false); @@ -370,7 +381,7 @@ function wiki_revert_page($arr) { if (!$w['path']) { return array('content' => $content, 'message' => 'Error reading wiki', 'success' => false); } - $page_path = $w['path'].'/'.$pageUrlName.'.md'; + $page_path = $w['path'] . '/' . $pageUrlName . wiki_get_mimetype($w); if (is_writable($page_path) === true) { $reponame = ((array_key_exists('title', $w['wiki'])) ? urlencode($w['wiki']['title']) : 'repo'); @@ -382,7 +393,7 @@ function wiki_revert_page($arr) { try { $git->setIdentity($observer['xchan_name'], $observer['xchan_addr']); foreach ($git->git->tree($commitHash) as $object) { - if ($object['type'] == 'blob' && $object['file'] === $pageUrlName.'.md' ) { + if ($object['type'] == 'blob' && $object['file'] === $pageUrlName . wiki_get_mimetype($w)) { $content = $git->git->cat->blob($object['hash']); } } @@ -407,7 +418,7 @@ function wiki_compare_page($arr) { if (!$w['path']) { return array('message' => 'Error reading wiki', 'success' => false); } - $page_path = $w['path'].'/'.$pageUrlName.'.md'; + $page_path = $w['path'] . '/' . $pageUrlName . wiki_get_mimetype($w); if (is_readable($page_path) === true) { $reponame = ((array_key_exists('title', $w['wiki'])) ? urlencode($w['wiki']['title']) : 'repo'); if($reponame === '') { @@ -417,12 +428,12 @@ function wiki_compare_page($arr) { $compareContent = $currentContent = ''; try { foreach ($git->git->tree($currentCommit) as $object) { - if ($object['type'] == 'blob' && $object['file'] === $pageUrlName.'.md' ) { + if ($object['type'] == 'blob' && $object['file'] === $pageUrlName . wiki_get_mimetype($w)) { $currentContent = $git->git->cat->blob($object['hash']); } } foreach ($git->git->tree($compareCommit) as $object) { - if ($object['type'] == 'blob' && $object['file'] === $pageUrlName.'.md' ) { + if ($object['type'] == 'blob' && $object['file'] === $pageUrlName . wiki_get_mimetype($w)) { $compareContent = $git->git->cat->blob($object['hash']); } } @@ -485,15 +496,6 @@ function wiki_git_commit($arr) { } } -function wiki_generate_page_filename($name) { - $file = urlencode(escape_tags($name)); - if( $file === '') { - return null; - } else { - return $file . '.md'; - } -} - function wiki_convert_links($s, $wikiURL) { if (strpos($s,'[[') !== false) { @@ -563,6 +565,13 @@ function wiki_bbcode($s) { return $s; } +function wiki_get_mimetype($arr) { + if($arr['mimeType'] == 'text/bbcode') + return '.bb'; + else + return '.md'; +} + // This function is derived from // http://stackoverflow.com/questions/32068537/generate-table-of-contents-from-markdown-in-php function wiki_toc($content) { diff --git a/include/zot.php b/include/zot.php index 2cd60e815..ee4836d6c 100644 --- a/include/zot.php +++ b/include/zot.php @@ -425,6 +425,10 @@ function zot_refresh($them, $channel = null, $force = false) { $next_birthday = NULL_DATE; } + + // Keep original perms to check if we need to notify them + $previous_perms = get_all_perms($channel['channel_id'],$x['hash']); + $r = q("select * from abook where abook_xchan = '%s' and abook_channel = %d and abook_self = 0 limit 1", dbesc($x['hash']), intval($channel['channel_id']) @@ -488,10 +492,6 @@ function zot_refresh($them, $channel = null, $force = false) { } } - // Keep original perms to check if we need to notify them - $previous_perms = get_all_perms($channel['channel_id'],$x['hash']); - - $closeness = get_pconfig($channel['channel_id'],'system','new_abook_closeness'); if($closeness === false) $closeness = 80; diff --git a/util/hmessages.po b/util/hmessages.po index 3848dff06..ad75df1ad 100644 --- a/util/hmessages.po +++ b/util/hmessages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.15.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-11-18 00:04-0800\n" +"POT-Creation-Date: 2016-11-25 00:05-0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -203,7 +203,7 @@ msgstr "" #: ../../extend/addon/addon/cdav/Mod_Cdav.php:744 #: ../../extend/addon/addon/cdav/Mod_Cdav.php:745 #: ../../extend/addon/addon/cdav/Mod_Cdav.php:752 -#: ../../include/widgets.php:1744 ../../include/conversation.php:1047 +#: ../../include/widgets.php:1745 ../../include/conversation.php:1047 msgid "Unknown" msgstr "" @@ -239,13 +239,13 @@ msgstr "" #: ../../Zotlabs/Module/Embedphotos.php:157 #: ../../extend/addon/addon/cdav/include/widgets.php:132 #: ../../extend/addon/addon/cdav/include/widgets.php:168 -#: ../../include/widgets.php:1757 +#: ../../include/widgets.php:1758 msgid "Upload" msgstr "" #: ../../Zotlabs/Storage/Browser.php:233 #: ../../Zotlabs/Module/Admin/Channels.php:159 -#: ../../Zotlabs/Module/Sharedwithme.php:99 +#: ../../Zotlabs/Module/Sharedwithme.php:99 ../../Zotlabs/Module/Wiki.php:154 #: ../../Zotlabs/Module/Settings/Oauth.php:89 #: ../../Zotlabs/Module/Settings/Oauth.php:115 #: ../../Zotlabs/Module/Chat.php:250 @@ -276,15 +276,16 @@ msgstr "" #: ../../Zotlabs/Module/Editwebpage.php:145 ../../Zotlabs/Module/Menu.php:112 #: ../../Zotlabs/Module/Blocks.php:160 ../../Zotlabs/Module/Layouts.php:192 #: ../../Zotlabs/Module/Editblock.php:109 -#: ../../Zotlabs/Module/Webpages.php:240 +#: ../../Zotlabs/Module/Webpages.php:240 ../../Zotlabs/Module/Wiki.php:148 +#: ../../Zotlabs/Module/Wiki.php:240 #: ../../Zotlabs/Module/Settings/Oauth.php:149 #: ../../Zotlabs/Module/Thing.php:260 ../../Zotlabs/Lib/ThreadItem.php:106 #: ../../Zotlabs/Lib/Apps.php:341 #: ../../extend/addon/addon/cdav/include/widgets.php:125 #: ../../extend/addon/addon/cdav/include/widgets.php:161 #: ../../include/channel.php:961 ../../include/channel.php:965 -#: ../../include/page_widgets.php:9 ../../include/page_widgets.php:39 -#: ../../include/widgets.php:965 ../../include/menu.php:113 +#: ../../include/widgets.php:965 ../../include/page_widgets.php:9 +#: ../../include/page_widgets.php:39 ../../include/menu.php:113 msgid "Edit" msgstr "" @@ -295,7 +296,7 @@ msgstr "" #: ../../Zotlabs/Module/Admin/Channels.php:149 #: ../../Zotlabs/Module/Editlayout.php:137 #: ../../Zotlabs/Module/Editwebpage.php:170 -#: ../../Zotlabs/Module/Connedit.php:608 ../../Zotlabs/Module/Group.php:177 +#: ../../Zotlabs/Module/Connedit.php:638 ../../Zotlabs/Module/Group.php:177 #: ../../Zotlabs/Module/Photos.php:1179 ../../Zotlabs/Module/Blocks.php:162 #: ../../Zotlabs/Module/Editblock.php:134 #: ../../Zotlabs/Module/Webpages.php:242 @@ -349,7 +350,7 @@ msgstr "" #: ../../Zotlabs/Module/Editwebpage.php:104 #: ../../Zotlabs/Module/Editwebpage.php:126 ../../Zotlabs/Module/Like.php:181 #: ../../Zotlabs/Module/Manage.php:10 ../../Zotlabs/Module/Menu.php:78 -#: ../../Zotlabs/Module/Appman.php:75 ../../Zotlabs/Module/Connedit.php:395 +#: ../../Zotlabs/Module/Appman.php:75 ../../Zotlabs/Module/Connedit.php:400 #: ../../Zotlabs/Module/Filestorage.php:23 #: ../../Zotlabs/Module/Filestorage.php:78 #: ../../Zotlabs/Module/Filestorage.php:93 @@ -377,8 +378,8 @@ msgstr "" #: ../../Zotlabs/Module/Pdledit.php:29 ../../Zotlabs/Module/Editblock.php:67 #: ../../Zotlabs/Module/Service_limits.php:11 #: ../../Zotlabs/Module/Webpages.php:116 -#: ../../Zotlabs/Module/Sharedwithme.php:11 ../../Zotlabs/Module/Wiki.php:159 -#: ../../Zotlabs/Module/Wiki.php:262 ../../Zotlabs/Module/Sources.php:74 +#: ../../Zotlabs/Module/Sharedwithme.php:11 ../../Zotlabs/Module/Wiki.php:189 +#: ../../Zotlabs/Module/Wiki.php:289 ../../Zotlabs/Module/Sources.php:74 #: ../../Zotlabs/Module/Suggest.php:30 ../../Zotlabs/Module/Thing.php:274 #: ../../Zotlabs/Module/Thing.php:294 ../../Zotlabs/Module/Thing.php:335 #: ../../Zotlabs/Module/Viewconnections.php:28 @@ -590,8 +591,8 @@ msgstr "" msgid "Membership on this site is by invitation only." msgstr "" -#: ../../Zotlabs/Module/Register.php:270 ../../include/nav.php:152 -#: ../../boot.php:1699 +#: ../../Zotlabs/Module/Register.php:270 ../../include/nav.php:150 +#: ../../boot.php:1703 msgid "Register" msgstr "" @@ -670,7 +671,7 @@ msgstr "" #: ../../Zotlabs/Module/Admin/Accounts.php:166 #: ../../Zotlabs/Module/Admin/Channels.php:147 #: ../../Zotlabs/Module/Admin/Site.php:258 ../../Zotlabs/Module/Appman.php:126 -#: ../../Zotlabs/Module/Connedit.php:780 +#: ../../Zotlabs/Module/Connedit.php:812 #: ../../Zotlabs/Module/Filestorage.php:165 #: ../../Zotlabs/Module/Events.php:484 #: ../../Zotlabs/Module/Import_items.php:122 @@ -683,8 +684,8 @@ msgstr "" #: ../../Zotlabs/Module/Mail.php:384 ../../Zotlabs/Module/Pconfig.php:107 #: ../../Zotlabs/Module/Rate.php:166 ../../Zotlabs/Module/Setup.php:315 #: ../../Zotlabs/Module/Setup.php:363 ../../Zotlabs/Module/Invite.php:149 -#: ../../Zotlabs/Module/Pdledit.php:74 ../../Zotlabs/Module/Sources.php:114 -#: ../../Zotlabs/Module/Sources.php:149 +#: ../../Zotlabs/Module/Pdledit.php:74 ../../Zotlabs/Module/Wiki.php:152 +#: ../../Zotlabs/Module/Sources.php:114 ../../Zotlabs/Module/Sources.php:149 #: ../../Zotlabs/Module/Settings/Features.php:47 #: ../../Zotlabs/Module/Settings/Oauth.php:87 #: ../../Zotlabs/Module/Settings/Tokens.php:167 @@ -739,7 +740,7 @@ msgstr "" #: ../../extend/addon/addon/cdav/cdav.php:239 #: ../../extend/addon/addon/likebanner/likebanner.php:57 #: ../../extend/addon/addon/mailtest/mailtest.php:100 -#: ../../include/js_strings.php:22 ../../include/widgets.php:796 +#: ../../include/widgets.php:796 ../../include/js_strings.php:22 #: ../../view/theme/redbasic/php/config.php:106 msgid "Submit" msgstr "" @@ -960,8 +961,8 @@ msgstr "" #: ../../Zotlabs/Module/Search.php:44 ../../Zotlabs/Module/Connections.php:306 #: ../../Zotlabs/Lib/Apps.php:230 ../../include/acl_selectors.php:203 -#: ../../include/nav.php:170 ../../include/text.php:986 -#: ../../include/text.php:998 ../../include/widgets.php:315 +#: ../../include/nav.php:168 ../../include/widgets.php:315 +#: ../../include/text.php:986 ../../include/text.php:998 msgid "Search" msgstr "" @@ -1005,8 +1006,8 @@ msgstr "" #: ../../Zotlabs/Module/Filer.php:53 ../../Zotlabs/Module/Admin/Profs.php:74 #: ../../Zotlabs/Module/Admin/Profs.php:94 ../../Zotlabs/Module/Rbmark.php:32 -#: ../../Zotlabs/Module/Rbmark.php:104 ../../include/text.php:987 -#: ../../include/text.php:999 ../../include/widgets.php:201 +#: ../../Zotlabs/Module/Rbmark.php:104 ../../include/widgets.php:201 +#: ../../include/text.php:987 ../../include/text.php:999 msgid "Save" msgstr "" @@ -1017,7 +1018,7 @@ msgstr "" #: ../../Zotlabs/Module/Fbrowser.php:66 ../../Zotlabs/Module/Fbrowser.php:88 #: ../../Zotlabs/Module/Admin/Plugins.php:414 -#: ../../Zotlabs/Module/Wiki.php:200 ../../Zotlabs/Module/Wiki.php:241 +#: ../../Zotlabs/Module/Wiki.php:230 ../../Zotlabs/Module/Wiki.php:268 #: ../../Zotlabs/Module/Settings/Oauth.php:88 #: ../../Zotlabs/Module/Settings/Oauth.php:114 #: ../../Zotlabs/Module/Tagrm.php:15 ../../Zotlabs/Module/Tagrm.php:138 @@ -1061,7 +1062,7 @@ msgstr "" #: ../../Zotlabs/Module/Connections.php:92 #: ../../Zotlabs/Module/Connections.php:107 -#: ../../Zotlabs/Module/Connedit.php:630 ../../include/widgets.php:533 +#: ../../Zotlabs/Module/Connedit.php:662 ../../include/widgets.php:533 msgid "All" msgstr "" @@ -1145,7 +1146,7 @@ msgid "Ignore connection" msgstr "" #: ../../Zotlabs/Module/Connections.php:277 -#: ../../Zotlabs/Module/Connedit.php:584 +#: ../../Zotlabs/Module/Connedit.php:614 msgid "Ignore" msgstr "" @@ -1154,7 +1155,7 @@ msgid "Recent activity" msgstr "" #: ../../Zotlabs/Module/Connections.php:302 ../../Zotlabs/Lib/Apps.php:209 -#: ../../include/nav.php:191 ../../include/text.php:916 +#: ../../include/nav.php:189 ../../include/text.php:916 msgid "Connections" msgstr "" @@ -1306,8 +1307,8 @@ msgstr "" msgid "Log settings updated." msgstr "" -#: ../../Zotlabs/Module/Admin/Logs.php:83 ../../include/widgets.php:1648 -#: ../../include/widgets.php:1658 +#: ../../Zotlabs/Module/Admin/Logs.php:83 ../../include/widgets.php:1649 +#: ../../include/widgets.php:1659 msgid "Logs" msgstr "" @@ -1354,7 +1355,7 @@ msgid "Enable" msgstr "" #: ../../Zotlabs/Module/Admin/Plugins.php:337 -#: ../../Zotlabs/Module/Admin/Plugins.php:428 ../../include/widgets.php:1626 +#: ../../Zotlabs/Module/Admin/Plugins.php:428 ../../include/widgets.php:1627 msgid "Plugins" msgstr "" @@ -1365,7 +1366,7 @@ msgstr "" #: ../../Zotlabs/Module/Admin/Plugins.php:339 #: ../../Zotlabs/Module/Admin/Themes.php:123 ../../Zotlabs/Lib/Apps.php:216 -#: ../../include/nav.php:213 ../../include/widgets.php:680 +#: ../../include/nav.php:211 ../../include/widgets.php:680 msgid "Settings" msgstr "" @@ -1507,7 +1508,7 @@ msgstr "" msgid "Edit Profile Field" msgstr "" -#: ../../Zotlabs/Module/Admin/Profs.php:147 ../../include/widgets.php:1629 +#: ../../Zotlabs/Module/Admin/Profs.php:147 ../../include/widgets.php:1630 msgid "Profile Fields" msgstr "" @@ -1587,7 +1588,7 @@ msgid "" "embedded content from that site is explicitly blocked." msgstr "" -#: ../../Zotlabs/Module/Admin/Security.php:87 ../../include/widgets.php:1624 +#: ../../Zotlabs/Module/Admin/Security.php:87 ../../include/widgets.php:1625 msgid "Security" msgstr "" @@ -1687,7 +1688,7 @@ msgid "Screenshot" msgstr "" #: ../../Zotlabs/Module/Admin/Themes.php:121 -#: ../../Zotlabs/Module/Admin/Themes.php:155 ../../include/widgets.php:1627 +#: ../../Zotlabs/Module/Admin/Themes.php:155 ../../include/widgets.php:1628 msgid "Themes" msgstr "" @@ -1770,7 +1771,7 @@ msgid "Account '%s' unblocked" msgstr "" #: ../../Zotlabs/Module/Admin/Accounts.php:165 -#: ../../Zotlabs/Module/Admin/Accounts.php:178 ../../include/widgets.php:1622 +#: ../../Zotlabs/Module/Admin/Accounts.php:178 ../../include/widgets.php:1623 msgid "Accounts" msgstr "" @@ -1807,12 +1808,12 @@ msgid "Deny" msgstr "" #: ../../Zotlabs/Module/Admin/Accounts.php:174 -#: ../../Zotlabs/Module/Connedit.php:576 +#: ../../Zotlabs/Module/Connedit.php:606 msgid "Block" msgstr "" #: ../../Zotlabs/Module/Admin/Accounts.php:175 -#: ../../Zotlabs/Module/Connedit.php:576 +#: ../../Zotlabs/Module/Connedit.php:606 msgid "Unblock" msgstr "" @@ -1902,7 +1903,7 @@ msgstr "" msgid "Channel '%s' code disallowed" msgstr "" -#: ../../Zotlabs/Module/Admin/Channels.php:146 ../../include/widgets.php:1623 +#: ../../Zotlabs/Module/Admin/Channels.php:146 ../../include/widgets.php:1624 msgid "Channels" msgstr "" @@ -2005,8 +2006,8 @@ msgid "unsupported" msgstr "" #: ../../Zotlabs/Module/Admin/Site.php:216 ../../Zotlabs/Module/Menu.php:100 -#: ../../Zotlabs/Module/Menu.php:157 ../../Zotlabs/Module/Connedit.php:408 -#: ../../Zotlabs/Module/Connedit.php:687 +#: ../../Zotlabs/Module/Menu.php:157 ../../Zotlabs/Module/Connedit.php:413 +#: ../../Zotlabs/Module/Connedit.php:719 #: ../../Zotlabs/Module/Filestorage.php:160 #: ../../Zotlabs/Module/Filestorage.php:168 #: ../../Zotlabs/Module/Events.php:463 ../../Zotlabs/Module/Events.php:464 @@ -2014,6 +2015,7 @@ msgstr "" #: ../../Zotlabs/Module/Mitem.php:163 ../../Zotlabs/Module/Mitem.php:240 #: ../../Zotlabs/Module/Mitem.php:241 ../../Zotlabs/Module/Profiles.php:641 #: ../../Zotlabs/Module/Photos.php:653 ../../Zotlabs/Module/Removeme.php:63 +#: ../../Zotlabs/Module/Wiki.php:161 #: ../../Zotlabs/Module/Settings/Channel.php:289 #: ../../Zotlabs/Module/Settings/Display.php:103 #: ../../extend/addon/addon/dwpost/dwpost.php:73 @@ -2060,10 +2062,10 @@ msgstr "" #: ../../extend/addon/addon/wppost/wppost.php:105 #: ../../extend/addon/addon/wppost/wppost.php:109 #: ../../extend/addon/addon/xmpp/xmpp.php:53 -#: ../../extend/addon/addon/cdav/cdav.php:227 ../../include/dir_fns.php:143 -#: ../../include/dir_fns.php:144 ../../include/dir_fns.php:145 -#: ../../view/theme/redbasic/php/config.php:111 -#: ../../view/theme/redbasic/php/config.php:136 ../../boot.php:1721 +#: ../../extend/addon/addon/cdav/cdav.php:227 ../../include/widgets.php:978 +#: ../../include/dir_fns.php:143 ../../include/dir_fns.php:144 +#: ../../include/dir_fns.php:145 ../../view/theme/redbasic/php/config.php:111 +#: ../../view/theme/redbasic/php/config.php:136 ../../boot.php:1725 msgid "No" msgstr "" @@ -2072,7 +2074,7 @@ msgid "Yes - with approval" msgstr "" #: ../../Zotlabs/Module/Admin/Site.php:218 ../../Zotlabs/Module/Menu.php:100 -#: ../../Zotlabs/Module/Menu.php:157 ../../Zotlabs/Module/Connedit.php:408 +#: ../../Zotlabs/Module/Menu.php:157 ../../Zotlabs/Module/Connedit.php:413 #: ../../Zotlabs/Module/Filestorage.php:160 #: ../../Zotlabs/Module/Filestorage.php:168 #: ../../Zotlabs/Module/Events.php:463 ../../Zotlabs/Module/Events.php:464 @@ -2080,6 +2082,7 @@ msgstr "" #: ../../Zotlabs/Module/Mitem.php:163 ../../Zotlabs/Module/Mitem.php:240 #: ../../Zotlabs/Module/Mitem.php:241 ../../Zotlabs/Module/Profiles.php:641 #: ../../Zotlabs/Module/Photos.php:653 ../../Zotlabs/Module/Removeme.php:63 +#: ../../Zotlabs/Module/Wiki.php:161 #: ../../Zotlabs/Module/Settings/Channel.php:289 #: ../../Zotlabs/Module/Settings/Display.php:103 #: ../../extend/addon/addon/dwpost/dwpost.php:73 @@ -2126,10 +2129,10 @@ msgstr "" #: ../../extend/addon/addon/wppost/wppost.php:105 #: ../../extend/addon/addon/wppost/wppost.php:109 #: ../../extend/addon/addon/xmpp/xmpp.php:53 -#: ../../extend/addon/addon/cdav/cdav.php:227 ../../include/dir_fns.php:143 -#: ../../include/dir_fns.php:144 ../../include/dir_fns.php:145 -#: ../../view/theme/redbasic/php/config.php:111 -#: ../../view/theme/redbasic/php/config.php:136 ../../boot.php:1721 +#: ../../extend/addon/addon/cdav/cdav.php:227 ../../include/widgets.php:978 +#: ../../include/dir_fns.php:143 ../../include/dir_fns.php:144 +#: ../../include/dir_fns.php:145 ../../view/theme/redbasic/php/config.php:111 +#: ../../view/theme/redbasic/php/config.php:136 ../../boot.php:1725 msgid "Yes" msgstr "" @@ -2185,7 +2188,7 @@ msgstr "" msgid "Wizard - I probably know more than you do" msgstr "" -#: ../../Zotlabs/Module/Admin/Site.php:257 ../../include/widgets.php:1621 +#: ../../Zotlabs/Module/Admin/Site.php:257 ../../include/widgets.php:1622 msgid "Site" msgstr "" @@ -2615,12 +2618,12 @@ msgid "Create a new channel" msgstr "" #: ../../Zotlabs/Module/Manage.php:143 ../../Zotlabs/Module/Profiles.php:772 -#: ../../Zotlabs/Module/Chat.php:255 +#: ../../Zotlabs/Module/Wiki.php:151 ../../Zotlabs/Module/Chat.php:255 msgid "Create New" msgstr "" #: ../../Zotlabs/Module/Manage.php:164 ../../Zotlabs/Lib/Apps.php:214 -#: ../../include/nav.php:211 +#: ../../include/nav.php:209 msgid "Channel Manager" msgstr "" @@ -2829,281 +2832,281 @@ msgstr "" msgid "Location (URL) to purchase app" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:80 +#: ../../Zotlabs/Module/Connedit.php:85 msgid "Could not access contact record." msgstr "" -#: ../../Zotlabs/Module/Connedit.php:104 +#: ../../Zotlabs/Module/Connedit.php:109 msgid "Could not locate selected profile." msgstr "" -#: ../../Zotlabs/Module/Connedit.php:256 +#: ../../Zotlabs/Module/Connedit.php:261 msgid "Connection updated." msgstr "" -#: ../../Zotlabs/Module/Connedit.php:258 +#: ../../Zotlabs/Module/Connedit.php:263 msgid "Failed to update connection record." msgstr "" -#: ../../Zotlabs/Module/Connedit.php:308 +#: ../../Zotlabs/Module/Connedit.php:313 msgid "is now connected to" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:440 +#: ../../Zotlabs/Module/Connedit.php:445 msgid "Could not access address book record." msgstr "" -#: ../../Zotlabs/Module/Connedit.php:460 +#: ../../Zotlabs/Module/Connedit.php:465 msgid "Refresh failed - channel is currently unavailable." msgstr "" -#: ../../Zotlabs/Module/Connedit.php:475 ../../Zotlabs/Module/Connedit.php:484 -#: ../../Zotlabs/Module/Connedit.php:493 ../../Zotlabs/Module/Connedit.php:502 -#: ../../Zotlabs/Module/Connedit.php:515 +#: ../../Zotlabs/Module/Connedit.php:480 ../../Zotlabs/Module/Connedit.php:489 +#: ../../Zotlabs/Module/Connedit.php:498 ../../Zotlabs/Module/Connedit.php:507 +#: ../../Zotlabs/Module/Connedit.php:520 msgid "Unable to set address book parameters." msgstr "" -#: ../../Zotlabs/Module/Connedit.php:539 +#: ../../Zotlabs/Module/Connedit.php:544 msgid "Connection has been removed." msgstr "" -#: ../../Zotlabs/Module/Connedit.php:555 ../../Zotlabs/Lib/Apps.php:221 +#: ../../Zotlabs/Module/Connedit.php:585 ../../Zotlabs/Lib/Apps.php:221 #: ../../extend/addon/addon/openclipatar/openclipatar.php:56 #: ../../include/nav.php:89 ../../include/conversation.php:969 msgid "View Profile" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:558 +#: ../../Zotlabs/Module/Connedit.php:588 #, php-format msgid "View %s's profile" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:562 +#: ../../Zotlabs/Module/Connedit.php:592 msgid "Refresh Permissions" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:565 +#: ../../Zotlabs/Module/Connedit.php:595 msgid "Fetch updated permissions" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:569 +#: ../../Zotlabs/Module/Connedit.php:599 msgid "Recent Activity" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:572 +#: ../../Zotlabs/Module/Connedit.php:602 msgid "View recent posts and comments" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:579 +#: ../../Zotlabs/Module/Connedit.php:609 msgid "Block (or Unblock) all communications with this connection" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:580 +#: ../../Zotlabs/Module/Connedit.php:610 msgid "This connection is blocked!" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:584 +#: ../../Zotlabs/Module/Connedit.php:614 msgid "Unignore" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:587 +#: ../../Zotlabs/Module/Connedit.php:617 msgid "Ignore (or Unignore) all inbound communications from this connection" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:588 +#: ../../Zotlabs/Module/Connedit.php:618 msgid "This connection is ignored!" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:592 +#: ../../Zotlabs/Module/Connedit.php:622 msgid "Unarchive" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:592 +#: ../../Zotlabs/Module/Connedit.php:622 msgid "Archive" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:595 +#: ../../Zotlabs/Module/Connedit.php:625 msgid "" "Archive (or Unarchive) this connection - mark channel dead but keep content" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:596 +#: ../../Zotlabs/Module/Connedit.php:626 msgid "This connection is archived!" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:600 +#: ../../Zotlabs/Module/Connedit.php:630 msgid "Unhide" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:600 +#: ../../Zotlabs/Module/Connedit.php:630 msgid "Hide" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:603 +#: ../../Zotlabs/Module/Connedit.php:633 msgid "Hide or Unhide this connection from your other connections" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:604 +#: ../../Zotlabs/Module/Connedit.php:634 msgid "This connection is hidden!" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:611 +#: ../../Zotlabs/Module/Connedit.php:641 msgid "Delete this connection" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:626 ../../include/widgets.php:529 +#: ../../Zotlabs/Module/Connedit.php:658 ../../include/widgets.php:529 msgid "Me" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:627 ../../include/widgets.php:530 +#: ../../Zotlabs/Module/Connedit.php:659 ../../include/widgets.php:530 msgid "Family" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:628 +#: ../../Zotlabs/Module/Connedit.php:660 #: ../../Zotlabs/Module/Settings/Channel.php:61 #: ../../Zotlabs/Module/Settings/Channel.php:65 #: ../../Zotlabs/Module/Settings/Channel.php:66 #: ../../Zotlabs/Module/Settings/Channel.php:69 #: ../../Zotlabs/Module/Settings/Channel.php:80 ../../include/channel.php:402 #: ../../include/channel.php:403 ../../include/channel.php:410 -#: ../../include/selectors.php:123 ../../include/widgets.php:531 +#: ../../include/widgets.php:531 ../../include/selectors.php:123 msgid "Friends" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:629 ../../include/widgets.php:532 +#: ../../Zotlabs/Module/Connedit.php:661 ../../include/widgets.php:532 msgid "Acquaintances" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:687 +#: ../../Zotlabs/Module/Connedit.php:719 msgid "Approve this connection" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:687 +#: ../../Zotlabs/Module/Connedit.php:719 msgid "Accept connection to allow communication" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:692 +#: ../../Zotlabs/Module/Connedit.php:724 msgid "Set Affinity" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:695 +#: ../../Zotlabs/Module/Connedit.php:727 msgid "Set Profile" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:698 +#: ../../Zotlabs/Module/Connedit.php:730 msgid "Set Affinity & Profile" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:747 +#: ../../Zotlabs/Module/Connedit.php:779 msgid "none" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:751 ../../include/widgets.php:656 +#: ../../Zotlabs/Module/Connedit.php:783 ../../include/widgets.php:656 msgid "Connection Default Permissions" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:751 ../../include/items.php:3905 +#: ../../Zotlabs/Module/Connedit.php:783 ../../include/items.php:3905 #, php-format msgid "Connection: %s" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:752 +#: ../../Zotlabs/Module/Connedit.php:784 msgid "Apply these permissions automatically" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:752 +#: ../../Zotlabs/Module/Connedit.php:784 msgid "Connection requests will be approved without your interaction" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:754 +#: ../../Zotlabs/Module/Connedit.php:786 msgid "This connection's primary address is" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:755 +#: ../../Zotlabs/Module/Connedit.php:787 msgid "Available locations:" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:759 +#: ../../Zotlabs/Module/Connedit.php:791 msgid "" "The permissions indicated on this page will be applied to all new " "connections." msgstr "" -#: ../../Zotlabs/Module/Connedit.php:760 +#: ../../Zotlabs/Module/Connedit.php:792 msgid "Connection Tools" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:762 +#: ../../Zotlabs/Module/Connedit.php:794 msgid "Slide to adjust your degree of friendship" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:763 ../../Zotlabs/Module/Rate.php:155 +#: ../../Zotlabs/Module/Connedit.php:795 ../../Zotlabs/Module/Rate.php:155 #: ../../include/js_strings.php:20 msgid "Rating" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:764 +#: ../../Zotlabs/Module/Connedit.php:796 msgid "Slide to adjust your rating" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:765 ../../Zotlabs/Module/Connedit.php:770 +#: ../../Zotlabs/Module/Connedit.php:797 ../../Zotlabs/Module/Connedit.php:802 msgid "Optionally explain your rating" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:767 +#: ../../Zotlabs/Module/Connedit.php:799 msgid "Custom Filter" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:768 +#: ../../Zotlabs/Module/Connedit.php:800 msgid "Only import posts with this text" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:768 ../../Zotlabs/Module/Connedit.php:769 +#: ../../Zotlabs/Module/Connedit.php:800 ../../Zotlabs/Module/Connedit.php:801 msgid "" "words one per line or #tags or /patterns/ or lang=xx, leave blank to import " "all posts" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:769 +#: ../../Zotlabs/Module/Connedit.php:801 msgid "Do not import posts with this text" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:771 +#: ../../Zotlabs/Module/Connedit.php:803 msgid "This information is public!" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:776 +#: ../../Zotlabs/Module/Connedit.php:808 msgid "Connection Pending Approval" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:779 +#: ../../Zotlabs/Module/Connedit.php:811 #: ../../Zotlabs/Module/Settings/Tokens.php:163 msgid "inherited" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:781 +#: ../../Zotlabs/Module/Connedit.php:813 #, php-format msgid "" "Please choose the profile you would like to display to %s when viewing your " "profile securely." msgstr "" -#: ../../Zotlabs/Module/Connedit.php:783 +#: ../../Zotlabs/Module/Connedit.php:815 #: ../../Zotlabs/Module/Settings/Tokens.php:160 msgid "Their Settings" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:784 +#: ../../Zotlabs/Module/Connedit.php:816 #: ../../Zotlabs/Module/Settings/Tokens.php:161 msgid "My Settings" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:786 +#: ../../Zotlabs/Module/Connedit.php:818 #: ../../Zotlabs/Module/Settings/Tokens.php:165 msgid "Individual Permissions" msgstr "" -#: ../../Zotlabs/Module/Connedit.php:787 +#: ../../Zotlabs/Module/Connedit.php:819 #: ../../Zotlabs/Module/Settings/Tokens.php:166 msgid "" "Some permissions may be inherited from your channel's <a href=\"settings" @@ -3111,7 +3114,7 @@ msgid "" "individual settings. You can <strong>not</strong> change those settings here." msgstr "" -#: ../../Zotlabs/Module/Connedit.php:788 +#: ../../Zotlabs/Module/Connedit.php:820 msgid "" "Some permissions may be inherited from your channel's <a href=\"settings" "\"><strong>privacy settings</strong></a>, which have higher priority than " @@ -3119,7 +3122,7 @@ msgid "" "any impact unless the inherited setting changes." msgstr "" -#: ../../Zotlabs/Module/Connedit.php:789 +#: ../../Zotlabs/Module/Connedit.php:821 msgid "Last update:" msgstr "" @@ -3139,7 +3142,7 @@ msgstr "" msgid "Activate the Firefox $Projectname provider" msgstr "" -#: ../../Zotlabs/Module/Apps.php:46 ../../include/nav.php:168 +#: ../../Zotlabs/Module/Apps.php:46 ../../include/nav.php:166 #: ../../include/widgets.php:102 msgid "Apps" msgstr "" @@ -3220,7 +3223,7 @@ msgstr "" #: ../../Zotlabs/Module/Match.php:68 ../../Zotlabs/Module/Directory.php:328 #: ../../Zotlabs/Module/Suggest.php:56 ../../include/channel.php:1036 #: ../../include/widgets.php:147 ../../include/widgets.php:184 -#: ../../include/connections.php:78 ../../include/conversation.php:971 +#: ../../include/conversation.php:971 ../../include/connections.php:78 msgid "Connect" msgstr "" @@ -3384,8 +3387,8 @@ msgstr "" #: ../../Zotlabs/Module/Events.php:685 ../../Zotlabs/Module/Blocks.php:166 #: ../../Zotlabs/Module/Layouts.php:197 ../../Zotlabs/Module/Pubsites.php:59 -#: ../../Zotlabs/Module/Webpages.php:246 ../../include/page_widgets.php:42 -#: ../../include/widgets.php:967 +#: ../../Zotlabs/Module/Webpages.php:246 ../../Zotlabs/Module/Wiki.php:150 +#: ../../include/widgets.php:967 ../../include/page_widgets.php:42 msgid "View" msgstr "" @@ -3512,7 +3515,7 @@ msgid "Age:" msgstr "" #: ../../Zotlabs/Module/Directory.php:314 ../../include/channel.php:1051 -#: ../../include/bb2diaspora.php:512 ../../include/event.php:52 +#: ../../include/bb2diaspora.php:518 ../../include/event.php:52 #: ../../include/event.php:84 msgid "Location:" msgstr "" @@ -4392,12 +4395,12 @@ msgid "Show Oldest First" msgstr "" #: ../../Zotlabs/Module/Photos.php:783 ../../Zotlabs/Module/Photos.php:1337 -#: ../../Zotlabs/Module/Embedphotos.php:139 ../../include/widgets.php:1738 +#: ../../Zotlabs/Module/Embedphotos.php:139 ../../include/widgets.php:1739 msgid "View Photo" msgstr "" #: ../../Zotlabs/Module/Photos.php:814 -#: ../../Zotlabs/Module/Embedphotos.php:155 ../../include/widgets.php:1755 +#: ../../Zotlabs/Module/Embedphotos.php:155 ../../include/widgets.php:1756 msgid "Edit Album" msgstr "" @@ -4594,7 +4597,7 @@ msgstr "" msgid "Recent Photos" msgstr "" -#: ../../Zotlabs/Module/Notifications.php:40 ../../include/nav.php:196 +#: ../../Zotlabs/Module/Notifications.php:40 ../../include/nav.php:194 msgid "Mark all system notifications seen" msgstr "" @@ -4838,7 +4841,7 @@ msgid "Layouts" msgstr "" #: ../../Zotlabs/Module/Layouts.php:185 ../../Zotlabs/Lib/Apps.php:225 -#: ../../include/nav.php:164 ../../include/help.php:53 +#: ../../include/nav.php:162 ../../include/help.php:53 #: ../../include/help.php:58 msgid "Help" msgstr "" @@ -5465,7 +5468,7 @@ msgid "" "Password reset failed." msgstr "" -#: ../../Zotlabs/Module/Lostpass.php:91 ../../boot.php:1725 +#: ../../Zotlabs/Module/Lostpass.php:91 ../../boot.php:1729 msgid "Password Reset" msgstr "" @@ -5680,7 +5683,7 @@ msgid "" "or restore these in date order (oldest first)." msgstr "" -#: ../../Zotlabs/Module/Pubsites.php:24 ../../include/widgets.php:1453 +#: ../../Zotlabs/Module/Pubsites.php:24 ../../include/widgets.php:1454 msgid "Public Hubs" msgstr "" @@ -5841,104 +5844,117 @@ msgstr "" msgid "Invalid channel" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:99 +#: ../../Zotlabs/Module/Wiki.php:104 msgid "Error retrieving wiki" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:105 +#: ../../Zotlabs/Module/Wiki.php:111 msgid "Error creating zip file export folder" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:126 ../../Zotlabs/Lib/Apps.php:219 -#: ../../include/features.php:99 ../../include/nav.php:111 -#: ../../include/conversation.php:1755 ../../include/conversation.php:1758 -msgid "Wiki" +#: ../../Zotlabs/Module/Wiki.php:129 +msgid "Error downloading wiki: " msgstr "" -#: ../../Zotlabs/Module/Wiki.php:127 -msgid "Sandbox" +#: ../../Zotlabs/Module/Wiki.php:143 ../../include/nav.php:111 +#: ../../include/conversation.php:1755 +msgid "Wikis" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:129 -msgid "" -"\"# Wiki Sandbox\\n\\nContent you **edit** and **preview** here *will not be " -"saved*.\"" +#: ../../Zotlabs/Module/Wiki.php:149 ../../include/widgets.php:966 +msgid "Download" +msgstr "" + +#: ../../Zotlabs/Module/Wiki.php:153 ../../include/widgets.php:970 +msgid "Wiki name" +msgstr "" + +#: ../../Zotlabs/Module/Wiki.php:161 +msgid "Create a status post for this wiki" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:149 +#: ../../Zotlabs/Module/Wiki.php:179 msgid "Wiki not found" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:174 +#: ../../Zotlabs/Module/Wiki.php:204 msgid "Error retrieving page content" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:198 +#: ../../Zotlabs/Module/Wiki.php:228 msgid "Revision Comparison" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:199 +#: ../../Zotlabs/Module/Wiki.php:229 msgid "Revert" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:231 +#: ../../Zotlabs/Module/Wiki.php:238 +msgid "Choose an available wiki from the list on the left." +msgstr "" + +#: ../../Zotlabs/Module/Wiki.php:240 +msgid "Source" +msgstr "" + +#: ../../Zotlabs/Module/Wiki.php:258 msgid "Enter the name of your new wiki:" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:232 +#: ../../Zotlabs/Module/Wiki.php:259 msgid "Enter the name of the new page:" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:233 +#: ../../Zotlabs/Module/Wiki.php:260 msgid "Enter the new name:" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:239 ../../include/conversation.php:1169 +#: ../../Zotlabs/Module/Wiki.php:266 ../../include/conversation.php:1169 msgid "Embed image from photo albums" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:240 ../../include/conversation.php:1263 +#: ../../Zotlabs/Module/Wiki.php:267 ../../include/conversation.php:1263 msgid "Embed an image from your albums" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:242 ../../include/conversation.php:1265 +#: ../../Zotlabs/Module/Wiki.php:269 ../../include/conversation.php:1265 #: ../../include/conversation.php:1312 msgid "OK" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:243 ../../include/conversation.php:1205 +#: ../../Zotlabs/Module/Wiki.php:270 ../../include/conversation.php:1205 msgid "Choose images to embed" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:244 ../../include/conversation.php:1206 +#: ../../Zotlabs/Module/Wiki.php:271 ../../include/conversation.php:1206 msgid "Choose an album" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:245 ../../include/conversation.php:1207 +#: ../../Zotlabs/Module/Wiki.php:272 ../../include/conversation.php:1207 msgid "Choose a different album..." msgstr "" -#: ../../Zotlabs/Module/Wiki.php:246 ../../include/conversation.php:1208 +#: ../../Zotlabs/Module/Wiki.php:273 ../../include/conversation.php:1208 msgid "Error getting album list" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:247 ../../include/conversation.php:1209 +#: ../../Zotlabs/Module/Wiki.php:274 ../../include/conversation.php:1209 msgid "Error getting photo link" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:248 ../../include/conversation.php:1210 +#: ../../Zotlabs/Module/Wiki.php:275 ../../include/conversation.php:1210 msgid "Error getting album" msgstr "" -#: ../../Zotlabs/Module/Wiki.php:299 +#: ../../Zotlabs/Module/Wiki.php:326 msgid "Error creating wiki. Invalid name." msgstr "" -#: ../../Zotlabs/Module/Wiki.php:309 +#: ../../Zotlabs/Module/Wiki.php:336 msgid "Wiki created, but error creating Home page." msgstr "" -#: ../../Zotlabs/Module/Wiki.php:314 +#: ../../Zotlabs/Module/Wiki.php:341 msgid "Error creating wiki" msgstr "" @@ -7341,28 +7357,33 @@ msgid "Suggest Channels" msgstr "" #: ../../Zotlabs/Lib/Apps.php:213 ../../include/nav.php:115 -#: ../../boot.php:1717 +#: ../../boot.php:1721 msgid "Login" msgstr "" -#: ../../Zotlabs/Lib/Apps.php:215 ../../include/nav.php:184 +#: ../../Zotlabs/Lib/Apps.php:215 ../../include/nav.php:182 msgid "Grid" msgstr "" -#: ../../Zotlabs/Lib/Apps.php:220 ../../include/nav.php:187 +#: ../../Zotlabs/Lib/Apps.php:219 ../../include/features.php:99 +#: ../../include/conversation.php:1758 +msgid "Wiki" +msgstr "" + +#: ../../Zotlabs/Lib/Apps.php:220 ../../include/nav.php:185 msgid "Channel Home" msgstr "" -#: ../../Zotlabs/Lib/Apps.php:223 ../../include/nav.php:206 +#: ../../Zotlabs/Lib/Apps.php:223 ../../include/nav.php:204 #: ../../include/conversation.php:1709 ../../include/conversation.php:1712 msgid "Events" msgstr "" -#: ../../Zotlabs/Lib/Apps.php:224 ../../include/nav.php:172 +#: ../../Zotlabs/Lib/Apps.php:224 ../../include/nav.php:170 msgid "Directory" msgstr "" -#: ../../Zotlabs/Lib/Apps.php:226 ../../include/nav.php:198 +#: ../../Zotlabs/Lib/Apps.php:226 ../../include/nav.php:196 msgid "Mail" msgstr "" @@ -7386,7 +7407,7 @@ msgstr "" msgid "Invite" msgstr "" -#: ../../Zotlabs/Lib/Apps.php:235 ../../include/widgets.php:1625 +#: ../../Zotlabs/Lib/Apps.php:235 ../../include/widgets.php:1626 msgid "Features" msgstr "" @@ -9969,7 +9990,6 @@ msgstr "" #: ../../extend/addon/addon/cdav/Mod_Cdav.php:1142 #: ../../extend/addon/addon/cdav/cdav.php:264 ../../include/nav.php:88 -#: ../../include/nav.php:149 msgid "Home" msgstr "" @@ -10623,7 +10643,7 @@ msgstr "" msgid "spoiler" msgstr "" -#: ../../include/bbcode.php:641 ../../include/wiki.php:528 +#: ../../include/bbcode.php:641 ../../include/wiki.php:531 msgid "Different viewers will see this text differently" msgstr "" @@ -10916,8 +10936,8 @@ msgstr "" msgid "Add emoji reaction ability to posts" msgstr "" -#: ../../include/features.php:372 ../../include/contact_widgets.php:53 -#: ../../include/widgets.php:346 +#: ../../include/features.php:372 ../../include/widgets.php:346 +#: ../../include/contact_widgets.php:53 msgid "Saved Folders" msgstr "" @@ -11032,7 +11052,7 @@ msgstr "" msgid "%1$s's bookmarks" msgstr "" -#: ../../include/nav.php:85 ../../include/nav.php:118 ../../boot.php:1716 +#: ../../include/nav.php:85 ../../include/nav.php:118 ../../boot.php:1720 msgid "Logout" msgstr "" @@ -11081,142 +11101,406 @@ msgid "Your webpages" msgstr "" #: ../../include/nav.php:111 -msgid "Your wiki" +msgid "Your wikis" msgstr "" #: ../../include/nav.php:115 msgid "Sign in" msgstr "" -#: ../../include/nav.php:132 -#, php-format -msgid "%s - click to logout" -msgstr "" - -#: ../../include/nav.php:135 +#: ../../include/nav.php:131 msgid "Remote authentication" msgstr "" -#: ../../include/nav.php:135 +#: ../../include/nav.php:131 msgid "Click to authenticate to your home hub" msgstr "" -#: ../../include/nav.php:149 -msgid "Home Page" +#: ../../include/nav.php:143 +msgid "Get me home" +msgstr "" + +#: ../../include/nav.php:145 +msgid "Log me out of this site" msgstr "" -#: ../../include/nav.php:152 +#: ../../include/nav.php:150 msgid "Create an account" msgstr "" -#: ../../include/nav.php:164 +#: ../../include/nav.php:162 msgid "Help and documentation" msgstr "" -#: ../../include/nav.php:168 +#: ../../include/nav.php:166 msgid "Applications, utilities, links, games" msgstr "" -#: ../../include/nav.php:170 +#: ../../include/nav.php:168 msgid "Search site @name, #tag, ?docs, content" msgstr "" -#: ../../include/nav.php:172 +#: ../../include/nav.php:170 msgid "Channel Directory" msgstr "" -#: ../../include/nav.php:184 +#: ../../include/nav.php:182 msgid "Your grid" msgstr "" -#: ../../include/nav.php:185 +#: ../../include/nav.php:183 msgid "Mark all grid notifications seen" msgstr "" -#: ../../include/nav.php:187 +#: ../../include/nav.php:185 msgid "Channel home" msgstr "" -#: ../../include/nav.php:188 +#: ../../include/nav.php:186 msgid "Mark all channel notifications seen" msgstr "" -#: ../../include/nav.php:194 +#: ../../include/nav.php:192 msgid "Notices" msgstr "" -#: ../../include/nav.php:194 +#: ../../include/nav.php:192 msgid "Notifications" msgstr "" -#: ../../include/nav.php:195 +#: ../../include/nav.php:193 msgid "See all notifications" msgstr "" -#: ../../include/nav.php:198 +#: ../../include/nav.php:196 msgid "Private mail" msgstr "" -#: ../../include/nav.php:199 +#: ../../include/nav.php:197 msgid "See all private messages" msgstr "" -#: ../../include/nav.php:200 +#: ../../include/nav.php:198 msgid "Mark all private messages seen" msgstr "" -#: ../../include/nav.php:201 ../../include/widgets.php:700 +#: ../../include/nav.php:199 ../../include/widgets.php:700 msgid "Inbox" msgstr "" -#: ../../include/nav.php:202 ../../include/widgets.php:705 +#: ../../include/nav.php:200 ../../include/widgets.php:705 msgid "Outbox" msgstr "" -#: ../../include/nav.php:203 ../../include/widgets.php:710 +#: ../../include/nav.php:201 ../../include/widgets.php:710 msgid "New Message" msgstr "" -#: ../../include/nav.php:206 +#: ../../include/nav.php:204 msgid "Event Calendar" msgstr "" -#: ../../include/nav.php:207 +#: ../../include/nav.php:205 msgid "See all events" msgstr "" -#: ../../include/nav.php:208 +#: ../../include/nav.php:206 msgid "Mark all events seen" msgstr "" -#: ../../include/nav.php:211 +#: ../../include/nav.php:209 msgid "Manage Your Channels" msgstr "" -#: ../../include/nav.php:213 +#: ../../include/nav.php:211 msgid "Account/Channel Settings" msgstr "" -#: ../../include/nav.php:221 ../../include/widgets.php:1655 +#: ../../include/nav.php:219 ../../include/widgets.php:1656 msgid "Admin" msgstr "" -#: ../../include/nav.php:221 +#: ../../include/nav.php:219 msgid "Site Setup and Configuration" msgstr "" -#: ../../include/nav.php:252 ../../include/conversation.php:869 +#: ../../include/nav.php:250 ../../include/conversation.php:869 msgid "Loading..." msgstr "" -#: ../../include/nav.php:257 +#: ../../include/nav.php:255 msgid "@name, #tag, ?doc, content" msgstr "" -#: ../../include/nav.php:258 +#: ../../include/nav.php:256 msgid "Please wait..." msgstr "" +#: ../../include/taxonomy.php:188 ../../include/taxonomy.php:270 +#: ../../include/widgets.php:46 ../../include/widgets.php:465 +#: ../../include/contact_widgets.php:91 +msgid "Categories" +msgstr "" + +#: ../../include/taxonomy.php:228 ../../include/taxonomy.php:249 +msgid "Tags" +msgstr "" + +#: ../../include/taxonomy.php:293 +msgid "Keywords" +msgstr "" + +#: ../../include/taxonomy.php:314 +msgid "have" +msgstr "" + +#: ../../include/taxonomy.php:314 +msgid "has" +msgstr "" + +#: ../../include/taxonomy.php:315 +msgid "want" +msgstr "" + +#: ../../include/taxonomy.php:315 +msgid "wants" +msgstr "" + +#: ../../include/taxonomy.php:316 +msgid "likes" +msgstr "" + +#: ../../include/taxonomy.php:317 +msgid "dislikes" +msgstr "" + +#: ../../include/widgets.php:103 +msgid "System" +msgstr "" + +#: ../../include/widgets.php:106 +msgid "New App" +msgstr "" + +#: ../../include/widgets.php:154 +msgid "Suggestions" +msgstr "" + +#: ../../include/widgets.php:155 +msgid "See more..." +msgstr "" + +#: ../../include/widgets.php:175 +#, php-format +msgid "You have %1$.0f of %2$.0f allowed connections." +msgstr "" + +#: ../../include/widgets.php:181 +msgid "Add New Connection" +msgstr "" + +#: ../../include/widgets.php:182 +msgid "Enter channel address" +msgstr "" + +#: ../../include/widgets.php:183 +msgid "Examples: bob@example.com, https://example.com/barbara" +msgstr "" + +#: ../../include/widgets.php:199 +msgid "Notes" +msgstr "" + +#: ../../include/widgets.php:275 +msgid "Remove term" +msgstr "" + +#: ../../include/widgets.php:284 ../../include/group.php:316 +msgid "add" +msgstr "" + +#: ../../include/widgets.php:349 ../../include/widgets.php:468 +#: ../../include/contact_widgets.php:56 ../../include/contact_widgets.php:94 +msgid "Everything" +msgstr "" + +#: ../../include/widgets.php:390 +msgid "Archives" +msgstr "" + +#: ../../include/widgets.php:552 +msgid "Refresh" +msgstr "" + +#: ../../include/widgets.php:592 +msgid "Account settings" +msgstr "" + +#: ../../include/widgets.php:598 +msgid "Channel settings" +msgstr "" + +#: ../../include/widgets.php:607 +msgid "Additional features" +msgstr "" + +#: ../../include/widgets.php:614 +msgid "Feature/Addon settings" +msgstr "" + +#: ../../include/widgets.php:620 +msgid "Display settings" +msgstr "" + +#: ../../include/widgets.php:627 +msgid "Manage locations" +msgstr "" + +#: ../../include/widgets.php:634 +msgid "Export channel" +msgstr "" + +#: ../../include/widgets.php:640 +msgid "Connected apps" +msgstr "" + +#: ../../include/widgets.php:664 +msgid "Premium Channel Settings" +msgstr "" + +#: ../../include/widgets.php:693 +msgid "Private Mail Menu" +msgstr "" + +#: ../../include/widgets.php:695 +msgid "Combined View" +msgstr "" + +#: ../../include/widgets.php:727 ../../include/widgets.php:739 +msgid "Conversations" +msgstr "" + +#: ../../include/widgets.php:731 +msgid "Received Messages" +msgstr "" + +#: ../../include/widgets.php:735 +msgid "Sent Messages" +msgstr "" + +#: ../../include/widgets.php:749 +msgid "No messages." +msgstr "" + +#: ../../include/widgets.php:767 +msgid "Delete conversation" +msgstr "" + +#: ../../include/widgets.php:793 +msgid "Events Tools" +msgstr "" + +#: ../../include/widgets.php:794 +msgid "Export Calendar" +msgstr "" + +#: ../../include/widgets.php:795 +msgid "Import Calendar" +msgstr "" + +#: ../../include/widgets.php:883 ../../include/conversation.php:1722 +#: ../../include/conversation.php:1725 +msgid "Chatrooms" +msgstr "" + +#: ../../include/widgets.php:887 +msgid "Overview" +msgstr "" + +#: ../../include/widgets.php:894 +msgid "Chat Members" +msgstr "" + +#: ../../include/widgets.php:960 +msgid "Wiki List" +msgstr "" + +#: ../../include/widgets.php:968 +msgid "Create new wiki" +msgstr "" + +#: ../../include/widgets.php:978 +msgid "Send notification" +msgstr "" + +#: ../../include/widgets.php:1014 +msgid "Wiki Pages" +msgstr "" + +#: ../../include/widgets.php:1019 +msgid "Add new page" +msgstr "" + +#: ../../include/widgets.php:1020 +msgid "Page name" +msgstr "" + +#: ../../include/widgets.php:1052 +msgid "Bookmarked Chatrooms" +msgstr "" + +#: ../../include/widgets.php:1083 +msgid "Suggested Chatrooms" +msgstr "" + +#: ../../include/widgets.php:1228 ../../include/widgets.php:1340 +msgid "photo/image" +msgstr "" + +#: ../../include/widgets.php:1283 +msgid "Click to show more" +msgstr "" + +#: ../../include/widgets.php:1434 +msgid "Rating Tools" +msgstr "" + +#: ../../include/widgets.php:1438 ../../include/widgets.php:1440 +msgid "Rate Me" +msgstr "" + +#: ../../include/widgets.php:1443 +msgid "View Ratings" +msgstr "" + +#: ../../include/widgets.php:1527 +msgid "Forums" +msgstr "" + +#: ../../include/widgets.php:1556 +msgid "Tasks" +msgstr "" + +#: ../../include/widgets.php:1567 +msgid "Documentation" +msgstr "" + +#: ../../include/widgets.php:1623 ../../include/widgets.php:1661 +msgid "Member registrations waiting for confirmation" +msgstr "" + +#: ../../include/widgets.php:1629 +msgid "Inspect queue" +msgstr "" + +#: ../../include/widgets.php:1631 +msgid "DB updates" +msgstr "" + +#: ../../include/widgets.php:1657 +msgid "Plugin Features" +msgstr "" + #: ../../include/page_widgets.php:7 msgid "New Page" msgstr "" @@ -11256,17 +11540,6 @@ msgstr "" msgid "Advanced example: name=fred and country=iceland" msgstr "" -#: ../../include/contact_widgets.php:56 ../../include/contact_widgets.php:94 -#: ../../include/widgets.php:349 ../../include/widgets.php:468 -msgid "Everything" -msgstr "" - -#: ../../include/contact_widgets.php:91 ../../include/widgets.php:46 -#: ../../include/widgets.php:465 ../../include/taxonomy.php:188 -#: ../../include/taxonomy.php:270 -msgid "Categories" -msgstr "" - #: ../../include/contact_widgets.php:122 #, php-format msgid "%d connection in common" @@ -12187,300 +12460,320 @@ msgstr "" msgid "%1$s has an updated %2$s, changing %3$s." msgstr "" -#: ../../include/widgets.php:103 -msgid "System" -msgstr "" - -#: ../../include/widgets.php:106 -msgid "New App" -msgstr "" - -#: ../../include/widgets.php:154 -msgid "Suggestions" +#: ../../include/zot.php:706 +msgid "Invalid data packet" msgstr "" -#: ../../include/widgets.php:155 -msgid "See more..." +#: ../../include/zot.php:722 +msgid "Unable to verify channel signature" msgstr "" -#: ../../include/widgets.php:175 +#: ../../include/zot.php:2337 #, php-format -msgid "You have %1$.0f of %2$.0f allowed connections." -msgstr "" - -#: ../../include/widgets.php:181 -msgid "Add New Connection" +msgid "Unable to verify site signature for %s" msgstr "" -#: ../../include/widgets.php:182 -msgid "Enter channel address" +#: ../../include/zot.php:3726 +msgid "invalid target signature" msgstr "" -#: ../../include/widgets.php:183 -msgid "Examples: bob@example.com, https://example.com/barbara" +#: ../../include/conversation.php:204 +#, php-format +msgid "%1$s is now connected with %2$s" msgstr "" -#: ../../include/widgets.php:199 -msgid "Notes" +#: ../../include/conversation.php:239 +#, php-format +msgid "%1$s poked %2$s" msgstr "" -#: ../../include/widgets.php:275 -msgid "Remove term" +#: ../../include/conversation.php:710 +#, php-format +msgid "View %s's profile @ %s" msgstr "" -#: ../../include/widgets.php:284 ../../include/group.php:316 -msgid "add" +#: ../../include/conversation.php:729 +msgid "Categories:" msgstr "" -#: ../../include/widgets.php:390 -msgid "Archives" +#: ../../include/conversation.php:730 +msgid "Filed under:" msgstr "" -#: ../../include/widgets.php:552 -msgid "Refresh" +#: ../../include/conversation.php:755 +msgid "View in context" msgstr "" -#: ../../include/widgets.php:592 -msgid "Account settings" +#: ../../include/conversation.php:865 +msgid "remove" msgstr "" -#: ../../include/widgets.php:598 -msgid "Channel settings" +#: ../../include/conversation.php:870 +msgid "Delete Selected Items" msgstr "" -#: ../../include/widgets.php:607 -msgid "Additional features" +#: ../../include/conversation.php:963 +msgid "View Source" msgstr "" -#: ../../include/widgets.php:614 -msgid "Feature/Addon settings" +#: ../../include/conversation.php:964 +msgid "Follow Thread" msgstr "" -#: ../../include/widgets.php:620 -msgid "Display settings" +#: ../../include/conversation.php:965 +msgid "Unfollow Thread" msgstr "" -#: ../../include/widgets.php:627 -msgid "Manage locations" +#: ../../include/conversation.php:970 +msgid "Activity/Posts" msgstr "" -#: ../../include/widgets.php:634 -msgid "Export channel" +#: ../../include/conversation.php:972 +msgid "Edit Connection" msgstr "" -#: ../../include/widgets.php:640 -msgid "Connected apps" +#: ../../include/conversation.php:973 +msgid "Message" msgstr "" -#: ../../include/widgets.php:664 -msgid "Premium Channel Settings" +#: ../../include/conversation.php:1093 +#, php-format +msgid "%s likes this." msgstr "" -#: ../../include/widgets.php:693 -msgid "Private Mail Menu" +#: ../../include/conversation.php:1093 +#, php-format +msgid "%s doesn't like this." msgstr "" -#: ../../include/widgets.php:695 -msgid "Combined View" -msgstr "" +#: ../../include/conversation.php:1097 +#, php-format +msgid "<span %1$s>%2$d people</span> like this." +msgid_plural "<span %1$s>%2$d people</span> like this." +msgstr[0] "" +msgstr[1] "" -#: ../../include/widgets.php:727 ../../include/widgets.php:739 -msgid "Conversations" -msgstr "" +#: ../../include/conversation.php:1099 +#, php-format +msgid "<span %1$s>%2$d people</span> don't like this." +msgid_plural "<span %1$s>%2$d people</span> don't like this." +msgstr[0] "" +msgstr[1] "" -#: ../../include/widgets.php:731 -msgid "Received Messages" +#: ../../include/conversation.php:1105 +msgid "and" msgstr "" -#: ../../include/widgets.php:735 -msgid "Sent Messages" -msgstr "" +#: ../../include/conversation.php:1108 +#, php-format +msgid ", and %d other people" +msgid_plural ", and %d other people" +msgstr[0] "" +msgstr[1] "" -#: ../../include/widgets.php:749 -msgid "No messages." +#: ../../include/conversation.php:1109 +#, php-format +msgid "%s like this." msgstr "" -#: ../../include/widgets.php:767 -msgid "Delete conversation" +#: ../../include/conversation.php:1109 +#, php-format +msgid "%s don't like this." msgstr "" -#: ../../include/widgets.php:793 -msgid "Events Tools" +#: ../../include/conversation.php:1152 +msgid "Set your location" msgstr "" -#: ../../include/widgets.php:794 -msgid "Export Calendar" +#: ../../include/conversation.php:1153 +msgid "Clear browser location" msgstr "" -#: ../../include/widgets.php:795 -msgid "Import Calendar" +#: ../../include/conversation.php:1201 +msgid "Tag term:" msgstr "" -#: ../../include/widgets.php:883 ../../include/conversation.php:1722 -#: ../../include/conversation.php:1725 -msgid "Chatrooms" +#: ../../include/conversation.php:1202 +msgid "Where are you right now?" msgstr "" -#: ../../include/widgets.php:887 -msgid "Overview" +#: ../../include/conversation.php:1211 +msgid "Comments enabled" msgstr "" -#: ../../include/widgets.php:894 -msgid "Chat Members" +#: ../../include/conversation.php:1212 +msgid "Comments disabled" msgstr "" -#: ../../include/widgets.php:960 -msgid "Wiki List" +#: ../../include/conversation.php:1250 +msgid "Page link name" msgstr "" -#: ../../include/widgets.php:966 -msgid "Download" +#: ../../include/conversation.php:1253 +msgid "Post as" msgstr "" -#: ../../include/widgets.php:968 -msgid "Create new wiki" +#: ../../include/conversation.php:1267 +msgid "Toggle voting" msgstr "" -#: ../../include/widgets.php:970 -msgid "Wiki name" +#: ../../include/conversation.php:1270 +msgid "Disable comments" msgstr "" -#: ../../include/widgets.php:978 -msgid "Send notification" +#: ../../include/conversation.php:1271 +msgid "Toggle comments" msgstr "" -#: ../../include/widgets.php:1014 -msgid "Wiki Pages" +#: ../../include/conversation.php:1279 +msgid "Categories (optional, comma-separated list)" msgstr "" -#: ../../include/widgets.php:1019 -msgid "Add new page" +#: ../../include/conversation.php:1302 +msgid "Other networks and post services" msgstr "" -#: ../../include/widgets.php:1051 -msgid "Bookmarked Chatrooms" +#: ../../include/conversation.php:1308 +msgid "Set publish date" msgstr "" -#: ../../include/widgets.php:1082 -msgid "Suggested Chatrooms" +#: ../../include/conversation.php:1562 +msgid "Discover" msgstr "" -#: ../../include/widgets.php:1227 ../../include/widgets.php:1339 -msgid "photo/image" +#: ../../include/conversation.php:1565 +msgid "Imported public streams" msgstr "" -#: ../../include/widgets.php:1282 -msgid "Click to show more" +#: ../../include/conversation.php:1570 +msgid "Commented Order" msgstr "" -#: ../../include/widgets.php:1433 -msgid "Rating Tools" +#: ../../include/conversation.php:1573 +msgid "Sort by Comment Date" msgstr "" -#: ../../include/widgets.php:1437 ../../include/widgets.php:1439 -msgid "Rate Me" +#: ../../include/conversation.php:1577 +msgid "Posted Order" msgstr "" -#: ../../include/widgets.php:1442 -msgid "View Ratings" +#: ../../include/conversation.php:1580 +msgid "Sort by Post Date" msgstr "" -#: ../../include/widgets.php:1526 -msgid "Forums" +#: ../../include/conversation.php:1588 +msgid "Posts that mention or involve you" msgstr "" -#: ../../include/widgets.php:1555 -msgid "Tasks" +#: ../../include/conversation.php:1597 +msgid "Activity Stream - by date" msgstr "" -#: ../../include/widgets.php:1566 -msgid "Documentation" +#: ../../include/conversation.php:1603 +msgid "Starred" msgstr "" -#: ../../include/widgets.php:1622 ../../include/widgets.php:1660 -msgid "Member registrations waiting for confirmation" +#: ../../include/conversation.php:1606 +msgid "Favourite Posts" msgstr "" -#: ../../include/widgets.php:1628 -msgid "Inspect queue" +#: ../../include/conversation.php:1613 +msgid "Spam" msgstr "" -#: ../../include/widgets.php:1630 -msgid "DB updates" +#: ../../include/conversation.php:1616 +msgid "Posts flagged as SPAM" msgstr "" -#: ../../include/widgets.php:1656 -msgid "Plugin Features" +#: ../../include/conversation.php:1674 +msgid "Status Messages and Posts" msgstr "" -#: ../../include/zot.php:705 -msgid "Invalid data packet" +#: ../../include/conversation.php:1683 +msgid "About" msgstr "" -#: ../../include/zot.php:721 -msgid "Unable to verify channel signature" +#: ../../include/conversation.php:1686 +msgid "Profile Details" msgstr "" -#: ../../include/zot.php:2336 -#, php-format -msgid "Unable to verify site signature for %s" +#: ../../include/conversation.php:1695 ../../include/photos.php:507 +msgid "Photo Albums" msgstr "" -#: ../../include/zot.php:3721 -msgid "invalid target signature" +#: ../../include/conversation.php:1702 +msgid "Files and Storage" msgstr "" -#: ../../include/taxonomy.php:228 ../../include/taxonomy.php:249 -msgid "Tags" +#: ../../include/conversation.php:1738 +msgid "Saved Bookmarks" msgstr "" -#: ../../include/taxonomy.php:293 -msgid "Keywords" +#: ../../include/conversation.php:1748 +msgid "Manage Webpages" msgstr "" -#: ../../include/taxonomy.php:314 -msgid "have" -msgstr "" +#: ../../include/conversation.php:1813 +msgctxt "noun" +msgid "Attending" +msgid_plural "Attending" +msgstr[0] "" +msgstr[1] "" -#: ../../include/taxonomy.php:314 -msgid "has" -msgstr "" +#: ../../include/conversation.php:1816 +msgctxt "noun" +msgid "Not Attending" +msgid_plural "Not Attending" +msgstr[0] "" +msgstr[1] "" -#: ../../include/taxonomy.php:315 -msgid "want" -msgstr "" +#: ../../include/conversation.php:1819 +msgctxt "noun" +msgid "Undecided" +msgid_plural "Undecided" +msgstr[0] "" +msgstr[1] "" -#: ../../include/taxonomy.php:315 -msgid "wants" -msgstr "" +#: ../../include/conversation.php:1822 +msgctxt "noun" +msgid "Agree" +msgid_plural "Agrees" +msgstr[0] "" +msgstr[1] "" -#: ../../include/taxonomy.php:316 -msgid "likes" -msgstr "" +#: ../../include/conversation.php:1825 +msgctxt "noun" +msgid "Disagree" +msgid_plural "Disagrees" +msgstr[0] "" +msgstr[1] "" -#: ../../include/taxonomy.php:317 -msgid "dislikes" -msgstr "" +#: ../../include/conversation.php:1828 +msgctxt "noun" +msgid "Abstain" +msgid_plural "Abstains" +msgstr[0] "" +msgstr[1] "" #: ../../include/bb2diaspora.php:401 msgid "Attachments:" msgstr "" -#: ../../include/bb2diaspora.php:490 ../../include/event.php:22 +#: ../../include/bb2diaspora.php:496 ../../include/event.php:22 #: ../../include/event.php:69 msgid "l F d, Y \\@ g:i A" msgstr "" -#: ../../include/bb2diaspora.php:492 +#: ../../include/bb2diaspora.php:498 msgid "$Projectname event notification:" msgstr "" -#: ../../include/bb2diaspora.php:496 ../../include/event.php:30 +#: ../../include/bb2diaspora.php:502 ../../include/event.php:30 #: ../../include/event.php:73 msgid "Starts:" msgstr "" -#: ../../include/bb2diaspora.php:504 ../../include/event.php:40 +#: ../../include/bb2diaspora.php:510 ../../include/event.php:40 #: ../../include/event.php:77 msgid "Finishes:" msgstr "" @@ -12653,10 +12946,6 @@ msgctxt "photo_upload" msgid "%1$s posted %2$s to %3$s" msgstr "" -#: ../../include/photos.php:507 ../../include/conversation.php:1695 -msgid "Photo Albums" -msgstr "" - #: ../../include/photos.php:511 msgid "Upload New Photos" msgstr "" @@ -12730,280 +13019,6 @@ msgstr "" msgid "User '%s' deleted" msgstr "" -#: ../../include/conversation.php:204 -#, php-format -msgid "%1$s is now connected with %2$s" -msgstr "" - -#: ../../include/conversation.php:239 -#, php-format -msgid "%1$s poked %2$s" -msgstr "" - -#: ../../include/conversation.php:710 -#, php-format -msgid "View %s's profile @ %s" -msgstr "" - -#: ../../include/conversation.php:729 -msgid "Categories:" -msgstr "" - -#: ../../include/conversation.php:730 -msgid "Filed under:" -msgstr "" - -#: ../../include/conversation.php:755 -msgid "View in context" -msgstr "" - -#: ../../include/conversation.php:865 -msgid "remove" -msgstr "" - -#: ../../include/conversation.php:870 -msgid "Delete Selected Items" -msgstr "" - -#: ../../include/conversation.php:963 -msgid "View Source" -msgstr "" - -#: ../../include/conversation.php:964 -msgid "Follow Thread" -msgstr "" - -#: ../../include/conversation.php:965 -msgid "Unfollow Thread" -msgstr "" - -#: ../../include/conversation.php:970 -msgid "Activity/Posts" -msgstr "" - -#: ../../include/conversation.php:972 -msgid "Edit Connection" -msgstr "" - -#: ../../include/conversation.php:973 -msgid "Message" -msgstr "" - -#: ../../include/conversation.php:1093 -#, php-format -msgid "%s likes this." -msgstr "" - -#: ../../include/conversation.php:1093 -#, php-format -msgid "%s doesn't like this." -msgstr "" - -#: ../../include/conversation.php:1097 -#, php-format -msgid "<span %1$s>%2$d people</span> like this." -msgid_plural "<span %1$s>%2$d people</span> like this." -msgstr[0] "" -msgstr[1] "" - -#: ../../include/conversation.php:1099 -#, php-format -msgid "<span %1$s>%2$d people</span> don't like this." -msgid_plural "<span %1$s>%2$d people</span> don't like this." -msgstr[0] "" -msgstr[1] "" - -#: ../../include/conversation.php:1105 -msgid "and" -msgstr "" - -#: ../../include/conversation.php:1108 -#, php-format -msgid ", and %d other people" -msgid_plural ", and %d other people" -msgstr[0] "" -msgstr[1] "" - -#: ../../include/conversation.php:1109 -#, php-format -msgid "%s like this." -msgstr "" - -#: ../../include/conversation.php:1109 -#, php-format -msgid "%s don't like this." -msgstr "" - -#: ../../include/conversation.php:1152 -msgid "Set your location" -msgstr "" - -#: ../../include/conversation.php:1153 -msgid "Clear browser location" -msgstr "" - -#: ../../include/conversation.php:1201 -msgid "Tag term:" -msgstr "" - -#: ../../include/conversation.php:1202 -msgid "Where are you right now?" -msgstr "" - -#: ../../include/conversation.php:1211 -msgid "Comments enabled" -msgstr "" - -#: ../../include/conversation.php:1212 -msgid "Comments disabled" -msgstr "" - -#: ../../include/conversation.php:1250 -msgid "Page link name" -msgstr "" - -#: ../../include/conversation.php:1253 -msgid "Post as" -msgstr "" - -#: ../../include/conversation.php:1267 -msgid "Toggle voting" -msgstr "" - -#: ../../include/conversation.php:1270 -msgid "Disable comments" -msgstr "" - -#: ../../include/conversation.php:1271 -msgid "Toggle comments" -msgstr "" - -#: ../../include/conversation.php:1279 -msgid "Categories (optional, comma-separated list)" -msgstr "" - -#: ../../include/conversation.php:1302 -msgid "Other networks and post services" -msgstr "" - -#: ../../include/conversation.php:1308 -msgid "Set publish date" -msgstr "" - -#: ../../include/conversation.php:1562 -msgid "Discover" -msgstr "" - -#: ../../include/conversation.php:1565 -msgid "Imported public streams" -msgstr "" - -#: ../../include/conversation.php:1570 -msgid "Commented Order" -msgstr "" - -#: ../../include/conversation.php:1573 -msgid "Sort by Comment Date" -msgstr "" - -#: ../../include/conversation.php:1577 -msgid "Posted Order" -msgstr "" - -#: ../../include/conversation.php:1580 -msgid "Sort by Post Date" -msgstr "" - -#: ../../include/conversation.php:1588 -msgid "Posts that mention or involve you" -msgstr "" - -#: ../../include/conversation.php:1597 -msgid "Activity Stream - by date" -msgstr "" - -#: ../../include/conversation.php:1603 -msgid "Starred" -msgstr "" - -#: ../../include/conversation.php:1606 -msgid "Favourite Posts" -msgstr "" - -#: ../../include/conversation.php:1613 -msgid "Spam" -msgstr "" - -#: ../../include/conversation.php:1616 -msgid "Posts flagged as SPAM" -msgstr "" - -#: ../../include/conversation.php:1674 -msgid "Status Messages and Posts" -msgstr "" - -#: ../../include/conversation.php:1683 -msgid "About" -msgstr "" - -#: ../../include/conversation.php:1686 -msgid "Profile Details" -msgstr "" - -#: ../../include/conversation.php:1702 -msgid "Files and Storage" -msgstr "" - -#: ../../include/conversation.php:1738 -msgid "Saved Bookmarks" -msgstr "" - -#: ../../include/conversation.php:1748 -msgid "Manage Webpages" -msgstr "" - -#: ../../include/conversation.php:1813 -msgctxt "noun" -msgid "Attending" -msgid_plural "Attending" -msgstr[0] "" -msgstr[1] "" - -#: ../../include/conversation.php:1816 -msgctxt "noun" -msgid "Not Attending" -msgid_plural "Not Attending" -msgstr[0] "" -msgstr[1] "" - -#: ../../include/conversation.php:1819 -msgctxt "noun" -msgid "Undecided" -msgid_plural "Undecided" -msgstr[0] "" -msgstr[1] "" - -#: ../../include/conversation.php:1822 -msgctxt "noun" -msgid "Agree" -msgid_plural "Agrees" -msgstr[0] "" -msgstr[1] "" - -#: ../../include/conversation.php:1825 -msgctxt "noun" -msgid "Disagree" -msgid_plural "Disagrees" -msgstr[0] "" -msgstr[1] "" - -#: ../../include/conversation.php:1828 -msgctxt "noun" -msgid "Abstain" -msgid_plural "Abstains" -msgstr[0] "" -msgstr[1] "" - #: ../../include/datetime.php:147 msgid "Birthday" msgstr "" @@ -13016,7 +13031,7 @@ msgstr "" msgid "YYYY-MM-DD or MM-DD" msgstr "" -#: ../../include/datetime.php:286 ../../boot.php:2548 +#: ../../include/datetime.php:286 ../../boot.php:2552 msgid "never" msgstr "" @@ -13272,66 +13287,66 @@ msgstr "" msgid "Set size of followup author photos" msgstr "" -#: ../../boot.php:1173 +#: ../../boot.php:1177 #, php-format msgctxt "opensearch" msgid "Search %1$s (%2$s)" msgstr "" -#: ../../boot.php:1173 +#: ../../boot.php:1177 msgctxt "opensearch" msgid "$Projectname" msgstr "" -#: ../../boot.php:1491 +#: ../../boot.php:1495 #, php-format msgid "Update %s failed. See error logs." msgstr "" -#: ../../boot.php:1494 +#: ../../boot.php:1498 #, php-format msgid "Update Error at %s" msgstr "" -#: ../../boot.php:1698 +#: ../../boot.php:1702 msgid "" "Create an account to access services and applications within the Hubzilla" msgstr "" -#: ../../boot.php:1719 +#: ../../boot.php:1723 msgid "Login/Email" msgstr "" -#: ../../boot.php:1720 +#: ../../boot.php:1724 msgid "Password" msgstr "" -#: ../../boot.php:1721 +#: ../../boot.php:1725 msgid "Remember me" msgstr "" -#: ../../boot.php:1724 +#: ../../boot.php:1728 msgid "Forgot your password?" msgstr "" -#: ../../boot.php:2285 +#: ../../boot.php:2289 msgid "toggle mobile" msgstr "" -#: ../../boot.php:2440 +#: ../../boot.php:2444 msgid "Website SSL certificate is not valid. Please correct." msgstr "" -#: ../../boot.php:2443 +#: ../../boot.php:2447 #, php-format msgid "[hubzilla] Website SSL error for %s" msgstr "" -#: ../../boot.php:2547 +#: ../../boot.php:2551 msgid "Cron/Scheduled tasks not running." msgstr "" -#: ../../boot.php:2551 +#: ../../boot.php:2555 #, php-format msgid "[hubzilla] Cron tasks not running on %s" msgstr "" diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js index aa47a6e19..905c7ca28 100644 --- a/view/js/autocomplete.js +++ b/view/js/autocomplete.js @@ -269,7 +269,7 @@ function string2bb(element) { $.fn.bbco_autocomplete = function(type) { if(type=='bbcode') { - var open_close_elements = ['bold', 'italic', 'underline', 'overline', 'strike', 'superscript', 'subscript', 'quote', 'code', 'open', 'spoiler', 'map', 'nobb', 'list', 'checklist', 'ul', 'ol', 'dl', 'li', 'table', 'tr', 'th', 'td', 'center', 'color', 'font', 'size', 'zrl', 'zmg', 'rpost', 'qr', 'observer', 'embed']; + var open_close_elements = ['bold', 'italic', 'underline', 'overline', 'strike', 'superscript', 'subscript', 'quote', 'code', 'open', 'spoiler', 'map', 'nobb', 'list', 'checklist', 'ul', 'ol', 'dl', 'li', 'table', 'tr', 'th', 'td', 'center', 'color', 'font', 'size', 'zrl', 'zmg', 'rpost', 'qr', 'observer', 'embed', 'hl']; var open_elements = ['observer.baseurl', 'observer.address', 'observer.photo', 'observer.name', 'observer.webname', 'observer.url', '*', 'hr', ]; var elements = open_close_elements.concat(open_elements); diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl index 12ec879a9..2e02de33b 100755 --- a/view/tpl/abook_edit.tpl +++ b/view/tpl/abook_edit.tpl @@ -21,10 +21,10 @@ {{if $abook_prev || $abook_next}} <div class="btn-group"> {{if $abook_prev}} - <a href="connedit/{{$abook_prev}}" class="btn btn-default btn-xs" ><i class="fa fa-backward"></i></a> + <a href="connedit/{{$abook_prev}}{{if $section}}?f=§ion={{$section}}{{/if}}" class="btn btn-default btn-xs" ><i class="fa fa-backward"></i></a> {{/if}} {{if $abook_next}} - <a href="connedit/{{$abook_next}}" class="btn btn-default btn-xs" ><i class="fa fa-forward"></i></a> + <a href="connedit/{{$abook_next}}{{if $section}}?f=§ion={{$section}}{{/if}}" class="btn btn-default btn-xs" ><i class="fa fa-forward"></i></a> {{/if}} </div> {{/if}} @@ -63,6 +63,7 @@ <form id="abook-edit-form" action="connedit/{{$contact_id}}" method="post" > <input type="hidden" name="contact_id" value="{{$contact_id}}"> + <input type="hidden" name="section" value="{{$section}}"> <div class="panel-group" id="contact-edit-tools" role="tablist" aria-multiselectable="true"> {{if $notself}} @@ -96,7 +97,7 @@ </a> </h3> </div> - <div id="affinity-tool-collapse" class="panel-collapse collapse{{if !$is_pending}} in{{/if}}" role="tabpanel" aria-labelledby="affinity-tool"> + <div id="affinity-tool-collapse" class="panel-collapse collapse{{if !$is_pending || $section == 'affinity'}} in{{/if}}" role="tabpanel" aria-labelledby="affinity-tool"> <div class="section-content-tools-wrapper"> {{if $slide}} <div class="form-group"><strong>{{$lbl_slider}}</strong></div> @@ -127,7 +128,7 @@ </a> </h3> </div> - <div id="fitert-tool-collapse" class="panel-collapse collapse{{if !$is_pending && !($slide || $multiprofs)}} in{{/if}}" role="tabpanel" aria-labelledby="fitert-tool"> + <div id="fitert-tool-collapse" class="panel-collapse collapse{{if ( !$is_pending && !($slide || $multiprofs)) || $section == 'filter' }} in{{/if}}" role="tabpanel" aria-labelledby="fitert-tool"> <div class="section-content-tools-wrapper"> {{include file="field_textarea.tpl" field=$incl}} {{include file="field_textarea.tpl" field=$excl}} @@ -181,7 +182,7 @@ </h3> </div> {{/if}} - <div id="perms-tool-collapse" class="panel-collapse collapse{{if $self}} in{{/if}}" role="tabpanel" aria-labelledby="perms-tool"> + <div id="perms-tool-collapse" class="panel-collapse collapse{{if $self || $section === 'perms'}} in{{/if}}" role="tabpanel" aria-labelledby="perms-tool"> <div class="section-content-tools-wrapper"> <div class="section-content-warning-wrapper"> {{if $notself}}{{$permnote}}{{/if}} diff --git a/view/tpl/admin_site.tpl b/view/tpl/admin_site.tpl index a5b32f08f..0bb3ceb15 100755 --- a/view/tpl/admin_site.tpl +++ b/view/tpl/admin_site.tpl @@ -49,6 +49,7 @@ {{/if}} {{include file="field_textarea.tpl" field=$banner}} + {{include file="field_textarea.tpl" field=$siteinfo}} {{include file="field_textarea.tpl" field=$admininfo}} {{include file="field_select.tpl" field=$language}} {{include file="field_select.tpl" field=$theme}} diff --git a/view/tpl/siteinfo.tpl b/view/tpl/siteinfo.tpl index e50284b9c..0bba31f78 100755 --- a/view/tpl/siteinfo.tpl +++ b/view/tpl/siteinfo.tpl @@ -1,26 +1,41 @@ <div class="generic-content-wrapper-styled"> -<h3>{{$title}}</h3> -<p></p> -<p>{{$description}}</p> -{{if $version}} -<p>{{$version}}{{if $commit}}+{{$commit}}{{/if}}</p> +<h2>{{$title}}</h2> + +<h3>{{$sitenametxt}}</h3> + +<div>{{$sitename}}</div> + +<h3>{{$headline}}</h3> + +<div>{{if $site_about}}{{$site_about}}{{else}}--{{/if}}</div> + +<h3>{{$admin_headline}}</h3> + +<div>{{if $admin_about}}{{$admin_about}}{{else}}--{{/if}}</div> + +<br><br> +<div><a href="help/TermsOfService">{{$terms}}</a></div> + +<hr> + +<h2>{{$prj_header}}</h2> + +<div>{{$prj_name}}</div> + +{{if $prj_version}} +<div>{{$prj_version}}</div> {{/if}} -{{if $tag}} -<p>{{$tag_txt}} {{$tag}}</p> -{{/if}} -{{if $polled}} -<p>{{$polled}} {{$lastpoll}}</p> -{{/if}} -<p>{{$load_average}} {{$loadavg_all}}</p> -<p>{{$web_location}}</p> -<p>{{$visit}}</p> -<p>{{$bug_text}} <a href="{{$bug_link_url}}">{{$bug_link_text}}</a></p> -<p>{{$adminlabel}}</p> -<p>{{$admininfo}}</p> -<p>{{$contact}}</p> -<p>{{$plugins_text}}</p> -{{if $plugins_list}} - <div style="margin-left: 25px; margin-right: 25px;">{{$plugins_list}}</div> -{{/if}} -<p>{{$donate}}</p> + + +<h3>{{$prj_linktxt}}</h3> + +<div>{{$prj_link}}</div> + +<h3>{{$prj_srctxt}}</h3> + +<div>{{$prj_src}}</div> + +<br><br> +<div>{{$prj_transport}} ({{$transport_link}})</div> + </div> diff --git a/view/tpl/wikilist.tpl b/view/tpl/wikilist.tpl index 27fb6370e..c7cdfaa43 100644 --- a/view/tpl/wikilist.tpl +++ b/view/tpl/wikilist.tpl @@ -9,6 +9,8 @@ <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}}'> {{include file="field_input.tpl" field=$wikiName}} + {{* include file="field_select.tpl" field=$mimeType *}} + <input type="hidden" name="mimeType" value="text/markdown"> {{include file="field_checkbox.tpl" field=$notify}} <div> <div class="btn-group pull-right"> |