Merge branch 'erikl-master'

Conflicts:
	view/sv/insecure_net.tpl
	view/sv/jot-header.tpl
	view/sv/msg-header.tpl
	view/sv/profile_edit.tpl
	view/sv/profile_tabs.tpl
	view/sv/strings.php
This commit is contained in:
Friendika 2011-03-24 04:36:53 -07:00
commit 067626380d
40 changed files with 503 additions and 498 deletions

View file

@ -1,7 +1,7 @@
$username,
'$from' har kommenterat något som du följer.
'$from' har kommenterat något som du följer.
-----
$body
@ -11,8 +11,7 @@ Logga in på $siteurl för att se hela konversationen:
$display
Tack,
$sitename admin
Hälsningar,
$sitename admin

View file

@ -1,4 +1,3 @@
<h2>$header</h2>
<div id="contact-edit-banner-name">$name</div>
@ -28,7 +27,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>
@ -46,7 +45,7 @@ $ignored
</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="Spara" />
<div id="contact-edit-profile-select-text">
<h4>Profilvisning</h4>
@ -56,7 +55,7 @@ $ignored
$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="Spara" />
<div id="contact-edit-rating-wrapper">
@ -69,13 +68,13 @@ $rating
</div>
<div id="contact-edit-rating-explain">
<p>
Var v&auml;nlig spendera tid p&aring; att fylla i n&aring;got h&auml;r om du k&auml;nner att det kan vara till n&aring;gon hj&auml;lp f&ouml;r andra.
Var v&auml;nlig &auml;gna en liten stund &aring;t att fylla i n&aring;got som du k&auml;nner kan vara till hj&auml;lp f&ouml;r andra.
</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="Skicka" />
</form>
</div>
</div>

View file

@ -1,6 +1,6 @@
<h1>Crop Image</h1>
<h1>Besk&auml;r bilden</h1>
<p id="cropimage-desc">
Please adjust the image cropping for optimum viewing.
V&auml;lj hur du vill att bilden ska besk&auml;ras.
</p>
<div id="cropimage-wrapper">
<img src="$image_url" id="croppa" class="imgCrop" alt="" />
@ -51,7 +51,7 @@ Please adjust the image cropping for optimum viewing.
<input type="hidden" name="width" id="width" />
<div id="crop-image-submit-wrapper" >
<input type="submit" name="submit" value="Done Editing" />
<input type="submit" name="submit" value="Spara" />
</div>
</form>
</form>

View file

@ -1,8 +1,7 @@
<p id="dfrn-request-homecoming" >
Welcome home $username.
V&auml;lkommen hem, $username.
<br />
Please confirm your introduction to $dfrn_url.
H&auml;r kan du bekr&auml;fta kontaktf&ouml;rfr&aring;gan till $dfrn_url.
</p>
<form id="dfrn-request-homecoming-form" action="dfrn_request/$nickname" method="post">
@ -12,6 +11,6 @@ Please confirm your introduction to $dfrn_url.
$aes_allow
<div id="dfrn-request-homecoming-submit-wrapper" >
<input id="dfrn-request-homecoming-submit" type="submit" name="submit" value="Confirm" />
<input id="dfrn-request-homecoming-submit" type="submit" name="submit" value="Bekr&auml;fta" />
</div>
</form>

View file

@ -1,4 +1,4 @@
<h1>Site Directory</h1>
<h1>Medlemskatalog f&ouml;r denna webbplats (ej global)</h1>
$globaldir
@ -7,8 +7,7 @@ $finding
<div id="directory-search-wrapper">
<form id="directory-search-form" action="directory" method="get" >
<input type="text" name="search" id="directory-search" class="search-input" onfocus="this.select();" value="$search" />
<input type="submit" name="submit" id="directory-search-submit" value="Find" />
<input type="submit" name="submit" id="directory-search-submit" value="S&ouml;k" />
</form>
</div>
<div id="directory-search-end"></div>

View file

@ -1,14 +1,12 @@
$myname,
Dear $myname,
'$requestor' på $sitename vill följa dina uppdateringar här på Friendika.
You have a new follower at $sitename - '$requestor'.
Besök dennes profil på $url.
You may visit their profile at $url.
Please login to your site to approve or ignore/cancel the request.
Logga in för att godkänna eller avslå förfrågan.
$siteurl
Regards,
$sitename administrator
Hälsningar,
$sitename admin

View file

@ -1,22 +1,17 @@
$username,
Dear $username,
Goda nyheter... '$fn' på '$dfrn_url' har accepterat din kontaktförfrågan på '$sitename'.
Great news... '$fn' at '$dfrn_url' has accepted
your connection request at '$sitename'.
Ni är nu ömsesidiga vänner och kan se varandras statusuppdateringar samt skicka foton och meddelanden
utan begränsningar.
You are now mutual friends and may exchange status updates, photos, and email
without restriction.
Please visit your 'Contacts' page at $sitename if you wish to make
any changes to this relationship.
Gå in på din sida 'Kontakter' på $sitename om du vill göra några
ändringar när det gäller denna kontakt.
$siteurl
[For instance, you may create a separate profile with information that is not
available to the general public - and assign viewing rights to '$fn'].
[Du kan exempelvis skapa en separat profil med information som inte
är tillgänglig för vem som helst, och ge visningsrättigheter till '$fn'].
Sincerely,
$sitename Administrator
Hälsningar,
$sitename admin

View file

@ -1,22 +1,22 @@
<h2>Group Editor</h2>
<h2>Gruppredigering</h2>
<div id="group-edit-wrapper" >
<form action="group/$gid" id="group-edit-form" method="post" >
<div id="group-edit-name-wrapper" >
<label id="group-edit-name-label" for="group-edit-name" >Group Name: </label>
<label id="group-edit-name-label" for="group-edit-name" >Gruppnamn: </label>
<input type="text" id="group-edit-name" name="groupname" value="$name" />
</div>
<div id="group-edit-name-end"></div>
<div id="group-edit-select-wrapper" >
<label id="group_members_select_label" for="group_members_select" >Members:</label>
<label id="group_members_select_label" for="group_members_select" >Medlemmar:</label>
$selector
</div>
$drop
<div id="group_members_select_end"></div>
<div id="group-edit-submit-wrapper" >
<input type="submit" name="submit" value="Submit" >
<input type="submit" name="submit" value="Spara" >
</div>
<div id="group-edit-select-end" ></div>

