renamed include files identity.php (channel.php) and Contact.php (connections.php)

This commit is contained in:
redmatrix 2016-05-22 16:54:30 -07:00
parent 2fdd148598
commit de006771c7
62 changed files with 194 additions and 240 deletions

View file

@ -21,7 +21,6 @@ class Cron_weekly {
require_once('include/hubloc.php'); require_once('include/hubloc.php');
prune_hub_reinstalls(); prune_hub_reinstalls();
require_once('include/Contact.php');
mark_orphan_hubsxchans(); mark_orphan_hubsxchans();

View file

@ -3,7 +3,7 @@
namespace Zotlabs\Daemon; namespace Zotlabs\Daemon;
require_once('include/zot.php'); require_once('include/zot.php');
require_once('include/identity.php'); require_once('include/channel.php');
class Externals { class Externals {

View file

@ -72,8 +72,7 @@ require_once('include/queue_fn.php');
require_once('include/datetime.php'); require_once('include/datetime.php');
require_once('include/items.php'); require_once('include/items.php');
require_once('include/bbcode.php'); require_once('include/bbcode.php');
require_once('include/identity.php'); require_once('include/channel.php');
require_once('include/Contact.php');
class Notifier { class Notifier {

View file

@ -4,7 +4,7 @@ namespace Zotlabs\Daemon;
require_once('include/zot.php'); require_once('include/zot.php');
require_once('include/socgraph.php'); require_once('include/socgraph.php');
require_once('include/Contact.php');
class Onepoll { class Onepoll {

View file

@ -12,7 +12,6 @@ class Ratenotif {
require_once("datetime.php"); require_once("datetime.php");
require_once('include/items.php'); require_once('include/items.php');
require_once('include/Contact.php');
if($argc < 3) if($argc < 3)
return; return;

View file

@ -165,7 +165,7 @@ class ThreadStream {
$item->set_commentable(can_comment_on_post($this->observer['xchan_hash'],$item->data)); $item->set_commentable(can_comment_on_post($this->observer['xchan_hash'],$item->data));
} }
} }
require_once('include/identity.php'); require_once('include/channel.php');
$item->set_conversation($this); $item->set_conversation($this);
$this->threads[] = $item; $this->threads[] = $item;

View file

@ -902,7 +902,6 @@ class Admin extends \Zotlabs\Web\Controller {
} }
// account delete button was submitted // account delete button was submitted
if (x($_POST, 'page_users_delete')) { if (x($_POST, 'page_users_delete')) {
require_once('include/Contact.php');
foreach ($users as $uid){ foreach ($users as $uid){
account_remove($uid, true, false); account_remove($uid, true, false);
} }
@ -951,7 +950,6 @@ class Admin extends \Zotlabs\Web\Controller {
switch (argv(2)){ switch (argv(2)){
case 'delete': case 'delete':
// delete user // delete user
require_once('include/Contact.php');
account_remove($uid,true,false); account_remove($uid,true,false);
notice( sprintf(t("Account '%s' deleted"), $account[0]['account_email']) . EOL); notice( sprintf(t("Account '%s' deleted"), $account[0]['account_email']) . EOL);
@ -1096,7 +1094,6 @@ class Admin extends \Zotlabs\Web\Controller {
notice( sprintf( tt("%s channel code allowed/disallowed", "%s channels code allowed/disallowed", count($channels)), count($channels)) ); notice( sprintf( tt("%s channel code allowed/disallowed", "%s channels code allowed/disallowed", count($channels)), count($channels)) );
} }
if (x($_POST,'page_channels_delete')){ if (x($_POST,'page_channels_delete')){
require_once("include/Contact.php");
foreach($channels as $uid){ foreach($channels as $uid){
channel_remove($uid,true); channel_remove($uid,true);
} }
@ -1128,7 +1125,6 @@ class Admin extends \Zotlabs\Web\Controller {
case "delete":{ case "delete":{
check_form_security_token_redirectOnErr('/admin/channels', 'admin_channels', 't'); check_form_security_token_redirectOnErr('/admin/channels', 'admin_channels', 't');
// delete channel // delete channel
require_once("include/Contact.php");
channel_remove($uid,true); channel_remove($uid,true);
notice( sprintf(t("Channel '%s' deleted"), $channel[0]['channel_name']) . EOL); notice( sprintf(t("Channel '%s' deleted"), $channel[0]['channel_name']) . EOL);

View file

@ -1,7 +1,7 @@
<?php <?php
namespace Zotlabs\Module; namespace Zotlabs\Module;
require_once('include/identity.php'); require_once('include/channel.php');
require_once('include/conversation.php'); require_once('include/conversation.php');
require_once('include/acl_selectors.php'); require_once('include/acl_selectors.php');

View file

@ -6,8 +6,6 @@ require_once('include/bbcode.php');
require_once('include/datetime.php'); require_once('include/datetime.php');
require_once('include/event.php'); require_once('include/event.php');
require_once('include/items.php'); require_once('include/items.php');
require_once('include/Contact.php');
class Cal extends \Zotlabs\Web\Controller { class Cal extends \Zotlabs\Web\Controller {

View file

@ -1,10 +1,8 @@
<?php <?php
namespace Zotlabs\Module; namespace Zotlabs\Module;
require_once('include/Contact.php');
require_once('include/zot.php'); require_once('include/zot.php');
class Chanview extends \Zotlabs\Web\Controller { class Chanview extends \Zotlabs\Web\Controller {
function get() { function get() {

View file

@ -2,7 +2,7 @@
namespace Zotlabs\Module; /** @file */ namespace Zotlabs\Module; /** @file */
require_once('include/Contact.php');
require_once('include/contact_widgets.php'); require_once('include/contact_widgets.php');
require_once('include/items.php'); require_once('include/items.php');

View file

@ -1,7 +1,7 @@
<?php <?php
namespace Zotlabs\Module; namespace Zotlabs\Module;
require_once('include/Contact.php');
require_once('include/socgraph.php'); require_once('include/socgraph.php');
require_once('include/selectors.php'); require_once('include/selectors.php');
require_once('include/group.php'); require_once('include/group.php');

View file

@ -7,7 +7,7 @@ namespace Zotlabs\Module;
* *
*/ */
require_once('include/Contact.php');
require_once('include/socgraph.php'); require_once('include/socgraph.php');
require_once('include/selectors.php'); require_once('include/selectors.php');
require_once('include/group.php'); require_once('include/group.php');
@ -485,7 +485,6 @@ class Connedit extends \Zotlabs\Web\Controller {
if($cmd === 'drop') { if($cmd === 'drop') {
require_once('include/Contact.php');
// FIXME // FIXME
// We need to send either a purge or a refresh packet to the other side (the channel being unfriended). // We need to send either a purge or a refresh packet to the other side (the channel being unfriended).

View file

@ -8,7 +8,7 @@ namespace Zotlabs\Module;
*/ */
require_once('include/photo/photo_driver.php'); require_once('include/photo/photo_driver.php');
require_once('include/identity.php'); require_once('include/channel.php');

View file

@ -185,7 +185,7 @@ class Display extends \Zotlabs\Web\Controller {
if($load || ($checkjs->disabled())) { if($load || ($checkjs->disabled())) {
$r = null; $r = null;
require_once('include/identity.php'); require_once('include/channel.php');
$sys = get_sys_channel(); $sys = get_sys_channel();
$sysid = $sys['channel_id']; $sysid = $sys['channel_id'];
@ -233,7 +233,7 @@ class Display extends \Zotlabs\Web\Controller {
elseif($update && !$load) { elseif($update && !$load) {
$r = null; $r = null;
require_once('include/identity.php'); require_once('include/channel.php');
$sys = get_sys_channel(); $sys = get_sys_channel();
$sysid = $sys['channel_id']; $sysid = $sys['channel_id'];

View file

@ -1,7 +1,7 @@
<?php <?php
namespace Zotlabs\Module; namespace Zotlabs\Module;
require_once('include/identity.php'); require_once('include/channel.php');
require_once('include/acl_selectors.php'); require_once('include/acl_selectors.php');
require_once('include/conversation.php'); require_once('include/conversation.php');

View file

@ -1,7 +1,7 @@
<?php <?php
namespace Zotlabs\Module; namespace Zotlabs\Module;
require_once('include/identity.php'); require_once('include/channel.php');
require_once('include/acl_selectors.php'); require_once('include/acl_selectors.php');
require_once('include/conversation.php'); require_once('include/conversation.php');

View file

@ -1,7 +1,7 @@
<?php <?php
namespace Zotlabs\Module; namespace Zotlabs\Module;
require_once('include/identity.php'); require_once('include/channel.php');
require_once('include/acl_selectors.php'); require_once('include/acl_selectors.php');
require_once('include/conversation.php'); require_once('include/conversation.php');
require_once('include/PermissionDescription.php'); require_once('include/PermissionDescription.php');

View file

@ -21,7 +21,6 @@ namespace Zotlabs\Module;
require_once('include/Contact.php');
require_once('include/attach.php'); require_once('include/attach.php');

View file

@ -4,9 +4,9 @@ namespace Zotlabs\Module;
// Import a channel, either by direct file upload or via // Import a channel, either by direct file upload or via
// connection to original server. // connection to original server.
require_once('include/Contact.php');
require_once('include/zot.php'); require_once('include/zot.php');
require_once('include/identity.php'); require_once('include/channel.php');
require_once('include/import.php'); require_once('include/import.php');

View file

@ -56,7 +56,7 @@ class Item extends \Zotlabs\Web\Controller {
$remote_xchan = $remote_observer = false; $remote_xchan = $remote_observer = false;
$profile_uid = ((x($_REQUEST,'profile_uid')) ? intval($_REQUEST['profile_uid']) : 0); $profile_uid = ((x($_REQUEST,'profile_uid')) ? intval($_REQUEST['profile_uid']) : 0);
require_once('include/identity.php'); require_once('include/channel.php');
$sys = get_sys_channel(); $sys = get_sys_channel();
if($sys && $profile_uid && ($sys['channel_id'] == $profile_uid) && is_site_admin()) { if($sys && $profile_uid && ($sys['channel_id'] == $profile_uid) && is_site_admin()) {
$uid = intval($sys['channel_id']); $uid = intval($sys['channel_id']);

View file

@ -1,7 +1,7 @@
<?php <?php
namespace Zotlabs\Module; namespace Zotlabs\Module;
require_once('include/identity.php'); require_once('include/channel.php');
require_once('include/conversation.php'); require_once('include/conversation.php');
require_once('include/acl_selectors.php'); require_once('include/acl_selectors.php');

View file

@ -5,7 +5,7 @@ require_once('include/acl_selectors.php');
require_once('include/message.php'); require_once('include/message.php');
require_once('include/zot.php'); require_once('include/zot.php');
require_once("include/bbcode.php"); require_once("include/bbcode.php");
require_once('include/Contact.php');
@ -305,11 +305,6 @@ class Mail extends \Zotlabs\Web\Controller {
else else
\App::$poi = $messages[0]['to']; \App::$poi = $messages[0]['to'];
// require_once('include/Contact.php');
// \App::set_widget('mail_conversant',vcard_from_xchan(\App::$poi,$get_observer_hash,'mail'));
$tpl = get_markup_template('msg-header.tpl'); $tpl = get_markup_template('msg-header.tpl');
\App::$page['htmlhead'] .= replace_macros($tpl, array( \App::$page['htmlhead'] .= replace_macros($tpl, array(

View file

@ -2,7 +2,7 @@
namespace Zotlabs\Module; namespace Zotlabs\Module;
require_once('include/menu.php'); require_once('include/menu.php');
require_once('include/identity.php'); require_once('include/channel.php');
class Menu extends \Zotlabs\Web\Controller { class Menu extends \Zotlabs\Web\Controller {

View file

@ -5,8 +5,6 @@ require_once('include/acl_selectors.php');
require_once('include/message.php'); require_once('include/message.php');
require_once('include/zot.php'); require_once('include/zot.php');
require_once("include/bbcode.php"); require_once("include/bbcode.php");
require_once('include/Contact.php');
class Message extends \Zotlabs\Web\Controller { class Message extends \Zotlabs\Web\Controller {

View file

@ -385,7 +385,7 @@ class Network extends \Zotlabs\Web\Controller {
$abook_uids = " and abook.abook_channel = " . local_channel() . " "; $abook_uids = " and abook.abook_channel = " . local_channel() . " ";
if($firehose && (! get_config('system','disable_discover_tab'))) { if($firehose && (! get_config('system','disable_discover_tab'))) {
require_once('include/identity.php'); require_once('include/channel.php');
$sys = get_sys_channel(); $sys = get_sys_channel();
$uids = " and item.uid = " . intval($sys['channel_id']) . " "; $uids = " and item.uid = " . intval($sys['channel_id']) . " ";
\App::$data['firehose'] = intval($sys['channel_id']); \App::$data['firehose'] = intval($sys['channel_id']);

View file

@ -1,7 +1,7 @@
<?php <?php
namespace Zotlabs\Module; namespace Zotlabs\Module;
require_once('include/identity.php'); require_once('include/channel.php');
require_once('include/permissions.php'); require_once('include/permissions.php');

View file

@ -181,8 +181,8 @@ class Oep extends \Zotlabs\Web\Controller {
function oep_profile_reply($args) { function oep_profile_reply($args) {
require_once('include/identity.php'); require_once('include/channel.php');
require_once('include/Contact.php');
$url = $args['url']; $url = $args['url'];
if(preg_match('#//(.*?)/(.*?)/(.*?)(/|\?|&|$)#',$url,$matches)) { if(preg_match('#//(.*?)/(.*?)/(.*?)(/|\?|&|$)#',$url,$matches)) {

View file

@ -1,12 +1,12 @@
<?php <?php
namespace Zotlabs\Module; namespace Zotlabs\Module;
require_once('include/photo/photo_driver.php'); require_once('include/photo/photo_driver.php');
require_once('include/photos.php'); require_once('include/photos.php');
require_once('include/items.php'); require_once('include/items.php');
require_once('include/acl_selectors.php'); require_once('include/acl_selectors.php');
require_once('include/bbcode.php'); require_once('include/bbcode.php');
require_once('include/security.php'); require_once('include/security.php');
require_once('include/Contact.php');
require_once('include/attach.php'); require_once('include/attach.php');
require_once('include/text.php'); require_once('include/text.php');
require_once('include/PermissionDescription.php'); require_once('include/PermissionDescription.php');

View file

@ -9,7 +9,7 @@ namespace Zotlabs\Module;
require_once('include/photo/photo_driver.php'); require_once('include/photo/photo_driver.php');
require_once('include/photos.php'); require_once('include/photos.php');
require_once('include/identity.php'); require_once('include/channel.php');
/* @brief Function for sync'ing permissions of profile-photos and their profile /* @brief Function for sync'ing permissions of profile-photos and their profile
* *

View file

@ -1,7 +1,7 @@
<?php <?php
namespace Zotlabs\Module; namespace Zotlabs\Module;
require_once('include/identity.php'); require_once('include/channel.php');
require_once('include/selectors.php'); require_once('include/selectors.php');
@ -602,7 +602,7 @@ class Profiles extends \Zotlabs\Web\Controller {
return; return;
} }
require_once('include/identity.php'); require_once('include/channel.php');
$profile_fields_basic = get_profile_fields_basic(); $profile_fields_basic = get_profile_fields_basic();
$profile_fields_advanced = get_profile_fields_advanced(); $profile_fields_advanced = get_profile_fields_advanced();

View file

@ -1,7 +1,7 @@
<?php <?php
namespace Zotlabs\Module; namespace Zotlabs\Module;
require_once('include/Contact.php');
require_once('include/photos.php'); require_once('include/photos.php');

View file

@ -71,7 +71,7 @@ class Pubstream extends \Zotlabs\Web\Controller {
$pager_sql = sprintf(" LIMIT %d OFFSET %d ", intval(\App::$pager['itemspage']), intval(\App::$pager['start'])); $pager_sql = sprintf(" LIMIT %d OFFSET %d ", intval(\App::$pager['itemspage']), intval(\App::$pager['start']));
} }
require_once('include/identity.php'); require_once('include/channel.php');
require_once('include/security.php'); require_once('include/security.php');
if(get_config('system','site_firehose')) { if(get_config('system','site_firehose')) {

View file

@ -6,7 +6,6 @@ namespace Zotlabs\Module;
class Randprof extends \Zotlabs\Web\Controller { class Randprof extends \Zotlabs\Web\Controller {
function init() { function init() {
require_once('include/Contact.php');
$x = random_profile(); $x = random_profile();
if($x) if($x)
goaway(chanlink_url($x)); goaway(chanlink_url($x));

View file

@ -1,7 +1,7 @@
<?php <?php
namespace Zotlabs\Module; namespace Zotlabs\Module;
require_once('include/identity.php'); require_once('include/channel.php');
class Register extends \Zotlabs\Web\Controller { class Register extends \Zotlabs\Web\Controller {

View file

@ -36,17 +36,12 @@ class Removeaccount extends \Zotlabs\Web\Controller {
} }
} }
require_once('include/Contact.php');
$global_remove = intval($_POST['global']); $global_remove = intval($_POST['global']);
account_remove($account_id,true); account_remove($account_id, 1 - $global_remove);
} }
function get() {
function get() {
if(! local_channel()) if(! local_channel())
goaway(z_root()); goaway(z_root());

View file

@ -35,8 +35,6 @@ class Removeme extends \Zotlabs\Web\Controller {
} }
} }
require_once('include/Contact.php');
$global_remove = intval($_POST['global']); $global_remove = intval($_POST['global']);
channel_remove(local_channel(),1 - $global_remove,true); channel_remove(local_channel(),1 - $global_remove,true);
@ -44,8 +42,7 @@ class Removeme extends \Zotlabs\Web\Controller {
} }
function get() {
function get() {
if(! local_channel()) if(! local_channel())
goaway(z_root()); goaway(z_root());

View file

@ -139,7 +139,7 @@ class Search extends \Zotlabs\Web\Controller {
$item_normal = item_normal(); $item_normal = item_normal();
$pub_sql = public_permissions_sql($observer_hash); $pub_sql = public_permissions_sql($observer_hash);
require_once('include/identity.php'); require_once('include/channel.php');
$sys = get_sys_channel(); $sys = get_sys_channel();

View file

@ -483,7 +483,7 @@ class Settings extends \Zotlabs\Web\Controller {
if($username != $channel['channel_name']) { if($username != $channel['channel_name']) {
$name_change = true; $name_change = true;
require_once('include/identity.php'); require_once('include/channel.php');
$err = validate_channelname($username); $err = validate_channelname($username);
if($err) { if($err) {
notice($err); notice($err);

View file

@ -734,7 +734,7 @@ class Setup extends \Zotlabs\Web\Controller {
set_config('system','curl_ssl_ciphers','ALL:!eNULL'); set_config('system','curl_ssl_ciphers','ALL:!eNULL');
// Create a system channel // Create a system channel
require_once ('include/identity.php'); require_once ('include/channel.php');
create_sys_channel(); create_sys_channel();
$baseurl = z_root(); $baseurl = z_root();

View file

@ -11,7 +11,7 @@ class Uexport extends \Zotlabs\Web\Controller {
if(argc() > 1) { if(argc() > 1) {
$channel = \App::get_channel(); $channel = \App::get_channel();
require_once('include/identity.php'); require_once('include/channel.php');
if(argc() > 1 && intval(argv(1)) > 1900) { if(argc() > 1 && intval(argv(1)) > 1900) {
$year = intval(argv(1)); $year = intval(argv(1));

View file

@ -2,8 +2,6 @@
namespace Zotlabs\Module; namespace Zotlabs\Module;
require_once('include/selectors.php'); require_once('include/selectors.php');
require_once('include/Contact.php');
class Viewconnections extends \Zotlabs\Web\Controller { class Viewconnections extends \Zotlabs\Web\Controller {
@ -16,7 +14,7 @@ class Viewconnections extends \Zotlabs\Web\Controller {
profile_load($a,argv(1)); profile_load($a,argv(1));
} }
function get() { function get() {
if((get_config('system','block_public')) && (! local_channel()) && (! remote_channel())) { if((get_config('system','block_public')) && (! local_channel()) && (! remote_channel())) {
notice( t('Public access denied.') . EOL); notice( t('Public access denied.') . EOL);

View file

@ -2,7 +2,7 @@
namespace Zotlabs\Module; namespace Zotlabs\Module;
require_once('include/attach.php'); require_once('include/attach.php');
require_once('include/identity.php'); require_once('include/channel.php');
require_once('include/photos.php'); require_once('include/photos.php');

View file

@ -2,7 +2,7 @@
namespace Zotlabs\Module; namespace Zotlabs\Module;
require_once('include/photo/photo_driver.php'); require_once('include/photo/photo_driver.php');
require_once('include/identity.php'); require_once('include/channel.php');
require_once('include/photos.php'); require_once('include/photos.php');

View file

@ -1,7 +1,7 @@
<?php <?php
namespace Zotlabs\Module; namespace Zotlabs\Module;
require_once('include/identity.php'); require_once('include/channel.php');
require_once('include/conversation.php'); require_once('include/conversation.php');
require_once('include/acl_selectors.php'); require_once('include/acl_selectors.php');
require_once('include/PermissionDescription.php'); require_once('include/PermissionDescription.php');

View file

@ -17,7 +17,7 @@ class Finger {
* @param boolean $autofallback * @param boolean $autofallback
* fallback/failover to http if https connection cannot be established. Default is true. * fallback/failover to http if https connection cannot be established. Default is true.
* *
* @return array see z_post_url() and \ref mod/zfinger.php * @return zotinfo array (with 'success' => true) or array('success' => false);
*/ */
static public function run($webbie, $channel = null, $autofallback = true) { static public function run($webbie, $channel = null, $autofallback = true) {
@ -108,7 +108,7 @@ class Finger {
$x = json_decode($result['body'],true); $x = json_decode($result['body'],true);
if($x) { if($x) {
$signed_token = $x['signed_token']; $signed_token = ((is_array($x) && array_key_exists('signed_token',$x)) ? $x['signed_token'] : null);
if($signed_token) { if($signed_token) {
$valid = rsa_verify(self::$token,base64url_decode($signed_token),$x['key']); $valid = rsa_verify(self::$token,base64url_decode($signed_token),$x['key']);
if(! $valid) { if(! $valid) {

View file

@ -39,14 +39,14 @@ require_once('include/permissions.php');
require_once('library/Mobile_Detect/Mobile_Detect.php'); require_once('library/Mobile_Detect/Mobile_Detect.php');
require_once('include/features.php'); require_once('include/features.php');
require_once('include/taxonomy.php'); require_once('include/taxonomy.php');
require_once('include/identity.php'); require_once('include/channel.php');
require_once('include/Contact.php'); require_once('include/connections.php');
require_once('include/account.php'); require_once('include/account.php');
define ( 'PLATFORM_NAME', 'hubzilla' ); define ( 'PLATFORM_NAME', 'hubzilla' );
define ( 'STD_VERSION', '1.7.1' ); define ( 'STD_VERSION', '1.7.1' );
define ( 'ZOT_REVISION', 1 ); define ( 'ZOT_REVISION', 1.1 );
define ( 'DB_UPDATE_VERSION', 1168 ); define ( 'DB_UPDATE_VERSION', 1168 );

File diff suppressed because one or more lines are too long

View file

@ -11,7 +11,7 @@ require_once('include/text.php');
require_once('include/language.php'); require_once('include/language.php');
require_once('include/datetime.php'); require_once('include/datetime.php');
require_once('include/crypto.php'); require_once('include/crypto.php');
require_once('include/identity.php'); require_once('include/channel.php');
function check_account_email($email) { function check_account_email($email) {

View file

@ -514,7 +514,7 @@ require_once('include/api_auth.php');
return false; return false;
} }
require_once('include/identity.php'); require_once('include/channel.php');
json_return_and_die(identity_basic_export(api_user(),(($_REQUEST['posts']) ? intval($_REQUEST['posts']) : 0 ))); json_return_and_die(identity_basic_export(api_user(),(($_REQUEST['posts']) ? intval($_REQUEST['posts']) : 0 )));
} }

View file

@ -6,7 +6,7 @@
*/ */
require_once('include/plugin.php'); require_once('include/plugin.php');
require_once('include/identity.php'); require_once('include/channel.php');
function get_system_apps($translate = true) { function get_system_apps($translate = true) {

View file

@ -1,6 +1,6 @@
<?php <?php
/** /**
* @file include/identity.php * @file include/channel.php
*/ */
require_once('include/zot.php'); require_once('include/zot.php');
@ -847,7 +847,7 @@ function profile_load(&$a, $nickname, $profile = '') {
$extra_fields = array(); $extra_fields = array();
require_once('include/identity.php'); require_once('include/channel.php');
$profile_fields_basic = get_profile_fields_basic(); $profile_fields_basic = get_profile_fields_basic();
$profile_fields_advanced = get_profile_fields_advanced(); $profile_fields_advanced = get_profile_fields_advanced();
@ -1004,8 +1004,6 @@ function profile_sidebar($profile, $block = 0, $show_connect = true, $zcard = fa
call_hooks('profile_sidebar_enter', $profile); call_hooks('profile_sidebar_enter', $profile);
require_once('include/Contact.php');
if($show_connect) { if($show_connect) {
// This will return an empty string if we're already connected. // This will return an empty string if we're already connected.

View file

@ -198,7 +198,7 @@ function account_remove($account_id,$local = true,$unset_session=true) {
// Don't let anybody nuke the only admin account. // Don't let anybody nuke the only admin account.
$r = q("select account_id from account where (account_roles & %d)>0", $r = q("select account_id from account where (account_roles & %d) > 0",
intval(ACCOUNT_ROLE_ADMIN) intval(ACCOUNT_ROLE_ADMIN)
); );

View file

@ -3,9 +3,6 @@
function findpeople_widget() { function findpeople_widget() {
require_once('include/Contact.php');
$a = get_app();
if(get_config('system','invitation_only')) { if(get_config('system','invitation_only')) {
$x = get_pconfig(local_channel(),'system','invites_remaining'); $x = get_pconfig(local_channel(),'system','invites_remaining');
@ -37,7 +34,6 @@ function findpeople_widget() {
function fileas_widget($baseurl,$selected = '') { function fileas_widget($baseurl,$selected = '') {
$a = get_app();
if(! local_channel()) if(! local_channel())
return ''; return '';
@ -65,8 +61,6 @@ function fileas_widget($baseurl,$selected = '') {
} }
function categories_widget($baseurl,$selected = '') { function categories_widget($baseurl,$selected = '') {
$a = get_app();
if(! feature_enabled(App::$profile['profile_uid'],'categories')) if(! feature_enabled(App::$profile['profile_uid'],'categories'))
return ''; return '';
@ -108,8 +102,6 @@ function categories_widget($baseurl,$selected = '') {
function common_friends_visitor_widget($profile_uid) { function common_friends_visitor_widget($profile_uid) {
$a = get_app();
if(local_channel() == $profile_uid) if(local_channel() == $profile_uid)
return; return;

View file

@ -1107,7 +1107,6 @@ function status_editor($a, $x, $popup = false) {
$o = ''; $o = '';
require_once('include/Contact.php');
$c = channelx_by_n($x['profile_uid']); $c = channelx_by_n($x['profile_uid']);
if($c && $c['channel_moved']) if($c && $c['channel_moved'])
return $o; return $o;
@ -1160,7 +1159,7 @@ function status_editor($a, $x, $popup = false) {
$layoutselect = '<input type="hidden" name="layout_mid" value="' . $layout . '" />'; $layoutselect = '<input type="hidden" name="layout_mid" value="' . $layout . '" />';
if(array_key_exists('channel_select',$x) && $x['channel_select']) { if(array_key_exists('channel_select',$x) && $x['channel_select']) {
require_once('include/identity.php'); require_once('include/channel.php');
$id_select = identity_selector(); $id_select = identity_selector();
} }
else else

View file

@ -1087,7 +1087,6 @@ function update_feed_item($uid,$datarray) {
function handle_feed($uid,$abook_id,$url) { function handle_feed($uid,$abook_id,$url) {
require_once('include/Contact.php');
$channel = channelx_by_n($uid); $channel = channelx_by_n($uid);
if(! $channel) if(! $channel)
return; return;

View file

@ -77,7 +77,7 @@ function collect_recipients($item, &$private_envelope) {
// by the directives in $item['public_policy']. // by the directives in $item['public_policy'].
$private_envelope = false; $private_envelope = false;
require_once('include/identity.php'); require_once('include/channel.php');
//$sys = get_sys_channel(); //$sys = get_sys_channel();
if(array_key_exists('public_policy',$item) && $item['public_policy'] !== 'self') { if(array_key_exists('public_policy',$item) && $item['public_policy'] !== 'self') {

View file

@ -1319,7 +1319,7 @@ function theme_attachments(&$item) {
$title = t('Size') . ' ' . (($r['length']) ? userReadableSize($r['length']) : t('unknown')); $title = t('Size') . ' ' . (($r['length']) ? userReadableSize($r['length']) : t('unknown'));
require_once('include/identity.php'); require_once('include/channel.php');
if(is_foreigner($item['author_xchan'])) if(is_foreigner($item['author_xchan']))
$url = $r['href']; $url = $r['href'];
else else
@ -1486,7 +1486,7 @@ function format_event($jobject) {
} }
function prepare_body(&$item,$attach = false) { function prepare_body(&$item,$attach = false) {
require_once('include/identity.php'); require_once('include/channel.php');
call_hooks('prepare_body_init', $item); call_hooks('prepare_body_init', $item);
@ -2261,7 +2261,7 @@ function design_tools() {
$sys = false; $sys = false;
if(App::$is_sys && is_site_admin()) { if(App::$is_sys && is_site_admin()) {
require_once('include/identity.php'); require_once('include/channel.php');
$channel = get_sys_channel(); $channel = get_sys_channel();
$sys = true; $sys = true;
} }

View file

@ -8,7 +8,7 @@
require_once('include/dir_fns.php'); require_once('include/dir_fns.php');
require_once('include/contact_widgets.php'); require_once('include/contact_widgets.php');
require_once('include/attach.php'); require_once('include/attach.php');
require_once('include/Contact.php');
function widget_profile($args) { function widget_profile($args) {
@ -806,7 +806,6 @@ function widget_photo_albums($arr) {
function widget_vcard($arr) { function widget_vcard($arr) {
require_once ('include/Contact.php');
return vcard_from_xchan('', App::get_observer()); return vcard_from_xchan('', App::get_observer());
} }
@ -1052,7 +1051,7 @@ function widget_photo($arr) {
function widget_cover_photo($arr) { function widget_cover_photo($arr) {
require_once('include/identity.php'); require_once('include/channel.php');
$o = ''; $o = '';
if(App::$module == 'channel' && $_REQUEST['mid']) if(App::$module == 'channel' && $_REQUEST['mid'])

View file

@ -1332,7 +1332,7 @@ function zot_import($arr, $sender_url) {
*/ */
function public_recips($msg) { function public_recips($msg) {
require_once('include/identity.php'); require_once('include/channel.php');
$check_mentions = false; $check_mentions = false;
$include_sys = false; $include_sys = false;
@ -3222,7 +3222,6 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) {
$clean = array(); $clean = array();
if($abook['abook_xchan'] && $abook['entry_deleted']) { if($abook['abook_xchan'] && $abook['entry_deleted']) {
logger('process_channel_sync_delivery: removing abook entry for ' . $abook['abook_xchan']); logger('process_channel_sync_delivery: removing abook entry for ' . $abook['abook_xchan']);
require_once('include/Contact.php');
$r = q("select abook_id, abook_feed from abook where abook_xchan = '%s' and abook_channel = %d and abook_self = 0 limit 1", $r = q("select abook_id, abook_feed from abook where abook_xchan = '%s' and abook_channel = %d and abook_self = 0 limit 1",
dbesc($abook['abook_xchan']), dbesc($abook['abook_xchan']),
@ -3926,7 +3925,7 @@ function zotinfo($arr) {
$ret['site']['accounts'] = account_total(); $ret['site']['accounts'] = account_total();
require_once('include/identity.php'); require_once('include/channel.php');
$ret['site']['channels'] = channel_total(); $ret['site']['channels'] = channel_total();
@ -4421,7 +4420,6 @@ function zot_reply_purge($sender,$recipients) {
$arr = $sender; $arr = $sender;
$sender_hash = make_xchan_hash($arr['guid'],$arr['guid_sig']); $sender_hash = make_xchan_hash($arr['guid'],$arr['guid_sig']);
require_once('include/Contact.php');
remove_all_xchan_resources($sender_hash); remove_all_xchan_resources($sender_hash);
$ret['success'] = true; $ret['success'] = true;

View file

@ -111,8 +111,8 @@ msgstr ""
#: ../../Zotlabs/Module/Editwebpage.php:146 #: ../../Zotlabs/Module/Editwebpage.php:146
#: ../../Zotlabs/Module/Layouts.php:190 ../../Zotlabs/Module/Menu.php:112 #: ../../Zotlabs/Module/Layouts.php:190 ../../Zotlabs/Module/Menu.php:112
#: ../../Zotlabs/Module/Settings.php:652 ../../Zotlabs/Module/Thing.php:260 #: ../../Zotlabs/Module/Settings.php:652 ../../Zotlabs/Module/Thing.php:260
#: ../../Zotlabs/Module/Webpages.php:187 ../../include/identity.php:937 #: ../../Zotlabs/Module/Webpages.php:187 ../../include/channel.php:937
#: ../../include/identity.php:941 ../../include/ItemObject.php:100 #: ../../include/channel.php:941 ../../include/ItemObject.php:100
#: ../../include/menu.php:108 ../../include/page_widgets.php:8 #: ../../include/menu.php:108 ../../include/page_widgets.php:8
#: ../../include/page_widgets.php:36 ../../include/apps.php:291 #: ../../include/page_widgets.php:36 ../../include/apps.php:291
msgid "Edit" msgid "Edit"
@ -247,7 +247,7 @@ msgstr ""
#: ../../Zotlabs/Module/Editwebpage.php:33 #: ../../Zotlabs/Module/Editwebpage.php:33
#: ../../Zotlabs/Module/Filestorage.php:60 ../../Zotlabs/Module/Hcard.php:12 #: ../../Zotlabs/Module/Filestorage.php:60 ../../Zotlabs/Module/Hcard.php:12
#: ../../Zotlabs/Module/Layouts.php:31 ../../Zotlabs/Module/Profile.php:20 #: ../../Zotlabs/Module/Layouts.php:31 ../../Zotlabs/Module/Profile.php:20
#: ../../Zotlabs/Module/Webpages.php:34 ../../include/identity.php:837 #: ../../Zotlabs/Module/Webpages.php:34 ../../include/channel.php:837
msgid "Requested profile is not available." msgid "Requested profile is not available."
msgstr "" msgstr ""
@ -2030,8 +2030,8 @@ msgstr ""
#: ../../Zotlabs/Module/Settings.php:346 ../../Zotlabs/Module/Settings.php:347 #: ../../Zotlabs/Module/Settings.php:346 ../../Zotlabs/Module/Settings.php:347
#: ../../Zotlabs/Module/Settings.php:350 ../../Zotlabs/Module/Settings.php:361 #: ../../Zotlabs/Module/Settings.php:350 ../../Zotlabs/Module/Settings.php:361
#: ../../include/profile_selectors.php:80 ../../include/widgets.php:495 #: ../../include/profile_selectors.php:80 ../../include/widgets.php:495
#: ../../include/identity.php:389 ../../include/identity.php:390 #: ../../include/channel.php:389 ../../include/channel.php:390
#: ../../include/identity.php:397 #: ../../include/channel.php:397
msgid "Friends" msgid "Friends"
msgstr "" msgstr ""
@ -2236,7 +2236,7 @@ msgstr ""
msgid "%1$s updated their %2$s" msgid "%1$s updated their %2$s"
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Cover_photo.php:240 ../../include/identity.php:1807 #: ../../Zotlabs/Module/Cover_photo.php:240 ../../include/channel.php:1807
msgid "cover photo" msgid "cover photo"
msgstr "" msgstr ""
@ -2318,12 +2318,12 @@ msgstr ""
msgid "Homepage: " msgid "Homepage: "
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Directory.php:306 ../../include/identity.php:1329 #: ../../Zotlabs/Module/Directory.php:306 ../../include/channel.php:1329
msgid "Age:" msgid "Age:"
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Directory.php:311 ../../include/event.php:52 #: ../../Zotlabs/Module/Directory.php:311 ../../include/event.php:52
#: ../../include/identity.php:1029 ../../include/text.php:1481 #: ../../include/channel.php:1029 ../../include/text.php:1481
#: ../../include/bb2diaspora.php:509 #: ../../include/bb2diaspora.php:509
msgid "Location:" msgid "Location:"
msgstr "" msgstr ""
@ -2332,18 +2332,18 @@ msgstr ""
msgid "Description:" msgid "Description:"
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Directory.php:322 ../../include/identity.php:1345 #: ../../Zotlabs/Module/Directory.php:322 ../../include/channel.php:1345
msgid "Hometown:" msgid "Hometown:"
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Directory.php:324 ../../include/identity.php:1353 #: ../../Zotlabs/Module/Directory.php:324 ../../include/channel.php:1353
msgid "About:" msgid "About:"
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Directory.php:325 ../../Zotlabs/Module/Match.php:68 #: ../../Zotlabs/Module/Directory.php:325 ../../Zotlabs/Module/Match.php:68
#: ../../Zotlabs/Module/Suggest.php:56 ../../include/Contact.php:101 #: ../../Zotlabs/Module/Suggest.php:56 ../../include/Contact.php:101
#: ../../include/widgets.php:147 ../../include/widgets.php:184 #: ../../include/widgets.php:147 ../../include/widgets.php:184
#: ../../include/identity.php:1014 ../../include/conversation.php:961 #: ../../include/channel.php:1014 ../../include/conversation.php:961
msgid "Connect" msgid "Connect"
msgstr "" msgstr ""
@ -4182,7 +4182,7 @@ msgstr ""
msgid "View all" msgid "View all"
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Photos.php:1130 ../../include/identity.php:1304 #: ../../Zotlabs/Module/Photos.php:1130 ../../include/channel.php:1304
#: ../../include/ItemObject.php:179 ../../include/conversation.php:1748 #: ../../include/ItemObject.php:179 ../../include/conversation.php:1748
#: ../../include/taxonomy.php:403 #: ../../include/taxonomy.php:403
msgctxt "noun" msgctxt "noun"
@ -4243,13 +4243,13 @@ msgstr ""
msgid "added your channel" msgid "added your channel"
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Ping.php:322 ../../include/identity.php:1123 #: ../../Zotlabs/Module/Ping.php:322 ../../include/channel.php:1123
#: ../../include/identity.php:1199 #: ../../include/channel.php:1199
msgid "g A l F d" msgid "g A l F d"
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Ping.php:345 ../../include/identity.php:1169 #: ../../Zotlabs/Module/Ping.php:345 ../../include/channel.php:1169
#: ../../include/identity.php:1239 #: ../../include/channel.php:1239
msgid "[today]" msgid "[today]"
msgstr "" msgstr ""
@ -4387,7 +4387,7 @@ msgid "View this profile"
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Profiles.php:693 ../../Zotlabs/Module/Profiles.php:775 #: ../../Zotlabs/Module/Profiles.php:693 ../../Zotlabs/Module/Profiles.php:775
#: ../../include/identity.php:959 #: ../../include/channel.php:959
msgid "Edit visibility" msgid "Edit visibility"
msgstr "" msgstr ""
@ -4399,7 +4399,7 @@ msgstr ""
msgid "Change cover photo" msgid "Change cover photo"
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Profiles.php:696 ../../include/identity.php:930 #: ../../Zotlabs/Module/Profiles.php:696 ../../include/channel.php:930
msgid "Change profile photo" msgid "Change profile photo"
msgstr "" msgstr ""
@ -4560,11 +4560,11 @@ msgstr ""
msgid "My other channels" msgid "My other channels"
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Profiles.php:771 ../../include/identity.php:955 #: ../../Zotlabs/Module/Profiles.php:771 ../../include/channel.php:955
msgid "Profile Image" msgid "Profile Image"
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Profiles.php:781 ../../include/identity.php:937 #: ../../Zotlabs/Module/Profiles.php:781 ../../include/channel.php:937
#: ../../include/nav.php:88 #: ../../include/nav.php:88
msgid "Edit Profiles" msgid "Edit Profiles"
msgstr "" msgstr ""
@ -4577,7 +4577,7 @@ msgstr ""
msgid "Profile Visibility Editor" msgid "Profile Visibility Editor"
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Profperm.php:117 ../../include/identity.php:1395 #: ../../Zotlabs/Module/Profperm.php:117 ../../include/channel.php:1395
msgid "Profile" msgid "Profile"
msgstr "" msgstr ""
@ -5190,7 +5190,7 @@ msgstr ""
msgid "Basic Settings" msgid "Basic Settings"
msgstr "" msgstr ""
#: ../../Zotlabs/Module/Settings.php:1040 ../../include/identity.php:1286 #: ../../Zotlabs/Module/Settings.php:1040 ../../include/channel.php:1286
msgid "Full Name:" msgid "Full Name:"
msgstr "" msgstr ""
@ -6952,185 +6952,185 @@ msgstr ""
msgid "Room is full" msgid "Room is full"
msgstr "" msgstr ""
#: ../../include/identity.php:32 #: ../../include/channel.php:32
msgid "Unable to obtain identity information from database" msgid "Unable to obtain identity information from database"
msgstr "" msgstr ""
#: ../../include/identity.php:66 #: ../../include/channel.php:66
msgid "Empty name" msgid "Empty name"
msgstr "" msgstr ""
#: ../../include/identity.php:69 #: ../../include/channel.php:69
msgid "Name too long" msgid "Name too long"
msgstr "" msgstr ""
#: ../../include/identity.php:180 #: ../../include/channel.php:180
msgid "No account identifier" msgid "No account identifier"
msgstr "" msgstr ""
#: ../../include/identity.php:192 #: ../../include/channel.php:192
msgid "Nickname is required." msgid "Nickname is required."
msgstr "" msgstr ""
#: ../../include/identity.php:206 #: ../../include/channel.php:206
msgid "Reserved nickname. Please choose another." msgid "Reserved nickname. Please choose another."
msgstr "" msgstr ""
#: ../../include/identity.php:211 #: ../../include/channel.php:211
msgid "" msgid ""
"Nickname has unsupported characters or is already being used on this site." "Nickname has unsupported characters or is already being used on this site."
msgstr "" msgstr ""
#: ../../include/identity.php:287 #: ../../include/channel.php:287
msgid "Unable to retrieve created identity" msgid "Unable to retrieve created identity"
msgstr "" msgstr ""
#: ../../include/identity.php:345 #: ../../include/channel.php:345
msgid "Default Profile" msgid "Default Profile"
msgstr "" msgstr ""
#: ../../include/identity.php:791 #: ../../include/channel.php:791
msgid "Requested channel is not available." msgid "Requested channel is not available."
msgstr "" msgstr ""
#: ../../include/identity.php:938 #: ../../include/channel.php:938
msgid "Create New Profile" msgid "Create New Profile"
msgstr "" msgstr ""
#: ../../include/identity.php:941 ../../include/nav.php:90 #: ../../include/channel.php:941 ../../include/nav.php:90
msgid "Edit Profile" msgid "Edit Profile"
msgstr "" msgstr ""
#: ../../include/identity.php:958 #: ../../include/channel.php:958
msgid "Visible to everybody" msgid "Visible to everybody"
msgstr "" msgstr ""
#: ../../include/identity.php:1033 ../../include/identity.php:1288 #: ../../include/channel.php:1033 ../../include/channel.php:1288
msgid "Gender:" msgid "Gender:"
msgstr "" msgstr ""
#: ../../include/identity.php:1034 ../../include/identity.php:1332 #: ../../include/channel.php:1034 ../../include/channel.php:1332
msgid "Status:" msgid "Status:"
msgstr "" msgstr ""
#: ../../include/identity.php:1035 ../../include/identity.php:1343 #: ../../include/channel.php:1035 ../../include/channel.php:1343
msgid "Homepage:" msgid "Homepage:"
msgstr "" msgstr ""
#: ../../include/identity.php:1036 #: ../../include/channel.php:1036
msgid "Online Now" msgid "Online Now"
msgstr "" msgstr ""
#: ../../include/identity.php:1124 ../../include/identity.php:1200 #: ../../include/channel.php:1124 ../../include/channel.php:1200
msgid "F d" msgid "F d"
msgstr "" msgstr ""
#: ../../include/identity.php:1180 #: ../../include/channel.php:1180
msgid "Birthday Reminders" msgid "Birthday Reminders"
msgstr "" msgstr ""
#: ../../include/identity.php:1181 #: ../../include/channel.php:1181
msgid "Birthdays this week:" msgid "Birthdays this week:"
msgstr "" msgstr ""
#: ../../include/identity.php:1232 #: ../../include/channel.php:1232
msgid "[No description]" msgid "[No description]"
msgstr "" msgstr ""
#: ../../include/identity.php:1250 #: ../../include/channel.php:1250
msgid "Event Reminders" msgid "Event Reminders"
msgstr "" msgstr ""
#: ../../include/identity.php:1251 #: ../../include/channel.php:1251
msgid "Events this week:" msgid "Events this week:"
msgstr "" msgstr ""
#: ../../include/identity.php:1293 #: ../../include/channel.php:1293
msgid "Like this channel" msgid "Like this channel"
msgstr "" msgstr ""
#: ../../include/identity.php:1317 #: ../../include/channel.php:1317
msgid "j F, Y" msgid "j F, Y"
msgstr "" msgstr ""
#: ../../include/identity.php:1318 #: ../../include/channel.php:1318
msgid "j F" msgid "j F"
msgstr "" msgstr ""
#: ../../include/identity.php:1325 #: ../../include/channel.php:1325
msgid "Birthday:" msgid "Birthday:"
msgstr "" msgstr ""
#: ../../include/identity.php:1338 #: ../../include/channel.php:1338
#, php-format #, php-format
msgid "for %1$d %2$s" msgid "for %1$d %2$s"
msgstr "" msgstr ""
#: ../../include/identity.php:1341 #: ../../include/channel.php:1341
msgid "Sexual Preference:" msgid "Sexual Preference:"
msgstr "" msgstr ""
#: ../../include/identity.php:1347 #: ../../include/channel.php:1347
msgid "Tags:" msgid "Tags:"
msgstr "" msgstr ""
#: ../../include/identity.php:1349 #: ../../include/channel.php:1349
msgid "Political Views:" msgid "Political Views:"
msgstr "" msgstr ""
#: ../../include/identity.php:1351 #: ../../include/channel.php:1351
msgid "Religion:" msgid "Religion:"
msgstr "" msgstr ""
#: ../../include/identity.php:1355 #: ../../include/channel.php:1355
msgid "Hobbies/Interests:" msgid "Hobbies/Interests:"
msgstr "" msgstr ""
#: ../../include/identity.php:1357 #: ../../include/channel.php:1357
msgid "Likes:" msgid "Likes:"
msgstr "" msgstr ""
#: ../../include/identity.php:1359 #: ../../include/channel.php:1359
msgid "Dislikes:" msgid "Dislikes:"
msgstr "" msgstr ""
#: ../../include/identity.php:1361 #: ../../include/channel.php:1361
msgid "Contact information and Social Networks:" msgid "Contact information and Social Networks:"
msgstr "" msgstr ""
#: ../../include/identity.php:1363 #: ../../include/channel.php:1363
msgid "My other channels:" msgid "My other channels:"
msgstr "" msgstr ""
#: ../../include/identity.php:1365 #: ../../include/channel.php:1365
msgid "Musical interests:" msgid "Musical interests:"
msgstr "" msgstr ""
#: ../../include/identity.php:1367 #: ../../include/channel.php:1367
msgid "Books, literature:" msgid "Books, literature:"
msgstr "" msgstr ""
#: ../../include/identity.php:1369 #: ../../include/channel.php:1369
msgid "Television:" msgid "Television:"
msgstr "" msgstr ""
#: ../../include/identity.php:1371 #: ../../include/channel.php:1371
msgid "Film/dance/culture/entertainment:" msgid "Film/dance/culture/entertainment:"
msgstr "" msgstr ""
#: ../../include/identity.php:1373 #: ../../include/channel.php:1373
msgid "Love/Romance:" msgid "Love/Romance:"
msgstr "" msgstr ""
#: ../../include/identity.php:1375 #: ../../include/channel.php:1375
msgid "Work/employment:" msgid "Work/employment:"
msgstr "" msgstr ""
#: ../../include/identity.php:1377 #: ../../include/channel.php:1377
msgid "School/education:" msgid "School/education:"
msgstr "" msgstr ""
#: ../../include/identity.php:1397 #: ../../include/channel.php:1397
msgid "Like this thing" msgid "Like this thing"
msgstr "" msgstr ""

View file

@ -1023,7 +1023,7 @@ msgstr ""
#: ../../include/widgets.php:136 ../../include/widgets.php:175 #: ../../include/widgets.php:136 ../../include/widgets.php:175
#: ../../include/Contact.php:107 ../../include/conversation.php:956 #: ../../include/Contact.php:107 ../../include/conversation.php:956
#: ../../include/identity.php:956 ../../mod/directory.php:316 #: ../../include/channel.php:956 ../../mod/directory.php:316
#: ../../mod/match.php:64 ../../mod/suggest.php:52 #: ../../mod/match.php:64 ../../mod/suggest.php:52
msgid "Connect" msgid "Connect"
msgstr "" msgstr ""
@ -1088,8 +1088,8 @@ msgstr ""
msgid "Family" msgid "Family"
msgstr "" msgstr ""
#: ../../include/widgets.php:431 ../../include/identity.php:394 #: ../../include/widgets.php:431 ../../include/channel.php:394
#: ../../include/identity.php:395 ../../include/identity.php:402 #: ../../include/channel.php:395 ../../include/channel.php:402
#: ../../include/profile_selectors.php:80 ../../mod/settings.php:345 #: ../../include/profile_selectors.php:80 ../../mod/settings.php:345
#: ../../mod/settings.php:349 ../../mod/settings.php:350 #: ../../mod/settings.php:349 ../../mod/settings.php:350
#: ../../mod/settings.php:353 ../../mod/settings.php:364 #: ../../mod/settings.php:353 ../../mod/settings.php:364
@ -1206,7 +1206,7 @@ msgid "Finishes:"
msgstr "" msgstr ""
#: ../../include/event.php:50 ../../include/bb2diaspora.php:481 #: ../../include/event.php:50 ../../include/bb2diaspora.php:481
#: ../../include/identity.php:1007 ../../mod/directory.php:302 #: ../../include/channel.php:1007 ../../mod/directory.php:302
#: ../../mod/events.php:684 #: ../../mod/events.php:684
msgid "Location:" msgid "Location:"
msgstr "" msgstr ""
@ -1523,7 +1523,7 @@ msgid "View all"
msgstr "" msgstr ""
#: ../../include/ItemObject.php:179 ../../include/taxonomy.php:396 #: ../../include/ItemObject.php:179 ../../include/taxonomy.php:396
#: ../../include/conversation.php:1712 ../../include/identity.php:1266 #: ../../include/conversation.php:1712 ../../include/channel.php:1266
#: ../../mod/photos.php:1019 #: ../../mod/photos.php:1019
msgctxt "noun" msgctxt "noun"
msgid "Like" msgid "Like"
@ -1775,7 +1775,7 @@ msgstr ""
msgid "Manage/Edit profiles" msgid "Manage/Edit profiles"
msgstr "" msgstr ""
#: ../../include/nav.php:95 ../../include/identity.php:979 #: ../../include/nav.php:95 ../../include/channel.php:979
msgid "Edit Profile" msgid "Edit Profile"
msgstr "" msgstr ""
@ -3279,48 +3279,48 @@ msgstr ""
msgid "database storage failed." msgid "database storage failed."
msgstr "" msgstr ""
#: ../../include/identity.php:33 #: ../../include/channel.php:33
msgid "Unable to obtain identity information from database" msgid "Unable to obtain identity information from database"
msgstr "" msgstr ""
#: ../../include/identity.php:67 #: ../../include/channel.php:67
msgid "Empty name" msgid "Empty name"
msgstr "" msgstr ""
#: ../../include/identity.php:70 #: ../../include/channel.php:70
msgid "Name too long" msgid "Name too long"
msgstr "" msgstr ""
#: ../../include/identity.php:186 #: ../../include/channel.php:186
msgid "No account identifier" msgid "No account identifier"
msgstr "" msgstr ""
#: ../../include/identity.php:198 #: ../../include/channel.php:198
msgid "Nickname is required." msgid "Nickname is required."
msgstr "" msgstr ""
#: ../../include/identity.php:212 #: ../../include/channel.php:212
msgid "Reserved nickname. Please choose another." msgid "Reserved nickname. Please choose another."
msgstr "" msgstr ""
#: ../../include/identity.php:217 ../../include/dimport.php:34 #: ../../include/channel.php:217 ../../include/dimport.php:34
msgid "" msgid ""
"Nickname has unsupported characters or is already being used on this site." "Nickname has unsupported characters or is already being used on this site."
msgstr "" msgstr ""
#: ../../include/identity.php:292 #: ../../include/channel.php:292
msgid "Unable to retrieve created identity" msgid "Unable to retrieve created identity"
msgstr "" msgstr ""
#: ../../include/identity.php:350 #: ../../include/channel.php:350
msgid "Default Profile" msgid "Default Profile"
msgstr "" msgstr ""
#: ../../include/identity.php:759 #: ../../include/channel.php:759
msgid "Requested channel is not available." msgid "Requested channel is not available."
msgstr "" msgstr ""
#: ../../include/identity.php:806 ../../mod/profile.php:16 #: ../../include/channel.php:806 ../../mod/profile.php:16
#: ../../mod/achievements.php:11 ../../mod/webpages.php:29 #: ../../mod/achievements.php:11 ../../mod/webpages.php:29
#: ../../mod/connect.php:13 ../../mod/hcard.php:8 ../../mod/blocks.php:29 #: ../../mod/connect.php:13 ../../mod/hcard.php:8 ../../mod/blocks.php:29
#: ../../mod/editlayout.php:27 ../../mod/editwebpage.php:28 #: ../../mod/editlayout.php:27 ../../mod/editwebpage.php:28
@ -3329,193 +3329,193 @@ msgstr ""
msgid "Requested profile is not available." msgid "Requested profile is not available."
msgstr "" msgstr ""
#: ../../include/identity.php:969 ../../mod/profiles.php:774 #: ../../include/channel.php:969 ../../mod/profiles.php:774
msgid "Change profile photo" msgid "Change profile photo"
msgstr "" msgstr ""
#: ../../include/identity.php:975 #: ../../include/channel.php:975
msgid "Profiles" msgid "Profiles"
msgstr "" msgstr ""
#: ../../include/identity.php:975 #: ../../include/channel.php:975
msgid "Manage/edit profiles" msgid "Manage/edit profiles"
msgstr "" msgstr ""
#: ../../include/identity.php:976 ../../mod/profiles.php:775 #: ../../include/channel.php:976 ../../mod/profiles.php:775
msgid "Create New Profile" msgid "Create New Profile"
msgstr "" msgstr ""
#: ../../include/identity.php:991 ../../mod/profiles.php:786 #: ../../include/channel.php:991 ../../mod/profiles.php:786
msgid "Profile Image" msgid "Profile Image"
msgstr "" msgstr ""
#: ../../include/identity.php:994 #: ../../include/channel.php:994
msgid "visible to everybody" msgid "visible to everybody"
msgstr "" msgstr ""
#: ../../include/identity.php:995 ../../mod/profiles.php:669 #: ../../include/channel.php:995 ../../mod/profiles.php:669
#: ../../mod/profiles.php:790 #: ../../mod/profiles.php:790
msgid "Edit visibility" msgid "Edit visibility"
msgstr "" msgstr ""
#: ../../include/identity.php:1011 ../../include/identity.php:1250 #: ../../include/channel.php:1011 ../../include/channel.php:1250
msgid "Gender:" msgid "Gender:"
msgstr "" msgstr ""
#: ../../include/identity.php:1012 ../../include/identity.php:1294 #: ../../include/channel.php:1012 ../../include/channel.php:1294
msgid "Status:" msgid "Status:"
msgstr "" msgstr ""
#: ../../include/identity.php:1013 ../../include/identity.php:1305 #: ../../include/channel.php:1013 ../../include/channel.php:1305
msgid "Homepage:" msgid "Homepage:"
msgstr "" msgstr ""
#: ../../include/identity.php:1014 #: ../../include/channel.php:1014
msgid "Online Now" msgid "Online Now"
msgstr "" msgstr ""
#: ../../include/identity.php:1097 ../../include/identity.php:1175 #: ../../include/channel.php:1097 ../../include/channel.php:1175
#: ../../mod/ping.php:324 #: ../../mod/ping.php:324
msgid "g A l F d" msgid "g A l F d"
msgstr "" msgstr ""
#: ../../include/identity.php:1098 ../../include/identity.php:1176 #: ../../include/channel.php:1098 ../../include/channel.php:1176
msgid "F d" msgid "F d"
msgstr "" msgstr ""
#: ../../include/identity.php:1143 ../../include/identity.php:1215 #: ../../include/channel.php:1143 ../../include/channel.php:1215
#: ../../mod/ping.php:346 #: ../../mod/ping.php:346
msgid "[today]" msgid "[today]"
msgstr "" msgstr ""
#: ../../include/identity.php:1154 #: ../../include/channel.php:1154
msgid "Birthday Reminders" msgid "Birthday Reminders"
msgstr "" msgstr ""
#: ../../include/identity.php:1155 #: ../../include/channel.php:1155
msgid "Birthdays this week:" msgid "Birthdays this week:"
msgstr "" msgstr ""
#: ../../include/identity.php:1208 #: ../../include/channel.php:1208
msgid "[No description]" msgid "[No description]"
msgstr "" msgstr ""
#: ../../include/identity.php:1226 #: ../../include/channel.php:1226
msgid "Event Reminders" msgid "Event Reminders"
msgstr "" msgstr ""
#: ../../include/identity.php:1227 #: ../../include/channel.php:1227
msgid "Events this week:" msgid "Events this week:"
msgstr "" msgstr ""
#: ../../include/identity.php:1240 ../../include/identity.php:1357 #: ../../include/channel.php:1240 ../../include/channel.php:1357
#: ../../include/apps.php:138 ../../mod/profperm.php:112 #: ../../include/apps.php:138 ../../mod/profperm.php:112
msgid "Profile" msgid "Profile"
msgstr "" msgstr ""
#: ../../include/identity.php:1248 ../../mod/settings.php:1056 #: ../../include/channel.php:1248 ../../mod/settings.php:1056
msgid "Full Name:" msgid "Full Name:"
msgstr "" msgstr ""
#: ../../include/identity.php:1255 #: ../../include/channel.php:1255
msgid "Like this channel" msgid "Like this channel"
msgstr "" msgstr ""
#: ../../include/identity.php:1279 #: ../../include/channel.php:1279
msgid "j F, Y" msgid "j F, Y"
msgstr "" msgstr ""
#: ../../include/identity.php:1280 #: ../../include/channel.php:1280
msgid "j F" msgid "j F"
msgstr "" msgstr ""
#: ../../include/identity.php:1287 #: ../../include/channel.php:1287
msgid "Birthday:" msgid "Birthday:"
msgstr "" msgstr ""
#: ../../include/identity.php:1291 ../../mod/directory.php:297 #: ../../include/channel.php:1291 ../../mod/directory.php:297
msgid "Age:" msgid "Age:"
msgstr "" msgstr ""
#: ../../include/identity.php:1300 #: ../../include/channel.php:1300
#, php-format #, php-format
msgid "for %1$d %2$s" msgid "for %1$d %2$s"
msgstr "" msgstr ""
#: ../../include/identity.php:1303 ../../mod/profiles.php:691 #: ../../include/channel.php:1303 ../../mod/profiles.php:691
msgid "Sexual Preference:" msgid "Sexual Preference:"
msgstr "" msgstr ""
#: ../../include/identity.php:1307 ../../mod/directory.php:313 #: ../../include/channel.php:1307 ../../mod/directory.php:313
#: ../../mod/profiles.php:693 #: ../../mod/profiles.php:693
msgid "Hometown:" msgid "Hometown:"
msgstr "" msgstr ""
#: ../../include/identity.php:1309 #: ../../include/channel.php:1309
msgid "Tags:" msgid "Tags:"
msgstr "" msgstr ""
#: ../../include/identity.php:1311 ../../mod/profiles.php:694 #: ../../include/channel.php:1311 ../../mod/profiles.php:694
msgid "Political Views:" msgid "Political Views:"
msgstr "" msgstr ""
#: ../../include/identity.php:1313 #: ../../include/channel.php:1313
msgid "Religion:" msgid "Religion:"
msgstr "" msgstr ""
#: ../../include/identity.php:1315 ../../mod/directory.php:315 #: ../../include/channel.php:1315 ../../mod/directory.php:315
msgid "About:" msgid "About:"
msgstr "" msgstr ""
#: ../../include/identity.php:1317 #: ../../include/channel.php:1317
msgid "Hobbies/Interests:" msgid "Hobbies/Interests:"
msgstr "" msgstr ""
#: ../../include/identity.php:1319 ../../mod/profiles.php:697 #: ../../include/channel.php:1319 ../../mod/profiles.php:697
msgid "Likes:" msgid "Likes:"
msgstr "" msgstr ""
#: ../../include/identity.php:1321 ../../mod/profiles.php:698 #: ../../include/channel.php:1321 ../../mod/profiles.php:698
msgid "Dislikes:" msgid "Dislikes:"
msgstr "" msgstr ""
#: ../../include/identity.php:1323 #: ../../include/channel.php:1323
msgid "Contact information and Social Networks:" msgid "Contact information and Social Networks:"
msgstr "" msgstr ""
#: ../../include/identity.php:1325 #: ../../include/channel.php:1325
msgid "My other channels:" msgid "My other channels:"
msgstr "" msgstr ""
#: ../../include/identity.php:1327 #: ../../include/channel.php:1327
msgid "Musical interests:" msgid "Musical interests:"
msgstr "" msgstr ""
#: ../../include/identity.php:1329 #: ../../include/channel.php:1329
msgid "Books, literature:" msgid "Books, literature:"
msgstr "" msgstr ""
#: ../../include/identity.php:1331 #: ../../include/channel.php:1331
msgid "Television:" msgid "Television:"
msgstr "" msgstr ""
#: ../../include/identity.php:1333 #: ../../include/channel.php:1333
msgid "Film/dance/culture/entertainment:" msgid "Film/dance/culture/entertainment:"
msgstr "" msgstr ""
#: ../../include/identity.php:1335 #: ../../include/channel.php:1335
msgid "Love/Romance:" msgid "Love/Romance:"
msgstr "" msgstr ""
#: ../../include/identity.php:1337 #: ../../include/channel.php:1337
msgid "Work/employment:" msgid "Work/employment:"
msgstr "" msgstr ""
#: ../../include/identity.php:1339 #: ../../include/channel.php:1339
msgid "School/education:" msgid "School/education:"
msgstr "" msgstr ""
#: ../../include/identity.php:1359 #: ../../include/channel.php:1359
msgid "Like this thing" msgid "Like this thing"
msgstr "" msgstr ""