mirror of
https://github.com/friendica/friendica
synced 2024-12-08 14:06:26 +01:00
the rest of the english html templates except for htconfig
This commit is contained in:
parent
338ba48554
commit
e35a5bac55
61 changed files with 965 additions and 3828 deletions
|
@ -1,46 +1,54 @@
|
|||
<?php
|
||||
|
||||
function advanced_profile(&$a) {
|
||||
|
||||
$o .= '';
|
||||
|
||||
$o .= <<< EOT
|
||||
|
||||
<h2>Profil</h2>
|
||||
|
||||
|
||||
EOT;
|
||||
$o .= '<h2>' . t('Profile') . '</h2>';
|
||||
|
||||
if($a->profile['name']) {
|
||||
$lbl_fullname = t('Full Name:');
|
||||
$fullname = $a->profile['name'];
|
||||
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-name-wrapper" >
|
||||
<div id="advanced-profile-name-text">Nom complet:</div>
|
||||
<div id="advanced-profile-name">{$a->profile['name']}</div>
|
||||
<div id="advanced-profile-name-text">$lbl_fullname</div>
|
||||
<div id="advanced-profile-name">$fullname</div>
|
||||
</div>
|
||||
<div id="advanced-profile-name-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($a->profile['gender']) {
|
||||
$lbl_gender = t('Gender:');
|
||||
$gender = $a->profile['gender'];
|
||||
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-gender-wrapper" >
|
||||
<div id="advanced-profile-gender-text">Genre:</div>
|
||||
<div id="advanced-profile-gender">{$a->profile['gender']}</div>
|
||||
<div id="advanced-profile-gender-text">$lbl_gender</div>
|
||||
<div id="advanced-profile-gender">$gender</div>
|
||||
</div>
|
||||
<div id="advanced-profile-gender-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if(($a->profile['dob']) && ($a->profile['dob'] != '0000-00-00')) {
|
||||
$lbl_birthday = t('Birthday:');
|
||||
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-dob-wrapper" >
|
||||
<div id="advanced-profile-dob-text">Date de naissance/anniversaire:</div>
|
||||
<div id="advanced-profile-dob-text">$lbl_birthday</div>
|
||||
EOT;
|
||||
|
||||
// If no year, add an arbitrary one so just we can parse the month and day.
|
||||
|
||||
$year_bd_format = t('j F, Y');
|
||||
$short_bd_format = t('j F');
|
||||
|
||||
$o .= '<div id="advanced-profile-dob">'
|
||||
. ((intval($a->profile['dob']))
|
||||
? day_translate(datetime_convert('UTC','UTC',$a->profile['dob'],'j F Y'))
|
||||
: day_translate(datetime_convert('UTC','UTC','2001-' . substr($a->profile['dob'],6),'j F')))
|
||||
? day_translate(datetime_convert('UTC','UTC',$a->profile['dob'] . ' 00:00 +00:00',$year_bd_format))
|
||||
: day_translate(datetime_convert('UTC','UTC','2001-' . substr($a->profile['dob'],6) . ' 00:00 +00:00',$short_bd_format)))
|
||||
. "</div>\r\n</div>";
|
||||
|
||||
$o .= '<div id="advanced-profile-dob-end"></div>';
|
||||
|
@ -48,9 +56,10 @@ $o .= '<div id="advanced-profile-dob-end"></div>';
|
|||
}
|
||||
|
||||
if($age = age($a->profile['dob'],$a->profile['timezone'],'')) {
|
||||
$lbl_age = t('Age:');
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-age-wrapper" >
|
||||
<div id="advanced-profile-age-text">Age:</div>
|
||||
<div id="advanced-profile-age-text">$lbl_age</div>
|
||||
<div id="advanced-profile-age">$age</div>
|
||||
</div>
|
||||
<div id="advanced-profile-age-end"></div>
|
||||
|
@ -58,14 +67,19 @@ EOT;
|
|||
}
|
||||
|
||||
if($a->profile['marital']) {
|
||||
$lbl_marital = t('<span class="heart">♥</span> Status:');
|
||||
$marital = $a->profile['marital'];
|
||||
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-marital-wrapper" >
|
||||
<div id="advanced-profile-marital-text"><span class="heart">♥</span> Statut:</div>
|
||||
<div id="advanced-profile-marital">{$a->profile['marital']}</div>
|
||||
<div id="advanced-profile-marital-text">$lbl_marital</div>
|
||||
<div id="advanced-profile-marital">$marital</div>
|
||||
EOT;
|
||||
|
||||
if($a->profile['with'])
|
||||
$o .= "<div id=\"advanced-profile-with\">({$a->profile['with']})</div>";
|
||||
if($a->profile['with']) {
|
||||
$with = $a->profile['with'];
|
||||
$o .= "<div id=\"advanced-profile-with\">($with)</div>";
|
||||
}
|
||||
$o .= <<< EOT
|
||||
</div>
|
||||
<div id="advanced-profile-marital-end"></div>
|
||||
|
@ -73,20 +87,24 @@ EOT;
|
|||
}
|
||||
|
||||
if($a->profile['sexual']) {
|
||||
$lbl_sexual = t('Sexual Preference:');
|
||||
$sexual = $a->profile['sexual'];
|
||||
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-sexual-wrapper" >
|
||||
<div id="advanced-profile-sexual-text">Attirances sexuelles:</div>
|
||||
<div id="advanced-profile-sexual">{$a->profile['sexual']}</div>
|
||||
<div id="advanced-profile-sexual-text">$lbl_sexual</div>
|
||||
<div id="advanced-profile-sexual">$sexual</div>
|
||||
</div>
|
||||
<div id="advanced-profile-sexual-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($a->profile['homepage']) {
|
||||
$lbl_homepage = t('Homepage:');
|
||||
$homepage = linkify($a->profile['homepage']);
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-homepage-wrapper" >
|
||||
<div id="advanced-profile-homepage-text">Site web:</div>
|
||||
<div id="advanced-profile-homepage-text">$lbl_homepage</div>
|
||||
<div id="advanced-profile-homepage">$homepage</div>
|
||||
</div>
|
||||
<div id="advanced-profile-homepage-end"></div>
|
||||
|
@ -94,29 +112,33 @@ EOT;
|
|||
}
|
||||
|
||||
if($a->profile['politic']) {
|
||||
$lbl_politic = t('Policial Views:');
|
||||
$politic = $a->profile['politic'];
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-politic-wrapper" >
|
||||
<div id="advanced-profile-politic-text">Opinions politiques:</div>
|
||||
<div id="advanced-profile-politic">{$a->profile['politic']}</div>
|
||||
<div id="advanced-profile-politic-text">$lbl_politic</div>
|
||||
<div id="advanced-profile-politic">$politic</div>
|
||||
</div>
|
||||
<div id="advanced-profile-politic-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($a->profile['religion']) {
|
||||
$lbl_religion = t('Religion:');
|
||||
$religion = $a->profile['religion'];
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-religion-wrapper" >
|
||||
<div id="advanced-profile-religion-text">Religion:</div>
|
||||
<div id="advanced-profile-religion">{$a->profile['religion']}</div>
|
||||
<div id="advanced-profile-religion-text">$lbl_religion</div>
|
||||
<div id="advanced-profile-religion">$religion</div>
|
||||
</div>
|
||||
<div id="advanced-profile-religion-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['about'])) {
|
||||
$lbl_about = t('About:');
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-about-wrapper" >
|
||||
<div id="advanced-profile-about-text">À propos:</div>
|
||||
<div id="advanced-profile-about-text">$lbl_about</div>
|
||||
<br />
|
||||
<div id="advanced-profile-about">$txt</div>
|
||||
</div>
|
||||
|
@ -125,9 +147,10 @@ EOT;
|
|||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['interest'])) {
|
||||
$lbl_interests = t('Hobbies/Interests:');
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-interest-wrapper" >
|
||||
<div id="advanced-profile-interest-text">Marottes/Centres d'intérêt:</div>
|
||||
<div id="advanced-profile-interest-text">$lbl_interests</div>
|
||||
<br />
|
||||
<div id="advanced-profile-interest">$txt</div>
|
||||
</div>
|
||||
|
@ -136,9 +159,10 @@ EOT;
|
|||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['contact'])) {
|
||||
$lbl_contact = t('Contact information and Social Networks:');
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-contact-wrapper" >
|
||||
<div id="advanced-profile-contact-text">Coordonées et réseaux sociaux:</div>
|
||||
<div id="advanced-profile-contact-text">$lbl_contact</div>
|
||||
<br />
|
||||
<div id="advanced-profile-contact">$txt</div>
|
||||
</div>
|
||||
|
@ -147,9 +171,10 @@ EOT;
|
|||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['music'])) {
|
||||
$lbl_music = t('Musical interests:');
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-music-wrapper" >
|
||||
<div id="advanced-profile-music-text">Goûts musicaux:</div>
|
||||
<div id="advanced-profile-music-text">$lbl_music</div>
|
||||
<br />
|
||||
<div id="advanced-profile-music">$txt</div>
|
||||
</div>
|
||||
|
@ -158,9 +183,10 @@ EOT;
|
|||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['book'])) {
|
||||
$lbl_book = t('Books, literature:');
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-book-wrapper" >
|
||||
<div id="advanced-profile-book-text">Livres, littérature:</div>
|
||||
<div id="advanced-profile-book-text">$lbl_book</div>
|
||||
<br />
|
||||
<div id="advanced-profile-book">$txt</div>
|
||||
</div>
|
||||
|
@ -169,9 +195,10 @@ EOT;
|
|||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['tv'])) {
|
||||
$lbl_tv = t('Television:');
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-tv-wrapper" >
|
||||
<div id="advanced-profile-tv-text">Télévision:</div>
|
||||
<div id="advanced-profile-tv-text">$lbl_tv</div>
|
||||
<br />
|
||||
<div id="advanced-profile-tv">$txt</div>
|
||||
</div>
|
||||
|
@ -180,9 +207,10 @@ EOT;
|
|||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['film'])) {
|
||||
$lbl_film = t('Film/dance/culture/entertainment:');
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-film-wrapper" >
|
||||
<div id="advanced-profile-film-text">Cinéma/Danse/Culture/Divertissement:</div>
|
||||
<div id="advanced-profile-film-text">$lbl_film</div>
|
||||
<br />
|
||||
<div id="advanced-profile-film">$txt</div>
|
||||
</div>
|
||||
|
@ -191,9 +219,10 @@ EOT;
|
|||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['romance'])) {
|
||||
$lbl_romance = t('Love/Romance:');
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-romance-wrapper" >
|
||||
<div id="advanced-profile-romance-text">Amour/Passion:</div>
|
||||
<div id="advanced-profile-romance-text">$lbl_romance</div>
|
||||
<br />
|
||||
<div id="advanced-profile-romance">$txt</div>
|
||||
</div>
|
||||
|
@ -202,9 +231,10 @@ EOT;
|
|||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['work'])) {
|
||||
$lbl_work = t('Work/employment:');
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-work-wrapper" >
|
||||
<div id="advanced-profile-work-text">Travail/Activité professionnelle:</div>
|
||||
<div id="advanced-profile-work-text">$lbl_work</div>
|
||||
<br />
|
||||
<div id="advanced-profile-work">$txt</div>
|
||||
</div>
|
||||
|
@ -213,9 +243,10 @@ EOT;
|
|||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['education'])) {
|
||||
$lbl_education = t('School/education:');
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-education-wrapper" >
|
||||
<div id="advanced-profile-education-text">École/études:</div>
|
||||
<div id="advanced-profile-education-text">$lbl_education</div>
|
||||
<br />
|
||||
<div id="advanced-profile-education">$txt</div>
|
||||
</div>
|
||||
|
@ -223,4 +254,5 @@ $o .= <<< EOT
|
|||
EOT;
|
||||
}
|
||||
|
||||
|
||||
return $o;
|
||||
}
|
|
@ -261,6 +261,14 @@ function contacts_content(&$a) {
|
|||
|
||||
$o .= replace_macros($tpl,array(
|
||||
'$header' => t('Contact Editor'),
|
||||
'$submit' => t('Submit'),
|
||||
'$lbl_vis1' => t('Profile Visibility'),
|
||||
'$lbl_vis2' => sprintf( t('Please choose the profile you would like to display to %s when viewing your profile securely.'), $r[0]['name']),
|
||||
'$lbl_info1' => t('Contact Information / Notes'),
|
||||
'$lbl_rep1' => t('Online Reputation'),
|
||||
'$lbl_rep2' => t('Occasionally your friends may wish to inquire about this person\'s online legitimacy.'),
|
||||
'$lbl_rep3' => t('You may help them choose whether or not to interact with this person by providing a <em>reputation</em> to guide them.'),
|
||||
'$lbl_rep4' => t('Please take a moment to elaborate on this selection if you feel it could be helpful to others.'),
|
||||
'$visit' => t('Visit $name\'s profile'),
|
||||
'$blockunblock' => t('Block/Unblock contact'),
|
||||
'$ignorecont' => t('Ignore contact'),
|
||||
|
|
|
@ -118,6 +118,16 @@ function install_content(&$a) {
|
|||
|
||||
$tpl = load_view_file('view/install_db.tpl');
|
||||
$o .= replace_macros($tpl, array(
|
||||
'$lbl_01' => t('Friendika Social Network'),
|
||||
'$lbl_02' => t('Installation'),
|
||||
'$lbl_03' => t('In order to install Friendika we need to know how to contact your database.'),
|
||||
'$lbl_04' => t('Please contact your hosting provider or site administrator if you have questions about these settings.'),
|
||||
'$lbl_05' => t('The database you specify below must already exist. If it does not, please create it before continuing.'),
|
||||
'$lbl_06' => t('Database Server Name'),
|
||||
'$lbl_07' => t('Database Login Name'),
|
||||
'$lbl_08' => t('Database Login Password'),
|
||||
'$lbl_09' => t('Database Name'),
|
||||
'$lbl_10' => t('Please select a default timezone for your website'),
|
||||
'$baseurl' => $a->get_baseurl(),
|
||||
'$tzselect' => ((x($_POST,'timezone')) ? select_timezone($_POST['timezone']) : select_timezone()),
|
||||
'$submit' => t('Submit'),
|
||||
|
|
|
@ -71,8 +71,15 @@ function lostpass_content(&$a) {
|
|||
if($r) {
|
||||
$tpl = load_view_file('view/pwdreset.tpl');
|
||||
$o .= replace_macros($tpl,array(
|
||||
'$lbl1' => t('Password Reset'),
|
||||
'$lbl2' => t('Your password has been reset as requested.'),
|
||||
'$lbl3' => t('Your new password is'),
|
||||
'$lbl4' => t('Save or copy your new password - and then'),
|
||||
'$lbl5' => '<a href="' . $a->get_baseurl() . '">' . t('click here to login') . '</a>.',
|
||||
'$lbl6' => t('Your password may be changed from the <em>Settings</em> page after successful login.'),
|
||||
'$newpass' => $new_password,
|
||||
'$baseurl' => $a->get_baseurl()
|
||||
|
||||
));
|
||||
notice("Your password has been reset." . EOL);
|
||||
|
||||
|
|
|
@ -106,16 +106,9 @@ function profile_content(&$a, $update = 0) {
|
|||
|
||||
|
||||
if($tab === 'profile') {
|
||||
$profile_lang = get_config('system','language');
|
||||
if(! $profile_lang)
|
||||
$profile_lang = 'en';
|
||||
if(file_exists("view/$profile_lang/profile_advanced.php"))
|
||||
require_once("view/$profile_lang/profile_advanced.php");
|
||||
else
|
||||
require_once('view/profile_advanced.php');
|
||||
|
||||
require_once('include/profile_advanced.php');
|
||||
$o .= advanced_profile($a);
|
||||
call_hooks('profile_advanced',$o);
|
||||
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
|
|
@ -184,7 +184,11 @@ function profile_photo_content(&$a) {
|
|||
$tpl = load_view_file('view/profile_photo.tpl');
|
||||
|
||||
$o .= replace_macros($tpl,array(
|
||||
'$user' => $a->user['nickname']
|
||||
'$user' => $a->user['nickname'],
|
||||
'$lbl_upfile' => t('Upload File:'),
|
||||
'$title' => t('Upload Profile Photo'),
|
||||
'$submit' => t('Upload'),
|
||||
'$select' => sprintf('%s %s', t('or'), '<a href="'. $a->get_baseurl() . '/photos/' . $a->user['nickname'] . '">' . t('select a photo from your photo albums') . '</a>')
|
||||
));
|
||||
|
||||
return $o;
|
||||
|
|
|
@ -366,6 +366,44 @@ function profiles_content(&$a) {
|
|||
$is_default = (($r[0]['is-default']) ? 1 : 0);
|
||||
$tpl = load_view_file("view/profile_edit.tpl");
|
||||
$o .= replace_macros($tpl,array(
|
||||
'$banner' => t('Edit Profile Details'),
|
||||
'$submit' => t('Submit'),
|
||||
'$viewprof' => t('View this profile'),
|
||||
'$cr_prof' => t('Create a new profile using these settings'),
|
||||
'$cl_prof' => t('Clone this profile'),
|
||||
'$del_prof' => t('Delete this profile'),
|
||||
'$lbl_profname' => t('Profile Name:'),
|
||||
'$lbl_fullname' => t('Your Full Name:'),
|
||||
'$lbl_title' => t('Title/Description:'),
|
||||
'$lbl_gender' => t('Your Gender:'),
|
||||
'$lbl_bd' => t("Birthday \x28y/m/d\x29:"),
|
||||
'$lbl_address' => t('Street Address:'),
|
||||
'$lbl_city' => t('Locality/City:'),
|
||||
'$lbl_zip' => t('Postal/Zip Code:'),
|
||||
'$lbl_country' => t('Country:'),
|
||||
'$lbl_region' => t('Region/State:'),
|
||||
'$lbl_marital' => t('<span class="heart">♥</span> Marital Status:'),
|
||||
'$lbl_with' => t("Who: \x28if applicable\x29"),
|
||||
'$lbl_ex1' => t('Examples: cathy123, Cathy Williams, cathy@example.com'),
|
||||
'$lbl_sexual' => t('Sexual Preference:'),
|
||||
'$lbl_homepage' => t('Homepage URL:'),
|
||||
'$lbl_politic' => t('Political Views:'),
|
||||
'$lbl_religion' => t('Religious Views:'),
|
||||
'$lbl_pubkey' => t('Public Keywords:'),
|
||||
'$lbl_prvkey' => t('Private Keywords:'),
|
||||
'$lbl_ex2' => t('Example: fishing photography software'),
|
||||
'$lbl_pubdsc' => t("\x28Used for suggesting potential friends, can be seen by others\x29"),
|
||||
'$lbl_prvdsc' => t("\x28Used for searching profiles, never shown to others\x29"),
|
||||
'$lbl_about' => t('Tell us about yourself...'),
|
||||
'$lbl_hobbies' => t('Hobbies/Interests'),
|
||||
'$lbl_social' => t('Contact information and Social Networks'),
|
||||
'$lbl_music' => t('Musical interests'),
|
||||
'$lbl_book' => t('Books, literature'),
|
||||
'$lbl_tv' => t('Television'),
|
||||
'$lbl_film' => t('Film/dance/culture/entertainment'),
|
||||
'$lbl_love' => t('Love/romance'),
|
||||
'$lbl_work' => t('Work/employment'),
|
||||
'$lbl_school' => t('School/education'),
|
||||
'$disabled' => (($is_default) ? 'onclick="return false;" style="color: #BBBBFF;"' : ''),
|
||||
'$baseurl' => $a->get_baseurl(),
|
||||
'$profile_id' => $r[0]['id'],
|
||||
|
|
|
@ -315,18 +315,7 @@ function settings_content(&$a) {
|
|||
if($invisible)
|
||||
notice( t('Profile is <strong>not published</strong>.') . EOL );
|
||||
|
||||
$nickname_block = load_view_file("view/settings_nick_set.tpl");
|
||||
|
||||
$nickname_subdir = '';
|
||||
if(strlen($a->get_path())) {
|
||||
$subdir_tpl = load_view_file('view/settings_nick_subdir.tpl');
|
||||
$nickname_subdir = replace_macros($subdir_tpl, array(
|
||||
'$baseurl' => $a->get_baseurl(),
|
||||
'$nickname' => $nickname,
|
||||
'$hostname' => $a->get_hostname()
|
||||
));
|
||||
}
|
||||
|
||||
$theme_selector = '<select name="theme" id="theme-select" >';
|
||||
$files = glob('view/theme/*');
|
||||
|
||||
|
@ -344,13 +333,16 @@ function settings_content(&$a) {
|
|||
}
|
||||
$theme_selector .= '</select>';
|
||||
|
||||
$subdir = ((strlen($a->get_path())) ? '<br />' . t('or') . ' ' . $a->get_baseurl() . '/profile/' . $nickname : '');
|
||||
|
||||
$nickname_block = replace_macros($nickname_block,array(
|
||||
$tpl_addr = load_view_file("view/settings_nick_set.tpl");
|
||||
|
||||
$prof_addr = replace_macros($tpl_addr,array(
|
||||
'$desc' => t('Your profile address is'),
|
||||
'$nickname' => $nickname,
|
||||
'$uid' => local_user(),
|
||||
'$subdir' => $nickname_subdir,
|
||||
'$basepath' => $a->get_hostname(),
|
||||
'$baseurl' => $a->get_baseurl()));
|
||||
'$subdir' => $subdir,
|
||||
'$basepath' => $a->get_hostname()
|
||||
));
|
||||
|
||||
$stpl = load_view_file('view/settings.tpl');
|
||||
|
||||
|
@ -360,6 +352,34 @@ function settings_content(&$a) {
|
|||
|
||||
|
||||
$o .= replace_macros($stpl,array(
|
||||
'$ptitle' => t('Account Settings'),
|
||||
'$lbl_plug' => t('Plugin Settings'),
|
||||
'$lbl_basic' => t('Basic Settings'),
|
||||
'$lbl_fn' => t('Full Name:'),
|
||||
'$lbl_email' => t('Email Address:'),
|
||||
'$lbl_tz' => t('Your Timezone:'),
|
||||
'$lbl_loc1' => t('Default Post Location:'),
|
||||
'$lbl_loc2' => t('Use Browser Location:'),
|
||||
'$lbl_theme' => t('Display Theme:'),
|
||||
'$submit' => t('Submit'),
|
||||
'$lbl_prv' => t('Security and Privacy Settings'),
|
||||
'$lbl_maxreq' => t('Maximum Friend Requests/Day:'),
|
||||
'$lbl_maxrdesc' => t("\x28to prevent spam abuse\x29"),
|
||||
'$lbl_rempost' => t('Allow friends to post to your profile page:'),
|
||||
'$lbl_exp1' => t("Automatically expire \x28delete\x29 posts older than"),
|
||||
'$lbl_exp2' => t('days'),
|
||||
'$lbl_not1' => t('Notification Settings'),
|
||||
'$lbl_not2' => t('Send a notification email when:'),
|
||||
'$lbl_not3' => t('You receive an introduction'),
|
||||
'$lbl_not4' => t('Your introductions are confirmed'),
|
||||
'$lbl_not5' => t('Someone writes on your profile wall'),
|
||||
'$lbl_not6' => t('Someone writes a followup comment'),
|
||||
'$lbl_not7' => t('You receive a private message'),
|
||||
'$lbl_pass1' => t('Password Settings'),
|
||||
'$lbl_pass2' => t('Leave password fields blank unless changing'),
|
||||
'$lbl_pass3' => t('New Password:'),
|
||||
'$lbl_pass4' => t('Confirm:'),
|
||||
'$lbl_advn' => t('Advanced Page Settings'),
|
||||
'$baseurl' => $a->get_baseurl(),
|
||||
'$oidhtml' => $oidhtml,
|
||||
'$uexport' => $uexport,
|
||||
|
@ -367,7 +387,7 @@ function settings_content(&$a) {
|
|||
'$username' => $username,
|
||||
'$openid' => $openid,
|
||||
'$email' => $email,
|
||||
'$nickname_block' => $nickname_block,
|
||||
'$nickname_block' => $prof_addr,
|
||||
'$timezone' => $timezone,
|
||||
'$zoneselect' => select_timezone($timezone),
|
||||
'$defloc' => $defloc,
|
||||
|
|
688
util/messages.po
688
util/messages.po
File diff suppressed because it is too large
Load diff
109
util/strings.php
109
util/strings.php
|
@ -117,6 +117,14 @@ $a->strings['Never'] = 'Never';
|
|||
$a->strings["\x28Update was successful\x29"] = "\x28Update was successful\x29";
|
||||
$a->strings["\x28Update was not successful\x29"] = "\x28Update was not successful\x29";
|
||||
$a->strings['Contact Editor'] = 'Contact Editor';
|
||||
$a->strings['Submit'] = 'Submit';
|
||||
$a->strings['Profile Visibility'] = 'Profile Visibility';
|
||||
$a->strings['Please choose the profile you would like to display to %s when viewing your profile securely.'] = 'Please choose the profile you would like to display to %s when viewing your profile securely.';
|
||||
$a->strings['Contact Information / Notes'] = 'Contact Information / Notes';
|
||||
$a->strings['Online Reputation'] = 'Online Reputation';
|
||||
$a->strings['Occasionally your friends may wish to inquire about this person\'s online legitimacy.'] = 'Occasionally your friends may wish to inquire about this person\'s online legitimacy.';
|
||||
$a->strings['You may help them choose whether or not to interact with this person by providing a <em>reputation</em> to guide them.'] = 'You may help them choose whether or not to interact with this person by providing a <em>reputation</em> to guide them.';
|
||||
$a->strings['Please take a moment to elaborate on this selection if you feel it could be helpful to others.'] = 'Please take a moment to elaborate on this selection if you feel it could be helpful to others.';
|
||||
$a->strings['Visit $name\'s profile'] = 'Visit $name\'s profile';
|
||||
$a->strings['Block/Unblock contact'] = 'Block/Unblock contact';
|
||||
$a->strings['Ignore contact'] = 'Ignore contact';
|
||||
|
@ -193,7 +201,6 @@ $a->strings["I don't like this \x28toggle\x29"] = "I don't like this \x28toggle\
|
|||
$a->strings['Share'] = 'Share';
|
||||
$a->strings['Please wait'] = 'Please wait';
|
||||
$a->strings['This is you'] = 'This is you';
|
||||
$a->strings['Submit'] = 'Submit';
|
||||
$a->strings['Edit'] = 'Edit';
|
||||
$a->strings['Delete'] = 'Delete';
|
||||
$a->strings['View $name\'s profile'] = 'View $name\'s profile';
|
||||
|
@ -249,6 +256,16 @@ $a->strings['Proceed to registration'] = 'Proceed to registration';
|
|||
$a->strings['Database import failed.'] = 'Database import failed.';
|
||||
$a->strings['You may need to import the file "database.sql" manually using phpmyadmin or mysql.'] = 'You may need to import the file "database.sql" manually using phpmyadmin or mysql.';
|
||||
$a->strings['Welcome to Friendika.'] = 'Welcome to Friendika.';
|
||||
$a->strings['Friendika Social Network'] = 'Friendika Social Network';
|
||||
$a->strings['Installation'] = 'Installation';
|
||||
$a->strings['In order to install Friendika we need to know how to contact your database.'] = 'In order to install Friendika we need to know how to contact your database.';
|
||||
$a->strings['Please contact your hosting provider or site administrator if you have questions about these settings.'] = 'Please contact your hosting provider or site administrator if you have questions about these settings.';
|
||||
$a->strings['The database you specify below must already exist. If it does not, please create it before continuing.'] = 'The database you specify below must already exist. If it does not, please create it before continuing.';
|
||||
$a->strings['Database Server Name'] = 'Database Server Name';
|
||||
$a->strings['Database Login Name'] = 'Database Login Name';
|
||||
$a->strings['Database Login Password'] = 'Database Login Password';
|
||||
$a->strings['Database Name'] = 'Database Name';
|
||||
$a->strings['Please select a default timezone for your website'] = 'Please select a default timezone for your website';
|
||||
$a->strings['Could not find a command line version of PHP in the web server PATH.'] = 'Could not find a command line version of PHP in the web server PATH.';
|
||||
$a->strings['This is required. Please adjust the configuration file .htconfig.php accordingly.'] = 'This is required. Please adjust the configuration file .htconfig.php accordingly.';
|
||||
$a->strings['The command line version of PHP on your system does not have "register_argc_argv" enabled.'] = 'The command line version of PHP on your system does not have "register_argc_argv" enabled.';
|
||||
|
@ -296,6 +313,11 @@ $a->strings['Visible to:'] = 'Visible to:';
|
|||
$a->strings['Password reset request issued. Check your email.'] = 'Password reset request issued. Check your email.';
|
||||
$a->strings['Password reset requested at %s'] = 'Password reset requested at %s';
|
||||
$a->strings["Request could not be verified. \x28You may have previously submitted it.\x29 Password reset failed."] = "Request could not be verified. \x28You may have previously submitted it.\x29 Password reset failed.";
|
||||
$a->strings['Your password has been reset as requested.'] = 'Your password has been reset as requested.';
|
||||
$a->strings['Your new password is'] = 'Your new password is';
|
||||
$a->strings['Save or copy your new password - and then'] = 'Save or copy your new password - and then';
|
||||
$a->strings['click here to login'] = 'click here to login';
|
||||
$a->strings['Your password may be changed from the <em>Settings</em> page after successful login.'] = 'Your password may be changed from the <em>Settings</em> page after successful login.';
|
||||
$a->strings['Forgot your Password?'] = 'Forgot your Password?';
|
||||
$a->strings['Enter your email address and submit to have your password reset. Then check your email for further instructions.'] = 'Enter your email address and submit to have your password reset. Then check your email for further instructions.';
|
||||
$a->strings['Nickname or Email: '] = 'Nickname or Email: ';
|
||||
|
@ -408,6 +430,11 @@ $a->strings['Profile'] = 'Profile';
|
|||
$a->strings['Photos'] = 'Photos';
|
||||
$a->strings['Image uploaded but image cropping failed.'] = 'Image uploaded but image cropping failed.';
|
||||
$a->strings['Unable to process image'] = 'Unable to process image';
|
||||
$a->strings['Upload File:'] = 'Upload File:';
|
||||
$a->strings['Upload Profile Photo'] = 'Upload Profile Photo';
|
||||
$a->strings['Upload'] = 'Upload';
|
||||
$a->strings['or'] = 'or';
|
||||
$a->strings['select a photo from your photo albums'] = 'select a photo from your photo albums';
|
||||
$a->strings['Crop Image'] = 'Crop Image';
|
||||
$a->strings['Please adjust the image cropping for optimum viewing.'] = 'Please adjust the image cropping for optimum viewing.';
|
||||
$a->strings['Done Editing'] = 'Done Editing';
|
||||
|
@ -419,6 +446,43 @@ $a->strings['Profile-'] = 'Profile-';
|
|||
$a->strings['New profile created.'] = 'New profile created.';
|
||||
$a->strings['Profile unavailable to clone.'] = 'Profile unavailable to clone.';
|
||||
$a->strings['Hide my contact/friend list from viewers of this profile?'] = 'Hide my contact/friend list from viewers of this profile?';
|
||||
$a->strings['Edit Profile Details'] = 'Edit Profile Details';
|
||||
$a->strings['View this profile'] = 'View this profile';
|
||||
$a->strings['Create a new profile using these settings'] = 'Create a new profile using these settings';
|
||||
$a->strings['Clone this profile'] = 'Clone this profile';
|
||||
$a->strings['Delete this profile'] = 'Delete this profile';
|
||||
$a->strings['Profile Name:'] = 'Profile Name:';
|
||||
$a->strings['Your Full Name:'] = 'Your Full Name:';
|
||||
$a->strings['Title/Description:'] = 'Title/Description:';
|
||||
$a->strings['Your Gender:'] = 'Your Gender:';
|
||||
$a->strings["Birthday \x28y/m/d\x29:"] = "Birthday \x28y/m/d\x29:";
|
||||
$a->strings['Street Address:'] = 'Street Address:';
|
||||
$a->strings['Locality/City:'] = 'Locality/City:';
|
||||
$a->strings['Postal/Zip Code:'] = 'Postal/Zip Code:';
|
||||
$a->strings['Country:'] = 'Country:';
|
||||
$a->strings['Region/State:'] = 'Region/State:';
|
||||
$a->strings['<span class="heart">♥</span> Marital Status:'] = '<span class="heart">♥</span> Marital Status:';
|
||||
$a->strings["Who: \x28if applicable\x29"] = "Who: \x28if applicable\x29";
|
||||
$a->strings['Examples: cathy123, Cathy Williams, cathy@example.com'] = 'Examples: cathy123, Cathy Williams, cathy@example.com';
|
||||
$a->strings['Sexual Preference:'] = 'Sexual Preference:';
|
||||
$a->strings['Homepage URL:'] = 'Homepage URL:';
|
||||
$a->strings['Political Views:'] = 'Political Views:';
|
||||
$a->strings['Religious Views:'] = 'Religious Views:';
|
||||
$a->strings['Public Keywords:'] = 'Public Keywords:';
|
||||
$a->strings['Private Keywords:'] = 'Private Keywords:';
|
||||
$a->strings['Example: fishing photography software'] = 'Example: fishing photography software';
|
||||
$a->strings["\x28Used for suggesting potential friends, can be seen by others\x29"] = "\x28Used for suggesting potential friends, can be seen by others\x29";
|
||||
$a->strings["\x28Used for searching profiles, never shown to others\x29"] = "\x28Used for searching profiles, never shown to others\x29";
|
||||
$a->strings['Tell us about yourself...'] = 'Tell us about yourself...';
|
||||
$a->strings['Hobbies/Interests'] = 'Hobbies/Interests';
|
||||
$a->strings['Contact information and Social Networks'] = 'Contact information and Social Networks';
|
||||
$a->strings['Musical interests'] = 'Musical interests';
|
||||
$a->strings['Books, literature'] = 'Books, literature';
|
||||
$a->strings['Television'] = 'Television';
|
||||
$a->strings['Film/dance/culture/entertainment'] = 'Film/dance/culture/entertainment';
|
||||
$a->strings['Love/romance'] = 'Love/romance';
|
||||
$a->strings['Work/employment'] = 'Work/employment';
|
||||
$a->strings['School/education'] = 'School/education';
|
||||
$a->strings['This is your <strong>public</strong> profile.<br />It <strong>may</strong> be visible to anybody using the internet.'] = 'This is your <strong>public</strong> profile.<br />It <strong>may</strong> be visible to anybody using the internet.';
|
||||
$a->strings['Profiles'] = 'Profiles';
|
||||
$a->strings['Change profile photo'] = 'Change profile photo';
|
||||
|
@ -482,7 +546,33 @@ $a->strings[" \x28Optional\x29 Allow this OpenID to login to this account."
|
|||
$a->strings['Publish your default profile in site directory?'] = 'Publish your default profile in site directory?';
|
||||
$a->strings['Publish your default profile in global social directory?'] = 'Publish your default profile in global social directory?';
|
||||
$a->strings['Profile is <strong>not published</strong>.'] = 'Profile is <strong>not published</strong>.';
|
||||
$a->strings['Your profile address is'] = 'Your profile address is';
|
||||
$a->strings['Export Personal Data'] = 'Export Personal Data';
|
||||
$a->strings['Basic Settings'] = 'Basic Settings';
|
||||
$a->strings['Full Name:'] = 'Full Name:';
|
||||
$a->strings['Email Address:'] = 'Email Address:';
|
||||
$a->strings['Your Timezone:'] = 'Your Timezone:';
|
||||
$a->strings['Default Post Location:'] = 'Default Post Location:';
|
||||
$a->strings['Use Browser Location:'] = 'Use Browser Location:';
|
||||
$a->strings['Display Theme:'] = 'Display Theme:';
|
||||
$a->strings['Security and Privacy Settings'] = 'Security and Privacy Settings';
|
||||
$a->strings['Maximum Friend Requests/Day:'] = 'Maximum Friend Requests/Day:';
|
||||
$a->strings["\x28to prevent spam abuse\x29"] = "\x28to prevent spam abuse\x29";
|
||||
$a->strings['Allow friends to post to your profile page:'] = 'Allow friends to post to your profile page:';
|
||||
$a->strings["Automatically expire \x28delete\x29 posts older than"] = "Automatically expire \x28delete\x29 posts older than";
|
||||
$a->strings['days'] = 'days';
|
||||
$a->strings['Notification Settings'] = 'Notification Settings';
|
||||
$a->strings['Send a notification email when:'] = 'Send a notification email when:';
|
||||
$a->strings['You receive an introduction'] = 'You receive an introduction';
|
||||
$a->strings['Your introductions are confirmed'] = 'Your introductions are confirmed';
|
||||
$a->strings['Someone writes on your profile wall'] = 'Someone writes on your profile wall';
|
||||
$a->strings['Someone writes a followup comment'] = 'Someone writes a followup comment';
|
||||
$a->strings['You receive a private message'] = 'You receive a private message';
|
||||
$a->strings['Password Settings'] = 'Password Settings';
|
||||
$a->strings['Leave password fields blank unless changing'] = 'Leave password fields blank unless changing';
|
||||
$a->strings['New Password:'] = 'New Password:';
|
||||
$a->strings['Confirm:'] = 'Confirm:';
|
||||
$a->strings['Advanced Page Settings'] = 'Advanced Page Settings';
|
||||
$a->strings['Default Post Permissions'] = 'Default Post Permissions';
|
||||
$a->strings['Tag removed'] = 'Tag removed';
|
||||
$a->strings['Remove Item Tag'] = 'Remove Item Tag';
|
||||
|
@ -514,7 +604,6 @@ $a->strings['months'] = 'months';
|
|||
$a->strings['week'] = 'week';
|
||||
$a->strings['weeks'] = 'weeks';
|
||||
$a->strings['day'] = 'day';
|
||||
$a->strings['days'] = 'days';
|
||||
$a->strings['hour'] = 'hour';
|
||||
$a->strings['hours'] = 'hours';
|
||||
$a->strings['minute'] = 'minute';
|
||||
|
@ -534,6 +623,22 @@ $a->strings['Notifications'] = 'Notifications';
|
|||
$a->strings['Manage'] = 'Manage';
|
||||
$a->strings['Settings'] = 'Settings';
|
||||
$a->strings['Embedding disabled'] = 'Embedding disabled';
|
||||
$a->strings['j F, Y'] = 'j F, Y';
|
||||
$a->strings['j F'] = 'j F';
|
||||
$a->strings['Age:'] = 'Age:';
|
||||
$a->strings['<span class="heart">♥</span> Status:'] = '<span class="heart">♥</span> Status:';
|
||||
$a->strings['Policial Views:'] = 'Policial Views:';
|
||||
$a->strings['Religion:'] = 'Religion:';
|
||||
$a->strings['About:'] = 'About:';
|
||||
$a->strings['Hobbies/Interests:'] = 'Hobbies/Interests:';
|
||||
$a->strings['Contact information and Social Networks:'] = 'Contact information and Social Networks:';
|
||||
$a->strings['Musical interests:'] = 'Musical interests:';
|
||||
$a->strings['Books, literature:'] = 'Books, literature:';
|
||||
$a->strings['Television:'] = 'Television:';
|
||||
$a->strings['Film/dance/culture/entertainment:'] = 'Film/dance/culture/entertainment:';
|
||||
$a->strings['Love/Romance:'] = 'Love/Romance:';
|
||||
$a->strings['Work/employment:'] = 'Work/employment:';
|
||||
$a->strings['School/education:'] = 'School/education:';
|
||||
$a->strings['Male'] = 'Male';
|
||||
$a->strings['Female'] = 'Female';
|
||||
$a->strings['Currently Male'] = 'Currently Male';
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
|
||||
<div id="contact-edit-poll-wrapper">
|
||||
<div id="contact-edit-last-update-text">$lastupdtext<span id="contact-edit-last-updated">$last_update</span</div>
|
||||
<div id="contact-edit-last-update-text">$lastupdtext<span id="contact-edit-last-updated">$last_update</span></div>
|
||||
<div id="contact-edit-poll-text">$updpub</div>
|
||||
$poll_interval
|
||||
<div id="contact-edit-update-now"><a href="contacts/$contact_id/update">$udnow</a></div>
|
||||
|
@ -41,41 +41,41 @@ $blocked
|
|||
$ignored
|
||||
|
||||
<div id="contact-edit-info-wrapper">
|
||||
<h4>Contact Information / Notes</h4>
|
||||
<h4>$lbl_info1</h4>
|
||||
<textarea id="contact-edit-info" rows="10" cols="72" name="info" >$info</textarea>
|
||||
</div>
|
||||
<div id="contact-edit-info-end"></div>
|
||||
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="Submit" />
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="$submit" />
|
||||
|
||||
<div id="contact-edit-profile-select-text">
|
||||
<h4>Profile Visibility</h4>
|
||||
<p>Please choose the profile you would like to display to $name when viewing your profile securely.
|
||||
<h4>$lbl_vis1</h4>
|
||||
<p>$lbl_vis2
|
||||
</p>
|
||||
</div>
|
||||
$profile_select
|
||||
<div id="contact-edit-profile-select-end"></div>
|
||||
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="Submit" />
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="$submit" />
|
||||
|
||||
|
||||
<div id="contact-edit-rating-wrapper">
|
||||
<h4>Online Reputation</h4>
|
||||
<h4>$lbl_rep1</h4>
|
||||
<p>
|
||||
Occasionally your friends may wish to inquire about this person's online legitimacy. You may help them choose whether or not to interact with this person by providing a 'reputation' to guide them.
|
||||
$lbl_rep2 $lbl_rep3
|
||||
</p>
|
||||
<div id="contact-edit-rating-select-wrapper">
|
||||
$rating
|
||||
</div>
|
||||
<div id="contact-edit-rating-explain">
|
||||
<p>
|
||||
Please take a moment to elaborate on this selection if you feel it could be helpful to others.
|
||||
$lbl_rep4
|
||||
</p>
|
||||
<textarea id="contact-edit-rating-text" name="reason" rows="3" cols="64" >$reason</textarea>
|
||||
</div>
|
||||
</div>
|
||||
$groups
|
||||
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="Submit" />
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="$submit" />
|
||||
</form>
|
||||
</div>
|
|
@ -1,86 +0,0 @@
|
|||
|
||||
<h2>$header</h2>
|
||||
|
||||
<div id="contact-edit-banner-name">$name</div>
|
||||
|
||||
<form action="contacts/$contact_id" method="post" >
|
||||
<input type="hidden" name="contact_id" value="$contact_id">
|
||||
|
||||
<div id="contact-edit-wrapper" >
|
||||
|
||||
<div id="contact-edit-photo-wrapper" >
|
||||
<img id="contact-edit-direction-icon" src="$dir_icon" alt="$alt_text" title="$alt_text" />
|
||||
<div id="contact-edit-photo" >
|
||||
<a href="$url" title="$visit" /><img src="$photo" $sparkle alt="$name" /></a>
|
||||
</div>
|
||||
<div id="contact-edit-photo-end" ></div>
|
||||
</div>
|
||||
<div id="contact-edit-nav-wrapper" >
|
||||
|
||||
<div id="contact-edit-links" >
|
||||
<a href="contacts/$contact_id/block" id="contact-edit-block-link" ><img src="images/b_block.gif" alt="$blockunblock" title="$block_text"/></a>
|
||||
<a href="contacts/$contact_id/ignore" id="contact-edit-ignore-link" ><img src="images/no.gif" alt="$ignorecont" title="$ignore_text"/></a>
|
||||
</div>
|
||||
<div id="contact-drop-links" >
|
||||
<a href="contacts/$contact_id/drop" id="contact-edit-drop-link" onclick="return confirmDelete();" ><img src="images/b_drophide.gif" alt="$delete" title="$delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" /></a>
|
||||
</div>
|
||||
<div id="contact-edit-nav-end"></div>
|
||||
|
||||
|
||||
<div id="contact-edit-poll-wrapper">
|
||||
<div id="contact-edit-last-update-text">$lastupdtext<span id="contact-edit-last-updated">$last_update</span</div>
|
||||
<div id="contact-edit-poll-text">$updpub</div>
|
||||
$poll_interval
|
||||
<div id="contact-edit-update-now"><a href="contacts/$contact_id/update">$udnow</a></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="contact-edit-end" ></div>
|
||||
|
||||
$insecure
|
||||
$blocked
|
||||
$ignored
|
||||
|
||||
|
||||
<div id="contact-edit-info-wrapper">
|
||||
<h4>Kontaktinformation / Notizen</h4>
|
||||
<textarea id="contact-edit-info" rows="10" cols="72" name="info" >$info</textarea>
|
||||
</div>
|
||||
<div id="contact-edit-info-end"></div>
|
||||
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="Submit" />
|
||||
|
||||
<div id="contact-edit-profile-select-text">
|
||||
<h4>Profil Sichtbarkeit</h4>
|
||||
<p>Bitte wähle das Profil, das du $name gezeigt werden soll, wenn er sich dein
|
||||
Profil in Friendika betrachtet.
|
||||
</p>
|
||||
</div>
|
||||
$profile_select
|
||||
<div id="contact-edit-profile-select-end"></div>
|
||||
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="Submit" />
|
||||
|
||||
|
||||
<div id="contact-edit-rating-wrapper">
|
||||
<h4>Online Reputation</h4>
|
||||
<p>
|
||||
Gelegentlich werden sich deine Freunde nach der online Legitimität dieser
|
||||
Person erkundigen. Du kannst ihnen helfen bei der Entscheidung ob sie mit
|
||||
dieser Person interagieren wollen indem du den "Ruf" der Person bewertest.
|
||||
</p>
|
||||
<div id="contact-edit-rating-select-wrapper">
|
||||
$rating
|
||||
</div>
|
||||
<div id="contact-edit-rating-explain">
|
||||
<p>
|
||||
Bitte nimm dir einen Moment um deine Auswahl zu kommentieren wenn du meinst das
|
||||
könnte anderen weiter helfen.
|
||||
</p>
|
||||
<textarea id="contact-edit-rating-text" name="reason" rows="3" cols="64" >$reason</textarea>
|
||||
</div>
|
||||
</div>
|
||||
$groups
|
||||
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="Submit" />
|
||||
</form>
|
||||
</div>
|
|
@ -1,40 +0,0 @@
|
|||
|
||||
<h3>Friendika Social Network</h3>
|
||||
<h3>Installation</h3>
|
||||
|
||||
<p>
|
||||
Um Friendika installieren zu können müssen wir wissen wie wir die Datenbank erreichen könne. Bitte kontaktire deinen Hosting Anbieter oder Seitenadministrator wenn du Fragen zu diesen Einstellungen hast. Die Datenbank die du weiter unten angibst muss bereits existieren. Sollte dies nicht der Fall sein erzeuge sie bitte bevor du mit der Installation fortfährst.
|
||||
</p>
|
||||
|
||||
<form id="install-form" action="$baseurl/install" method="post">
|
||||
|
||||
<input type="hidden" name="phpath" value="$phpath" />
|
||||
|
||||
<label for="install-dbhost" id="install-dbhost-label">Datenbank Servername</label>
|
||||
<input type="text" name="dbhost" id="install-dbhost" value="$dbhost" />
|
||||
<div id="install-dbhost-end"></div>
|
||||
|
||||
<label for="install-dbuser" id="install-dbuser-label">Datenbank Anmeldename</label>
|
||||
<input type="text" name="dbuser" id="install-dbuser" value="$dbuser" />
|
||||
<div id="install-dbuser-end"></div>
|
||||
|
||||
<label for="install-dbpass" id="install-dbpass-label">Datenbank Anmeldepassword</label>
|
||||
<input type="password" name="dbpass" id="install-dbpass" value="$dbpass" />
|
||||
<div id="install-dbpass-end"></div>
|
||||
|
||||
<label for="install-dbdata" id="install-dbdata-label">Datenbankname</label>
|
||||
<input type="text" name="dbdata" id="install-dbdata" value="$dbdata" />
|
||||
<div id="install-dbdata-end"></div>
|
||||
|
||||
<div id="install-tz-desc">
|
||||
Bitte wähle die Standard-Zeitzone deiner Webseite
|
||||
</div>
|
||||
|
||||
$tzselect
|
||||
|
||||
<div id="install-tz-end" ></div>
|
||||
<input id="install-submit" type="submit" name="submit" value="$submit" />
|
||||
|
||||
</form>
|
||||
<div id="install-end" ></div>
|
||||
|
|
@ -1,226 +0,0 @@
|
|||
<?php
|
||||
|
||||
$o .= '';
|
||||
|
||||
$o .= <<< EOT
|
||||
|
||||
<h2>Profile</h2>
|
||||
|
||||
|
||||
EOT;
|
||||
|
||||
if($a->profile['name']) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-name-wrapper" >
|
||||
<div id="advanced-profile-name-text">Full Name:</div>
|
||||
<div id="advanced-profile-name">{$a->profile['name']}</div>
|
||||
</div>
|
||||
<div id="advanced-profile-name-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($a->profile['gender']) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-gender-wrapper" >
|
||||
<div id="advanced-profile-gender-text">Gender:</div>
|
||||
<div id="advanced-profile-gender">{$a->profile['gender']}</div>
|
||||
</div>
|
||||
<div id="advanced-profile-gender-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if(($a->profile['dob']) && ($a->profile['dob'] != '0000-00-00')) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-dob-wrapper" >
|
||||
<div id="advanced-profile-dob-text">Birthday:</div>
|
||||
EOT;
|
||||
|
||||
// If no year, add an arbitrary one so just we can parse the month and day.
|
||||
|
||||
$o .= '<div id="advanced-profile-dob">'
|
||||
. ((intval($a->profile['dob']))
|
||||
? day_translate(datetime_convert('UTC','UTC',$a->profile['dob'] . ' 00:00 +00:00','j F, Y'))
|
||||
: day_translate(datetime_convert('UTC','UTC','2001-' . substr($a->profile['dob'],6) . ' 00:00 +00:00','j F')))
|
||||
. "</div>\r\n</div>";
|
||||
|
||||
$o .= '<div id="advanced-profile-dob-end"></div>';
|
||||
|
||||
}
|
||||
|
||||
if($age = age($a->profile['dob'],$a->profile['timezone'],'')) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-age-wrapper" >
|
||||
<div id="advanced-profile-age-text">Age:</div>
|
||||
<div id="advanced-profile-age">$age</div>
|
||||
</div>
|
||||
<div id="advanced-profile-age-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($a->profile['marital']) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-marital-wrapper" >
|
||||
<div id="advanced-profile-marital-text"><span class="heart">♥</span> Status:</div>
|
||||
<div id="advanced-profile-marital">{$a->profile['marital']}</div>
|
||||
EOT;
|
||||
|
||||
if($a->profile['with'])
|
||||
$o .= "<div id=\"advanced-profile-with\">({$a->profile['with']})</div>";
|
||||
$o .= <<< EOT
|
||||
</div>
|
||||
<div id="advanced-profile-marital-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($a->profile['sexual']) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-sexual-wrapper" >
|
||||
<div id="advanced-profile-sexual-text">Sexual Preference:</div>
|
||||
<div id="advanced-profile-sexual">{$a->profile['sexual']}</div>
|
||||
</div>
|
||||
<div id="advanced-profile-sexual-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($a->profile['homepage']) {
|
||||
$homepage = linkify($a->profile['homepage']);
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-homepage-wrapper" >
|
||||
<div id="advanced-profile-homepage-text">Homepage:</div>
|
||||
<div id="advanced-profile-homepage">$homepage</div>
|
||||
</div>
|
||||
<div id="advanced-profile-homepage-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($a->profile['politic']) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-politic-wrapper" >
|
||||
<div id="advanced-profile-politic-text">Political Views:</div>
|
||||
<div id="advanced-profile-politic">{$a->profile['politic']}</div>
|
||||
</div>
|
||||
<div id="advanced-profile-politic-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($a->profile['religion']) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-religion-wrapper" >
|
||||
<div id="advanced-profile-religion-text">Religion:</div>
|
||||
<div id="advanced-profile-religion">{$a->profile['religion']}</div>
|
||||
</div>
|
||||
<div id="advanced-profile-religion-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['about'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-about-wrapper" >
|
||||
<div id="advanced-profile-about-text">About:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-about">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-about-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['interest'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-interest-wrapper" >
|
||||
<div id="advanced-profile-interest-text">Hobbies/Interests:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-interest">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-interest-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['contact'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-contact-wrapper" >
|
||||
<div id="advanced-profile-contact-text">Contact information and Social Networks:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-contact">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-contact-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['music'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-music-wrapper" >
|
||||
<div id="advanced-profile-music-text">Musical interests:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-music">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-music-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['book'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-book-wrapper" >
|
||||
<div id="advanced-profile-book-text">Books, literature:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-book">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-book-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['tv'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-tv-wrapper" >
|
||||
<div id="advanced-profile-tv-text">Television:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-tv">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-tv-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['film'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-film-wrapper" >
|
||||
<div id="advanced-profile-film-text">Film/dance/culture/entertainment:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-film">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-film-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['romance'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-romance-wrapper" >
|
||||
<div id="advanced-profile-romance-text">Love/romance:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-romance">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-romance-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['work'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-work-wrapper" >
|
||||
<div id="advanced-profile-work-text">Work/employment:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-work">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-work-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = prepare_text($a->profile['education'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-education-wrapper" >
|
||||
<div id="advanced-profile-education-text">School/education:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-education">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-education-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
<h1>Profilbild Hochladen</h1>
|
||||
|
||||
<form enctype="multipart/form-data" action="profile_photo" method="post">
|
||||
|
||||
<div id="profile-photo-upload-wrapper">
|
||||
<label id="profile-photo-upload-label" for="profile-photo-upload">Datei hochladen: </label>
|
||||
<input name="userfile" type="file" id="profile-photo-upload" size="48" />
|
||||
</div>
|
||||
|
||||
<div id="profile-photo-submit-wrapper">
|
||||
<input type="submit" name="submit" id="profile-photo-submit" value="Upload">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<div id="profile-photo-link-select-wrapper">
|
||||
oder <a href='photos/$user'>wähle ein Bild aus einem Album</a>
|
||||
</div>
|
|
@ -1,16 +0,0 @@
|
|||
<h3>Zurücksetzen des Passworts</h3>
|
||||
|
||||
<p>
|
||||
Dein Passwort wurde wie gewünscht zurück gesetzt.
|
||||
</p>
|
||||
<p>
|
||||
Dein neues Passwort lautet:
|
||||
</p>
|
||||
<p>
|
||||
$newpass
|
||||
</p>
|
||||
<p>
|
||||
Sichere oder kopiere dein neues Passwort und melde dich <a href="$baseurl" >dann hier an</a>.
|
||||
</p>
|
||||
<p>
|
||||
Nachdem du dich angemeldet hast kannst du dein Passwort auf der "Einstellungen" Seite ändern.
|
|
@ -1,177 +0,0 @@
|
|||
<h1>Account Einstellungen</h1>
|
||||
|
||||
<div id="plugin-settings-link"><a href="settings/addon">Plugin Einstellungen</a></div>
|
||||
|
||||
$uexport
|
||||
|
||||
$nickname_block
|
||||
|
||||
|
||||
<form action="settings" id="settings-form" method="post" autocomplete="off" >
|
||||
|
||||
|
||||
<h3 class="settings-heading">Grundeinstellungen</h3>
|
||||
|
||||
<div id="settings-username-wrapper" >
|
||||
<label id="settings-username-label" for="settings-username" >Kompletter Name: </label>
|
||||
<input type="text" name="username" id="settings-username" value="$username" />
|
||||
</div>
|
||||
<div id="settings-username-end" ></div>
|
||||
|
||||
<div id="settings-email-wrapper" >
|
||||
<label id="settings-email-label" for="settings-email" >EMail Adresse: </label>
|
||||
<input type="text" name="email" id="settings-email" value="$email" />
|
||||
</div>
|
||||
<div id="settings-email-end" ></div>
|
||||
|
||||
|
||||
|
||||
<div id="settings-timezone-wrapper" >
|
||||
<label id="settings-timezone-label" for="timezone_select" >Deine Zeitzone: </label>
|
||||
$zoneselect
|
||||
</div>
|
||||
<div id="settings-timezone-end" ></div>
|
||||
|
||||
<div id="settings-defloc-wrapper" >
|
||||
<label id="settings-defloc-label" for="settings-defloc" >Standardwert Sendestandort: </label>
|
||||
<input type="text" name="defloc" id="settings-defloc" value="$defloc" />
|
||||
</div>
|
||||
<div id="settings-defloc-end" ></div>
|
||||
|
||||
<div id="settings-allowloc-wrapper" >
|
||||
<label id="settings-allowloc-label" for="settings-allowloc" >Browser Standort verwenden: </label>
|
||||
<input type="checkbox" name="allow_location" id="settings-allowloc" value="1" $loc_checked />
|
||||
</div>
|
||||
<div id="settings-allowloc-end" ></div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div id="settings-theme-select">
|
||||
<label id="settings-theme-label" for="theme-select" >Anzeige Thema: </label>
|
||||
$theme
|
||||
</div>
|
||||
<div id="settings-theme-end"></div>
|
||||
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="Submit" />
|
||||
</div>
|
||||
|
||||
|
||||
<h3 class="settings-heading">Sicherheits und Privatsphären Einstellungen</h3>
|
||||
|
||||
|
||||
<input type="hidden" name="visibility" value="$visibility" />
|
||||
|
||||
<div id="settings-maxreq-wrapper">
|
||||
<label id="settings-maxreq-label" for="settings-maxreq" >Maximale Anzahl an Freundschaftsanfragen pro Tagy</label>
|
||||
<input id="settings-maxreq" name="maxreq" value="$maxreq" />
|
||||
<div id="settings-maxreq-desc">(um SPAM zu verhindern)</div>
|
||||
</div>
|
||||
<div id="settings-maxreq-end"></div>
|
||||
|
||||
|
||||
|
||||
|
||||
$profile_in_dir
|
||||
|
||||
$profile_in_net_dir
|
||||
|
||||
|
||||
|
||||
<div id="settings-default-perms" class="settings-default-perms" >
|
||||
<div id="settings-default-perms-menu" class="fakelink" onClick="openClose('settings-default-perms-select');" >$permissions</div>
|
||||
<div id="settings-default-perms-menu-end"></div>
|
||||
|
||||
<div id="settings-default-perms-select" style="display: none;" >
|
||||
|
||||
$aclselect
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div id="settings-default-perms-end"></div>
|
||||
|
||||
<div id="settings-blockw-wrapper" >
|
||||
<label id="settings-blockw-label" for="settings-blockw" >Allow friends to post to your profile page: </label>
|
||||
<input type="checkbox" name="blockwall" id="settings-blockw" value="1" $blockw_checked />
|
||||
</div>
|
||||
<div id="settings-blockw-end" ></div>
|
||||
|
||||
|
||||
|
||||
<div id="settings-expire-desc">Automatically expire (delete) posts older than <input type="text" size="3" name="expire" value="$expire" /> days</div>
|
||||
<div id="settings-expire-end"></div>
|
||||
|
||||
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="Submit" />
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<h3 class="settings-heading">Benachrichtigungs Einstellungen</h3>
|
||||
|
||||
|
||||
<div id="settings-notify-wrapper">
|
||||
<div id="settings-notify-desc">Benachrichtigungsemail senden wenn: </div>
|
||||
<label for="notify1" id="settings-label-notify1">Du eine Vorstellung empfängst</label>
|
||||
<input id="notify1" type="checkbox" $sel_notify1 name="notify1" value="1" />
|
||||
<div id="notify1-end"></div>
|
||||
<label for="notify2" id="settings-label-notify2">Deine Vorstellung bestätigt wurde</label>
|
||||
<input id="notify2" type="checkbox" $sel_notify2 name="notify2" value="2" />
|
||||
<div id="notify2-end"></div>
|
||||
<label for="notify3" id="settings-label-notify3">Jemand etwas auf deiner Profilwand postet</label>
|
||||
<input id="notify3" type="checkbox" $sel_notify3 name="notify3" value="4" />
|
||||
<div id="notify3-end"></div>
|
||||
<label for="notify4" id="settings-label-notify4">Jemand einen Folgebeitrag schreibt</label>
|
||||
<input id="notify4" type="checkbox" $sel_notify4 name="notify4" value="8" />
|
||||
<div id="notify4-end"></div>
|
||||
<label for="notify5" id="settings-label-notify5">Du eine private Nachricht erhälst</label>
|
||||
<input id="notify5" type="checkbox" $sel_notify5 name="notify5" value="16" />
|
||||
<div id="notify5-end"></div>
|
||||
</div>
|
||||
<div id="settings=notify-end"></div>
|
||||
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="Submit" />
|
||||
</div>
|
||||
|
||||
|
||||
<h3 class="settings-heading">Passwort Einstellungen</h3>
|
||||
|
||||
|
||||
<div id="settings-password-wrapper" >
|
||||
<p id="settings-password-desc" >
|
||||
Lass die Passwortfelder frei außer du willst das Passwort ändern.
|
||||
</p>
|
||||
<label id="settings-password-label" for="settings-password" >Neues Passwort: </label>
|
||||
<input type="password" id="settings-password" name="npassword" />
|
||||
</div>
|
||||
<div id="settings-password-end" ></div>
|
||||
|
||||
<div id="settings-confirm-wrapper" >
|
||||
<label id="settings-confirm-label" for="settings-confirm" >Bestätigen: </label>
|
||||
<input type="password" id="settings-confirm" name="confirm" />
|
||||
</div>
|
||||
<div id="settings-confirm-end" ></div>
|
||||
|
||||
<div id="settings-openid-wrapper" >
|
||||
$oidhtml
|
||||
</div>
|
||||
<div id="settings-openid-end" ></div>
|
||||
|
||||
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="Submit" />
|
||||
</div>
|
||||
|
||||
|
||||
<h3 class="settings-heading">Erweiterte Seiteneinstellungen</h3>
|
||||
|
||||
$pagetype
|
||||
|
||||
<div class="settings-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="Submit" />
|
||||
</div>
|
||||
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
|
||||
<div id="settings-nick-wrapper" >
|
||||
<p id="settings-nickname-desc">
|
||||
<span class="error-message">Deine Profiladresse lautet <strong>'$nickname@$basepath'</strong></span>
|
||||
</p>
|
||||
$subdir
|
||||
|
||||
</div>
|
||||
<div id="settings-nick-end" ></div>
|