Here is the list of the most complex expressions used in the code. A complex expression is an expression that requires more than 20 tokens to be build.
Literal arrays are omitted.
File | Count | Expression |
---|---|---|
/IdnoPlugins/Status/templates/default/entity/Status.tpl.php:14 | 1 | nl2br($this->parseURLs($this->parseHashtags($this->parseUsers(htmlentities(html_entity_decode($vars['object']->body), ENT_QUOTES, 'UTF-8') . $tags, $vars['object']->inreplyto)), $rel)) |
/Idno/Core/Webservice.php:133 | 1 | curl_setopt($curl_handle, CURLOPT_COOKIEJAR, \Idno\Core\Idno::site( )->config( )->cookie_jar . md5($user->getUUID( ) . \Idno\Core\Idno::site( )->config( )->site_secret)) |
/Idno/Core/Migration.php:139 | 1 | file_put_contents($file_path . 'uploads/' . Idno::site( )->config( )->pathHost( ) . '/' . $id[0] . '/' . $id[1] . '/' . $id[2] . '/' . $id[3] . '/' . $id . '.file', $data) |
/Idno/Core/Migration.php:624 | 1 | file_put_contents($rss_path . 'template.rss.fragment', $rss_theme->__(array('title' => $title, 'description' => $description, 'body' => $rss_theme->__(array('items' => $feed, 'offset' => 0, 'count' => sizeof($feed), 'subject' => [ ], 'base_url' => $base_url))->draw('pages/home'), ))->drawPage(false)) |
/Idno/Core/Migration.php:70 | 1 | file_put_contents($dir . $name . DIRECTORY_SEPARATOR . 'known.json', json_encode(['url' => Idno::site( )->config( )->getURL( ), 'title' => Idno::site( )->config( )->getTitle( ), 'version' => \Idno\Core\Version::version( ), 'build' => \Idno\Core\Version::build( ), ], JSON_PRETTY_PRINT)) |
/Idno/Core/Migration.php:71 | 1 | json_encode(['url' => Idno::site( )->config( )->getURL( ), 'title' => Idno::site( )->config( )->getTitle( ), 'version' => \Idno\Core\Version::version( ), 'build' => \Idno\Core\Version::build( ), ], JSON_PRETTY_PRINT) |
/Tests/Core/GatekeeperTest.php:22 | 1 | $result = \Idno\Core\Webservice::get(\Idno\Core\Idno::site( )->config( )->url . 'account/settings/', [ ], ['X-KNOWN-USERNAME: ' . $user->handle, 'X-KNOWN-SIGNATURE: ' . base64_encode(hash_hmac('sha256', '/account/settings/', $user->getAPIkey( ), true)), ]) |
/Tests/Core/GatekeeperTest.php:50 | 2 | $result = \Idno\Core\Webservice::get(\Idno\Core\Idno::site( )->config( )->url . 'admin/', [ ], ['X-KNOWN-USERNAME: ' . $user->handle, 'X-KNOWN-SIGNATURE: ' . base64_encode(hash_hmac('sha256', '/admin/', $user->getAPIkey( ), true)), ]) |
/Idno/Core/Hub.php:73 | 1 | $results = Webservice::post($this->server . 'hub/user/register', array('content' => $contents, 'time' => $time, 'auth_token' => $details['auth_token'], 'signature' => hash_hmac('sha1', $contents . $time . $details['auth_token'], $details['secret']))) |
/Idno/Common/Entity.php:1906 | 1 | $object = array('id' => "" . $this->getID( ), 'uuid' => $this->getUUID( ), 'content' => strip_tags($this->getDescription( )), 'formattedContent' => \Idno\Core\Idno::site( )->template( )->autop($this->getDescription( )), 'displayName' => $this->getTitle( ), 'objectType' => $this->getActivityStreamsObjectType( ), 'published' => date(\DateTime::RFC3339, $this->created), 'updated' => date(\DateTime::RFC3339, $this->updated), 'url' => $this->getURL( )) |
/Idno/Core/Hub.php:189 | 1 | $results = Webservice::post($this->server . 'hub/site/register', array('url' => \Idno\Core\Idno::site( )->config( )->getURL( ), 'title' => \Idno\Core\Idno::site( )->config( )->getTitle( ), 'token' => $this->getRegistrationToken( ))) |
/Idno/Common/Entity.php:1014 | 1 | $image = (object) ['type' => ucfirst(explode('/', $attachment['mime-type'])[0]), 'mediaType' => $attachment['mime-type'], 'url' => $attachment['url'], 'name' => $this->getShortDescription( )] |
/Idno/Core/Hub.php:286 | 1 | $results = Webservice::post($this->server . $endpoint, array('content' => $contents, 'time' => $time, 'auth_token' => $details['token'], 'signature' => hash_hmac('sha1', $contents . $time . $details['token'], $details['secret']))) |
/Idno/Common/Entity.php:924 | 1 | $attachments[] = ['_id' => $file['_id'], 'url' => \Idno\Core\Idno::site( )->config( )->url . 'file/' . $file['_id'] . '/' . urlencode($file['filename']), 'mime-type' => $file['mime_type'], 'length' => $file['length'], 'filename' => $file['filename'], ] |
/Idno/Core/Idno.php:653 | 1 | $icons['defaults'] = ['default' => \Idno\Core\Idno::site( )->config( )->getStaticURL( ) . 'gfx/logos/logo_k.png', 'default_16' => \Idno\Core\Idno::site( )->config( )->getStaticURL( ) . 'gfx/logos/logo_k_16.png', 'default_32' => \Idno\Core\Idno::site( )->config( )->getStaticURL( ) . 'gfx/logos/logo_k_32.png', 'default_36' => \Idno\Core\Idno::site( )->config( )->getStaticURL( ) . 'gfx/logos/logo_k_36.png', 'default_48' => \Idno\Core\Idno::site( )->config( )->getStaticURL( ) . 'gfx/logos/logo_k_48.png', 'default_64' => \Idno\Core\Idno::site( )->config( )->getStaticURL( ) . 'gfx/logos/logo_k_64.png', 'default_96' => \Idno\Core\Idno::site( )->config( )->getStaticURL( ) . 'gfx/logos/logo_k_96.png', 'default_57' => \Idno\Core\Idno::site( )->config( )->getStaticURL( ) . 'gfx/logos/apple-icon-57x57.png', 'default_72' => \Idno\Core\Idno::site( )->config( )->getStaticURL( ) . 'gfx/logos/apple-icon-72x72.png', 'default_114' => \Idno\Core\Idno::site( )->config( )->getStaticURL( ) . 'gfx/logos/apple-icon-114x114.png', 'default_144' => \Idno\Core\Idno::site( )->config( )->getStaticURL( ) . 'gfx/logos/apple-icon-144x144.png', 'default_192' => \Idno\Core\Idno::site( )->config( )->getStaticURL( ) . 'gfx/logos/logo_k_192.png', ] |
/Idno/Common/Page.php:355 | 1 | $debug = ['time' => $ts, 'token' => \Idno\Core\TokenProvider::truncateToken($tk), 'action' => $ta, 'site_secret' => \Idno\Core\TokenProvider::truncateToken(\Idno\Core\Idno::site( )->config( )->site_secret), 'session_id' => \Idno\Core\TokenProvider::truncateToken(session_id( )), 'expected-token' => \Idno\Core\TokenProvider::truncateToken(\Idno\Core\Bonita\Forms::token($ta, $ts)), 'expected-token-no-action' => \Idno\Core\TokenProvider::truncateToken(\Idno\Core\Bonita\Forms::token('', $ts))] |
/Tests/Core/GatekeeperTest.php:66 | 2 | $result = \Idno\Core\Webservice::get(\Idno\Core\Idno::site( )->config( )->url . 'admin/', [ ], ['X-KNOWN-USERNAME: ' . $user->handle, 'X-KNOWN-SIGNATURE: ' . base64_encode(hash_hmac('sha256', '/admin/', $user->getAPIkey( ), true)), ]) |
/Idno/Core/Bonita/Forms.php:121 | 1 | $debug = ['action' => $action, 'time' => $time, 'site_secret' => \Idno\Core\TokenProvider::truncateToken(\Idno\Core\Idno::site( )->config( )->site_secret), 'session_id' => \Idno\Core\TokenProvider::truncateToken(session_id( )), 'token' => \Idno\Core\TokenProvider::truncateToken($hmac), ] |
/Tests/API/UploadTest.php:19 | 1 | $result = \Idno\Core\Webservice::post($endpoint, ['title' => 'A Photo upload', 'body' => "Uploading a pretty picture via the api", 'photo' => \Idno\Core\WebserviceFile::createFromCurlString("@" . dirname(__FILE__) . "/" . self::$file . ";filename=Photo.jpg;type=image/jpeg")], ['Accept: application/json', 'X-KNOWN-USERNAME: ' . $user->handle, 'X-KNOWN-SIGNATURE: ' . base64_encode(hash_hmac('sha256', '/photo/edit', $user->getAPIkey( ), true)), ]) |
/Idno/Core/Templating/Parsing.php:132 | 1 | return \Idno\Core\Idno::site( )->events( )->triggerEvent("template/parseusers", ['in_reply_to' => $in_reply_to, 'in_reply_to_domain' => parse_url($in_reply_to, PHP_URL_HOST), 'username' => ltrim($matches[1], '@'), 'match' => $url], $url) |
/Idno/Core/MentionClient.php:41 | 1 | return ['code' => $response['response'], 'headers' => self::_parse_headers(isset($response['header']) ? $response['header'] : ''), 'body' => $response['content'], 'url' => $response['effective_url']] |
/Idno/Core/Templating/Urls.php:202 | 1 | return (substr($url, 0, 7) == 'http://' || substr($url, 0, 8) == 'https://' || substr($url, 0, 1) == '@' || substr($url, 0, 7) == 'mailto:' || substr($url, 0, 4) == 'tel:' || substr($url, 0, 4) == 'sms:' || substr($url, 0, 6) == 'skype:' || substr($url, 0, 5) == 'xmpp:' || substr($url, 0, 4) == 'sip:' || substr($url, 0, 4) == 'ssh:' || substr($url, 0, 8) == 'spotify:' || substr($url, 0, 8) == 'bitcoin:' || substr($url, 0, 9) == 'ethereum:' || substr($url, 0, 4) == 'ssb:' || substr($url, 0, 9) == 'facetime:') ? $url : 'http://' . $url |
/Idno/Core/Time.php:115 | 1 | $time = ($diff > 0) ? \Idno\Core\Idno::site( )->language( )->_('ahead') : \Idno\Core\Idno::site( )->language( )->_('behind') |
/Idno/Core/Migration.php:133 | 1 | $data_file = $file_path . 'uploads/' . \Idno\Core\Idno::site( )->config( )->pathHost( ) . '/' . $id[0] . '/' . $id[1] . '/' . $id[2] . '/' . $id[3] . '/' . $id . '.data' |
/Idno/Core/Migration.php:132 | 1 | $attachments[$key]['url'] = '../files/' . Idno::site( )->config( )->pathHost( ) . '/' . $id[0] . '/' . $id[1] . '/' . $id[2] . '/' . $id[3] . '/' . $id . '.file' |
/Idno/Core/PubSubHubbub.php:137 | 1 | $return = Webservice::post($following->pubsub_hub, array('hub.callback' => Idno::site( )->config( )->url . 'pubsub/callback/' . $user->getID( ) . '/' . $following->getID( ), 'hub.mode' => 'unsubscribe', 'hub.verify' => 'async', 'hub.topic' => $following->pubsub_self)) |
/Idno/Core/PubSubHubbub.php:94 | 1 | $return = Webservice::post($following->pubsub_hub, array('hub.callback' => Idno::site( )->config( )->url . 'pubsub/callback/' . $user->getID( ) . '/' . $following->getID( ), 'hub.mode' => 'subscribe', 'hub.verify' => 'async', 'hub.topic' => $feed, )) |
/Idno/Core/Installer.php:185 | 1 | $defaults = ['build' => Version::build( ), 'version' => Version::version( ), 'datetime' => date('r'), 'database' => 'MySQL', 'dbname' => 'known', 'dbhost' => 'localhost', 'filesystem' => 'local', 'uploadpath' => $this->root_path . '/Uploads/'] |
/templates/jsonp/shell.tpl.php:17 | 3 | $e = ['class' => get_class($vars['exception']), 'message' => $vars['exception']->getMessage( ), 'file' => $vars['exception']->getFile( ), 'line' => $vars['exception']->getLine( )] |
/templates/activitypub/shell.tpl.php:10 | 3 | $e = ['class' => get_class($vars['exception']), 'message' => $vars['exception']->getMessage( ), 'file' => $vars['exception']->getFile( ), 'line' => $vars['exception']->getLine( )] |
/templates/default/chrome/manifest.tpl.php:14 | 1 | $manifest = ['name' => \Idno\Core\Idno::site( )->config( )->getTitle( ), 'short_name' => \Idno\Core\Idno::site( )->config( )->getTitle( ), 'icons' => [ ], 'start_url' => \Idno\Core\Idno::site( )->config( )->getDisplayURL( ) . 'session/login', 'display' => 'standalone', 'scope' => $scope] |
/templates/json/shell.tpl.php:11 | 3 | $e = ['class' => get_class($vars['exception']), 'message' => $vars['exception']->getMessage( ), 'file' => $vars['exception']->getFile( ), 'line' => $vars['exception']->getLine( )] |
/warmup/CLI/CLIInstaller.php:238 | 1 | $ini_file = $this->buildConfig(['dbname' => $this->config['mysql_name'], 'dbpass' => $this->config['mysql_pass'], 'dbuser' => $this->config['mysql_user'], 'dbhost' => $this->config['mysql_host'], 'uploadpath' => $this->config['upload_path'], 'database' => $this->config['database'], ]) |
/templates/activitypub/shell.tpl.php:23 | 1 | $person = Type::create('Person', ['@context' => ['https://www.w3.org/ns/activitystreams', 'https://w3id.org/security/v1', ], 'id' => $vars['user']->getActivityPubActorID( ), 'url' => ($vars['user']->getAuthorURL( )), 'preferredUsername' => $vars['user']->getHandle( ), 'name' => $vars['user']->getAuthorName( ), 'summary' => $vars['user']->getDescription( ), 'icon' => $vars['user']->getIconObject( ), 'inbox' => $vars['user']->getActivityPubActorID( ) . '/inbox', 'publicKey' => $vars['user']->getPublicKey( ), ]) |
/templates/activitypub/shell.tpl.php:41 | 1 | $note = Type::create('Note', ['@context' => ['https://www.w3.org/ns/activitystreams', ], 'id' => $vars['object']->getUUID( ), 'url' => ($vars['object']->getURL( )), 'attributedTo' => $vars['object']->getActivityPubActorID( ), 'to' => $vars['object']->getAddressedTo( ), 'published' => $vars['object']->getPublishedTime( ), 'content' => $vars['object']->getFormattedContent( ), 'tag' => $vars['object']->getHashTagObjects( ), ]) |
/IdnoPlugins/IndiePub/Pages/IndieAuth/Token.php:53 | 1 | $indieauth_tokens[$token] = array('me' => $verified['me'], 'redirect_uri' => $redirect_uri, 'scope' => $verified['scope'], 'client_id' => $client_id, 'issued_at' => time( ), 'nonce' => mt_rand(1000000, pow(2, 30))) |
/IdnoPlugins/IndiePub/Pages/IndieAuth/Auth.php:46 | 1 | $t->body = $t->__(array('me' => $me_prime, 'client_id' => $client_id, 'pretty_id' => preg_replace('/^https?:\/\//', '', $client_id), 'scope' => $scope, 'redirect_uri' => $redirect_uri, 'state' => $state, ))->draw('indiepub/auth') |
/IdnoPlugins/Text/Entry.php:169 | 1 | $json = ["@context" => "http://schema.org", "@type" => 'BlogPosting', 'dateCreated' => date('c', $this->getCreatedTime( )), 'datePublished' => date('c', $this->getCreatedTime( )), 'author' => ["@type" => "Person", "name" => $this->getOwner( )->getName( )], 'headline' => $this->getTitle( ), 'description' => $this->getShortDescription( ), 'text' => $this->body, 'url' => $this->getUrl( ), 'image' => $this->getIcon( )] |
/IdnoPlugins/Status/Pages/Edit.php:27 | 1 | $edit_body = $t->__(array('object' => $object, 'url' => $this->getInput('url'), 'body' => $this->getInput('body'), 'tags' => $this->getInput('tags')))->draw('entity/Status/edit') |
/IdnoPlugins/Checkin/Checkin.php:186 | 1 | $json = ["@context" => "http://schema.org", "@type" => "CheckInAction", 'agent' => ["@type" => "Person", "name" => $this->getOwner( )->getName( )], 'location' => ['@type' => 'Place', 'address' => $this->address, 'name' => $this->placename, "geo" => ["@type" => "GeoCoordinates", "latitude" => $this->lat( ), "longitude" => $this->long( )], ], ] |
/IdnoPlugins/Checkin/Checkin.php:15 | 1 | return \Idno\Core\Idno::site( )->language( )->_('Checked into %s', [$this->canSeePreciseLocation( ) && $this->placename ? $this->placename : \Idno\Core\Idno::site( )->language( )->_('somewhere near...')]) |
/IdnoPlugins/Media/Media.php:191 | 1 | $json = ["@context" => "http://schema.org/", "name" => $this->getTitle( ), "@id" => $this->getUUID( ), "datePublished" => date('c', $this->getCreatedTime( )), "description" => $this->body, "uploadDate" => date('c', $this->getCreatedTime( )), 'author' => ["@type" => "Person", "name" => $this->getOwner( )->getName( )], 'encodingFormat' => $this->media_type, ] |
/IdnoPlugins/Photo/Photo.php:237 | 1 | $json = ["@context" => "http://schema.org", "@type" => 'Photograph', 'dateCreated' => date('c', $this->getCreatedTime( )), 'datePublished' => date('c', $this->getCreatedTime( )), 'author' => ["@type" => "Person", "name" => $this->getOwner( )->getName( )], 'name' => $this->getTitle( ), 'description' => $this->body, 'url' => $this->getUrl( ), 'mainEntityOfPage' => $this->getUrl( ), ] |
/templates/default/shell/structured-data.tpl.php:13 | 1 | $jsonld = ["@context" => "http://schema.org", "@type" => "WebSite", "url" => $currentPage->currentUrl( ), "name" => $vars['title'], "description" => $vars['description'], "publisher" => \Idno\Core\Idno::site( )->config( )->title, "potentialAction" => ["@type" => "SearchAction", "target" => \Idno\Core\Idno::site( )->config( )->getDisplayURL( ) . "content/all/?q={search_term}", "query-input" => "required name=search_term"]] |
/Idno/Common/Page.php:718 | 3 | if(\Idno\Core\Idno::site( )->session( )->isAPIRequest( ) || \Idno\Core\Idno::site( )->actions( )->validateToken($this->currentUrl( ), false) || \Idno\Core\Idno::site( )->actions( )->validateToken('', false)) { /**/ } else { /**/ } |
/Idno/Common/Page.php:629 | 3 | if(\Idno\Core\Idno::site( )->session( )->isAPIRequest( ) || \Idno\Core\Idno::site( )->actions( )->validateToken($this->currentUrl( ), false) || \Idno\Core\Idno::site( )->actions( )->validateToken('', false)) { /**/ } else { /**/ } |
/Idno/Common/Page.php:407 | 3 | if(\Idno\Core\Idno::site( )->session( )->isAPIRequest( ) || \Idno\Core\Idno::site( )->actions( )->validateToken($this->currentUrl( ), false) || \Idno\Core\Idno::site( )->actions( )->validateToken('', false)) { /**/ } else { /**/ } |
/Idno/Core/DefaultTemplate.php:151 | 1 | if(strpos(\Idno\Core\Idno::site( )->currentPage( )->currentUrl( ), \Idno\Core\Idno::site( )->config( )->getDisplayURL( ) . $url . '/') === 0) { /**/ } |
/Idno/Common/Page.php:998 | 1 | if(!static::isSSL( ) && empty(\Idno\Core\Idno::site( )->config( )->ignore_ssl_gatekeeper) && \Idno\Core\Idno::site( )->config( )->hasSSL( )) { /**/ } |
/Themes/Fauvists/templates/default/content/create.tpl.php:48 | 1 | if(empty($vars['items']) && sizeof($vars['contentTypes']) <= 1 && \Idno\Core\Idno::site( )->session( )->isLoggedIn( ) && \Idno\Core\Idno::site( )->session( )->currentUser( )->isAdmin( )) { /**/ } |
/templates/default/settings-shell/toolbar/logged-in.tpl.php:17 | 1 | if(strpos(\Idno\Core\Idno::site( )->currentPage( )->currentUrl( ), \Idno\Core\Idno::site( )->config( )->getDisplayURL( ) . 'admin/') !== false) /**//*B*/ ?> |
/Idno/Core/Plugins.php:324 | 1 | if((file_exists(\Idno\Core\Idno::site( )->config( )->path . '/IdnoPlugins/' . $plugin)) || (!empty(\Idno\Core\Idno::site( )->config( )->external_plugin_path) && file_exists(\Idno\Core\Idno::site( )->config( )->external_plugin_path . '/IdnoPlugins/' . $plugin)) || (!empty($host) && file_exists(\Idno\Core\Idno::site( )->config( )->path . '/hosts/' . $host . '/IdnoPlugins/' . $plugin))) { /**/ } |
/Idno/Core/Hub.php:106 | 1 | if(!empty(\Idno\Core\Idno::site( )->config( )->hub_settings['auth_token']) && !empty(\Idno\Core\Idno::site( )->config( )->hub_settings['secret'])) { /**/ } |
/IdnoPlugins/IndiePub/Pages/IndieAuth/Token.php:63 | 1 | if(\Idno\Core\Idno::site( )->session( )->isLoggedOn( ) && $user->getUUID( ) == \Idno\Core\Idno::site( )->session( )->currentUser( )->getUUID( )) { /**/ } |
/IdnoPlugins/Bridgy/Pages/Check.php:48 | 1 | if(!empty($hcard['properties']['bridgy-account-status']) && $hcard['properties']['bridgy-account-status'][0] == 'enabled' && !empty($hcard['properties']['bridgy-listen-status']) && $hcard['properties']['bridgy-listen-status'][0] == 'enabled') { /**/ } |
/Idno/Entities/User.php:103 | 1 | if(empty($user->notifications['email']) || $user->notifications['email'] == 'all' || ($user->notifications['email'] == 'comment' && in_array($notification->type, array('comment', 'reply')))) { /**/ } |
/Idno/Entities/User.php:919 | 1 | if($groups = \Idno\Core\Idno::site( )->db( )->getRecords(array('uuid' => true), array('entity_subtype' => 'Idno\\Entities\\AccessGroup', $permission => $this->getUUID( )), PHP_INT_MAX, 0)) { /**/ } |
/templates/default/settings-shell/toolbar/logged-in.tpl.php:2 | 1 | if(strpos(\Idno\Core\Idno::site( )->currentPage( )->currentUrl( ), \Idno\Core\Idno::site( )->config( )->getDisplayURL( ) . 'account/notifications') !== false) /**//*B*/ ?> |
/templates/default/settings-shell/toolbar/logged-in.tpl.php:12 | 1 | if((strpos(\Idno\Core\Idno::site( )->currentPage( )->currentUrl( ), \Idno\Core\Idno::site( )->config( )->getDisplayURL( ) . 'account/') !== false) && (strpos(\Idno\Core\Idno::site( )->currentPage( )->currentUrl( ), \Idno\Core\Idno::site( )->config( )->getDisplayURL( ) . 'account/notifications') === false)) /**//*B*/ ?> |
/IdnoPlugins/Webhooks/Main.php:92 | 1 | if(!empty(\Idno\Core\Idno::site( )->config( )->webhook_syndication) || (\Idno\Core\Idno::site( )->session( )->isLoggedIn( ) && !empty(\Idno\Core\Idno::site( )->session( )->currentUser( )->webhook_syndication))) { /**/ } |
/templates/default/settings-shell.tpl.php:31 | 1 | if(strpos(\Idno\Core\Idno::site( )->currentPage( )->currentUrl( ), \Idno\Core\Idno::site( )->config( )->getDisplayURL( ) . 'admin/') !== false) { /**/ } else { /**/ } |
/Idno/Data/MySQL.php:271 | 1 | if($statement->execute(array(':uuid' => $array['uuid'], ':id' => $array['_id'], ':siteid' => $array['siteid'], ':owner' => $array['owner'], ':subtype' => $array['entity_subtype'], ':contents' => $contents, ':publish_status' => $array['publish_status'], ':created' => $array['created']))) { /**/ } |
/Idno/Pages/Admin/Themes.php:36 | 1 | if((preg_match('/^[a-zA-Z0-9]+$/', $theme) && (file_exists(\Idno\Core\Idno::site( )->config( )->path . '/Themes/' . $theme) || (!empty($host) && (file_exists(\Idno\Core\Idno::site( )->config( )->path . '/hosts/' . $host . '/Themes/' . $theme))))) || $theme == 'default' || $theme == '') { /**/ } |
/Idno/Common/Entity.php:2269 | 1 | if(!$this->addAnnotation($mention['type'], $mentions['owner']['name'], $mentions['owner']['url'], $mentions['owner']['photo'], $mention['content'], $permalink, $mention['created'], $mention['title'], $mention['fields'])) { /**/ } |
/Idno/Pages/Account/Settings/Following/Bookmarklet.php:136 | 1 | if((!$new_user = \Idno\Entities\User::getByUUID($uuid)) && (!$new_user = \Idno\Entities\User::getByProfileURL($uuid)) && (!$new_user = \Idno\Entities\RemoteUser::getByUUID($uuid)) && (!$new_user = \Idno\Entities\RemoteUser::getByProfileURL($uuid))) { /**/ } else { /**/ } |
/Idno/Pages/Session/Login.php:43 | 1 | if(\Idno\Core\Idno::site( )->session( )->isLoggedOn( ) && \Idno\Core\Idno::site( )->template( )->getTemplateType( ) != 'default' && $this->isSSL( )) { /**/ } |
/Idno/Pages/Admin/Users.php:145 | 1 | if(!($emailuser = \Idno\Entities\User::getByEmail($email)) && !($handleuser = \Idno\Entities\User::getByHandle($handle)) && !empty($handle) && strlen($handle) <= 32 && !substr_count($handle, '/')) { /**/ } else { /**/ } |
/Idno/Pages/Account/Register.php:84 | 1 | if(!(\Idno\Core\Idno::site( )->config( )->emailIsBlocked($email)) && !($emailuser = \Idno\Entities\User::getByEmail($email)) && !($handleuser = \Idno\Entities\User::getByHandle($handle)) && !empty($handle) && strlen($handle) <= 32 && preg_match('/^[a-zA-Z0-9_]{1,}$/', $handle) && !substr_count($handle, '/') && $password == $password2 && \Idno\Entities\User::checkNewPasswordStrength($password) && \Idno\Core\Idno::site( )->events( )->triggerEvent('user/register/validate', ['name' => $name, 'handle' => $handle, 'email' => $email, 'password' => $password, 'password2' => $password2], true)) { /**/ } else { /**/ } |
/Idno/Core/Migration.php:134 | 1 | foreach(array($file_path . 'uploads/' . \Idno\Core\Idno::site( )->config( )->pathHost( ), $file_path . \Idno\Core\Idno::site( )->config( )->pathHost( ) . '/' . $id[0], $file_path . 'uploads/' . \Idno\Core\Idno::site( )->config( )->pathHost( ) . '/' . $id[0] . '/' . $id[1], $file_path . 'uploads/' . \Idno\Core\Idno::site( )->config( )->pathHost( ) . '/' . $id[0] . '/' . $id[1] . '/' . $id[2], $file_path . 'uploads/' . \Idno\Core\Idno::site( )->config( )->pathHost( ) . '/' . $id[0] . '/' . $id[1] . '/' . $id[2] . '/' . $id[3]) as $up_path) { /**/ } |
/Idno/Files/LocalFileSystem.php:131 | 2 | foreach(array($path . \Idno\Core\Idno::site( )->config( )->getFileBaseDirName( ), $path . \Idno\Core\Idno::site( )->config( )->host . '/' . $id[0], $path . \Idno\Core\Idno::site( )->config( )->host . '/' . $id[0] . '/' . $id[1], $path . \Idno\Core\Idno::site( )->config( )->host . '/' . $id[0] . '/' . $id[1] . '/' . $id[2], $path . \Idno\Core\Idno::site( )->config( )->host . '/' . $id[0] . '/' . $id[1] . '/' . $id[2] . '/' . $id[3]) as $up_path) { /**/ } |
/Idno/Files/LocalFileSystem.php:81 | 2 | foreach(array($path . \Idno\Core\Idno::site( )->config( )->getFileBaseDirName( ), $path . \Idno\Core\Idno::site( )->config( )->host . '/' . $id[0], $path . \Idno\Core\Idno::site( )->config( )->host . '/' . $id[0] . '/' . $id[1], $path . \Idno\Core\Idno::site( )->config( )->host . '/' . $id[0] . '/' . $id[1] . '/' . $id[2], $path . \Idno\Core\Idno::site( )->config( )->host . '/' . $id[0] . '/' . $id[1] . '/' . $id[2] . '/' . $id[3]) as $up_path) { /**/ } |
/Idno/Entities/User.php:51 | 1 | $links = [['rel' => 'self', 'type' => 'application/activity+json', 'href' => $user->getActivityPubActorID( )], ['rel' => 'http://webfinger.net/rel/avatar', 'type' => parent::getMediaMimeType($user->getIcon( )), 'href' => $user->getIcon( )], ['rel' => 'http://webfinger.net/rel/profile-page', 'type' => 'text/html', 'href' => $user->getURL( )]] |
/Idno/Pages/Service/Notifications/NewNotifications.php:55 | 1 | return ['title' => $notif->getMessage( ), 'body' => $body, 'icon' => $annotation['owner_image'], 'created' => date('c', $notif->created), 'link' => (empty($notif->url)) ? \Idno\Core\Idno::site( )->config( )->getDisplayURL( ) . 'account/notifications' : $notif->link] |
/Idno/Pages/Account/Settings/Feedback.php:32 | 1 | $results = Webservice::post('https://withknown.com/vendor-services/feedback/', array('url' => \Idno\Core\Idno::site( )->config( )->getURL( ), 'title' => \Idno\Core\Idno::site( )->config( )->getTitle( ), 'version' => \Idno\Core\Version::version( ), 'public' => \Idno\Core\Idno::site( )->config( )->isPublicSite( ), 'hub' => \Idno\Core\Idno::site( )->config( )->known_hub, 'email' => $email, 'message' => $message)) |
/Idno/Pages/Account/Notifications.php:41 | 1 | $page = Idno::site( )->template( )->__(['title' => \Idno\Core\Idno::site( )->language( )->_('Notifications'), 'body' => $body, ])->drawPage(false) |
/Idno/Pages/Account/Register.php:42 | 1 | $t->body = $t->__(array('email' => $email, 'code' => $code, 'set_name' => $set_name, 'messages' => \Idno\Core\Idno::site( )->session( )->getAndFlushMessages( )))->draw('onboarding/register') |
/Idno/Pages/Admin/Plugins.php:19 | 1 | $t->body = $t->__(array('plugins_stored' => \Idno\Core\Idno::site( )->plugins( )->getStored( ), 'plugins_loaded' => \Idno\Core\Idno::site( )->plugins( )->getLoaded( ), ))->draw('admin/plugins') |
/Idno/Pages/Admin/Themes.php:18 | 1 | $t->body = $t->__(array('themes_stored' => \Idno\Core\Idno::site( )->themes( )->getStored( ), 'theme' => \Idno\Core\Idno::site( )->themes( )->get( ), ))->draw('admin/themes') |
/Idno/Pages/File/Mint.php:38 | 1 | $upload_url = Idno::site( )->events( )->triggerEvent('file/upload/getuploadurl', ['name' => $name, 'type' => $type, 'size' => $size], Idno::site( )->config( )->getDisplayURL( ) . '/file/upload/' . $file->getID( )) |
/Idno/Files/FileSystem.php:66 | 1 | $array = [UPLOAD_ERR_OK => $language->_('There is no error, the file uploaded with success'), UPLOAD_ERR_INI_SIZE => $language->_('The uploaded file exceeds the upload_max_filesize directive in php.ini'), UPLOAD_ERR_FORM_SIZE => $language->_('The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form'), UPLOAD_ERR_PARTIAL => $language->_('The uploaded file was only partially uploaded'), UPLOAD_ERR_NO_FILE => $language->_('No file was uploaded'), UPLOAD_ERR_NO_TMP_DIR => $language->_('Missing a temporary folder'), UPLOAD_ERR_CANT_WRITE => $language->_('Failed to write file to disk.'), UPLOAD_ERR_EXTENSION => $language->_('A PHP extension stopped the file upload.'), ] |
/Idno/Files/LocalFileSystem.php:128 | 3 | $data_file = $path . \Idno\Core\Idno::site( )->config( )->getFileBaseDirName( ) . '/' . $id[0] . '/' . $id[1] . '/' . $id[2] . '/' . $id[3] . '/' . $id . '.data' |
/Idno/Files/LocalFileSystem.php:127 | 3 | $upload_file = $path . \Idno\Core\Idno::site( )->config( )->getFileBaseDirName( ) . '/' . $id[0] . '/' . $id[1] . '/' . $id[2] . '/' . $id[3] . '/' . $id . '.file' |
/Idno/Files/LocalFileSystem.php:78 | 3 | $data_file = $path . \Idno\Core\Idno::site( )->config( )->getFileBaseDirName( ) . '/' . $id[0] . '/' . $id[1] . '/' . $id[2] . '/' . $id[3] . '/' . $id . '.data' |
/Idno/Files/LocalFileSystem.php:77 | 3 | $upload_file = $path . \Idno\Core\Idno::site( )->config( )->getFileBaseDirName( ) . '/' . $id[0] . '/' . $id[1] . '/' . $id[2] . '/' . $id[3] . '/' . $id . '.file' |
/Idno/Files/LocalFileSystem.php:34 | 3 | $data_file = $path . \Idno\Core\Idno::site( )->config( )->getFileBaseDirName( ) . '/' . $id[0] . '/' . $id[1] . '/' . $id[2] . '/' . $id[3] . '/' . $id . '.data' |
/Idno/Files/LocalFileSystem.php:33 | 3 | $upload_file = $path . \Idno\Core\Idno::site( )->config( )->getFileBaseDirName( ) . '/' . $id[0] . '/' . $id[1] . '/' . $id[2] . '/' . $id[3] . '/' . $id . '.file' |
/Idno/Common/Entity.php:1951 | 1 | $object['attachments'][] = ['filename' => $attachment['filename'], 'url' => preg_replace('/^(https?:\/\/\/)/u', \Idno\Core\Idno::site( )->config( )->url, $attachment['url']), 'mime-type' => $attachment['mime-type'], 'length' => $attachment['length']] |
/templates/default/robot/wizard.tpl.php:7 | 1 | $twitterurl = "https://twitter.com/intent/tweet?text=" . urlencode(\Idno\Core\Idno::site( )->language( )->_("Check out my new @withknown site!")) . "&url=" . urlencode(\Idno\Core\Idno::site( )->config( )->getDisplayURL( )) . "&source=webclient" |
/templates/default/robot/wizard.tpl.php:9 | 1 | $two_abc = \Idno\Core\Idno::site( )->language( )->_(" That was a great update. Why not <%s>share your new website on Facebook</a> and <a href=\"%s\">Twitter</a> so your friends know about it?\n\nI bet you've got some great photos. <%s>Try posting one</a>!", ["a href=\"$facebookurl\" target=\"blank\" onclick=\"window.open('$facebookurl', 'newwindow', 'width=600, height=350'); return false;\"", $twitterurl, "a href=\"#\" onclick=\"event.preventDefault(); contentCreateForm('photo', '" . \Idno\Core\Idno::site( )->config( )->getDisplayURL( ) . "photo/edit/'); return false;\""]) |
/templates/default/content/syndication.tpl.php:44 | 1 | $button .= $this->__(['service' => $service, 'disabled' => $disabled, 'username' => $account['username'], 'name' => $account['name'], 'details' => $account, 'selected' => $preselect, ])->draw('content/syndication/account') |
/templates/default/content/syndication.tpl.php:57 | 1 | $button = $this->__(array('service' => $service, 'disabled' => $disabled, 'selected' => \Idno\Core\Idno::site( )->events( )->triggerEvent('syndication/selected/' . $service, ['service' => $service, 'reply-to' => \Idno\Core\Idno::site( )->currentPage( )->getInput('share_url')], false)))->draw('content/syndication/button') |
/templates/default/shell/opengraph.tpl.php:15 | 1 | $opengraph = array('og:type' => 'website', 'og:title' => htmlspecialchars(strip_tags($vars['title']), ENT_COMPAT, 'UTF-8'), 'og:site_name' => htmlspecialchars(strip_tags(\Idno\Core\Idno::site( )->config( )->title), ENT_COMPAT, 'UTF-8'), 'og:image' => $currentPage->getIcon( )) |
/templates/default/content/syndication.tpl.php:35 | 1 | $preselect = \Idno\Core\Idno::site( )->events( )->triggerEvent('syndication/selected/' . $service, ['service' => $service, 'username' => $account['username'], 'reply-to' => \Idno\Core\Idno::site( )->currentPage( )->getInput('share_url'), 'syndicated-to' => \Idno\Core\Idno::site( )->currentPage( )->getInput('syndicatedto'), ], false) |
/templates/default/js/known.tpl.php:14 | 1 | $known = ['session' => ['loggedIn' => \Idno\Core\Idno::site( )->session( )->isLoggedIn( ), 'admin' => \Idno\Core\Idno::site( )->session( )->isAdmin( )], 'config' => ['displayUrl' => \Idno\Core\Idno::site( )->config( )->getDisplayURL( ), 'staticUrl' => \Idno\Core\Idno::site( )->config( )->getStaticURL( ), 'debug' => !empty(\Idno\Core\Idno::site( )->config( )->debug)], 'page' => ['currentUrl' => \Idno\Core\Idno::site( )->currentPage( )->currentUrl( ), 'currentUrlFragments' => \Idno\Core\Idno::site( )->currentPage( )->currentUrl(true), ], ] |