View file

@ -1,23 +1,20 @@
<div id="group-new-wrapper" >
<form action="group/new" method="post">
<div id="group-new-text">
<p>
Create a group of contacts/friends.
Skapa en grupp med kontakter/v&auml;nner.
<div id="group-new-input-wrapper">
<label id="group-new-label" for="group-new-name" >Group Name: </label>
<label id="group-new-label" for="group-new-name" >Gruppnamn: </label>
<input name="groupname" id="group-new-name" />
</div>
<div id="group-new-input-end" ></div>
<div id="group-new-submit-wrapper" >
<input type="submit" name="submit" value="Submit" />
<input type="submit" name="submit" value="Spara" />
</form>
</div>
<div id="group-new-end"></div>

View file

@ -11,7 +11,7 @@
<script type="text/javascript" src="$baseurl/include/main.js" ></script>
<script>
function confirmDelete() { return confirm("Delete this item?"); }
function confirmDelete() { return confirm("Ta bort?"); }
function commentOpen(obj,id) {
if(obj.value == 'Comment') {
obj.value = '';
@ -28,5 +28,3 @@
}
</script>

View file

@ -1,33 +1,32 @@
<h3>Friendika Social Network</h3>
<h3>Det sociala n&auml;tverket Friendika</h3>
<h3>Installation</h3>
<p>
In order to install Friendika we need to know how to contact your database. Please contact your hosting provider or site administrator if you have questions about these settings. The database you specify below must already exist. If it does not, please create it before continuing.
F&ouml;r att kunna installera Friendika m&aring;ste du ange hur man ansluter till din databas. Kontakta ditt webbhotell eller webbplatsadministrat&ouml;r om du har fr&aring;gor om dessa inst&auml;llningar. Databasen du specar nedan m&aring;ste finnas. Skapa databasen innan du forts&auml;tter, om det inte redan &auml;r gjort.
</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">Database Server Name</label>
<label for="install-dbhost" id="install-dbhost-label">Servernamn d&auml;r databasen finns</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">Database Login Name</label>
<label for="install-dbuser" id="install-dbuser-label">Inloggningsnamn f&ouml;r databasen</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">Database Login Password</label>
<label for="install-dbpass" id="install-dbpass-label">L&ouml;senord f&ouml;r databasen</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">Database Name</label>
<label for="install-dbdata" id="install-dbdata-label">Databasens namn</label>
<input type="text" name="dbdata" id="install-dbdata" value="$dbdata" />
<div id="install-dbdata-end"></div>
<div id="install-tz-desc">
Please select a default timezone for your website
Ange vilken tidszon som ska vara f&ouml;rvald p&aring; din webbplats
</div>
$tzselect
@ -37,4 +36,3 @@ $tzselect
</form>
<div id="install-end" ></div>

View file

@ -1,22 +1,19 @@
$username,
Dear $username,
'$fn' på '$dfrn_url' har accepterat din kontaktförfrågan på '$sitename'.
'$fn' at '$dfrn_url' has accepted
your connection request at '$sitename'.
'$fn' har valt att acceptera dig som ett "fan" vilket innebär vissa begränsningar
i kommunikationen mellan er - som till exempel personliga meddelanden och viss interaktion
mellan profiler. Om detta är en kändis eller en gemenskap så har dessa inställningar gjorts
per automatik.
'$fn' has chosen to accept you a "fan", which restricts
some forms of communication - such as private messaging and some profile
interactions. If this is a celebrity or community page, these settings were
applied automatically.
'$fn' kan välja att utöka detta till vanlig tvåvägskommunikation eller någon annan mer
tillåtande kommunikationsform i framtiden.
'$fn' may choose to extend this into a two-way or more permissive
relationship in the future.
You will start receiving public status updates from '$fn',
which will appear on your 'Network' page at
Du kommer hädanefter att få statusuppdateringar från '$fn',
vilka kommer att synas på din Nätverk-sida på
$siteurl
Sincerely,
$sitename Administrator
Hälsningar,
$sitename admin

View file

@ -1,7 +1,6 @@
<h1>Pending Friend/Connect Notifications</h1>
<h1>V&auml;ntande f&ouml;rfr&aring;gningar om v&auml;nskap/kontakt</h1>
<div id="notification-show-hide-wrapper" >
<a href="$hide_url" id="notification-show-hide-link">$hide_text</a>
</div>

View file

@ -1,18 +1,17 @@
<h3>Forgot your Password?</h3>
<h3>Har du gl&ouml;mt l&ouml;senordet?</h3>
<p id="lostpass-desc">
Enter your email address and submit to have your password reset. Then check your email for further instructions.
Skriv in och skicka din e-postadress f&ouml;r att &aring;terst&auml;lla l&ouml;senordet. Kolla sedan din e-post f&ouml;r vidare instruktioner.
</p>
<form action="lostpass" method="post" >
<div id="login-name-wrapper">
<label for="login-name" id="label-login-name">Nickname or Email: </label>
<label for="login-name" id="label-login-name">Anv&auml;ndarnamn eller e-postadress: </label>
<input type="text" maxlength="60" name="login-name" id="login-name" value="" />
</div>
<div id="login-extra-end"></div>
<div id="login-submit-wrapper" >
<input type="submit" name="submit" id="lostpass-submit-button" value="Reset" />
<input type="submit" name="submit" id="lostpass-submit-button" value="Skicka" />
</div>
<div id="login-submit-end"></div>
</form>

View file

@ -1,32 +1,29 @@
$username,
Dear $username,
A request was recently received at $sitename to reset your account
password. In order to confirm this request, please select the verification link
below or paste it into your web browser address bar.
En begäran om återställning av lösenord på $sitename har mottagits.
Gå till adressen nedan för att bekräfta denna begäran. Du kan också
klistra in länken i adressfältet i din webbläsare.
If you did NOT request this change, please DO NOT follow the link
provided and ignore and/or delete this email.
Gå INTE till länken nedan om du INTE har begärt lösenordsåterställning.
Då kan du ignorera det här meddelandet.
Your password will not be changed unless we can verify that you
issued this request.
Ditt lösenord kommer inte att återställas om vi inte kan säkerställa att du
initierat detta.
Follow this link to verify your identity:
Med den här länken kan du bekräfta din identitet:
$reset_link
You will then receive a follow-up message containing the new password.
Sedan kommer du att få ett meddelande med ett nytt lösenord.
You may change that password from your account settings page after logging in.
Lösenordet kan sedan ändras i dina inställningar efter att du loggat in.
The login details are as follows:
Detaljerna ser ut så här:
Site Location: $siteurl
Login Name: $email
Webbplats: $siteurl
Inloggningsnamn: $email
Hälsningar,
$sitename admin
Sincerely,
$sitename Administrator

View file

@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
<html>
<head>
<title>Friendika Message</title>
<title>Meddelande p&aring; Friendika</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
</head>
<body>
@ -9,16 +9,16 @@
<tbody>
<tr><td colspan="2" style="background:#3b5998; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px;" src='$siteurl/images/friendika-32.png'><span style="padding:7px;">Friendika</span></td></tr>
<tr><td style="padding-top:22px;" colspan="2">$from sent you a new private message at $siteName.</td></tr>
<tr><td style="padding-top:22px;" colspan="2">$from har skickat ett personligt meddelande till dig p&aring; $siteName.</td></tr>
<tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="$url"><img style="border:0px;width:48px;height:48px;" src="$thumb"></a></td>
<td style="padding-top:22px;"><a href="$url">$from</a></td></tr>
<tr><td style="font-weight:bold;padding-bottom:5px;">$title</td></tr>
<tr><td style="padding-right:22px;">$htmlversion</td></tr>
<tr><td style="padding-top:11px;padding-bottom:11px;" colspan="2">Please login at <a href="$siteurl">$siteurl</a> to read and reply to your private messages.</td></tr>
<tr><td></td><td>Thank You,</td></tr>
<tr><td></td><td>$siteName Administrator</td></tr>
<tr><td style="padding-top:11px;padding-bottom:11px;" colspan="2">Logga in p&aring; <a href="$siteurl">$siteurl</a> f&ouml;r att l&auml;sa och svara p&aring; personliga meddelanden.</td></tr>
<tr><td></td><td>H&auml;lsningar,</td></tr>
<tr><td></td><td>$siteName admin</td></tr>
</tbody>
</table>
</body>

View file

@ -1,10 +1,10 @@
$from sent you a new private message at $siteName.
$from har skickat ett personligt meddelande till dig på $siteName.
$title
$textversion
Please login at $siteurl to read and reply to your private messages.
Logga in på $siteurl för att läsa och svara på personliga meddelanden.
Thank you,
$siteName administrator
Hälsningar,
$siteName admin

View file

@ -1,25 +1,25 @@
<div id="settings-normal-wrapper">
<label id="settings-normal-label" for="settings-normal">Normal Profile</label>
<label id="settings-normal-label" for="settings-normal">Normal profil</label>
<input type="radio" name="page-flags" id="settings-normal" $normal_selected value="$page_normal" />
<span id="settings-normal-desc">This account is a normal personal profile</span>
<span id="settings-normal-desc">Detta konto &auml;r en normal personlig profil</span>
</div>
<div id="settings-normal-break" ></div>
<div id="settings-soapbox-wrapper">
<label id="settings-soapbox-label" for="settings-soapbox">Soapbox Profile</label>
<input type="radio" name="page-flags" id="settings-soapbox" $soapbox_selected value="$page_soapbox" />
<span id="settings-soapbox-desc">Automatically approve all connection/friend requests as read-only fans</span>
<span id="settings-soapbox-desc">Godk&auml;nn automatiskt alla kontaktf&ouml;rfr&aring;gningar som fans med l&auml;sr&auml;ttigheter</span>
</div>
<div id="settings-soapbox-break" ></div>
<div id="settings-community-wrapper">
<label id="settings-community-label" for="settings-community">Community/Celebrity Profile</label>
<label id="settings-community-label" for="settings-community">Gemenskap/K&auml;ndisprofil</label>
<input type="radio" name="page-flags" id="settings-community" $community_selected value="$page_community" />
<span id="settings-community-desc">Automatically approve all connection/friend requests as read-write fans</span>
<span id="settings-community-desc">Godk&auml;nn automatiskt alla kontaktf&ouml;rfr&aring;gningar som fans med l&auml;s- och skrivr&auml;ttigheter</span>
</div>
<div id="settings-community-break" ></div>
<div id="settings-freelove-wrapper">
<label id="settings-freelove-label" for="settings-freelove">Automatic Friend Profile</label>
<label id="settings-freelove-label" for="settings-freelove">Automatisk v&auml;nnerprofil</label>
<input type="radio" name="page-flags" id="settings-freelove" $freelove_selected value="$page_freelove" />
<span id="settings-freelove-desc">Automatically approve all connection/friend requests as friends</span>
<span id="settings-freelove-desc">Godk&auml;nn automatiskt alla kontaktf&ouml;rfr&aring;gningar som v&auml;nner</span>
</div>
<div id="settings-freelove-break" ></div>
<div id="settings-freelove-break" ></div>

View file

@ -1,20 +1,18 @@
Dear $username,
Your password has been changed as requested. Please retain this
information for your records (or change your password immediately to
something that you will remember).
$username,
Lösenordet har ändrats enligt din begäran. Behåll den här
informationen om den skulle behövas i framtiden. (eller ändra lösenord
på en gång till något som du kommer ihåg).
Your login details are as follows:
Här är dina inloggningsuppgifter:
Site Location: $siteurl
Login Name: $email
Password: $new_password
Webbplats: $siteurl
Användarnamn: $email
Lösenord: $new_password
You may change that password from your account settings page after logging in.
När du loggat in kan du byta lösenord bland inställningarna.
Sincerely,
$sitename Administrator
Hälsningar,
$sitename admin

View file

@ -1,16 +1,16 @@
<p id="hide-friends-text">
Hide my contact/friend list from viewers of this profile?
D&ouml;lj kontaktlista/v&auml;nlista f&ouml;r de som ser denna profil?
</p>
<div id="hide-friends-yes-wrapper">
<label id="hide-friends-yes-label" for="hide-friends-yes">Yes</label>
<label id="hide-friends-yes-label" for="hide-friends-yes">Ja</label>
<input type="radio" name="hide-friends" id="hide-friends-yes" $yes_selected value="1" />
<div id="hide-friends-break" ></div>
</div>
<div id="hide-friends-no-wrapper">
<label id="hide-friends-no-label" for="hide-friends-no">No</label>
<label id="hide-friends-no-label" for="hide-friends-no">Nej</label>
<input type="radio" name="hide-friends" id="hide-friends-no" $no_selected value="0" />
<div id="hide-friends-end"></div>
</div>
</div>

View file

@ -1,16 +1,16 @@
<p id="profile-in-directory">
Publish your default profile in site directory?
Publicera din huvudsakliga profil (default) i webbplatsens medlemskatalog?
</p>
<div id="profile-in-dir-yes-wrapper">
<label id="profile-in-dir-yes-label" for="profile-in-dir-yes">Yes</label>
<label id="profile-in-dir-yes-label" for="profile-in-dir-yes">Ja</label>
<input type="radio" name="profile_in_directory" id="profile-in-dir-yes" $yes_selected value="1" />
<div id="profile-in-dir-break" ></div>
</div>
<div id="profile-in-dir-no-wrapper">
<label id="profile-in-dir-no-label" for="profile-in-dir-no">No</label>
<label id="profile-in-dir-no-label" for="profile-in-dir-no">Nej</label>
<input type="radio" name="profile_in_directory" id="profile-in-dir-no" $no_selected value="0" />
<div id="profile-in-dir-end"></div>
</div>
</div>

View file

@ -1,16 +1,16 @@
<p id="profile-in-directory">
Publish your default profile in global social directory?
Publicera din huvudsakliga profil (default) i den globala medlemskatalogen?
</p>
<div id="profile-in-netdir-yes-wrapper">
<label id="profile-in-netdir-yes-label" for="profile-in-netdir-yes">Yes</label>
<label id="profile-in-netdir-yes-label" for="profile-in-netdir-yes">Ja</label>
<input type="radio" name="profile_in_netdirectory" id="profile-in-netdir-yes" $yes_selected value="1" />
<div id="profile-in-netdir-break" ></div>
</div>
<div id="profile-in-netdir-no-wrapper">
<label id="profile-in-netdir-no-label" for="profile-in-netdir-no">No</label>
<label id="profile-in-netdir-no-label" for="profile-in-netdir-no">Nej</label>
<input type="radio" name="profile_in_netdirectory" id="profile-in-netdir-no" $no_selected value="0" />
<div id="profile-in-netdir-end"></div>
</div>
</div>

View file

@ -1,72 +1,71 @@
<!DOCTYPE html ><?php // This is a perfect example of why I prefer to use template files rather than mixed PHP/HTML ?>
<html>
<head>
<title><?php if(x($page,'title')) echo $page['title']; ?></title>
<?php if(x($page,'htmlhead')) echo $page['htmlhead']; ?>
</head>
<body>
<header><?php if(x($page,'header')) echo $page['header']; ?></header>
<nav><div id="top-margin"></div><?php if(x($page,'nav')) echo $page['nav']; ?></nav>
<aside>
<?php if((is_array($profile)) && count($profile)) { ?>
<div class="vcard">
<?php if(strlen($profile['name'])) { ?>
<div class="fn"><?php echo $profile['name']; ?></div>
<?php } ?>
<?php if(strlen($profile['photo'])) { ?>
<div id="profile-photo-wrapper"><img class="photo" src="<?php echo $profile['photo']; ?>" alt="<?php echo $profile['name']; ?>" /></div>
<?php } ?>
<div id="profile-extra-links">
<ul>
<?php if($profile['uid'] != $_SESSION['uid']) { ?>
<li><a id="dfrn-request-link" href="dfrn_request/<?php echo $profile['nickname']; ?>">Connect</a></li>
<?php } ?>
</ul>
</div>
<?php if ( (strlen($profile['address']))
|| (strlen($profile['locality']))
|| (strlen($profile['region']))
|| (strlen($profile['postal-code']))
|| (strlen($profile['country-name']))) { ?>
<div class="location">Location:
<div class="adr">
<div class="street-address"><?php if(strlen($profile['address'])) echo $profile['address']; ?></div>
<span class="city-state-zip"><span class="locality"><?php echo $profile['locality']; ?></span><?php if(strlen($profile['locality'])) echo ', '; ?><span class="region"><?php echo $profile['region'] ?></span><?php if(strlen($profile['postal-code'])) { ?> <span class="postal-code"><?php echo $profile['postal-code']; ?></span><?php } ?></span>
<span class="country-name"><?php echo $profile['country-name']; ?></span>
</div>
</div>
<?php } ?>
<?php if(strlen($profile['gender'])) { ?>
<div class="mf">Gender: <span class="x-gender"><?php echo $profile['gender']; ?></span></div>
<?php } ?>
<?php if(strlen($profile['pubkey'])) { ?>
<div class="key" style="display: none;"><?php echo $profile['pubkey']; ?></div>
<?php } ?>
</div>
<?php } ?>
<?php if(strlen($profile['marital'])) { ?>
<div class="marital"><span class="marital-label"><span class="heart">&hearts;</span> Status: </span><span class="marital-text"><?php echo $profile['marital']; ?></span></div>
<?php } ?>
<?php if(strlen($profile['homepage'])) { ?>
<div class="homepage"><span class="homepage-label">Homepage: </span><span class="homepage-url"><?php echo linkify($profile['homepage']); ?></span></div>
<?php } ?>
<?php if(x($page,'aside')) echo $page['aside'] ?>
</aside>
<section>
<?php if(x($page,'content')) echo $page['content']; ?>
<div id="page-footer"></div>
</section>
<footer>
<?php if(x($page,'footer')) echo $page['footer']; ?>
</footer>
</body>
</html>
<!DOCTYPE html ><?php // This is a perfect example of why I prefer to use template files rather than mixed PHP/HTML ?>
<html>
<head>
<title><?php if(x($page,'title')) echo $page['title']; ?></title>
<?php if(x($page,'htmlhead')) echo $page['htmlhead']; ?>
</head>
<body>
<header><?php if(x($page,'header')) echo $page['header']; ?></header>
<nav><div id="top-margin"></div><?php if(x($page,'nav')) echo $page['nav']; ?></nav>
<aside>
<?php if((is_array($profile)) && count($profile)) { ?>
<div class="vcard">
<?php if(strlen($profile['name'])) { ?>
<div class="fn"><?php echo $profile['name']; ?></div>
<?php } ?>
<?php if(strlen($profile['photo'])) { ?>
<div id="profile-photo-wrapper"><img class="photo" src="<?php echo $profile['photo']; ?>" alt="<?php echo $profile['name']; ?>" /></div>
<?php } ?>
<div id="profile-extra-links">
<ul>
<?php if($profile['uid'] != $_SESSION['uid']) { ?>
<li><a id="dfrn-request-link" href="dfrn_request/<?php echo $profile['nickname']; ?>">Connect</a></li>
<?php } ?>
</ul>
</div>
<?php if ( (strlen($profile['address']))
|| (strlen($profile['locality']))
|| (strlen($profile['region']))
|| (strlen($profile['postal-code']))
|| (strlen($profile['country-name']))) { ?>
<div class="location">Plats:
<div class="adr">
<div class="street-address"><?php if(strlen($profile['address'])) echo $profile['address']; ?></div>
<span class="city-state-zip"><span class="locality"><?php echo $profile['locality']; ?></span><?php if(strlen($profile['locality'])) echo ', '; ?><span class="region"><?php echo $profile['region'] ?></span><?php if(strlen($profile['postal-code'])) { ?> <span class="postal-code"><?php echo $profile['postal-code']; ?></span><?php } ?></span>
<span class="country-name"><?php echo $profile['country-name']; ?></span>
</div>
</div>
<?php } ?>
<?php if(strlen($profile['gender'])) { ?>
<div class="mf">K&ouml;n: <span class="x-gender"><?php echo $profile['gender']; ?></span></div>
<?php } ?>
<?php if(strlen($profile['pubkey'])) { ?>
<div class="key" style="display: none;"><?php echo $profile['pubkey']; ?></div>
<?php } ?>
</div>
<?php } ?>
<?php if(strlen($profile['marital'])) { ?>
<div class="marital"><span class="marital-label"><span class="heart">&hearts;</span> Civilstatus: </span><span class="marital-text"><?php echo $profile['marital']; ?></span></div>
<?php } ?>
<?php if(strlen($profile['homepage'])) { ?>
<div class="homepage"><span class="homepage-label">Webbplats: </span><span class="homepage-url"><?php echo linkify($profile['homepage']); ?></span></div>
<?php } ?>
<?php if(x($page,'aside')) echo $page['aside'] ?>
</aside>
<section>
<?php if(x($page,'content')) echo $page['content']; ?>
<div id="page-footer"></div>
</section>
<footer>
<?php if(x($page,'footer')) echo $page['footer']; ?>
</footer>
</body>
</html>

View file

@ -12,7 +12,7 @@ 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-text">Fullst&auml;ndigt namn:</div>
<div id="advanced-profile-name">{$a->profile['name']}</div>
</div>
<div id="advanced-profile-name-end"></div>
@ -22,7 +22,7 @@ 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-text">K&ouml;n:</div>
<div id="advanced-profile-gender">{$a->profile['gender']}</div>
</div>
<div id="advanced-profile-gender-end"></div>
@ -32,7 +32,7 @@ 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>
<div id="advanced-profile-dob-text">F&ouml;delsedag:</div>
EOT;
// If no year, add an arbitrary one so just we can parse the month and day.
@ -50,7 +50,7 @@ $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-text">&Aring;lder:</div>
<div id="advanced-profile-age">$age</div>
</div>
<div id="advanced-profile-age-end"></div>
@ -60,7 +60,7 @@ EOT;
if($a->profile['marital']) {
$o .= <<< EOT
<div id="advanced-profile-marital-wrapper" >
<div id="advanced-profile-marital-text"><span class="heart">&hearts;</span> Status:</div>
<div id="advanced-profile-marital-text"><span class="heart">&hearts;</span> Civilstatus:</div>
<div id="advanced-profile-marital">{$a->profile['marital']}</div>
EOT;
@ -75,7 +75,7 @@ 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-text">Sexuell l&auml;ggning:</div>
<div id="advanced-profile-sexual">{$a->profile['sexual']}</div>
</div>
<div id="advanced-profile-sexual-end"></div>
@ -86,7 +86,7 @@ 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-text">Hemsida URL:</div>
<div id="advanced-profile-homepage">$homepage</div>
</div>
<div id="advanced-profile-homepage-end"></div>
@ -96,7 +96,7 @@ 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-text">Politisk &aring;sk&aring;dning:</div>
<div id="advanced-profile-politic">{$a->profile['politic']}</div>
</div>
<div id="advanced-profile-politic-end"></div>
@ -115,7 +115,7 @@ EOT;
if($txt = prepare_text($a->profile['about'])) {
$o .= <<< EOT
<div id="advanced-profile-about-wrapper" >
<div id="advanced-profile-about-text">About:</div>
<div id="advanced-profile-about-text">Om:</div>
<br />
<div id="advanced-profile-about">$txt</div>
</div>
@ -126,7 +126,7 @@ 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>
<div id="advanced-profile-interest-text">Hobbys/Intressen:</div>
<br />
<div id="advanced-profile-interest">$txt</div>
</div>
@ -137,7 +137,7 @@ 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>
<div id="advanced-profile-contact-text">Kontaktuppgifter och sociala n&auml;tverk:</div>
<br />
<div id="advanced-profile-contact">$txt</div>
</div>
@ -148,7 +148,7 @@ 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>
<div id="advanced-profile-music-text">Musik:</div>
<br />
<div id="advanced-profile-music">$txt</div>
</div>
@ -159,7 +159,7 @@ 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>
<div id="advanced-profile-book-text">B&ouml;cker, litteratur:</div>
<br />
<div id="advanced-profile-book">$txt</div>
</div>
@ -170,7 +170,7 @@ EOT;
if($txt = prepare_text($a->profile['tv'])) {
$o .= <<< EOT
<div id="advanced-profile-tv-wrapper" >
<div id="advanced-profile-tv-text">Television:</div>
<div id="advanced-profile-tv-text">TV:</div>
<br />
<div id="advanced-profile-tv">$txt</div>
</div>
@ -181,7 +181,7 @@ 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>
<div id="advanced-profile-film-text">Film/dans/kultur/underh&aring;llning:</div>
<br />
<div id="advanced-profile-film">$txt</div>
</div>
@ -192,7 +192,7 @@ 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>
<div id="advanced-profile-romance-text">K&auml;rlek/romantik:</div>
<br />
<div id="advanced-profile-romance">$txt</div>
</div>
@ -203,7 +203,7 @@ 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>
<div id="advanced-profile-work-text">Arbete:</div>
<br />
<div id="advanced-profile-work">$txt</div>
</div>
@ -214,12 +214,10 @@ 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>
<div id="advanced-profile-education-text">Skola/utbildning:</div>
<br />
<div id="advanced-profile-education">$txt</div>
</div>
<div id="advanced-profile-education-end"></div>
EOT;
}

View file

@ -1,11 +1,11 @@
<h1>Edit Profile Details</h1>
<h1>&Auml;ndra i profil</h1>
<div id="profile-edit-links">
<ul>
<li><a href="profile/$profile_id/view?tab=profile" id="profile-edit-view-link" title="View this profile">View this profile</a></li>
<li><a href="profiles/clone/$profile_id" id="profile-edit-clone-link" title="Create a new profile using these settings">Clone this profile</a></li>
<li><a href="profile/$profile_id/view?tab=profile" id="profile-edit-view-link" title="View this profile">Visa denna profil</a></li>
<li><a href="profiles/clone/$profile_id" id="profile-edit-clone-link" title="Create a new profile using these settings">Klona denna profil</a></li>
<li></li>
<li><a href="profiles/drop/$profile_id" id="profile-edit-drop-link" title="Delete this profile" $disabled >Delete this profile</a></li>
<li><a href="profiles/drop/$profile_id" id="profile-edit-drop-link" title="Delete this profile" $disabled >Ta bort denna profil</a></li>
</ul>
</div>
@ -18,32 +18,32 @@ $default
<form id="profile-edit-form" name="form1" action="profiles/$profile_id" method="post" >
<div id="profile-edit-profile-name-wrapper" >
<label id="profile-edit-profile-name-label" for="profile-edit-profile-name" >Profile Name: </label>
<label id="profile-edit-profile-name-label" for="profile-edit-profile-name" >Profilnamn: </label>
<input type="text" size="32" name="profile_name" id="profile-edit-profile-name" value="$profile_name" /><div class="required">*</div>
</div>
<div id="profile-edit-profile-name-end"></div>
<div id="profile-edit-name-wrapper" >
<label id="profile-edit-name-label" for="profile-edit-name" >Your Full Name: </label>
<label id="profile-edit-name-label" for="profile-edit-name" >Fullst&auml;ndigt namn: </label>
<input type="text" size="32" name="name" id="profile-edit-name" value="$name" />
</div>
<div id="profile-edit-name-end"></div>
<div id="profile-edit-pdesc-wrapper" >
<label id="profile-edit-pdesc-label" for="profile-edit-pdesc" >Title/Description: </label>
<label id="profile-edit-pdesc-label" for="profile-edit-pdesc" >Titel/Beskrivning: </label>
<input type="text" size="32" name="pdesc" id="profile-edit-pdesc" value="$pdesc" />
</div>
<div id="profile-edit-pdesc-end"></div>
<div id="profile-edit-gender-wrapper" >
<label id="profile-edit-gender-label" for="gender-select" >Your Gender: </label>
<label id="profile-edit-gender-label" for="gender-select" >K&ouml;n: </label>
$gender
</div>
<div id="profile-edit-gender-end"></div>
<div id="profile-edit-dob-wrapper" >
<label id="profile-edit-dob-label" for="dob-select" >Birthday (y/m/d): </label>
<label id="profile-edit-dob-label" for="dob-select" >F&ouml;delsedag (&aring;/m/d): </label>
<div id="profile-edit-dob" >
$dob $age
</div>
@ -53,32 +53,32 @@ $dob $age
$hide_friends
<div class="profile-edit-submit-wrapper" >
<input type="submit" name="submit" class="profile-edit-submit-button" value="Submit" />
<input type="submit" name="submit" class="profile-edit-submit-button" value="Spara" />
</div>
<div class="profile-edit-submit-end"></div>
<div id="profile-edit-address-wrapper" >
<label id="profile-edit-address-label" for="profile-edit-address" >Street Address: </label>
<label id="profile-edit-address-label" for="profile-edit-address" >Gatuadress: </label>
<input type="text" size="32" name="address" id="profile-edit-address" value="$address" />
</div>
<div id="profile-edit-address-end"></div>
<div id="profile-edit-locality-wrapper" >
<label id="profile-edit-locality-label" for="profile-edit-locality" >Locality/City: </label>
<label id="profile-edit-locality-label" for="profile-edit-locality" >Plats/Stad: </label>
<input type="text" size="32" name="locality" id="profile-edit-locality" value="$locality" />
</div>
<div id="profile-edit-locality-end"></div>
<div id="profile-edit-postal-code-wrapper" >
<label id="profile-edit-postal-code-label" for="profile-edit-postal-code" >Postal/Zip Code: </label>
<label id="profile-edit-postal-code-label" for="profile-edit-postal-code" >Postnummer: </label>
<input type="text" size="32" name="postal_code" id="profile-edit-postal-code" value="$postal_code" />
</div>
<div id="profile-edit-postal-code-end"></div>
<div id="profile-edit-country-name-wrapper" >
<label id="profile-edit-country-name-label" for="profile-edit-country-name" >Country: </label>
<label id="profile-edit-country-name-label" for="profile-edit-country-name" >Land: </label>
<select name="country_name" id="profile-edit-country-name" onChange="Fill_States('$region');">
<option selected="selected" >$country_name</option>
<option>temp</option>
@ -87,7 +87,7 @@ $hide_friends
<div id="profile-edit-country-name-end"></div>
<div id="profile-edit-region-wrapper" >
<label id="profile-edit-region-label" for="profile-edit-region" >Region/State: </label>
<label id="profile-edit-region-label" for="profile-edit-region" >Region: </label>
<select name="region" id="profile-edit-region" onChange="Update_Globals();" >
<option selected="selected" >$region</option>
<option>temp</option>
@ -96,20 +96,20 @@ $hide_friends
<div id="profile-edit-region-end"></div>
<div class="profile-edit-submit-wrapper" >
<input type="submit" name="submit" class="profile-edit-submit-button" value="Submit" />
<input type="submit" name="submit" class="profile-edit-submit-button" value="Spara" />
</div>
<div class="profile-edit-submit-end"></div>
<div id="profile-edit-marital-wrapper" >
<label id="profile-edit-marital-label" for="profile-edit-marital" ><span class="heart">&hearts;</span> (Marital) Status: </label>
<label id="profile-edit-marital-label" for="profile-edit-marital" ><span class="heart">&hearts;</span> Civilstatus: </label>
$marital
</div>
<label id="profile-edit-with-label" for="profile-edit-with" > Who: (if applicable) </label>
<label id="profile-edit-with-label" for="profile-edit-with" > Vem: (om aktuellt) </label>
<input type="text" size="32" name="with" id="profile-edit-with" title="Examples: cathy123, Cathy Williams, cathy@example.com" value="$with" />
<div id="profile-edit-marital-end"></div>
<div id="profile-edit-sexual-wrapper" >
<label id="profile-edit-sexual-label" for="sexual-select" >Sexual Preference: </label>
<label id="profile-edit-sexual-label" for="sexual-select" >Sexuell l&auml;ggning: </label>
$sexual
</div>
<div id="profile-edit-sexual-end"></div>
@ -117,13 +117,13 @@ $sexual
<div id="profile-edit-homepage-wrapper" >
<label id="profile-edit-homepage-label" for="profile-edit-homepage" >Homepage URL: </label>
<label id="profile-edit-homepage-label" for="profile-edit-homepage" >Hemsida URL: </label>
<input type="text" size="32" name="homepage" id="profile-edit-homepage" value="$homepage" />
</div>
<div id="profile-edit-homepage-end"></div>
<div id="profile-edit-politic-wrapper" >
<label id="profile-edit-politic-label" for="profile-edit-politic" >Political Views: </label>
<label id="profile-edit-politic-label" for="profile-edit-politic" >Politisk &aring;sk&aring;dning: </label>
<input type="text" size="32" name="politic" id="profile-edit-politic" value="$politic" />
</div>
<div id="profile-edit-politic-end"></div>
@ -135,26 +135,25 @@ $sexual
<div id="profile-edit-religion-end"></div>
<div id="profile-edit-pubkeywords-wrapper" >
<label id="profile-edit-pubkeywords-label" for="profile-edit-pubkeywords" >Public Keywords: </label>
<input type="text" size="32" name="pub_keywords" id="profile-edit-pubkeywords" title="Example: fishing photography software" value="$pub_keywords" />
<label id="profile-edit-pubkeywords-label" for="profile-edit-pubkeywords" >Public Nyckelord: </label>
<input type="text" size="32" name="pub_keywords" id="profile-edit-pubkeywords" title="Exempel: fiske fotografering delifner" value="$pub_keywords" />
</div><div id="profile-edit-pubkeywords-desc">(Used for suggesting potential friends, can be seen by others)</div>
<div id="profile-edit-pubkeywords-end"></div>
<div id="profile-edit-prvkeywords-wrapper" >
<label id="profile-edit-prvkeywords-label" for="profile-edit-prvkeywords" >Private Keywords: </label>
<input type="text" size="32" name="prv_keywords" id="profile-edit-prvkeywords" title="Example: fishing photography software" value="$prv_keywords" />
</div><div id="profile-edit-prvkeywords-desc">(Used for searching profiles, never shown to others)</div>
<label id="profile-edit-prvkeywords-label" for="profile-edit-prvkeywords" >Private Nyckelord: </label>
<input type="text" size="32" name="prv_keywords" id="profile-edit-prvkeywords" title="Exempel: fiske fotografering delfiner" value="$prv_keywords" />
</div><div id="profile-edit-prvkeywords-desc">(Anv&auml;nds vid profils&ouml;kning, visas inte f&ouml;r andra)</div>
<div id="profile-edit-prvkeywords-end"></div>
<div class="profile-edit-submit-wrapper" >
<input type="submit" name="submit" class="profile-edit-submit-button" value="Submit" />
<input type="submit" name="submit" class="profile-edit-submit-button" value="Spara" />
</div>
<div class="profile-edit-submit-end"></div>
<div id="about-jot-wrapper" >
<p id="about-jot-desc" >
Tell us about yourself...
Beskriv dig sj&auml;lv...
</p>
<textarea rows="10" cols="72" id="profile-jot-text" name="about" >$about</textarea>
@ -166,7 +165,7 @@ Tell us about yourself...
<div id="interest-jot-wrapper" >
<p id="interest-jot-desc" >
Hobbies/Interests
Hobbys/Intressen
</p>
<textarea rows="10" cols="72" id="interest-jot-text" name="interest" >$interest</textarea>
@ -178,7 +177,7 @@ Hobbies/Interests
<div id="contact-jot-wrapper" >
<p id="contact-jot-desc" >
Contact information and Social Networks
Kontaktuppgifter och sociala n&auml;tverk
</p>
<textarea rows="10" cols="72" id="contact-jot-text" name="contact" >$contact</textarea>
@ -189,14 +188,14 @@ Contact information and Social Networks
<div class="profile-edit-submit-wrapper" >
<input type="submit" name="submit" class="profile-edit-submit-button" value="Submit" />
<input type="submit" name="submit" class="profile-edit-submit-button" value="Spara" />
</div>
<div class="profile-edit-submit-end"></div>
<div id="music-jot-wrapper" >
<p id="music-jot-desc" >
Musical interests
Musik
</p>
<textarea rows="10" cols="72" id="music-jot-text" name="music" >$music</textarea>
@ -207,7 +206,7 @@ Musical interests
<div id="book-jot-wrapper" >
<p id="book-jot-desc" >
Books, literature
B&ouml;cker, litteratur
</p>
<textarea rows="10" cols="72" id="book-jot-text" name="book" >$book</textarea>
@ -220,7 +219,7 @@ Books, literature
<div id="tv-jot-wrapper" >
<p id="tv-jot-desc" >
Television
TV
</p>
<textarea rows="10" cols="72" id="tv-jot-text" name="tv" >$tv</textarea>
@ -233,7 +232,7 @@ Television
<div id="film-jot-wrapper" >
<p id="film-jot-desc" >
Film/dance/culture/entertainment
Film/dans/kultur/underh&aring;llning
</p>
<textarea rows="10" cols="72" id="film-jot-text" name="film" >$film</textarea>
@ -244,14 +243,14 @@ Film/dance/culture/entertainment
<div class="profile-edit-submit-wrapper" >
<input type="submit" name="submit" class="profile-edit-submit-button" value="Submit" />
<input type="submit" name="submit" class="profile-edit-submit-button" value="Spara" />
</div>
<div class="profile-edit-submit-end"></div>
<div id="romance-jot-wrapper" >
<p id="romance-jot-desc" >
Love/romance
K&auml;rlek/romantik
</p>
<textarea rows="10" cols="72" id="romance-jot-text" name="romance" >$romance</textarea>
@ -264,7 +263,7 @@ Love/romance
<div id="work-jot-wrapper" >
<p id="work-jot-desc" >
Work/employment
Arbete
</p>
<textarea rows="10" cols="72" id="work-jot-text" name="work" >$work</textarea>
@ -277,7 +276,7 @@ Work/employment
<div id="education-jot-wrapper" >
<p id="education-jot-desc" >
School/education
Skola/utbildning
</p>
<textarea rows="10" cols="72" id="education-jot-text" name="education" >$education</textarea>
@ -289,7 +288,7 @@ School/education
<div class="profile-edit-submit-wrapper" >
<input type="submit" name="submit" class="profile-edit-submit-button" value="Submit" />
<input type="submit" name="submit" class="profile-edit-submit-button" value="Spara" />
</div>
<div class="profile-edit-submit-end"></div>

View file

@ -1,7 +1,7 @@
<div class="profile-listing" >
<div class="profile-listing-photo-wrapper" >
<a href="profiles/$id" class="profile-listing-edit-link" ><img class="profile-listing-photo" id="profile-listing-photo-$id" src="$photo" alt="Profile Image" /></a>
<a href="profiles/$id" class="profile-listing-edit-link" ><img class="profile-listing-photo" id="profile-listing-photo-$id" src="$photo" alt="Profilbild" /></a>
</div>
<div class="profile-listing-photo-end" ></div>
<div class="profile-listing-name" id="profile-listing-name-$id"><a href="profiles/$id" class="profile-listing-edit-link" >$profile_name</a></div>

View file

@ -1,8 +1,7 @@
<h1>Profiles</h1>
<h1>Profiler</h1>
<p id="profile-listing-desc" >
<a href="profile_photo" >Change profile photo</a>
<a href="profile_photo" >Byt profilbild</a>
</p>
<div id="profile-listing-new-link-wrapper" >
<a href="profiles/new" id="profile-listing-new-link" name="Create New Profile" >Create New Profile</a>
<a href="profiles/new" id="profile-listing-new-link" name="Create New Profile" >Skapa ny profil</a>
</div>

View file

@ -1,18 +1,18 @@
<h1>Upload Profile Photo</h1>
<h1>Ladda upp profilbild</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">Upload File: </label>
<label id="profile-photo-upload-label" for="profile-photo-upload">Ladda upp fil: </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">
<input type="submit" name="submit" id="profile-photo-submit" value="Ladda upp">
</div>
</form>
<div id="profile-photo-link-select-wrapper">
or <a href='photos/$user'>select a photo from albums</a>
eller <a href='photos/$user'>v&auml;lj bild i ett album</a>
</div>

View file

@ -1,16 +1,16 @@
<h3>Password Reset</h3>
<h3>&Aring;terst&auml;llning av l&ouml;senord</h3>
<p>
Your password has been reset as requested.
Ditt l&ouml;senord har &aring;terst&auml;llts enligt &ouml;nskem&aring;l.
</p>
<p>
Your new password is
Ditt nya l&ouml;senord &auml;r
</p>
<p>
$newpass
</p>
<p>
Save or copy your new password - and then <a href="$baseurl" >click here to login</a>.
H&aring;ll koll p&aring; det nya l&ouml;senordet och <a href="$baseurl" >klicka sedan h&auml;r f&ouml;r att logga in</a>.
</p>
<p>
Your password may be changed from the 'Settings' page after successful login.
L&ouml;senordet kan &auml;ndras p&aring; sidan Inst&auml;llningar efter att du loggat in.

View file

@ -1,21 +1,17 @@
$username,
Tack för att du registrerat dig på $sitename. Kontot har skapats.
Här är dina inloggningsuppgifter:
Dear $username,
Thank you for registering at $sitename. Your account has been created.
The login details are as follows:
Webbplats: $siteurl
Användarnamn: $email
Lösenord: $password
Lösenordet kan ändras på sidan Inställningar efter att du loggat in.
Site Location: $siteurl
Login Name: $email
Password: $password
Ägna en liten stund åt att gå igenom alla kontoinställningar där.
You may change your password from your account "Settings" page after logging
in.
Tack, och välkommen till $sitename.
Please take a few moments to review the other account settings on that page.
Hälsningar,
$sitename admin
Thank you and welcome to $sitename.
Sincerely,
$sitename Administrator

View file

@ -1,26 +1,18 @@
A new user registration request was received at $sitename which requires
your approval.
En registreringsförfrågan som kräver svar har mottagits
på $sitename
The login details are as follows:
Här är inloggningsuppgifterna:
Full Name: $username
Site Location: $siteurl
Login Name: $email
To approve this request please visit the following link:
Fullständigt namn: $username
Webbplats: $siteurl
Användarnamn: $email
Gå till denna adress om du vill godkänna:
$siteurl/regmod/allow/$hash
To deny the request and remove the account, please visit:
Gå till denna adress om du vill avslå förfrågan och ta bort kontot:
$siteurl/regmod/deny/$hash
Thank you.