diff options
Diffstat (limited to 'view/sv')
-rw-r--r-- | view/sv/cmnt_received_eml.tpl | 17 | ||||
-rw-r--r-- | view/sv/htconfig.tpl | 70 | ||||
-rw-r--r-- | view/sv/mail_received_html_body_eml.tpl | 25 | ||||
-rw-r--r-- | view/sv/mail_received_text_body_eml.tpl | 10 | ||||
-rw-r--r-- | view/sv/wall_received_eml.tpl | 16 |
5 files changed, 138 insertions, 0 deletions
diff --git a/view/sv/cmnt_received_eml.tpl b/view/sv/cmnt_received_eml.tpl new file mode 100644 index 000000000..d87c7a1d1 --- /dev/null +++ b/view/sv/cmnt_received_eml.tpl @@ -0,0 +1,17 @@ + +$username, + +'$from' har kommenterat något som du följer. + +----- +$body +----- + +Logga in på $siteurl för att se hela konversationen: + +$display + +Hälsningar, +$sitename admin + + diff --git a/view/sv/htconfig.tpl b/view/sv/htconfig.tpl new file mode 100644 index 000000000..493cb5d00 --- /dev/null +++ b/view/sv/htconfig.tpl @@ -0,0 +1,70 @@ +<?php + +// Set the following for your MySQL installation +// Copy or rename this file to .htconfig.php + +$db_host = '{{$dbhost}}'; +$db_port = '{{$dbport}}'; +$db_user = '{{$dbuser}}'; +$db_pass = '{{$dbpass}}'; +$db_data = '{{$dbdata}}'; + +/* + * Notice: Many of the following settings will be available in the admin panel + * after a successful site install. Once they are set in the admin panel, they + * are stored in the DB - and the DB setting will over-ride any corresponding + * setting in this file + * + * The command-line tool util/config is able to query and set the DB items + * directly if for some reason the admin panel is not available and a system + * setting requires modification. + * + */ + + +// Choose a legal default timezone. If you are unsure, use "America/Los_Angeles". +// It can be changed later and only applies to timestamps for anonymous viewers. + +$default_timezone = '{{$timezone}}'; + +// What is your site name? + +$a->config['system']['baseurl'] = '{{$siteurl}}'; +$a->config['system']['sitename'] = "Red Matrix"; +$a->config['system']['location_hash'] = '{{$site_id}}'; + +// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED. +// Be certain to create your own personal account before setting +// REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on +// the registration page. REGISTER_APPROVE requires you set 'admin_email' +// to the email address of an already registered person who can authorise +// and/or approve/deny the request. + +$a->config['system']['register_policy'] = REGISTER_OPEN; +$a->config['system']['register_text'] = ''; +$a->config['system']['admin_email'] = '{{$adminmail}}'; + +// Maximum size of an imported message, 0 is unlimited + +$a->config['system']['max_import_size'] = 200000; + +// maximum size of uploaded photos + +$a->config['system']['maximagesize'] = 800000; + +// Location of PHP command line processor + +$a->config['system']['php_path'] = '{{$phpath}}'; + +// Configure how we communicate with directory servers. +// DIRECTORY_MODE_NORMAL = directory client, we will find a directory +// DIRECTORY_MODE_SECONDARY = caching directory or mirror +// DIRECTORY_MODE_PRIMARY = main directory server +// DIRECTORY_MODE_STANDALONE = "off the grid" or private directory services + +$a->config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL; + +// default system theme + +$a->config['system']['theme'] = 'redbasic'; + diff --git a/view/sv/mail_received_html_body_eml.tpl b/view/sv/mail_received_html_body_eml.tpl new file mode 100644 index 000000000..a9a34c23a --- /dev/null +++ b/view/sv/mail_received_html_body_eml.tpl @@ -0,0 +1,25 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN"> +<html> +<head> + <title>Meddelande på Friendika</title> + <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> +</head> +<body> +<table style="border:1px solid #ccc"> + <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 har skickat ett personligt meddelande till dig på $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">Logga in på <a href="$siteurl">$siteurl</a> för att läsa och svara på personliga meddelanden.</td></tr> + <tr><td></td><td>Hälsningar,</td></tr> + <tr><td></td><td>$siteName admin</td></tr> + </tbody> +</table> +</body> +</html>
\ No newline at end of file diff --git a/view/sv/mail_received_text_body_eml.tpl b/view/sv/mail_received_text_body_eml.tpl new file mode 100644 index 000000000..ac2857b58 --- /dev/null +++ b/view/sv/mail_received_text_body_eml.tpl @@ -0,0 +1,10 @@ +$from har skickat ett personligt meddelande till dig på $siteName. + +$title + +$textversion + +Logga in på $siteurl för att läsa och svara på personliga meddelanden. + +Hälsningar, +$siteName admin diff --git a/view/sv/wall_received_eml.tpl b/view/sv/wall_received_eml.tpl new file mode 100644 index 000000000..fc450a06d --- /dev/null +++ b/view/sv/wall_received_eml.tpl @@ -0,0 +1,16 @@ +$username, + +'$from' har skrivit på din profilsida. + +----- +$body +----- + +Logga in på $siteurl för att kolla eller ta bort: + +$display + +Hälsningar, +$sitename admin + + |