mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 12:35:13 +00:00
Merge https://github.com/friendica/red into pending_merge
This commit is contained in:
commit
27eae40707
7 changed files with 54 additions and 109 deletions
|
@ -1,98 +0,0 @@
|
|||
<?php
|
||||
|
||||
// Set the following for your MySQL installation
|
||||
// Copy or rename this file to .htconfig.php
|
||||
|
||||
$db_host = '{{$dbhost}}';
|
||||
$db_port = '{{$dbport}}';
|
||||
$db_user = '{{$dbuser}}';
|
||||
$db_pass = '{{$dbpass}}';
|
||||
$db_data = '{{$dbdata}}';
|
||||
|
||||
/*
|
||||
* Notice: Many of the following settings will be available in the admin panel
|
||||
* after a successful site install. Once they are set in the admin panel, they
|
||||
* are stored in the DB - and the DB setting will over-ride any corresponding
|
||||
* setting in this file
|
||||
*
|
||||
* The command-line tool util/config is able to query and set the DB items
|
||||
* directly if for some reason the admin panel is not available and a system
|
||||
* setting requires modification.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
// Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
|
||||
// It can be changed later and only applies to timestamps for anonymous viewers.
|
||||
|
||||
$default_timezone = '{{$timezone}}';
|
||||
|
||||
// What is your site name?
|
||||
|
||||
$a->config['system']['baseurl'] = '{{$siteurl}}';
|
||||
$a->config['system']['sitename'] = "Red Matrix";
|
||||
$a->config['system']['location_hash'] = '{{$site_id}}';
|
||||
|
||||
|
||||
// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
|
||||
// Be certain to create your own personal account before setting
|
||||
// REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on
|
||||
// the registration page. REGISTER_APPROVE requires you set 'admin_email'
|
||||
// to the email address of an already registered person who can authorise
|
||||
// and/or approve/deny the request.
|
||||
|
||||
$a->config['system']['register_policy'] = REGISTER_OPEN;
|
||||
$a->config['system']['register_text'] = '';
|
||||
$a->config['system']['admin_email'] = '{{$adminmail}}';
|
||||
|
||||
|
||||
// Site access restrictions. By default we will create private sites.
|
||||
// Your choices are ACCESS_PRIVATE, ACCESS_PAID, ACCESS_TIERED, and ACCESS_FREE.
|
||||
// If you leave REGISTER_OPEN above, anybody may register on your
|
||||
// site, however your site will not be listed anywhere as an open
|
||||
// registration hub. We will use the system access policy (below)
|
||||
// to determine whether or not to list your site in the directory
|
||||
// as an open hub where anybody may create accounts. Your choice of
|
||||
// paid, tiered, or free determines how these listings will be presented.
|
||||
|
||||
|
||||
$a->config['system']['access_policy'] = ACCESS_PRIVATE;
|
||||
|
||||
// If you operate a public site, you might wish that people are directed
|
||||
// to a "sellpage" where you can describe for features or policies or service plans in depth.
|
||||
// This must be an absolute URL beginning with http:// or https:// .
|
||||
|
||||
$a->config['system']['sellpage'] = '';
|
||||
|
||||
// Maximum size of an imported message, 0 is unlimited
|
||||
// FIXME - NOT currently implemented.
|
||||
|
||||
$a->config['system']['max_import_size'] = 200000;
|
||||
|
||||
// Location of PHP command line processor
|
||||
|
||||
$a->config['system']['php_path'] = '{{$phpath}}';
|
||||
|
||||
// Configure how we communicate with directory servers.
|
||||
// DIRECTORY_MODE_NORMAL = directory client, we will find a directory
|
||||
// DIRECTORY_MODE_SECONDARY = caching directory or mirror
|
||||
// DIRECTORY_MODE_PRIMARY = main directory server
|
||||
// DIRECTORY_MODE_STANDALONE = "off the grid" or private directory services
|
||||
|
||||
$a->config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL;
|
||||
|
||||
// default system theme
|
||||
|
||||
$a->config['system']['theme'] = 'redbasic';
|
||||
|
||||
|
||||
// PHP error logging setup
|
||||
// Before doing this ensure that the webserver has permission
|
||||
// to create and write to php.out in the top level Red directory,
|
||||
// or change the name (below) to a file/path where this is allowed.
|
||||
|
||||
// Uncomment the following 4 lines to turn on PHP error logging.
|
||||
//error_reporting(E_ERROR | E_WARNING | E_PARSE );
|
||||
//ini_set('error_log','php.out');
|
||||
//ini_set('log_errors','1');
|
||||
//ini_set('display_errors', '0');
|
|
@ -755,7 +755,7 @@ msgstr "jouw registratiewachtwoord"
|
|||
#: ../../include/account.php:300 ../../include/account.php:357
|
||||
#, php-format
|
||||
msgid "Registration details for %s"
|
||||
msgstr "Registratiedetails voor %s"
|
||||
msgstr "Registratiegegevens voor %s"
|
||||
|
||||
#: ../../include/account.php:366
|
||||
msgid "Account approved."
|
||||
|
@ -994,7 +994,7 @@ msgstr "Plaats:"
|
|||
|
||||
#: ../../include/nav.php:77 ../../include/nav.php:96 ../../boot.php:1451
|
||||
msgid "Logout"
|
||||
msgstr "Uitloggen:"
|
||||
msgstr "Uitloggen"
|
||||
|
||||
#: ../../include/nav.php:77 ../../include/nav.php:96
|
||||
msgid "End this session"
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
(English below)
|
||||
|
||||
Er is met dit e-mailadres een account aangemaakt op {{$sitename}}.
|
||||
De inloggegevens zijn als volgt:
|
||||
|
||||
Hub: {{$siteurl}}
|
||||
Inlognaam: {{$email}}
|
||||
Wachtwoord: (het wachtwoord dat je tijdens de registratie hebt opgegeven)
|
||||
|
||||
Wanneer dit account was aangemaakt zonder jouw medeweten en tevens niet gewenst, dan kan je {{$siteurl}} bezoeken en een nieuwe wachtwoord aanvragen. Je kan daarna inloggen en via 'instellingen > account' het kanaal verwijderen dat ten onrechte jouw e-mailadres gebruikt. Wanneer dat is voltooid, dan kan je een e-mail sturen naar de beheerder van deze hub om het account volledig te laten verwijderen. Zie voor de beheerder {{$siteurl}}/siteinfo .
|
||||
|
||||
Hoogachtend,
|
||||
Beheerder {{$sitename}}
|
||||
|
||||
|
||||
-----
|
||||
|
||||
|
||||
An account has been created at {{$sitename}} for this email address.
|
||||
The login details are as follows:
|
||||
|
|
|
@ -172,7 +172,7 @@ $a->strings["Failed to store account information."] = "Account-informatie kon ni
|
|||
$a->strings["Registration request at %s"] = "Registratieverzoek op %s";
|
||||
$a->strings["Administrator"] = "Beheerder";
|
||||
$a->strings["your registration password"] = "jouw registratiewachtwoord";
|
||||
$a->strings["Registration details for %s"] = "Registratiedetails voor %s";
|
||||
$a->strings["Registration details for %s"] = "Registratiegegevens voor %s";
|
||||
$a->strings["Account approved."] = "Account goedgekeurd";
|
||||
$a->strings["Registration revoked for %s"] = "Registratie ingetrokken voor %s";
|
||||
$a->strings["Permission denied."] = "Toegang geweigerd.";
|
||||
|
@ -218,7 +218,7 @@ $a->strings["l F d, Y \\@ g:i A"] = "l d F Y \\@ G:i";
|
|||
$a->strings["Starts:"] = "Start:";
|
||||
$a->strings["Finishes:"] = "Einde:";
|
||||
$a->strings["Location:"] = "Plaats:";
|
||||
$a->strings["Logout"] = "Uitloggen:";
|
||||
$a->strings["Logout"] = "Uitloggen";
|
||||
$a->strings["End this session"] = "Beëindig deze sessie";
|
||||
$a->strings["Home"] = "Home";
|
||||
$a->strings["Your posts and conversations"] = "Jouw berichten en conversaties";
|
||||
|
|
|
@ -534,11 +534,18 @@ aside li {
|
|||
|
||||
}
|
||||
|
||||
|
||||
.directory-details {
|
||||
font-size: 0.7em;
|
||||
}
|
||||
|
||||
#cboxContent {
|
||||
color: $dirpopup_txtcol;
|
||||
}
|
||||
|
||||
#cboxContent a {
|
||||
color: $dirpopup_linkcol;
|
||||
}
|
||||
|
||||
.app-name {
|
||||
width: 125px;
|
||||
overflow: none;
|
||||
|
@ -1802,6 +1809,10 @@ text-decoration: none;
|
|||
margin-right: 10px;
|
||||
}
|
||||
|
||||
#adminpage table tr:hover {
|
||||
background-color: $admintable_hoverbgcol;
|
||||
}
|
||||
|
||||
/* message */
|
||||
|
||||
img.mail-list-sender-photo {
|
||||
|
|
|
@ -269,8 +269,14 @@ if(! $a->install) {
|
|||
if (!$comment_border_top)
|
||||
$comment_border_top="0px solid";
|
||||
if (!$comment_border_bottom)
|
||||
$comment_border_bottom="0px solid";
|
||||
|
||||
$comment_border_bottom="0px solid";
|
||||
if (!$admintable_hoverbgcol)
|
||||
$admintable_hoverbgcol="#BBC7D7";
|
||||
if (!$dirpopup_txtcol)
|
||||
$dirpopup_txtcol="";
|
||||
if (!$dirpopup_linkcol)
|
||||
$dirpopup_linkcol="";
|
||||
|
||||
if($nav_min_opacity === false || $nav_min_opacity === '') {
|
||||
$nav_float_min_opacity = 1.0;
|
||||
$nav_percent_min_opacity = 100;
|
||||
|
@ -387,10 +393,13 @@ $options = array (
|
|||
'$comment_indent' => $comment_indent,
|
||||
'$body_width' => $body_width,
|
||||
'$comment_padding' => $comment_padding,
|
||||
'$comment_border_left' =>$comment_border_left,
|
||||
'$comment_border_right' =>$comment_border_right,
|
||||
'$comment_border_top' =>$comment_border_top,
|
||||
'$comment_border_bottom' =>$comment_border_bottom,
|
||||
'$comment_border_left' => $comment_border_left,
|
||||
'$comment_border_right' => $comment_border_right,
|
||||
'$comment_border_top' => $comment_border_top,
|
||||
'$comment_border_bottom' => $comment_border_bottom,
|
||||
'$admintable_hoverbgcol' => $admintable_hoverbgcol,
|
||||
'$dirpopup_txtcol' => $dirpopup_txtcol,
|
||||
'$dirpopup_linkcol' => $dirpopup_linkcol,
|
||||
);
|
||||
|
||||
echo str_replace(array_keys($options), array_values($options), $x);
|
||||
|
|
|
@ -164,3 +164,9 @@
|
|||
$cal_bgcolour = "#333";
|
||||
if(! $fancybox_bgcolour)
|
||||
$fancybox_bgcolour = "#1E1E1E";
|
||||
if (!$admintable_hoverbgcol)
|
||||
$admintable_hoverbgcol="#222";
|
||||
if (!$dirpopup_txtcol)
|
||||
$dirpopup_txtcol="#111";
|
||||
if (!$dirpopup_linkcol)
|
||||
$dirpopup_linkcol="#000";
|
||||
|
|
Loading…
Reference in a new issue