diff options
Diffstat (limited to 'view')
591 files changed, 6822 insertions, 17809 deletions
diff --git a/view/cs/follow_notify_eml.tpl b/view/cs/follow_notify_eml.tpl index 440ba9ca4..ba07b19da 100644 --- a/view/cs/follow_notify_eml.tpl +++ b/view/cs/follow_notify_eml.tpl @@ -1,14 +1,14 @@ -Milý/Milá $username, +Dear {{$myname}}, -Máte nového následovatele na $sitename - '$requestor'. +You have a new follower at {{$sitename}} - '{{$requestor}}'. -Můžete si prohlédnout jeho/její profil na $url. +You may visit their profile at {{$url}}. -Přihlaste se na váš server k odsouhlasení nebo ignorování/zrušení žádosti. +Please login to your site to approve or ignore/cancel the request. -$siteurl +{{$siteurl}} -S pozdravem, +Regards, - $sitename administrátor + {{$sitename}} administrator diff --git a/view/cs/friend_complete_eml.tpl b/view/cs/friend_complete_eml.tpl index 50bb7e105..1c647b994 100644 --- a/view/cs/friend_complete_eml.tpl +++ b/view/cs/friend_complete_eml.tpl @@ -1,17 +1,22 @@ -Milý/Milá $username, +Dear {{$username}}, - Skvělé zprávy... '$fn' na '$dfrn_url' odsouhlasil Váš požadavek na spojení na '$sitename'. + Great news... '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. -Jste nyní přátelé a můžete si vyměňovat aktualizace statusu, fotek a e-mailů bez omezení. +You are now mutual friends and may exchange status updates, photos, and email +without restriction. -Pokud budete chtít tento vztah jakkoliv upravit, navštivte Vaši stránku "Kontakty" na $sitename. +Please visit your 'Connnections' page at {{$sitename}} if you wish to make +any changes to this relationship. -$siteurl +{{$siteurl}} -(Nyní můžete například vytvořit separátní profil s informacemi, které nebudou viditelné veřejně, a nastavit právo pro zobrazení tohoto profilu pro '$fn'). +[For instance, you may create a separate profile with information that is not +available to the general public - and assign viewing rights to '{{$fn}}']. -S pozdravem, +Sincerely, - $sitename administrátor + {{$sitename}} Administrator + diff --git a/view/cs/htconfig.tpl b/view/cs/htconfig.tpl new file mode 100644 index 000000000..493cb5d00 --- /dev/null +++ b/view/cs/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/cs/intro_complete_eml.tpl b/view/cs/intro_complete_eml.tpl index 91753f35d..2c2428d68 100644 --- a/view/cs/intro_complete_eml.tpl +++ b/view/cs/intro_complete_eml.tpl @@ -1,17 +1,22 @@ -Milý/Milá $username, +Dear {{$username}}, + '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. - '$fn' na '$dfrn_url' odsouhlasil Váš požadavek na spojení na '$sitename'. + '{{$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' Vás označil za svého "fanouška", což jistým způsobem omezuje komunikaci (například v oblasti soukromých zpráv a některých profilových interakcí. Pokud je toto celebritní nebo komunitní stránka, bylo toto nastavení byla přijato automaticky. + '{{$fn}}' may choose to extend this into a two-way or more permissive +relationship in the future. - '$fn' může v budoucnu rozšířit toto spojení na oboustranné nebo jinak méně restriktivní. + You will start receiving public status updates from '{{$fn}}', +which will appear on your 'Matrix' page at - Nyní začnete dostávat veřejné aktualizace statusu od '$fn', které se objeví ve Vaší stránce "Síť" na webu +{{$siteurl}} -$siteurl +Sincerely, -S pozdravem, - - $sitename administrátor + {{$sitename}} Administrator diff --git a/view/cs/lostpass_eml.tpl b/view/cs/lostpass_eml.tpl index 05042ddce..3b79d2791 100644 --- a/view/cs/lostpass_eml.tpl +++ b/view/cs/lostpass_eml.tpl @@ -1,23 +1,32 @@ -Milý/Milá $username, - Na webu $sitename byl zaregistrován požadavek na znovunastavení hesla k Vašemu účtu. Pro potvrzení této žádosti prosím klikněte na potvrzovací odkaz níže, nebo si tento odkaz zkopírujte do adresního řádku prohlížeče. -Pokud jste o znovunastavení hesla NEŽÁDALI, prosím NEKLIKEJTE na tento odkaz a ignorujte tento e-mail nebo ho rovnou smažte. +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. -Vaše heslo nebude změněno, dokud nebudeme mít potvrzení, že jste o tento požadavek zažádali právě Vy. +If you did NOT request this change, please DO NOT follow the link +provided and ignore and/or delete this email. -Klikněte na tento odkaz pro prověření Vaší identity: +Your password will not be changed unless we can verify that you +issued this request. -$reset_link +Follow this link to verify your identity: -Poté obdržíte další zprávu obsahující nové heslo. +{{$reset_link}} -Následně si toto heslo můžete změnit z vašeho účtu na stránce Nastavení. +You will then receive a follow-up message containing the new password. -Přihlašovací údaje jsou tato: +You may change that password from your account settings page after logging in. -Adresa webu: $siteurl -Přihlašovací jméno: $email +The login details are as follows: -S pozdravem, +Site Location: {{$siteurl}} +Login Name: {{$email}} - $sitename administrátor + + + +Sincerely, + {{$sitename}} Administrator + + diff --git a/view/cs/passchanged_eml.tpl b/view/cs/passchanged_eml.tpl index 5447d2e80..0d94be3c2 100644 --- a/view/cs/passchanged_eml.tpl +++ b/view/cs/passchanged_eml.tpl @@ -1,14 +1,20 @@ -Milý/Milá $username, - Vaše heslo bylo na Vaši žádost změněno. Prosím zaznamenejte si tuto informaci (nebo si Vaše heslo změňte na nějaké, které si budete pamatovat). - -Vaše přihlašovací údaje jsou tato: +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). + + +Your login details are as follows: -Adresa webu: $siteurl -Přihlašovací jméno: $email -Heslo: $new_password +Site Location: {{$siteurl}} +Login Name: {{$email}} +Password: {{$new_password}} -Toto heslo si můžete změnit z vašeho účtu na stránce Nastavení poté, co se přihlásíte. +You may change that password from your account settings page after logging in. -S pozdravem, - $sitename administrátor + +Sincerely, + {{$sitename}} Administrator + + diff --git a/view/cs/register_open_eml.tpl b/view/cs/register_open_eml.tpl index f8e42678b..4b397201c 100644 --- a/view/cs/register_open_eml.tpl +++ b/view/cs/register_open_eml.tpl @@ -1,23 +1,19 @@ -Milý/milá $username, - Díky za registraci na $sitename. Váš účet byl vytvořen. -Vaše přihlašovací údaje jsou tato: -Adresa webu: $siteurl -Přihlašovací jméno: $email -Heslo: $password +An account has been created at {{$sitename}} for this email address. +The login details are as follows: -Toto heslo si můžete změnit z vašeho účtu na stránce "Nastavení" poté, co se přihlásíte. +Site Location: {{$siteurl}} +Login: {{$email}} +Password: (the password which was provided during registration) -Věnujte prosím chvíli revizi dalších nastavení Vašeho účtu na této stránce. +If this account was created without your knowledge and is not desired, you may +visit this site and reset the password. This will allow you to remove the +account from the links on the Settings page, and we +apologise for any inconvenience. -Můžete také přidat některé základní informace do Vašeho defaultního profilu (na stránce "Profily"), čímž umožníte jiným lidem Vás snadněji nalézt. +Thank you and welcome to {{$sitename}}. -Doporučujeme nastavit celé jméno, přidat profilové foto, přidat nějaká profilová "klíčová slova" (což je velmi užitečné pro hledání nových přátel) a zemi, ve které žijete. Nemusíte zadávat víc informací. +Sincerely, + {{$sitename}} Administrator -Plně respektujeme Vaše právo na soukromí a žádná z výše uvedených položek není povinná. -Pokud jste nový a neznáte na tomto webu nikoho jiného, zadáním těchto položek můžete získat nové a zajímavé přátele. - -Díky a vítejte na $sitename. - -S pozdravem, - $sitename administrátor + diff --git a/view/cs/register_verify_eml.tpl b/view/cs/register_verify_eml.tpl index 4b34c6b6d..85d9a12d3 100644 --- a/view/cs/register_verify_eml.tpl +++ b/view/cs/register_verify_eml.tpl @@ -1,22 +1,25 @@ -Na webu $sitename byla vytvořena nová uživatelská registrace, která vyžaduje Vaše schválení. +A new user registration request was received at {{$sitename}} which requires +your approval. -Přihlašovací údaje jsou tato: -Celé jméno: $username -Adresa webu: $siteurl -Přihlašovací jméno: $email +The login details are as follows: -Pro odsouhlasení tohoto požadavku prosím klikněte na následující odkaz: +Site Location: {{$siteurl}} +Login Name: {{$email}} +IP Address: {{$details}} +To approve this request please visit the following link: -$siteurl/regmod/allow/$hash +{{$siteurl}}/regmod/allow/{{$hash}} -Pro zamítnutí žádosti a odstranění účtu prosím klikněte na tento odkaz: +To deny the request and remove the account, please visit: -$siteurl/regmod/deny/$hash +{{$siteurl}}/regmod/deny/{{$hash}} + + +Thank you. -Díky. diff --git a/view/cs/request_notify_eml.tpl b/view/cs/request_notify_eml.tpl index 74010c79c..d01b8ff27 100644 --- a/view/cs/request_notify_eml.tpl +++ b/view/cs/request_notify_eml.tpl @@ -1,15 +1,17 @@ -Milý/Milá $username, +Dear {{$myname}}, -Právě jste obdržel/obdržela požadavek na spojení na webu $sitename +You have just received a connection request at {{$sitename}} -od '$requestor'. +from '{{$requestor}}'. -Můžete navštívit jeho/její profil na následujícím odkazu $url. +You may visit their profile at {{$url}}. -Přihlaste se na Váš web k zobrazení kompletní žádosti a odsouhlaste nebo ignorujte/zrušte tuto žádost. +Please login to your site to view the complete introduction +and approve or ignore/cancel the request. -$siteurl +{{$siteurl}} -S pozdravem, - $sitename administrátor +Regards, + + {{$sitename}} administrator diff --git a/view/cs/update_fail_eml.tpl b/view/cs/update_fail_eml.tpl new file mode 100644 index 000000000..a7df8fc2f --- /dev/null +++ b/view/cs/update_fail_eml.tpl @@ -0,0 +1,13 @@ +Hey,
+I'm the web server at {{$sitename}};
+
+The Red Matrix developers released update {{$update}} recently,
+but when I tried to install it, something went terribly wrong.
+This needs to be fixed soon and it requires human intervention.
+Please contact a Red developer if you can not figure out how to
+fix it on your own. My database might be invalid.
+
+The error message is '{{$error}}'.
+
+Apologies for the inconvenience,
+ your web server at {{$siteurl}}
\ No newline at end of file diff --git a/view/css/mod_admin.css b/view/css/mod_admin.css new file mode 100644 index 000000000..6ceec3ac5 --- /dev/null +++ b/view/css/mod_admin.css @@ -0,0 +1,63 @@ + + +/** + * ADMIN + */ +#pending-update { + float:right; + color: #ffffff; + font-weight: bold; + background-color: #FF0000; + padding: 0em 0.3em; + +} +#adminpage dl { + clear: left; + margin-bottom: 2px; + padding-bottom: 2px; + border-bottom: 1px solid black; +} +#adminpage dt { + width: 200px; + float: left; + font-weight: bold; +} +#adminpage dd { + margin-left: 200px; +} + +#adminpage h3 { + border-bottom: 1px solid #cccccc; +} +#adminpage .field label { + font-weight: bold; +} +#adminpage .submit { + clear:left; + text-align: right; +} + +#adminpage #pluginslist { + margin: 0px; padding: 0px; +} +#adminpage .plugin { + list-style: none; + display: block; + border: 1px solid #888888; + padding: 1em; + margin-bottom: 5px; + clear: left; +} +#adminpage .plugin .desc { margin-left: 2.5em;} +#adminpage .toggleplugin { + float:left; + margin-right: 1em; +} + +#adminpage table {width:100%; border-bottom: 1px solid #000000; margin: 5px 0px;} +#adminpage table th { text-align: left;} +#adminpage td .icon { float: left;} +#adminpage table#users img { width: 16px; height: 16px; } +#adminpage table tr:hover { background-color: #bbc7d7; } +#adminpage .selectall { text-align: right; } + diff --git a/view/css/mod_group.css b/view/css/mod_group.css new file mode 100644 index 000000000..cc5f15843 --- /dev/null +++ b/view/css/mod_group.css @@ -0,0 +1,66 @@ + +#group-new-submit-wrapper { + margin-top: 30px; +} + +#group-edit-form label { + float: left; + width: 300px; +} + +#group-edit-form input { + float: left; + width: 175px; +} + +#group-edit-form .field { + clear: both; +} + +#group-edit-submit-wrapper input { + clear: both; + width: 100px; +} + +#group-edit-select-end { + clear: both; +} + +#group-edit-name-label { + float: left; + width: 175px; + margin-top: 20px; + margin-bottom: 20px; +} + +#group-edit-name { + float: left; + width: 225px; + margin-top: 20px; + margin-bottom: 20px; +} + +#group-edit-name-wrapper { + + +} + + +#group_members_select_label { + display: block; + float: left; + width: 175px; +} + +.group_members_select { + float: left; + width: 230px; + overflow: auto; +} + +#group_members_select_end { + clear: both; +} +#group-edit-name-end { + clear: both; +} diff --git a/view/css/mod_manage.css b/view/css/mod_manage.css index 51f5062ae..58f9d3159 100644 --- a/view/css/mod_manage.css +++ b/view/css/mod_manage.css @@ -1,8 +1,8 @@ #channels-selected { color: #666666; font-size: 1.2em; - margin-top: 20px; - margin-bottom: 10px; + width: 120px; + margin: 20px auto 10px auto; } #channels-desc { @@ -12,12 +12,23 @@ margin-bottom: 20px; } +#selected-channel { + width: 200px; + margin: 0px auto 0px auto; +} + +#selected-channel .channel-selection { + clear: both; + width: 120px; + margin: 0px auto 0px auto; +} + .channel-selection-default { font-size: 0.8em; margin-bottom: 10px; } -.channel-selection { +#all-channels .channel-selection { width: 120px; float: left; } diff --git a/view/css/mod_setup.css b/view/css/mod_setup.css new file mode 100644 index 000000000..ee725d055 --- /dev/null +++ b/view/css/mod_setup.css @@ -0,0 +1,34 @@ +#install-dbhost-label, +#install-dbuser-label, +#install-dbpass-label, +#install-dbdata-label, +#install-tz-desc { + float: left; + width: 250px; + margin-top: 10px; + margin-bottom: 10px; + +} + +#install-dbhost, +#install-dbuser, +#install-dbpass, +#install-dbdata { + float: left; + width: 200px; + margin-left: 20px; +} + +#install-dbhost-end, +#install-dbuser-end, +#install-dbpass-end, +#install-dbdata-end, +#install-tz-end { + clear: both; +} + +#install-form select#timezone_select { + float: left; + margin-top: 18px; + margin-left: 20px; +} diff --git a/view/css/mod_thing.css b/view/css/mod_thing.css new file mode 100644 index 000000000..2a2ba7c92 --- /dev/null +++ b/view/css/mod_thing.css @@ -0,0 +1,27 @@ + + +.thing-profile #contact-profile-selector { + margin-left: 0; +} + +.thing-verb-label { + margin-top: 15px; +} + +.thing-verb { + margin-bottom: 15px; +} + +.thing-label { + float: left; + width: 250px; +} + +.thing-input { + float: left; + margin-bottom: 15px; +} + +.thing-field-end { + clear: both; +}
\ No newline at end of file diff --git a/view/de/follow_notify_eml.tpl b/view/de/follow_notify_eml.tpl index a866a08a2..ba07b19da 100644 --- a/view/de/follow_notify_eml.tpl +++ b/view/de/follow_notify_eml.tpl @@ -1,14 +1,14 @@ -Hallo $[myname], +Dear {{$myname}}, -Du hast einen neuen Anhänger auf $[sitename] - '$[requestor]'. +You have a new follower at {{$sitename}} - '{{$requestor}}'. -Du kannst das Profil unter $[url] besuchen. +You may visit their profile at {{$url}}. -Bitte melde dich an um die Anfrage zu bestätigen oder sie zu ignorieren bzw. abzulehnen. +Please login to your site to approve or ignore/cancel the request. -$[siteurl] +{{$siteurl}} -beste Grüße, +Regards, - $[sitename] Administrator
\ No newline at end of file + {{$sitename}} administrator diff --git a/view/de/friend_complete_eml.tpl b/view/de/friend_complete_eml.tpl index 39f2725ea..1c647b994 100644 --- a/view/de/friend_complete_eml.tpl +++ b/view/de/friend_complete_eml.tpl @@ -1,22 +1,22 @@ -Hallo $[username], +Dear {{$username}}, - Großartige Neuigkeiten... '$[fn]' auf '$[dfrn_url]' hat -deine Kontaktanfrage auf '$[sitename]' bestätigt. + Great news... '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. -Ihr seid nun beidseitige Freunde und könnt Statusmitteilungen, Bilder und Emails -ohne Einschränkungen austauschen. +You are now mutual friends and may exchange status updates, photos, and email +without restriction. -Rufe deine 'Kontakte' Seite auf $[sitename] auf, wenn du -Änderungen an diesem Kontakt vornehmen willst. +Please visit your 'Connnections' page at {{$sitename}} if you wish to make +any changes to this relationship. -$[siteurl] +{{$siteurl}} -[Du könntest z.B. ein spezielles Profil anlegen, das Informationen enthält, -die nicht für die breite Öffentlichkeit sichtbar sein sollen und es für '$[fn]' zum Betrachten freigeben]. +[For instance, you may create a separate profile with information that is not +available to the general public - and assign viewing rights to '{{$fn}}']. -Beste Grüße, +Sincerely, - $[sitename] Administrator + {{$sitename}} Administrator -
\ No newline at end of file + diff --git a/view/de/htconfig.tpl b/view/de/htconfig.tpl new file mode 100644 index 000000000..493cb5d00 --- /dev/null +++ b/view/de/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/de/intro_complete_eml.tpl b/view/de/intro_complete_eml.tpl index 9d47a6fb1..2c2428d68 100644 --- a/view/de/intro_complete_eml.tpl +++ b/view/de/intro_complete_eml.tpl @@ -1,22 +1,22 @@ -Hallo $[username], +Dear {{$username}}, - '$[fn]' auf '$[dfrn_url]' hat deine Verbindungsanfrage -auf '$[sitename]' akzeptiert. + '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. - '$[fn]' hat entschieden Dich als "Fan" zu akzeptieren, was zu einigen -Einschränkungen bei der Kommunikation führt - wie zB das Schreiben von privaten Nachrichten und einige Profil -Interaktionen. Sollte dies ein Promi-Konto oder eine Forum-Seite sein, werden die Einstellungen -automatisch angewandt. + '{{$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]' kann wählen, ob die Freundschaft in eine beidseitige oder alles erlaubende -Beziehung in der Zukunft erweitert wird. + '{{$fn}}' may choose to extend this into a two-way or more permissive +relationship in the future. - Du empfängst ab sofort die öffentlichen Beiträge von '$[fn]', -auf deiner "Netzwerk" Seite. + You will start receiving public status updates from '{{$fn}}', +which will appear on your 'Matrix' page at -$[siteurl] +{{$siteurl}} -Beste Grüße, +Sincerely, - $[sitename] Administrator
\ No newline at end of file + {{$sitename}} Administrator diff --git a/view/de/lostpass_eml.tpl b/view/de/lostpass_eml.tpl index 9f71bbfb1..3b79d2791 100644 --- a/view/de/lostpass_eml.tpl +++ b/view/de/lostpass_eml.tpl @@ -1,32 +1,32 @@ -Hallo $[username], - Auf $[sitename] wurde eine Anfrage zum Zurücksetzen deines -Passworts empfangen. Um diese zu bestätigen folge bitte dem Link -weiter unten oder kopiere ihn in die Adressleiste deines Browsers. +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. -Wenn du die Anfrage NICHT gesendet haben solltest, dann IGNORIERE -bitte diese Mail und den Link. +If you did NOT request this change, please DO NOT follow the link +provided and ignore and/or delete this email. -Dein Passwort wird nicht geändert werden solange wir nicht überprüfen -konnten, dass du die Anfrage gestellt hast. +Your password will not be changed unless we can verify that you +issued this request. -Folge diesem Link um deine Identität zu verifizieren: +Follow this link to verify your identity: -$[reset_link] +{{$reset_link}} -Du wirst eine weitere Email erhalten mit dem neuen Passwort. +You will then receive a follow-up message containing the new password. -Das Passwort kannst du anschließend wie gewohnt in deinen Account Einstellungen ändern. +You may change that password from your account settings page after logging in. -Die Login-Details sind die folgenden: +The login details are as follows: -Adresse der Seite: $[siteurl] -Login Name: $[email] +Site Location: {{$siteurl}} +Login Name: {{$email}} -Grüße, - $[sitename] Administrator +Sincerely, + {{$sitename}} Administrator -
\ No newline at end of file + diff --git a/view/de/passchanged_eml.tpl b/view/de/passchanged_eml.tpl index dcabbbe49..0d94be3c2 100644 --- a/view/de/passchanged_eml.tpl +++ b/view/de/passchanged_eml.tpl @@ -1,20 +1,20 @@ -Hallo $[username], - Dein Passwort wurde wie gewünscht geändert. Bitte bewahre diese -Informationen in deinen Unterlagen auf (oder ändere dein Passwort sofort -in etwas, was du dir merken kannst). +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). -Deine Login Daten wurden wie folgt geändert: +Your login details are as follows: -Adresse der Seite: $[siteurl] -Login Name: $[email] -Passwort: $[new_password] +Site Location: {{$siteurl}} +Login Name: {{$email}} +Password: {{$new_password}} -Du kannst dein Passwort unter deinen Account-Einstellungen ändern, wenn du angemeldet bist. +You may change that password from your account settings page after logging in. -Beste Grüße, - $[sitename] Administrator +Sincerely, + {{$sitename}} Administrator -
\ No newline at end of file + diff --git a/view/de/register_open_eml.tpl b/view/de/register_open_eml.tpl index 4392e8da2..4b397201c 100644 --- a/view/de/register_open_eml.tpl +++ b/view/de/register_open_eml.tpl @@ -1,34 +1,19 @@ -Hallo $[username], - Danke für deine Anmeldung auf $[sitename]. Dein Account wurde angelegt. -Hier die Login Details: +An account has been created at {{$sitename}} for this email address. +The login details are as follows: +Site Location: {{$siteurl}} +Login: {{$email}} +Password: (the password which was provided during registration) -Adresse der Seite: $[siteurl] -Login Name: $[email] -Passwort: $[password] +If this account was created without your knowledge and is not desired, you may +visit this site and reset the password. This will allow you to remove the +account from the links on the Settings page, and we +apologise for any inconvenience. -Du kannst und solltest das Passwort in den "Einstellungen" zu deinem Account ändern, -nachdem du dich erstmalig eingeloggt hast. +Thank you and welcome to {{$sitename}}. -Bitte nimm dir einige Augenblicke Zeit, um die anderen Einstellungen auf der Seite kennenzulernen und zu überprüfen. +Sincerely, + {{$sitename}} Administrator -Eventuell möchtest du außerdem einige grundlegende Informationen in deinem Standardprofil (auf der "Profile" Seite) eintragen, -damit andere Leute dich einfacher finden können. - -Wir empfehlen den kompletten Namen anzugeben, ein eigenes Profilbild hochzuladen, -sowie ein paar "Profil-Schlüsselwörter" einzutragen (um leichter Menschen mit gleichen Interessen zu finden) - und -vielleicht auch in welchen Land du lebst; falls du nicht konkreter -werden möchtest. - -Wir respektieren dein Recht auf Privatsphäre und keine dieser Angaben ist notwendig. -Wenn du ganz neu bei Friendica bist und niemanden kennst, werden sie dir aber helfen -ein paar neue und interessante Freunde zu finden. - - -Danke und willkommen auf $[sitename]. - -Beste Grüße, - $[sitename] Administrator - -
\ No newline at end of file + diff --git a/view/de/register_verify_eml.tpl b/view/de/register_verify_eml.tpl index 8f25f5c36..85d9a12d3 100644 --- a/view/de/register_verify_eml.tpl +++ b/view/de/register_verify_eml.tpl @@ -1,25 +1,25 @@ -Eine Neuanmeldung auf $[sitename] benötigt -deine Aufmerksamkeit. +A new user registration request was received at {{$sitename}} which requires +your approval. -Die Login-Einzelheiten sind die folgenden: +The login details are as follows: -Kompletter Name: $[username] -Adresse der Seite: $[siteurl] -Login Name: $[email] +Site Location: {{$siteurl}} +Login Name: {{$email}} +IP Address: {{$details}} +To approve this request please visit the following link: -Um die Anfrage zu bestätigen besuche bitte: +{{$siteurl}}/regmod/allow/{{$hash}} -$[siteurl]/regmod/allow/$[hash] +To deny the request and remove the account, please visit: -Um die Anfrage abzulehnen und den Account zu löschen besuche bitte: +{{$siteurl}}/regmod/deny/{{$hash}} -$[siteurl]/regmod/deny/$[hash] +Thank you. -Danke! diff --git a/view/de/request_notify_eml.tpl b/view/de/request_notify_eml.tpl index 057044e8c..d01b8ff27 100644 --- a/view/de/request_notify_eml.tpl +++ b/view/de/request_notify_eml.tpl @@ -1,17 +1,17 @@ -Hallo $[myname], +Dear {{$myname}}, -du hast eine Kontaktanfrage von '$[requestor]' auf $[sitename] +You have just received a connection request at {{$sitename}} -erhalten. +from '{{$requestor}}'. -Du kannst sein/ihr Profil unter $[url] finden. +You may visit their profile at {{$url}}. -Bitte melde dich an um die komplette Vorstellung einzusehen -und die Anfrage zu bestätigen oder zu ignorieren oder abzulehnen. +Please login to your site to view the complete introduction +and approve or ignore/cancel the request. -$[siteurl] +{{$siteurl}} -Beste Grüße, +Regards, - $[sitename] Administrator
\ No newline at end of file + {{$sitename}} administrator diff --git a/view/de/update_fail_eml.tpl b/view/de/update_fail_eml.tpl index cfb55e240..a7df8fc2f 100644 --- a/view/de/update_fail_eml.tpl +++ b/view/de/update_fail_eml.tpl @@ -1,11 +1,13 @@ -Hi,
-ich bin $sitename.
-Die friendica Entwickler haben jüngst Update $update veröffentlicht,
-aber als ich versucht habe es zu installieren ist etwas schrecklich schief gegangen.
-Das sollte schnellst möglichst behoben werden und ich kann das nicht alleine machen.
-Bitte wende dich an einen friendica Entwickler, falls du mir nicht alleine helfen kannst. Meine Datenbank könnte unbrauchbar sein.
+Hey,
+I'm the web server at {{$sitename}};
+
+The Red Matrix developers released update {{$update}} recently,
+but when I tried to install it, something went terribly wrong.
+This needs to be fixed soon and it requires human intervention.
+Please contact a Red developer if you can not figure out how to
+fix it on your own. My database might be invalid.
-Die Fehlermeldung lautet '$error'.
+The error message is '{{$error}}'.
-Tut mir Leid!
-Deine friendica Instanz auf $siteurl
\ No newline at end of file +Apologies for the inconvenience,
+ your web server at {{$siteurl}}
\ No newline at end of file diff --git a/view/en/follow_notify_eml.tpl b/view/en/follow_notify_eml.tpl index 917024b84..ba07b19da 100644 --- a/view/en/follow_notify_eml.tpl +++ b/view/en/follow_notify_eml.tpl @@ -1,14 +1,14 @@ -Dear $[myname], +Dear {{$myname}}, -You have a new follower at $[sitename] - '$[requestor]'. +You have a new follower at {{$sitename}} - '{{$requestor}}'. -You may visit their profile at $[url]. +You may visit their profile at {{$url}}. Please login to your site to approve or ignore/cancel the request. -$[siteurl] +{{$siteurl}} Regards, - $[sitename] administrator + {{$sitename}} administrator diff --git a/view/en/friend_complete_eml.tpl b/view/en/friend_complete_eml.tpl index 89f578388..1c647b994 100644 --- a/view/en/friend_complete_eml.tpl +++ b/view/en/friend_complete_eml.tpl @@ -1,22 +1,22 @@ -Dear $[username], +Dear {{$username}}, - Great news... '$[fn]' at '$[dfrn_url]' has accepted -your connection request at '$[sitename]'. + Great news... '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. 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 +Please visit your 'Connnections' page at {{$sitename}} if you wish to make any changes to this relationship. -$[siteurl] +{{$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]']. +available to the general public - and assign viewing rights to '{{$fn}}']. Sincerely, - $[sitename] Administrator + {{$sitename}} Administrator diff --git a/view/en/htconfig.tpl b/view/en/htconfig.tpl index 6f22f8476..0417e9af2 100644 --- a/view/en/htconfig.tpl +++ b/view/en/htconfig.tpl @@ -3,10 +3,11 @@ // Set the following for your MySQL installation // Copy or rename this file to .htconfig.php -$db_host = '$dbhost'; -$db_user = '$dbuser'; -$db_pass = '$dbpass'; -$db_data = '$dbdata'; +$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 @@ -24,13 +25,14 @@ $db_data = '$dbdata'; // 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'; +$default_timezone = '{{$timezone}}'; // What is your site name? -$a->config['system']['baseurl'] = '$siteurl'; +$a->config['system']['baseurl'] = '{{$siteurl}}'; $a->config['system']['sitename'] = "Red Matrix"; -$a->config['system']['location_hash'] = '$site_id'; +$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 @@ -41,7 +43,20 @@ $a->config['system']['location_hash'] = '$site_id'; $a->config['system']['register_policy'] = REGISTER_OPEN; $a->config['system']['register_text'] = ''; -$a->config['system']['admin_email'] = '$adminmail'; +$a->config['system']['admin_email'] = '{{$adminmail}}'; + + +// Site access restrictions. By default we will create private sites. +// Your choices are ACCESS_PRIVATE, ACCESS_PAID, and ACCESS_FREE. +// If you leave REGISTER_OPEN above, anybody may register on your +// site, however your site will not be listed anywhere as an open +// registration hub. We will use the system access policy (below) +// to determine whether or not to list your site in the directory +// as an open hub where anybody may create accounts. Your choice of +// paid or free determines how these listings will be presented. + +$a->config['system']['access_policy'] = ACCESS_PRIVATE; + // Maximum size of an imported message, 0 is unlimited @@ -53,7 +68,7 @@ $a->config['system']['maximagesize'] = 800000; // Location of PHP command line processor -$a->config['system']['php_path'] = '$phpath'; +$a->config['system']['php_path'] = '{{$phpath}}'; // Configure how we communicate with directory servers. // DIRECTORY_MODE_NORMAL = directory client, we will find a directory diff --git a/view/en/intro_complete_eml.tpl b/view/en/intro_complete_eml.tpl index cd78b2a15..2c2428d68 100644 --- a/view/en/intro_complete_eml.tpl +++ b/view/en/intro_complete_eml.tpl @@ -1,22 +1,22 @@ -Dear $[username], +Dear {{$username}}, - '$[fn]' at '$[dfrn_url]' has accepted -your connection request at '$[sitename]'. + '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. - '$[fn]' has chosen to accept you a "fan", which restricts + '{{$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]' may choose to extend this into a two-way or more permissive + '{{$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 + You will start receiving public status updates from '{{$fn}}', +which will appear on your 'Matrix' page at -$[siteurl] +{{$siteurl}} Sincerely, - $[sitename] Administrator + {{$sitename}} Administrator diff --git a/view/en/lostpass_eml.tpl b/view/en/lostpass_eml.tpl index 1330caa12..3b79d2791 100644 --- a/view/en/lostpass_eml.tpl +++ b/view/en/lostpass_eml.tpl @@ -1,6 +1,6 @@ -Dear $[username], - A request was recently received at $[sitename] to reset your account +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. @@ -12,7 +12,7 @@ issued this request. Follow this link to verify your identity: -$[reset_link] +{{$reset_link}} You will then receive a follow-up message containing the new password. @@ -20,13 +20,13 @@ You may change that password from your account settings page after logging in. The login details are as follows: -Site Location: $[siteurl] -Login Name: $[email] +Site Location: {{$siteurl}} +Login Name: {{$email}} Sincerely, - $[sitename] Administrator + {{$sitename}} Administrator diff --git a/view/en/passchanged_eml.tpl b/view/en/passchanged_eml.tpl index e7cc0e2dc..0d94be3c2 100644 --- a/view/en/passchanged_eml.tpl +++ b/view/en/passchanged_eml.tpl @@ -1,5 +1,5 @@ -Dear $[username], +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). @@ -7,14 +7,14 @@ something that you will remember). Your login details are as follows: -Site Location: $[siteurl] -Login Name: $[email] -Password: $[new_password] +Site Location: {{$siteurl}} +Login Name: {{$email}} +Password: {{$new_password}} You may change that password from your account settings page after logging in. Sincerely, - $[sitename] Administrator + {{$sitename}} Administrator diff --git a/view/en/register_open_eml.tpl b/view/en/register_open_eml.tpl index 4191f803b..4b397201c 100644 --- a/view/en/register_open_eml.tpl +++ b/view/en/register_open_eml.tpl @@ -1,9 +1,9 @@ -An account has been created at $[sitename] for this email address. +An account has been created at {{$sitename}} for this email address. The login details are as follows: -Site Location: $[siteurl] -Login: $[email] +Site Location: {{$siteurl}} +Login: {{$email}} Password: (the password which was provided during registration) If this account was created without your knowledge and is not desired, you may @@ -11,9 +11,9 @@ visit this site and reset the password. This will allow you to remove the account from the links on the Settings page, and we apologise for any inconvenience. -Thank you and welcome to $[sitename]. +Thank you and welcome to {{$sitename}}. Sincerely, - $[sitename] Administrator + {{$sitename}} Administrator diff --git a/view/en/register_verify_eml.tpl b/view/en/register_verify_eml.tpl index c23de6a2a..85d9a12d3 100644 --- a/view/en/register_verify_eml.tpl +++ b/view/en/register_verify_eml.tpl @@ -1,24 +1,24 @@ -A new user registration request was received at $[sitename] which requires +A new user registration request was received at {{$sitename}} which requires your approval. The login details are as follows: -Site Location: $[siteurl] -Login Name: $[email] -IP Address: $[details] +Site Location: {{$siteurl}} +Login Name: {{$email}} +IP Address: {{$details}} To approve this request please visit the following link: -$[siteurl]/regmod/allow/$[hash] +{{$siteurl}}/regmod/allow/{{$hash}} To deny the request and remove the account, please visit: -$[siteurl]/regmod/deny/$[hash] +{{$siteurl}}/regmod/deny/{{$hash}} Thank you. diff --git a/view/en/request_notify_eml.tpl b/view/en/request_notify_eml.tpl index ad118a673..d01b8ff27 100644 --- a/view/en/request_notify_eml.tpl +++ b/view/en/request_notify_eml.tpl @@ -1,17 +1,17 @@ -Dear $[myname], +Dear {{$myname}}, -You have just received a connection request at $[sitename] +You have just received a connection request at {{$sitename}} -from '$[requestor]'. +from '{{$requestor}}'. -You may visit their profile at $[url]. +You may visit their profile at {{$url}}. Please login to your site to view the complete introduction and approve or ignore/cancel the request. -$[siteurl] +{{$siteurl}} Regards, - $[sitename] administrator + {{$sitename}} administrator diff --git a/view/en/update_fail_eml.tpl b/view/en/update_fail_eml.tpl index 548e1a0df..a7df8fc2f 100644 --- a/view/en/update_fail_eml.tpl +++ b/view/en/update_fail_eml.tpl @@ -1,11 +1,13 @@ Hey,
-I'm $sitename;
-The friendica developers released update $update recently,
+I'm the web server at {{$sitename}};
+
+The Red Matrix developers released update {{$update}} recently,
but when I tried to install it, something went terribly wrong.
-This needs to be fixed soon and I can't do it alone. Please contact a
-friendica developer if you can not help me on your own. My database might be invalid.
+This needs to be fixed soon and it requires human intervention.
+Please contact a Red developer if you can not figure out how to
+fix it on your own. My database might be invalid.
-The error message is '$error'.
+The error message is '{{$error}}'.
-I'm sorry,
-your friendica server at $siteurl
\ No newline at end of file +Apologies for the inconvenience,
+ your web server at {{$siteurl}}
\ No newline at end of file diff --git a/view/eo/follow_notify_eml.tpl b/view/eo/follow_notify_eml.tpl index e76453ac1..ba07b19da 100644 --- a/view/eo/follow_notify_eml.tpl +++ b/view/eo/follow_notify_eml.tpl @@ -1,14 +1,14 @@ -Kara $[myname], +Dear {{$myname}}, -Vi havas novan abonanton ĉe $[sitename] - '$[requestor]'. +You have a new follower at {{$sitename}} - '{{$requestor}}'. -Vi povas viziti ilian profilon ĉe $[url]. +You may visit their profile at {{$url}}. -Bonvolu ensaluti en vian retejon por aprobi au malaprobi/nuligi la peton. +Please login to your site to approve or ignore/cancel the request. -$[siteurl] +{{$siteurl}} -Salutoj, +Regards, - [$sitename] administranto
\ No newline at end of file + {{$sitename}} administrator diff --git a/view/eo/friend_complete_eml.tpl b/view/eo/friend_complete_eml.tpl index f429ca450..1c647b994 100644 --- a/view/eo/friend_complete_eml.tpl +++ b/view/eo/friend_complete_eml.tpl @@ -1,22 +1,22 @@ -Kara $[username], +Dear {{$username}}, - Boegaj novaĵoj.... '$[fn]' ĉe '$[dfrn_url]' aprobis -vian kontaktpeton ĉe '$[sitename]'. + Great news... '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. -Vi nun estas reciprokaj amikoj kaj povas interŝanĝi afiŝojn, bildojn kaj mesaĝojn -senkatene. +You are now mutual friends and may exchange status updates, photos, and email +without restriction. -Bonvolu viziti vian 'Kontaktoj' paĝon ĉe $[sitename] se vi volas -ŝangi la rilaton. +Please visit your 'Connnections' page at {{$sitename}} if you wish to make +any changes to this relationship. -$[siteurl] +{{$siteurl}} -[Ekzempe, vi eble volas krei disiĝintan profilon kun informoj kiu ne -haveblas al la komuna publiko - kaj rajtigi '$[fn]' al ĝi]' +[For instance, you may create a separate profile with information that is not +available to the general public - and assign viewing rights to '{{$fn}}']. -Salutoj, +Sincerely, - $[sitename] administranto + {{$sitename}} Administrator -
\ No newline at end of file + diff --git a/view/eo/htconfig.tpl b/view/eo/htconfig.tpl new file mode 100644 index 000000000..493cb5d00 --- /dev/null +++ b/view/eo/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/eo/intro_complete_eml.tpl b/view/eo/intro_complete_eml.tpl index 56a4fd880..2c2428d68 100644 --- a/view/eo/intro_complete_eml.tpl +++ b/view/eo/intro_complete_eml.tpl @@ -1,22 +1,22 @@ -Kara $[username], +Dear {{$username}}, - '$[fn]' ĉe '$[dfrn_url]' akceptis -vian kontaktpeton ĉe '$[sitename]'. + '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. - '$[fn]' elektis vin kiel "admiranto", kio malpermesas -kelkajn komunikilojn - ekzemple privataj mesaĝoj kaj kelkaj profilrilataj -agoj. Se tio estas konto de komunumo aŭ de eminentulo, tiaj agordoj -aŭtomate aktiviĝis. + '{{$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]' eblas konverti la rilaton al ambaŭdirekta rilato -aŭ apliki pli da permesoj. + '{{$fn}}' may choose to extend this into a two-way or more permissive +relationship in the future. - Vi ekricevos publikajn afiŝojn de '$[fn]', -kiuj aperos sur via 'Reto' paĝo ĉe + You will start receiving public status updates from '{{$fn}}', +which will appear on your 'Matrix' page at -$[siteurl] +{{$siteurl}} -Salutoj, +Sincerely, - $[sitename] administranto
\ No newline at end of file + {{$sitename}} Administrator diff --git a/view/eo/lostpass_eml.tpl b/view/eo/lostpass_eml.tpl index 26d1a3c23..3b79d2791 100644 --- a/view/eo/lostpass_eml.tpl +++ b/view/eo/lostpass_eml.tpl @@ -1,32 +1,32 @@ -Kara $[username], - $[sitename] ricevis peton por rekomencigi vian pasvorton. -Por konfirmi la peton, bonvolu klaki la sekvantan konfirmligilon -aŭ alglui ĝin en la adreskampo de via retumilo. +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. -Se vi NE petis tiun ŝanĝon, bonvolu NE KLAKU la -sekvantan ligilon kaj ignoru aŭ forvisu ĉi-mesaĝon. +If you did NOT request this change, please DO NOT follow the link +provided and ignore and/or delete this email. -Ni ne ŝanĝu vian pasvorton se ni ne povas kontroli ĉu estas vi -kiu petis la ŝanĝon. +Your password will not be changed unless we can verify that you +issued this request. -Sekvu ĉi tion ligilon por konfirmi vian identecon: +Follow this link to verify your identity: -$[reset_link] +{{$reset_link}} -Poste, vi ricevos mesaĝon enhavonte la novan pasvorton. +You will then receive a follow-up message containing the new password. -Vi eblas ŝangi la pasvorton ĉe viaj kontdoagordoj paĝo post ensaluti. +You may change that password from your account settings page after logging in. -La akreditaĵoj estas: +The login details are as follows: -Retejo:»$[siteurl] -Salutnomo:»$[email] +Site Location: {{$siteurl}} +Login Name: {{$email}} -Salutoj, - $[sitename] administranto +Sincerely, + {{$sitename}} Administrator -
\ No newline at end of file + diff --git a/view/eo/passchanged_eml.tpl b/view/eo/passchanged_eml.tpl index ee775d5dd..0d94be3c2 100644 --- a/view/eo/passchanged_eml.tpl +++ b/view/eo/passchanged_eml.tpl @@ -1,20 +1,20 @@ -Kara $[username], - Via pasvorto estas ŝanĝita laŭ via peto. Bonvolu konservi ĉi tiun -informon (aŭ tuj ŝanĝu vian pasvorton al -iu kiun vi povas memori). +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). -Jen viaj legitimaĵoj: +Your login details are as follows: -Retejo:»$[siteurl] -Salutnomo:»$[email] -Pasvorto:»$[new_password] +Site Location: {{$siteurl}} +Login Name: {{$email}} +Password: {{$new_password}} -Vi eblas ŝanĝi la pasvorton ĉe la paĝo Agordoj -> Konto kiam vi estas ensalutita. +You may change that password from your account settings page after logging in. -Salutoj, - $[sitename] administranto +Sincerely, + {{$sitename}} Administrator -
\ No newline at end of file + diff --git a/view/eo/register_open_eml.tpl b/view/eo/register_open_eml.tpl index 735ea9a4b..4b397201c 100644 --- a/view/eo/register_open_eml.tpl +++ b/view/eo/register_open_eml.tpl @@ -1,34 +1,19 @@ -Kara $[username], - Dankon pro via registrado ĉe $[sitename]. Vian konton estas kreita. -Jen viaj legitimaĵoj: +An account has been created at {{$sitename}} for this email address. +The login details are as follows: +Site Location: {{$siteurl}} +Login: {{$email}} +Password: (the password which was provided during registration) -Retejo:»$[siteurl] -Salutnomo:»$[email] -Pasvorto:»$[password] +If this account was created without your knowledge and is not desired, you may +visit this site and reset the password. This will allow you to remove the +account from the links on the Settings page, and we +apologise for any inconvenience. -Vi eblas ŝanĝi la pasvorton ĉe la paĝo Agordoj -> Konto kiam vi estas -ensalutita. +Thank you and welcome to {{$sitename}}. -Bonvolu preni kelkajn momentoj por kontroli la aliajn kontaktagordojn. +Sincerely, + {{$sitename}} Administrator -Eble vi volas aldoni kelkajn bazajn informojn al via profilo -(ĉe la paĝo "Profiloj"), tial vi troveblas al aliaj uzantoj. - -Ni rekomendas agordi vian plenan noman, aldoni profilbildon, -kaj aldojo kelkajn ŝlosilvortojn (tre utila por trovi novajn amikojn) - kaj -eble en kiu lando vi loĝas, se vi ne volas pli specifa -ol tio. - -Ni tute respektas vian privatecon, kaj neniu de tiuj agordoj necesas. -Se vi novas kaj ne konas iun ĉi tie, ili eble helpas -vin trovi novajn kaj interesajn amikojn. - - -Dankon kaj bonvenon ĉe $[sitename]. - -Salutoj, - $[sitename] administranto - -
\ No newline at end of file + diff --git a/view/eo/register_verify_eml.tpl b/view/eo/register_verify_eml.tpl index cc99ab4b6..85d9a12d3 100644 --- a/view/eo/register_verify_eml.tpl +++ b/view/eo/register_verify_eml.tpl @@ -1,25 +1,25 @@ -Nova peto por registrado atendas ĉe $[sitename] -kaj bezonas vian aprobon. +A new user registration request was received at {{$sitename}} which requires +your approval. -Jen la detaloj de la peto: +The login details are as follows: -Plena Nomo:»$[username] -Retejo:»$[siteurl] -Salutnomo:»$[email] +Site Location: {{$siteurl}} +Login Name: {{$email}} +IP Address: {{$details}} +To approve this request please visit the following link: -Aprobonte la peton, bonvolu klaki tiun ligilon: +{{$siteurl}}/regmod/allow/{{$hash}} -$[siteurl]/regmod/allow/$[hash] +To deny the request and remove the account, please visit: -Malaprobonte kaj forviŝonte la konton, bonvolu klaki: +{{$siteurl}}/regmod/deny/{{$hash}} -$[siteurl]/regmod/deny/$[hash] +Thank you. -Dankon! diff --git a/view/eo/request_notify_eml.tpl b/view/eo/request_notify_eml.tpl index eb91414b9..d01b8ff27 100644 --- a/view/eo/request_notify_eml.tpl +++ b/view/eo/request_notify_eml.tpl @@ -1,17 +1,17 @@ -Kara $[myname], +Dear {{$myname}}, -Vi ĵus ricevis kontaktpeton ĉe $[sitename] +You have just received a connection request at {{$sitename}} -de '$[requestor]'. +from '{{$requestor}}'. -Vi eblas viziti la profilon de la petanto ĉe $[url]. +You may visit their profile at {{$url}}. -Bonvolu ensaluti en la retejo por vidi la plenan prezenton -kaj aprobi aŭ ignori/nuligi la peton. +Please login to your site to view the complete introduction +and approve or ignore/cancel the request. -$[siteurl] +{{$siteurl}} -Salutoj, +Regards, - $[sitename] administranto
\ No newline at end of file + {{$sitename}} administrator diff --git a/view/eo/update_fail_eml.tpl b/view/eo/update_fail_eml.tpl index f7e0d8bce..a7df8fc2f 100644 --- a/view/eo/update_fail_eml.tpl +++ b/view/eo/update_fail_eml.tpl @@ -1,11 +1,13 @@ -Saluton!
-Mi estas $sitename.
-La programistoj de Frienda eldonis ĝisdatigon $update antaŭ ne longe,
-sed kiam mi provis instali ĝin, io terure malsukcesis.
-Tio tuj bezonas riparon kaj mi ne povas fari ĝin sole. Bonvolu kontakti
-Friendica programistion se vi ne povas helpi vin mem. Mia datumbazo eble ne plu validas.
+Hey,
+I'm the web server at {{$sitename}};
+
+The Red Matrix developers released update {{$update}} recently,
+but when I tried to install it, something went terribly wrong.
+This needs to be fixed soon and it requires human intervention.
+Please contact a Red developer if you can not figure out how to
+fix it on your own. My database might be invalid.
-La erarmesaĝo estas '$error'.
+The error message is '{{$error}}'.
-Mi bedaŭras,
-via Friendica servilo ĉe $siteurl
\ No newline at end of file +Apologies for the inconvenience,
+ your web server at {{$siteurl}}
\ No newline at end of file diff --git a/view/es/follow_notify_eml.tpl b/view/es/follow_notify_eml.tpl index 17bd2c01c..ba07b19da 100644 --- a/view/es/follow_notify_eml.tpl +++ b/view/es/follow_notify_eml.tpl @@ -1,13 +1,14 @@ -Estimado/a $myname, +Dear {{$myname}}, -Tienes un nuevo seguidor en $sitename - '$requestor'. +You have a new follower at {{$sitename}} - '{{$requestor}}'. -Puedes visitar su perfil en $url. +You may visit their profile at {{$url}}. -Inicie sesión en su sitio para aprobar o rechazar/cancelar la solicitud. +Please login to your site to approve or ignore/cancel the request. -$siteurl +{{$siteurl}} +Regards, - $sitename + {{$sitename}} administrator diff --git a/view/es/friend_complete_eml.tpl b/view/es/friend_complete_eml.tpl index 0dc867efd..1c647b994 100644 --- a/view/es/friend_complete_eml.tpl +++ b/view/es/friend_complete_eml.tpl @@ -1,19 +1,22 @@ -Estimado/a $username, +Dear {{$username}}, - Grandes noticias... '$fn' a '$dfrn_url' ha aceptado tu solicitud de conexión en '$sitename'. + Great news... '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. -Ahora sois amigos mutuos y podreis intercambiar actualizaciones de estado, fotos, y correo electrónico -sin restricción alguna. +You are now mutual friends and may exchange status updates, photos, and email +without restriction. -Visita tu página de 'Contactos' en $sitename si desear realizar cualquier cambio en esta relación. +Please visit your 'Connnections' page at {{$sitename}} if you wish to make +any changes to this relationship. -$siteurl +{{$siteurl}} -[Por ejemplo, puedes crear un perfil independiente con información que no está disponible al público en general -- y asignar derechos de visualización a '$fn']. +[For instance, you may create a separate profile with information that is not +available to the general public - and assign viewing rights to '{{$fn}}']. +Sincerely, - $sitename + {{$sitename}} Administrator diff --git a/view/es/htconfig.tpl b/view/es/htconfig.tpl new file mode 100644 index 000000000..493cb5d00 --- /dev/null +++ b/view/es/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/es/intro_complete_eml.tpl b/view/es/intro_complete_eml.tpl index a2964808c..2c2428d68 100644 --- a/view/es/intro_complete_eml.tpl +++ b/view/es/intro_complete_eml.tpl @@ -1,21 +1,22 @@ -Estimado/a $username, +Dear {{$username}}, - '$fn' en '$dfrn_url' ha aceptado tu petición -conexión a '$sitename'. + '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. - '$fn' ha optado por aceptarte come "fan", que restringe ciertas -formas de comunicación, como mensajes privados y algunas interacciones -con el perfil. Si eres una "celebridad" o una página de comunidad, -estos ajustes se aplican automáticamente + '{{$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' puede optar por extender esto en una relación más permisiva -en el futuro. + '{{$fn}}' may choose to extend this into a two-way or more permissive +relationship in the future. - Empezarás a recibir las actualizaciones públicas de estado de '$fn', -que aparecerán en tu página "Red" en + You will start receiving public status updates from '{{$fn}}', +which will appear on your 'Matrix' page at -$siteurl +{{$siteurl}} +Sincerely, - $sitename + {{$sitename}} Administrator diff --git a/view/es/lostpass_eml.tpl b/view/es/lostpass_eml.tpl index 607744bfe..3b79d2791 100644 --- a/view/es/lostpass_eml.tpl +++ b/view/es/lostpass_eml.tpl @@ -1,34 +1,32 @@ -Estimado/a $username, - - Se ha recibido una solicitud en $sitename recientemente para restablecer -tu contraseña. Para confirmar esta solicitud, por favor seleccione el enlace de -verificación debajo o cópialo y pégalo en la barra de direcciones de tu navegador. +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. -Se NO has solicitado este cambio, por favor NO sigas el enlace indicado e ignora -y/o elimina este mensaje. +If you did NOT request this change, please DO NOT follow the link +provided and ignore and/or delete this email. -Tu contraseña no se cambiará a menos que podamos verificar que eres tu quien -emitió esta solicitud. +Your password will not be changed unless we can verify that you +issued this request. -Sigue este enlace para verificar tu identidad: +Follow this link to verify your identity: -$reset_link +{{$reset_link}} -A continuación recibirás un mensaje con la nueva contraseña. +You will then receive a follow-up message containing the new password. -Despues de accceder, podrás cambiar la contraseña de tu cuenta en la página de -configuración. +You may change that password from your account settings page after logging in. -Los datos de acceso son los siguientes: +The login details are as follows: -Sitio: $siteurl -Nombre: $email +Site Location: {{$siteurl}} +Login Name: {{$email}} -Saludos, - La administración de $sitename +Sincerely, + {{$sitename}} Administrator diff --git a/view/es/passchanged_eml.tpl b/view/es/passchanged_eml.tpl index 7959846b7..0d94be3c2 100644 --- a/view/es/passchanged_eml.tpl +++ b/view/es/passchanged_eml.tpl @@ -1,19 +1,20 @@ -Estimado/a $username, +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). - Tu contraseña ha sido modificada como has solicitado. Anota esta información -(o cambia inmediatamente la contraseña con algo que recuerdes). +Your login details are as follows: -Tus datos de acceso son los siguientes: +Site Location: {{$siteurl}} +Login Name: {{$email}} +Password: {{$new_password}} -Sitio: $siteurl -Nombre: $email -Contraseña: $new_password +You may change that password from your account settings page after logging in. -Después de acceder puedes cambiar la contraseña desde la página de configuración de tu perfil. - - $sitename +Sincerely, + {{$sitename}} Administrator diff --git a/view/es/register_open_eml.tpl b/view/es/register_open_eml.tpl index 7c7a90b40..4b397201c 100644 --- a/view/es/register_open_eml.tpl +++ b/view/es/register_open_eml.tpl @@ -1,21 +1,19 @@ -Estimado/a $username, +An account has been created at {{$sitename}} for this email address. +The login details are as follows: - Gracias por registrarte en $sitename. Tu cuenta ha sido creada. +Site Location: {{$siteurl}} +Login: {{$email}} +Password: (the password which was provided during registration) +If this account was created without your knowledge and is not desired, you may +visit this site and reset the password. This will allow you to remove the +account from the links on the Settings page, and we +apologise for any inconvenience. -Los datos de acceso son los siguientes: +Thank you and welcome to {{$sitename}}. -Sitio: $siteurl -Nombre: $email -Contraseña: $password - - -Después de acceder puedes cambiar tu contraseña en la página de "Configuración". - -Toma un momento para revisar las otras configuraciones de la cuenta en esa página. - - -Gracias y bienvenido/a $sitename. +Sincerely, + {{$sitename}} Administrator diff --git a/view/es/register_verify_eml.tpl b/view/es/register_verify_eml.tpl index 9f2cc4d9b..85d9a12d3 100644 --- a/view/es/register_verify_eml.tpl +++ b/view/es/register_verify_eml.tpl @@ -1,22 +1,25 @@ -Se ha recibido la solicitud de registro de un nuevo usuario en -$sitename que requiere tu aprobación. +A new user registration request was received at {{$sitename}} which requires +your approval. -Los datos de acceso son los siguientes: -Nombre Completo: $username -Sitio: $siteurl -Nombre: $email +The login details are as follows: +Site Location: {{$siteurl}} +Login Name: {{$email}} +IP Address: {{$details}} -Para aprobar esta solicitud, visita el siguiente enlace: +To approve this request please visit the following link: -$siteurl/regmod/allow/$hash -Para denegar la solicitud y eliminar la cuenta, por favor visita: +{{$siteurl}}/regmod/allow/{{$hash}} -$siteurl/regmod/deny/$hash +To deny the request and remove the account, please visit: -Gracias. + +{{$siteurl}}/regmod/deny/{{$hash}} + + +Thank you. diff --git a/view/es/request_notify_eml.tpl b/view/es/request_notify_eml.tpl index 6161c45c1..d01b8ff27 100644 --- a/view/es/request_notify_eml.tpl +++ b/view/es/request_notify_eml.tpl @@ -1,13 +1,17 @@ -Estimado/a $myname, +Dear {{$myname}}, -Acabas de recibir una solicitud de conexión de '$requestor' en $sitename. +You have just received a connection request at {{$sitename}} -Puedes visitar su perfil en $url. +from '{{$requestor}}'. -Accede a tu sitio para ver la presentación completa y aceptar o ignorar/cancelar la solicitud. +You may visit their profile at {{$url}}. -$siteurl +Please login to your site to view the complete introduction +and approve or ignore/cancel the request. +{{$siteurl}} - $sitename +Regards, + + {{$sitename}} administrator diff --git a/view/es/update_fail_eml.tpl b/view/es/update_fail_eml.tpl new file mode 100644 index 000000000..a7df8fc2f --- /dev/null +++ b/view/es/update_fail_eml.tpl @@ -0,0 +1,13 @@ +Hey,
+I'm the web server at {{$sitename}};
+
+The Red Matrix developers released update {{$update}} recently,
+but when I tried to install it, something went terribly wrong.
+This needs to be fixed soon and it requires human intervention.
+Please contact a Red developer if you can not figure out how to
+fix it on your own. My database might be invalid.
+
+The error message is '{{$error}}'.
+
+Apologies for the inconvenience,
+ your web server at {{$siteurl}}
\ No newline at end of file diff --git a/view/fr/follow_notify_eml.tpl b/view/fr/follow_notify_eml.tpl index 10d0b343b..ba07b19da 100644 --- a/view/fr/follow_notify_eml.tpl +++ b/view/fr/follow_notify_eml.tpl @@ -1,14 +1,14 @@ -Cher(e) $myname, +Dear {{$myname}}, -Une nouvelle personne - $requestor - vous suit désormais sur $sitename. +You have a new follower at {{$sitename}} - '{{$requestor}}'. -Vous pouvez consulter son profil sur $url. +You may visit their profile at {{$url}}. -Merci de vous connecter à votre site pour approuver ou ignorer/annuler cette demande. +Please login to your site to approve or ignore/cancel the request. -$siteurl +{{$siteurl}} -Cordialement, +Regards, - l'administrateur de $sitename + {{$sitename}} administrator diff --git a/view/fr/friend_complete_eml.tpl b/view/fr/friend_complete_eml.tpl index 1f2553b5e..1c647b994 100644 --- a/view/fr/friend_complete_eml.tpl +++ b/view/fr/friend_complete_eml.tpl @@ -1,23 +1,22 @@ -Cher(e) $username, +Dear {{$username}}, - Grande nouvelle… « $fn » (de « $dfrn_url ») a accepté votre -demande de connexion à « $sitename ». + Great news... '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. -Vous êtes désormais dans une relation réciproque et pouvez échanger des -photos, des humeurs et des messages sans restriction. +You are now mutual friends and may exchange status updates, photos, and email +without restriction. -Merci de visiter votre page « Contacts » sur $sitename pour toute -modification que vous souhaiteriez apporter à cette relation. +Please visit your 'Connnections' page at {{$sitename}} if you wish to make +any changes to this relationship. -$siteurl +{{$siteurl}} -[Par exemple, vous pouvez créer un profil spécifique avec des informations -cachées au grand public - et ainsi assigner des droits privilégiés à -« $fn »]/ +[For instance, you may create a separate profile with information that is not +available to the general public - and assign viewing rights to '{{$fn}}']. -Sincèremment, +Sincerely, - l'administrateur de $sitename + {{$sitename}} Administrator diff --git a/view/fr/htconfig.tpl b/view/fr/htconfig.tpl new file mode 100644 index 000000000..493cb5d00 --- /dev/null +++ b/view/fr/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/fr/intro_complete_eml.tpl b/view/fr/intro_complete_eml.tpl index f698cfeb7..2c2428d68 100644 --- a/view/fr/intro_complete_eml.tpl +++ b/view/fr/intro_complete_eml.tpl @@ -1,22 +1,22 @@ -Cher(e) $username, +Dear {{$username}}, - « $fn » du site « $dfrn_url » a accepté votre -demande de mise en relation sur « $sitename ». + '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. - « $fn » a décidé de vous accepter comme « fan », ce qui restreint -certains de vos moyens de communication - tels que les messages privés et -certaines interactions avec son profil. S'il s'agit de la page d'une -célébrité et/ou communauté, ces réglages ont été définis automatiquement. + '{{$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 » pourra choisir d'étendre votre relation à quelque chose de -plus permissif dans l'avenir. + '{{$fn}}' may choose to extend this into a two-way or more permissive +relationship in the future. - Vous allez commencer à recevoir les mises à jour publiques du -statut de « $fn », lesquelles apparaîtront sur votre page « Réseau » sur + You will start receiving public status updates from '{{$fn}}', +which will appear on your 'Matrix' page at -$siteurl +{{$siteurl}} -Sincèrement votre, +Sincerely, - l'administrateur de $sitename + {{$sitename}} Administrator diff --git a/view/fr/lostpass_eml.tpl b/view/fr/lostpass_eml.tpl index 96c11d723..3b79d2791 100644 --- a/view/fr/lostpass_eml.tpl +++ b/view/fr/lostpass_eml.tpl @@ -1,34 +1,32 @@ -Cher(e) $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. - Nous avons récemment reçu, chez $sitename, une demande de remise -à zéro du mot de passe protégeant votre compte. Pour confirmer cette -demande, merci de cliquer sur le lien de vérification suivant, ou de le -coller dans la barre d'adresse de votre navigateur web. +If you did NOT request this change, please DO NOT follow the link +provided and ignore and/or delete this email. -Si vous n'êtes PAS à l'origine de cette demande, merci de NE PAS suivre -le lien en question, et d'ignorer/supprimer ce courriel. +Your password will not be changed unless we can verify that you +issued this request. -Votre mot de passe ne sera réinitialisé qu'une fois que nous aurons pu -nous assurer que vous êtes bien à l'origine de cette demande. +Follow this link to verify your identity: -Merci de suivre le lien suivant pour confirmer votre identité : +{{$reset_link}} -$reset_link +You will then receive a follow-up message containing the new password. -Vous recevrez en retour un message avec votre nouveau mot de passe. +You may change that password from your account settings page after logging in. -Vous pourrez ensuite changer ce mot de passe, après connexion, dans la -page des réglages du compte. +The login details are as follows: -Les informations du compte concerné sont : +Site Location: {{$siteurl}} +Login Name: {{$email}} -Site : $siteurl -Pseudo/Courriel : $email -Sincèrement votre, - l'administrateur de $sitename +Sincerely, + {{$sitename}} Administrator diff --git a/view/fr/passchanged_eml.tpl b/view/fr/passchanged_eml.tpl index 4ea8899fc..0d94be3c2 100644 --- a/view/fr/passchanged_eml.tpl +++ b/view/fr/passchanged_eml.tpl @@ -1,20 +1,20 @@ -Cher(e) $username, +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). - Votre mot de passe a été modifié comme demandé. Merci de conserver -cette information pour un usage ultérieur (ou bien de changer votre mot de -passe immédiatement en quelque chose dont vous vous souviendrez). -Vos informations de connexion sont désormais : +Your login details are as follows: -Site : $siteurl -Pseudo/Courriel : $email -Mot de passe : $new_password +Site Location: {{$siteurl}} +Login Name: {{$email}} +Password: {{$new_password}} -Vous pouvez changer ce mot de passe depuis la page des « réglages » de votre compte, -après connexion +You may change that password from your account settings page after logging in. -Sincèrement votre, - l'administrateur de $sitename + +Sincerely, + {{$sitename}} Administrator diff --git a/view/fr/register_open_eml.tpl b/view/fr/register_open_eml.tpl index 5d9e737c3..4b397201c 100644 --- a/view/fr/register_open_eml.tpl +++ b/view/fr/register_open_eml.tpl @@ -1,22 +1,19 @@ -Cher(e) $username, +An account has been created at {{$sitename}} for this email address. +The login details are as follows: - Merci de votre inscription à $sitename. Votre compte a été créé. -Les informations de connexion sont les suivantes : +Site Location: {{$siteurl}} +Login: {{$email}} +Password: (the password which was provided during registration) -Site : $siteurl -Pseudo/Courriel : $email -Mot de passe : $password +If this account was created without your knowledge and is not desired, you may +visit this site and reset the password. This will allow you to remove the +account from the links on the Settings page, and we +apologise for any inconvenience. -Vous pouvez changer de mot de passe dans la page des « Réglages » de votre compte, -après connexion. +Thank you and welcome to {{$sitename}}. -Merci de prendre quelques minutes pour découvrir les autres réglages disponibles -sur cette page. - -Merci, et bienvenue sur $sitename. - -Sincèrement votre, - l'administrateur de $sitename +Sincerely, + {{$sitename}} Administrator diff --git a/view/fr/register_verify_eml.tpl b/view/fr/register_verify_eml.tpl index 9cb31a6a8..85d9a12d3 100644 --- a/view/fr/register_verify_eml.tpl +++ b/view/fr/register_verify_eml.tpl @@ -1,27 +1,25 @@ -Une nouvelle demande d'inscription a été reçue sur $sitename, et elle -nécessite votre approbation. +A new user registration request was received at {{$sitename}} which requires +your approval. -Les informations de connexion sont les suivantes : +The login details are as follows: -Nom complet : $username -Site : $siteurl -Pseudo/Courriel : $email +Site Location: {{$siteurl}} +Login Name: {{$email}} +IP Address: {{$details}} +To approve this request please visit the following link: -Pour approuver cette demande, merci de suivre le lien : +{{$siteurl}}/regmod/allow/{{$hash}} -$siteurl/regmod/allow/$hash +To deny the request and remove the account, please visit: -Pour rejeter cette demande et supprimer le compte associé, -merci de suivre le lien : +{{$siteurl}}/regmod/deny/{{$hash}} -$siteurl/regmod/deny/$hash - -En vous remerçiant. +Thank you. diff --git a/view/fr/request_notify_eml.tpl b/view/fr/request_notify_eml.tpl index 9234ceaaa..d01b8ff27 100644 --- a/view/fr/request_notify_eml.tpl +++ b/view/fr/request_notify_eml.tpl @@ -1,17 +1,17 @@ -Cher(e) $myname, +Dear {{$myname}}, -Vous venez de recevoir une demande de mise en relation sur $sitename +You have just received a connection request at {{$sitename}} -venant de « $requestor ». +from '{{$requestor}}'. -Vous pouvez visiter son profil sur $url. +You may visit their profile at {{$url}}. -Vous pouvez vous connecter à votre site pour voir la demande -complète et l'approuver ou l'ignorer/annuler. +Please login to your site to view the complete introduction +and approve or ignore/cancel the request. -$siteurl +{{$siteurl}} -Cordialement, +Regards, - l'administrateur de $sitename + {{$sitename}} administrator diff --git a/view/fr/update_fail_eml.tpl b/view/fr/update_fail_eml.tpl new file mode 100644 index 000000000..a7df8fc2f --- /dev/null +++ b/view/fr/update_fail_eml.tpl @@ -0,0 +1,13 @@ +Hey,
+I'm the web server at {{$sitename}};
+
+The Red Matrix developers released update {{$update}} recently,
+but when I tried to install it, something went terribly wrong.
+This needs to be fixed soon and it requires human intervention.
+Please contact a Red developer if you can not figure out how to
+fix it on your own. My database might be invalid.
+
+The error message is '{{$error}}'.
+
+Apologies for the inconvenience,
+ your web server at {{$siteurl}}
\ No newline at end of file diff --git a/view/it/follow_notify_eml.tpl b/view/it/follow_notify_eml.tpl index c85a0cdc9..ba07b19da 100644 --- a/view/it/follow_notify_eml.tpl +++ b/view/it/follow_notify_eml.tpl @@ -1,14 +1,14 @@ -Ciao $[myname], +Dear {{$myname}}, -Un nuovo utente ha iniziato a seguirti su $[sitename] - '$[requestor]'. +You have a new follower at {{$sitename}} - '{{$requestor}}'. -Puoi vedere il suo profilo su $[url]. +You may visit their profile at {{$url}}. -Accedi sul tuo sito per approvare o ignorare la richiesta. +Please login to your site to approve or ignore/cancel the request. -$[siteurl] +{{$siteurl}} -Saluti, +Regards, - L'amministratore di $[sitename]
\ No newline at end of file + {{$sitename}} administrator diff --git a/view/it/friend_complete_eml.tpl b/view/it/friend_complete_eml.tpl index 890b0148c..1c647b994 100644 --- a/view/it/friend_complete_eml.tpl +++ b/view/it/friend_complete_eml.tpl @@ -1,22 +1,22 @@ -Ciao $[username], +Dear {{$username}}, - Ottime notizie... '$[fn]' di '$[dfrn_url]' ha accettato -la tua richiesta di connessione su '$[sitename]'. + Great news... '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. -Adesso siete amici reciproci e potete scambiarvi aggiornamenti di stato, foto ed email -senza restrizioni. +You are now mutual friends and may exchange status updates, photos, and email +without restriction. -Vai nella pagina 'Contatti' di $[sitename] se vuoi effettuare -qualche modifica riguardo questa relazione +Please visit your 'Connnections' page at {{$sitename}} if you wish to make +any changes to this relationship. -$[siteurl] +{{$siteurl}} -[Ad esempio, potresti creare un profilo separato con le informazioni che non -sono disponibili pubblicamente - ed permettere di vederlo a '$[fn]']. +[For instance, you may create a separate profile with information that is not +available to the general public - and assign viewing rights to '{{$fn}}']. -Saluti, +Sincerely, - l'amministratore di $[sitename] + {{$sitename}} Administrator -
\ No newline at end of file + diff --git a/view/it/htconfig.tpl b/view/it/htconfig.tpl new file mode 100644 index 000000000..493cb5d00 --- /dev/null +++ b/view/it/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/it/intro_complete_eml.tpl b/view/it/intro_complete_eml.tpl index 46fe7018b..2c2428d68 100644 --- a/view/it/intro_complete_eml.tpl +++ b/view/it/intro_complete_eml.tpl @@ -1,22 +1,22 @@ -Ciao $[username], +Dear {{$username}}, - '$[fn]' di '$[dfrn_url]' ha accettato -la tua richiesta di connessione a '$[sitename]'. + '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. - '$[fn]' ha deciso di accettarti come "fan", il che restringe -alcune forme di comunicazione - come i messaggi privati e alcune -interazioni. Se è la pagina di una persona famosa o di una comunità, queste impostazioni saranno -applicate automaticamente. + '{{$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]' potrebbe decidere di estendere questa relazione in una comunicazione bidirezionale o ancora più permissiva -. + '{{$fn}}' may choose to extend this into a two-way or more permissive +relationship in the future. - Inizierai a ricevere gli aggiornamenti di stato pubblici da '$[fn]', -che apparirà nella tua pagina 'Rete' + You will start receiving public status updates from '{{$fn}}', +which will appear on your 'Matrix' page at -$[siteurl] +{{$siteurl}} -Saluti, +Sincerely, - l'amministratore di $[sitename]
\ No newline at end of file + {{$sitename}} Administrator diff --git a/view/it/lostpass_eml.tpl b/view/it/lostpass_eml.tpl index 26d3d6817..3b79d2791 100644 --- a/view/it/lostpass_eml.tpl +++ b/view/it/lostpass_eml.tpl @@ -1,32 +1,32 @@ -Ciao $[username], - Su $[sitename] è stata ricevuta una richiesta di azzeramento di password per un account. -Per confermare la richiesta, clicca sul link di verifica -qui in fondo oppure copialo nella barra degli indirizzi del tuo browser. +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. -Se NON hai richiesto l'azzeramento, NON seguire il link -e ignora e/o cancella questa email. +If you did NOT request this change, please DO NOT follow the link +provided and ignore and/or delete this email. -La tua password non sarà modificata finché non avremo verificato che -hai fatto questa richiesta. +Your password will not be changed unless we can verify that you +issued this request. -Per verificare la tua identità clicca su: +Follow this link to verify your identity: -$[reset_link] +{{$reset_link}} -Dopo la verifica riceverai un messaggio di risposta con la nuova password. +You will then receive a follow-up message containing the new password. -Potrai cambiare la password dalla pagina delle impostazioni dopo aver effettuato l'accesso. +You may change that password from your account settings page after logging in. -I dati di accesso sono i seguenti: +The login details are as follows: -Sito:»$[siteurl] -Nome utente:»$[email] +Site Location: {{$siteurl}} +Login Name: {{$email}} -Saluti, - l'amministratore di $[sitename] +Sincerely, + {{$sitename}} Administrator -
\ No newline at end of file + diff --git a/view/it/passchanged_eml.tpl b/view/it/passchanged_eml.tpl index ab3f1aede..0d94be3c2 100644 --- a/view/it/passchanged_eml.tpl +++ b/view/it/passchanged_eml.tpl @@ -1,20 +1,20 @@ -Ciao $[username], - La tua password è cambiata come hai richiesto. Conserva queste -informazioni (oppure cambia immediatamente la password con -qualcosa che ti è più facile ricordare). +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). -I tuoi dati di access sono i seguenti: +Your login details are as follows: -Sito:»$[siteurl] -Nome utente:»$[email] -Password:»$[new_password] +Site Location: {{$siteurl}} +Login Name: {{$email}} +Password: {{$new_password}} -Puoi cambiare la tua password dalla pagina delle impostazioni dopo aver effettuato l'accesso. +You may change that password from your account settings page after logging in. -Saluti, - l'amministratore di $[sitename] +Sincerely, + {{$sitename}} Administrator -
\ No newline at end of file + diff --git a/view/it/register_open_eml.tpl b/view/it/register_open_eml.tpl index 11a7752bc..4b397201c 100644 --- a/view/it/register_open_eml.tpl +++ b/view/it/register_open_eml.tpl @@ -1,34 +1,19 @@ -Ciao $[username], - Grazie per aver effettuato la registrazione a $[sitename]. Il tuo account è stato creato. -I dettagli di accesso sono i seguenti +An account has been created at {{$sitename}} for this email address. +The login details are as follows: +Site Location: {{$siteurl}} +Login: {{$email}} +Password: (the password which was provided during registration) -Sito:»$[siteurl] -Nome utente:»$[email] -Password:»$[password] +If this account was created without your knowledge and is not desired, you may +visit this site and reset the password. This will allow you to remove the +account from the links on the Settings page, and we +apologise for any inconvenience. -Puoi cambiare la tua password dalla pagina "Impostazioni" del tuo profilo dopo aver effettuato l'accesso -. +Thank you and welcome to {{$sitename}}. -Prenditi un momento per dare un'occhiata alle altre impostazioni del tuo profilo nella stessa pagina. +Sincerely, + {{$sitename}} Administrator -Potrest voler aggiungere alcune informazioni di base a quelle predefinite del profilo -(nella pagina "Profilo") per rendere agli altri più facile trovarti. - -Noi raccomandiamo di impostare il tuo nome completo, di aggiungere una foto, -di aggiungere alcune "parole chiavi" (molto utili per farsi nuovi amici) - e -magari il paese dove vivi; se non vuoi essere più dettagliato -di così. - -Noi rispettiamo il tuo diritto alla privacy e nessuna di queste informazioni è indispensabile. -Se ancora non conosci nessuno qui, potrebbe esserti di aiuto -per farti nuovi e interessanti amici. - - -Grazie. Siamo contenti di darti il benvenuto su $[sitename] - -Saluti, - l'amministratore di $[sitename] - -
\ No newline at end of file + diff --git a/view/it/register_verify_eml.tpl b/view/it/register_verify_eml.tpl index baac57976..85d9a12d3 100644 --- a/view/it/register_verify_eml.tpl +++ b/view/it/register_verify_eml.tpl @@ -1,25 +1,25 @@ -Su $[sitename] è stata ricevuta una nuova richiesta di registrazione da parte di un utente che richiede -la tua approvazione. +A new user registration request was received at {{$sitename}} which requires +your approval. -I tuoi dati di accesso sono i seguenti: +The login details are as follows: -Nome completo:»$[username] -Sito:»$[siteurl] -Nome utente:»$[email] +Site Location: {{$siteurl}} +Login Name: {{$email}} +IP Address: {{$details}} +To approve this request please visit the following link: -Per approvare questa richiesta clicca su: +{{$siteurl}}/regmod/allow/{{$hash}} -$[siteurl]/regmod/allow/$[hash] +To deny the request and remove the account, please visit: -Per negare la richiesta e rimuove il profilo, clicca su: +{{$siteurl}}/regmod/deny/{{$hash}} -$[siteurl]/regmod/deny/$[hash] +Thank you. -Grazie. diff --git a/view/it/request_notify_eml.tpl b/view/it/request_notify_eml.tpl index 1360be90c..d01b8ff27 100644 --- a/view/it/request_notify_eml.tpl +++ b/view/it/request_notify_eml.tpl @@ -1,17 +1,17 @@ -Ciao $[myname], +Dear {{$myname}}, -Hai appena ricevuto una richiesta di connessione da $[sitename] +You have just received a connection request at {{$sitename}} -da '$[requestor]'. +from '{{$requestor}}'. -Puoi visitare il suo profilo su $[url]. +You may visit their profile at {{$url}}. -Accedi al tuo sito per vedere la richiesta completa -e approva o ignora/annulla la richiesta. +Please login to your site to view the complete introduction +and approve or ignore/cancel the request. -$[siteurl] +{{$siteurl}} -Saluti, +Regards, - l'amministratore di $[sitename]
\ No newline at end of file + {{$sitename}} administrator diff --git a/view/it/update_fail_eml.tpl b/view/it/update_fail_eml.tpl new file mode 100644 index 000000000..a7df8fc2f --- /dev/null +++ b/view/it/update_fail_eml.tpl @@ -0,0 +1,13 @@ +Hey,
+I'm the web server at {{$sitename}};
+
+The Red Matrix developers released update {{$update}} recently,
+but when I tried to install it, something went terribly wrong.
+This needs to be fixed soon and it requires human intervention.
+Please contact a Red developer if you can not figure out how to
+fix it on your own. My database might be invalid.
+
+The error message is '{{$error}}'.
+
+Apologies for the inconvenience,
+ your web server at {{$siteurl}}
\ No newline at end of file diff --git a/view/js/mod_connections.js b/view/js/mod_connections.js index 9d4a03340..6bfa039a8 100644 --- a/view/js/mod_connections.js +++ b/view/js/mod_connections.js @@ -22,6 +22,10 @@ $(".autocomplete-w1 .selected").keyup(function(event){ function connectFullShare() { + $('.abook-edit-me').each(function() { + if(! $(this).is(':disabled')) + $(this).removeAttr('checked'); + }); $('#me_id_perms_view_stream').attr('checked','checked'); $('#me_id_perms_view_profile').attr('checked','checked'); $('#me_id_perms_view_photos').attr('checked','checked'); @@ -37,6 +41,11 @@ function connectFullShare() { } function connectCautiousShare() { + $('.abook-edit-me').each(function() { + if(! $(this).is(':disabled')) + $(this).removeAttr('checked'); + }); + $('#me_id_perms_view_stream').attr('checked','checked'); $('#me_id_perms_view_profile').attr('checked','checked'); $('#me_id_perms_view_photos').attr('checked','checked'); @@ -48,6 +57,11 @@ function connectCautiousShare() { } function connectForum() { + $('.abook-edit-me').each(function() { + if(! $(this).is(':disabled')) + $(this).removeAttr('checked'); + }); + $('#me_id_perms_view_stream').attr('checked','checked'); $('#me_id_perms_view_profile').attr('checked','checked'); $('#me_id_perms_view_photos').attr('checked','checked'); @@ -62,6 +76,11 @@ function connectForum() { } function connectSoapBox() { + $('.abook-edit-me').each(function() { + if(! $(this).is(':disabled')) + $(this).removeAttr('checked'); + }); + $('#me_id_perms_view_stream').attr('checked','checked'); $('#me_id_perms_view_profile').attr('checked','checked'); $('#me_id_perms_view_photos').attr('checked','checked'); @@ -72,6 +91,11 @@ function connectSoapBox() { function connectFollowOnly() { + $('.abook-edit-me').each(function() { + if(! $(this).is(':disabled')) + $(this).removeAttr('checked'); + }); + $('#me_id_perms_send_stream').attr('checked','checked'); } diff --git a/view/js/mod_poke.js b/view/js/mod_poke.js new file mode 100644 index 000000000..fa00ac2d5 --- /dev/null +++ b/view/js/mod_poke.js @@ -0,0 +1,13 @@ +$(document).ready(function() { + var a; + a = $("#poke-recip").autocomplete({ + serviceUrl: baseurl + '/acl', + minChars: 2, + width: 350, + onSelect: function(value,data) { + $("#poke-recip-complete").val(data); + } + }); + a.setOptions({ params: { type: 'a' }}); + +}); diff --git a/view/js/mod_settings.js b/view/js/mod_settings.js index bcfa9b574..1695372eb 100644 --- a/view/js/mod_settings.js +++ b/view/js/mod_settings.js @@ -19,3 +19,93 @@ $(document).ready(function() { }); +function channel_privacy_macro(n) { + if(n == 0) { + $('#id_view_stream option').eq(0).attr('selected','selected'); + $('#id_view_profile option').eq(0).attr('selected','selected'); + $('#id_view_photos option').eq(0).attr('selected','selected'); + $('#id_view_contacts option').eq(0).attr('selected','selected'); + $('#id_view_storage option').eq(0).attr('selected','selected'); + $('#id_view_pages option').eq(0).attr('selected','selected'); + $('#id_send_stream option').eq(0).attr('selected','selected'); + $('#id_post_wall option').eq(0).attr('selected','selected'); + $('#id_post_comments option').eq(0).attr('selected','selected'); + $('#id_post_mail option').eq(0).attr('selected','selected'); + $('#id_post_photos option').eq(0).attr('selected','selected'); + $('#id_tag_deliver option').eq(0).attr('selected','selected'); + $('#id_chat option').eq(0).attr('selected','selected'); + $('#id_write_storage option').eq(0).attr('selected','selected'); + $('#id_write_pages option').eq(0).attr('selected','selected'); + $('#id_delegate option').eq(0).attr('selected','selected'); + $('#id_profile_in_directory_onoff .off').removeClass('hidden'); + $('#id_profile_in_directory_onoff .on').addClass('hidden'); + $('#id_profile_in_directory').val(0); + } + if(n == 1) { + $('#id_view_stream option').eq(1).attr('selected','selected'); + $('#id_view_profile option').eq(1).attr('selected','selected'); + $('#id_view_photos option').eq(1).attr('selected','selected'); + $('#id_view_contacts option').eq(1).attr('selected','selected'); + $('#id_view_storage option').eq(1).attr('selected','selected'); + $('#id_view_pages option').eq(1).attr('selected','selected'); + $('#id_send_stream option').eq(1).attr('selected','selected'); + $('#id_post_wall option').eq(1).attr('selected','selected'); + $('#id_post_comments option').eq(1).attr('selected','selected'); + $('#id_post_mail option').eq(1).attr('selected','selected'); + $('#id_post_photos option').eq(1).attr('selected','selected'); + $('#id_tag_deliver option').eq(1).attr('selected','selected'); + $('#id_chat option').eq(1).attr('selected','selected'); + $('#id_write_storage option').eq(1).attr('selected','selected'); + $('#id_write_pages option').eq(1).attr('selected','selected'); + $('#id_delegate option').eq(0).attr('selected','selected'); + $('#id_profile_in_directory_onoff .off').removeClass('hidden'); + $('#id_profile_in_directory_onoff .on').addClass('hidden'); + $('#id_profile_in_directory').val(0); + } + if(n == 2) { + $('#id_view_stream option').eq(5).attr('selected','selected'); + $('#id_view_profile option').eq(5).attr('selected','selected'); + $('#id_view_photos option').eq(5).attr('selected','selected'); + $('#id_view_contacts option').eq(5).attr('selected','selected'); + $('#id_view_storage option').eq(5).attr('selected','selected'); + $('#id_view_pages option').eq(5).attr('selected','selected'); + $('#id_send_stream option').eq(1).attr('selected','selected'); + $('#id_post_wall option').eq(1).attr('selected','selected'); + $('#id_post_comments option').eq(1).attr('selected','selected'); + $('#id_post_mail option').eq(1).attr('selected','selected'); + $('#id_post_photos option').eq(0).attr('selected','selected'); + $('#id_tag_deliver option').eq(1).attr('selected','selected'); + $('#id_chat option').eq(1).attr('selected','selected'); + $('#id_write_storage option').eq(0).attr('selected','selected'); + $('#id_write_pages option').eq(0).attr('selected','selected'); + $('#id_delegate option').eq(0).attr('selected','selected'); + $('#id_profile_in_directory_onoff .on').removeClass('hidden'); + $('#id_profile_in_directory_onoff .off').addClass('hidden'); + $('#id_profile_in_directory').val(1); + } + if(n == 3) { + $('#id_view_stream option').eq(5).attr('selected','selected'); + $('#id_view_profile option').eq(5).attr('selected','selected'); + $('#id_view_photos option').eq(5).attr('selected','selected'); + $('#id_view_contacts option').eq(5).attr('selected','selected'); + $('#id_view_storage option').eq(5).attr('selected','selected'); + $('#id_view_pages option').eq(5).attr('selected','selected'); + $('#id_send_stream option').eq(4).attr('selected','selected'); + $('#id_post_wall option').eq(4).attr('selected','selected'); + $('#id_post_comments option').eq(4).attr('selected','selected'); + $('#id_post_mail option').eq(4).attr('selected','selected'); + $('#id_post_photos option').eq(2).attr('selected','selected'); + $('#id_tag_deliver option').eq(1).attr('selected','selected'); + $('#id_chat option').eq(4).attr('selected','selected'); + $('#id_write_storage option').eq(2).attr('selected','selected'); + $('#id_write_pages option').eq(2).attr('selected','selected'); + $('#id_delegate option').eq(0).attr('selected','selected'); + $('#id_profile_in_directory_onoff .on').removeClass('hidden'); + $('#id_profile_in_directory_onoff .off').addClass('hidden'); + $('#id_profile_in_directory').val(1); + + } + + + +}
\ No newline at end of file diff --git a/view/nb-no/follow_notify_eml.tpl b/view/nb-no/follow_notify_eml.tpl index 73a347027..ba07b19da 100644 --- a/view/nb-no/follow_notify_eml.tpl +++ b/view/nb-no/follow_notify_eml.tpl @@ -1,14 +1,14 @@ -Kjære $[myname], +Dear {{$myname}}, -Du har en ny følgesvenn på $[sitename] - '$[requestor]'. +You have a new follower at {{$sitename}} - '{{$requestor}}'. -Du kan besøke profilen deres på $[url]. +You may visit their profile at {{$url}}. -Vennligst logg inn på ditt sted for å godkjenne eller ignorere/avbryte forespørselen. +Please login to your site to approve or ignore/cancel the request. -$[siteurl] +{{$siteurl}} -Med vennlig hilsen, +Regards, - $[sitename] administrator
\ No newline at end of file + {{$sitename}} administrator diff --git a/view/nb-no/friend_complete_eml.tpl b/view/nb-no/friend_complete_eml.tpl index 4526c94d0..1c647b994 100644 --- a/view/nb-no/friend_complete_eml.tpl +++ b/view/nb-no/friend_complete_eml.tpl @@ -1,22 +1,22 @@ -Kjære $[username], +Dear {{$username}}, - Gode nyheter... '$[fn]' ved '$[dfrn_url]' har godtatt -din forespørsel om kobling hos '$[sitename]'. + Great news... '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. -Dere er nå gjensidige venner og kan utveksle statusoppdateringer, bilder og e-post -uten hindringer. +You are now mutual friends and may exchange status updates, photos, and email +without restriction. -Vennligst besøk din side "Kontakter" ved $[sitename] hvis du ønsker å gjøre -noen endringer på denne forbindelsen. +Please visit your 'Connnections' page at {{$sitename}} if you wish to make +any changes to this relationship. -$[siteurl] +{{$siteurl}} -[For eksempel, så kan du lage en egen profil med informasjon som ikke er -tilgjengelig for alle - og angi visningsrettigheter til '$[fn]']. +[For instance, you may create a separate profile with information that is not +available to the general public - and assign viewing rights to '{{$fn}}']. -Med vennlig hilsen, +Sincerely, - $[sitename] administrator + {{$sitename}} Administrator -
\ No newline at end of file + diff --git a/view/nb-no/htconfig.tpl b/view/nb-no/htconfig.tpl new file mode 100644 index 000000000..493cb5d00 --- /dev/null +++ b/view/nb-no/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/nb-no/intro_complete_eml.tpl b/view/nb-no/intro_complete_eml.tpl index 17b0be5a8..2c2428d68 100644 --- a/view/nb-no/intro_complete_eml.tpl +++ b/view/nb-no/intro_complete_eml.tpl @@ -1,22 +1,22 @@ -Kjære $[username], +Dear {{$username}}, - '$[fn]' ved '$[dfrn_url]' har godtatt -din forespørsel om kobling ved $[sitename]'. + '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. - '$[fn]' har valgt å godta deg som "fan", som begrenser -noen typer kommunikasjon - slik som private meldinger og noen profilhandlinger. -Hvis dette er en kjendis- eller forumside, så ble disse innstillingene -angitt automatisk. + '{{$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 velge å utvide dette til en to-veis eller mer åpen -forbindelse i fremtiden. + '{{$fn}}' may choose to extend this into a two-way or more permissive +relationship in the future. - Du vil nå motta offentlige statusoppdateringer fra '$[fn]', -som vil vises på din "Nettverk"-side ved + You will start receiving public status updates from '{{$fn}}', +which will appear on your 'Matrix' page at -$[siteurl] +{{$siteurl}} -Med vennlig hilsen, +Sincerely, - $[sitename] administrator
\ No newline at end of file + {{$sitename}} Administrator diff --git a/view/nb-no/lostpass_eml.tpl b/view/nb-no/lostpass_eml.tpl index 762c8c2e9..3b79d2791 100644 --- a/view/nb-no/lostpass_eml.tpl +++ b/view/nb-no/lostpass_eml.tpl @@ -1,32 +1,32 @@ -Kjære $[username], - En forespørsel ble nylig mottatt hos $[sitename] om å tilbakestille din kontos -passord. For å godkjenne denne forespørselen, vennligst velg bekreftelseslenken -nedenfor eller lim den inn på adresselinjen i nettleseren din. +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. -Hvis du IKKE har spurt om denne endringen, vennligst IKKE følg lenken -som er oppgitt og ignorer og/eller slett denne e-posten. +If you did NOT request this change, please DO NOT follow the link +provided and ignore and/or delete this email. -Passordet ditt vil ikke bli endret med mindre vi kan forsikre oss om at du -sendte denne forespørselen. +Your password will not be changed unless we can verify that you +issued this request. -Følg denne lenken for å bekrefte din identitet: +Follow this link to verify your identity: -$[reset_link] +{{$reset_link}} -Du vil da motta en oppfølgings melding med det nye passordet. +You will then receive a follow-up message containing the new password. -Du kan endre passordet på siden for dine kontoinnstillinger etter innlogging. +You may change that password from your account settings page after logging in. -Innloggingsdetaljene er som følger: +The login details are as follows: -Nettstedsadresse:»$[siteurl] -Brukernavn:»$[email] +Site Location: {{$siteurl}} +Login Name: {{$email}} -Beste hilsen, - $[sitename] administrator +Sincerely, + {{$sitename}} Administrator -
\ No newline at end of file + diff --git a/view/nb-no/passchanged_eml.tpl b/view/nb-no/passchanged_eml.tpl index 6f153d38c..0d94be3c2 100644 --- a/view/nb-no/passchanged_eml.tpl +++ b/view/nb-no/passchanged_eml.tpl @@ -1,20 +1,20 @@ -Kjære $[username], - Ditt passord har blitt endret som forespurt. Vennligst ta vare på denne -meldingen for sikkerhets skyld (eller bytt passordet ditt umiddelbart til -noe du husker). +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). -Dine logg inn-detaljer er som følger: +Your login details are as follows: -Nettsted:»$[siteurl] -Brukernavn:»$[email] -Passord:»$[new_password] +Site Location: {{$siteurl}} +Login Name: {{$email}} +Password: {{$new_password}} -Du kan endre dette passordet på din side for kontoinnstillinger etter innlogging. +You may change that password from your account settings page after logging in. -Med vennlig hilsen, - $[sitename] administrator +Sincerely, + {{$sitename}} Administrator -
\ No newline at end of file + diff --git a/view/nb-no/register_open_eml.tpl b/view/nb-no/register_open_eml.tpl index 345ca0b65..4b397201c 100644 --- a/view/nb-no/register_open_eml.tpl +++ b/view/nb-no/register_open_eml.tpl @@ -1,34 +1,19 @@ -Kjære $[username], - Takk for at du registrerte deg hos $[sitename]. Kontoen din er opprettet. -Innloggingsdetaljene er som følger: +An account has been created at {{$sitename}} for this email address. +The login details are as follows: +Site Location: {{$siteurl}} +Login: {{$email}} +Password: (the password which was provided during registration) -Nettstedsadresse:»$[siteurl] -Brukernavn:»$[email] -Passord:»$[password] +If this account was created without your knowledge and is not desired, you may +visit this site and reset the password. This will allow you to remove the +account from the links on the Settings page, and we +apologise for any inconvenience. -Du kan endre passordet ditt på siden "Innstillinger" etter at du har logget -inn. +Thank you and welcome to {{$sitename}}. -Vennligst bruk litt tid til å se over de andre kontoinnstillingene på den siden. +Sincerely, + {{$sitename}} Administrator -Du vil antakelig ønske å legge til litt grunnleggende informasjon til standardprofilen din -(på siden "Profiler") slik at folk lettere kan finne deg. - -Vi anbefaler å oppgi fullt navn, legge til et profilbilde, -legge til noen "nøkkelord" for profilen (svært nyttig for å få nye venner) - og -kanskje hvilket land du bor i, hvis du ikke ønsker å være mer spesifikk -enn det. - -Vi respekterer ditt privatliv fullt ut, og ingen av disse elementene er nødvendige. -Hvis du er ny og ikke kjenner noen her, så kan de hjelpe -deg å få noen nye og interessante venner. - - -Takk og velkommen til $[sitename]. - -Beste hilsen, - $[sitename] administrator - -
\ No newline at end of file + diff --git a/view/nb-no/register_verify_eml.tpl b/view/nb-no/register_verify_eml.tpl index 4c2176d7d..85d9a12d3 100644 --- a/view/nb-no/register_verify_eml.tpl +++ b/view/nb-no/register_verify_eml.tpl @@ -1,25 +1,25 @@ -En ny forespørsel om brukerregistering ble mottatt hos $[sitename] og krever -din godkjenning. +A new user registration request was received at {{$sitename}} which requires +your approval. -Innloggingsdetaljene er som følger: +The login details are as follows: -Fullt navn:»$[username] -Nettstedsadresse:»$[siteurl] -Brukernavn:»$[email] +Site Location: {{$siteurl}} +Login Name: {{$email}} +IP Address: {{$details}} +To approve this request please visit the following link: -For å godkjenne denne forespørselen, vennligst besøk følgende lenke: +{{$siteurl}}/regmod/allow/{{$hash}} -$[siteurl]/regmod/allow/$[hash] +To deny the request and remove the account, please visit: -For å avslå denne forespørselen og fjerne kontoen, vennligst besøk: +{{$siteurl}}/regmod/deny/{{$hash}} -$[siteurl]/regmod/deny/$[hash] +Thank you. -Mange takk. diff --git a/view/nb-no/request_notify_eml.tpl b/view/nb-no/request_notify_eml.tpl index e6a62c51f..d01b8ff27 100644 --- a/view/nb-no/request_notify_eml.tpl +++ b/view/nb-no/request_notify_eml.tpl @@ -1,17 +1,17 @@ -Kjære $[myname], +Dear {{$myname}}, -Du har akkurat mottatt en kontaktforespørsel hos $[sitename] +You have just received a connection request at {{$sitename}} -fra '$[requestor]'. +from '{{$requestor}}'. -Du kan besøke profilen på $[url]. +You may visit their profile at {{$url}}. -Vennligst logg inn på ditt nettsted for å se hele introduksjonen -og godkjenne eller ignorere/avbryte forespørselen. +Please login to your site to view the complete introduction +and approve or ignore/cancel the request. -$[siteurl] +{{$siteurl}} -Beste hilsen, +Regards, - $[siteurl] administrator
\ No newline at end of file + {{$sitename}} administrator diff --git a/view/nb-no/update_fail_eml.tpl b/view/nb-no/update_fail_eml.tpl index a4a3cf950..a7df8fc2f 100644 --- a/view/nb-no/update_fail_eml.tpl +++ b/view/nb-no/update_fail_eml.tpl @@ -1,11 +1,13 @@ -Hei,
-jeg er $sitename.
-Friendica-utviklerne slapp nylig oppdateringen $update,
-men da jeg prøvde å installere den, gikk noe forferdelig galt.
-Dette trenger å bli fikset raskt og jeg kan ikke gjøre det alene. Vennligst kontakt en
-Friendica-utvikler hvis du ikke kan hjelpe meg på egenhånd. Databasen min er kanskje ugyldig.
+Hey,
+I'm the web server at {{$sitename}};
+
+The Red Matrix developers released update {{$update}} recently,
+but when I tried to install it, something went terribly wrong.
+This needs to be fixed soon and it requires human intervention.
+Please contact a Red developer if you can not figure out how to
+fix it on your own. My database might be invalid.
-Feilmeldingen er '$error'.
+The error message is '{{$error}}'.
-Jeg beklager,
-din Friendica-tjener hos $siteurl
\ No newline at end of file +Apologies for the inconvenience,
+ your web server at {{$siteurl}}
\ No newline at end of file diff --git a/view/php/default.php b/view/php/default.php index 80c8070b2..ae4da50b4 100644 --- a/view/php/default.php +++ b/view/php/default.php @@ -10,8 +10,8 @@ <aside><?php if(x($page,'aside')) echo $page['aside']; ?></aside>
<section><?php if(x($page,'content')) echo $page['content']; ?>
<div id="page-footer"></div>
- <div id="pause"></div> - </section> + <div id="pause"></div>
+ </section>
<right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>
<footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
</body>
diff --git a/view/php/theme_init.php b/view/php/theme_init.php index 68d6e4cd1..e4a56acc3 100644 --- a/view/php/theme_init.php +++ b/view/php/theme_init.php @@ -7,12 +7,17 @@ require_once('include/plugin.php'); head_add_css('library/fancybox/jquery.fancybox-1.3.4.css'); head_add_css('library/tiptip/tipTip.css'); head_add_css('library/jgrowl/jquery.jgrowl.css'); -head_add_css('library/jslider/bin/jquery.slider.min.css'); +head_add_css('library/jslider/css/jslider.css'); +head_add_css('library/prettyphoto/css/prettyPhoto.css'); +head_add_css('library/colorbox/colorbox.css'); head_add_js('js/jquery.js'); +head_add_js('js/jquery-migrate-1.1.1.js'); +head_add_js('js/spin.js'); +head_add_js('js/jquery.spin.js'); head_add_js('js/jquery.textinputs.js'); head_add_js('js/fk.autocomplete.js'); -head_add_js('library/fancybox/jquery.fancybox-1.3.4.pack.js'); +head_add_js('library/fancybox/jquery.fancybox-1.3.4.js'); head_add_js('library/jquery.timeago.js'); head_add_js('library/jquery.divgrow/jquery.divgrow-1.3.1.js'); head_add_js('library/jquery_ac/friendica.complete.js'); @@ -24,3 +29,5 @@ head_add_js('js/webtoolkit.base64.js'); head_add_js('js/main.js'); head_add_js('library/jslider/bin/jquery.slider.min.js'); head_add_js('docready.js'); +head_add_js('library/prettyphoto/js/jquery.prettyPhoto.js'); +head_add_js('library/colorbox/jquery.colorbox-min.js'); diff --git a/view/pt-br/follow_notify_eml.tpl b/view/pt-br/follow_notify_eml.tpl new file mode 100644 index 000000000..ba07b19da --- /dev/null +++ b/view/pt-br/follow_notify_eml.tpl @@ -0,0 +1,14 @@ + +Dear {{$myname}}, + +You have a new follower at {{$sitename}} - '{{$requestor}}'. + +You may visit their profile at {{$url}}. + +Please login to your site to approve or ignore/cancel the request. + +{{$siteurl}} + +Regards, + + {{$sitename}} administrator diff --git a/view/pt-br/friend_complete_eml.tpl b/view/pt-br/friend_complete_eml.tpl new file mode 100644 index 000000000..1c647b994 --- /dev/null +++ b/view/pt-br/friend_complete_eml.tpl @@ -0,0 +1,22 @@ + +Dear {{$username}}, + + Great news... '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. + +You are now mutual friends and may exchange status updates, photos, and email +without restriction. + +Please visit your 'Connnections' page at {{$sitename}} if you wish to make +any changes to this relationship. + +{{$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}}']. + +Sincerely, + + {{$sitename}} Administrator + + diff --git a/view/pt-br/htconfig.tpl b/view/pt-br/htconfig.tpl new file mode 100644 index 000000000..493cb5d00 --- /dev/null +++ b/view/pt-br/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/pt-br/intro_complete_eml.tpl b/view/pt-br/intro_complete_eml.tpl new file mode 100644 index 000000000..2c2428d68 --- /dev/null +++ b/view/pt-br/intro_complete_eml.tpl @@ -0,0 +1,22 @@ + +Dear {{$username}}, + + '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. + + '{{$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}}' 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 'Matrix' page at + +{{$siteurl}} + +Sincerely, + + {{$sitename}} Administrator diff --git a/view/pt-br/lostpass_eml.tpl b/view/pt-br/lostpass_eml.tpl new file mode 100644 index 000000000..3b79d2791 --- /dev/null +++ b/view/pt-br/lostpass_eml.tpl @@ -0,0 +1,32 @@ + +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. + +If you did NOT request this change, please DO NOT follow the link +provided and ignore and/or delete this email. + +Your password will not be changed unless we can verify that you +issued this request. + +Follow this link to verify your identity: + +{{$reset_link}} + +You will then receive a follow-up message containing the new password. + +You may change that password from your account settings page after logging in. + +The login details are as follows: + +Site Location: {{$siteurl}} +Login Name: {{$email}} + + + + +Sincerely, + {{$sitename}} Administrator + + diff --git a/view/pt-br/passchanged_eml.tpl b/view/pt-br/passchanged_eml.tpl new file mode 100644 index 000000000..0d94be3c2 --- /dev/null +++ b/view/pt-br/passchanged_eml.tpl @@ -0,0 +1,20 @@ + +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). + + +Your login details are as follows: + +Site Location: {{$siteurl}} +Login Name: {{$email}} +Password: {{$new_password}} + +You may change that password from your account settings page after logging in. + + +Sincerely, + {{$sitename}} Administrator + + diff --git a/view/pt-br/register_open_eml.tpl b/view/pt-br/register_open_eml.tpl new file mode 100644 index 000000000..4b397201c --- /dev/null +++ b/view/pt-br/register_open_eml.tpl @@ -0,0 +1,19 @@ + +An account has been created at {{$sitename}} for this email address. +The login details are as follows: + +Site Location: {{$siteurl}} +Login: {{$email}} +Password: (the password which was provided during registration) + +If this account was created without your knowledge and is not desired, you may +visit this site and reset the password. This will allow you to remove the +account from the links on the Settings page, and we +apologise for any inconvenience. + +Thank you and welcome to {{$sitename}}. + +Sincerely, + {{$sitename}} Administrator + + diff --git a/view/pt-br/register_verify_eml.tpl b/view/pt-br/register_verify_eml.tpl new file mode 100644 index 000000000..85d9a12d3 --- /dev/null +++ b/view/pt-br/register_verify_eml.tpl @@ -0,0 +1,25 @@ + +A new user registration request was received at {{$sitename}} which requires +your approval. + + +The login details are as follows: + +Site Location: {{$siteurl}} +Login Name: {{$email}} +IP Address: {{$details}} + +To approve this request please visit the following link: + + +{{$siteurl}}/regmod/allow/{{$hash}} + + +To deny the request and remove the account, please visit: + + +{{$siteurl}}/regmod/deny/{{$hash}} + + +Thank you. + diff --git a/view/pt-br/request_notify_eml.tpl b/view/pt-br/request_notify_eml.tpl new file mode 100644 index 000000000..d01b8ff27 --- /dev/null +++ b/view/pt-br/request_notify_eml.tpl @@ -0,0 +1,17 @@ + +Dear {{$myname}}, + +You have just received a connection request at {{$sitename}} + +from '{{$requestor}}'. + +You may visit their profile at {{$url}}. + +Please login to your site to view the complete introduction +and approve or ignore/cancel the request. + +{{$siteurl}} + +Regards, + + {{$sitename}} administrator diff --git a/view/pt-br/update_fail_eml.tpl b/view/pt-br/update_fail_eml.tpl new file mode 100644 index 000000000..a7df8fc2f --- /dev/null +++ b/view/pt-br/update_fail_eml.tpl @@ -0,0 +1,13 @@ +Hey,
+I'm the web server at {{$sitename}};
+
+The Red Matrix developers released update {{$update}} recently,
+but when I tried to install it, something went terribly wrong.
+This needs to be fixed soon and it requires human intervention.
+Please contact a Red developer if you can not figure out how to
+fix it on your own. My database might be invalid.
+
+The error message is '{{$error}}'.
+
+Apologies for the inconvenience,
+ your web server at {{$siteurl}}
\ No newline at end of file diff --git a/view/ru/follow_notify_eml.tpl b/view/ru/follow_notify_eml.tpl new file mode 100644 index 000000000..ba07b19da --- /dev/null +++ b/view/ru/follow_notify_eml.tpl @@ -0,0 +1,14 @@ + +Dear {{$myname}}, + +You have a new follower at {{$sitename}} - '{{$requestor}}'. + +You may visit their profile at {{$url}}. + +Please login to your site to approve or ignore/cancel the request. + +{{$siteurl}} + +Regards, + + {{$sitename}} administrator diff --git a/view/ru/friend_complete_eml.tpl b/view/ru/friend_complete_eml.tpl new file mode 100644 index 000000000..1c647b994 --- /dev/null +++ b/view/ru/friend_complete_eml.tpl @@ -0,0 +1,22 @@ + +Dear {{$username}}, + + Great news... '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. + +You are now mutual friends and may exchange status updates, photos, and email +without restriction. + +Please visit your 'Connnections' page at {{$sitename}} if you wish to make +any changes to this relationship. + +{{$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}}']. + +Sincerely, + + {{$sitename}} Administrator + + diff --git a/view/ru/htconfig.tpl b/view/ru/htconfig.tpl new file mode 100644 index 000000000..493cb5d00 --- /dev/null +++ b/view/ru/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/ru/intro_complete_eml.tpl b/view/ru/intro_complete_eml.tpl new file mode 100644 index 000000000..2c2428d68 --- /dev/null +++ b/view/ru/intro_complete_eml.tpl @@ -0,0 +1,22 @@ + +Dear {{$username}}, + + '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. + + '{{$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}}' 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 'Matrix' page at + +{{$siteurl}} + +Sincerely, + + {{$sitename}} Administrator diff --git a/view/ru/lostpass_eml.tpl b/view/ru/lostpass_eml.tpl new file mode 100644 index 000000000..3b79d2791 --- /dev/null +++ b/view/ru/lostpass_eml.tpl @@ -0,0 +1,32 @@ + +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. + +If you did NOT request this change, please DO NOT follow the link +provided and ignore and/or delete this email. + +Your password will not be changed unless we can verify that you +issued this request. + +Follow this link to verify your identity: + +{{$reset_link}} + +You will then receive a follow-up message containing the new password. + +You may change that password from your account settings page after logging in. + +The login details are as follows: + +Site Location: {{$siteurl}} +Login Name: {{$email}} + + + + +Sincerely, + {{$sitename}} Administrator + + diff --git a/view/ru/passchanged_eml.tpl b/view/ru/passchanged_eml.tpl new file mode 100644 index 000000000..0d94be3c2 --- /dev/null +++ b/view/ru/passchanged_eml.tpl @@ -0,0 +1,20 @@ + +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). + + +Your login details are as follows: + +Site Location: {{$siteurl}} +Login Name: {{$email}} +Password: {{$new_password}} + +You may change that password from your account settings page after logging in. + + +Sincerely, + {{$sitename}} Administrator + + diff --git a/view/ru/register_open_eml.tpl b/view/ru/register_open_eml.tpl new file mode 100644 index 000000000..4b397201c --- /dev/null +++ b/view/ru/register_open_eml.tpl @@ -0,0 +1,19 @@ + +An account has been created at {{$sitename}} for this email address. +The login details are as follows: + +Site Location: {{$siteurl}} +Login: {{$email}} +Password: (the password which was provided during registration) + +If this account was created without your knowledge and is not desired, you may +visit this site and reset the password. This will allow you to remove the +account from the links on the Settings page, and we +apologise for any inconvenience. + +Thank you and welcome to {{$sitename}}. + +Sincerely, + {{$sitename}} Administrator + + diff --git a/view/ru/register_verify_eml.tpl b/view/ru/register_verify_eml.tpl new file mode 100644 index 000000000..85d9a12d3 --- /dev/null +++ b/view/ru/register_verify_eml.tpl @@ -0,0 +1,25 @@ + +A new user registration request was received at {{$sitename}} which requires +your approval. + + +The login details are as follows: + +Site Location: {{$siteurl}} +Login Name: {{$email}} +IP Address: {{$details}} + +To approve this request please visit the following link: + + +{{$siteurl}}/regmod/allow/{{$hash}} + + +To deny the request and remove the account, please visit: + + +{{$siteurl}}/regmod/deny/{{$hash}} + + +Thank you. + diff --git a/view/ru/request_notify_eml.tpl b/view/ru/request_notify_eml.tpl new file mode 100644 index 000000000..d01b8ff27 --- /dev/null +++ b/view/ru/request_notify_eml.tpl @@ -0,0 +1,17 @@ + +Dear {{$myname}}, + +You have just received a connection request at {{$sitename}} + +from '{{$requestor}}'. + +You may visit their profile at {{$url}}. + +Please login to your site to view the complete introduction +and approve or ignore/cancel the request. + +{{$siteurl}} + +Regards, + + {{$sitename}} administrator diff --git a/view/ru/strings.php b/view/ru/strings.php index 6559f8fd4..0bbedbc3f 100644 --- a/view/ru/strings.php +++ b/view/ru/strings.php @@ -4,842 +4,1066 @@ function string_plural_select_ru($n){ return ($n%10==1 && $n%100!=11 ? 0 : $n%10>=2 && $n%10<=4 && ($n%100<10 || $n%100>=20) ? 1 : 2);; } ; -$a->strings["Post successful."] = "Успешно добавлено."; -$a->strings["[Embedded content - reload page to view]"] = "[Встроенное содержание - перезагрузите страницу для просмотра]"; -$a->strings["Contact settings applied."] = "Установки контакта приняты."; -$a->strings["Contact update failed."] = "Обновление контакта неудачное."; -$a->strings["Permission denied."] = "Нет разрешения."; -$a->strings["Contact not found."] = "Контакт не найден."; -$a->strings["Repair Contact Settings"] = "Восстановить установки контакта"; -$a->strings["<strong>WARNING: This is highly advanced</strong> and if you enter incorrect information your communications with this contact may stop working."] = "<strong>ВНИМАНИЕ: Это крайне важно!</strong> Если вы введете неверную информацию, ваша связь с этим контактом перестанет работать."; -$a->strings["Please use your browser 'Back' button <strong>now</strong> if you are uncertain what to do on this page."] = "Пожалуйста, нажмите клавишу вашего браузера 'Back' или 'Назад' <strong>сейчас</strong>, если вы не уверены, что делаете на этой странице."; -$a->strings["Return to contact editor"] = ""; -$a->strings["Name"] = "Имя"; -$a->strings["Account Nickname"] = "Ник аккаунта"; -$a->strings["@Tagname - overrides Name/Nickname"] = ""; -$a->strings["Account URL"] = "URL аккаунта"; -$a->strings["Friend Request URL"] = "URL запроса в друзья"; -$a->strings["Friend Confirm URL"] = "URL подтверждения друга"; -$a->strings["Notification Endpoint URL"] = "URL эндпоинта уведомления"; -$a->strings["Poll/Feed URL"] = "URL опроса/ленты"; -$a->strings["New photo from this URL"] = "Новое фото из этой URL"; -$a->strings["Submit"] = "Подтвердить"; -$a->strings["Help:"] = "Помощь:"; +$a->strings["Visible to everybody"] = "Видно всем"; +$a->strings["show"] = "показывать"; +$a->strings["don't show"] = "не показывать"; +$a->strings[" and "] = "и"; +$a->strings["public profile"] = "Публичный профиль"; +$a->strings["%1\$s changed %2\$s to “%3\$s”"] = "%1\$s изменил %2\$s на “%3\$s”"; +$a->strings["Visit %1\$s's %2\$s"] = "Посетить %1\$s's %2\$s"; +$a->strings["%1\$s has an updated %2\$s, changing %3\$s."] = ""; +$a->strings["Public Timeline"] = "Публичная шкала временни"; +$a->strings["Red Matrix Notification"] = "Уведомления Red матрицы"; +$a->strings["Thank You,"] = "Спасибо,"; +$a->strings["%s Administrator"] = "%s администратор"; +$a->strings["%s <!item_type!>"] = "%s <!item_type!>"; +$a->strings["[Red:Notify] New mail received at %s"] = ""; +$a->strings["%1\$s sent you a new private message at %2\$s."] = ""; +$a->strings["%1\$s sent you %2\$s."] = "%1\$s послал вам %2\$s."; +$a->strings["a private message"] = "личное сообщение"; +$a->strings["Please visit %s to view and/or reply to your private messages."] = ""; +$a->strings["%1\$s commented on [zrl=%2\$s]a %3\$s[/zrl]"] = ""; +$a->strings["%1\$s commented on [zrl=%2\$s]%3\$s's %4\$s[/zrl]"] = ""; +$a->strings["%1\$s commented on [zrl=%2\$s]your %3\$s[/zrl]"] = ""; +$a->strings["[Red:Notify] Comment to conversation #%1\$d by %2\$s"] = ""; +$a->strings["%s commented on an item/conversation you have been following."] = ""; +$a->strings["Please visit %s to view and/or reply to the conversation."] = ""; +$a->strings["[Red:Notify] %s posted to your profile wall"] = ""; +$a->strings["%1\$s posted to your profile wall at %2\$s"] = ""; +$a->strings["%1\$s posted to [zrl=%2\$s]your wall[/zrl]"] = ""; +$a->strings["[Red:Notify] %s tagged you"] = ""; +$a->strings["%1\$s tagged you at %2\$s"] = ""; +$a->strings["%1\$s [zrl=%2\$s]tagged you[/zrl]."] = ""; +$a->strings["[Red:Notify] %1\$s poked you"] = ""; +$a->strings["%1\$s poked you at %2\$s"] = ""; +$a->strings["%1\$s [zrl=%2\$s]poked you[/zrl]."] = ""; +$a->strings["[Red:Notify] %s tagged your post"] = ""; +$a->strings["%1\$s tagged your post at %2\$s"] = ""; +$a->strings["%1\$s tagged [zrl=%2\$s]your post[/zrl]"] = ""; +$a->strings["[Red:Notify] Introduction received"] = ""; +$a->strings["You've received an introduction from '%1\$s' at %2\$s"] = ""; +$a->strings["You've received [zrl=%1\$s]an introduction[/zrl] from %2\$s."] = ""; +$a->strings["You may visit their profile at %s"] = ""; +$a->strings["Please visit %s to approve or reject the introduction."] = ""; +$a->strings["[Red:Notify] Friend suggestion received"] = ""; +$a->strings["You've received a friend suggestion from '%1\$s' at %2\$s"] = ""; +$a->strings["You've received [zrl=%1\$s]a friend suggestion[/zrl] for %2\$s from %3\$s."] = ""; +$a->strings["Name:"] = "Имя:"; +$a->strings["Photo:"] = "Фото:"; +$a->strings["Please visit %s to approve or reject the suggestion."] = ""; +$a->strings["Connect"] = "Добавить"; +$a->strings["New window"] = "Новое окно"; +$a->strings["Open the selected location in a different window or browser tab"] = ""; +$a->strings["Poke"] = ""; +$a->strings["View Status"] = "Просмотр состояния"; +$a->strings["View Profile"] = "Просмотр профиля"; +$a->strings["View Photos"] = "Просмотр фотографий"; +$a->strings["Network Posts"] = "Сообщения сети"; +$a->strings["Edit Contact"] = "Редактировать контакт"; +$a->strings["Send PM"] = "Отправить PM"; +$a->strings["Unknown | Not categorised"] = "Неизвестные | Без категории"; +$a->strings["Block immediately"] = "Немедленно заблокировать"; +$a->strings["Shady, spammer, self-marketer"] = ""; +$a->strings["Known to me, but no opinion"] = ""; +$a->strings["OK, probably harmless"] = "OK, наверное безвредно"; +$a->strings["Reputable, has my trust"] = ""; +$a->strings["Frequently"] = "Часто"; +$a->strings["Hourly"] = "Ежечасно"; +$a->strings["Twice daily"] = "Два раза в день"; +$a->strings["Daily"] = "Ежедневно"; +$a->strings["Weekly"] = "Еженедельно"; +$a->strings["Monthly"] = "Ежемесячно"; +$a->strings["Friendica"] = "Friendica"; +$a->strings["OStatus"] = "OStatus"; +$a->strings["RSS/Atom"] = "RSS/Atom"; +$a->strings["Email"] = "E-mail"; +$a->strings["Diaspora"] = "Diaspora"; +$a->strings["Facebook"] = "Facebook"; +$a->strings["Zot!"] = "Zot!"; +$a->strings["LinkedIn"] = "LinkedIn"; +$a->strings["XMPP/IM"] = "XMPP/IM"; +$a->strings["MySpace"] = "MySpace"; +$a->strings["Add New Connection"] = "Добавить новый контакт"; +$a->strings["Enter the channel address"] = "Введите адрес вашего канала"; +$a->strings["Example: bob@example.com, http://example.com/barbara"] = "Пример: bob@example.com, http://example.com/barbara"; +$a->strings["%d invitation available"] = array( + 0 => "", + 1 => "", + 2 => "", +); +$a->strings["Find Channels"] = "Поиск каналов"; +$a->strings["Enter name or interest"] = "Впишите имя или интерес"; +$a->strings["Connect/Follow"] = "Добавить/следовать"; +$a->strings["Examples: Robert Morgenstein, Fishing"] = "Примеры: Владимир Ильич, Революционер"; +$a->strings["Find"] = "Поиск"; +$a->strings["Channel Suggestions"] = "Рекомендации контактов"; +$a->strings["Similar Interests"] = "Похожие интересы"; +$a->strings["Random Profile"] = "Случайные"; +$a->strings["Invite Friends"] = "Пригласить друзей"; +$a->strings["Saved Folders"] = "Запомненные папки"; +$a->strings["Everything"] = "Все"; +$a->strings["Categories"] = "Категории"; +$a->strings["%d connection in common"] = array( + 0 => "%d совместная связь", + 1 => "%d совместные связи", + 2 => "%d совместные контакты", +); +$a->strings["show more"] = "показать больше"; +$a->strings["Miscellaneous"] = "Прочее"; +$a->strings["year"] = "год"; +$a->strings["month"] = "месяц"; +$a->strings["day"] = "день"; +$a->strings["never"] = "никогда"; +$a->strings["less than a second ago"] = "менее чем одну секунду назад"; +$a->strings["years"] = "лет"; +$a->strings["months"] = "мес."; +$a->strings["week"] = "неделя"; +$a->strings["weeks"] = "недель"; +$a->strings["days"] = "дней"; +$a->strings["hour"] = "час"; +$a->strings["hours"] = "час."; +$a->strings["minute"] = "минута"; +$a->strings["minutes"] = "минут"; +$a->strings["second"] = "секунда"; +$a->strings["seconds"] = "секунд"; +$a->strings["%1\$d %2\$s ago"] = "%1\$d %2\$s назад"; +$a->strings["Cannot locate DNS info for database server '%s'"] = ""; +$a->strings["l F d, Y \\@ g:i A"] = "l F d, Y \\@ g:i A"; +$a->strings["Starts:"] = "Начало:"; +$a->strings["Finishes:"] = "\t\nКонец:"; +$a->strings["Location:"] = "Откуда:"; +$a->strings["General Features"] = "Главные функции"; +$a->strings["Content Expiration"] = ""; +$a->strings["Remove old posts/comments after a period of time"] = ""; +$a->strings["Multiple Profiles"] = "Несколько профилей"; +$a->strings["Ability to create multiple profiles"] = ""; +$a->strings["Web Pages"] = "Веб-страницы"; +$a->strings["Provide managed web pages on your channel"] = ""; +$a->strings["Enhanced Photo Albums"] = "Расширенные фотоальбомы"; +$a->strings["Enable photo album with enhanced features"] = ""; +$a->strings["Extended Identity Sharing"] = ""; +$a->strings[" "] = " "; +$a->strings["Expert Mode"] = "Экспертный режим"; +$a->strings["Enable Expert Mode to provide advanced configuration options"] = ""; +$a->strings["Post Composition Features"] = ""; +$a->strings["Richtext Editor"] = "Редактор RichText"; +$a->strings["Enable richtext editor"] = "Включить редактор RichText"; +$a->strings["Post Preview"] = "Предварительный просмотр сообщения"; +$a->strings["Allow previewing posts and comments before publishing them"] = ""; +$a->strings["Network and Stream Filtering"] = "Фильтрация сети и потока"; +$a->strings["Search by Date"] = "Поиск по дате"; +$a->strings["Ability to select posts by date ranges"] = ""; +$a->strings["Collections Filter"] = "Фильтр коллекций"; +$a->strings["Enable widget to display Network posts only from selected collections"] = ""; +$a->strings["Saved Searches"] = "Запомненные поиски"; +$a->strings["Save search terms for re-use"] = ""; +$a->strings["Network Personal Tab"] = ""; +$a->strings["Enable tab to display only Network posts that you've interacted on"] = ""; +$a->strings["Network New Tab"] = ""; +$a->strings["Enable tab to display all new Network activity"] = ""; +$a->strings["Affinity Tool"] = ""; +$a->strings["Filter stream activity by depth of relationships"] = ""; +$a->strings["Post/Comment Tools"] = ""; +$a->strings["Multiple Deletion"] = "Множественное удаление"; +$a->strings["Select and delete multiple posts/comments at once"] = ""; +$a->strings["Edit Sent Posts"] = "Редактировать отправленные сообщения"; +$a->strings["Edit and correct posts and comments after sending"] = ""; +$a->strings["Tagging"] = "Пометка"; +$a->strings["Ability to tag existing posts"] = ""; +$a->strings["Post Categories"] = "Категории сообщения"; +$a->strings["Add categories to your posts"] = ""; +$a->strings["Ability to file posts under folders"] = ""; +$a->strings["Dislike Posts"] = ""; +$a->strings["Ability to dislike posts/comments"] = ""; +$a->strings["Star Posts"] = "Помечать сообщения"; +$a->strings["Ability to mark special posts with a star indicator"] = ""; +$a->strings["Tag Cloud"] = "Облако тегов"; +$a->strings["Provide a personal tag cloud on your channel page"] = ""; +$a->strings["A deleted group with this name was revived. Existing item permissions <strong>may</strong> apply to this group and any future members. If this is not what you intended, please create another group with a different name."] = ""; +$a->strings["Default privacy group for new contacts"] = ""; +$a->strings["All Channels"] = "Все каналы"; +$a->strings["edit"] = "редактировать"; +$a->strings["Collections"] = "Коллекции"; +$a->strings["Edit collection"] = "Редактировать коллекцию"; +$a->strings["Create a new collection"] = "Создать новую коллекцию"; +$a->strings["Channels not in any collection"] = "Каналы не в какой коллекции"; +$a->strings["add"] = "добавить"; +$a->strings["Delete this item?"] = "Удалить этот элемент?"; +$a->strings["Comment"] = "Комментарий"; +$a->strings["show fewer"] = "показать меньше"; +$a->strings["Password too short"] = "Пароль слишком короткий"; +$a->strings["Passwords do not match"] = "Пароли не совпадают"; +$a->strings["everybody"] = "все"; +$a->strings["timeago.prefixAgo"] = ""; +$a->strings["timeago.suffixAgo"] = ""; +$a->strings["ago"] = "тому назад"; +$a->strings["from now"] = ""; +$a->strings["less than a minute"] = "менее чем одну минуту назад"; +$a->strings["about a minute"] = "около минуты"; +$a->strings["%d minutes"] = "%d мин."; +$a->strings["about an hour"] = "около часа"; +$a->strings["about %d hours"] = "около %d час."; +$a->strings["a day"] = "день"; +$a->strings["%d days"] = "%d дней"; +$a->strings["about a month"] = "около месяца"; +$a->strings["%d months"] = "%d мес."; +$a->strings["about a year"] = "около года"; +$a->strings["%d years"] = "%d лет"; +$a->strings["timeago.numbers"] = ""; +$a->strings["No recipient provided."] = ""; +$a->strings["[no subject]"] = "[без темы]"; +$a->strings["Unable to determine sender."] = ""; +$a->strings["Stored post could not be verified."] = ""; +$a->strings["view full size"] = "посмотреть в полный размер"; +$a->strings["Profile Photos"] = "Фотографии профиля"; +$a->strings["Profile"] = "Профиль"; +$a->strings["Full Name:"] = "Полное имя:"; +$a->strings["Gender:"] = "Пол:"; +$a->strings["j F, Y"] = "j F, Y"; +$a->strings["j F"] = "j F"; +$a->strings["Birthday:"] = "День Рождения:"; +$a->strings["Age:"] = "Возраст:"; +$a->strings["Status:"] = "Статус:"; +$a->strings["for %1\$d %2\$s"] = "для %1\$d %2\$s"; +$a->strings["Sexual Preference:"] = "Сексуальная ориентация:"; +$a->strings["Homepage:"] = "Домашняя страница:"; +$a->strings["Hometown:"] = "Родной город:"; +$a->strings["Tags:"] = "Тэги:"; +$a->strings["Political Views:"] = "Политические взгляды:"; +$a->strings["Religion:"] = "Религия:"; +$a->strings["About:"] = "О себе:"; +$a->strings["Hobbies/Interests:"] = "Хобби / интересы:"; +$a->strings["Likes:"] = "Что вам нравится:"; +$a->strings["Dislikes:"] = "Что вам не нравится:"; +$a->strings["Contact information and Social Networks:"] = "Контактная информация и социальные сети:"; +$a->strings["Musical interests:"] = "Музыкальные интересы:"; +$a->strings["Books, literature:"] = "Книги, литература:"; +$a->strings["Television:"] = "Телевидение:"; +$a->strings["Film/dance/culture/entertainment:"] = "Кино / танцы / культура / развлечения:"; +$a->strings["Love/Romance:"] = "Любовь / Романс:"; +$a->strings["Work/employment:"] = "Работа / Занятость:"; +$a->strings["School/education:"] = "Школа / образование:"; +$a->strings["Welcome "] = "Добро пожаловать"; +$a->strings["Please upload a profile photo."] = "Загрузите пожалуйста фотографию профиля."; +$a->strings["Welcome back "] = "Добро пожаловать"; +$a->strings["The form security token was not correct. This probably happened because the form has been opened for too long (>3 hours) before submitting it."] = ""; +$a->strings["Image/photo"] = "Изображение / фото"; +$a->strings["%1\$s wrote the following %2\$s %3\$s"] = ""; +$a->strings["post"] = "сообщение"; +$a->strings["$1 wrote:"] = "$1 писал:"; +$a->strings["Encrypted content"] = "Зашифрованное содержание"; +$a->strings["Logout"] = "Выход"; +$a->strings["End this session"] = "Закончить эту сессию"; +$a->strings["Home"] = "Моя страница"; +$a->strings["Your posts and conversations"] = "Ваши сообщения и беседы"; +$a->strings["Your profile page"] = "Страницa вашего профиля"; +$a->strings["Edit Profiles"] = "Редактирование профилей"; +$a->strings["Manage/Edit Profiles"] = "Управление / Редактирование профилей"; +$a->strings["Photos"] = "Фотографии"; +$a->strings["Your photos"] = "Ваши фотографии"; +$a->strings["Login"] = "Войти"; +$a->strings["Sign in"] = "Войти"; +$a->strings["%s - click to logout"] = "%s - нажмите чтобы выйти"; +$a->strings["Click to authenticate to your home hub"] = ""; +$a->strings["Home Page"] = "Моя страница"; +$a->strings["Register"] = "Регистрация"; +$a->strings["Create an account"] = "Создать аккаунт"; $a->strings["Help"] = "Помощь"; -$a->strings["Not Found"] = "Не найдено"; -$a->strings["Page not found."] = "Страница не найдена."; -$a->strings["File exceeds size limit of %d"] = "Файл превышает предельный размер %d"; -$a->strings["File upload failed."] = "Загрузка файла не удалась."; -$a->strings["Friend suggestion sent."] = "Приглашение в друзья отправлено."; -$a->strings["Suggest Friends"] = "Предложить друзей"; -$a->strings["Suggest a friend for %s"] = "Предложить друга для %s."; -$a->strings["Event title and start time are required."] = ""; -$a->strings["l, F j"] = "l, j F"; -$a->strings["Edit event"] = "Редактировать мероприятие"; -$a->strings["link to source"] = "ссылка на источник"; +$a->strings["Help and documentation"] = "Справочная информация и документация"; +$a->strings["Apps"] = "Приложения"; +$a->strings["Addon applications, utilities, games"] = ""; +$a->strings["Search"] = "Поиск"; +$a->strings["Search site content"] = "Поиск содержания по сайту"; +$a->strings["Directory"] = "Каталог"; +$a->strings["Channel Locator"] = "Локатор каналов"; +$a->strings["Matrix"] = "Матрица"; +$a->strings["Conversations from your grid"] = ""; +$a->strings["See all matrix notifications"] = "Просмотреть все оповещения матрицы"; +$a->strings["Mark all matrix notifications seen"] = "Пометить все оповещения матрицы как видел"; +$a->strings["See all channel notifications"] = "Просмотреть все оповещения канала"; +$a->strings["Mark all channel notifications seen"] = "Пометить все оповещения канала как видел"; +$a->strings["Intros"] = "Контакты"; +$a->strings["New Connections"] = "Новые контакты"; +$a->strings["See all channel introductions"] = "Просмотреть все введения канала"; +$a->strings["Notices"] = "Оповещения"; +$a->strings["Notifications"] = "Оповещения"; +$a->strings["See all notifications"] = "Просмотреть все оповещения"; +$a->strings["Mark all system notifications seen"] = "Пометить все оповещения как видел"; +$a->strings["Mail"] = "Эл. почта"; +$a->strings["Private mail"] = "Личная эл. почта"; +$a->strings["See all private messages"] = "Просмотреть все личные сообщения"; +$a->strings["Mark all private messages seen"] = "Отметить все личные сообщения как видел"; +$a->strings["Inbox"] = "Входящие"; +$a->strings["Outbox"] = "Исходящие"; +$a->strings["New Message"] = "Новая переписка"; $a->strings["Events"] = "Мероприятия"; -$a->strings["Create New Event"] = "Создать новое мероприятие"; -$a->strings["Previous"] = "Назад"; -$a->strings["Next"] = "Далее"; -$a->strings["hour:minute"] = "час:минута"; -$a->strings["Event details"] = "Сведения о мероприятии"; -$a->strings["Format is %s %s. Starting date and Title are required."] = ""; -$a->strings["Event Starts:"] = "Начало мероприятия:"; -$a->strings["Required"] = ""; -$a->strings["Finish date/time is not known or not relevant"] = "Дата/время окончания не известны, или не указаны"; -$a->strings["Event Finishes:"] = "Окончание мероприятия:"; -$a->strings["Adjust for viewer timezone"] = "Настройка часового пояса"; -$a->strings["Description:"] = "Описание:"; -$a->strings["Location:"] = "Откуда:"; -$a->strings["Title:"] = ""; -$a->strings["Share this event"] = "Поделитесь этим мероприятием"; -$a->strings["Cancel"] = "Отмена"; -$a->strings["Tag removed"] = "Ключевое слово удалено"; -$a->strings["Remove Item Tag"] = "Удалить ключевое слово"; -$a->strings["Select a tag to remove: "] = "Выберите ключевое слово для удаления: "; -$a->strings["Remove"] = "Удалить"; -$a->strings["%s welcomes %s"] = "%s приветствует %s"; -$a->strings["Authorize application connection"] = "Разрешить связь с приложением"; -$a->strings["Return to your app and insert this Securty Code:"] = "Вернитесь в ваше приложение и задайте этот код:"; -$a->strings["Please login to continue."] = "Пожалуйста, войдите для продолжения."; -$a->strings["Do you want to authorize this application to access your posts and contacts, and/or create new posts for you?"] = ""; -$a->strings["Yes"] = "Да"; -$a->strings["No"] = "Нет"; +$a->strings["Event Calendar"] = "Календарь мероприятий"; +$a->strings["See all events"] = "Показать все мероприятия"; +$a->strings["Mark all events seen"] = "Отметить все мероприятия как видел"; +$a->strings["Channel Select"] = "Выбор канала"; +$a->strings["Manage Your Channels"] = "Управление каналов"; +$a->strings["Settings"] = "Настройки"; +$a->strings["Account/Channel Settings"] = "Настройки аккаунта/канала"; +$a->strings["Connections"] = "Контакты"; +$a->strings["Manage/Edit Friends and Connections"] = ""; +$a->strings["Admin"] = "Администрация Сайта"; +$a->strings["Site Setup and Configuration"] = "Установка и конфигурации сайта"; +$a->strings["Nothing new here"] = "Ничего нового здесь"; +$a->strings["Please wait..."] = "Подождите пожалуйста ..."; +$a->strings["created a new post"] = "создал новое сообщение"; +$a->strings["commented on %s's post"] = ""; +$a->strings["Embedded content"] = ""; +$a->strings["Embedding disabled"] = ""; +$a->strings["Permission denied."] = "Доступ запрещен."; +$a->strings["Image exceeds website size limit of %lu bytes"] = ""; +$a->strings["Image file is empty."] = "файл пуст."; +$a->strings["Unable to process image"] = ""; +$a->strings["Photo storage failed."] = ""; $a->strings["Photo Albums"] = "Фотоальбомы"; -$a->strings["Contact Photos"] = "Фотографии контакта"; -$a->strings["Upload New Photos"] = "Загрузить новые фото"; -$a->strings["everybody"] = "каждый"; -$a->strings["Contact information unavailable"] = "Информация о контакте недоступна"; -$a->strings["Profile Photos"] = "Фотографии профиля"; -$a->strings["Album not found."] = "Альбом не найден."; -$a->strings["Delete Album"] = "Удалить альбом"; -$a->strings["Delete Photo"] = "Удалить фото"; -$a->strings["was tagged in a"] = "отмечен/а/ в"; +$a->strings["Upload New Photos"] = "Загрузить новые фотографии"; +$a->strings["Male"] = "Мужской"; +$a->strings["Female"] = "Женский"; +$a->strings["Currently Male"] = "В настоящее время мужской"; +$a->strings["Currently Female"] = "В настоящее время женский"; +$a->strings["Mostly Male"] = "В основном мужской"; +$a->strings["Mostly Female"] = "В основном женский"; +$a->strings["Transgender"] = "Транссексуал"; +$a->strings["Intersex"] = "Intersex"; +$a->strings["Transsexual"] = "Транссексуал"; +$a->strings["Hermaphrodite"] = "Гермафродит"; +$a->strings["Neuter"] = "Среднего рода"; +$a->strings["Non-specific"] = "Неспецифический"; +$a->strings["Other"] = "Другой"; +$a->strings["Undecided"] = "Нерешительный"; +$a->strings["Males"] = "Самец"; +$a->strings["Females"] = "Самка"; +$a->strings["Gay"] = "Гей"; +$a->strings["Lesbian"] = "Лесбиянка"; +$a->strings["No Preference"] = "Без предпочтений"; +$a->strings["Bisexual"] = "Двуполый"; +$a->strings["Autosexual"] = "Autosexual"; +$a->strings["Abstinent"] = "Воздержанный"; +$a->strings["Virgin"] = "Девственница"; +$a->strings["Deviant"] = "Отклоняющийся от нормы"; +$a->strings["Fetish"] = "Фетиш"; +$a->strings["Oodles"] = "Множественный"; +$a->strings["Nonsexual"] = "Несексуальный"; +$a->strings["Single"] = "Одинок"; +$a->strings["Lonely"] = "Уединенный"; +$a->strings["Available"] = "Доступный"; +$a->strings["Unavailable"] = "Недоступный"; +$a->strings["Has crush"] = ""; +$a->strings["Infatuated"] = "Влюбленный"; +$a->strings["Dating"] = ""; +$a->strings["Unfaithful"] = "Неверный"; +$a->strings["Sex Addict"] = "Секс наркоман"; +$a->strings["Friends"] = "Друзья"; +$a->strings["Friends/Benefits"] = ""; +$a->strings["Casual"] = "Случайный"; +$a->strings["Engaged"] = "Помолвленный"; +$a->strings["Married"] = "Женат"; +$a->strings["Imaginarily married"] = "Мысленно женат"; +$a->strings["Partners"] = "Партнеры"; +$a->strings["Cohabiting"] = "Сожительствующие"; +$a->strings["Common law"] = ""; +$a->strings["Happy"] = "Счастливый"; +$a->strings["Not looking"] = ""; +$a->strings["Swinger"] = ""; +$a->strings["Betrayed"] = ""; +$a->strings["Separated"] = ""; +$a->strings["Unstable"] = "Колеблющийся"; +$a->strings["Divorced"] = "Разведенный"; +$a->strings["Imaginarily divorced"] = "Мысленно разведенный"; +$a->strings["Widowed"] = "Овдовевший"; +$a->strings["Uncertain"] = "Неопределенный"; +$a->strings["It's complicated"] = "Это сложно"; +$a->strings["Don't care"] = "Не заботьтесь"; +$a->strings["Ask me"] = "Спроси меня"; +$a->strings["Not a valid email address"] = "Не действительный адрес электронной почты"; +$a->strings["Your email domain is not among those allowed on this site"] = ""; +$a->strings["Your email address is already registered at this site."] = ""; +$a->strings["An invitation is required."] = ""; +$a->strings["Invitation could not be verified."] = ""; +$a->strings["Please enter the required information."] = ""; +$a->strings["Failed to store account information."] = ""; +$a->strings["Registration request at %s"] = "Требуется регистрация на %s"; +$a->strings["Administrator"] = "Администратор"; +$a->strings["your registration password"] = "Ваш пароль регистрации"; +$a->strings["Registration details for %s"] = "Регистрационные данные для %s"; +$a->strings["Account approved."] = "Аккаунт утвержден."; +$a->strings["Registration revoked for %s"] = "Регистрация отозвана для %s"; +$a->strings["Unable to obtain identity information from database"] = ""; +$a->strings["Empty name"] = "Пустое имя"; +$a->strings["Name too long"] = "Слишком длинное имя"; +$a->strings["No account identifier"] = "идентификатор аккаунта отсутствует"; +$a->strings["Nickname has unsupported characters or is already being used on this site."] = ""; +$a->strings["Unable to retrieve created identity"] = ""; +$a->strings["Default Profile"] = "Профиль по умолчанию"; +$a->strings["Click here to upgrade."] = "Нажмите здесь, чтобы обновить."; +$a->strings["This action exceeds the limits set by your subscription plan."] = ""; +$a->strings["This action is not available under your subscription plan."] = ""; +$a->strings["Invalid data packet"] = ""; +$a->strings["Unable to verify channel signature"] = "Невозможно проверить сигнатуру канала"; +$a->strings["Unable to verify site signature for %s"] = ""; +$a->strings["prev"] = "предыдущий"; +$a->strings["first"] = "первый"; +$a->strings["last"] = "последний"; +$a->strings["next"] = "следующий"; +$a->strings["older"] = "старший"; +$a->strings["newer"] = "новее"; +$a->strings["No connections"] = "Нет контактов"; +$a->strings["%d Connection"] = array( + 0 => "%d Связи", + 1 => "%d Связи", + 2 => "%d Контактов", +); +$a->strings["View Connections"] = "Просмотр контактов"; +$a->strings["Save"] = "Запомнить"; +$a->strings["poke"] = ""; +$a->strings["poked"] = ""; +$a->strings["ping"] = ""; +$a->strings["pinged"] = ""; +$a->strings["prod"] = ""; +$a->strings["prodded"] = ""; +$a->strings["slap"] = ""; +$a->strings["slapped"] = ""; +$a->strings["finger"] = ""; +$a->strings["fingered"] = ""; +$a->strings["rebuff"] = ""; +$a->strings["rebuffed"] = ""; +$a->strings["happy"] = ""; +$a->strings["sad"] = ""; +$a->strings["mellow"] = ""; +$a->strings["tired"] = ""; +$a->strings["perky"] = ""; +$a->strings["angry"] = ""; +$a->strings["stupified"] = ""; +$a->strings["puzzled"] = ""; +$a->strings["interested"] = ""; +$a->strings["bitter"] = ""; +$a->strings["cheerful"] = ""; +$a->strings["alive"] = ""; +$a->strings["annoyed"] = ""; +$a->strings["anxious"] = ""; +$a->strings["cranky"] = ""; +$a->strings["disturbed"] = ""; +$a->strings["frustrated"] = ""; +$a->strings["motivated"] = ""; +$a->strings["relaxed"] = ""; +$a->strings["surprised"] = ""; +$a->strings["Monday"] = "Понедельник"; +$a->strings["Tuesday"] = "Вторник"; +$a->strings["Wednesday"] = "Среда"; +$a->strings["Thursday"] = "Четверг"; +$a->strings["Friday"] = "Пятница"; +$a->strings["Saturday"] = "Суббота"; +$a->strings["Sunday"] = "Воскресенье"; +$a->strings["January"] = "Январь"; +$a->strings["February"] = "Февраль"; +$a->strings["March"] = "Март"; +$a->strings["April"] = "Апрель"; +$a->strings["May"] = "Май"; +$a->strings["June"] = "Июнь"; +$a->strings["July"] = "Июль"; +$a->strings["August"] = "Август"; +$a->strings["September"] = "Сентябрь"; +$a->strings["October"] = "Октябрь"; +$a->strings["November"] = "Ноябрь"; +$a->strings["December"] = "Декабрь"; +$a->strings["unknown.???"] = "неизвестный.???"; +$a->strings["bytes"] = "байт"; +$a->strings["remove"] = "удалить"; +$a->strings["[remove]"] = "[удалить]"; +$a->strings["Categories:"] = "Категории:"; +$a->strings["Filed under:"] = "Хранить под:"; +$a->strings["Click to open/close"] = "Нажмите, чтобы открыть / закрыть"; +$a->strings["link to source"] = "ссылка на источник"; +$a->strings["default"] = "по умолчанию"; +$a->strings["Select an alternate language"] = "Выбор альтернативного языка"; $a->strings["photo"] = "фото"; -$a->strings["by"] = "с"; -$a->strings["Image exceeds size limit of "] = "Размер фото превышает лимит "; -$a->strings["Image file is empty."] = "Файл изображения пуст."; -$a->strings["Unable to process image."] = "Невозможно обработать фото."; -$a->strings["Image upload failed."] = "Загрузка фото неудачная."; -$a->strings["Public access denied."] = "Свободный доступ закрыт."; -$a->strings["No photos selected"] = "Не выбрано фото."; -$a->strings["Access to this item is restricted."] = "Доступ к этому пункту ограничен."; -$a->strings["You have used %1$.2f Mbytes of %2$.2f Mbytes photo storage."] = ""; -$a->strings["You have used %1$.2f Mbytes of photo storage."] = ""; -$a->strings["Upload Photos"] = "Загрузить фото"; -$a->strings["New album name: "] = "Название нового альбома: "; -$a->strings["or existing album name: "] = "или название существующего альбома: "; -$a->strings["Do not show a status post for this upload"] = "Не показывать статус-сообщение для этой закачки"; -$a->strings["Permissions"] = "Разрешения"; -$a->strings["Edit Album"] = "Редактировать альбом"; -$a->strings["Show Newest First"] = ""; -$a->strings["Show Oldest First"] = ""; -$a->strings["View Photo"] = "Просмотр фото"; -$a->strings["Permission denied. Access to this item may be restricted."] = "Нет разрешения. Доступ к этому элементу ограничен."; -$a->strings["Photo not available"] = "Фото недоступно"; -$a->strings["View photo"] = "Просмотр фото"; -$a->strings["Edit photo"] = "Редактировать фото"; -$a->strings["Use as profile photo"] = "Использовать как фото профиля"; +$a->strings["event"] = "мероприятие"; +$a->strings["status"] = "статус"; +$a->strings["comment"] = "комментарий"; +$a->strings["activity"] = "активность"; +$a->strings["Logged out."] = "Вышел из системы."; +$a->strings["Failed authentication"] = "Ошибка аутентификации"; +$a->strings["Login failed."] = "Не удалось войти."; +$a->strings["Channel is blocked on this site."] = "Канал блокируется на этом сайте."; +$a->strings["Channel location missing."] = "Местоположение канала отсутствует."; +$a->strings["Channel discovery failed. Website may be down or misconfigured."] = ""; +$a->strings["Response from remote channel was not understood."] = ""; +$a->strings["Response from remote channel was incomplete."] = ""; +$a->strings["local account not found."] = "локальный аккаунт не найден."; +$a->strings["Cannot connect to yourself."] = "Нельзя подключиться к самому себе."; +$a->strings["Can view my \"public\" stream and posts"] = ""; +$a->strings["Can view my \"public\" channel profile"] = ""; +$a->strings["Can view my \"public\" photo albums"] = ""; +$a->strings["Can view my \"public\" address book"] = ""; +$a->strings["Can view my \"public\" file storage"] = ""; +$a->strings["Can view my \"public\" pages"] = ""; +$a->strings["Can send me their channel stream and posts"] = ""; +$a->strings["Can post on my channel page (\"wall\")"] = ""; +$a->strings["Can comment on my posts"] = ""; +$a->strings["Can send me private mail messages"] = ""; +$a->strings["Can post photos to my photo albums"] = ""; +$a->strings["Can forward to all my channel contacts via post @mentions"] = ""; +$a->strings["Advanced - useful for creating group forum channels"] = ""; +$a->strings["Can chat with me (when available)"] = ""; +$a->strings["Requires compatible chat plugin"] = ""; +$a->strings["Can write to my \"public\" file storage"] = ""; +$a->strings["Can edit my \"public\" pages"] = ""; +$a->strings["Can administer my channel resources"] = ""; +$a->strings["Extremely advanced. Leave this alone unless you know what you are doing"] = ""; +$a->strings["Tags"] = "Тэги"; +$a->strings["have"] = ""; +$a->strings["has"] = ""; +$a->strings["want"] = ""; +$a->strings["wants"] = ""; +$a->strings["like"] = "мне нравиться"; +$a->strings["likes"] = "мне нравиться"; +$a->strings["dislike"] = "мне не-нравиться"; +$a->strings["dislikes"] = "мне не-нравиться"; +$a->strings["Item was not found."] = ""; +$a->strings["No source file."] = "Нет исходного файла."; +$a->strings["Cannot locate file to replace"] = ""; +$a->strings["Cannot locate file to revise/update"] = ""; +$a->strings["File exceeds size limit of %d"] = ""; +$a->strings["File upload failed. Possible system limit or action terminated."] = ""; +$a->strings["Stored file could not be verified. Upload failed."] = ""; +$a->strings["Path not available."] = "Путь недоступен."; $a->strings["Private Message"] = "Личное сообщение"; -$a->strings["View Full Size"] = "Просмотреть полный размер"; -$a->strings["Tags: "] = "Ключевые слова: "; -$a->strings["[Remove any tag]"] = "[Удалить любое ключевое слово]"; -$a->strings["Rotate CW (right)"] = ""; -$a->strings["Rotate CCW (left)"] = ""; -$a->strings["New album name"] = "Название нового альбома"; -$a->strings["Caption"] = "Подпись"; -$a->strings["Add a Tag"] = "Добавить ключевое слово (таг)"; -$a->strings["Example: @bob, @Barbara_Jensen, @jim@example.com, #California, #camping"] = "Пример: @bob, @Barbara_Jensen, @jim@example.com, #California, #camping"; -$a->strings["I like this (toggle)"] = "Нравится"; -$a->strings["I don't like this (toggle)"] = "Не нравится"; -$a->strings["Share"] = "Поделиться"; -$a->strings["Please wait"] = "Пожалуйста, подождите"; -$a->strings["This is you"] = "Это вы"; -$a->strings["Comment"] = "Комментарий"; -$a->strings["Preview"] = "предварительный просмотр"; -$a->strings["Delete"] = "Удалить"; -$a->strings["View Album"] = "Просмотреть альбом"; -$a->strings["Recent Photos"] = "Последние фото"; -$a->strings["Not available."] = "Недоступно."; -$a->strings["Community"] = "Сообщество"; -$a->strings["No results."] = "Нет результатов."; -$a->strings["This is Friendica, version"] = "Это Friendica, версия"; -$a->strings["running at web location"] = "работает на веб-узле"; -$a->strings["Please visit <a href=\"http://friendica.com\">Friendica.com</a> to learn more about the Friendica project."] = ""; -$a->strings["Bug reports and issues: please visit"] = "Отчет об ошибках и проблемах: пожалуйста, посетите"; -$a->strings["Suggestions, praise, donations, etc. - please email \"Info\" at Friendica - dot com"] = ""; -$a->strings["Installed plugins/addons/apps:"] = ""; -$a->strings["No installed plugins/addons/apps"] = "Нет установленных плагинов / добавок / приложений"; -$a->strings["Item not found"] = "Элемент не найден"; -$a->strings["Edit post"] = "Редактировать сообщение"; -$a->strings["Post to Email"] = "Отправить на Email"; $a->strings["Edit"] = "Редактировать"; -$a->strings["Upload photo"] = "Загрузить фото"; -$a->strings["Attach file"] = "Приложить файл"; +$a->strings["Delete"] = "Удалить"; +$a->strings["Select"] = "Выбрать"; +$a->strings["save to folder"] = "сохранить в папку"; +$a->strings["add star"] = "добавить маркировку"; +$a->strings["remove star"] = "удалить маркировку"; +$a->strings["toggle star status"] = ""; +$a->strings["starred"] = "помеченные"; +$a->strings["add tag"] = "добавить тег"; +$a->strings["I like this (toggle)"] = ""; +$a->strings["I don't like this (toggle)"] = ""; +$a->strings["Share this"] = "Поделиться этим"; +$a->strings["share"] = "поделиться"; +$a->strings["View %s's profile - %s"] = ""; +$a->strings["to"] = "к"; +$a->strings["Wall-to-Wall"] = "Стена-к-Стене"; +$a->strings["via Wall-To-Wall:"] = "через Стена-к-Стене:"; +$a->strings[" from %s"] = " от %s"; +$a->strings["Please wait"] = "Подождите пожалуйста"; +$a->strings["%d comment"] = array( + 0 => "%d комментарий", + 1 => "%d комментариев", + 2 => "%d комментариев", +); +$a->strings["This is you"] = "Это вы"; +$a->strings["Submit"] = "Отправить"; +$a->strings["Bold"] = "Жирный"; +$a->strings["Italic"] = "Курсив"; +$a->strings["Underline"] = "Подчеркнутый"; +$a->strings["Quote"] = "Цитата"; +$a->strings["Code"] = "Код"; +$a->strings["Image"] = "Изображение"; +$a->strings["Link"] = "Ссылка"; +$a->strings["Video"] = "Видео"; +$a->strings["Preview"] = "Предварительный просмотр"; +$a->strings["channel"] = "канал"; +$a->strings["%1\$s likes %2\$s's %3\$s"] = ""; +$a->strings["%1\$s doesn't like %2\$s's %3\$s"] = ""; +$a->strings["%1\$s is now connected with %2\$s"] = ""; +$a->strings["%1\$s poked %2\$s"] = ""; +$a->strings["%1\$s is currently %2\$s"] = ""; +$a->strings["View %s's profile @ %s"] = ""; +$a->strings["View in context"] = "Показать в контексте"; +$a->strings["Loading..."] = "Загрузка..."; +$a->strings["Delete Selected Items"] = "Удалить выбранные элементы"; +$a->strings["Follow Thread"] = "Следобать теме"; +$a->strings["%s likes this."] = "%s нравится это."; +$a->strings["%s doesn't like this."] = "%s не нравится это."; +$a->strings["<span %1\$s>%2\$d people</span> like this."] = ""; +$a->strings["<span %1\$s>%2\$d people</span> don't like this."] = ""; +$a->strings["and"] = "и"; +$a->strings[", and %d other people"] = ""; +$a->strings["%s like this."] = "%s нравится это."; +$a->strings["%s don't like this."] = "%s не нравится это."; +$a->strings["Visible to <strong>everybody</strong>"] = "Видно для <strong>всех</strong>"; +$a->strings["Please enter a link URL:"] = "Пожалуйста, введите URL ссылки:"; +$a->strings["Please enter a video link/URL:"] = "Пожалуйста, введите URL видео-ссылки:"; +$a->strings["Please enter an audio link/URL:"] = "Пожалуйста, введите URL аудио-ссылки:"; +$a->strings["Tag term:"] = "Теги:"; +$a->strings["Save to Folder:"] = "Сохранить в папку:"; +$a->strings["Where are you right now?"] = "Где вы сейчас?"; +$a->strings["Share"] = "Поделиться"; +$a->strings["Page link title"] = "Ссылка заголовока страницы"; +$a->strings["Upload photo"] = "Загрузить фотографию"; +$a->strings["upload photo"] = "загрузить фотографию"; +$a->strings["Attach file"] = "Прикрепить файл"; +$a->strings["attach file"] = "прикрепить файл"; $a->strings["Insert web link"] = "Вставить веб-ссылку"; -$a->strings["Insert YouTube video"] = "Вставить видео YouTube"; -$a->strings["Insert Vorbis [.ogg] video"] = "Вставить Vorbis [.ogg] видео"; -$a->strings["Insert Vorbis [.ogg] audio"] = "Вставить Vorbis [.ogg] аудио"; -$a->strings["Set your location"] = "Задать ваше местоположение"; -$a->strings["Clear browser location"] = "Очистить местонахождение браузера"; +$a->strings["web link"] = "веб-ссылка"; +$a->strings["Insert video link"] = "Вставить видео-ссылку"; +$a->strings["video link"] = "видео-ссылка"; +$a->strings["Insert audio link"] = "Вставить аудио-ссылку"; +$a->strings["audio link"] = "аудио-ссылка"; +$a->strings["Set your location"] = "Указание своего расположения"; +$a->strings["set location"] = "указание расположения"; +$a->strings["Clear browser location"] = "Стереть указание расположения"; +$a->strings["clear location"] = "указание расположения"; +$a->strings["Set title"] = "Задать название"; +$a->strings["Categories (comma-separated list)"] = "Категории (список через запятую)"; $a->strings["Permission settings"] = "Настройки разрешений"; -$a->strings["CC: email addresses"] = "Копии на email адреса"; +$a->strings["permissions"] = "разрешения"; $a->strings["Public post"] = "Публичное сообщение"; -$a->strings["Set title"] = "Установить заголовок"; -$a->strings["Categories (comma-separated list)"] = "Категории (список через запятую)"; $a->strings["Example: bob@example.com, mary@example.com"] = "Пример: bob@example.com, mary@example.com"; -$a->strings["This introduction has already been accepted."] = "Этот запрос был уже принят."; -$a->strings["Profile location is not valid or does not contain profile information."] = "Местоположение профиля является недопустимым или не содержит информацию о профиле."; -$a->strings["Warning: profile location has no identifiable owner name."] = "Внимание: местоположение профиля не имеет идентифицируемого имени владельца."; -$a->strings["Warning: profile location has no profile photo."] = "Внимание: местоположение профиля не имеет еще фотографии профиля."; -$a->strings["%d required parameter was not found at the given location"] = array( - 0 => "%d требуемый параметр не был найден в заданном месте", - 1 => "%d требуемых параметров не были найдены в заданном месте", - 2 => "%d требуемых параметров не были найдены в заданном месте", +$a->strings["Permission denied"] = "Доступ запрещен"; +$a->strings["%s's birthday"] = "%s's День Рождения"; +$a->strings["Happy Birthday %s"] = "С Днем Рождения %s"; +$a->strings["[Name Withheld]"] = ""; +$a->strings["A new person is sharing with you at "] = ""; +$a->strings["You have a new follower at "] = "У вас есть новый последователь в"; +$a->strings["Item not found."] = "Элемент не найден."; +$a->strings["Archives"] = "Архивы"; +$a->strings["Collection not found."] = "Коллекция не найдена."; +$a->strings["Collection has no members."] = ""; +$a->strings["Connection not found."] = "Контакт не найден."; +$a->strings["No channel."] = "Не канал."; +$a->strings["Common connections"] = "Общие контакты"; +$a->strings["No connections in common."] = "Общих контактов нет."; +$a->strings["Event title and start time are required."] = ""; +$a->strings["l, F j"] = "l, F j"; +$a->strings["Edit event"] = "Редактировать мероприятие"; +$a->strings["Create New Event"] = "Создать новое мероприятие"; +$a->strings["Previous"] = "Предыдущая"; +$a->strings["Next"] = "Следующая"; +$a->strings["hour:minute"] = "часы:минуты"; +$a->strings["Event details"] = "Детали мероприятия"; +$a->strings["Format is %s %s. Starting date and Title are required."] = "Формат: %s %s. Дата начала и название необходимы."; +$a->strings["Event Starts:"] = "Начало мероприятий:"; +$a->strings["Required"] = "Необходимо"; +$a->strings["Finish date/time is not known or not relevant"] = ""; +$a->strings["Event Finishes:"] = "\t\nКонец мероприятий:"; +$a->strings["Adjust for viewer timezone"] = ""; +$a->strings["Description:"] = "Описание:"; +$a->strings["Title:"] = "Название:"; +$a->strings["Share this event"] = "Поделиться этим мероприятием"; +$a->strings["Object store: failed"] = ""; +$a->strings["thing/stuff added"] = ""; +$a->strings["OBJ: %1\$s %2\$s %3\$s"] = ""; +$a->strings["not yet implemented."] = ""; +$a->strings["Add Stuff to your Profile"] = ""; +$a->strings["Select a profile"] = "Выберите профиль"; +$a->strings["Select a category of stuff. e.g. I ______ something"] = ""; +$a->strings["Name of thing or stuff e.g. something"] = ""; +$a->strings["URL of thing or stuff (optional)"] = ""; +$a->strings["URL for photo of thing or stuff (optional)"] = ""; +$a->strings["Total invitation limit exceeded."] = ""; +$a->strings["%s : Not a valid email address."] = "%s : Не действительный адрес электронной почты."; +$a->strings["Please join us on Red"] = "Пожалуйста, присоединяйтесь к нам в Red"; +$a->strings["Invitation limit exceeded. Please contact your site administrator."] = ""; +$a->strings["%s : Message delivery failed."] = ""; +$a->strings["%d message sent."] = array( + 0 => "", + 1 => "", + 2 => "", ); -$a->strings["Introduction complete."] = "Запрос создан."; -$a->strings["Unrecoverable protocol error."] = "Неисправимая ошибка протокола."; -$a->strings["Profile unavailable."] = "Профиль недоступен."; -$a->strings["%s has received too many connection requests today."] = "К %s пришло сегодня слишком много запросов на подключение."; -$a->strings["Spam protection measures have been invoked."] = "Были применены меры защиты от спама."; -$a->strings["Friends are advised to please try again in 24 hours."] = "Друзья советуют попробовать еще раз в ближайшие 24 часа."; -$a->strings["Invalid locator"] = "Недопустимый локатор"; -$a->strings["Invalid email address."] = ""; -$a->strings["This account has not been configured for email. Request failed."] = ""; -$a->strings["Unable to resolve your name at the provided location."] = "Не удается установить ваше имя на предложенном местоположении."; -$a->strings["You have already introduced yourself here."] = "Вы уже ввели информацию о себе здесь."; -$a->strings["Apparently you are already friends with %s."] = "Похоже, что вы уже друзья с %s."; -$a->strings["Invalid profile URL."] = "Неверный URL профиля."; -$a->strings["Disallowed profile URL."] = "Запрещенный URL профиля."; -$a->strings["Failed to update contact record."] = "Не удалось обновить запись контакта."; -$a->strings["Your introduction has been sent."] = "Ваш запрос отправлен."; -$a->strings["Please login to confirm introduction."] = "Для подтверждения запроса войдите пожалуйста с паролем."; -$a->strings["Incorrect identity currently logged in. Please login to <strong>this</strong> profile."] = "Неверно идентифицирован вход. Пожалуйста, войдите в <strong>этот</strong> профиль."; -$a->strings["Hide this contact"] = ""; -$a->strings["Welcome home %s."] = "Добро пожаловать домой, %s!"; -$a->strings["Please confirm your introduction/connection request to %s."] = "Пожалуйста, подтвердите краткую информацию / запрос на подключение к %s."; -$a->strings["Confirm"] = "Подтвердить"; -$a->strings["[Name Withheld]"] = "[Имя не разглашается]"; -$a->strings["Please enter your 'Identity Address' from one of the following supported communications networks:"] = ""; -$a->strings["<strike>Connect as an email follower</strike> (Coming soon)"] = ""; -$a->strings["If you are not yet a member of the free social web, <a href=\"http://dir.friendica.com/siteinfo\">follow this link to find a public Friendica site and join us today</a>."] = ""; -$a->strings["Friend/Connection Request"] = "Запрос в друзья / на подключение"; -$a->strings["Examples: jojo@demo.friendica.com, http://demo.friendica.com/profile/jojo, testuser@identi.ca"] = "Примеры: jojo@demo.friendika.com, http://demo.friendika.com/profile/jojo, testuser@identi.ca"; -$a->strings["Please answer the following:"] = "Пожалуйста, ответьте следующее:"; -$a->strings["Does %s know you?"] = "%s знает вас?"; -$a->strings["Add a personal note:"] = "Добавить личную заметку:"; -$a->strings["Friendica"] = "Friendica"; -$a->strings["StatusNet/Federated Social Web"] = "StatusNet / Federated Social Web"; -$a->strings["Diaspora"] = "Diaspora"; -$a->strings[" - please do not use this form. Instead, enter %s into your Diaspora search bar."] = ""; -$a->strings["Your Identity Address:"] = "Ваш идентификационный адрес:"; -$a->strings["Submit Request"] = "Отправить запрос"; -$a->strings["Friendica Social Communications Server - Setup"] = ""; -$a->strings["Could not connect to database."] = "Не удалось подключиться к базе данных."; +$a->strings["You have no more invitations available"] = ""; +$a->strings["Visit %s for a list of public sites that you can join. Friendica members on other sites can all connect with each other, as well as with members of many other social networks."] = ""; +$a->strings["To accept this invitation, please visit and register at %s or any other public Friendica website."] = ""; +$a->strings["Friendica sites all inter-connect to create a huge privacy-enhanced social web that is owned and controlled by its members. They can also connect with many traditional social networks. See %s for a list of alternate Friendica sites you can join."] = ""; +$a->strings["Our apologies. This system is not currently configured to connect with other public sites or invite members."] = ""; +$a->strings["Send invitations"] = "Послать приглашения"; +$a->strings["Enter email addresses, one per line:"] = "Введите адреса электронной почты, по одному на строку:"; +$a->strings["Your message:"] = "Ваше письмо:"; +$a->strings["You are cordially invited to join me and other close friends on Friendica - and help us to create a better social web."] = ""; +$a->strings["You will need to supply this invitation code: \$invite_code"] = ""; +$a->strings["Once you have registered, please connect with me via my profile page at:"] = ""; +$a->strings["For more information about the Friendica project and why we feel it is important, please visit http://friendica.com"] = ""; +$a->strings["Friends of %s"] = "Друзья %s"; +$a->strings["No friends to display."] = "Нет друзей для показа."; +$a->strings["Requested profile is not available."] = "Запрашиваемый профиль не доступен."; +$a->strings["View"] = "Просмотр"; +$a->strings["Authorize application connection"] = ""; +$a->strings["Return to your app and insert this Securty Code:"] = ""; +$a->strings["Please login to continue."] = "Пожалуйста, войдите, чтобы продолжить."; +$a->strings["Do you want to authorize this application to access your posts and contacts, and/or create new posts for you?"] = ""; +$a->strings["Yes"] = "Да"; +$a->strings["No"] = "Нет"; +$a->strings["No installed applications."] = ""; +$a->strings["Applications"] = "Приложения"; +$a->strings["Invalid item."] = "Недействительный элемент."; +$a->strings["Channel not found."] = "Канал не найден."; +$a->strings["Item not available."] = "Элемент недоступен."; +$a->strings["Red Matrix Server - Setup"] = "Red Matrix Сервер - Установка"; +$a->strings["Could not connect to database."] = "Не удалось подключиться к серверу баз данных."; +$a->strings["Could not connect to specified site URL. Possible SSL certificate or DNS issue."] = ""; $a->strings["Could not create table."] = "Не удалось создать таблицу."; -$a->strings["Your Friendica site database has been installed."] = "База данных сайта установлена."; -$a->strings["You may need to import the file \"database.sql\" manually using phpmyadmin or mysql."] = "Вам может понадобиться импортировать файл \"database.sql\" вручную с помощью PhpMyAdmin или MySQL."; -$a->strings["Please see the file \"INSTALL.txt\"."] = "Пожалуйста, смотрите файл \"INSTALL.txt\"."; -$a->strings["System check"] = ""; -$a->strings["Check again"] = "Проверить еще раз"; +$a->strings["Your site database has been installed."] = "Ваша база данных установлена."; +$a->strings["You may need to import the file \"install/database.sql\" manually using phpmyadmin or mysql."] = ""; +$a->strings["Please see the file \"install/INSTALL.txt\"."] = "Пожалуйста, обратитесь к файлу \"install/INSTALL.txt\"."; +$a->strings["System check"] = "Проверка системы"; +$a->strings["Check again"] = "Проверить снова"; $a->strings["Database connection"] = "Подключение к базе данных"; -$a->strings["In order to install Friendica we need to know how to connect to your database."] = ""; -$a->strings["Please contact your hosting provider or site administrator if you have questions about these settings."] = "Пожалуйста, свяжитесь с вашим хостинг-провайдером или администратором сайта, если у вас есть вопросы об этих параметрах."; -$a->strings["The database you specify below should already exist. If it does not, please create it before continuing."] = "Базы данных, указанная ниже, должна уже существовать. Если этого нет, пожалуйста, создайте ее перед продолжением."; +$a->strings["In order to install Red Matrix we need to know how to connect to your database."] = ""; +$a->strings["Please contact your hosting provider or site administrator if you have questions about these settings."] = ""; +$a->strings["The database you specify below should already exist. If it does not, please create it before continuing."] = ""; $a->strings["Database Server Name"] = "Имя сервера базы данных"; -$a->strings["Database Login Name"] = "Логин базы данных"; -$a->strings["Database Login Password"] = "Пароль базы данных"; +$a->strings["Default is localhost"] = "По умолчанию localhost"; +$a->strings["Database Port"] = "Порт базы данных"; +$a->strings["Communication port number - use 0 for default"] = "Порт коммуникации - используйте 0 по умолчанию"; +$a->strings["Database Login Name"] = "Имя для подключения к базе данных"; +$a->strings["Database Login Password"] = "Пароль для подключения к базе данных"; $a->strings["Database Name"] = "Имя базы данных"; $a->strings["Site administrator email address"] = "Адрес электронной почты администратора сайта"; $a->strings["Your account email address must match this in order to use the web admin panel."] = ""; -$a->strings["Please select a default timezone for your website"] = "Пожалуйста, выберите часовой пояс по умолчанию для вашего сайта"; +$a->strings["Website URL"] = "URL веб-сайта"; +$a->strings["Please use SSL (https) URL if available."] = "Пожалуйста, используйте SSL (https) URL если возможно."; +$a->strings["Please select a default timezone for your website"] = ""; $a->strings["Site settings"] = "Настройки сайта"; -$a->strings["Could not find a command line version of PHP in the web server PATH."] = "Не удалось найти PATH веб-сервера в установках PHP."; -$a->strings["If you don't have a command line version of PHP installed on server, you will not be able to run background polling via cron. See <a href='http://friendica.com/node/27'>'Activating scheduled tasks'</a>"] = ""; -$a->strings["PHP executable path"] = "PHP executable path"; +$a->strings["Could not find a command line version of PHP in the web server PATH."] = ""; +$a->strings["If you don't have a command line version of PHP installed on server, you will not be able to run background polling via cron."] = ""; +$a->strings["PHP executable path"] = "PHP executable путь"; $a->strings["Enter full path to php executable. You can leave this blank to continue the installation."] = ""; $a->strings["Command line PHP"] = "Command line PHP"; -$a->strings["The command line version of PHP on your system does not have \"register_argc_argv\" enabled."] = "Не включено \"register_argc_argv\" в установках PHP."; -$a->strings["This is required for message delivery to work."] = "Это необходимо для работы доставки сообщений."; -$a->strings["PHP register_argc_argv"] = ""; -$a->strings["Error: the \"openssl_pkey_new\" function on this system is not able to generate encryption keys"] = "Ошибка: функция \"openssl_pkey_new\" в этой системе не в состоянии генерировать ключи шифрования"; -$a->strings["If running under Windows, please see \"http://www.php.net/manual/en/openssl.installation.php\"."] = "Если вы работаете под Windows, см. \"http://www.php.net/manual/en/openssl.installation.php\"."; -$a->strings["Generate encryption keys"] = "Генерация шифрованых ключей"; +$a->strings["The command line version of PHP on your system does not have \"register_argc_argv\" enabled."] = ""; +$a->strings["This is required for message delivery to work."] = ""; +$a->strings["PHP register_argc_argv"] = "PHP register_argc_argv"; +$a->strings["Error: the \"openssl_pkey_new\" function on this system is not able to generate encryption keys"] = ""; +$a->strings["If running under Windows, please see \"http://www.php.net/manual/en/openssl.installation.php\"."] = ""; +$a->strings["Generate encryption keys"] = ""; $a->strings["libCurl PHP module"] = "libCurl PHP модуль"; $a->strings["GD graphics PHP module"] = "GD graphics PHP модуль"; $a->strings["OpenSSL PHP module"] = "OpenSSL PHP модуль"; $a->strings["mysqli PHP module"] = "mysqli PHP модуль"; $a->strings["mb_string PHP module"] = "mb_string PHP модуль"; -$a->strings["Apache mod_rewrite module"] = ""; -$a->strings["Error: Apache webserver mod-rewrite module is required but not installed."] = "Ошибка: необходим модуль веб-сервера Apache mod-rewrite, но он не установлен."; -$a->strings["Error: libCURL PHP module required but not installed."] = "Ошибка: необходим libCURL PHP модуль, но он не установлен."; -$a->strings["Error: GD graphics PHP module with JPEG support required but not installed."] = "Ошибка: необходим PHP модуль GD графики с поддержкой JPEG, но он не установлен."; -$a->strings["Error: openssl PHP module required but not installed."] = "Ошибка: необходим PHP модуль OpenSSL, но он не установлен."; -$a->strings["Error: mysqli PHP module required but not installed."] = "Ошибка: необходим PHP модуль MySQLi, но он не установлен."; -$a->strings["Error: mb_string PHP module required but not installed."] = "Ошибка: необходим PHP модуль mb_string, но он не установлен."; -$a->strings["The web installer needs to be able to create a file called \".htconfig.php\ in the top folder of your web server and it is unable to do so."] = "Веб-инсталлятору требуется создать файл с именем \". htconfig.php\" в верхней папке веб-сервера, но он не в состоянии это сделать."; -$a->strings["This is most often a permission setting, as the web server may not be able to write files in your folder - even if you can."] = "Это наиболее частые параметры разрешений, когда веб-сервер не может записать файлы в папке - даже если вы можете."; -$a->strings["At the end of this procedure, we will give you a text to save in a file named .htconfig.php in your Friendica top folder."] = ""; -$a->strings["You can alternatively skip this procedure and perform a manual installation. Please see the file \"INSTALL.txt\" for instructions."] = ""; -$a->strings[".htconfig.php is writable"] = ".htconfig.php is writable"; +$a->strings["mcrypt PHP module"] = "mcrypt PHP модуль"; +$a->strings["Apache mod_rewrite module"] = "Apache mod_rewrite модуль"; +$a->strings["Error: Apache webserver mod-rewrite module is required but not installed."] = ""; +$a->strings["proc_open"] = "proc_open"; +$a->strings["Error: proc_open is required but is either not installed or has been disabled in php.ini"] = ""; +$a->strings["Error: libCURL PHP module required but not installed."] = ""; +$a->strings["Error: GD graphics PHP module with JPEG support required but not installed."] = ""; +$a->strings["Error: openssl PHP module required but not installed."] = ""; +$a->strings["Error: mysqli PHP module required but not installed."] = ""; +$a->strings["Error: mb_string PHP module required but not installed."] = ""; +$a->strings["Error: mcrypt PHP module required but not installed."] = ""; +$a->strings["The web installer needs to be able to create a file called \".htconfig.php\ in the top folder of your web server and it is unable to do so."] = ""; +$a->strings["This is most often a permission setting, as the web server may not be able to write files in your folder - even if you can."] = ""; +$a->strings["At the end of this procedure, we will give you a text to save in a file named .htconfig.php in your Red top folder."] = ""; +$a->strings["You can alternatively skip this procedure and perform a manual installation. Please see the file \"install/INSTALL.txt\" for instructions."] = ""; +$a->strings[".htconfig.php is writable"] = ".htconfig.php доступен для записи"; +$a->strings["Red uses the Smarty3 template engine to render its web views. Smarty3 compiles templates to PHP to speed up rendering."] = ""; +$a->strings["In order to store these compiled templates, the web server needs to have write access to the directory view/tpl/smarty3/ under the Red top level folder."] = ""; +$a->strings["Please ensure that the user that your web server runs as (e.g. www-data) has write access to this folder."] = ""; +$a->strings["Note: as a security measure, you should give the web server write access to view/tpl/smarty3/ only--not the template files (.tpl) that it contains."] = ""; +$a->strings["view/tpl/smarty3 is writable"] = "view/tpl/smarty3 доступен для записи"; +$a->strings["SSL certificate validation"] = "проверка сертификата SSL"; +$a->strings["SSL certificate cannot be validated. Fix certificate or disable https access to this site."] = ""; $a->strings["Url rewrite in .htaccess is not working. Check your server configuration."] = ""; -$a->strings["Url rewrite is working"] = ""; -$a->strings["The database configuration file \".htconfig.php\" could not be written. Please use the enclosed text to create a configuration file in your web server root."] = "Файл конфигурации базы данных \".htconfig.php\" не могла быть записан. Пожалуйста, используйте приложенный текст, чтобы создать конфигурационный файл в корневом каталоге веб-сервера."; -$a->strings["Errors encountered creating database tables."] = "Обнаружены ошибки при создании таблиц базы данных."; -$a->strings["<h1>What next</h1>"] = ""; -$a->strings["IMPORTANT: You will need to [manually] setup a scheduled task for the poller."] = "ВАЖНО: Вам нужно будет [вручную] установить запланированное задание для регистратора."; -$a->strings["l F d, Y \\@ g:i A"] = "l F d, Y \\@ g:i A"; -$a->strings["Time Conversion"] = "История общения"; -$a->strings["Friendika provides this service for sharing events with other networks and friends in unknown timezones."] = ""; -$a->strings["UTC time: %s"] = "UTC время: %s"; -$a->strings["Current timezone: %s"] = "Ваш часовой пояс: %s"; -$a->strings["Converted localtime: %s"] = "Ваше изменённое время: %s"; -$a->strings["Please select your timezone:"] = "Выберите пожалуйста ваш часовой пояс:"; -$a->strings["Poke/Prod"] = ""; -$a->strings["poke, prod or do other things to somebody"] = ""; -$a->strings["Recipient"] = ""; -$a->strings["Choose what you wish to do to recipient"] = ""; -$a->strings["Make this post private"] = ""; -$a->strings["Profile Match"] = "Похожие профили"; -$a->strings["No keywords to match. Please add keywords to your default profile."] = "Нет соответствующих ключевых слов. Пожалуйста, добавьте ключевые слова для вашего профиля по умолчанию."; -$a->strings["is interested in:"] = ""; -$a->strings["Connect"] = "Подключить"; -$a->strings["No matches"] = "Нет соответствий"; -$a->strings["Remote privacy information not available."] = "Личная информация удаленно недоступна."; -$a->strings["Visible to:"] = "Кто может видеть:"; -$a->strings["No such group"] = "Нет такой группы"; -$a->strings["Group is empty"] = "Группа пуста"; -$a->strings["Group: "] = "Группа: "; -$a->strings["Select"] = "Выберите"; -$a->strings["View %s's profile @ %s"] = ""; -$a->strings["%s from %s"] = "%s с %s"; -$a->strings["View in context"] = "Смотреть в контексте"; -$a->strings["%d comment"] = array( - 0 => "%d комментарий", - 1 => "%d комментариев", - 2 => "%d комментариев", -); -$a->strings["comment"] = array( - 0 => "", - 1 => "", - 2 => "комментарий", -); -$a->strings["show more"] = "показать больше"; -$a->strings["like"] = ""; -$a->strings["dislike"] = "не нравитса"; -$a->strings["Share this"] = ""; -$a->strings["share"] = "делиться"; -$a->strings["Bold"] = ""; -$a->strings["Italic"] = ""; -$a->strings["Underline"] = ""; -$a->strings["Quote"] = ""; -$a->strings["Code"] = ""; -$a->strings["Image"] = ""; -$a->strings["Link"] = ""; -$a->strings["Video"] = ""; -$a->strings["add star"] = "пометить"; -$a->strings["remove star"] = "убрать метку"; -$a->strings["toggle star status"] = "переключить статус"; -$a->strings["starred"] = "помечено"; -$a->strings["add tag"] = "добавить ключевое слово (таг)"; -$a->strings["save to folder"] = "сохранить в папке"; -$a->strings["to"] = "к"; -$a->strings["Wall-to-Wall"] = "Стена-на-Стену"; -$a->strings["via Wall-To-Wall:"] = "через Стена-на-Стену:"; -$a->strings["Welcome to %s"] = "Добро пожаловать на %s!"; -$a->strings["Invalid request identifier."] = "Неверный идентификатор запроса."; -$a->strings["Discard"] = "Отказаться"; -$a->strings["Ignore"] = "Игнорировать"; -$a->strings["System"] = "Система"; -$a->strings["Network"] = "Сеть"; -$a->strings["Personal"] = "Персонал"; -$a->strings["Home"] = "Главная"; -$a->strings["Introductions"] = "Запросы"; -$a->strings["Messages"] = "Сообщения"; -$a->strings["Show Ignored Requests"] = "Показать проигнорированные запросы"; -$a->strings["Hide Ignored Requests"] = "Скрыть проигнорированные запросы"; -$a->strings["Notification type: "] = "Тип уведомления: "; -$a->strings["Friend Suggestion"] = "Предложение в друзья"; -$a->strings["suggested by %s"] = "предложено юзером %s"; -$a->strings["Hide this contact from others"] = "Скрыть этот контакт от других"; -$a->strings["Post a new friend activity"] = ""; -$a->strings["if applicable"] = ""; -$a->strings["Approve"] = "Одобрить"; -$a->strings["Claims to be known to you: "] = "Утверждения, о которых должно быть вам известно: "; -$a->strings["yes"] = "да"; -$a->strings["no"] = "нет"; -$a->strings["Approve as: "] = "Утвердить как: "; -$a->strings["Friend"] = "Друг"; -$a->strings["Sharer"] = "Участник"; -$a->strings["Fan/Admirer"] = "Фанат / Поклонник"; -$a->strings["Friend/Connect Request"] = "Запрос в друзья / на подключение"; -$a->strings["New Follower"] = "Новый фолловер"; -$a->strings["No introductions."] = "Запросов нет."; -$a->strings["Notifications"] = "Уведомления"; -$a->strings["%s liked %s's post"] = "%s нравится %s сообшение"; -$a->strings["%s disliked %s's post"] = "%s не нравится %s сообшение"; -$a->strings["%s is now friends with %s"] = "%s теперь друзья с %s"; -$a->strings["%s created a new post"] = "%s написал новое сообщение"; -$a->strings["%s commented on %s's post"] = "%s прокомментировал %s сообщение"; -$a->strings["No more network notifications."] = "Уведомлений из сети больше нет."; -$a->strings["Network Notifications"] = "Уведомления сети"; -$a->strings["No more system notifications."] = "Системных уведомлений больше нет."; -$a->strings["System Notifications"] = "Уведомления системы"; -$a->strings["No more personal notifications."] = "Персональных уведомлений больше нет."; -$a->strings["Personal Notifications"] = "Личные уведомления"; -$a->strings["No more home notifications."] = ""; -$a->strings["Home Notifications"] = ""; -$a->strings["Could not access contact record."] = "Не удалось получить доступ к записи контакта."; -$a->strings["Could not locate selected profile."] = "Не удалось найти выбранный профиль."; -$a->strings["Contact updated."] = "Контакт обновлен."; -$a->strings["Contact has been blocked"] = "Контакт заблокирован"; -$a->strings["Contact has been unblocked"] = "Контакт разблокирован"; -$a->strings["Contact has been ignored"] = "Контакт проигнорирован"; -$a->strings["Contact has been unignored"] = "У контакта отменено игнорирование"; -$a->strings["Contact has been archived"] = ""; -$a->strings["Contact has been unarchived"] = ""; -$a->strings["Contact has been removed."] = "Контакт удален."; -$a->strings["You are mutual friends with %s"] = "У Вас взаимная дружба с %s"; -$a->strings["You are sharing with %s"] = "Вы делитесь с %s"; -$a->strings["%s is sharing with you"] = "%s делитса с Вами"; -$a->strings["Private communications are not available for this contact."] = "Личные коммуникации недоступны для этого контакта."; -$a->strings["Never"] = "Никогда"; -$a->strings["(Update was successful)"] = "(Обновление было успешно)"; -$a->strings["(Update was not successful)"] = "(Обновление не удалось)"; -$a->strings["Suggest friends"] = "Предложить друзей"; -$a->strings["Network type: %s"] = "Сеть: %s"; -$a->strings["%d contact in common"] = array( - 0 => "%d Контакт", - 1 => "%d Контактов", - 2 => "%d Контактов", -); -$a->strings["View all contacts"] = "Показать все контакты"; -$a->strings["Unblock"] = "Разблокировать"; -$a->strings["Block"] = "Блокировать"; -$a->strings["Toggle Blocked status"] = ""; -$a->strings["Unignore"] = "Не игнорировать"; -$a->strings["Toggle Ignored status"] = ""; -$a->strings["Unarchive"] = ""; -$a->strings["Archive"] = ""; -$a->strings["Toggle Archive status"] = ""; -$a->strings["Repair"] = "Восстановить"; -$a->strings["Advanced Contact Settings"] = ""; -$a->strings["Communications lost with this contact!"] = ""; -$a->strings["Contact Editor"] = "Редактор контакта"; -$a->strings["Profile Visibility"] = "Видимость профиля"; -$a->strings["Please choose the profile you would like to display to %s when viewing your profile securely."] = "Пожалуйста, выберите профиль, который вы хотите отображать %s, когда просмотр вашего профиля безопасен."; -$a->strings["Contact Information / Notes"] = "Информация о контакте / Заметки"; -$a->strings["Edit contact notes"] = "Редактировать заметки контакта"; -$a->strings["Visit %s's profile [%s]"] = "Посетить профиль %s [%s]"; -$a->strings["Block/Unblock contact"] = "Блокировать / Разблокировать контакт"; -$a->strings["Ignore contact"] = "Игнорировать контакт"; -$a->strings["Repair URL settings"] = "Восстановить настройки URL"; -$a->strings["View conversations"] = "Просмотр бесед"; -$a->strings["Delete contact"] = "Удалить контакт"; -$a->strings["Last update:"] = "Последнее обновление: "; -$a->strings["Update public posts"] = "Обновить публичные сообщения"; -$a->strings["Update now"] = "Обновить сейчас"; -$a->strings["Currently blocked"] = "В настоящее время заблокирован"; -$a->strings["Currently ignored"] = "В настоящее время игнорируется"; -$a->strings["Currently archived"] = ""; -$a->strings["Replies/likes to your public posts <strong>may</strong> still be visible"] = ""; -$a->strings["Suggestions"] = ""; -$a->strings["Suggest potential friends"] = ""; -$a->strings["All Contacts"] = "Все контакты"; -$a->strings["Show all contacts"] = ""; -$a->strings["Unblocked"] = ""; -$a->strings["Only show unblocked contacts"] = ""; -$a->strings["Blocked"] = ""; -$a->strings["Only show blocked contacts"] = ""; -$a->strings["Ignored"] = ""; -$a->strings["Only show ignored contacts"] = ""; -$a->strings["Archived"] = ""; -$a->strings["Only show archived contacts"] = ""; -$a->strings["Hidden"] = ""; -$a->strings["Only show hidden contacts"] = ""; -$a->strings["Mutual Friendship"] = "Взаимная дружба"; -$a->strings["is a fan of yours"] = "является вашим поклонником"; -$a->strings["you are a fan of"] = "Вы - поклонник"; -$a->strings["Edit contact"] = "Редактировать контакт"; -$a->strings["Contacts"] = "Контакты"; -$a->strings["Search your contacts"] = "Поиск ваших контактов"; -$a->strings["Finding: "] = "Результат поиска: "; -$a->strings["Find"] = "Найти"; -$a->strings["No valid account found."] = "Не найдено действительного аккаунта."; -$a->strings["Password reset request issued. Check your email."] = "Запрос на сброс пароля принят. Проверьте вашу электронную почту."; -$a->strings["Password reset requested at %s"] = "Запрос на сброс пароля получен %s"; -$a->strings["Administrator"] = "Администратор"; -$a->strings["Request could not be verified. (You may have previously submitted it.) Password reset failed."] = "Запрос не может быть проверен. (Вы, возможно, ранее представляли его.) Попытка сброса пароля неудачная."; -$a->strings["Password Reset"] = "Сброс пароля"; -$a->strings["Your password has been reset as requested."] = "Ваш пароль был сброшен по требованию."; -$a->strings["Your new password is"] = "Ваш новый пароль"; -$a->strings["Save or copy your new password - and then"] = "Сохраните или скопируйте новый пароль - и затем"; -$a->strings["click here to login"] = "нажмите здесь для входа"; -$a->strings["Your password may be changed from the <em>Settings</em> page after successful login."] = "Ваш пароль может быть изменен на странице <em>Настройки</em> после успешного входа."; -$a->strings["Forgot your Password?"] = "Забыли пароль?"; -$a->strings["Enter your email address and submit to have your password reset. Then check your email for further instructions."] = "Введите адрес электронной почты и подтвердите, что вы хотите сбросить ваш пароль. Затем проверьте свою электронную почту для получения дальнейших инструкций."; -$a->strings["Nickname or Email: "] = "Ник или E-mail: "; -$a->strings["Reset"] = "Сброс"; +$a->strings["Url rewrite is working"] = "Url rewrite работает"; +$a->strings["The database configuration file \".htconfig.php\" could not be written. Please use the enclosed text to create a configuration file in your web server root."] = ""; +$a->strings["Errors encountered creating database tables."] = ""; +$a->strings["<h1>What next</h1>"] = "<h1>Что дальше</h1>"; +$a->strings["IMPORTANT: You will need to [manually] setup a scheduled task for the poller."] = ""; +$a->strings["%1\$s is following %2\$s's %3\$s"] = ""; +$a->strings["[Embedded content - reload page to view]"] = ""; +$a->strings["toggle full screen mode"] = "переключение полноэкранного режима"; +$a->strings["%1\$s tagged %2\$s's %3\$s with %4\$s"] = ""; $a->strings["Account settings"] = "Настройки аккаунта"; -$a->strings["Display settings"] = "Параметры дисплея"; -$a->strings["Connector settings"] = "Настройки соединителя"; -$a->strings["Plugin settings"] = "Настройки плагина"; -$a->strings["Connected apps"] = ""; -$a->strings["Export personal data"] = "Экспорт личных данных"; -$a->strings["Remove account"] = ""; -$a->strings["Settings"] = "Настройки"; -$a->strings["Missing some important data!"] = "Не хватает важных данных!"; +$a->strings["Channel settings"] = "Настройки канала"; +$a->strings["Additional features"] = "Дополнительные функции"; +$a->strings["Feature settings"] = "Настройки компонентов"; +$a->strings["Display settings"] = "Настройки отображения"; +$a->strings["Connected apps"] = "Подключенные приложения"; +$a->strings["Export channel"] = "Экспорт канала"; +$a->strings["Automatic Permissions (Advanced)"] = "Автоматические разрешения (дополнительно)"; +$a->strings["Missing some important data!"] = "Отсутствуют некоторые важные данные!"; $a->strings["Update"] = "Обновление"; -$a->strings["Failed to connect with email account using the settings provided."] = "Не удалось подключиться к аккаунту e-mail, используя указанные настройки."; -$a->strings["Email settings updated."] = "Настройки эл. почты обновлены."; -$a->strings["Passwords do not match. Password unchanged."] = "Пароли не совпадают. Пароль не изменен."; -$a->strings["Empty passwords are not allowed. Password unchanged."] = "Пустые пароли не допускаются. Пароль не изменен."; +$a->strings["Passwords do not match. Password unchanged."] = "Пароли не совпадают. Пароль не изменён."; +$a->strings["Empty passwords are not allowed. Password unchanged."] = "Пустые пароли не допускаются. Пароль не изменён."; $a->strings["Password changed."] = "Пароль изменен."; -$a->strings["Password update failed. Please try again."] = "Обновление пароля не удалось. Пожалуйста, попробуйте еще раз."; -$a->strings[" Please use a shorter name."] = " Пожалуйста, используйте более короткое имя."; -$a->strings[" Name too short."] = " Имя слишком короткое."; -$a->strings[" Not valid email."] = " Неверный e-mail."; -$a->strings[" Cannot change to that email."] = " Невозможно изменить на этот e-mail."; -$a->strings["Private forum has no privacy permissions. Using default privacy group."] = ""; -$a->strings["Private forum has no privacy permissions and no default privacy group."] = ""; -$a->strings["Settings updated."] = "Настройки обновлены."; +$a->strings["Password update failed. Please try again."] = "Изменение пароля закончилось неуспешно. Пожалуйста, попробуйте еще раз."; +$a->strings["Not valid email."] = "Не действительный адрес электронной почты."; +$a->strings["Protected email address. Cannot change to that email."] = ""; +$a->strings["System failure storing new email. Please try again."] = ""; +$a->strings["Settings updated."] = "Настройки обновленны."; $a->strings["Add application"] = "Добавить приложения"; -$a->strings["Consumer Key"] = "Consumer Key"; -$a->strings["Consumer Secret"] = "Consumer Secret"; +$a->strings["Cancel"] = "Отменить"; +$a->strings["Name"] = "Имя"; +$a->strings["Consumer Key"] = "Ключ клиента"; +$a->strings["Consumer Secret"] = "Секрет клиента"; $a->strings["Redirect"] = "Перенаправление"; -$a->strings["Icon url"] = "URL символа"; -$a->strings["You can't edit this application."] = "Вы не можете изменить это приложение."; +$a->strings["Icon url"] = "URL-адрес значка"; +$a->strings["You can't edit this application."] = ""; $a->strings["Connected Apps"] = "Подключенные приложения"; -$a->strings["Client key starts with"] = "Ключ клиента начинается с"; -$a->strings["No name"] = "Нет имени"; -$a->strings["Remove authorization"] = "Удалить авторизацию"; -$a->strings["No Plugin settings configured"] = "Нет сконфигурированных настроек плагина"; -$a->strings["Plugin Settings"] = "Настройки плагина"; -$a->strings["Built-in support for %s connectivity is %s"] = "Встроенная поддержка для %s подключение %s"; -$a->strings["enabled"] = "подключено"; -$a->strings["disabled"] = "отключено"; -$a->strings["StatusNet"] = "StatusNet"; -$a->strings["Email access is disabled on this site."] = "Доступ эл. почты отключен на этом сайте."; +$a->strings["Client key starts with"] = ""; +$a->strings["No name"] = "Без названия"; +$a->strings["Remove authorization"] = "Удалить разрешение"; +$a->strings["No feature settings configured"] = ""; +$a->strings["Feature Settings"] = "Настройки функции"; +$a->strings["Account Settings"] = "Настройки аккаунта"; +$a->strings["Password Settings"] = "Настройки пароля"; +$a->strings["New Password:"] = "Новый пароль:"; +$a->strings["Confirm:"] = "Подтверждение:"; +$a->strings["Leave password fields blank unless changing"] = ""; +$a->strings["Email Address:"] = "Адрес электронной почты:"; +$a->strings["Remove Account"] = "Удалить аккаунт"; +$a->strings["Warning: This action is permanent and cannot be reversed."] = ""; +$a->strings["Off"] = "Выкл."; +$a->strings["On"] = "Вкл."; +$a->strings["Additional Features"] = "Дополнительные функции"; $a->strings["Connector Settings"] = "Настройки соединителя"; -$a->strings["Email/Mailbox Setup"] = "Настройка эл. почты / почтового ящика"; -$a->strings["If you wish to communicate with email contacts using this service (optional), please specify how to connect to your mailbox."] = "Если вы хотите общаться с Email контактами, используя этот сервис (по желанию), пожалуйста, уточните, как подключиться к вашему почтовому ящику."; -$a->strings["Last successful email check:"] = "Последняя успешная проверка электронной почты:"; -$a->strings["IMAP server name:"] = "Имя IMAP сервера:"; -$a->strings["IMAP port:"] = "Порт IMAP:"; -$a->strings["Security:"] = "Безопасность:"; -$a->strings["None"] = "Ничего"; -$a->strings["Email login name:"] = "Логин эл. почты:"; -$a->strings["Email password:"] = "Пароль эл. почты:"; -$a->strings["Reply-to address:"] = "Адрес для ответа:"; -$a->strings["Send public posts to all email contacts:"] = "Отправлять открытые сообщения на все контакты электронной почты:"; -$a->strings["Action after import:"] = "Действие после импорта:"; -$a->strings["Mark as seen"] = ""; -$a->strings["Move to folder"] = ""; -$a->strings["Move to folder:"] = ""; $a->strings["No special theme for mobile devices"] = ""; -$a->strings["Display Settings"] = "Параметры дисплея"; -$a->strings["Display Theme:"] = "Показать тему:"; +$a->strings["Display Settings"] = "Настройки отображения"; +$a->strings["Display Theme:"] = "Тема отображения:"; $a->strings["Mobile Theme:"] = ""; -$a->strings["Update browser every xx seconds"] = "Обновление браузера каждые хх секунд"; -$a->strings["Minimum of 10 seconds, no maximum"] = "Минимум 10 секунд, максимума нет"; -$a->strings["Number of items to display per page:"] = ""; -$a->strings["Maximum of 100 items"] = ""; -$a->strings["Don't show emoticons"] = "не показывать emoticons"; -$a->strings["Normal Account Page"] = ""; -$a->strings["This account is a normal personal profile"] = "Этот аккаунт является обычным персональным профилем"; -$a->strings["Soapbox Page"] = ""; -$a->strings["Automatically approve all connection/friend requests as read-only fans"] = "Автоматически одобряются все подключения / запросы в друзья, \"только для чтения\" поклонниками"; -$a->strings["Community Forum/Celebrity Account"] = ""; -$a->strings["Automatically approve all connection/friend requests as read-write fans"] = "Автоматически одобряются все подключения / запросы в друзья, \"для чтения и записей\" поклонников"; -$a->strings["Automatic Friend Page"] = ""; -$a->strings["Automatically approve all connection/friend requests as friends"] = "Автоматически одобряются все подключения / запросы в друзья, расширяется список друзей"; -$a->strings["Private Forum [Experimental]"] = ""; -$a->strings["Private forum - approved members only"] = ""; -$a->strings["OpenID:"] = "OpenID:"; -$a->strings["(Optional) Allow this OpenID to login to this account."] = "(Необязательно) Разрешить этому OpenID входить в этот аккаунт"; -$a->strings["Publish your default profile in your local site directory?"] = "Публиковать ваш профиль по умолчанию в вашем локальном каталоге на сайте?"; -$a->strings["Publish your default profile in the global social directory?"] = "Публиковать ваш профиль по умолчанию в глобальном социальном каталоге?"; -$a->strings["Hide your contact/friend list from viewers of your default profile?"] = "Скрывать ваш список контактов/друзей от посетителей вашего профиля по умолчанию?"; -$a->strings["Hide your profile details from unknown viewers?"] = "Скрыть данные профиля из неизвестных зрителей?"; -$a->strings["Allow friends to post to your profile page?"] = "Разрешить друзьям оставлять сообщения на страницу вашего профиля?"; -$a->strings["Allow friends to tag your posts?"] = "Разрешить друзьям отмечять ваши сообщения?"; -$a->strings["Allow us to suggest you as a potential friend to new members?"] = "Позвольть предлогать Вам потенциальных друзей?"; -$a->strings["Permit unknown people to send you private mail?"] = ""; -$a->strings["Profile is <strong>not published</strong>."] = "Профиль <strong>не публикуется</strong>."; +$a->strings["Update browser every xx seconds"] = "Обновление браузера каждые ХХ секунд"; +$a->strings["Minimum of 10 seconds, no maximum"] = "Минимум 10 секунд, без максимума"; +$a->strings["Maximum number of conversations to load at any time:"] = ""; +$a->strings["Maximum of 100 items"] = "Максимум 100 элементов"; +$a->strings["Don't show emoticons"] = ""; +$a->strings["Nobody except yourself"] = "Никто, кроме вас"; +$a->strings["Only those you specifically allow"] = "Только комы вы разрешили"; +$a->strings["Anybody in your address book"] = "Любой в вашей адресной книге"; +$a->strings["Anybody on this website"] = "Любой на этом веб-сайте"; +$a->strings["Anybody in this network"] = "Любой в этой сети"; +$a->strings["Anybody on the internet"] = "Любой в интернете"; +$a->strings["Publish your default profile in the network directory"] = ""; +$a->strings["Allow us to suggest you as a potential friend to new members?"] = ""; $a->strings["or"] = "или"; -$a->strings["Your Identity Address is"] = "Ваш идентификационный адрес"; -$a->strings["Automatically expire posts after this many days:"] = "Автоматическое истекание срока действия сообщения после стольких дней:"; -$a->strings["If empty, posts will not expire. Expired posts will be deleted"] = "Если пусто, срок действия сообщений не будет ограничен. Сообщения с истекшим сроком действия будут удалены"; -$a->strings["Advanced expiration settings"] = "Настройки расширенного окончания срока действия"; -$a->strings["Advanced Expiration"] = "Расширенное окончание срока действия"; -$a->strings["Expire posts:"] = "Срок хранения сообщений:"; -$a->strings["Expire personal notes:"] = "Срок хранения личных заметок:"; -$a->strings["Expire starred posts:"] = "Срок хранения усеянных сообщений:"; -$a->strings["Expire photos:"] = "Срок хранения фотографий:"; +$a->strings["Your channel address is"] = "Ваш адрес канала"; +$a->strings["Automatically expire posts after this many days:"] = ""; +$a->strings["If empty, posts will not expire. Expired posts will be deleted"] = ""; +$a->strings["Advanced expiration settings"] = ""; +$a->strings["Advanced Expiration"] = ""; +$a->strings["Expire posts:"] = ""; +$a->strings["Expire starred posts:"] = ""; +$a->strings["Expire photos:"] = ""; $a->strings["Only expire posts by others:"] = ""; -$a->strings["Account Settings"] = "Настройки аккаунта"; -$a->strings["Password Settings"] = "Настройка пароля"; -$a->strings["New Password:"] = "Новый пароль:"; -$a->strings["Confirm:"] = "Подтвердите:"; -$a->strings["Leave password fields blank unless changing"] = "Оставьте поля пароля пустыми, если он не изменяется"; -$a->strings["Basic Settings"] = "Основные параметры"; -$a->strings["Full Name:"] = "Полное имя:"; -$a->strings["Email Address:"] = "Адрес электронной почты:"; -$a->strings["Your Timezone:"] = "Ваш часовой пояс:"; -$a->strings["Default Post Location:"] = "Местонахождение по умолчанию:"; -$a->strings["Use Browser Location:"] = "Использовать определение местоположения браузером:"; +$a->strings["Channel Settings"] = "Настройки канала"; +$a->strings["Basic Settings"] = "Основные настройки"; +$a->strings["Your Timezone:"] = ""; +$a->strings["Default Post Location:"] = "Откуда по умолчанию:"; +$a->strings["Use Browser Location:"] = ""; $a->strings["Security and Privacy Settings"] = "Параметры безопасности и конфиденциальности"; -$a->strings["Maximum Friend Requests/Day:"] = "Максимум запросов в друзья в день:"; -$a->strings["(to prevent spam abuse)"] = "(для предотвращения спама)"; -$a->strings["Default Post Permissions"] = "Разрешение на сообщения по умолчанию"; +$a->strings["Quick Privacy Settings:"] = "Быстрые параметры безопасности и конфиденциальности:"; +$a->strings["Very Public - extremely permissive"] = ""; +$a->strings["Typical - default public, privacy when desired"] = ""; +$a->strings["Private - default private, rarely open or public"] = ""; +$a->strings["Blocked - default blocked to/from everybody"] = ""; +$a->strings["Maximum Friend Requests/Day:"] = ""; +$a->strings["May reduce spam activity"] = ""; +$a->strings["Default Post Permissions"] = ""; $a->strings["(click to open/close)"] = "(нажмите, чтобы открыть / закрыть)"; $a->strings["Maximum private messages per day from unknown people:"] = ""; -$a->strings["Notification Settings"] = "Настройка уведомлений"; +$a->strings["Useful to reduce spamming"] = ""; +$a->strings["Notification Settings"] = "Настройки уведомлений"; $a->strings["By default post a status message when:"] = ""; $a->strings["accepting a friend request"] = ""; $a->strings["joining a forum/community"] = ""; $a->strings["making an <em>interesting</em> profile change"] = ""; -$a->strings["Send a notification email when:"] = "Отправлять уведомление по электронной почте, когда:"; -$a->strings["You receive an introduction"] = "Вы получили запрос"; -$a->strings["Your introductions are confirmed"] = "Ваши запросы подтверждены"; -$a->strings["Someone writes on your profile wall"] = "Кто-то пишет на стене вашего профиля"; -$a->strings["Someone writes a followup comment"] = "Кто-то пишет последующий комментарий"; -$a->strings["You receive a private message"] = "Вы получаете личное сообщение"; +$a->strings["Send a notification email when:"] = ""; +$a->strings["You receive an introduction"] = ""; +$a->strings["Your introductions are confirmed"] = ""; +$a->strings["Someone writes on your profile wall"] = ""; +$a->strings["Someone writes a followup comment"] = ""; +$a->strings["You receive a private message"] = ""; $a->strings["You receive a friend suggestion"] = ""; $a->strings["You are tagged in a post"] = ""; $a->strings["You are poked/prodded/etc. in a post"] = ""; $a->strings["Advanced Account/Page Type Settings"] = ""; $a->strings["Change the behaviour of this account for special situations"] = ""; -$a->strings["Manage Identities and/or Pages"] = "Управление идентификацией и / или страницами"; -$a->strings["Toggle between different identities or community/group pages which share your account details or which you have been granted \"manage\" permissions"] = ""; -$a->strings["Select an identity to manage: "] = "Выберите идентификацию для управления: "; -$a->strings["Search Results For:"] = ""; -$a->strings["Remove term"] = "Удалить элемент"; -$a->strings["Saved Searches"] = "запомненные поиски"; -$a->strings["add"] = "добавить"; -$a->strings["Commented Order"] = "Прокомментированный запрос"; -$a->strings["Sort by Comment Date"] = ""; -$a->strings["Posted Order"] = "Отправленный запрос"; -$a->strings["Sort by Post Date"] = ""; -$a->strings["Posts that mention or involve you"] = ""; -$a->strings["New"] = "Новый"; -$a->strings["Activity Stream - by date"] = ""; -$a->strings["Starred"] = "Помеченный"; -$a->strings["Favourite Posts"] = ""; -$a->strings["Shared Links"] = ""; -$a->strings["Interesting Links"] = ""; -$a->strings["Warning: This group contains %s member from an insecure network."] = array( - 0 => "Внимание: Эта группа содержит %s участника с незащищенной сети.", - 1 => "Внимание: Эта группа содержит %s участников с незащищенной сети.", - 2 => "Внимание: Эта группа содержит %s участников с незащищенной сети.", -); -$a->strings["Private messages to this group are at risk of public disclosure."] = "Личные сообщения к этой группе находятся под угрозой обнародования."; -$a->strings["Contact: "] = "Контакт: "; -$a->strings["Private messages to this person are at risk of public disclosure."] = "Личные сообщения этому человеку находятся под угрозой обнародования."; -$a->strings["Invalid contact."] = "Недопустимый контакт."; -$a->strings["Personal Notes"] = "Личные заметки"; -$a->strings["Save"] = "Сохранить"; -$a->strings["Number of daily wall messages for %s exceeded. Message failed."] = ""; -$a->strings["No recipient selected."] = "Не выбран получатель."; -$a->strings["Unable to check your home location."] = ""; -$a->strings["Message could not be sent."] = "Сообщение не может быть отправлено."; -$a->strings["Message collection failure."] = ""; -$a->strings["Message sent."] = "Сообщение отправлено."; -$a->strings["No recipient."] = ""; -$a->strings["Please enter a link URL:"] = "Пожалуйста, введите URL ссылки:"; -$a->strings["Send Private Message"] = "Отправить личное сообщение"; -$a->strings["If you wish for %s to respond, please check that the privacy settings on your site allow private mail from unknown senders."] = ""; +$a->strings["Public access denied."] = "Общественный доступ запрещен."; +$a->strings["No connections."] = "Никаких контактов."; +$a->strings["Visit %s's profile [%s]"] = ""; +$a->strings["View Connnections"] = "Просмотр контактов"; +$a->strings["Tag removed"] = "Тег удален"; +$a->strings["Remove Item Tag"] = "Удалить Тег"; +$a->strings["Select a tag to remove: "] = ""; +$a->strings["Remove"] = "Удалить"; +$a->strings["No potential page delegates located."] = ""; +$a->strings["Delegate Page Management"] = ""; +$a->strings["Delegates are able to manage all aspects of this account/page except for basic account settings. Please do not delegate your personal account to anybody that you do not trust completely."] = ""; +$a->strings["Existing Page Managers"] = ""; +$a->strings["Existing Page Delegates"] = ""; +$a->strings["Potential Delegates"] = ""; +$a->strings["Add"] = "Добавить"; +$a->strings["No entries."] = "Нет записей."; +$a->strings["Age: "] = "Возраст:"; +$a->strings["Gender: "] = "Пол:"; +$a->strings["Finding:"] = "Поиск:"; +$a->strings["next page"] = "следующая страница"; +$a->strings["previous page"] = "предыдущая страница"; +$a->strings["No entries (some entries may be hidden)."] = ""; +$a->strings["People Search"] = "Поиск людей"; +$a->strings["No matches"] = "Нет соответствий"; +$a->strings["Collection created."] = "Коллекция создана."; +$a->strings["Could not create collection."] = "Не удалось создать коллекцию."; +$a->strings["Collection name changed."] = "Имя коллекции изменено."; +$a->strings["Create a collection of connections."] = "Создать новую коллекцию контактов."; +$a->strings["Collection Name: "] = "Название коллекции:"; +$a->strings["Collection removed."] = "Коллекция удалена."; +$a->strings["Unable to remove collection."] = ""; +$a->strings["Collection Editor"] = "Редактор коллекций"; +$a->strings["Members"] = "Участники"; +$a->strings["All Connected Channels"] = "Все подключенные каналы"; +$a->strings["Click on a channel to add or remove."] = ""; +$a->strings["Page owner information could not be retrieved."] = ""; +$a->strings["Album not found."] = "Альбом не найден."; +$a->strings["Delete Album"] = "Удалить альбом"; +$a->strings["Delete Photo"] = "Удалить фотографию"; +$a->strings["%1\$s was tagged in %2\$s by %3\$s"] = ""; +$a->strings["a photo"] = "фотография"; +$a->strings["No photos selected"] = "Никакие фотографии не выбраны"; +$a->strings["Access to this item is restricted."] = ""; +$a->strings["You have used %1$.2f Mbytes of %2$.2f Mbytes photo storage."] = ""; +$a->strings["You have used %1$.2f Mbytes of photo storage."] = ""; +$a->strings["Upload Photos"] = "Загрузить фотографии"; +$a->strings["New album name: "] = "Название нового альбома:"; +$a->strings["or existing album name: "] = "или существующий альбом:"; +$a->strings["Do not show a status post for this upload"] = ""; +$a->strings["Permissions"] = "Разрешения"; +$a->strings["Contact Photos"] = "Фотографии контактов"; +$a->strings["Edit Album"] = "Редактировать Фотоальбом"; +$a->strings["Show Newest First"] = "Показать новые первыми"; +$a->strings["Show Oldest First"] = "Показать старые первыми"; +$a->strings["View Photo"] = "Посмотреть фотографию"; +$a->strings["Permission denied. Access to this item may be restricted."] = ""; +$a->strings["Photo not available"] = "Фотография не доступна"; +$a->strings["Use as profile photo"] = "Использовать в качестве фотографии профиля"; +$a->strings["View Full Size"] = "Посмотреть в полный размер"; +$a->strings["Edit photo"] = "Редактировать фотографию"; +$a->strings["Rotate CW (right)"] = "Повернуть CW (направо)"; +$a->strings["Rotate CCW (left)"] = "Повернуть CCW (налево)"; +$a->strings["New album name"] = "Новое название альбома:"; +$a->strings["Caption"] = "Подпись"; +$a->strings["Add a Tag"] = "Добавить тег"; +$a->strings["Example: @bob, @Barbara_Jensen, @jim@example.com, #California, #camping"] = "Например: @bob, @Barbara_Jensen, @jim@example.com, #California, #camping"; +$a->strings["View Album"] = "Посмотреть фотоальбом"; +$a->strings["Recent Photos"] = "Последние фотографии"; +$a->strings["sent you a private message"] = "отправил вам личное сообщение"; +$a->strings["added your channel"] = "добавил ваш канал"; +$a->strings["g A l F d"] = "g A l F d"; +$a->strings["[today]"] = "[сегодня]"; +$a->strings["posted an event"] = ""; +$a->strings["Not found."] = "Не найдено."; +$a->strings["- select -"] = "- выбрать -"; +$a->strings["Welcome to %s"] = "Добро пожаловать в %s"; +$a->strings["Check Mail"] = "Проверить Е-мail"; +$a->strings["Unable to lookup recipient."] = ""; +$a->strings["Unable to communicate with requested channel."] = ""; +$a->strings["Cannot verify requested channel."] = ""; +$a->strings["Selected channel has private message restrictions. Send failed."] = ""; +$a->strings["Messages"] = "Переписка"; +$a->strings["Message deleted."] = "Переписка удалена."; +$a->strings["Conversation removed."] = "Разговор удален."; +$a->strings["Send Private Message"] = "Отправить личное письмо"; $a->strings["To:"] = "Кому:"; $a->strings["Subject:"] = "Тема:"; -$a->strings["Your message:"] = "Ваше сообщение:"; -$a->strings["Welcome to Friendica"] = "Добро пожаловать в Friendica"; -$a->strings["New Member Checklist"] = "Новый контрольный список участников"; -$a->strings["We would like to offer some tips and links to help make your experience enjoyable. Click any item to visit the relevant page. A link to this page will be visible from your home page for two weeks after your initial registration and then will quietly disappear."] = ""; -$a->strings["Getting Started"] = ""; -$a->strings["Friendica Walk-Through"] = ""; -$a->strings["On your <em>Quick Start</em> page - find a brief introduction to your profile and network tabs, make some new connections, and find some groups to join."] = ""; -$a->strings["Go to Your Settings"] = ""; -$a->strings["On your <em>Settings</em> page - change your initial password. Also make a note of your Identity Address. This looks just like an email address - and will be useful in making friends on the free social web."] = ""; -$a->strings["Review the other settings, particularly the privacy settings. An unpublished directory listing is like having an unlisted phone number. In general, you should probably publish your listing - unless all of your friends and potential friends know exactly how to find you."] = "Просмотрите другие установки, в частности, параметры конфиденциальности. Неопубликованные пункты каталога с частными номерами телефона. В общем, вам, вероятно, следует опубликовать свою информацию - если все ваши друзья и потенциальные друзья точно знают, как вас найти."; -$a->strings["Profile"] = "Профиль"; -$a->strings["Upload Profile Photo"] = "Загрузить фото профиля"; -$a->strings["Upload a profile photo if you have not done so already. Studies have shown that people with real photos of themselves are ten times more likely to make friends than people who do not."] = "Загрузите фотографию профиля, если вы еще не сделали это. Исследования показали, что люди с реальными фотографиями имеют в десять раз больше шансов подружиться, чем люди, которые этого не делают."; -$a->strings["Edit Your Profile"] = ""; -$a->strings["Edit your <strong>default</strong> profile to your liking. Review the settings for hiding your list of friends and hiding the profile from unknown visitors."] = "Отредактируйте профиль <strong>по умолчанию</strong> на свой вкус. Просмотрите установки для сокрытия вашего списка друзей и сокрытия профиля от неизвестных посетителей."; -$a->strings["Profile Keywords"] = ""; -$a->strings["Set some public keywords for your default profile which describe your interests. We may be able to find other people with similar interests and suggest friendships."] = "Установите некоторые публичные ключевые слова для вашего профиля по умолчанию, которые описывают ваши интересы. Мы можем быть в состоянии найти других людей со схожими интересами и предложить дружбу."; -$a->strings["Connecting"] = ""; -$a->strings["Facebook"] = "Facebook"; -$a->strings["Authorise the Facebook Connector if you currently have a Facebook account and we will (optionally) import all your Facebook friends and conversations."] = "Авторизуйте Facebook Connector , если у вас уже есть аккаунт на Facebook, и мы (по желанию) импортируем всех ваших друзей и беседы с Facebook."; -$a->strings["<em>If</em> this is your own personal server, installing the Facebook addon may ease your transition to the free social web."] = ""; -$a->strings["Importing Emails"] = ""; -$a->strings["Enter your email access information on your Connector Settings page if you wish to import and interact with friends or mailing lists from your email INBOX"] = ""; -$a->strings["Go to Your Contacts Page"] = ""; -$a->strings["Your Contacts page is your gateway to managing friendships and connecting with friends on other networks. Typically you enter their address or site URL in the <em>Add New Contact</em> dialog."] = ""; -$a->strings["Go to Your Site's Directory"] = ""; -$a->strings["The Directory page lets you find other people in this network or other federated sites. Look for a <em>Connect</em> or <em>Follow</em> link on their profile page. Provide your own Identity Address if requested."] = "На странице каталога вы можете найти других людей в этой сети или на других похожих сайтах. Ищите ссылки <em>Подключить</em> или <em>Следовать</em> на страницах их профилей. Укажите свой собственный адрес идентификации, если требуется."; -$a->strings["Finding New People"] = ""; -$a->strings["On the side panel of the Contacts page are several tools to find new friends. We can match people by interest, look up people by name or interest, and provide suggestions based on network relationships. On a brand new site, friend suggestions will usually begin to be populated within 24 hours."] = ""; -$a->strings["Groups"] = "Группы"; -$a->strings["Group Your Contacts"] = ""; -$a->strings["Once you have made some friends, organize them into private conversation groups from the sidebar of your Contacts page and then you can interact with each group privately on your Network page."] = "После того, как вы найдете несколько друзей, организуйте их в группы частных бесед в боковой панели на странице Контакты, а затем вы можете взаимодействовать с каждой группой приватно или на вашей странице Сеть."; -$a->strings["Why Aren't My Posts Public?"] = ""; -$a->strings["Friendica respects your privacy. By default, your posts will only show up to people you've added as friends. For more information, see the help section from the link above."] = ""; -$a->strings["Getting Help"] = ""; -$a->strings["Go to the Help Section"] = ""; -$a->strings["Our <strong>help</strong> pages may be consulted for detail on other program features and resources."] = "Наши страницы <strong>помощи</strong> могут проконсультировать о подробностях и возможностях программы и ресурса."; -$a->strings["Item not available."] = "Пункт не доступен."; -$a->strings["Item was not found."] = "Пункт не был найден."; -$a->strings["Group created."] = "Группа создана."; -$a->strings["Could not create group."] = "Не удалось создать группу."; -$a->strings["Group not found."] = "Группа не найдена."; -$a->strings["Group name changed."] = "Название группы изменено."; -$a->strings["Permission denied"] = "Доступ запрещен"; -$a->strings["Create a group of contacts/friends."] = "Создать группу контактов / друзей."; -$a->strings["Group Name: "] = "Название группы: "; -$a->strings["Group removed."] = "Группа удалена."; -$a->strings["Unable to remove group."] = "Не удается удалить группу."; -$a->strings["Group Editor"] = "Редактор групп"; -$a->strings["Members"] = "Участники"; -$a->strings["Click on a contact to add or remove."] = "Нажмите на контакт, чтобы добавить или удалить."; -$a->strings["Invalid profile identifier."] = "Недопустимый идентификатор профиля."; -$a->strings["Profile Visibility Editor"] = "Редактор видимости профиля"; -$a->strings["Visible To"] = "Видимый для"; -$a->strings["All Contacts (with secure profile access)"] = "Все контакты (с безопасным доступом к профилю)"; -$a->strings["No contacts."] = "Нет контактов."; -$a->strings["View Contacts"] = "Просмотр контактов"; -$a->strings["Registration details for %s"] = "Подробности регистрации для %s"; -$a->strings["Registration successful. Please check your email for further instructions."] = "Регистрация успешна. Пожалуйста, проверьте свою электронную почту для получения дальнейших инструкций."; -$a->strings["Failed to send email message. Here is the message that failed."] = "Невозможно отправить сообщение электронной почтой. Вот сообщение, которое не удалось."; -$a->strings["Your registration can not be processed."] = "Ваша регистрация не может быть обработана."; -$a->strings["Registration request at %s"] = "Запрос на регистрацию на %s"; -$a->strings["Your registration is pending approval by the site owner."] = "Ваша регистрация в ожидании одобрения владельцем сайта."; -$a->strings["This site has exceeded the number of allowed daily account registrations. Please try again tomorrow."] = ""; -$a->strings["You may (optionally) fill in this form via OpenID by supplying your OpenID and clicking 'Register'."] = "Вы можете (по желанию), заполнить эту форму с помощью OpenID, поддерживая ваш OpenID и нажав клавишу \"Регистрация\"."; -$a->strings["If you are not familiar with OpenID, please leave that field blank and fill in the rest of the items."] = "Если вы не знакомы с OpenID, пожалуйста, оставьте это поле пустым и заполните остальные элементы."; -$a->strings["Your OpenID (optional): "] = "Ваш OpenID (необязательно):"; -$a->strings["Include your profile in member directory?"] = "Включить ваш профиль в каталог участников?"; -$a->strings["Membership on this site is by invitation only."] = "Членство на сайте только по приглашению."; -$a->strings["Your invitation ID: "] = "ID вашего приглашения:"; -$a->strings["Registration"] = "Регистрация"; -$a->strings["Your Full Name (e.g. Joe Smith): "] = "Ваше полное имя (например, Joe Smith): "; -$a->strings["Your Email Address: "] = "Ваш адрес электронной почты: "; -$a->strings["Choose a profile nickname. This must begin with a text character. Your profile address on this site will then be '<strong>nickname@\$sitename</strong>'."] = "Выбор псевдонима профиля. Он должен начинаться с буквы. Адрес вашего профиля на данном сайте будет в этом случае '<strong>nickname@\$sitename</strong>'."; -$a->strings["Choose a nickname: "] = "Выберите псевдоним: "; -$a->strings["Register"] = "Регистрация"; -$a->strings["People Search"] = "Поиск людей"; -$a->strings["status"] = "статус"; -$a->strings["%1\$s likes %2\$s's %3\$s"] = "%1\$s нравится %3\$s от %2\$s "; -$a->strings["%1\$s doesn't like %2\$s's %3\$s"] = "%1\$s не нравится %3\$s от %2\$s "; -$a->strings["Item not found."] = "Пункт не найден."; -$a->strings["Access denied."] = "Доступ запрещен."; -$a->strings["Photos"] = "Фото"; -$a->strings["Files"] = ""; -$a->strings["Account approved."] = "Аккаунт утвержден."; -$a->strings["Registration revoked for %s"] = "Регистрация отменена для %s"; -$a->strings["Please login."] = "Пожалуйста, войдите с паролем."; -$a->strings["Unable to locate original post."] = "Не удалось найти оригинальный пост."; -$a->strings["Empty post discarded."] = "Пустое сообщение отбрасывается."; -$a->strings["Wall Photos"] = "Фото стены"; -$a->strings["System error. Post not saved."] = "Системная ошибка. Сообщение не сохранено."; -$a->strings["This message was sent to you by %s, a member of the Friendica social network."] = ""; -$a->strings["You may visit them online at %s"] = "Вы можете посетить их в онлайне на %s"; -$a->strings["Please contact the sender by replying to this post if you do not wish to receive these messages."] = "Пожалуйста, свяжитесь с отправителем, ответив на это сообщение, если вы не хотите получать эти сообщения."; -$a->strings["%s posted an update."] = "%s отправил/а/ обновление."; -$a->strings["%1\$s is currently %2\$s"] = ""; -$a->strings["Mood"] = ""; -$a->strings["Set your current mood and tell your friends"] = ""; -$a->strings["Image uploaded but image cropping failed."] = "Изображение загружено, но обрезка изображения не удалась."; -$a->strings["Image size reduction [%s] failed."] = "Уменьшение размера изображения [%s] не удалось."; -$a->strings["Shift-reload the page or clear browser cache if the new photo does not display immediately."] = ""; -$a->strings["Unable to process image"] = "Не удается обработать изображение"; -$a->strings["Image exceeds size limit of %d"] = "Изображение превышает предельный размер %d"; -$a->strings["Upload File:"] = "Загрузить файл:"; -$a->strings["Select a profile:"] = ""; -$a->strings["Upload"] = "Загрузить"; -$a->strings["skip this step"] = "пропустить этот шаг"; -$a->strings["select a photo from your photo albums"] = "выберите фото из ваших фотоальбомов"; -$a->strings["Crop Image"] = "Обрезать изображение"; -$a->strings["Please adjust the image cropping for optimum viewing."] = "Пожалуйста, настройте обрезку изображения для оптимального просмотра."; -$a->strings["Done Editing"] = "Редактирование выполнено"; -$a->strings["Image uploaded successfully."] = "Изображение загружено успешно."; -$a->strings["No profile"] = "Нет профиля"; -$a->strings["Remove My Account"] = "Удалить мой аккаунт"; -$a->strings["This will completely remove your account. Once this has been done it is not recoverable."] = "Это позволит полностью удалить ваш аккаунт. Как только это будет сделано, аккаунт восстановлению не подлежит."; -$a->strings["Please enter your password for verification:"] = "Пожалуйста, введите свой пароль для проверки:"; -$a->strings["New Message"] = "Новое сообщение"; -$a->strings["Unable to locate contact information."] = "Не удалось найти контактную информацию."; -$a->strings["Message deleted."] = "Сообщение удалено."; -$a->strings["Conversation removed."] = "Беседа удалена."; $a->strings["No messages."] = "Нет сообщений."; -$a->strings["Unknown sender - %s"] = ""; -$a->strings["You and %s"] = ""; -$a->strings["%s and You"] = "%s и Вы"; -$a->strings["Delete conversation"] = "Удалить историю общения"; -$a->strings["D, d M Y - g:i A"] = "D, d M Y - g:i A"; -$a->strings["%d message"] = array( - 0 => "%d сообщение", - 1 => "%d сообщений", - 2 => "%d сообщений", -); -$a->strings["Message not available."] = "Сообщение не доступно."; $a->strings["Delete message"] = "Удалить сообщение"; +$a->strings["D, d M Y - g:i A"] = "D, d M Y - g:i A"; +$a->strings["Message not found."] = "Сообщение не найдено."; +$a->strings["Delete conversation"] = "Удалить разговор"; $a->strings["No secure communications available. You <strong>may</strong> be able to respond from the sender's profile page."] = ""; -$a->strings["Send Reply"] = "Отправить ответ"; -$a->strings["Friends of %s"] = "%s Друзья"; -$a->strings["No friends to display."] = "Нет друзей."; -$a->strings["Theme settings updated."] = ""; +$a->strings["Send Reply"] = "Отправить снова"; +$a->strings["No profile"] = "Профиль отсутствует"; +$a->strings["Help:"] = "Помощь:"; +$a->strings["Not Found"] = "Не найдено"; +$a->strings["Page not found."] = "Страница не найдена."; +$a->strings["Remote Authentication"] = "Удаленная аутентификация"; +$a->strings["Enter your channel address (e.g. channel@example.com)"] = "Введите адрес вашего канала (например channel@example.com)"; +$a->strings["Authenticate"] = "Проверка подлинности"; +$a->strings["Unable to locate original post."] = "Не удалось найти оригинал."; +$a->strings["Empty post discarded."] = "Отказаться от пустой почты."; +$a->strings["System error. Post not saved."] = "Системная ошибка. Сообщение не сохранено."; +$a->strings["Wall Photos"] = "Стена фотографий"; +$a->strings["Remove term"] = "Удалить термин"; +$a->strings["Commented Order"] = "По комментириям"; +$a->strings["Sort by Comment Date"] = "Сортировка по дате создания комментариев"; +$a->strings["Posted Order"] = "По добавлениям"; +$a->strings["Sort by Post Date"] = "Сортировка по дате создания сообщения"; +$a->strings["Personal"] = "Личные"; +$a->strings["Posts that mention or involve you"] = "Сообщения, в которых упоминули или вовлекли вас"; +$a->strings["New"] = "Новые"; +$a->strings["Activity Stream - by date"] = "Лента активности - по дате"; +$a->strings["Starred"] = "Помеченные"; +$a->strings["Favourite Posts"] = "Фаворит-сообщения"; +$a->strings["Spam"] = "Спам"; +$a->strings["Posts flagged as SPAM"] = "Как СПАМ помеченные сообщения"; +$a->strings["Refresh"] = "Обновить"; +$a->strings["Me"] = "Я"; +$a->strings["Best Friends"] = "Лучшие друзья"; +$a->strings["Co-workers"] = "Сотрудники"; +$a->strings["Former Friends"] = "Приятели"; +$a->strings["Acquaintances"] = "Знакомые"; +$a->strings["Everybody"] = "Все"; +$a->strings["Search Results For:"] = "Результаты поиска для:"; +$a->strings["No such group"] = "Нет такой группы"; +$a->strings["Group is empty"] = "Группа пуста"; +$a->strings["Contact: "] = "Контакт: "; +$a->strings["Invalid contact."] = "Неправильный контакт."; +$a->strings["Theme settings updated."] = "Настройки темы обновленны."; $a->strings["Site"] = "Сайт"; $a->strings["Users"] = "Пользователи"; $a->strings["Plugins"] = "Плагины"; -$a->strings["Themes"] = ""; -$a->strings["DB updates"] = ""; +$a->strings["Themes"] = "Темы"; +$a->strings["DB updates"] = "Обновления базы данных"; $a->strings["Logs"] = "Журналы"; -$a->strings["Admin"] = "Администратор"; -$a->strings["Plugin Features"] = ""; -$a->strings["User registrations waiting for confirmation"] = "Регистрации пользователей, ожидающие подтверждения"; -$a->strings["Normal Account"] = "Обычный аккаунт"; -$a->strings["Soapbox Account"] = "Аккаунт Витрина"; -$a->strings["Community/Celebrity Account"] = "Аккаунт Сообщество / Знаменитость"; -$a->strings["Automatic Friend Account"] = "\"Автоматический друг\" Аккаунт"; -$a->strings["Blog Account"] = ""; -$a->strings["Private Forum"] = ""; -$a->strings["Message queues"] = ""; +$a->strings["Plugin Features"] = "Функции плагинов"; +$a->strings["User registrations waiting for confirmation"] = "Регистрации пользователей ждут подтверждения"; +$a->strings["Message queues"] = "Очереди сообщений"; $a->strings["Administration"] = "Администрация"; $a->strings["Summary"] = "Резюме"; -$a->strings["Registered users"] = "Зарегистрированные пользователи"; -$a->strings["Pending registrations"] = "Ожидающие регистрации"; +$a->strings["Registered users"] = "Зарегистрированных пользователeй"; +$a->strings["Pending registrations"] = "В ожидании утверждения регистрации"; $a->strings["Version"] = "Версия"; $a->strings["Active plugins"] = "Активные плагины"; -$a->strings["Site settings updated."] = "Установки сайта обновлены."; +$a->strings["Site settings updated."] = "Настройки сайта обновленны."; +$a->strings["No special theme for accessibility"] = ""; $a->strings["Closed"] = "Закрыто"; -$a->strings["Requires approval"] = "Требуется подтверждение"; +$a->strings["Requires approval"] = "Требует подтверждения"; $a->strings["Open"] = "Открыто"; $a->strings["No SSL policy, links will track page SSL state"] = ""; $a->strings["Force all links to use SSL"] = "Заставить все ссылки использовать SSL"; -$a->strings["Self-signed certificate, use SSL for local links only (discouraged)"] = ""; -$a->strings["File upload"] = "Загрузка файлов"; -$a->strings["Policies"] = "Политики"; -$a->strings["Advanced"] = "Расширенный"; +$a->strings["Registration"] = "Регистрация"; +$a->strings["File upload"] = "Загрузка файла"; +$a->strings["Policies"] = "Правила"; +$a->strings["Advanced"] = "Дополнительно"; $a->strings["Site name"] = "Название сайта"; -$a->strings["Banner/Logo"] = "Баннер/Логотип"; -$a->strings["System language"] = "Системный язык"; -$a->strings["System theme"] = "Системная тема"; +$a->strings["Banner/Logo"] = "Баннер / логотип"; +$a->strings["System language"] = "Язык системы"; +$a->strings["System theme"] = "Тема системы"; $a->strings["Default system theme - may be over-ridden by user profiles - <a href='#' id='cnftheme'>change theme settings</a>"] = ""; $a->strings["Mobile system theme"] = ""; $a->strings["Theme for mobile devices"] = ""; -$a->strings["SSL link policy"] = ""; -$a->strings["Determines whether generated links should be forced to use SSL"] = "Ссылки должны быть вынуждены использовать SSL"; +$a->strings["Accessibility system theme"] = ""; +$a->strings["Accessibility theme"] = ""; +$a->strings["Channel to use for this website's static pages"] = ""; +$a->strings["Site Channel"] = "Канал сайта"; +$a->strings["SSL link policy"] = "Правила SSL-ссылки"; +$a->strings["Determines whether generated links should be forced to use SSL"] = ""; $a->strings["Maximum image size"] = "Максимальный размер изображения"; $a->strings["Maximum size in bytes of uploaded images. Default is 0, which means no limits."] = ""; -$a->strings["Maximum image length"] = ""; -$a->strings["Maximum length in pixels of the longest side of uploaded images. Default is -1, which means no limits."] = ""; -$a->strings["JPEG image quality"] = ""; -$a->strings["Uploaded JPEGS will be saved at this quality setting [0-100]. Default is 100, which is full quality."] = ""; -$a->strings["Register policy"] = "Политика регистрация"; +$a->strings["Register policy"] = "Правила регистрации"; $a->strings["Register text"] = "Текст регистрации"; $a->strings["Will be displayed prominently on the registration page."] = ""; -$a->strings["Accounts abandoned after x days"] = "Аккаунт считается после x дней не воспользованным"; +$a->strings["Accounts abandoned after x days"] = ""; $a->strings["Will not waste system resources polling external sites for abandonded accounts. Enter 0 for no time limit."] = ""; -$a->strings["Allowed friend domains"] = "Разрешенные домены друзей"; +$a->strings["Allowed friend domains"] = ""; $a->strings["Comma separated list of domains which are allowed to establish friendships with this site. Wildcards are accepted. Empty to allow any domains"] = ""; -$a->strings["Allowed email domains"] = "Разрешенные почтовые домены"; +$a->strings["Allowed email domains"] = ""; $a->strings["Comma separated list of domains which are allowed in email addresses for registrations to this site. Wildcards are accepted. Empty to allow any domains"] = ""; -$a->strings["Block public"] = "Блокировать общественный доступ"; +$a->strings["Block public"] = "Блокировать публичный доступ"; $a->strings["Check to block public access to all otherwise public personal pages on this site unless you are currently logged in."] = ""; -$a->strings["Force publish"] = "Принудительная публикация"; +$a->strings["Force publish"] = "Заставить публиковать"; $a->strings["Check to force all profiles on this site to be listed in the site directory."] = ""; -$a->strings["Global directory update URL"] = "URL обновления глобального каталога"; -$a->strings["URL to update the global directory. If this is not set, the global directory is completely unavailable to the application."] = ""; -$a->strings["Allow threaded items"] = ""; -$a->strings["Allow infinite level threading for items on this site."] = ""; -$a->strings["Private posts by default for new users"] = ""; -$a->strings["Set default post permissions for all new members to the default privacy group rather than public."] = ""; -$a->strings["Block multiple registrations"] = "Блокировать множественные регистрации"; -$a->strings["Disallow users to register additional accounts for use as pages."] = "Запретить пользователям регистрировать дополнительные аккаунты для использования в качестве страниц."; -$a->strings["OpenID support"] = "Поддержка OpenID"; -$a->strings["OpenID support for registration and logins."] = ""; -$a->strings["Fullname check"] = "Проверка полного имени"; -$a->strings["Force users to register with a space between firstname and lastname in Full name, as an antispam measure"] = ""; -$a->strings["UTF-8 Regular expressions"] = "UTF-8 регулярные выражения"; -$a->strings["Use PHP UTF8 regular expressions"] = ""; -$a->strings["Show Community Page"] = "Показать страницу сообщества"; -$a->strings["Display a Community page showing all recent public postings on this site."] = "Показывать страницу сообщества с указанием всех последних публичных сообщений на этом сайте."; -$a->strings["Enable OStatus support"] = "Включить поддержку OStatus"; -$a->strings["Provide built-in OStatus (identi.ca, status.net, etc.) compatibility. All communications in OStatus are public, so privacy warnings will be occasionally displayed."] = ""; -$a->strings["Enable Diaspora support"] = "Включить поддержку Diaspora"; -$a->strings["Provide built-in Diaspora network compatibility."] = ""; -$a->strings["Only allow Friendica contacts"] = "Позвольть только Friendica контакты"; -$a->strings["All contacts must use Friendica protocols. All other built-in communication protocols disabled."] = "Все контакты должны использовать только Friendica протоколы. Все другие встроенные коммуникационные протоколы отключены."; -$a->strings["Verify SSL"] = "Проверка SSL"; -$a->strings["If you wish, you can turn on strict certificate checking. This will mean you cannot connect (at all) to self-signed SSL sites."] = ""; -$a->strings["Proxy user"] = "Прокси пользователь"; -$a->strings["Proxy URL"] = "Прокси URL"; -$a->strings["Network timeout"] = "Тайм-аут сети"; +$a->strings["Proxy user"] = "Proxy пользователь"; +$a->strings["Proxy URL"] = "Proxy URL"; +$a->strings["Network timeout"] = "Время ожидания сети"; $a->strings["Value is in seconds. Set to 0 for unlimited (not recommended)."] = ""; -$a->strings["Delivery interval"] = ""; +$a->strings["Delivery interval"] = "Интервал доставки"; $a->strings["Delay background delivery processes by this many seconds to reduce system load. Recommend: 4-5 for shared hosts, 2-3 for virtual private servers. 0-1 for large dedicated servers."] = ""; -$a->strings["Poll interval"] = ""; +$a->strings["Poll interval"] = "Интервал опроса"; $a->strings["Delay background polling processes by this many seconds to reduce system load. If 0, use delivery interval."] = ""; $a->strings["Maximum Load Average"] = ""; $a->strings["Maximum system load before delivery and poll processes are deferred - default 50."] = ""; @@ -848,9 +1072,8 @@ $a->strings["Executing %s failed. Check system logs."] = ""; $a->strings["Update %s was successfully applied."] = ""; $a->strings["Update %s did not return a status. Unknown if it succeeded."] = ""; $a->strings["Update function %s could not be found."] = ""; -$a->strings["No failed updates."] = ""; -$a->strings["Failed Updates"] = ""; -$a->strings["This does not include updates prior to 1139, which did not return a status."] = ""; +$a->strings["No failed updates."] = "Ошибок обновлений нет."; +$a->strings["Failed Updates"] = "Обновления с ошибками"; $a->strings["Mark success (if update was manually applied)"] = ""; $a->strings["Attempt to execute this update step automatically"] = ""; $a->strings["%s user blocked/unblocked"] = array( @@ -859,1161 +1082,422 @@ $a->strings["%s user blocked/unblocked"] = array( 2 => "", ); $a->strings["%s user deleted"] = array( - 0 => "%s человек удален", - 1 => "%s чел. удалено", - 2 => "%s чел. удалено", + 0 => "%s пользователь удален", + 1 => "%s пользователи удалены", + 2 => "%s пользователи удалены", ); +$a->strings["Account not found"] = "Аккаунт не найден"; $a->strings["User '%s' deleted"] = "Пользователь '%s' удален"; -$a->strings["User '%s' unblocked"] = "Пользователь '%s' разблокирован"; -$a->strings["User '%s' blocked"] = "Пользователь '%s' блокирован"; +$a->strings["User '%s' unblocked"] = "Kontakt '%s' разрешен"; +$a->strings["User '%s' blocked"] = "Пользователь '%s' заблокирован"; +$a->strings["Normal Account"] = "Нормальный аккаунт"; +$a->strings["Soapbox Account"] = "Soapbox аккаунт"; +$a->strings["Community/Celebrity Account"] = "Community/Celebrity аккаунт"; +$a->strings["Automatic Friend Account"] = "Аккаунт \"автоматически друзья\""; $a->strings["select all"] = "выбрать все"; -$a->strings["User registrations waiting for confirm"] = "Регистрации пользователей, ожидающие подтверждения"; -$a->strings["Request date"] = "Запрос даты"; -$a->strings["Email"] = "Эл. почта"; -$a->strings["No registrations."] = "Нет регистраций."; -$a->strings["Deny"] = "Отклонить"; -$a->strings["Site admin"] = ""; +$a->strings["User registrations waiting for confirm"] = "Регистрации пользователей ждут подтверждения"; +$a->strings["Request date"] = "Дата запроса"; +$a->strings["No registrations."] = "Регистраций нет."; +$a->strings["Approve"] = "Утвердить"; +$a->strings["Deny"] = "Запретить"; +$a->strings["Block"] = "Заблокировать"; +$a->strings["Unblock"] = "Разрешить"; $a->strings["Register date"] = "Дата регистрации"; $a->strings["Last login"] = "Последний вход"; -$a->strings["Last item"] = "Последний пункт"; -$a->strings["Account"] = "Аккаунт"; -$a->strings["Selected users will be deleted!\\n\\nEverything these users had posted on this site will be permanently deleted!\\n\\nAre you sure?"] = "Выбранные пользователи будут удалены!\\n\\nВсе, что эти пользователи написали на этом сайте, будет удалено!\\n\\nВы уверены в вашем действии?"; -$a->strings["The user {0} will be deleted!\\n\\nEverything this user has posted on this site will be permanently deleted!\\n\\nAre you sure?"] = "Пользователь {0} будет удален!\\n\\nВсе, что этот пользователь написал на этом сайте, будет удалено!\\n\\nВы уверены в вашем действии?"; +$a->strings["Service Class"] = "Класс службы"; +$a->strings["Selected users will be deleted!\\n\\nEverything these users had posted on this site will be permanently deleted!\\n\\nAre you sure?"] = ""; +$a->strings["The user {0} will be deleted!\\n\\nEverything this user has posted on this site will be permanently deleted!\\n\\nAre you sure?"] = ""; $a->strings["Plugin %s disabled."] = "Плагин %s отключен."; $a->strings["Plugin %s enabled."] = "Плагин %s включен."; -$a->strings["Disable"] = "Отключить"; -$a->strings["Enable"] = "Включить"; +$a->strings["Disable"] = "Запретить"; +$a->strings["Enable"] = "Разрешить"; $a->strings["Toggle"] = "Переключить"; -$a->strings["Author: "] = "Автор:"; -$a->strings["Maintainer: "] = ""; -$a->strings["No themes found."] = ""; +$a->strings["Author: "] = "Автор: "; +$a->strings["Maintainer: "] = "Обслуживающий: "; +$a->strings["No themes found."] = "Темы не найдены."; $a->strings["Screenshot"] = "Скриншот"; -$a->strings["[Experimental]"] = "[экспериментально]"; -$a->strings["[Unsupported]"] = "[Неподдерживаемое]"; -$a->strings["Log settings updated."] = "Настройки журнала обновлены."; +$a->strings["[Experimental]"] = "[экспериментальный]"; +$a->strings["[Unsupported]"] = "[неподдерживаемый]"; +$a->strings["Log settings updated."] = "Настройки журнала обновленны."; $a->strings["Clear"] = "Очистить"; $a->strings["Debugging"] = "Отладка"; -$a->strings["Log file"] = "Лог-файл"; -$a->strings["Must be writable by web server. Relative to your Friendica top-level directory."] = ""; -$a->strings["Log level"] = "Уровень лога"; -$a->strings["Close"] = "Закрыть"; -$a->strings["FTP Host"] = "FTP хост"; -$a->strings["FTP Path"] = "Путь FTP"; -$a->strings["FTP User"] = "FTP пользователь"; -$a->strings["FTP Password"] = "FTP пароль"; -$a->strings["Requested profile is not available."] = "Запрашиваемый профиль недоступен."; -$a->strings["Access to this profile has been restricted."] = "Доступ к этому профилю ограничен."; -$a->strings["Tips for New Members"] = "Советы для новых участников"; -$a->strings["{0} wants to be your friend"] = "{0} хочет стать Вашим другом"; -$a->strings["{0} sent you a message"] = "{0} отправил Вам сообщение"; -$a->strings["{0} requested registration"] = "{0} требуемая регистрация"; -$a->strings["{0} commented %s's post"] = "{0} прокомментировал сообщение от %s"; -$a->strings["{0} liked %s's post"] = "{0} нравится сообщение от %s"; -$a->strings["{0} disliked %s's post"] = "{0} не нравится сообщение от %s"; -$a->strings["{0} is now friends with %s"] = "{0} теперь друзья с %s"; -$a->strings["{0} posted"] = "{0} опубликовано"; -$a->strings["{0} tagged %s's post with #%s"] = "{0} пометил сообщение %s с #%s"; -$a->strings["{0} mentioned you in a post"] = "{0} упоменул Вас в сообщение"; -$a->strings["Contacts who are not members of a group"] = ""; -$a->strings["OpenID protocol error. No ID returned."] = ""; -$a->strings["Account not found and OpenID registration is not permitted on this site."] = "Аккаунт не найден и OpenID регистрация не допускается на этом сайте."; -$a->strings["Login failed."] = "Войти не удалось."; -$a->strings["Contact added"] = ""; -$a->strings["Common Friends"] = "Общие друзья"; -$a->strings["No contacts in common."] = ""; -$a->strings["link"] = ""; -$a->strings["Item has been removed."] = "Пункт был удален."; -$a->strings["Applications"] = "Приложения"; -$a->strings["No installed applications."] = "Нет установленных приложений."; -$a->strings["Search"] = "Поиск"; +$a->strings["Log file"] = "Файл журнала"; +$a->strings["Must be writable by web server. Relative to your Red top-level directory."] = ""; +$a->strings["Log level"] = "Уровень журнала"; +$a->strings["Ignore"] = "Игнорировать"; +$a->strings["Connection updated."] = "Контакт обновлен."; +$a->strings["Connection update failed."] = "Ошибка обновления контакта."; +$a->strings["Introductions and Connection Requests"] = ""; +$a->strings["No pending introductions."] = ""; +$a->strings["System error. Please try again later."] = "Системная ошибка. Пожалуйста, повторите попытку позже."; +$a->strings["Hide this contact from others"] = "Скрыть этот контакт от других"; +$a->strings["Post a new friend activity"] = ""; +$a->strings["if applicable"] = "если это применимо"; +$a->strings["Discard"] = "Отменить"; +$a->strings["Could not access contact record."] = ""; +$a->strings["Could not locate selected profile."] = ""; +$a->strings["Failed to update connection record."] = ""; +$a->strings["Could not access address book record."] = ""; +$a->strings["Refresh failed - channel is currently unavailable."] = ""; +$a->strings["Channel has been unblocked"] = "Канал разблокирован"; +$a->strings["Channel has been blocked"] = "Канал заблокирован"; +$a->strings["Unable to set address book parameters."] = ""; +$a->strings["Channel has been unignored"] = "Канал не проигнорирован"; +$a->strings["Channel has been ignored"] = "Канал проигнорирован"; +$a->strings["Channel has been unarchived"] = "Канал разархивирован"; +$a->strings["Channel has been archived"] = "Канал заархивирован"; +$a->strings["Channel has been unhidden"] = "Канал открыт"; +$a->strings["Channel has been hidden"] = "Канал скрыт"; +$a->strings["Channel has been approved"] = "Канал одобрен"; +$a->strings["Channel has been unapproved"] = "Канал не одобрен"; +$a->strings["Contact has been removed."] = "Контакт удален."; +$a->strings["View %s's profile"] = ""; +$a->strings["Refresh Permissions"] = "Обновить разрешения"; +$a->strings["Fetch updated permissions"] = ""; +$a->strings["Block or Unblock this connection"] = "Запретить или разрешить этот контакт"; +$a->strings["Unignore"] = "Не игнорировать"; +$a->strings["Ignore or Unignore this connection"] = "Игнорировать или не игнорировать этот контакт"; +$a->strings["Unarchive"] = "Разархивировать"; +$a->strings["Archive"] = "Заархивировать"; +$a->strings["Archive or Unarchive this connection"] = " Заархивировать или разархивировать этот контакт"; +$a->strings["Unhide"] = "Показать"; +$a->strings["Hide"] = "Скрыть"; +$a->strings["Hide or Unhide this connection"] = "Скрыть или показывать этот контакт"; +$a->strings["Delete this connection"] = "Удалить этот контакт"; +$a->strings["Unknown"] = "Неизвестный"; +$a->strings["Approve this connection"] = "Утвердить этот контакт"; +$a->strings["Accept connection to allow communication"] = ""; +$a->strings["Automatic Permissions Settings"] = "Настройки автоматических разрешений"; +$a->strings["Connections: settings for %s"] = ""; +$a->strings["When receiving a channel introduction, any permissions provided here will be applied to the new connection automatically and the introduction approved. Leave this page if you do not wish to use this feature."] = ""; +$a->strings["Slide to adjust your degree of friendship"] = ""; +$a->strings["Connection has no individual permissions!"] = ""; +$a->strings["This may be appropriate based on your <a href=\"settings\">privacy settings</a>, though you may wish to review the \"Advanced Permissions\""] = ""; +$a->strings["Profile Visibility"] = "Видимость профиля"; +$a->strings["Please choose the profile you would like to display to %s when viewing your profile securely."] = ""; +$a->strings["Contact Information / Notes"] = "Контактная информация / Примечания"; +$a->strings["Edit contact notes"] = "Редактировать примечания контакта"; +$a->strings["Their Settings"] = "Их настройки"; +$a->strings["My Settings"] = "Мои настройки"; +$a->strings["Forum Members"] = "Участники форума"; +$a->strings["Soapbox"] = ""; +$a->strings["Full Sharing"] = "Полный обмен"; +$a->strings["Cautious Sharing"] = ""; +$a->strings["Follow Only"] = "Только следовать"; +$a->strings["Individual Permissions"] = "Индивидуальные разрешения"; +$a->strings["Individual permissions are only enabled for <a href=\"settings\">privacy settings</a> which are set to \"Only those you specifically allow\". Otherwise they are controlled by your privacy settings."] = ""; +$a->strings["Advanced Permissions"] = "Дополнительные разрешения"; +$a->strings["Quick Links"] = "Быстрые ссылки"; +$a->strings["Visit %s's profile - %s"] = ""; +$a->strings["Block/Unblock contact"] = "Запретить/разрешить контакт"; +$a->strings["Ignore contact"] = "Игнорировать контакт"; +$a->strings["Repair URL settings"] = "Ремонт настройки URL"; +$a->strings["View conversations"] = "Просмотр разговоров"; +$a->strings["Delete contact"] = "Удалить контакт"; +$a->strings["Last update:"] = "Последнее обновление:"; +$a->strings["Update public posts"] = "Обновить публичные сообщения"; +$a->strings["Update now"] = "Обновить сейчас"; +$a->strings["Currently blocked"] = "В настоящее время заблокирован"; +$a->strings["Currently ignored"] = "В настоящее время игнорируются"; +$a->strings["Currently archived"] = "В настоящее время зархивированны"; +$a->strings["Currently pending"] = "В настоящее время в ожидании"; +$a->strings["Replies/likes to your public posts <strong>may</strong> still be visible"] = ""; +$a->strings["Blocked"] = "Заблокированные"; +$a->strings["Ignored"] = "Игнорируемые"; +$a->strings["Hidden"] = "Скрытые"; +$a->strings["Archived"] = "Зархивированные"; +$a->strings["All"] = "Все"; +$a->strings["Suggestions"] = "Предложения"; +$a->strings["Suggest new connections"] = "Предлагать новые контакты"; +$a->strings["Show pending (new) connections"] = "Просмотр (новых) ждущих контактов"; +$a->strings["All Connections"] = "Все контакты"; +$a->strings["Show all connections"] = "Просмотр всех контактв"; +$a->strings["Unblocked"] = "Разрешенные"; +$a->strings["Only show unblocked connections"] = "Показать только разрешенные контакты"; +$a->strings["Only show blocked connections"] = "Показать только заблокированные контакты"; +$a->strings["Only show ignored connections"] = "Показать только проигнорированные контакты"; +$a->strings["Only show archived connections"] = "Показать только архивированные контакты"; +$a->strings["Only show hidden connections"] = "Показать только скрытые контакты"; +$a->strings["%1\$s [%2\$s]"] = "%1\$s [%2\$s]"; +$a->strings["Edit contact"] = "Редактировать контакт"; +$a->strings["Search your connections"] = "Поиск контактов"; +$a->strings["Finding: "] = "Поиск:"; +$a->strings["This site is not a directory server"] = "Этот сайт не является сервером каталога"; +$a->strings["Remote privacy information not available."] = ""; +$a->strings["Visible to:"] = "Кому видно:"; +$a->strings["Remote authentication blocked. You are logged into this site locally. Please logout and retry."] = ""; +$a->strings["Welcome %s. Remote authentication successful."] = ""; $a->strings["Profile not found."] = "Профиль не найден."; -$a->strings["Profile Name is required."] = "Необходимо имя профиля."; -$a->strings["Marital Status"] = ""; -$a->strings["Romantic Partner"] = ""; -$a->strings["Likes"] = ""; -$a->strings["Dislikes"] = ""; -$a->strings["Work/Employment"] = ""; -$a->strings["Religion"] = ""; -$a->strings["Political Views"] = ""; -$a->strings["Gender"] = ""; -$a->strings["Sexual Preference"] = ""; -$a->strings["Homepage"] = ""; -$a->strings["Interests"] = ""; -$a->strings["Address"] = ""; -$a->strings["Location"] = ""; -$a->strings["Profile updated."] = "Профиль обновлен."; -$a->strings[" and "] = ""; -$a->strings["public profile"] = ""; -$a->strings["%1\$s changed %2\$s to “%3\$s”"] = ""; -$a->strings[" - Visit %1\$s's %2\$s"] = ""; -$a->strings["%1\$s has an updated %2\$s, changing %3\$s."] = ""; $a->strings["Profile deleted."] = "Профиль удален."; $a->strings["Profile-"] = "Профиль-"; $a->strings["New profile created."] = "Новый профиль создан."; $a->strings["Profile unavailable to clone."] = "Профиль недоступен для клонирования."; -$a->strings["Hide your contact/friend list from viewers of this profile?"] = "Скрывать ваш список контактов / друзей от посетителей этого профиля?"; -$a->strings["Edit Profile Details"] = "Редактировать детали профиля"; -$a->strings["View this profile"] = "Просмотреть этот профиль"; -$a->strings["Create a new profile using these settings"] = "Создать новый профиль, используя эти настройки"; +$a->strings["Profile Name is required."] = "Имя профиля требуется."; +$a->strings["Marital Status"] = "Семейное положение"; +$a->strings["Romantic Partner"] = "Романтический партнер"; +$a->strings["Likes"] = "мне нравиться"; +$a->strings["Dislikes"] = "мне не-нравиться"; +$a->strings["Work/Employment"] = "Работа / Занятость"; +$a->strings["Religion"] = "Религия"; +$a->strings["Political Views"] = "Политические взгляды"; +$a->strings["Gender"] = "Пол"; +$a->strings["Sexual Preference"] = "Сексуальная ориентация"; +$a->strings["Homepage"] = "Домашняя страница"; +$a->strings["Interests"] = "Интересы"; +$a->strings["Address"] = "Адрес"; +$a->strings["Location"] = "Место"; +$a->strings["Profile updated."] = "Профиль обновлен."; +$a->strings["Hide your contact/friend list from viewers of this profile?"] = ""; +$a->strings["Edit Profile Details"] = "Редактирование профиля"; +$a->strings["View this profile"] = "Посмотреть этот профиль"; +$a->strings["Change Profile Photo"] = "Изменить фотографию профиля"; +$a->strings["Create a new profile using these settings"] = ""; $a->strings["Clone this profile"] = "Клонировать этот профиль"; $a->strings["Delete this profile"] = "Удалить этот профиль"; $a->strings["Profile Name:"] = "Имя профиля:"; $a->strings["Your Full Name:"] = "Ваше полное имя:"; -$a->strings["Title/Description:"] = "Заголовок / Описание:"; +$a->strings["Title/Description:"] = "Название / Описание:"; $a->strings["Your Gender:"] = "Ваш пол:"; -$a->strings["Birthday (%s):"] = "День рождения (%s):"; -$a->strings["Street Address:"] = "Адрес:"; -$a->strings["Locality/City:"] = "Город / Населенный пункт:"; +$a->strings["Birthday (%s):"] = "Ваш День Рождения (%s):"; +$a->strings["Street Address:"] = "Улица:"; +$a->strings["Locality/City:"] = "Населенный пункт / город:"; $a->strings["Postal/Zip Code:"] = "Почтовый индекс:"; $a->strings["Country:"] = "Страна:"; -$a->strings["Region/State:"] = "Район / Область:"; -$a->strings["<span class=\"heart\">♥</span> Marital Status:"] = "<span class=\"heart\">♥</span> Семейное положение:"; -$a->strings["Who: (if applicable)"] = "Кто: (если требуется)"; -$a->strings["Examples: cathy123, Cathy Williams, cathy@example.com"] = "Примеры: cathy123, Кэти Уильямс, cathy@example.com"; -$a->strings["Since [date]:"] = ""; -$a->strings["Sexual Preference:"] = "Сексуальные предпочтения:"; -$a->strings["Homepage URL:"] = "Адрес домашней странички:"; -$a->strings["Hometown:"] = ""; -$a->strings["Political Views:"] = "Политические взгляды:"; +$a->strings["Region/State:"] = "Регион / Область:"; +$a->strings["<span class=\"heart\">♥</span> Marital Status:"] = ""; +$a->strings["Who: (if applicable)"] = "Кто: (если это применимо)"; +$a->strings["Examples: cathy123, Cathy Williams, cathy@example.com"] = ""; +$a->strings["Since [date]:"] = "С тех пор [date]:"; +$a->strings["Homepage URL:"] = "URL-адрес домашней страницы:"; $a->strings["Religious Views:"] = "Религиозные взгляды:"; -$a->strings["Public Keywords:"] = "Общественные ключевые слова:"; -$a->strings["Private Keywords:"] = "Личные ключевые слова:"; -$a->strings["Likes:"] = ""; -$a->strings["Dislikes:"] = ""; -$a->strings["Example: fishing photography software"] = "Пример: рыбалка фотографии программное обеспечение"; -$a->strings["(Used for suggesting potential friends, can be seen by others)"] = "(Используется для предложения потенциальным друзьям, могут увидеть другие)"; -$a->strings["(Used for searching profiles, never shown to others)"] = "(Используется для поиска профилей, никогда не показывается другим)"; +$a->strings["Keywords:"] = "Ключевые слова:"; +$a->strings["Example: fishing photography software"] = "Пример: fishing photography software"; +$a->strings["Used in directory listings"] = ""; $a->strings["Tell us about yourself..."] = "Расскажите нам о себе ..."; -$a->strings["Hobbies/Interests"] = "Хобби / Интересы"; +$a->strings["Hobbies/Interests"] = "Хобби / интересы"; $a->strings["Contact information and Social Networks"] = "Контактная информация и социальные сети"; +$a->strings["My other channels"] = "Мои другие каналы"; $a->strings["Musical interests"] = "Музыкальные интересы"; $a->strings["Books, literature"] = "Книги, литература"; $a->strings["Television"] = "Телевидение"; $a->strings["Film/dance/culture/entertainment"] = "Кино / танцы / культура / развлечения"; -$a->strings["Love/romance"] = "Любовь / романтика"; -$a->strings["Work/employment"] = "Работа / занятость"; +$a->strings["Love/romance"] = "Любовь / Романс"; +$a->strings["Work/employment"] = "Работа / Занятость"; $a->strings["School/education"] = "Школа / образование"; -$a->strings["This is your <strong>public</strong> profile.<br />It <strong>may</strong> be visible to anybody using the internet."] = "Это ваш <strong>публичный</strong> профиль. <br /> Он <strong>может</strong> быть виден каждому, используя Интернет."; -$a->strings["Age: "] = "Возраст: "; -$a->strings["Edit/Manage Profiles"] = "Редактировать профиль"; -$a->strings["Change profile photo"] = "Изменить фото профиля"; +$a->strings["This is your <strong>public</strong> profile.<br />It <strong>may</strong> be visible to anybody using the internet."] = ""; +$a->strings["Edit/Manage Profiles"] = "Редактирование / Управление профилей"; +$a->strings["Change profile photo"] = "Изменить фотографию профиля"; $a->strings["Create New Profile"] = "Создать новый профиль"; -$a->strings["Profile Image"] = "Фото профиля"; -$a->strings["visible to everybody"] = "видимый всем"; +$a->strings["Profile Image"] = "Изображение профиля"; +$a->strings["visible to everybody"] = "видно всем"; $a->strings["Edit visibility"] = "Редактировать видимость"; -$a->strings["Save to Folder:"] = "Сохранить в папку:"; -$a->strings["- select -"] = ""; -$a->strings["%1\$s tagged %2\$s's %3\$s with %4\$s"] = "%1\$s tagged %2\$s's %3\$s в %4\$s"; -$a->strings["No potential page delegates located."] = ""; -$a->strings["Delegate Page Management"] = "Делегировать управление страницей"; -$a->strings["Delegates are able to manage all aspects of this account/page except for basic account settings. Please do not delegate your personal account to anybody that you do not trust completely."] = ""; -$a->strings["Existing Page Managers"] = "Существующие менеджеры страницы"; -$a->strings["Existing Page Delegates"] = "Существующие уполномоченные страницы"; -$a->strings["Potential Delegates"] = ""; -$a->strings["Add"] = "Добавить"; -$a->strings["No entries."] = "Нет записей."; -$a->strings["Source (bbcode) text:"] = ""; -$a->strings["Source (Diaspora) text to convert to BBcode:"] = ""; -$a->strings["Source input: "] = ""; -$a->strings["bb2html: "] = ""; -$a->strings["bb2html2bb: "] = ""; -$a->strings["bb2md: "] = ""; -$a->strings["bb2md2html: "] = ""; -$a->strings["bb2dia2bb: "] = ""; -$a->strings["bb2md2html2bb: "] = ""; -$a->strings["Source input (Diaspora format): "] = ""; -$a->strings["diaspora2bb: "] = ""; -$a->strings["Friend Suggestions"] = "Предложения друзей"; -$a->strings["No suggestions available. If this is a new site, please try again in 24 hours."] = ""; -$a->strings["Ignore/Hide"] = "Проигнорировать/Скрыть"; -$a->strings["Global Directory"] = "Глобальный каталог"; -$a->strings["Find on this site"] = "Найти на этом сайте"; -$a->strings["Site Directory"] = "Каталог сайта"; -$a->strings["Gender: "] = "Пол: "; -$a->strings["Gender:"] = "Пол:"; -$a->strings["Status:"] = "Статус:"; -$a->strings["Homepage:"] = "Домашняя страничка:"; -$a->strings["About:"] = "О себе:"; -$a->strings["No entries (some entries may be hidden)."] = "Нет записей (некоторые записи могут быть скрыты)."; -$a->strings["%s : Not a valid email address."] = "%s: Неверный адрес электронной почты."; -$a->strings["Please join us on Friendica"] = ""; -$a->strings["%s : Message delivery failed."] = "%s: Доставка сообщения не удалась."; -$a->strings["%d message sent."] = array( - 0 => "%d сообщение отправлено.", - 1 => "%d сообщений отправлено.", - 2 => "%d сообщений отправлено.", -); -$a->strings["You have no more invitations available"] = "У вас нет больше приглашений"; -$a->strings["Visit %s for a list of public sites that you can join. Friendica members on other sites can all connect with each other, as well as with members of many other social networks."] = ""; -$a->strings["To accept this invitation, please visit and register at %s or any other public Friendica website."] = ""; -$a->strings["Friendica sites all inter-connect to create a huge privacy-enhanced social web that is owned and controlled by its members. They can also connect with many traditional social networks. See %s for a list of alternate Friendica sites you can join."] = ""; -$a->strings["Our apologies. This system is not currently configured to connect with other public sites or invite members."] = ""; -$a->strings["Send invitations"] = "Отправить приглашения"; -$a->strings["Enter email addresses, one per line:"] = "Введите адреса электронной почты, по одному в строке:"; -$a->strings["You are cordially invited to join me and other close friends on Friendica - and help us to create a better social web."] = ""; -$a->strings["You will need to supply this invitation code: \$invite_code"] = "Вам нужно будет предоставить этот код приглашения: \$invite_code"; -$a->strings["Once you have registered, please connect with me via my profile page at:"] = "После того как вы зарегистрировались, пожалуйста, свяжитесь со мной через мою страницу профиля по адресу:"; -$a->strings["For more information about the Friendica project and why we feel it is important, please visit http://friendica.com"] = ""; -$a->strings["This may occasionally happen if contact was requested by both persons and it has already been approved."] = ""; -$a->strings["Response from remote site was not understood."] = "Ответ от удаленного сайта не был понят."; -$a->strings["Unexpected response from remote site: "] = "Неожиданный ответ от удаленного сайта: "; -$a->strings["Confirmation completed successfully."] = "Подтверждение успешно завершено."; -$a->strings["Remote site reported: "] = "Удаленный сайт сообщил: "; -$a->strings["Temporary failure. Please wait and try again."] = "Временные неудачи. Подождите и попробуйте еще раз."; -$a->strings["Introduction failed or was revoked."] = "Запрос ошибочен или был отозван."; -$a->strings["Unable to set contact photo."] = "Не удается установить фото контакта."; -$a->strings["%1\$s is now friends with %2\$s"] = "%1\$s и %2\$s теперь друзья"; -$a->strings["No user record found for '%s' "] = "Не найдено записи пользователя для '%s' "; -$a->strings["Our site encryption key is apparently messed up."] = "Наш ключ шифрования сайта, по-видимому, перепутался."; -$a->strings["Empty site URL was provided or URL could not be decrypted by us."] = "Был предоставлен пустой URL сайта или URL не может быть расшифрован нами."; -$a->strings["Contact record was not found for you on our site."] = "Запись контакта не найдена для вас на нашем сайте."; -$a->strings["Site public key not available in contact record for URL %s."] = ""; -$a->strings["The ID provided by your system is a duplicate on our system. It should work if you try again."] = "ID, предложенный вашей системой, является дубликатом в нашей системе. Он должен работать, если вы повторите попытку."; -$a->strings["Unable to set your contact credentials on our system."] = "Не удалось установить ваши учетные данные контакта в нашей системе."; -$a->strings["Unable to update your contact profile details on our system"] = "Не удается обновить ваши контактные детали профиля в нашей системе"; -$a->strings["Connection accepted at %s"] = "Подключение принято в %s"; -$a->strings["%1\$s has joined %2\$s"] = ""; -$a->strings["Google+ Import Settings"] = ""; -$a->strings["Enable Google+ Import"] = ""; -$a->strings["Google Account ID"] = ""; -$a->strings["Google+ Import Settings saved."] = ""; -$a->strings["Facebook disabled"] = "Facebook отключен"; -$a->strings["Updating contacts"] = "Обновление контактов"; -$a->strings["Facebook API key is missing."] = "Отсутствует ключ Facebook API."; -$a->strings["Facebook Connect"] = "Facebook подключение"; -$a->strings["Install Facebook connector for this account."] = "Установить Facebook Connector для этого аккаунта."; -$a->strings["Remove Facebook connector"] = "Удалить Facebook Connector"; -$a->strings["Re-authenticate [This is necessary whenever your Facebook password is changed.]"] = ""; -$a->strings["Post to Facebook by default"] = "Отправлять на Facebook по умолчанию"; -$a->strings["Facebook friend linking has been disabled on this site. The following settings will have no effect."] = ""; -$a->strings["Facebook friend linking has been disabled on this site. If you disable it, you will be unable to re-enable it."] = ""; -$a->strings["Link all your Facebook friends and conversations on this website"] = ""; -$a->strings["Facebook conversations consist of your <em>profile wall</em> and your friend <em>stream</em>."] = ""; -$a->strings["On this website, your Facebook friend stream is only visible to you."] = ""; -$a->strings["The following settings determine the privacy of your Facebook profile wall on this website."] = ""; -$a->strings["On this website your Facebook profile wall conversations will only be visible to you"] = ""; -$a->strings["Do not import your Facebook profile wall conversations"] = "Не импортировать Facebook разговоров с Вашей страницы"; -$a->strings["If you choose to link conversations and leave both of these boxes unchecked, your Facebook profile wall will be merged with your profile wall on this website and your privacy settings on this website will be used to determine who may see the conversations."] = ""; -$a->strings["Comma separated applications to ignore"] = "Игнорировать приложения (список через запятую)"; -$a->strings["Problems with Facebook Real-Time Updates"] = ""; -$a->strings["Facebook Connector Settings"] = "Настройки подключения Facebook"; -$a->strings["Facebook API Key"] = "Facebook API Key"; -$a->strings["Error: it appears that you have specified the App-ID and -Secret in your .htconfig.php file. As long as they are specified there, they cannot be set using this form.<br><br>"] = ""; -$a->strings["Error: the given API Key seems to be incorrect (the application access token could not be retrieved)."] = ""; -$a->strings["The given API Key seems to work correctly."] = ""; -$a->strings["The correctness of the API Key could not be detected. Something strange's going on."] = ""; -$a->strings["App-ID / API-Key"] = "App-ID / API-Key"; -$a->strings["Application secret"] = "Секрет приложения"; -$a->strings["Polling Interval in minutes (minimum %1\$s minutes)"] = ""; -$a->strings["Synchronize comments (no comments on Facebook are missed, at the cost of increased system load)"] = ""; -$a->strings["Real-Time Updates"] = ""; -$a->strings["Real-Time Updates are activated."] = ""; -$a->strings["Deactivate Real-Time Updates"] = "Отключить Real-Time обновления"; -$a->strings["Real-Time Updates not activated."] = ""; -$a->strings["Activate Real-Time Updates"] = "Активировать Real-Time обновления"; -$a->strings["The new values have been saved."] = ""; -$a->strings["Post to Facebook"] = "Отправить на Facebook"; -$a->strings["Post to Facebook cancelled because of multi-network access permission conflict."] = "Отправка на Facebook отменена из-за конфликта разрешений доступа разных сетей."; -$a->strings["View on Friendica"] = ""; -$a->strings["Facebook post failed. Queued for retry."] = "Ошибка отправки сообщения на Facebook. В очереди на еще одну попытку."; -$a->strings["Your Facebook connection became invalid. Please Re-authenticate."] = ""; -$a->strings["Facebook connection became invalid"] = "Facebook подключение не удалось"; -$a->strings["Hi %1\$s,\n\nThe connection between your accounts on %2\$s and Facebook became invalid. This usually happens after you change your Facebook-password. To enable the connection again, you have to %3\$sre-authenticate the Facebook-connector%4\$s."] = ""; -$a->strings["StatusNet AutoFollow settings updated."] = ""; -$a->strings["StatusNet AutoFollow Settings"] = ""; -$a->strings["Automatically follow any StatusNet followers/mentioners"] = ""; -$a->strings["Bg settings updated."] = ""; -$a->strings["Bg Settings"] = ""; -$a->strings["How many contacts to display on profile sidebar"] = ""; -$a->strings["Lifetime of the cache (in hours)"] = ""; -$a->strings["Cache Statistics"] = ""; -$a->strings["Number of items"] = ""; -$a->strings["Size of the cache"] = ""; -$a->strings["Delete the whole cache"] = ""; -$a->strings["Facebook Post disabled"] = ""; -$a->strings["Facebook Post"] = ""; -$a->strings["Install Facebook Post connector for this account."] = ""; -$a->strings["Remove Facebook Post connector"] = ""; -$a->strings["Facebook Post Settings"] = ""; -$a->strings["%d person likes this"] = array( - 0 => "", - 1 => "", - 2 => "", -); -$a->strings["%d person doesn't like this"] = array( - 0 => "", - 1 => "", - 2 => "", -); -$a->strings["Get added to this list!"] = ""; -$a->strings["Generate new key"] = "Сгенерировать новый ключ"; -$a->strings["Widgets key"] = "Ключ виджетов"; -$a->strings["Widgets available"] = "Виджеты доступны"; -$a->strings["Connect on Friendica!"] = "Подключены к Friendica!"; -$a->strings["bitchslap"] = ""; -$a->strings["bitchslapped"] = ""; -$a->strings["shag"] = ""; -$a->strings["shagged"] = ""; -$a->strings["do something obscenely biological to"] = ""; -$a->strings["did something obscenely biological to"] = ""; -$a->strings["point out the poke feature to"] = ""; -$a->strings["pointed out the poke feature to"] = ""; -$a->strings["declare undying love for"] = ""; -$a->strings["declared undying love for"] = ""; -$a->strings["patent"] = ""; -$a->strings["patented"] = ""; -$a->strings["stroke beard"] = ""; -$a->strings["stroked their beard at"] = ""; -$a->strings["bemoan the declining standards of modern secondary and tertiary education to"] = ""; -$a->strings["bemoans the declining standards of modern secondary and tertiary education to"] = ""; -$a->strings["hug"] = ""; -$a->strings["hugged"] = ""; -$a->strings["kiss"] = ""; -$a->strings["kissed"] = ""; -$a->strings["raise eyebrows at"] = ""; -$a->strings["raised their eyebrows at"] = ""; -$a->strings["insult"] = ""; -$a->strings["insulted"] = ""; -$a->strings["praise"] = ""; -$a->strings["praised"] = ""; -$a->strings["be dubious of"] = ""; -$a->strings["was dubious of"] = ""; -$a->strings["eat"] = ""; -$a->strings["ate"] = ""; -$a->strings["giggle and fawn at"] = ""; -$a->strings["giggled and fawned at"] = ""; -$a->strings["doubt"] = ""; -$a->strings["doubted"] = ""; -$a->strings["glare"] = ""; -$a->strings["glared at"] = ""; -$a->strings["YourLS Settings"] = ""; -$a->strings["URL: http://"] = "URL: http://"; -$a->strings["Username:"] = "Имя:"; -$a->strings["Password:"] = "Пароль:"; -$a->strings["Use SSL "] = "Использовать SSL"; -$a->strings["yourls Settings saved."] = "Настройки сохранены."; -$a->strings["Post to LiveJournal"] = ""; -$a->strings["LiveJournal Post Settings"] = ""; -$a->strings["Enable LiveJournal Post Plugin"] = "Включить LiveJournal плагин сообщений"; -$a->strings["LiveJournal username"] = ""; -$a->strings["LiveJournal password"] = ""; -$a->strings["Post to LiveJournal by default"] = ""; -$a->strings["Not Safe For Work (General Purpose Content Filter) settings"] = ""; -$a->strings["This plugin looks in posts for the words/text you specify below, and collapses any content containing those keywords so it is not displayed at inappropriate times, such as sexual innuendo that may be improper in a work setting. It is polite and recommended to tag any content containing nudity with #NSFW. This filter can also match any other word/text you specify, and can thereby be used as a general purpose content filter."] = ""; -$a->strings["Enable Content filter"] = "Включить фильтр содержимого"; -$a->strings["Comma separated list of keywords to hide"] = "ключевые слова, которые скрыть (список через запятую)"; -$a->strings["Use /expression/ to provide regular expressions"] = ""; -$a->strings["NSFW Settings saved."] = "NSFW Настройки сохранены."; -$a->strings["%s - Click to open/close"] = "%s - Нажмите для открытия / закрытия"; -$a->strings["Forums"] = "Форумы"; -$a->strings["Forums:"] = ""; -$a->strings["Page settings updated."] = ""; -$a->strings["Page Settings"] = ""; -$a->strings["How many forums to display on sidebar without paging"] = ""; -$a->strings["Randomise Page/Forum list"] = ""; -$a->strings["Show pages/forums on profile page"] = ""; -$a->strings["Planets Settings"] = ""; -$a->strings["Enable Planets Plugin"] = ""; -$a->strings["Login"] = "Вход"; -$a->strings["OpenID"] = "OpenID"; -$a->strings["Latest users"] = ""; -$a->strings["Most active users"] = "Самые активные пользователи"; -$a->strings["Latest photos"] = ""; -$a->strings["Latest likes"] = ""; -$a->strings["event"] = "мероприятие"; -$a->strings["No access"] = ""; -$a->strings["Could not open component for editing"] = ""; -$a->strings["Go back to the calendar"] = ""; -$a->strings["Event data"] = ""; -$a->strings["Calendar"] = ""; -$a->strings["Special color"] = ""; -$a->strings["Subject"] = ""; -$a->strings["Starts"] = ""; -$a->strings["Ends"] = ""; -$a->strings["Description"] = ""; -$a->strings["Recurrence"] = ""; -$a->strings["Frequency"] = ""; -$a->strings["Daily"] = "Ежедневно"; -$a->strings["Weekly"] = "Еженедельно"; -$a->strings["Monthly"] = "Ежемесячно"; -$a->strings["Yearly"] = ""; -$a->strings["days"] = "дней"; -$a->strings["weeks"] = "недель"; -$a->strings["months"] = "мес."; -$a->strings["years"] = "лет"; -$a->strings["Interval"] = ""; -$a->strings["All %select% %time%"] = ""; -$a->strings["Days"] = ""; -$a->strings["Sunday"] = "Воскресенье"; -$a->strings["Monday"] = "Понедельник"; -$a->strings["Tuesday"] = "Вторник"; -$a->strings["Wednesday"] = "Среда"; -$a->strings["Thursday"] = "Четверг"; -$a->strings["Friday"] = "Пятница"; -$a->strings["Saturday"] = "Суббота"; -$a->strings["First day of week:"] = ""; -$a->strings["Day of month"] = ""; -$a->strings["#num#th of each month"] = ""; -$a->strings["#num#th-last of each month"] = ""; -$a->strings["#num#th #wkday# of each month"] = ""; -$a->strings["#num#th-last #wkday# of each month"] = ""; -$a->strings["Month"] = ""; -$a->strings["#num#th of the given month"] = ""; -$a->strings["#num#th-last of the given month"] = ""; -$a->strings["#num#th #wkday# of the given month"] = ""; -$a->strings["#num#th-last #wkday# of the given month"] = ""; -$a->strings["Repeat until"] = ""; -$a->strings["Infinite"] = ""; -$a->strings["Until the following date"] = ""; -$a->strings["Number of times"] = ""; -$a->strings["Exceptions"] = ""; -$a->strings["none"] = ""; -$a->strings["Notification"] = ""; -$a->strings["Notify by"] = ""; -$a->strings["E-Mail"] = ""; -$a->strings["On Friendica / Display"] = ""; -$a->strings["Time"] = ""; -$a->strings["Hours"] = ""; -$a->strings["Minutes"] = ""; -$a->strings["Seconds"] = ""; -$a->strings["Weeks"] = ""; -$a->strings["before the"] = ""; -$a->strings["start of the event"] = ""; -$a->strings["end of the event"] = ""; -$a->strings["Add a notification"] = ""; -$a->strings["The event #name# will start at #date"] = ""; -$a->strings["#name# is about to begin."] = ""; -$a->strings["Saved"] = ""; -$a->strings["U.S. Time Format (mm/dd/YYYY)"] = ""; -$a->strings["German Time Format (dd.mm.YYYY)"] = ""; -$a->strings["Private Events"] = ""; -$a->strings["Private Addressbooks"] = ""; -$a->strings["Friendica-Native events"] = ""; -$a->strings["Friendica-Contacts"] = ""; -$a->strings["Your Friendica-Contacts"] = ""; -$a->strings["Something went wrong when trying to import the file. Sorry. Maybe some events were imported anyway."] = ""; -$a->strings["Something went wrong when trying to import the file. Sorry."] = ""; -$a->strings["The ICS-File has been imported."] = ""; -$a->strings["No file was uploaded."] = ""; -$a->strings["Import a ICS-file"] = ""; -$a->strings["ICS-File"] = ""; -$a->strings["Overwrite all #num# existing events"] = ""; -$a->strings["New event"] = ""; -$a->strings["Today"] = ""; -$a->strings["Day"] = ""; -$a->strings["Week"] = ""; -$a->strings["Reload"] = ""; -$a->strings["Date"] = ""; -$a->strings["Error"] = ""; -$a->strings["The calendar has been updated."] = ""; -$a->strings["The new calendar has been created."] = ""; -$a->strings["The calendar has been deleted."] = ""; -$a->strings["Calendar Settings"] = ""; -$a->strings["Date format"] = ""; -$a->strings["Time zone"] = ""; -$a->strings["Calendars"] = ""; -$a->strings["Create a new calendar"] = ""; -$a->strings["Limitations"] = ""; -$a->strings["Warning"] = ""; -$a->strings["Synchronization (iPhone, Thunderbird Lightning, Android, ...)"] = ""; -$a->strings["Synchronizing this calendar with the iPhone"] = ""; -$a->strings["Synchronizing your Friendica-Contacts with the iPhone"] = ""; -$a->strings["The current version of this plugin has not been set up correctly. Please contact the system administrator of your installation of friendica to fix this."] = ""; -$a->strings["Extended calendar with CalDAV-support"] = ""; -$a->strings["noreply"] = "без ответа"; -$a->strings["Notification: "] = ""; -$a->strings["The database tables have been installed."] = ""; -$a->strings["An error occurred during the installation."] = ""; -$a->strings["The database tables have been updated."] = ""; -$a->strings["An error occurred during the update."] = ""; -$a->strings["No system-wide settings yet."] = ""; -$a->strings["Database status"] = ""; -$a->strings["Installed"] = ""; -$a->strings["Upgrade needed"] = ""; -$a->strings["Please back up all calendar data (the tables beginning with dav_*) before proceeding. While all calendar events <i>should</i> be converted to the new database structure, it's always safe to have a backup. Below, you can have a look at the database-queries that will be made when pressing the 'update'-button."] = ""; -$a->strings["Upgrade"] = ""; -$a->strings["Not installed"] = ""; -$a->strings["Install"] = ""; -$a->strings["Unknown"] = ""; -$a->strings["Something really went wrong. I cannot recover from this state automatically, sorry. Please go to the database backend, back up the data, and delete all tables beginning with 'dav_' manually. Afterwards, this installation routine should be able to reinitialize the tables automatically."] = ""; -$a->strings["Troubleshooting"] = ""; -$a->strings["Manual creation of the database tables:"] = ""; -$a->strings["Show SQL-statements"] = ""; -$a->strings["Private Calendar"] = ""; -$a->strings["Friendica Events: Mine"] = ""; -$a->strings["Friendica Events: Contacts"] = ""; -$a->strings["Private Addresses"] = ""; -$a->strings["Friendica Contacts"] = ""; -$a->strings["Allow to use your friendica id (%s) to connecto to external unhosted-enabled storage (like ownCloud). See <a href=\"http://www.w3.org/community/unhosted/wiki/RemoteStorage#WebFinger\">RemoteStorage WebFinger</a>"] = ""; -$a->strings["Template URL (with {category})"] = ""; -$a->strings["OAuth end-point"] = ""; -$a->strings["Api"] = "Api"; -$a->strings["Member since:"] = "Зарегистрирован с:"; -$a->strings["Three Dimensional Tic-Tac-Toe"] = "Трехмерные крестики-нолики"; -$a->strings["3D Tic-Tac-Toe"] = "3D Tic-Tac-Toe"; -$a->strings["New game"] = "Новая игра"; -$a->strings["New game with handicap"] = "Новая игра с гандикапом"; -$a->strings["Three dimensional tic-tac-toe is just like the traditional game except that it is played on multiple levels simultaneously. "] = "Трехмерная игра в крестики-нолики точно такая же, как традиционная игра, за исключением того, что она играется на нескольких уровнях одновременно."; -$a->strings["In this case there are three levels. You win by getting three in a row on any level, as well as up, down, and diagonally across the different levels."] = "В этом случае существуют три уровня. Вы выиграете, поставив три в ряд на любом уровне, а также вверх, вниз и по диагонали на разных уровнях."; -$a->strings["The handicap game disables the center position on the middle level because the player claiming this square often has an unfair advantage."] = "Игра с гандикапом отключает центральное положение на среднем уровне, потому что игрок, занимающий эту площадь, часто имеет несправедливое преимущество."; -$a->strings["You go first..."] = "Вы хотите первым..."; -$a->strings["I'm going first this time..."] = "Я буду первым на этот раз..."; -$a->strings["You won!"] = "Вы выиграли!"; -$a->strings["\"Cat\" game!"] = "Игра \"Кошка\"!"; -$a->strings["I won!"] = "Я выиграл!"; -$a->strings["Randplace Settings"] = "Настройки Случайного места"; -$a->strings["Enable Randplace Plugin"] = "Включить Randplace плагин"; -$a->strings["Post to Dreamwidth"] = ""; -$a->strings["Dreamwidth Post Settings"] = "Dreamwidth настройки сообщений"; -$a->strings["Enable dreamwidth Post Plugin"] = "Включить dreamwidth плагин сообщений"; -$a->strings["dreamwidth username"] = "dreamwidth имя пользователя"; -$a->strings["dreamwidth password"] = "dreamwidth пароль"; -$a->strings["Post to dreamwidth by default"] = ""; -$a->strings["Post to Drupal"] = ""; -$a->strings["Drupal Post Settings"] = ""; -$a->strings["Enable Drupal Post Plugin"] = "Включить Drupal плагин сообщений"; -$a->strings["Drupal username"] = "Drupal имя пользователя"; -$a->strings["Drupal password"] = "Drupal пароль"; -$a->strings["Post Type - article,page,or blog"] = ""; -$a->strings["Drupal site URL"] = "Drupal site URL"; -$a->strings["Drupal site uses clean URLS"] = ""; -$a->strings["Post to Drupal by default"] = ""; -$a->strings["Post from Friendica"] = "Сообщение от Friendica"; -$a->strings["Startpage Settings"] = ""; -$a->strings["Home page to load after login - leave blank for profile wall"] = ""; -$a->strings["Examples: "network" or "notifications/system""] = ""; -$a->strings["Geonames settings updated."] = ""; -$a->strings["Geonames Settings"] = ""; -$a->strings["Enable Geonames Plugin"] = "Включить Geonames плагин"; -$a->strings["Your account on %s will expire in a few days."] = ""; -$a->strings["Your Friendica account is about to expire."] = ""; -$a->strings["Hi %1\$s,\n\nYour account on %2\$s will expire in less than five days. You may keep your account by logging in at least once every 30 days"] = ""; -$a->strings["Upload a file"] = "Загрузить файл"; -$a->strings["Drop files here to upload"] = "Перетащите файлы сюда для загрузки"; -$a->strings["Failed"] = "Ошибка"; -$a->strings["No files were uploaded."] = "Нет загруженных файлов."; -$a->strings["Uploaded file is empty"] = "Загруженный файл пустой"; -$a->strings["File has an invalid extension, it should be one of "] = "Файл имеет недопустимое расширение, оно должно быть одним из следующих "; -$a->strings["Upload was cancelled, or server error encountered"] = "Загрузка была отменена, или произошла ошибка сервера"; -$a->strings["OEmbed settings updated"] = "OEmbed настройки обновлены"; -$a->strings["Use OEmbed for YouTube videos"] = "Использовать OEmbed для видео YouTube"; -$a->strings["URL to embed:"] = "URL для встраивания:"; -$a->strings["show/hide"] = ""; -$a->strings["No forum subscriptions"] = ""; -$a->strings["Forumlist settings updated."] = ""; -$a->strings["Forumlist Settings"] = ""; -$a->strings["Randomise forum list"] = ""; -$a->strings["Show forums on profile page"] = ""; -$a->strings["Impressum"] = "Impressum"; -$a->strings["Site Owner"] = "Владелец сайта"; +$a->strings["Add a Channel"] = "Добавить канал"; +$a->strings["A channel is your own collection of related web pages. A channel can be used to hold social network profiles, blogs, conversation groups and forums, celebrity pages, and much more. You may create as many channels as your service provider allows."] = ""; +$a->strings["Channel Name"] = "Имя канала"; +$a->strings["Examples: \"Bob Jameson\", \"Lisa and her Horses\", \"Soccer\", \"Aviation Group\" "] = ""; +$a->strings["Choose a short nickname"] = ""; +$a->strings["Your nickname will be used to create an easily remembered channel address (like an email address) which you can share with others."] = ""; +$a->strings["Or <a href=\"import\">import an existing channel</a> from another location"] = ""; +$a->strings["Create"] = "Создать"; +$a->strings["No valid account found."] = ""; +$a->strings["Password reset request issued. Check your email."] = ""; +$a->strings["Site Member (%s)"] = ""; +$a->strings["Password reset requested at %s"] = ""; +$a->strings["Request could not be verified. (You may have previously submitted it.) Password reset failed."] = ""; +$a->strings["Password Reset"] = "Вбросить пароль"; +$a->strings["Your password has been reset as requested."] = ""; +$a->strings["Your new password is"] = "Ваш новый пароль"; +$a->strings["Save or copy your new password - and then"] = ""; +$a->strings["click here to login"] = "нажмите здесь чтобы выйти"; +$a->strings["Your password may be changed from the <em>Settings</em> page after successful login."] = ""; +$a->strings["Your password has changed at %s"] = "Пароль изменен на %s"; +$a->strings["Forgot your Password?"] = "Забыли пароль или логин?"; +$a->strings["Enter your email address and submit to have your password reset. Then check your email for further instructions."] = ""; $a->strings["Email Address"] = "Адрес электронной почты"; -$a->strings["Postal Address"] = "Почтовый адрес"; -$a->strings["The impressum addon needs to be configured!<br />Please add at least the <tt>owner</tt> variable to your config file. For other variables please refer to the README file of the addon."] = "Расширение Impressum должно быть настроено!<br /> Пожалуйста, добавьте по крайней мере переменную <tt>владельца</tt> в ваш конфигурационный файл. Описание других переменных можно найти в файле README для расширения."; -$a->strings["The page operators name."] = ""; -$a->strings["Site Owners Profile"] = "Профиль владельцев сайта"; -$a->strings["Profile address of the operator."] = ""; -$a->strings["How to contact the operator via snail mail. You can use BBCode here."] = ""; -$a->strings["Notes"] = "Заметки"; -$a->strings["Additional notes that are displayed beneath the contact information. You can use BBCode here."] = ""; -$a->strings["How to contact the operator via email. (will be displayed obfuscated)"] = ""; -$a->strings["Footer note"] = ""; -$a->strings["Text for the footer. You can use BBCode here."] = ""; -$a->strings["Report Bug"] = "Сообщить об ошибке"; -$a->strings["No Timeline settings updated."] = ""; -$a->strings["No Timeline Settings"] = ""; -$a->strings["Disable Archive selector on profile wall"] = ""; -$a->strings["\"Blockem\" Settings"] = "\"Blockem\" настройки"; -$a->strings["Comma separated profile URLS to block"] = "URLS, которые заблокировать (список через запятую)"; -$a->strings["BLOCKEM Settings saved."] = "BLOCKEM-Настройки сохранены."; -$a->strings["Blocked %s - Click to open/close"] = "Заблокированные %s - Нажмите, чтобы открыть/закрыть"; -$a->strings["Unblock Author"] = ""; -$a->strings["Block Author"] = "Блокировать Автора"; -$a->strings["blockem settings updated"] = "\"Blockem\" настройки обновлены"; -$a->strings[":-)"] = ":-)"; -$a->strings[":-("] = ":-("; -$a->strings["lol"] = "lol"; -$a->strings["Quick Comment Settings"] = ""; -$a->strings["Quick comments are found near comment boxes, sometimes hidden. Click them to provide simple replies."] = ""; -$a->strings["Enter quick comments, one per line"] = "Введите короткие комментарии, по одному в строке:"; -$a->strings["Quick Comment settings saved."] = ""; -$a->strings["Tile Server URL"] = ""; -$a->strings["A list of <a href=\"http://wiki.openstreetmap.org/wiki/TMS\" target=\"_blank\">public tile servers</a>"] = "Список <a href=\"http://wiki.openstreetmap.org/wiki/TMS\" target=\"_blank\">общедоступных серверов</a>"; -$a->strings["Default zoom"] = "zoom по умолчанию"; -$a->strings["The default zoom level. (1:world, 18:highest)"] = ""; -$a->strings["Editplain settings updated."] = "Editplain настройки обновлены."; -$a->strings["Group Text"] = ""; -$a->strings["Use a text only (non-image) group selector in the \"group edit\" menu"] = ""; -$a->strings["Could NOT install Libravatar successfully.<br>It requires PHP >= 5.3"] = ""; -$a->strings["generic profile image"] = ""; -$a->strings["random geometric pattern"] = ""; -$a->strings["monster face"] = ""; -$a->strings["computer generated face"] = ""; -$a->strings["retro arcade style face"] = ""; -$a->strings["Your PHP version %s is lower than the required PHP >= 5.3."] = ""; -$a->strings["This addon is not functional on your server."] = ""; -$a->strings["Information"] = ""; -$a->strings["Gravatar addon is installed. Please disable the Gravatar addon.<br>The Libravatar addon will fall back to Gravatar if nothing was found at Libravatar."] = ""; -$a->strings["Default avatar image"] = ""; -$a->strings["Select default avatar image if none was found. See README"] = ""; -$a->strings["Libravatar settings updated."] = ""; -$a->strings["Post to libertree"] = ""; -$a->strings["libertree Post Settings"] = ""; -$a->strings["Enable Libertree Post Plugin"] = ""; -$a->strings["Libertree API token"] = ""; -$a->strings["Libertree site URL"] = ""; -$a->strings["Post to Libertree by default"] = ""; -$a->strings["Altpager settings updated."] = ""; -$a->strings["Alternate Pagination Setting"] = ""; -$a->strings["Use links to \"newer\" and \"older\" pages in place of page numbers?"] = ""; -$a->strings["The MathJax addon renders mathematical formulae written using the LaTeX syntax surrounded by the usual $$ or an eqnarray block in the postings of your wall,network tab and private mail."] = ""; -$a->strings["Use the MathJax renderer"] = ""; -$a->strings["MathJax Base URL"] = ""; -$a->strings["The URL for the javascript file that should be included to use MathJax. Can be either the MathJax CDN or another installation of MathJax."] = ""; -$a->strings["Editplain Settings"] = "Editplain настройки"; -$a->strings["Disable richtext status editor"] = "Отключить richtext status editor"; -$a->strings["Libravatar addon is installed, too. Please disable Libravatar addon or this Gravatar addon.<br>The Libravatar addon will fall back to Gravatar if nothing was found at Libravatar."] = ""; -$a->strings["Select default avatar image if none was found at Gravatar. See README"] = ""; -$a->strings["Rating of images"] = ""; -$a->strings["Select the appropriate avatar rating for your site. See README"] = ""; -$a->strings["Gravatar settings updated."] = ""; -$a->strings["Your Friendica test account is about to expire."] = ""; -$a->strings["Hi %1\$s,\n\nYour test account on %2\$s will expire in less than five days. We hope you enjoyed this test drive and use this opportunity to find a permanent Friendica website for your integrated social communications. A list of public sites is available at http://dir.friendica.com/siteinfo - and for more information on setting up your own Friendica server please see the Friendica project website at http://friendica.com."] = ""; -$a->strings["\"pageheader\" Settings"] = ""; -$a->strings["pageheader Settings saved."] = ""; -$a->strings["Post to Insanejournal"] = ""; -$a->strings["InsaneJournal Post Settings"] = ""; -$a->strings["Enable InsaneJournal Post Plugin"] = "Включить InsaneJournal плагин сообщений"; -$a->strings["InsaneJournal username"] = ""; -$a->strings["InsaneJournal password"] = ""; -$a->strings["Post to InsaneJournal by default"] = ""; -$a->strings["Jappix Mini addon settings"] = ""; -$a->strings["Activate addon"] = ""; -$a->strings["Do <em>not</em> insert the Jappixmini Chat-Widget into the webinterface"] = ""; -$a->strings["Jabber username"] = ""; -$a->strings["Jabber server"] = ""; -$a->strings["Jabber BOSH host"] = ""; -$a->strings["Jabber password"] = ""; -$a->strings["Encrypt Jabber password with Friendica password (recommended)"] = ""; -$a->strings["Friendica password"] = ""; -$a->strings["Approve subscription requests from Friendica contacts automatically"] = ""; -$a->strings["Subscribe to Friendica contacts automatically"] = ""; -$a->strings["Purge internal list of jabber addresses of contacts"] = ""; -$a->strings["Add contact"] = ""; -$a->strings["View Source"] = "Просмотр HTML-кода"; -$a->strings["Post to StatusNet"] = "Отправить на StatusNet"; -$a->strings["Please contact your site administrator.<br />The provided API URL is not valid."] = "Пожалуйста, обратитесь к администратору сайта. <br /> Предложенный URL API недействителен."; -$a->strings["We could not contact the StatusNet API with the Path you entered."] = "Мы не смогли связаться с API StatusNet с маршрутом, который вы ввели."; -$a->strings["StatusNet settings updated."] = "Настройки StatusNet обновлены."; -$a->strings["StatusNet Posting Settings"] = "Настройка отправки сообщений на StatusNet"; -$a->strings["Globally Available StatusNet OAuthKeys"] = "Глобально доступные StatusNet OAuthKeys"; -$a->strings["There are preconfigured OAuth key pairs for some StatusNet servers available. If you are useing one of them, please use these credentials. If not feel free to connect to any other StatusNet instance (see below)."] = "Доступны предварительно сконфигурированные OAuth пары ключей для некоторых серверов StatusNet. Если вы используете один из них, пожалуйста, используйте эти учетные данные. Если нет, не стесняйтесь подключиться к любому другому экземпляру StatusNet (см. ниже)."; -$a->strings["Provide your own OAuth Credentials"] = "Укажите свои собственные полномочия OAuth"; -$a->strings["No consumer key pair for StatusNet found. Register your Friendica Account as an desktop client on your StatusNet account, copy the consumer key pair here and enter the API base root.<br />Before you register your own OAuth key pair ask the administrator if there is already a key pair for this Friendica installation at your favorited StatusNet installation."] = ""; -$a->strings["OAuth Consumer Key"] = "OAuth Consumer Key"; -$a->strings["OAuth Consumer Secret"] = "OAuth Consumer Secret"; -$a->strings["Base API Path (remember the trailing /)"] = "Путь базы API (помните о слеше /)"; -$a->strings["To connect to your StatusNet account click the button below to get a security code from StatusNet which you have to copy into the input box below and submit the form. Only your <strong>public</strong> posts will be posted to StatusNet."] = "Чтобы подключиться к StatusNet аккаунту, нажмите на кнопку ниже, чтобы получить код безопасности от StatusNet, который нужно скопировать в поле ввода ниже, и отправить форму. Только ваши <strong>публичные сообщения</strong> будут отправляться на StatusNet."; -$a->strings["Log in with StatusNet"] = "Войдите со StatusNet"; -$a->strings["Copy the security code from StatusNet here"] = "Скопируйте код безопасности от StatusNet здесь"; -$a->strings["Cancel Connection Process"] = "Отмена процесса подключения"; -$a->strings["Current StatusNet API is"] = "Текущим StatusNet API является"; -$a->strings["Cancel StatusNet Connection"] = "Отмена StatusNet подключения"; -$a->strings["Currently connected to: "] = "В настоящее время соединены с: "; -$a->strings["If enabled all your <strong>public</strong> postings can be posted to the associated StatusNet account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = "Если включено, то все ваши <strong>общественные сообщения</strong> могут быть отправлены на соответствующий аккаунт StatusNet. Вы можете сделать это по умолчанию (здесь) или для каждого сообщения отдельно при написании записи."; -$a->strings["<strong>Note</strong>: Due your privacy settings (<em>Hide your profile details from unknown viewers?</em>) the link potentially included in public postings relayed to StatusNet will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = ""; -$a->strings["Allow posting to StatusNet"] = "Разрешить отправку на StatusNet"; -$a->strings["Send public postings to StatusNet by default"] = "Отправлять публичные сообщения на StatusNet по умолчанию"; -$a->strings["Send linked #-tags and @-names to StatusNet"] = ""; -$a->strings["Clear OAuth configuration"] = "Очистить конфигурацию OAuth"; -$a->strings["API URL"] = "API URL"; -$a->strings["Infinite Improbability Drive"] = ""; -$a->strings["Post to Tumblr"] = "Написать в Tumblr"; -$a->strings["Tumblr Post Settings"] = "Tumblr Настройки сообщения"; -$a->strings["Enable Tumblr Post Plugin"] = "Включить Tumblr плагин сообщений"; -$a->strings["Tumblr login"] = "Tumblr вход"; -$a->strings["Tumblr password"] = "Tumblr пароль"; -$a->strings["Post to Tumblr by default"] = "Сообщение Tumblr по умолчанию"; -$a->strings["Numfriends settings updated."] = ""; -$a->strings["Numfriends Settings"] = ""; -$a->strings["Gnot settings updated."] = ""; -$a->strings["Gnot Settings"] = ""; -$a->strings["Allows threading of email comment notifications on Gmail and anonymising the subject line."] = ""; -$a->strings["Enable this plugin/addon?"] = "Включить этот плагин / аддон?"; -$a->strings["[Friendica:Notify] Comment to conversation #%d"] = ""; -$a->strings["Post to Wordpress"] = "Сообщение для Wordpress"; -$a->strings["WordPress Post Settings"] = "Настройки сообщений для Wordpress"; -$a->strings["Enable WordPress Post Plugin"] = "Включить WordPress плагин сообщений"; -$a->strings["WordPress username"] = "WordPress Имя пользователя"; -$a->strings["WordPress password"] = "WordPress паролъ"; -$a->strings["WordPress API URL"] = "WordPress API URL"; -$a->strings["Post to WordPress by default"] = "Сообщение WordPress по умолчанию"; -$a->strings["Provide a backlink to the Friendica post"] = ""; -$a->strings["Read the original post and comment stream on Friendica"] = ""; -$a->strings["\"Show more\" Settings"] = ""; -$a->strings["Enable Show More"] = "Включить Показать больше"; -$a->strings["Cutting posts after how much characters"] = "Обрезание сообщения после превывения числа символов"; -$a->strings["Show More Settings saved."] = ""; -$a->strings["This website is tracked using the <a href='http://www.piwik.org'>Piwik</a> analytics tool."] = "Этот веб-сайт отслеживается с помощью <a href='http://www.piwik.org'> Piwik </ a> инструмент аналитики."; -$a->strings["If you do not want that your visits are logged this way you <a href='%s'>can set a cookie to prevent Piwik from tracking further visits of the site</a> (opt-out)."] = "Если вы не хотите, чтобы ваши посещения записывались таким образом, вы <a href='%s'> можете установить куки для предотвращения отслеживания Piwik от дальнейших посещений сайта </a> (opt-out)."; -$a->strings["Piwik Base URL"] = "Piwik основной URL"; -$a->strings["Absolute path to your Piwik installation. (without protocol (http/s), with trailing slash)"] = ""; -$a->strings["Site ID"] = "ID сайта"; -$a->strings["Show opt-out cookie link?"] = "Показать ссылку opt-out cookie?"; -$a->strings["Asynchronous tracking"] = "Асинхронное отслеживание"; -$a->strings["Post to Twitter"] = "Отправить в Твиттер"; -$a->strings["Twitter settings updated."] = "Настройки Твиттера обновлены."; -$a->strings["Twitter Posting Settings"] = "Настройка отправки сообщений в Твиттер"; -$a->strings["No consumer key pair for Twitter found. Please contact your site administrator."] = "Не найдено пары потребительских ключей для Твиттера. Пожалуйста, обратитесь к администратору сайта."; -$a->strings["At this Friendica instance the Twitter plugin was enabled but you have not yet connected your account to your Twitter account. To do so click the button below to get a PIN from Twitter which you have to copy into the input box below and submit the form. Only your <strong>public</strong> posts will be posted to Twitter."] = ""; -$a->strings["Log in with Twitter"] = "Войдите с Твиттером"; -$a->strings["Copy the PIN from Twitter here"] = "Скопируйте PIN с Twitter здесь"; -$a->strings["If enabled all your <strong>public</strong> postings can be posted to the associated Twitter account. You can choose to do so by default (here) or for every posting separately in the posting options when writing the entry."] = "Если включено, то все ваши <strong>общественные сообщения</strong> могут быть отправлены на связанный аккаунт Твиттер. Вы можете сделать это по умолчанию (здесь) или для каждого сообщения отдельно при написании записи."; -$a->strings["<strong>Note</strong>: Due your privacy settings (<em>Hide your profile details from unknown viewers?</em>) the link potentially included in public postings relayed to Twitter will lead the visitor to a blank page informing the visitor that the access to your profile has been restricted."] = ""; -$a->strings["Allow posting to Twitter"] = "Разрешить отправку сообщений на Twitter"; -$a->strings["Send public postings to Twitter by default"] = "Отправлять сообщения для всех на Твиттер по умолчанию"; -$a->strings["Send linked #-tags and @-names to Twitter"] = ""; -$a->strings["Consumer key"] = "Consumer key"; -$a->strings["Consumer secret"] = "Consumer secret"; -$a->strings["IRC Settings"] = ""; -$a->strings["Channel(s) to auto connect (comma separated)"] = ""; -$a->strings["Popular Channels (comma separated)"] = ""; -$a->strings["IRC settings saved."] = ""; -$a->strings["IRC Chatroom"] = ""; -$a->strings["Popular Channels"] = ""; -$a->strings["Fromapp settings updated."] = ""; -$a->strings["FromApp Settings"] = ""; -$a->strings["The application name you would like to show your posts originating from."] = ""; -$a->strings["Use this application name even if another application was used."] = ""; -$a->strings["Post to blogger"] = ""; -$a->strings["Blogger Post Settings"] = ""; -$a->strings["Enable Blogger Post Plugin"] = ""; -$a->strings["Blogger username"] = ""; -$a->strings["Blogger password"] = ""; -$a->strings["Blogger API URL"] = ""; -$a->strings["Post to Blogger by default"] = ""; -$a->strings["Post to Posterous"] = ""; -$a->strings["Posterous Post Settings"] = ""; -$a->strings["Enable Posterous Post Plugin"] = "Включить Posterous плагин сообщений"; -$a->strings["Posterous login"] = ""; -$a->strings["Posterous password"] = ""; -$a->strings["Posterous site ID"] = ""; -$a->strings["Posterous API token"] = ""; -$a->strings["Post to Posterous by default"] = ""; -$a->strings["Theme settings"] = ""; -$a->strings["Set resize level for images in posts and comments (width and height)"] = ""; +$a->strings["Reset"] = "Сброс"; +$a->strings["Nothing to import."] = "Ничего импортировать."; +$a->strings["Unable to download data from old server"] = "Невозможно загрузить данные из старого сервера"; +$a->strings["Imported file is empty."] = "Импортированный файл пуст."; +$a->strings["Cannot create a duplicate channel identifier on this system. Import failed."] = ""; +$a->strings["Channel clone failed. Import failed."] = ""; +$a->strings["Cloned channel not found. Import failed."] = ""; +$a->strings["Import completed."] = "Импорт завершен."; +$a->strings["You must be logged in to use this feature."] = "Вы должны войти в систему, чтобы использовать эту функцию."; +$a->strings["Import Channel"] = "Импорт канала"; +$a->strings["Use this form to import an existing channel from a different server/hub. You may retrieve the channel identity from the old server/hub via the network or provide an export file. Only identity and connections/relationships will be imported. Importation of content is not yet available."] = ""; +$a->strings["File to Upload"] = "Файл для загрузки"; +$a->strings["Or provide the old server/hub details"] = ""; +$a->strings["Your old identity address (xyz@example.com)"] = ""; +$a->strings["Your old login email address"] = ""; +$a->strings["Your old login password"] = ""; +$a->strings["For either option, please choose whether to make this hub your new primary address, or whether your old location should continue this role. You will be able to post from either location, but only one can be marked as the primary location for files, photos, and media."] = ""; +$a->strings["Make this hub my primary location"] = ""; +$a->strings["Create a new channel"] = "Создать новый канал"; +$a->strings["Channel Manager"] = "Настройки канала"; +$a->strings["Current Channel"] = "Текущий канал"; +$a->strings["Attach to one of your channels by selecting it."] = ""; +$a->strings["Default Channel"] = "Канал по умолчанию"; +$a->strings["Make Default"] = "Сделать стандартным"; +$a->strings["Profile Match"] = ""; +$a->strings["No keywords to match. Please add keywords to your default profile."] = ""; +$a->strings["is interested in:"] = "заинтересован в:"; +$a->strings["Contact settings applied."] = ""; +$a->strings["Contact update failed."] = "Ошибка обновления контакта."; +$a->strings["Contact not found."] = "Контакт не найден."; +$a->strings["Repair Contact Settings"] = "Починить настройки контакта"; +$a->strings["<strong>WARNING: This is highly advanced</strong> and if you enter incorrect information your communications with this contact may stop working."] = ""; +$a->strings["Please use your browser 'Back' button <strong>now</strong> if you are uncertain what to do on this page."] = ""; +$a->strings["Return to contact editor"] = "Вернуться к редактору контакта"; +$a->strings["Account Nickname"] = "Псевдоним аккаунта"; +$a->strings["@Tagname - overrides Name/Nickname"] = ""; +$a->strings["Account URL"] = "URL аккаунта"; +$a->strings["Friend Request URL"] = ""; +$a->strings["Friend Confirm URL"] = ""; +$a->strings["Notification Endpoint URL"] = ""; +$a->strings["Poll/Feed URL"] = ""; +$a->strings["New photo from this URL"] = "Новое фото из этого URL"; +$a->strings["invalid target signature"] = ""; +$a->strings["Channel added."] = "Канал добавлен."; +$a->strings["Contacts who are not members of a group"] = ""; +$a->strings["Image uploaded but image cropping failed."] = ""; +$a->strings["Image resize failed."] = "Изменение размера изображения не удалось."; +$a->strings["Shift-reload the page or clear browser cache if the new photo does not display immediately."] = ""; +$a->strings["Image exceeds size limit of %d"] = ""; +$a->strings["Unable to process image."] = ""; +$a->strings["Photo not available."] = "Фотография не доступна."; +$a->strings["Upload File:"] = "Загрузить файл:"; +$a->strings["Select a profile:"] = "Выберите профиль:"; +$a->strings["Upload Profile Photo"] = "Загрузить фотографию профиля"; +$a->strings["Upload"] = "Загрузка"; +$a->strings["skip this step"] = "пропустить этот шаг"; +$a->strings["select a photo from your photo albums"] = ""; +$a->strings["Crop Image"] = "Обрезать изображение"; +$a->strings["Please adjust the image cropping for optimum viewing."] = ""; +$a->strings["Done Editing"] = "Закончить редактирование"; +$a->strings["Image uploaded successfully."] = "Загрузка изображениея прошла успешно."; +$a->strings["Image upload failed."] = "Загрузка изображениея прошла безуспешно."; +$a->strings["Image size reduction [%s] failed."] = ""; +$a->strings["Item not found"] = "Элемент не найден"; +$a->strings["Edit post"] = "Редактировать сообщение"; +$a->strings["Insert YouTube video"] = "Вставить YouTube видео"; +$a->strings["Insert Vorbis [.ogg] video"] = "Вставить Vorbis [.ogg] видео"; +$a->strings["Insert Vorbis [.ogg] audio"] = "Вставить Vorbis [.ogg] музыку"; +$a->strings["Invalid request identifier."] = ""; +$a->strings["System"] = "Система"; +$a->strings["Introductions"] = "Введения"; +$a->strings["Show Ignored Requests"] = "Показать проигнорированные запросы"; +$a->strings["Hide Ignored Requests"] = "Скрыть проигнорированные запросы"; +$a->strings["Notification type: "] = "Тип уведомления:"; +$a->strings["Friend Suggestion"] = ""; +$a->strings["suggested by %s"] = ""; +$a->strings["Claims to be known to you: "] = ""; +$a->strings["yes"] = "да"; +$a->strings["no"] = "нет"; +$a->strings["Approve as: "] = "Утвердить в качестве:"; +$a->strings["Friend"] = "Друг"; +$a->strings["Sharer"] = ""; +$a->strings["Fan/Admirer"] = "Поклонник"; +$a->strings["Friend/Connect Request"] = ""; +$a->strings["New Follower"] = "Новый последователь"; +$a->strings["No introductions."] = "Введений нет."; +$a->strings["%s liked %s's post"] = "%s нравится %s's сообщение"; +$a->strings["%s disliked %s's post"] = "%s не нравится %s's сообщение"; +$a->strings["%s is now friends with %s"] = "%s теперь в друзьях с %s"; +$a->strings["%s created a new post"] = "%s создал новое сообщение"; +$a->strings["%s commented on %s's post"] = "%s прокомментировал %s's сообщение"; +$a->strings["No more network notifications."] = "Больше никаких уведомлений сети."; +$a->strings["Network Notifications"] = "Уведомления сети"; +$a->strings["No more system notifications."] = "Больше никаких уведомлений системы."; +$a->strings["System Notifications"] = "Системные оповещения "; +$a->strings["No more personal notifications."] = "Больше никаких личных уведомлений."; +$a->strings["Personal Notifications"] = "Личные оповещения "; +$a->strings["No more home notifications."] = "Больше никаких домашних уведомлений."; +$a->strings["Home Notifications"] = "Домашние уведомления"; +$a->strings["Post successful."] = "Публикация прошла успешно."; +$a->strings["Item is not editable"] = "Элемент нельзя редактировать"; +$a->strings["Access to this profile has been restricted."] = "Доступ к этому профилю ограничен."; +$a->strings["Poke/Prod"] = ""; +$a->strings["poke, prod or do other things to somebody"] = ""; +$a->strings["Recipient"] = "Получатель"; +$a->strings["Choose what you wish to do to recipient"] = ""; +$a->strings["Make this post private"] = "Сделать это сообщение личным"; +$a->strings["Not available."] = "Недоступно."; +$a->strings["Community"] = "Сообщество"; +$a->strings["No results."] = "Ничего не найдено."; +$a->strings["Files"] = "Файлы"; +$a->strings["Friend suggestion sent."] = ""; +$a->strings["Suggest Friends"] = "Пригласить друзей"; +$a->strings["Suggest a friend for %s"] = ""; +$a->strings["Invalid profile identifier."] = ""; +$a->strings["Profile Visibility Editor"] = "Редактор видимости профиля"; +$a->strings["Click on a contact to add or remove."] = ""; +$a->strings["Visible To"] = "Видно"; +$a->strings["All Contacts (with secure profile access)"] = "Все контакты (с доступом защищенному профилю)"; +$a->strings["Version %s"] = "Версия %s"; +$a->strings["Installed plugins/addons/apps:"] = ""; +$a->strings["No installed plugins/addons/apps"] = ""; +$a->strings["Red"] = "Red"; +$a->strings["This is Red - another decentralized, distributed communications project by the folks at Friendica."] = ""; +$a->strings["Running at web location"] = ""; +$a->strings["Please visit <a href=\"http://friendica.com\">Friendica.com</a> to learn more about the Friendica and/or Red project."] = ""; +$a->strings["Bug reports and issues: please visit"] = ""; +$a->strings["Suggestions, praise, donations, etc. - please email \"Info\" at Friendica - dot com"] = ""; +$a->strings["No suggestions available. If this is a new site, please try again in 24 hours."] = ""; +$a->strings["Ignore/Hide"] = "Игнорировать / Скрыть"; +$a->strings["Maximum daily site registrations exceeded. Please try again tomorrow."] = ""; +$a->strings["Please indicate acceptance of the Terms of Service. Registration failed."] = ""; +$a->strings["Registration successful. Please check your email for validation instructions."] = ""; +$a->strings["Your registration is pending approval by the site owner."] = ""; +$a->strings["Your registration can not be processed."] = ""; +$a->strings["This site has exceeded the number of allowed daily account registrations. Please try again tomorrow."] = ""; +$a->strings["Terms of Service"] = ""; +$a->strings["I accept the %s for this website"] = ""; +$a->strings["I am over 13 years of age and accept the %s for this website"] = ""; +$a->strings["Membership on this site is by invitation only."] = ""; +$a->strings["Please enter your invitation code"] = ""; +$a->strings["Your email address"] = "Ваш адрес электронной почты"; +$a->strings["Choose a password"] = "Выберите пароль"; +$a->strings["Please re-enter your password"] = ""; +$a->strings["Please login."] = "Войдите пожалуйста."; +$a->strings["Remove My Account"] = "Удалить мой аккаунт"; +$a->strings["This will completely remove your account. Once this has been done it is not recoverable."] = ""; +$a->strings["Please enter your password for verification:"] = ""; +$a->strings["Mood"] = ""; +$a->strings["Set your current mood and tell your friends"] = ""; +$a->strings["Theme settings"] = "Настройки темы"; $a->strings["Set font-size for posts and comments"] = ""; -$a->strings["Set theme width"] = ""; -$a->strings["Color scheme"] = "Цветовая схема"; -$a->strings["Your posts and conversations"] = "Ваши сообщения и беседы"; -$a->strings["Your profile page"] = "Страница Вашего профиля"; -$a->strings["Your contacts"] = "Ваши контакты"; -$a->strings["Your photos"] = "Ваши фотографии"; -$a->strings["Your events"] = "Ваши события"; -$a->strings["Personal notes"] = "Личные заметки"; -$a->strings["Your personal photos"] = "Ваши личные фотографии"; -$a->strings["Community Pages"] = "Страницы сообщества"; -$a->strings["Community Profiles"] = ""; -$a->strings["Last users"] = "Последние пользователи"; -$a->strings["Last likes"] = "Последние likes"; -$a->strings["Last photos"] = "Последние фото"; -$a->strings["Find Friends"] = "Найти друзей"; -$a->strings["Local Directory"] = ""; -$a->strings["Similar Interests"] = "Похожие интересы"; -$a->strings["Invite Friends"] = "Пригласить друзей"; -$a->strings["Earth Layers"] = ""; -$a->strings["Set zoomfactor for Earth Layers"] = ""; -$a->strings["Set longitude (X) for Earth Layers"] = ""; -$a->strings["Set latitude (Y) for Earth Layers"] = ""; -$a->strings["Help or @NewHere ?"] = ""; -$a->strings["Connect Services"] = "Подключить службы"; -$a->strings["Last Tweets"] = ""; -$a->strings["Set twitter search term"] = ""; -$a->strings["don't show"] = "не показывать"; -$a->strings["show"] = "показывать"; -$a->strings["Show/hide boxes at right-hand column:"] = ""; $a->strings["Set line-height for posts and comments"] = ""; -$a->strings["Set resolution for middle column"] = ""; -$a->strings["Set color scheme"] = ""; -$a->strings["Set zoomfactor for Earth Layer"] = ""; -$a->strings["Last tweets"] = ""; -$a->strings["Alignment"] = "Выравнивание"; -$a->strings["Left"] = ""; -$a->strings["Center"] = "Центр"; $a->strings["Set colour scheme"] = ""; -$a->strings["j F, Y"] = "j F, Y"; -$a->strings["j F"] = "j F"; -$a->strings["Birthday:"] = "День рождения:"; -$a->strings["Age:"] = "Возраст:"; -$a->strings["for %1\$d %2\$s"] = ""; -$a->strings["Tags:"] = ""; -$a->strings["Religion:"] = "Религия:"; -$a->strings["Hobbies/Interests:"] = "Хобби / Интересы:"; -$a->strings["Contact information and Social Networks:"] = "Информация о контакте и социальных сетях:"; -$a->strings["Musical interests:"] = "Музыкальные интересы:"; -$a->strings["Books, literature:"] = "Книги, литература:"; -$a->strings["Television:"] = "Телевидение:"; -$a->strings["Film/dance/culture/entertainment:"] = "Кино / Танцы / Культура / Развлечения:"; -$a->strings["Love/Romance:"] = "Любовь / Романтика:"; -$a->strings["Work/employment:"] = "Работа / Занятость:"; -$a->strings["School/education:"] = "Школа / Образование:"; -$a->strings["Unknown | Not categorised"] = "Неизвестно | Не определено"; -$a->strings["Block immediately"] = "Блокировать немедленно"; -$a->strings["Shady, spammer, self-marketer"] = "Тролль, спаммер, рассылает рекламу"; -$a->strings["Known to me, but no opinion"] = "Известные мне, но нет определенного мнения"; -$a->strings["OK, probably harmless"] = "Хорошо, наверное, безвредные"; -$a->strings["Reputable, has my trust"] = "Уважаемые, есть мое доверие"; -$a->strings["Frequently"] = "Часто"; -$a->strings["Hourly"] = "Раз в час"; -$a->strings["Twice daily"] = "Два раза в день"; -$a->strings["OStatus"] = "OStatus"; -$a->strings["RSS/Atom"] = "RSS/Atom"; -$a->strings["Zot!"] = "Zot!"; -$a->strings["LinkedIn"] = "LinkedIn"; -$a->strings["XMPP/IM"] = "XMPP/IM"; -$a->strings["MySpace"] = "MySpace"; -$a->strings["Male"] = "Мужчина"; -$a->strings["Female"] = "Женщина"; -$a->strings["Currently Male"] = "В данный момент мужчина"; -$a->strings["Currently Female"] = "В настоящее время женщина"; -$a->strings["Mostly Male"] = "В основном мужчина"; -$a->strings["Mostly Female"] = "В основном женщина"; -$a->strings["Transgender"] = "Транссексуал"; -$a->strings["Intersex"] = "Интерсексуал"; -$a->strings["Transsexual"] = "Транссексуал"; -$a->strings["Hermaphrodite"] = "Гермафродит"; -$a->strings["Neuter"] = "Средний род"; -$a->strings["Non-specific"] = "Не определен"; -$a->strings["Other"] = "Другой"; -$a->strings["Undecided"] = "Не решено"; -$a->strings["Males"] = "Мужчины"; -$a->strings["Females"] = "Женщины"; -$a->strings["Gay"] = "Гей"; -$a->strings["Lesbian"] = "Лесбиянка"; -$a->strings["No Preference"] = "Без предпочтений"; -$a->strings["Bisexual"] = "Бисексуал"; -$a->strings["Autosexual"] = "Автосексуал"; -$a->strings["Abstinent"] = "Воздержанный"; -$a->strings["Virgin"] = "Девственница"; -$a->strings["Deviant"] = "Deviant"; -$a->strings["Fetish"] = "Фетиш"; -$a->strings["Oodles"] = "Групповой"; -$a->strings["Nonsexual"] = "Нет интереса к сексу"; -$a->strings["Single"] = "Без пары"; -$a->strings["Lonely"] = "Пока никого нет"; -$a->strings["Available"] = "Доступный"; -$a->strings["Unavailable"] = "Не ищу никого"; -$a->strings["Has crush"] = ""; -$a->strings["Infatuated"] = ""; -$a->strings["Dating"] = "Свидания"; -$a->strings["Unfaithful"] = "Изменяю супругу"; -$a->strings["Sex Addict"] = "Люблю секс"; -$a->strings["Friends"] = "Друзья"; -$a->strings["Friends/Benefits"] = "Друзья / Предпочтения"; -$a->strings["Casual"] = "Обычный"; -$a->strings["Engaged"] = "Занят"; -$a->strings["Married"] = "Женат / Замужем"; -$a->strings["Imaginarily married"] = ""; -$a->strings["Partners"] = "Партнеры"; -$a->strings["Cohabiting"] = "Партнерство"; -$a->strings["Common law"] = ""; -$a->strings["Happy"] = "Счастлив/а/"; -$a->strings["Not looking"] = ""; -$a->strings["Swinger"] = "Свинг"; -$a->strings["Betrayed"] = "Преданный"; -$a->strings["Separated"] = "Разделенный"; -$a->strings["Unstable"] = "Нестабильный"; -$a->strings["Divorced"] = "Разведен(а)"; -$a->strings["Imaginarily divorced"] = ""; -$a->strings["Widowed"] = "Овдовевший"; -$a->strings["Uncertain"] = "Неопределенный"; -$a->strings["It's complicated"] = ""; -$a->strings["Don't care"] = "Не беспокоить"; -$a->strings["Ask me"] = "Спросите меня"; -$a->strings["Starts:"] = "Начало:"; -$a->strings["Finishes:"] = "Окончание:"; -$a->strings["(no subject)"] = "(без темы)"; -$a->strings[" on Last.fm"] = ""; -$a->strings["prev"] = "пред."; -$a->strings["first"] = "первый"; -$a->strings["last"] = "последний"; -$a->strings["next"] = "след."; -$a->strings["newer"] = ""; -$a->strings["older"] = ""; -$a->strings["No contacts"] = "Нет контактов"; -$a->strings["%d Contact"] = array( - 0 => "%d контакт", - 1 => "%d контактов", - 2 => "%d контактов", -); -$a->strings["poke"] = ""; -$a->strings["poked"] = ""; -$a->strings["ping"] = ""; -$a->strings["pinged"] = ""; -$a->strings["prod"] = ""; -$a->strings["prodded"] = ""; -$a->strings["slap"] = ""; -$a->strings["slapped"] = ""; -$a->strings["finger"] = ""; -$a->strings["fingered"] = ""; -$a->strings["rebuff"] = ""; -$a->strings["rebuffed"] = ""; -$a->strings["happy"] = ""; -$a->strings["sad"] = ""; -$a->strings["mellow"] = ""; -$a->strings["tired"] = ""; -$a->strings["perky"] = ""; -$a->strings["angry"] = ""; -$a->strings["stupified"] = ""; -$a->strings["puzzled"] = ""; -$a->strings["interested"] = ""; -$a->strings["bitter"] = ""; -$a->strings["cheerful"] = ""; -$a->strings["alive"] = ""; -$a->strings["annoyed"] = ""; -$a->strings["anxious"] = ""; -$a->strings["cranky"] = ""; -$a->strings["disturbed"] = ""; -$a->strings["frustrated"] = ""; -$a->strings["motivated"] = ""; -$a->strings["relaxed"] = ""; -$a->strings["surprised"] = ""; -$a->strings["January"] = "Январь"; -$a->strings["February"] = "Февраль"; -$a->strings["March"] = "Март"; -$a->strings["April"] = "Апрель"; -$a->strings["May"] = "Май"; -$a->strings["June"] = "Июнь"; -$a->strings["July"] = "Июль"; -$a->strings["August"] = "Август"; -$a->strings["September"] = "Сентябрь"; -$a->strings["October"] = "Октябрь"; -$a->strings["November"] = "Ноябрь"; -$a->strings["December"] = "Декабрь"; -$a->strings["bytes"] = "байт"; -$a->strings["Click to open/close"] = "Нажмите, чтобы открыть / закрыть"; -$a->strings["default"] = "значение по умолчанию"; -$a->strings["Select an alternate language"] = "Выбор альтернативного языка"; -$a->strings["activity"] = "активность"; -$a->strings["post"] = ""; -$a->strings["Item filed"] = ""; -$a->strings["Sharing notification from Diaspora network"] = "Делиться уведомлениями из сети Diaspora"; -$a->strings["Attachments:"] = "Вложения:"; -$a->strings["view full size"] = "посмотреть в полный размер"; -$a->strings["Embedded content"] = "Встроенное содержание"; -$a->strings["Embedding disabled"] = "Встраивание отключено"; -$a->strings["A deleted group with this name was revived. Existing item permissions <strong>may</strong> apply to this group and any future members. If this is not what you intended, please create another group with a different name."] = ""; -$a->strings["Default privacy group for new contacts"] = ""; -$a->strings["Everybody"] = "Каждый"; -$a->strings["edit"] = "редактировать"; -$a->strings["Edit group"] = "Редактировать группу"; -$a->strings["Create a new group"] = "Создать новую группу"; -$a->strings["Contacts not in any group"] = ""; -$a->strings["Logout"] = "Выход"; -$a->strings["End this session"] = "Конец этой сессии"; -$a->strings["Status"] = "Статус"; -$a->strings["Sign in"] = "Вход"; -$a->strings["Home Page"] = "Главная страница"; -$a->strings["Create an account"] = "Создать аккаунт"; -$a->strings["Help and documentation"] = "Помощь и документация"; -$a->strings["Apps"] = "Приложения"; -$a->strings["Addon applications, utilities, games"] = "Дополнительные приложения, утилиты, игры"; -$a->strings["Search site content"] = "Поиск по сайту"; -$a->strings["Conversations on this site"] = "Беседы на этом сайте"; -$a->strings["Directory"] = "Каталог"; -$a->strings["People directory"] = "Каталог участников"; -$a->strings["Conversations from your friends"] = "Беседы с друзьями"; -$a->strings["Friend Requests"] = "Запросы на добавление в список друзей"; -$a->strings["See all notifications"] = "Посмотреть все уведомления"; -$a->strings["Mark all system notifications seen"] = ""; -$a->strings["Private mail"] = "Личная почта"; -$a->strings["Inbox"] = "Входящие"; -$a->strings["Outbox"] = "Исходящие"; -$a->strings["Manage"] = "Управлять"; -$a->strings["Manage other pages"] = "Управление другими страницами"; -$a->strings["Profiles"] = "Профили"; -$a->strings["Manage/edit profiles"] = "Управление / редактирование профилей"; -$a->strings["Manage/edit friends and contacts"] = "Управление / редактирование друзей и контактов"; -$a->strings["Site setup and configuration"] = "Установка и конфигурация сайта"; -$a->strings["Nothing new here"] = "Ничего нового здесь"; -$a->strings["Add New Contact"] = "Добавить контакт"; -$a->strings["Enter address or web location"] = "Введите адрес или веб-местонахождение"; -$a->strings["Example: bob@example.com, http://example.com/barbara"] = "Пример: bob@example.com, http://example.com/barbara"; -$a->strings["%d invitation available"] = array( - 0 => "%d приглашение доступно", - 1 => "%d приглашений доступно", - 2 => "%d приглашений доступно", -); -$a->strings["Find People"] = "Поиск людей"; -$a->strings["Enter name or interest"] = "Введите имя или интерес"; -$a->strings["Connect/Follow"] = "Подключиться/Следовать"; -$a->strings["Examples: Robert Morgenstein, Fishing"] = "Примеры: Роберт Morgenstein, Рыбалка"; -$a->strings["Random Profile"] = ""; -$a->strings["Networks"] = "Сети"; -$a->strings["All Networks"] = "Все сети"; -$a->strings["Saved Folders"] = ""; -$a->strings["Everything"] = "Всё"; -$a->strings["Categories"] = "Категории"; -$a->strings["Logged out."] = "Выход из системы."; -$a->strings["We encountered a problem while logging in with the OpenID you provided. Please check the correct spelling of the ID."] = ""; -$a->strings["The error message was:"] = ""; -$a->strings["Miscellaneous"] = "Разное"; -$a->strings["year"] = "год"; -$a->strings["month"] = "мес."; -$a->strings["day"] = "день"; -$a->strings["never"] = "никогда"; -$a->strings["less than a second ago"] = "менее сек. назад"; -$a->strings["week"] = "неделя"; -$a->strings["hour"] = "час"; -$a->strings["hours"] = "час."; -$a->strings["minute"] = "минута"; -$a->strings["minutes"] = "мин."; -$a->strings["second"] = "секунда"; -$a->strings["seconds"] = "сек."; -$a->strings["%1\$d %2\$s ago"] = "%1\$d %2\$s назад"; -$a->strings["%s's birthday"] = ""; -$a->strings["Happy Birthday %s"] = ""; -$a->strings["From: "] = "От: "; -$a->strings["Image/photo"] = "Изображение / Фото"; -$a->strings["$1 wrote:"] = "$1 написал:"; -$a->strings["Encrypted content"] = ""; -$a->strings["Cannot locate DNS info for database server '%s'"] = "Не могу найти информацию для DNS-сервера базы данных '%s'"; -$a->strings["[no subject]"] = "[без темы]"; -$a->strings["Visible to everybody"] = "Видимо всем"; -$a->strings["Friendica Notification"] = "Friendica уведомления"; -$a->strings["Thank You,"] = "Спасибо,"; -$a->strings["%s Administrator"] = "%s администратор"; -$a->strings["%s <!item_type!>"] = ""; -$a->strings["[Friendica:Notify] New mail received at %s"] = ""; -$a->strings["%1\$s sent you a new private message at %2\$s."] = ""; -$a->strings["%1\$s sent you %2\$s."] = ""; -$a->strings["a private message"] = "личное сообщение"; -$a->strings["Please visit %s to view and/or reply to your private messages."] = ""; -$a->strings["%1\$s commented on [url=%2\$s]a %3\$s[/url]"] = ""; -$a->strings["%1\$s commented on [url=%2\$s]%3\$s's %4\$s[/url]"] = ""; -$a->strings["%1\$s commented on [url=%2\$s]your %3\$s[/url]"] = ""; -$a->strings["[Friendica:Notify] Comment to conversation #%1\$d by %2\$s"] = ""; -$a->strings["%s commented on an item/conversation you have been following."] = ""; -$a->strings["Please visit %s to view and/or reply to the conversation."] = ""; -$a->strings["[Friendica:Notify] %s posted to your profile wall"] = ""; -$a->strings["%1\$s posted to your profile wall at %2\$s"] = ""; -$a->strings["%1\$s posted to [url=%2\$s]your wall[/url]"] = ""; -$a->strings["[Friendica:Notify] %s tagged you"] = ""; -$a->strings["%1\$s tagged you at %2\$s"] = ""; -$a->strings["%1\$s [url=%2\$s]tagged you[/url]."] = ""; -$a->strings["[Friendica:Notify] %1\$s poked you"] = ""; -$a->strings["%1\$s poked you at %2\$s"] = ""; -$a->strings["%1\$s [url=%2\$s]poked you[/url]."] = ""; -$a->strings["[Friendica:Notify] %s tagged your post"] = ""; -$a->strings["%1\$s tagged your post at %2\$s"] = ""; -$a->strings["%1\$s tagged [url=%2\$s]your post[/url]"] = ""; -$a->strings["[Friendica:Notify] Introduction received"] = "[Friendica:Сообщение] получен запрос"; -$a->strings["You've received an introduction from '%1\$s' at %2\$s"] = ""; -$a->strings["You've received [url=%1\$s]an introduction[/url] from %2\$s."] = ""; -$a->strings["You may visit their profile at %s"] = ""; -$a->strings["Please visit %s to approve or reject the introduction."] = "Посетите %s для подтверждения или отказа запроса."; -$a->strings["[Friendica:Notify] Friend suggestion received"] = ""; -$a->strings["You've received a friend suggestion from '%1\$s' at %2\$s"] = ""; -$a->strings["You've received [url=%1\$s]a friend suggestion[/url] for %2\$s from %3\$s."] = ""; -$a->strings["Name:"] = "Имя:"; -$a->strings["Photo:"] = "Фото:"; -$a->strings["Please visit %s to approve or reject the suggestion."] = ""; -$a->strings["Connect URL missing."] = "Connect-URL отсутствует."; -$a->strings["This site is not configured to allow communications with other networks."] = "Данный сайт не настроен так, чтобы держать связь с другими сетями."; -$a->strings["No compatible communication protocols or feeds were discovered."] = "Обнаружены несовместимые протоколы связи или каналы."; -$a->strings["The profile address specified does not provide adequate information."] = "Указанный адрес профиля не дает адекватной информации."; -$a->strings["An author or name was not found."] = "Автор или имя не найдены."; -$a->strings["No browser URL could be matched to this address."] = "Нет URL браузера, который соответствует этому адресу."; -$a->strings["Unable to match @-style Identity Address with a known protocol or email contact."] = ""; -$a->strings["Use mailto: in front of address to force email check."] = ""; -$a->strings["The profile address specified belongs to a network which has been disabled on this site."] = "Указанный адрес профиля принадлежит сети, недоступной на этом сайта."; -$a->strings["Limited profile. This person will be unable to receive direct/personal notifications from you."] = "Ограниченный профиль. Этот человек не сможет получить прямые / личные уведомления от вас."; -$a->strings["Unable to retrieve contact information."] = "Невозможно получить контактную информацию."; -$a->strings["following"] = "следует"; -$a->strings["A new person is sharing with you at "] = "Новый человек делится с вами"; -$a->strings["You have a new follower at "] = "У вас есть новый фолловер на "; -$a->strings["Archives"] = ""; -$a->strings["An invitation is required."] = "Требуется приглашение."; -$a->strings["Invitation could not be verified."] = "Приглашение не может быть проверено."; -$a->strings["Invalid OpenID url"] = "Неверный URL OpenID"; -$a->strings["Please enter the required information."] = "Пожалуйста, введите необходимую информацию."; -$a->strings["Please use a shorter name."] = "Пожалуйста, используйте более короткое имя."; -$a->strings["Name too short."] = "Имя слишком короткое."; -$a->strings["That doesn't appear to be your full (First Last) name."] = "Кажется, что это ваше неполное (Имя Фамилия) имя."; -$a->strings["Your email domain is not among those allowed on this site."] = "Домен вашего адреса электронной почты не относится к числу разрешенных на этом сайте."; -$a->strings["Not a valid email address."] = "Неверный адрес электронной почты."; -$a->strings["Cannot use that email."] = "Нельзя использовать этот Email."; -$a->strings["Your \"nickname\" can only contain \"a-z\", \"0-9\", \"-\", and \"_\", and must also begin with a letter."] = "Ваш \"ник\" может содержать только \"a-z\", \"0-9\", \"-\", и \"_\", а также должен начинаться с буквы."; -$a->strings["Nickname is already registered. Please choose another."] = "Такой ник уже зарегистрирован. Пожалуйста, выберите другой."; -$a->strings["Nickname was once registered here and may not be re-used. Please choose another."] = ""; -$a->strings["SERIOUS ERROR: Generation of security keys failed."] = "СЕРЬЕЗНАЯ ОШИБКА: генерация ключей безопасности не удалась."; -$a->strings["An error occurred during registration. Please try again."] = "Ошибка при регистрации. Пожалуйста, попробуйте еще раз."; -$a->strings["An error occurred creating your default profile. Please try again."] = "Ошибка создания вашего профиля. Пожалуйста, попробуйте еще раз."; -$a->strings["Welcome "] = "Добро пожаловать, "; -$a->strings["Please upload a profile photo."] = "Пожалуйста, загрузите фотографию профиля."; -$a->strings["Welcome back "] = "Добро пожаловать обратно, "; -$a->strings["The form security token was not correct. This probably happened because the form has been opened for too long (>3 hours) before submitting it."] = ""; -$a->strings["stopped following"] = "остановлено следование"; -$a->strings["Poke"] = ""; -$a->strings["View Status"] = ""; -$a->strings["View Profile"] = ""; -$a->strings["View Photos"] = ""; -$a->strings["Network Posts"] = ""; -$a->strings["Edit Contact"] = ""; -$a->strings["Send PM"] = "Отправить ЛС"; -$a->strings["%1\$s poked %2\$s"] = ""; -$a->strings["post/item"] = ""; -$a->strings["%1\$s marked %2\$s's %3\$s as favorite"] = "%1\$s пометил %2\$s %3\$s как Фаворит"; -$a->strings["Categories:"] = ""; -$a->strings["Filed under:"] = ""; -$a->strings["remove"] = "удалить"; -$a->strings["Delete Selected Items"] = "Удалить выбранные позиции"; -$a->strings["%s likes this."] = "%s нравится это."; -$a->strings["%s doesn't like this."] = "%s не нравится это."; -$a->strings["<span %1\$s>%2\$d people</span> like this."] = "<span %1\$s>%2\$d чел.</span> нравится это."; -$a->strings["<span %1\$s>%2\$d people</span> don't like this."] = "<span %1\$s>%2\$d чел.</span> не нравится это."; -$a->strings["and"] = "и"; -$a->strings[", and %d other people"] = ", и %d других чел."; -$a->strings["%s like this."] = "%s нравится это."; -$a->strings["%s don't like this."] = "%s не нравится это."; -$a->strings["Visible to <strong>everybody</strong>"] = "Видимое <strong>всем</strong>"; -$a->strings["Please enter a video link/URL:"] = ""; -$a->strings["Please enter an audio link/URL:"] = ""; -$a->strings["Tag term:"] = ""; -$a->strings["Where are you right now?"] = "И где вы сейчас?"; -$a->strings["upload photo"] = "загрузить фото"; -$a->strings["attach file"] = "приложить файл"; -$a->strings["web link"] = "веб-ссылка"; -$a->strings["Insert video link"] = "Вставить ссылку видео"; -$a->strings["video link"] = "видео-ссылка"; -$a->strings["Insert audio link"] = "Вставить ссылку аудио"; -$a->strings["audio link"] = "аудио-ссылка"; -$a->strings["set location"] = "установить местонахождение"; -$a->strings["clear location"] = "убрать местонахождение"; -$a->strings["permissions"] = "разрешения"; -$a->strings["Click here to upgrade."] = ""; -$a->strings["This action exceeds the limits set by your subscription plan."] = ""; -$a->strings["This action is not available under your subscription plan."] = ""; -$a->strings["Delete this item?"] = "Удалить этот элемент?"; -$a->strings["show fewer"] = "показать меньше"; +$a->strings["Draw shadows"] = ""; +$a->strings["Navigation bar colour"] = ""; +$a->strings["Display style"] = ""; +$a->strings["Display colour of links - hex value, do not include the #"] = ""; +$a->strings["Icons"] = "Значки"; +$a->strings["Shiny style"] = ""; +$a->strings["Corner radius"] = ""; +$a->strings["0-99 default: 5"] = "0-99 по умолчанию: 5"; $a->strings["Update %s failed. See error logs."] = ""; $a->strings["Update Error at %s"] = ""; $a->strings["Create a New Account"] = "Создать новый аккаунт"; -$a->strings["Nickname or Email address: "] = "Ник или адрес электронной почты: "; -$a->strings["Password: "] = "Пароль: "; -$a->strings["Or login using OpenID: "] = ""; -$a->strings["Forgot your password?"] = "Забыли пароль?"; -$a->strings["Requested account is not available."] = ""; -$a->strings["Edit profile"] = "Редактировать профиль"; -$a->strings["Message"] = ""; -$a->strings["g A l F d"] = "g A l F d"; +$a->strings["Password"] = "Пароль"; +$a->strings["Remember me"] = "Запомнить"; +$a->strings["Forgot your password?"] = "Забыли пароль или логин?"; +$a->strings["Requested channel is not available."] = "Запрашиваемый канал не доступен."; +$a->strings[" Sorry, you don't have the permission to view this profile. "] = ""; +$a->strings["Profiles"] = "Профили"; +$a->strings["Manage/edit profiles"] = "Управление / Редактирование профилей"; +$a->strings["Edit Profile"] = "Редактировать профиль"; $a->strings["F d"] = "F d"; -$a->strings["[today]"] = "[сегодня]"; -$a->strings["Birthday Reminders"] = "Напоминания о днях рождения"; -$a->strings["Birthdays this week:"] = "Дни рождения на этой неделе:"; +$a->strings["Birthday Reminders"] = "Напоминания о Днях Рождения"; +$a->strings["Birthdays this week:"] = "Дни Рождения на этой неделе:"; $a->strings["[No description]"] = "[без описания]"; -$a->strings["Event Reminders"] = "Напоминания о мероприятиях"; +$a->strings["Event Reminders"] = "Напоминания мероприятий"; $a->strings["Events this week:"] = "Мероприятия на этой неделе:"; +$a->strings["Channel"] = "Канал"; $a->strings["Status Messages and Posts"] = ""; -$a->strings["Profile Details"] = ""; -$a->strings["Events and Calendar"] = ""; -$a->strings["Only You Can See This"] = ""; +$a->strings["About"] = "О себе"; +$a->strings["Profile Details"] = "Сведения о профиле"; +$a->strings["Events and Calendar"] = "Мероприятия и календарь"; +$a->strings["Webpages"] = "Личные нотиции"; +$a->strings["Manage Webpages"] = ""; +$a->strings["toggle mobile"] = ""; diff --git a/view/ru/update_fail_eml.tpl b/view/ru/update_fail_eml.tpl new file mode 100644 index 000000000..a7df8fc2f --- /dev/null +++ b/view/ru/update_fail_eml.tpl @@ -0,0 +1,13 @@ +Hey,
+I'm the web server at {{$sitename}};
+
+The Red Matrix developers released update {{$update}} recently,
+but when I tried to install it, something went terribly wrong.
+This needs to be fixed soon and it requires human intervention.
+Please contact a Red developer if you can not figure out how to
+fix it on your own. My database might be invalid.
+
+The error message is '{{$error}}'.
+
+Apologies for the inconvenience,
+ your web server at {{$siteurl}}
\ No newline at end of file diff --git a/view/sv/follow_notify_eml.tpl b/view/sv/follow_notify_eml.tpl index fee08bdca..ba07b19da 100644 --- a/view/sv/follow_notify_eml.tpl +++ b/view/sv/follow_notify_eml.tpl @@ -1,12 +1,14 @@ -$myname, -'$requestor' på $sitename vill följa dina uppdateringar här på Friendika. +Dear {{$myname}}, -Besök dennes profil på $url. +You have a new follower at {{$sitename}} - '{{$requestor}}'. -Logga in för att godkänna eller avslå förfrågan. +You may visit their profile at {{$url}}. -$siteurl +Please login to your site to approve or ignore/cancel the request. -Hälsningar, -$sitename admin +{{$siteurl}} + +Regards, + + {{$sitename}} administrator diff --git a/view/sv/friend_complete_eml.tpl b/view/sv/friend_complete_eml.tpl index 2b8b0238e..1c647b994 100644 --- a/view/sv/friend_complete_eml.tpl +++ b/view/sv/friend_complete_eml.tpl @@ -1,17 +1,22 @@ -$username, -Goda nyheter... '$fn' på '$dfrn_url' har accepterat din kontaktförfrågan på '$sitename'. +Dear {{$username}}, -Ni är nu ömsesidiga vänner och kan se varandras statusuppdateringar samt skicka foton och meddelanden -utan begränsningar. + Great news... '{{$fn}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. -Gå in på din sida 'Kontakter' på $sitename om du vill göra några -ändringar när det gäller denna kontakt. +You are now mutual friends and may exchange status updates, photos, and email +without restriction. -$siteurl +Please visit your 'Connnections' page at {{$sitename}} if you wish to make +any changes to this relationship. -[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']. +{{$siteurl}} -Hälsningar, -$sitename admin +[For instance, you may create a separate profile with information that is not +available to the general public - and assign viewing rights to '{{$fn}}']. + +Sincerely, + + {{$sitename}} Administrator + + 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/intro_complete_eml.tpl b/view/sv/intro_complete_eml.tpl index 1f24af25f..2c2428d68 100644 --- a/view/sv/intro_complete_eml.tpl +++ b/view/sv/intro_complete_eml.tpl @@ -1,19 +1,22 @@ -$username, -'$fn' på '$dfrn_url' har accepterat din kontaktförfrågan på '$sitename'. +Dear {{$username}}, -'$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}}' at '{{$dfrn_url}}' has accepted +your connection request at '{{$sitename}}'. -'$fn' kan välja att utöka detta till vanlig tvåvägskommunikation eller någon annan mer -tillåtande kommunikationsform i framtiden. + '{{$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. -Du kommer hädanefter att få statusuppdateringar från '$fn', -vilka kommer att synas på din Nätverk-sida på + '{{$fn}}' may choose to extend this into a two-way or more permissive +relationship in the future. -$siteurl + You will start receiving public status updates from '{{$fn}}', +which will appear on your 'Matrix' page at -Hälsningar, -$sitename admin +{{$siteurl}} + +Sincerely, + + {{$sitename}} Administrator diff --git a/view/sv/lostpass_eml.tpl b/view/sv/lostpass_eml.tpl index df338fa69..3b79d2791 100644 --- a/view/sv/lostpass_eml.tpl +++ b/view/sv/lostpass_eml.tpl @@ -1,29 +1,32 @@ -$username, -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. +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. -Gå INTE till länken nedan om du INTE har begärt lösenordsåterställning. -Då kan du ignorera det här meddelandet. +If you did NOT request this change, please DO NOT follow the link +provided and ignore and/or delete this email. -Ditt lösenord kommer inte att återställas om vi inte kan säkerställa att du -initierat detta. +Your password will not be changed unless we can verify that you +issued this request. -Med den här länken kan du bekräfta din identitet: +Follow this link to verify your identity: -$reset_link +{{$reset_link}} -Sedan kommer du att få ett meddelande med ett nytt lösenord. +You will then receive a follow-up message containing the new password. -Lösenordet kan sedan ändras i dina inställningar efter att du loggat in. +You may change that password from your account settings page after logging in. -Detaljerna ser ut så här: +The login details are as follows: -Webbplats: $siteurl -Inloggningsnamn: $email +Site Location: {{$siteurl}} +Login Name: {{$email}} -Hälsningar, -$sitename admin -
\ No newline at end of file + + +Sincerely, + {{$sitename}} Administrator + + diff --git a/view/sv/passchanged_eml.tpl b/view/sv/passchanged_eml.tpl index 590462468..0d94be3c2 100644 --- a/view/sv/passchanged_eml.tpl +++ b/view/sv/passchanged_eml.tpl @@ -1,18 +1,20 @@ -$username, +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). -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. -Hälsningar, -$sitename admin +Sincerely, + {{$sitename}} Administrator + + diff --git a/view/sv/register_open_eml.tpl b/view/sv/register_open_eml.tpl index 1471c9b98..4b397201c 100644 --- a/view/sv/register_open_eml.tpl +++ b/view/sv/register_open_eml.tpl @@ -1,17 +1,19 @@ -$username, -Tack för att du registrerat dig på $sitename. Kontot har skapats. -Här är dina inloggningsuppgifter: -Webbplats: $siteurl -Användarnamn: $email -Lösenord: $password +An account has been created at {{$sitename}} for this email address. +The login details are as follows: -Lösenordet kan ändras på sidan Inställningar efter att du loggat in. +Site Location: {{$siteurl}} +Login: {{$email}} +Password: (the password which was provided during registration) -Ägna en liten stund åt att gå igenom alla kontoinställningar där. +If this account was created without your knowledge and is not desired, you may +visit this site and reset the password. This will allow you to remove the +account from the links on the Settings page, and we +apologise for any inconvenience. -Välkommen till $sitename. +Thank you and welcome to {{$sitename}}. -Hälsningar, -$sitename admin +Sincerely, + {{$sitename}} Administrator + diff --git a/view/sv/register_verify_eml.tpl b/view/sv/register_verify_eml.tpl index aa72bc9aa..85d9a12d3 100644 --- a/view/sv/register_verify_eml.tpl +++ b/view/sv/register_verify_eml.tpl @@ -1,17 +1,25 @@ -En registreringsförfrågan som kräver svar har mottagits -på $sitename +A new user registration request was received at {{$sitename}} which requires +your approval. -Här är inloggningsuppgifterna: -Fullständigt namn: $username -Webbplats: $siteurl -Användarnamn: $email +The login details are as follows: +Site Location: {{$siteurl}} +Login Name: {{$email}} +IP Address: {{$details}} -Gå till denna adress om du vill godkänna: -$siteurl/regmod/allow/$hash +To approve this request please visit the following link: -Gå till denna adress om du vill avslå förfrågan och ta bort kontot: -$siteurl/regmod/deny/$hash + +{{$siteurl}}/regmod/allow/{{$hash}} + + +To deny the request and remove the account, please visit: + + +{{$siteurl}}/regmod/deny/{{$hash}} + + +Thank you. diff --git a/view/sv/request_notify_eml.tpl b/view/sv/request_notify_eml.tpl index 893bce17c..d01b8ff27 100644 --- a/view/sv/request_notify_eml.tpl +++ b/view/sv/request_notify_eml.tpl @@ -1,13 +1,17 @@ -$myname, -Du har just fått en kontaktförfrågan på $sitename från '$requestor' +Dear {{$myname}}, -Profilen finns på $url. +You have just received a connection request at {{$sitename}} -Logga in för att se hela förfrågan och godkänna eller -avslå den. +from '{{$requestor}}'. -$siteurl +You may visit their profile at {{$url}}. -Hälsningar, -$sitename admin +Please login to your site to view the complete introduction +and approve or ignore/cancel the request. + +{{$siteurl}} + +Regards, + + {{$sitename}} administrator diff --git a/view/sv/update_fail_eml.tpl b/view/sv/update_fail_eml.tpl new file mode 100644 index 000000000..a7df8fc2f --- /dev/null +++ b/view/sv/update_fail_eml.tpl @@ -0,0 +1,13 @@ +Hey,
+I'm the web server at {{$sitename}};
+
+The Red Matrix developers released update {{$update}} recently,
+but when I tried to install it, something went terribly wrong.
+This needs to be fixed soon and it requires human intervention.
+Please contact a Red developer if you can not figure out how to
+fix it on your own. My database might be invalid.
+
+The error message is '{{$error}}'.
+
+Apologies for the inconvenience,
+ your web server at {{$siteurl}}
\ No newline at end of file diff --git a/view/theme/fancyred/css/style.css b/view/theme/fancyred/css/style.css deleted file mode 100644 index 8cc2d12e6..000000000 --- a/view/theme/fancyred/css/style.css +++ /dev/null @@ -1,3934 +0,0 @@ -/** - * duepuntozero Frindika style - * Fabio Comuni <fabrix.xm@gmail.com> - */ - - -/* generals */ -body { - font-family: helvetica,arial,freesans,clean,sans-serif; - font-size: 12px; - background-color: #ffffff; - background-repeat: repeat; - color: #000000; - margin: 0px; -} - -abbr { - border-bottom: none; -} - -aside { -border: none; -border-radius: 0px 0px 20px 0px; -width: 160px; -color: #d00; -background: #fff; -} - - -/* icons */ -.icon { - background-color: transparent ; - background-repeat: no-repeat; - display: block; - overflow: hidden; - text-indent: -9999px; -/* min-width: 22px; - height: 22px; */ -} -.icon.text { - text-indent: 0px; -} -.icon.notify { - background-image: url("../img/notify_on.png"); - min-width: 22px; - height: 22px; - margin-top: -4px; - background-position: left center; - padding: 1px; -} -.icon.gear { - background-image: url("../img/settings.png"); - min-width: 22px; - height: 22px; - background-position: left center; - padding: 1px; -} - -.icon.home { - background-image: url("../img/home.png"); - min-width: 22px; - height: 22px; - background-position: left center; - padding: 1px; -} - -.icon.network { - background-image: url("../img/network.png"); - min-width: 22px; - height: 22px; - background-position: left center; - padding: 1px; -} - -.icon.introductions { - background-image: url("../img/introductions.png"); - min-width: 22px; - height: 22px; - background-position: left center; - padding: 1px; -} - -.icon.mail { - background-image: url("../img/message.png"); - min-width: 22px; - height: 22px; - background-position: left center; - padding: 1px; -} - -.icon.events { - background-image: url("../img/events.png"); - min-width: 22px; - height: 22px; - background-position: left center; - padding: 1px; -} - -a, a:visited, a:link { color: #dd0000; text-decoration: none; } -a:hover { color: #dd0000; text-decoration: underline; } - -input { - border: 1px solid #666666; - -moz-border-radius: 5px; - border-radius: 5px; - padding: 3px; -} - -img { border :0px; } - - - - -code { - font-family: Courier, monospace; - display: block; - overflow: auto; - border: 1px solid #444; - background: #EEE; - color: #444; - padding: 10px; - margin-top: 20px; - max-width: 80%; - box-shadow: 5px 5px 5px #111; - border-radius: 5px; -} - -blockquote { - background-color: #f4f8f9; - border-left: 4px solid #dae4ee; - padding: 0.4em; -} - -.icollapse-wrapper, .ccollapse-wrapper { - border: 1px solid #CCC; - padding: 5px; -} - -.hide-comments { - margin-left: 5px; -} - -#panel { - background-color: ivory; - position: absolute; - z-index: 2; - width: 30%; - padding: 25px; - border: 1px solid #444; -} - -.heart { - color: #FF0000; - font-size: 100%; - margin-right: 5px; -} - - - -/* nav */ -nav { - display: block; -/* margin: 0px 10%; */ - border-bottom: 1px solid #d00; -} -nav #site-location { - color: #888a85; - font-size: 0.8em; - position: absolute; - border-radius: 1px solid #d00; -} - -.error-message { - color: #FF0000; - font-size: 1.1em; - border: 1px solid #FF8888; - background-color: #FFEEEE; - padding: 10px; -} - -.info-message { - color: #fff; - font-size: 1.1em; - background-color: #f00; - padding: 10px; -} - - -nav #banner #logo-text a { - font-size: 40px; - font-weight: bold; - margin-left: 3px; - color: #000000; - -} -nav #banner #logo-text a:hover { text-decoration: none; } - -header #site-location { - display: none; -} -header #banner { - overflow: hidden; - text-align: center; - width: 100%; - font-size: 2.2em; - font-family: tahoma, "Lucida Sans", sans; - color: #eec; - font-weight: bold; - -} -header #banner a, -header #banner a:active, -header #banner a:visited, -header #banner a:link, -header #banner a:hover { - color: #eec; - text-decoration: none; - outline: none; - vertical-align: bottom; -} -header #banner #logo-img { - height: 22px; - margin-top: 5px; -} -header #banner #logo-text { - font-size: 22px; -} - - - - -.nav-commlink, .nav-login-link { - display: block; - height: 15px; - margin-top: 67px; - margin-right: 2px; - //padding: 6px 10px; - padding: 6px 3px; - float: left; - bottom: 140px; - border: 1px solid #babdb6; - border-bottom: 0px; - background-color: #aec0d3; - color: #565854; - -moz-border-radius: 5px 5px 0px 0px; - border-radius: 5px 5px 0px 0px; -} -nav .nav-link { - float: right; - margin: 0.2em 0em; - padding: 0em 0.5em; - background-color: transparent !important; -} - -.nav-commlink.selected { - background-color: #ffffff; - border-bottom: 1px solid #ffffff; - color: #000000 !important; - margin-top: 64px; - padding-top: 6px; - padding-bottom: 8px; -} -.nav-ajax-left { - font-size: 0.8em; - float: left; - margin-top: 62px; -} - - -nav #nav-link-wrapper .nav-link { - border-right: 1px solid #babdb6; -} - - - -#dfrn-request-link { - display: block; - color: #FFFFFF; - -webkit-border-radius: 5px ; - -moz-border-radius: 5px; - border-radius: 5px; - padding: 5px; - font-weight: bold; - background: #3465a4 url('../img/friendika-16.png') no-repeat 95% center; -} -#wallmessage-link { - display: block; - color: #FFFFFF; - -webkit-border-radius: 5px ; - -moz-border-radius: 5px; - border-radius: 5px; - padding: 5px; - font-weight: bold; - background-color: #3465a4; -} -.tabs { - list-style: none; - margin: 15px 0px; - padding: 0; - } -.tabs li { - display: inline; - font-weight: bold; -} -.tab { - height: auto; - background-color: #f00; - color: #fff !important; - font-weight: bold; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 20px; - margin: 0; - width: auto; - box-shadow: 5px 5px 5px #444; - margin-left: 8px; - padding: 4px; - text-align: center; -} -.tab:hover, .tab.active:hover { - background: #d00; - color: #fff; - ; -} -.tab:active { - background: #fff; - color: #f00; -} -.tab.active { - background: #f00; - color: #fff; - box-shadow: 3px 3px 3px #333 inset; - padding: 5px; /* another strageness of the human mind - has to be larger than inactive tabs, or it looks smaller than them */ -} - -.tab a, .settings-widget a { - border: 0; - text-decoration: none; - color: #fff; -} - -/* footer */ -footer { - text-align: right; - padding-bottom: 1em; - padding-right: 3em; -} - -#powered-by { - position: fixed; - bottom: 1px; - left: 15px; - opacity: 0.3; - filter:alpha(opacity=30); - -} - -.birthday-today, .event-today { - font-weight: bold; -} - -div.wall-item-content-wrapper.shiny { - opacity: 1; -} - -.preview { - background: #FFFFC8; -} - -#theme-preview { - margin: 15px 0 15px 150px; -} - -/* from default */ -#jot-perms-icon, -#profile-location, -#profile-nolocation, -#profile-youtube, -#profile-video, -#profile-audio, -#profile-link, -#profile-title, -#wall-image-upload, -#wall-file-upload, -#profile-upload-wrapper, -#wall-image-upload-div, -#wall-file-upload-div, -.hover, .focus { - cursor: pointer; -} - -#jot-perms-icon { - float: left; -} - -#jot-title, #jot-category { - border: 0px; - margin: 0px; - padding: 8px; - height: 20px; - width: 530px; - margin-bottom: 5px; - font-weight: bold; - border: solid 1px #ccc; - box-shadow: 5px 5px 5px #666 inset; -} - -#jot-title::-webkit-input-placeholder{font-weight: normal;} -#jot-category::-webkit-input-placeholder{font-weight: normal;} -#jot-title:-moz-placeholder{font-weight: normal;} -#jot-category:-moz-placeholder{font-weight: normal;} - - -#jot-title:hover, -#jot-title:focus, -#jot-category:hover, -#jot-category:focus { - border: 1px solid #cccccc; -} - -.jothidden { display:none; } - - -.fakelink, .fakelink:visited, .fakelink:link { - color: #335577; - text-decoration: none; - cursor: pointer; -} -.fakebutton { - margin-top: 15px; - margin-bottom: 15px; -} - -.lockview { - cursor: pointer; -} - - -#group-sidebar { - margin-bottom: 10px; -} - -.group-selected, .nets-selected, .fileas-selected, .categories-selected { - padding: 3px; - -moz-border-radius: 5px; - border-radius: 5px; - border: 1px solid #CCCCCC; - background: #F8F8F8; - font-weight: bold; -} - -.settings-widget .selected { - padding: 3px; - -moz-border-radius: 5px; - border-radius: 5px; - font-weight: bold; - color: #FFD700; -} - -.fakelink:hover { - color: #5588aa; - text-decoration: underline; - cursor: pointer; -} -.smalltext { - font-size: 0.7em; -} -#sysmsg { - /*width: 600px;*/ - margin-bottom: 10px; -} - -#register-fill-ext { - margin-bottom: 25px; -} - -#label-register-name, #label-register-nickname, #label-register-openid { - float: left; - width: 350px; - margin-top: 10px; -} - -#register-name, #register-nickname { - float: left; - margin-top: 10px; - width: 150px; -} - -#register-openid { - float: left; - margin-top: 10px; - width: 130px; -} - -#register-name-end, #register-email-end, #register-nickname-end, #register-submit-end, #register-openid-end { - clear: both; -} - -#register-nickname-desc { - margin-top: 30px; - width: 650px; -} -#register-sitename { - float: left; - margin-top: 10px; -} - -#register-submit-button { - margin-top: 10px; -} - -#main-login { - margin-left: 100px; - margin-top: 50px; -} - -#main-login #id_username, #main-login #id_password { - width: 200px; - padding: 10px; - float: left; -} - -#main-login .field_end { - clear: both; -} - -#main-login .field.input label, #main-login .field.password label { - float: left; - width: 100px; -} - -#login_standard { - width: 350px; - float: left; -} - - -#login_standard input, -#login_openid input { - width: 180px; -} - -#login-extra-links { - clear: both; -} - -#register-link, #lost-password-link { - float: left; - font-size: 90%; - margin-left: 100px; -} - -#login-standard-end { - clear: both; -} - -#login-submit-button { - - margin-left: 100px; - margin-top: 10px; -/* margin-left: 200px; */ -} - - -input#dfrn-url { - float: left; - background: url(../img/friendika-16.png) no-repeat; - background-position: 2px center; - font-size: 17px; - padding-left: 21px; - height: 21px; - background-color: #FFFFFF; - color: #000000; - margin-bottom: 20px; -} - -#dfrn-url-label { - float: left; - width: 250px; -} - -#dfrn-request-url-end { - clear: both; -} - -#knowyouyes, #knowyouno { - float: left; -} - -#dfrn-request-knowyou-yes-wrapper, #dfrn-request-knowyou-no-wrapper { - - float: none; -} -#dfrn-request-knowyou-yes-label, #dfrn-request-knowyou-no-label { - float: left; - width: 75px; - margin-left: 50px; - margin-bottom: 7px; -} -#dfrn-request-knowyou-break, #dfrn-request-knowyou-end { - clear: both; - -} - -#dfrn-request-message-wrapper { - margin-bottom: 50px; -} -#dfrn-request-submit-wrapper { - clear: both; - margin-left: 50px; -} - -#dfrn-request-info-wrapper { - margin-left: 50px; -} - - - -#cropimage-wrapper, #cropimage-preview-wrapper { - float: left; - padding: 30px; -} - -#crop-image-form { - margin-top: 30px; - clear: both; -} - -.intro-wrapper { - margin-top: 20px; -} - -.intro-fullname { - font-size: 1.1em; - font-weight: bold; - -} -.intro-desc { - margin-bottom: 20px; - font-weight: bold; -} - -.intro-note { - padding: 10px; -} - -.intro-end { - padding: 30px; -} - -.intro-form { - float: left; -} -.intro-approve-form { - clear: both; -} -.intro-approve-as-friend-end { - clear: both; -} -.intro-submit-approve, .intro-submit-ignore { - margin-right: 20px; -} -.intro-submit-approve { - margin-top: 15px; -} - -.intro-approve-as-friend-label, .intro-approve-as-fan-label { - float: left; - width: 100px; - margin-left: 20px; -} -.intro-approve-as-friend, .intro-approve-as-fan { - float: left; -} -.intro-form-end { - clear: both; -} -.intro-approve-as-friend-desc { - margin-top: 15px; -} -.intro-approve-as-end { - clear: both; - margin-bottom: 10px; -} - -.intro-end { - clear: both; - margin-bottom: 30px; -} -.aprofile dt { - font-weight: bold; -} -#page-profile .title { - font-weight: bold; -} -#profile-vcard-break { - clear: both; -} -#profile-extra-links { - clear: both; - margin-top: 10px; -} - -#profile-extra-links ul { - list-style-type: none; - padding: 0px; -} - - -#profile-extra-links li { - margin-top: 5px; -} - -#profile-edit-links ul { - list-style-type: none; -} - -#profile-edit-links li { - margin-top: 10px; -} -.profile-edit-side-div { - float: right; -} -.profile-edit-side-link { - opacity: 0.3; - filter:alpha(opacity=30); - float: right; -} -.profile-edit-side-link:hover { - opacity: 1.0; - filter:alpha(opacity=100); -} - -.view-contact-wrapper { - margin-top: 20px; - float: left; - margin-left: 20px; - width: 180px; -} - -.contact-wrapper { - float: left; - width: 150px; - height: 150px; - overflow: auto; -} - -#view-contact-end { - clear: both; -} - - -#viewconnections { - margin-top: 15px; -} -#profile-edit-default-desc { - color: #FF0000; - border: 1px solid #FF8888; - background-color: #FFEEEE; - padding: 7px; -} - -#profile-edit-clone-link-wrapper { - float: left; - margin-left: 50px; - margin-bottom: 20px; - width: 300px; -} - - -#profile-edit-links-end { - clear: both; - margin-bottom: 15px; -} - -.profile-listing-photo { - border: none; -} - -.profile-edit-submit-wrapper { - margin-top: 20px; - margin-bottom: 20px; -} - -#profile-photo-link-select-wrapper { - margin-top: 2em; -} - -#profile-photo-submit-wrapper { - margin-top: 10px; -} - -#profile-photo-wrapper img { - width:120px; - height:120px; - padding: 12px; -} - -#profile-edit-profile-name-label, -#profile-edit-name-label, -#profile-edit-pdesc-label, -#profile-edit-gender-label, -#profile-edit-dob-label, -#profile-edit-address-label, -#profile-edit-locality-label, -#profile-edit-region-label, -#profile-edit-postal-code-label, -#profile-edit-country-name-label, -#profile-edit-marital-label, -#profile-edit-sexual-label, -#profile-edit-politic-label, -#profile-edit-religion-label, -#profile-edit-pubkeywords-label, -#profile-edit-prvkeywords-label, -#profile-edit-homepage-label, -#profile-edit-hometown-label { - float: left; - width: 175px; -} - -#profile-edit-profile-name, -#profile-edit-name, -#profile-edit-pdesc, -#gender-select, -#profile-edit-dob, -#profile-edit-address, -#profile-edit-locality, -#profile-edit-region, -#profile-edit-postal-code, -#profile-edit-country-name, -#marital-select, -#sexual-select, -#profile-edit-politic, -#profile-edit-religion, -#profile-edit-pubkeywords, -#profile-edit-prvkeywords, -#profile-in-dir-yes, -#profile-in-dir-no, -#profile-in-netdir-yes, -#profile-in-netdir-no, -#hide-wall-yes, -#hide-wall-no, -#hide-friends-yes, -#hide-friends-no { - float: left; - margin-bottom: 20px; -} -#settings-normal, -#settings-soapbox, -#settings-freelove, -#settings-community { - float: left; -} -#settings-notifications label { - margin-left: 20px; -} -#settings-notify-desc, #settings-activity-desc { - font-weight: bold; - margin-bottom: 15px; -} -#settings-pagetype-desc { - color: #666666; - margin-bottom: 15px; -} - -#profile-in-dir-yes-label, -#profile-in-dir-no-label, -#profile-in-netdir-yes-label, -#profile-in-netdir-no-label, -#hide-wall-yes-label, -#hide-wall-no-label, -#hide-friends-yes-label, -#hide-friends-no-label { - margin-left: 125px; - float: left; - width: 50px; -} - -#profile-edit-with-label { - width: 175px; - margin-left: 20px; -} - -#profile-publish-yes-reg, -#profile-publish-no-reg { - float: left; - margin-bottom: 10px; -} - -#profile-publish-yes-label-reg, -#profile-publish-no-label-reg { - margin-left: 350px; - float: left; - width: 50px; -} - -#profile-publish-break-reg, -#profile-publish-end-reg { - clear: both; -} - - -#profile-edit-pdesc-desc, -#profile-edit-pubkeywords-desc, -#profile-edit-prvkeywords-desc { - float: left; - margin-left: 20px; -} - - -#profile-edit-homepage, #profile-edit-hometown { - float: left; - margin-bottom: 35px; -} -#settings-normal-label, -#settings-soapbox-label, -#settings-community-label, -#settings-freelove-label { - float: left; - width: 200px; -} -#settings-normal-desc, -#settings-soapbox-desc, -#settings-community-desc, -#settings-freelove-desc { - /*float: left; - margin-left: 75px;*/ - clear: left; - color: #666666; - display: block; - margin-bottom: 20px -} - -#profile-edit-profile-name-end, -#profile-edit-name-end, -#profile-edit-pdesc-end, -#profile-edit-gender-end, -#profile-edit-dob-end, -#profile-edit-address-end, -#profile-edit-locality-end, -#profile-edit-region-end, -#profile-edit-postal-code-end, -#profile-edit-country-name-end, -#profile-edit-marital-end, -#profile-edit-sexual-end, -#profile-edit-politic-end, -#profile-edit-religion-end, -#profile-edit-pubkeywords-end, -#profile-edit-prvkeywords-end, -#profile-edit-homepage-end, -#profile-edit-hometown-end, -#profile-in-dir-break, -#profile-in-dir-end, -#profile-in-netdir-break, -#profile-in-netdir-end, -#hide-wall-break, -#hide-wall-end, -#hide-friends-break, -#hide-friends-end, -#settings-normal-break, -#settings-soapbox-break, -#settings-community-break, -#settings-freelove-break { - clear: both; -} - -.settings-widget ul { - list-style-type: none; - padding: 0px; -} - -.settings-widget li { - height: auto; - background-color: #f00; - color: #fff !important; - font-weight: bold; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - margin-bottom: 12px; - width: auto; - box-shadow: 5px 5px 5px #444; - margin-left: 8px; - padding: 4px; -} - - -#gender-select, #marital-select, #sexual-select { - width: 220px; -} - -#profile-edit-profile-name-wrapper .required { - color: #FF0000; - float: left; -} - -#contacts-main { - margin-top: 20px; - margin-bottom: 20px; -} - -.contact-entry-wrapper { - float: left; - width: 120px; - height: 120px; -} -#contacts-search-end { - margin-bottom: 10px; -} - -.contact-entry-direction-icon { - margin-top: 24px; - margin-right: 2px; -} - -.contact-entry-photo img { - border: none; -} -.contact-entry-photo-end { - clear: both; -} -.contact-entry-name { - float: left; - margin-left: 0px; - margin-right: 10px; - width: 120px; - overflow: hidden; -} -.contact-entry-edit-links { - margin-top: 6px; - margin-left: 10px; - width: 16px; -} -.contact-entry-nav-wrapper { - float: left; - margin-left: 10px; -} - -.contact-entry-edit-links img { - border: none; - margin-right: 15px; -} -.contact-entry-photo { - float: left; - position: relative; -} -.contact-entry-end { - clear: both; -} - -#fsuggest-desc, #fsuggest-submit-wrapper { - margin-top: 15px; - margin-bottom: 15px; -} - -#network-star-link{ - margin-top: 10px; -} -.network-star { - float: left; - margin-right: 5px; -} -#network-bmark-link { - margin-top: 10px; -} -.thread-wrapper .wall-item-comment-wrapper { - margin-left: 50px; -} - -/* Give the top level post bigger shadows than the comments. This makes them appear "higher" and the comments "lower", which separates posts from each other reasonably without literally drawing a line under it */ - -.wall-item-content-wrapper { - position: relative; - background: #fff; - border-radius: 10px; - box-shadow: 8px 8px 8px #000; - border: 1px solid #eec; - opacity: 0.8; -} - -.wall-item-content-wrapper:hover { - opacity: 1; -} -.thread-wrapper .thread-wrapper { - margin-left: 50px; -} - -.thread-end-wrapper { - margin-left: 50px; -} - - -/* This shadow isn't quite right - not sure if it's colour or size */ - -.wall-item-content-wrapper.comment { - background: #fff; - border-left: 1px solid #e0e0e0; - margin-left: 50px; - margin-top: 15px; - box-shadow: 5px 5px 5px #222; - -} - -.wall-item-like.comment, .wall-item-dislike.comment { - margin-left: 50px; -} - -.wall-item-info { - display: block; - float: left; - width:110px; - margin-right:10px; -} -.comment .wall-item-info { - width: 70px; -} - -.wall-item-photo-wrapper { - margin-top: 10px; - margin-left: 10px; - margin-bottom: 10px; - width: 100px; -} -.wall-item-photo-menu-button { - display: block; - position: absolute; - background-image: url("../img/photo-menu.jpg"); - background-position: top left; - background-repeat: no-repeat; - margin: 0px; padding: 0px; - width: 16px; - height: 16px; - top: 74px; left:10px; - overflow: hidden; - text-indent: 40px; - display: none; - -} -.wall-item-photo-menu { - width: auto; - border: 2px solid #444444; - background: #FFFFFF; - position: absolute; - left: 10px; top: 90px; - display: none; - z-index: 10000; -} -.wall-item-photo-menu ul { margin:0px; padding: 0px; list-style: none } -.wall-item-photo-menu li a { display: block; padding: 2px; } -.wall-item-photo-menu li a:hover { color: #FFFFFF; background: #3465A4; text-decoration: none; } - - -.comment .wall-item-photo-menu-button { top: 44px;} -.comment .wall-item-photo-menu { top: 60px; } - -.wallwall .wwto { - left: 50px; - margin: 0; - position: absolute; - top: 70px; - width: 30px -} -.wallwall .wwto img { - width: 30px !important; - height: 30px !important; -} - -.wallwall .wall-item-photo-end { - clear: both; -} - -.wall-item-arrowphoto-wrapper { - position: absolute; - left: 75px; - top: 70px; - z-index: 100; -} -.wall-item-wrapper { - /*float: left; - margin-right: 5px; - width: 250px;*/ - margin-left:10px; -} -.wall-item-lock { - /*height: 20px;*/ - /*margin-top: 10px;*/ - left: 105px; - position: absolute; - top: 1px; -} -.comment .wall-item-lock { - left: 65px; -} - -.wall-item-ago { - color: #888888; - font-size: 0.8em; -} - -.wall-item-location { - overflow: hidden; - /* add ellipsis on text overflow */ - /* this work on safari, opera, ie, chrome. */ - /* firefox users have to wait support or we */ - /* can use a jquery plugin http://bit.ly/zJskg */ - text-overflow: ellipsis; - -o-text-overflow: ellipsis; - width: 100%; -} - - -.item-tool { - float: left; - margin-right: 8px; -} - -.like-rotator { - margin-left: 5px; -} - -.wall-item-delete-wrapper { - float: right; -} - -.wall-item-delete-end { - clear: both; -} - -.wall-item-delete-icon { - border: none; -} - -.wall-item-wrapper-end { - clear: both; -} -.wall-item-name-link { - font-weight: bold; - text-decoration: none; - color: #3172BD; -} -.wall-item-photo { - border: none; -} -.comment .wall-item-photo { - width: 50px !important; - height: 50px !important; -} -.wall-item-content { - margin-left: 10px; - overflow: auto; -} - -.wall-item-content img { - max-height: 95% !important; - max-width: 95% !important; - box-shadow: 8px 8px 8px #666; -} - -.wall-item-content img.smiley { - box-shadow: none; -} - -a.divgrow-showmore { -bottom: 0pt; -left: 0pt; -cursor: pointer; -/*TODO make this work in not-Firefox */ -background-image: -moz-linear-gradient(center top, #ccc 0%, #000 95%); -height: 30px; -text-shadow: 0pt 0pt 7px #000; -background-color: transparent; -border-radius: 0pt 0pt 3px 3px; -border-bottom: 2px solid #ff0; -color: #ff0; -font-size: 0.8em; -line-height: 48px; -text-align: center; -right: 0pt; -position: absolute; -/*Stop it blocking wall-item-tools*/ -margin-bottom: 24px; -/*Make it work with non-shiny posts */ -opacity: 0.6; - -} - -.wall-item-title { - float: left; - font-weight: bold; - /*width: 450px;*/ -} - -.wall-item-title-end { - clear: both; -} - -.thread-wrapper.toplevel_item { -padding: 30px; -width: 90%; -} - -.wall-item-body { -/* float: left; */ - /*width: 450px;*/ - margin: 10px 10px 30px; -} - -.wall-item-tools { - clear: both; -/* background-image: url("../img/head.jpg"); */ - background-position: 0 -20px; - background-repeat: repeat-x; - background: #eee; - padding: 2px; - border-radius: 0px 0px 10px 10px; - border: 1px #eec solid; -} - -.wall-item-like, .wall-item-dislike { - font-size: 0.8em; - color: #878883; - position: relative; - bottom: 50px; - margin-left: 120px; - float:left; - opacity: 0.6; -} - -/* -.wall-item-dislike { - font-size: 0.8em; - color: #878883; - position: relative; - bottom: 50px; - margin-left: 120px; -} - -*/ -.wall-item-like:hover, .wall-item-dislike:hover{ -opacity: 1; -} - -.wall-item-author { - margin-top: 10px; -} - -.comment-edit-wrapper { - margin-top: 15px; - background: #ffffff; - margin-left: 50px; -} - -.comment-wwedit-wrapper { - -} - -.comment-edit-photo { - margin-top: 10px; - margin-left: 10px; - margin-bottom: 10px; - width: 100px; - float: left; -} -.comment-wwedit-wrapper.threaded > .comment-edit-form > .comment-edit-photo { - width: 40px; -} - -.comment-edit-photo img { - width: 25px; -} -.comment-edit-text-empty, .comment-edit-text-full { - float: left; - margin-top: 10px; - padding: 3px 1px 1px 3px; - border: 1px solid #ccc; - padding: 8px; - border-radius: 5px 5px 5px 5px; - box-shadow: 5px 5px 5px #666 inset; -} - -.comment-edit-text-empty { -color: gray; -height: 1.5em; -width: 80%; /*Too wide? */ -overflow: auto; -margin-bottom: 10px; -} - -.comment-wwedit-wrapper.threaded > .comment-edit-form > .comment-edit-text-empty { - height: 1.5em; -} - -.comment-edit-text-full { - color: black; - height: 150px; - width: 80%; - overflow: auto; -} - - -.comment-edit-text-end { - clear: both; -} - -.comment-edit-submit { - margin: 10px 0px 10px 110px; -} - -.comment-wwedit-wrapper.threaded > .comment-edit-form > .comment-edit-submit-wrapper > .comment-edit-submit { - margin-left: 50px; -} - -#profile-jot-plugin-wrapper, -#profile-jot-submit-wrapper { - margin-top: 15px; - width:90%; -} - -#profile-jot-submit { - float: left; -} -#profile-upload-wrapper { - float: left; - margin-left: 30px; -} -#profile-attach-wrapper { - float: left; - margin-left: 30px; -} -#profile-rotator { - float: left; - margin-left: 30px; -} -#profile-link-wrapper { - float: left; - margin-left: 15px; -} -#profile-youtube-wrapper { - float: left; - margin-left: 15px; -} -#profile-video-wrapper { - float: left; - margin-left: 15px; -} -#profile-audio-wrapper { - float: left; - margin-left: 15px; -} -#profile-location-wrapper { - float: left; - margin-left: 15px; -} -#jot-preview-link { - float: left; - margin-left: 45px; - margin-top: 0px !important; -} - - -#profile-nolocation-wrapper { - float: left; - margin-left: 15px; -} -#profile-title-wrapper { - float: left; - margin-left: 15px; -} - -#profile-jot-perms { - float: right; - margin-left: 100px; - font-weight: bold; - font-size: 1.2em; - height: auto; - width: auto; - background-color: #dd0000; - border-radius: 5px; - border: 2px outset; - box-shadow: 5px 5px 5px #666; - margin-right: 8px; - padding: 4px; -} - -#profile-jot-perms:active { - box-shadow: 0 0 0 0; -} - -#profile-jot-perms-end { - /*clear: left;*/ - height: 30px; -} - -#profile-jot-plugin-end{ - clear: both; -} -.profile-jot-net { - float: left; - margin-right: 10px; - margin-top: 5px; - margin-bottom: 5px; -} - -#profile-jot-networks-end { - clear: both; -} - -#profile-jot-end { - /*clear: both;*/ - margin-bottom: 30px; -} -#about-jot-submit-wrapper { - margin-top: 15px; -} -#about-jot-end { - margin-bottom: 30px; -} -#contacts-main { - margin-bottom: 30px; -} - -#profile-listing-desc { - margin-left: 30px; -} - -#profile-listing-new-link-wrapper { - margin-left: 30px; - margin-bottom: 30px; -} -.profile-listing-photo-wrapper { - float: left; -} - -.profile-listing-edit-buttons-wrapper { - clear: both; -} -.profile-listing-photo-edit-link { - float: left; - width: 125px; -} -.profile-listing-end { - clear: both; -} -.profile-listing-edit-buttons-wrapper img{ - border: none; - margin-right: 20px; -} -.profile-listing { - margin-top: 25px; -} -.profile-listing-name { - float: left; - margin-left: 32px; - margin-top: 10px; - color: #3172BD; - font-weight: bold; - width: 200px; - -} -.fortune { - margin-top: 50px; - color: #4444FF; - font-weight: bold; - margin-bottom: 20px; -} - - -.directory-end { - clear: both; -} -.directory-name { - text-align: center; -} -.directory-photo { - margin-left: 25px; -} -.directory-details { - font-size: 0.7em; - text-align: center; - margin-left: 5px; - margin-right: 5px; -} -.directory-item { - float: left; - width: 225px; - height: 260px; - overflow: auto; -} - -#directory-search-wrapper { - margin-top: 20px; - margin-right: 20px; - margin-bottom: 50px; -} - -#directory-search-end { -} - -.directory-photo-img { - border: none; -} - - -.pager { - padding: 10px; - text-align: center; - font-size: 1.0em; -} - - -.pager_first, -.pager_last, -.pager_prev, -.pager_next, -.pager_n { - border: 1px solid black; - background: #EEE; - padding: 4px; -} - -.pager_first a, -.pager_last a, -.pager_prev a, -.pager_next a, -.pager_n a { - text-decoration: none; -} - -.pager_current { - border: 1px solid black; - background: #FFCCCC; - padding: 4px; -} - - -#advanced-profile-name-wrapper, -#advanced-profile-gender-wrapper, -#advanced-profile-dob-wrapper, -#advanced-profile-age-wrapper, -#advanced-profile-marital-wrapper, -#advanced-profile-sexual-wrapper, -#advanced-profile-homepage-wrapper, -#advanced-profile-politic-wrapper, -#advanced-profile-religion-wrapper, -#advanced-profile-about-wrapper, -#advanced-profile-interest-wrapper, -#advanced-profile-contact-wrapper, -#advanced-profile-music-wrapper, -#advanced-profile-book-wrapper, -#advanced-profile-tv-wrapper, -#advanced-profile-film-wrapper, -#advanced-profile-romance-wrapper, -#advanced-profile-work-wrapper, -#advanced-profile-education-wrapper { - margin-top: 20px; -} - -#advanced-profile-name-text, -#advanced-profile-gender-text, -#advanced-profile-dob-text, -#advanced-profile-age-text, -#advanced-profile-marital-text, -#advanced-profile-sexual-text, -#advanced-profile-homepage-text, -#advanced-profile-politic-text, -#advanced-profile-religion-text, -#advanced-profile-about-text, -#advanced-profile-interest-text, -#advanced-profile-contact-text, -#advanced-profile-music-text, -#advanced-profile-book-text, -#advanced-profile-tv-text, -#advanced-profile-film-text, -#advanced-profile-romance-text, -#advanced-profile-work-text, -#advanced-profile-education-text { - width: 300px; - float: left; -} - -#advanced-profile-name-end, -#advanced-profile-gender-end, -#advanced-profile-dob-end, -#advanced-profile-age-end, -#advanced-profile-marital-end, -#advanced-profile-sexual-end, -#advanced-profile-homepage-end, -#advanced-profile-politic-end, -#advanced-profile-religion-end { - height: 10px; -} - -#advanced-profile-about-end, -#advanced-profile-interest-end, -#advanced-profile-contact-end, -#advanced-profile-music-end, -#advanced-profile-book-end, -#advanced-profile-tv-end, -#advanced-profile-film-end, -#advanced-profile-romance-end, -#advanced-profile-work-end, -#advanced-profile-education-end { - - -} - -#advanced-profile-name, -#advanced-profile-gender, -#advanced-profile-dob, -#advanced-profile-age, -#advanced-profile-marital, -#advanced-profile-sexual, -#advanced-profile-homepage, -#advanced-profile-politic, -#advanced-profile-religion { - float: left; - -} - - -#advanced-profile-about, -#advanced-profile-interest, -#advanced-profile-contact, -#advanced-profile-music, -#advanced-profile-book, -#advanced-profile-tv, -#advanced-profile-film, -#advanced-profile-romance, -#advanced-profile-work, -#advanced-profile-education { - margin-top: 10px; - margin-left: 50px; - margin-right: 20px; - padding: 10px; - border: 1px solid #CCCCCC; -} - -#advanced-profile-with { - float: left; - margin-left: 15px; -} - -#contact-edit-wrapper { - margin-top: 10px; -} - -#contact-edit-banner-name { - font-size: 1.4em; - font-weight: bold; -} - -#contact-edit-poll-wrapper { - margin-top: 15px; -} - -#contact-edit-poll-text { - margin-top: 15px; - margin-bottom: 5px; -} - -#contact-edit-update-now { - margin-top: 15px; -} - -#contact-edit-links{ - clear: both; -} - -#contact-edit-links ul { - list-style: none; - list-style-type: none; - margin-left: 0px; - padding-left: 0px; -} - -#contact-edit-links li { - margin-top: 5px; -} - -#contact-edit-drop-link { - float: right; - margin-right: 20px; -} - -#contact-edit-nav-end { - clear: both; -} - -#contact-edit-wrapper { - width: 100%; -} - -#contact-edit-end { - clear: both; - margin-top: 15px; -} - -#contact-profile-selector { - width: 175px; - margin-left: 175px; -} - -.contact-edit-submit { - margin-top: 20px; -} - - -.contact-photo-menu-button { - position: absolute; - background-image: url("../img/photo-menu.jpg"); - background-position: top left; - background-repeat: no-repeat; - margin: 0px; padding: 0px; - width: 16px; - height: 16px; - top: 64px; left:0px; - overflow: hidden; - text-indent: 40px; - display: none; - -} -.contact-photo-menu { - width: auto; - border: 2px solid #444444; - background: #FFFFFF; - position: absolute; - left: 0px; top: 90px; - display: none; - z-index: 10000; -} -.contact-photo-menu ul { margin:0px; padding: 0px; list-style: none } -.contact-photo-menu li a { display: block; padding: 2px; } -.contact-photo-menu li a:hover { color: #FFFFFF; background: #3465A4; text-decoration: none; } - - -#block-message, #ignore-message, #archive-message, #lost-contact-message { - color: #FF0000; -} - -#profile-edit-insecure { - margin-top: 20px; - color: #FF0000; - font-size: 1.1em; - border: 1px solid #FF8888; - background-color: #FFEEEE; - padding-left: 5px; - /*: 3px 3px 3px 5px; */ - width: 587px; -} - -/* TinyMCE */ - -DIV#profile-jot-text_toolbargroup{ -background: #FFF; -border: 1px #111; -/*box-shadow: 5px 5px 5px #000 inset;*/ -} - -/* -#profile-jot-text_parent, .mceLayout { - border-radius: 5px; - -moz-border-radius: 5px; - box-shadow: 4px 4px 3px 0 #444444; -} -*/ - - -iframe#profile-jot-text_ifr { -width: 100% !important; -height: 100% !important; -box-shadow: 5px 5px 5px #000 inset !important;} - -tr.mceLast { - -} - -/* Not MCE */ - -#profile-jot-text { - height: 20px; - color:#000; - border: 1px solid #cccccc; - padding: 10px; - width: 90%; - border-radius: 20px; - box-shadow: 4px 4px 3px 0 #666 inset; -} -#profile-jot-text:hover { - color: #000000; -} - -.wall-item-photo, .photo, .contact-block-img, .my-comment-photo { - border-radius: 5px; - -moz-border-radius: 5px; - box-shadow: 4px 4px 3px 0 #444444; -} - - -#datebrowse-sidebar select { - margin-left: 25px; - border-radius: 5px; - -moz-border-radius: 5px; - opacity: 0.3; - filter:alpha(opacity=30); -} - -#datebrowse-sidebar select:hover { - opacity: 1.0; - filter:alpha(opacity=100); -} - -#posted-date-selector { - margin-left: 30px !important; - margin-top: 5px !important; - margin-right: 0px !important; - margin-bottom: 0px !important; -} - -#posted-date-selector:hover { - box-shadow: 4px 4px 3px 0 #444444; - margin-left: 25px !important; - margin-top: 0px !important; - margin-right: 5px !important; - margin-bottom: 5px !important; - -} - -#side-bar-photos-albums { - margin-top: 15px; -} - -#side-bar-photos-albums ul { - list-style: none; -} - -.contact-entry-photo img, .profile-match-photo img, #photo-photo img, .directory-photo-img, .photo-album-photo, .photo-top-photo, .group-selected, .nets-selected, .fileas-selected, .categories-selected { - border-radius: 5px; - -moz-border-radius: 5px; - box-shadow: 4px 4px 3px 0 #444444; -} - -#profile-jot-submit { - height: auto; - background-color: #dd0000; - color: #eeeeec; - font-weight: bold; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - border: 2px outset #222420 !important; - margin: 0; - float: right; - text-shadow: 1px 1px #111; - width: auto; - box-shadow: 5px 5px 5px #444; -} - -#profile-jot-submit:active { - box-shadow: 0 0 0 0; -} - -#sidebar-page-list .label { - margin-left: 5px; -} - - -.photo { - border: 1px solid #AAAAAA; -} - -.photo-top-photo, .photo-album-photo { - padding: 10px; - max-width: 300px; - border: 1px solid #888888; -} - -.rotleft1 { --webkit-transform: rotate(-1deg); --moz-transform: rotate(-1deg); --ms-transform: rotate(-1deg); --o-transform: rotate(-1deg); -} - -.rotleft2 { --webkit-transform: rotate(-2deg); --moz-transform: rotate(-2deg); --ms-transform: rotate(-2deg); --o-transform: rotate(-2deg); -} - -.rotleft3 { --webkit-transform: rotate(-3deg); --moz-transform: rotate(-3deg); --ms-transform: rotate(-3deg); --o-transform: rotate(-3deg); -} - -.rotleft4 { --webkit-transform: rotate(-4deg); --moz-transform: rotate(-4deg); --ms-transform: rotate(-4deg); --o-transform: rotate(-4deg); -} - - -.rotright1 { --webkit-transform: rotate(1deg); --moz-transform: rotate(1deg); --ms-transform: rotate(1deg); --o-transform: rotate(1deg); -} - -.rotright2 { --webkit-transform: rotate(2deg); --moz-transform: rotate(2deg); --ms-transform: rotate(2deg); --o-transform: rotate(2deg); -} - -.rotright3 { --webkit-transform: rotate(3deg); --moz-transform: rotate(3deg); --ms-transform: rotate(3deg); --o-transform: rotate(3deg); -} - -.rotright4 { --webkit-transform: rotate(4deg); --moz-transform: rotate(4deg); --ms-transform: rotate(4deg); --o-transform: rotate(4deg); -} - - - -/** acl **/ -#photo-edit-perms-select, -#photos-upload-permissions-wrapper, -#profile-jot-acl-wrapper{ - display:block!important; -} - -#photos-usage-message { - margin-bottom: 15px; -} - - -#acl-wrapper { - width: 690px; - float:left; -} -#acl-search { - float:right; - background: #ffffff url("../../../../images/search_18.png") no-repeat right center; - padding-right:20px; -} -#acl-showall { - float: left; - display: block; - width: auto; - height: 18px; - background-color: #cccccc; - background-image: url("../../../../images/show_all_off.png"); - background-position: 7px 7px; - background-repeat: no-repeat; - padding: 7px 5px 0px 30px; - -webkit-border-radius: 5px ; - -moz-border-radius: 5px; - border-radius: 5px; - color: #999999; -} -#acl-showall.selected { - color: #000000; - background-color: #ff9900; - background-image: url("../../../../images/show_all_on.png"); -} - -#acl-list { - height: 210px; - border: 1px solid #cccccc; - clear: both; - margin-top: 30px; - overflow: auto; -} -#acl-list-content { - -} -.acl-list-item { - display: block; - width: 150px; - height: 30px; - border: 1px solid #cccccc; - margin: 5px; - float: left; -} -.acl-list-item img{ - width:22px; - height: 22px; - float: left; - margin: 4px; -} -.acl-list-item p { height: 12px; font-size: 10px; margin: 0px; padding: 2px 0px 1px; overflow: hidden;} -.acl-list-item a { - font-size: 8px; - display: block; - width: 40px; - height: 10px; - float: left; - color: #999999; - background-color: #cccccc; - background-position: 3px 3px; - background-repeat: no-repeat; - margin-right: 5px; - -webkit-border-radius: 5px ; - -moz-border-radius: 5px; - border-radius: 5px; - padding-left: 15px; -} -#acl-wrapper a:hover { - text-decoration: none; - color:#000000; -} -.acl-button-show { background-image: url("../../../../images/show_off.png"); } -.acl-button-hide { background-image: url("../../../../images/hide_off.png"); } - -.acl-button-show.selected { - color: #000000; - background-color: #9ade00; - background-image: url("../../../../images/show_on.png"); -} -.acl-button-hide.selected { - color: #000000; - background-color: #ff4141; - background-image: url("../../../../images/hide_on.png"); -} -.acl-list-item.groupshow { border-color: #9ade00; } -.acl-list-item.grouphide { border-color: #ff4141; } -/** /acl **/ - - - -#group-new-submit-wrapper { - margin-top: 30px; -} - -#group-edit-name-label { - float: left; - width: 175px; - margin-top: 20px; - margin-bottom: 20px; -} - -#group-edit-name { - float: left; - width: 225px; - margin-top: 20px; - margin-bottom: 20px; -} - -#group-edit-name-wrapper { - - -} - - -#group_members_select_label { - display: block; - float: left; - width: 175px; -} - -.group_members_select { - float: left; - width: 230px; - overflow: auto; -} - -#group_members_select_end { - clear: both; -} -#group-edit-name-end { - clear: both; -} - -#prvmail-to-label, #prvmail-subject-label, #prvmail-message-label { - margin-bottom: 10px; - margin-top: 20px; -} - -#prvmail-submit { - float: left; - margin-top: 10px; - margin-right: 30px; -} -#prvmail-upload-wrapper, -#prvmail-link-wrapper, -#prvmail-rotator-wrapper { - float: left; - margin-top: 10px; - margin-right: 10px; - width: 24px; -} - -#prvmail-end { - clear: both; -} - -.mail-list-sender, -.mail-list-detail { - float: left; -} -.mail-list-detail { - margin-left: 20px; -} - -.mail-list-subject { - font-size: 1.1em; - margin-top: 10px; -} -a.mail-list-link { - display: block; - font-size: 1.3em; - padding: 4px 0; -} - -/* -*a.mail-list-link:hover { -* background-color: #15607B; -* color: #F5F6FB; -*} -*/ - -.mail-list-outside-wrapper-end { - clear: both; -} - -.mail-list-outside-wrapper { - margin-top: 30px; -} - -.mail-list-delete-wrapper { - float: right; - margin-right: 30px; - margin-top: 15px; -} - -.mail-list-delete-icon { - border: none; -} - -.mail-conv-sender, -.mail-conv-detail { - float: left; -} -.mail-conv-detail { - margin-left: 20px; - width: 500px; -} - -.mail-conv-subject { - font-size: 1.4em; - margin: 10px 0; -} - -.mail-conv-outside-wrapper-end { - clear: both; -} - -.mail-conv-outside-wrapper { - margin-top: 30px; -} - -.mail-conv-delete-wrapper { - float: right; - margin-right: 30px; - margin-top: 15px; -} -.mail-conv-break { - clear: both; -} - -.mail-conv-delete-icon { - border: none; -} - -.message-links ul { - list-style-type: none; - padding: 0px; -} - -.message-links li { - margin-top: 10px; - float: left; -} -.message-links a { - padding: 3px 5px; -} - -.message-links-end { - clear: both; -} - -#sidebar-group-list ul { - list-style-type: none; -} - -#sidebar-group-list .icon, #sidebar-group-list .iconspacer { - display: inline-block; - height: 12px; - width: 12px; -} - -#sidebar-group-list li { - margin-top: 10px; -} - -.nets-ul, .fileas-ul, .categories-ul { - list-style-type: none; -} - -.nets-ul li, .fileas-ul li, .categories-ul li { - margin-top: 10px; -} - -.nets-link { - margin-left: 24px; -} -.nets-all { - margin-left: 42px; -} - -.fileas-link, .categories-link { - margin-left: 24px; -} - -.fileas-all, .categories-all { - margin-left: 0px; -} - -#search-save { - margin-left: 5px; -} -.groupsideedit { - margin-right: 10px; -} -#saved-search-ul { - list-style-type: none; -} -.savedsearchdrop, .savedsearchterm { - float: left; - margin-top: 10px; -} -.savedsearchterm { - margin-left: 10px; -} - - -#side-follow-wrapper { - margin-top: 20px; -} -#side-follow-url, #side-peoplefind-url { - margin-top: 5px; -} -#side-follow-submit, #side-peoplefind-submit { - margin-top: 15px; -} - -#side-match-link { - margin-top: 10px; -} - -aside input[type='text'] { - width: 174px; -} - -.widget { - border-bottom: 1px solid #eec; - padding: 8px; - margin-top: 5px; - -moz-border-radius:5px; - -webkit-border-radius:5px; - border-radius:5px; - -} - - -/*.photos { - height: auto; - overflow: auto; -}*/ - -.photos-end { - clear: both; - margin-bottom: 25px; -} - -.photo-album-image-wrapper { - float: left; - margin-top: 15px; - margin-right: 15px; - margin-left: 15px; -/* width: 200px; height: 200px; - overflow: hidden; - position: relative; */ -} -.photo-album-image-wrapper .caption { - display: none; - width: 100%; -/* position: absolute; */ - bottom: 0px; - padding: 0.5em 0.5em 0px 0.5em; - background-color: rgba(245, 245, 255, 0.8); - border-bottom: 2px solid #CCC; - margin: 0px; -} -.photo-album-image-wrapper a:hover .caption { - display:block; -} - -#photo-album-end { - clear: both; - margin-bottom: 25px; -} - -.photo-top-image-wrapper { -/* position: relative; */ - float: left; - margin-top: 15px; - margin-right: 15px; - margin-left: 15px; - margin-bottom: 15px; -/* width: 200px; height: 200px; - overflow: hidden; */ -} -.photo-top-album-name { - width: 100%; - min-height: 2em; -/* position: absolute; */ - bottom: 0px; - padding: 0px 3px; - padding-top: 0.5em; - background-color: rgb(255, 255, 255); -} -#photo-top-end { - clear: both; -} - -#photo-top-links { - margin-bottom: 30px; - margin-left: 30px; -} - -#photos-upload-newalbum-div { - float: left; - width: 175px; -} - -#photos-upload-noshare { - margin-bottom: 10px; -} -#photos-upload-existing-album-text { - float: left; - width: 175px; -} -#photos-upload-newalbum { - float: left; -} -#photos-upload-album-select { - float: left; -} - -#photos-upload-spacer { - margin-top: 25px; -} -#photos-upload-new-end, #photos-upload-exist-end { - clear: both; -} -#photos-upload-exist-end { - margin-bottom: 15px; -} -#photos-upload-submit { - margin-top: 15px; -} - -#photos_upload_applet_wrapper { - margin-bottom: 15px; -} - -#photos-upload-no-java-message { - margin-bottom: 15px; -} - -#profile-jot-desc { - /*float: left;*/ - width: 480px; - color: #FF0000; - margin-top: 10px; - margin-bottom: 10px; -} - -#character-counter { - float: right; - font-size: 120%; -} - -#character-counter.grey { - color: #888888; -} - -#character-counter.orange { - color: orange; -} -#character-counter.red { - color: red; -} - -#profile-jot-banner-end { - /* clear: both; */ -} - -#photos-upload-select-files-text { - margin-top: 15px; - margin-bottom: 15px; -} - -#photos-upload-perms-menu, #photos-upload-perms-menu:visited, #photos-upload-perms-menu:link { - color: #8888FF; - text-decoration: none; - cursor: pointer; -} - -#photos-upload-perms-menu:hover { - color: #0000FF; - text-decoration: underline; - cursor: pointer; -} - - -#settings-default-perms-menu { - margin-top: 15px; - margin-bottom: 15px; -} - -#photo-edit-caption-label, #photo-edit-tags-label, #photo-edit-albumname-label, #photo-edit-rotate-label { - float: left; - width: 150px; -} - -#photo-edit-perms-end { - margin-bottom: 15px; -} - -#photo-edit-caption, #photo-edit-newtag, #photo-edit-albumname, #photo-edit-rotate { - float: left; - margin-bottom: 25px; -} -#photo-edit-link-wrap { - margin-bottom: 15px; -} -#photo-like-div { - margin-bottom: 25px; -} - -#photo-edit-caption-end, #photo-edit-tags-end, #photo-edit-albumname-end, #photo-edit-rotate-end { - clear: both; -} - -#photo-edit-rotate-end { - margin-bottom: 15px; -} - -#photo-edit-delete-button { - margin-left: 200px; -} -#photo-edit-end { - margin-bottom: 35px; -} -#photo-caption { - font-size: 110%; - font-weight: bold; - margin-top: 15px; - margin-bottom: 15px; -} - -#in-this-photo-text { - color: #0000FF; - margin-left: 30px; -} - -#in-this-photo { - margin-left: 60px; - margin-top: 10px; - margin-bottom: 20px; -} - -#photo-album-edit-submit, #photo-album-edit-drop { - margin-top: 15px; - margin-bottom: 15px; -} - -#photo-album-edit-drop { - margin-left: 200px; -} - -.group-delete-wrapper { - float: right; - margin-right: 50px; -} - -#install-dbhost-label, -#install-dbuser-label, -#install-dbpass-label, -#install-dbdata-label, -#install-tz-desc { - float: left; - width: 250px; - margin-top: 10px; - margin-bottom: 10px; - -} - -#install-dbhost, -#install-dbuser, -#install-dbpass, -#install-dbdata { - float: left; - width: 200px; - margin-left: 20px; -} - -#install-dbhost-end, -#install-dbuser-end, -#install-dbpass-end, -#install-dbdata-end, -#install-tz-end { - clear: both; -} - -#install-form select#timezone_select { - float: left; - margin-top: 18px; - margin-left: 20px; -} - -#dfrn-request-networks { - margin-bottom: 30px; -} - -#pause { - position: fixed; - bottom: 5px; - right: 5px; -} - -.sparkle { - cursor: url('../img/lock.cur'), pointer; -/* cursor: pointer !important; */ -} - -.contact-block-div { - float: left; - width: 52px; - height: 52px; -} -.contact-block-textdiv { - float: left; - width: 150px; - height: 34px; -} - -#contact-block-end { - clear: both; -} -.contact-block-link { - float: left; -} -.contact-block-img { - width:30px; - height:30px; -} - -#tag-remove { - margin-bottom: 15px; -} - -#tagrm li { - margin-bottom: 10px; -} - -#tagrm-submit, #tagrm-cancel { - margin-top: 25px; -} - -#tagrm-cancel { - margin-left: 15px; -} - -.wall-item-conv { - margin-top: 5px; - margin-bottom: 25px; -} - -#search-submit { - margin-left: 15px; -} - -#search-box { - margin-bottom: 25px; -} - -#nav-searchbar { - float: right; - margin-top: 4px; -} - -#nav-search-text:hover { - background-color: #FFF; - opacity: 1; -} - -#nav-search-text { - border-radius: 14px; - background-color: #fff; - opacity: 0.92; -} - -#nav-user-linkmenu img { - border-radius: 5px; -} - -.location-label, .gender-label, .marital-label, .homepage-label { - float: left; - text-align: right; - display: block; - width: 65px; -} - -.adr, .x-gender, .marital-text, .homepage-url { - float: left; - display: block; - margin-left: 8px; -} - -.profile-clear { - clear: both; -} - - -.clear { - clear: both; -} - -.cc-license { - margin-top: 50px; - font-size: 70%; -} - - -#plugin-settings-link, #account-settings-link { - margin-bottom: 10px; -} - -#uexport-link { - margin-bottom: 20px; -} - -/* end from default */ - - -.fn { - padding: 0px 0px 5px 0px; - font-size: 120%; - font-weight: bold; - color: #dd0000; -} - -.vcard .title { - margin-bottom: 5px; - margin-left: 12px; -} - -.vcard dl { - clear: both; -} - -#birthday-title { - float: left; - font-weight: bold; -} - -#birthday-adjust { - float: left; - font-size: 75%; - margin-left: 10px; -} - -#birthday-title-end { - clear: both; -} - -.birthday-list { - margin-left: 15px; -} - -#birthday-wrapper { - margin-bottom: 20px; -} - -#network-new-link { - margin-top: 15px; - margin-bottom: 15px; -} - - -.tool-wrapper { - float: left; - margin-left: 15px; -} - -.tool-link { - cursor: pointer; -} - -.eventcal { - float: left; - font-size: 20px; -} - -#event-summary-text { - margin-top: 15px; -} - -#event-share-checkbox { - float: left; - margin-top: 10px; -} - -#event-share-text { - float: left; - margin-top: 10px; - margin-left: 5px; -} - -#event-share-break { - clear: both; - margin-bottom: 10px; -} - -#event-summary { - width: 400px; - font-weight: bold; - font-size:2em; -} - -.vevent { -border: 1px solid #CCCCCC; - -} - -.vevent .event-summary { - margin-left: 10px; - margin-right: 10px; - font-weight: bold; -} - -.vevent .event-description, .vevent .event-location { - margin-left: 10px; - margin-right: 10px; -} -.vevent .event-start { - margin-left: 10px; - margin-right: 10px; -} - -#new-event-link { - margin-bottom: 10px; -} - -.edit-event-link, .plink-event-link { - float: left; - margin-top: 4px; - margin-right: 4px; - margin-bottom: 15px; -} - -.event-description:before { - content: url('../../../../images/calendar.png'); - margin-right: 15px; -} - -.event-start, .event-end { - margin-left: 10px; - width: 330px; - clear: both; -} - -.event-start .dtstart, .event-end .dtend { - float: right; -} - -.event-list-date { - margin-bottom: 10px; -} - -.prevcal, .nextcal { - float: left; - margin-left: 32px; - margin-right: 32px; - margin-top: 64px; -} -.event-calendar-end { - clear: both; -} - - -.calendar { - font-family: Courier, monospace; -} -.today { - font-weight: bold; - color: #FF0000; -} - -.settings-block { - border: 1px solid #AAA; - margin: 10px; - padding: 10px; -} - -.app-title { - margin: 10px; -} - -#identity-manage-desc { - margin-top:15px; - margin-bottom: 15px; -} - -#identity-manage-choose { - margin-bottom: 15px; -} - -#identity-submit { - margin-top: 20px; -} - -#photo-prev-link, #photo-next-link { - padding: 10px; - float: left; -} - -#photo-photo { - float: left; -} - -#photo-photo-end { - clear: both; -} - -.profile-match-photo { - float: left; - text-align: center; - width: 120px; -} - -.profile-match-name { - float: left; - text-align: center; - width: 120px; - overflow: hidden; -} - -.profile-match-break, -.profile-match-end { - clear: both; -} - -.profile-match-connect { - text-align: center; - font-weight: bold; -} - -.profile-match-wrapper { - float: left; - padding: 10px; - width: 120px; - height: 120px; - scroll: auto; -} -#profile-match-wrapper-end { - clear: both; -} -.side-link { - margin-bottom: 15px; -} - -#language-selector { - position: absolute; - top: 0px; - left: 16px; -} - -#group-members { - margin-top: 20px; - padding: 10px; - height: 250px; - overflow: auto; - border: 1px solid #ddd; -} - -#group-members-end { - clear: both; -} - -#group-separator { - margin-top: 10px; - margin-bottom: 10px; -} - -#group-all-contacts { - padding: 10px; - height: 450px; - overflow: auto; - border: 1px solid #ddd; -} - -#group-all-contacts-end { - clear: both; - margin-bottom: 10px; -} - -#group-edit-desc { - margin-top: 15px; -} - - -#prof-members { - margin-top: 20px; - padding: 10px; - height: 250px; - overflow: auto; - border: 1px solid #ddd; -} - -#prof-members-end { - clear: both; -} - -#prof-separator { - margin-top: 10px; - margin-bottom: 10px; -} - -#prof-all-contacts { - padding: 10px; - height: 450px; - overflow: auto; - border: 1px solid #ddd; -} - -#prof-all-contacts-end { - clear: both; - margin-bottom: 10px; -} - -#prof-edit-desc { - margin-top: 15px; -} - -#crepair-name-label, -#crepair-nick-label, -#crepair-attag-label, -#crepair-url-label, -#crepair-request-label, -#crepair-confirm-label, -#crepair-notify-label, -#crepair-photo-label, -#crepair-poll-label { - float: left; - width: 200px; - margin-bottom: 15px; -} - -#crepair-name, -#crepair-nick, -#crepair-attag, -#crepair-url, -#crepair-request, -#crepair-confirm, -#crepair-notify, -#crepair-photo, -#crepair-poll { - float: left; - width: 300px; -} - - -#netsearch-box { - margin-top: 20px; -} - -#netsearch-box #search-submit { - margin: 5px 0px 0px 0px; -} - -.required { - color: #FF0000; -} - -#event-start-text, #event-finish-text { - margin-top: 10px; - margin-bottom: 5px; -} - -#event-nofinish-checkbox, #event-nofinish-text, #event-adjust-checkbox, #event-adjust-text { - float: left; -} -#event-datetime-break { - margin-bottom: 10px; -} - -#event-nofinish-break, #event-adjust-break { - clear: both; -} - -#event-desc-text, #event-location-text { - margin-top: 10px; - margin-bottom: 5px; -} -#event-submit { - margin-top: 10px; -} - -.body-tag, .filesavetags, .categorytags { - opacity: 0.5; - filter:alpha(opacity=50); -} - -.body-tag:hover, .filesavetags:hover, .categorytags:hover { - opacity: 1.0 !important; - filter:alpha(opacity=100) !important; -} - -.item-select { - opacity: 0.1; - filter:alpha(opacity=10); - float: right; - margin-right: 10px; - -} -.item-select:hover, .checkeditem { - opacity: 1; - filter:alpha(opacity=100); -} - - -#item-delete-selected { - margin-top: 30px; -} - -#item-delete-selected-end { - clear: both; -} -#item-delete-selected-icon, #item-delete-selected-desc { - float: left; - margin-right: 5px; -} -#item-delete-selected-desc:hover { - text-decoration: underline; -} - -#lang-select-icon { - cursor: pointer; - position: absolute; - left: 4px; -/*because of the shape, if this is lined up properly it looks like it's lined up wrong... -lining it up too high is the only way to make it look correctly aligned. The human -brain is weird like that */ - top: 2px; -} - -#lang-select-icon:hover { - opacity: 1; - filter:alpha(opacity=100); -} - -.notif-image { - height: 80px; - width: 80px; - margin-right: 15px; -} -.notification-listing-end { - clear: both; - margin-bottom: 15px; -} - - - -/** - * Plugins settings - */ - -.settings-block > h3, -.settings-heading { - border-bottom: 1px solid #babdb6; -} - - -/** - * Form fields - */ -.field { - margin-bottom: 10px; - padding-bottom: 10px; - overflow: auto; - width: 100% -} - -.field label { - float: left; - width: 200px; -} - -.field input, -.field textarea { - width: 400px; -} -.field textarea { height: 100px; } -.field_help { - display: block; - margin-left: 200px; - color: #666666; - -} - -.field_abook_help { - color: #888; -} -.abook-them { - margin-left: 225px; - margin-bottom: 15px; -} -.abook-me { - margin-left: 36px; - margin-bottom: 15px; -} -.acheckbox { - margin-bottom: 5px !important; -} - -#contact-slider { - width: 600px !important; -} - -.abook-edit-them, .abook-edit-me { - float: left; - width: 100px !important; -} -.field_abook_help { - float: left; -} - -.field .onoff { - float: left; - width: 80px; - margin-right: 15px; -} -.field .onoff a { - display: block; - border:1px solid #666666; - background-image:url("../../../../images/onoff.jpg"); - background-repeat: no-repeat; - padding: 4px 2px 2px 2px; - height: 16px; - text-decoration: none; -} -.field .onoff .off { - border-color:#666666; - padding-left: 40px; - background-position: left center; - background-color: #cccccc; - color: #666666; - text-align: right; -} -.field .onoff .on { - border-color:#204A87; - padding-right: 40px; - background-position: right center; - background-color: #D7E3F1; - color: #204A87; - text-align: left; -} -.hidden { display: none!important; } - -.field.radio .field_help { margin-left: 0px; } - -/** - * ADMIN - */ -#pending-update { - float:right; - color: #ffffff; - font-weight: bold; - background-color: #FF0000; - padding: 0em 0.3em; - -} -#adminpage dl { - clear: left; - margin-bottom: 2px; - padding-bottom: 2px; - border-bottom: 1px solid black; -} -#adminpage dt { - width: 200px; - float: left; - font-weight: bold; -} -#adminpage dd { - margin-left: 200px; -} - -#adminpage h3 { - border-bottom: 1px solid #cccccc; -} -#adminpage .field label { - font-weight: bold; -} -#adminpage .submit { - clear:left; - text-align: right; -} - -#adminpage #pluginslist { - margin: 0px; padding: 0px; -} -#adminpage .plugin { - list-style: none; - display: block; - border: 1px solid #888888; - padding: 1em; - margin-bottom: 5px; - clear: left; -} -#adminpage .plugin .desc { margin-left: 2.5em;} -#adminpage .toggleplugin { - float:left; - margin-right: 1em; -} - -#adminpage table {width:100%; border-bottom: 1px solid #000000; margin: 5px 0px;} -#adminpage table th { text-align: left;} -#adminpage td .icon { float: left;} -#adminpage table#users img { width: 16px; height: 16px; } -#adminpage table tr:hover { background-color: #bbc7d7; } -#adminpage .selectall { text-align: right; } - -/* - * UPDATE - */ -.popup { - width: 100%; height: 100%; - top:0px; left:0px; - position: absolute; - display: none; -} - -.popup .background { - background-color: rgba(0,0,0,128); - opacity: 0.5; - width: 100%; height: 100%; - position: absolute; - top:0px; left:0px; -} -.popup .panel { - top:25%;left:25%;width:50%;height:50%; - padding: 1em; - position: absolute; - border: 4px solid #000000; - background-color: #FFFFFF; -} -.popup .panel .panel_text { display: block; overflow: auto; height: 80%; } -.popup .panel .panel_in { width: 100%; height: 100%; position: relative; } -.popup .panel .panel_actions { width: 100%; bottom: 4px; left: 0px; position: absolute; } -.panel_text .progress { width: 50%; overflow: hidden; height: auto; border: 1px solid #cccccc; margin-bottom: 5px} -.panel_text .progress span {float: right; display: block; width: 25%; background-color: #eeeeee; text-align: right;} - -/** - * OAuth - */ -.oauthapp { - height: auto; overflow: auto; - border-bottom: 2px solid #cccccc; - padding-bottom: 1em; - margin-bottom: 1em; -} -.oauthapp img { - float: left; - width: 48px; height: 48px; - margin: 10px; -} -.oauthapp img.noicon { - background-image: url("../../../../images/icons/48/plugin.png"); - background-position: center center; - background-repeat: no-repeat; -} -.oauthapp a { - float: left; -} - -/** - * ICONS - */ -.iconspacer { - display: block; width: 16px; height: 16px; -} - -.icon { - display: block; width: 16px; height: 16px; - background-image: url('../../../../images/icons.png'); -} -.article { background-position: 0px 0px;} -.audio { background-position: -16px 0px;} -.block { background-position: -32px 0px;} -.drop { background-position: -48px 0px;} -.drophide { background-position: -64px 0px;} -.edit { background-position: -80px 0px;} -.camera { background-position: -96px 0px;} -.dislike { background-position: -112px 0px;} -.like { background-position: -128px 0px;} -.link { background-position: -144px 0px;} - -.globe { background-position: 0px -16px;} -.noglobe { background-position: -16px -16px;} -.no { background-position: -32px -16px;} -.pause { background-position: -48px -16px;} -.play { background-position: -64px -16px;} -.pencil { background-position: -80px -16px;} -.small-pencil { background-position: -96px -16px;} -.recycle { background-position: -112px -16px;} -.remote-link { background-position: -128px -16px;} -.share { background-position: -144px -16px;} - -.tools { background-position: 0px -32px;} -.lock { background-position: -16px -32px;} -.unlock { background: url(../img/jotperms.png) no-repeat;} -.video { background-position: -48px -32px;} -.youtube { background-position: -64px -32px;} -.attach { background-position: -80px -32px; } -.language { background-position: -96px -32px; } -.prev { background-position: -112px -32px; } -.next { background-position: -128px -32px; } -.on { background-position: -144px -32px; } - -.off { background-position: 0px -48px; } -.starred { background-position: -16px -48px; } -.unstarred { background-position: -32px -48px; } -.tagged { background-position: -48px -48px; } -.yellow { background-position: -64px -48px; } - - -.filer-icon { - display: block; width: 16px; height: 16px; - background-image: url('../img/file.gif'); -} - -.icon.dim { opacity: 0.3;filter:alpha(opacity=30); } -[class^="comment-edit-bb"] { - list-style: none; - display: none; - margin: 0px 0 -5px 0px; - padding: 0px; - width: 75%; -} -[class^="comment-edit-bb"] > li { - display: inline-block; - margin: 10px 10px 0 0; - visibility: none; -} -[class^="comment-edit-bb-end"] { - clear: both; -} -.editicon { - display: inline-block; - width: 16px; - height: 16px; - background-image: url(../img/bbedit.png); - background-color: #fff; - text-decoration: none; -} -.editicon:hover { - background-color: #ccc; -} -.boldbb { - background-position: 0px 0px; -} -.boldbb:hover { - background-position: 0px -16px; -} -.italicbb { - background-position: -16px 0px; -} -.italicbb:hover { - background-position: -16px -16px; -} -.underlinebb { - background-position: -32px 0px; -} -.underlinebb:hover { - background-position: -32px -16px; -} -.quotebb { - background-position: -48px 0px; -} -.quotebb:hover { - background-position: -48px -16px; -} -.codebb { - background-position: -64px 0px; -} -.codebb:hover { - background-position: -64px -16px; -} -.imagebb { - background-position: -80px 0px; -} -.imagebb:hover { - background-position: -80px -16px; -} -.urlbb { - background-position: -96px 0px; -} -.urlbb:hover { - background-position: -96px -16px; -} -.videobb { - background-position: -112px 0px; -} -.videobb:hover { - background-position: -112px -16px; -} - -.attachtype { - display: block; width: 20px; height: 23px; - float: left; - background-image: url('../../../../images/content-types.png'); -} - -.body-attach { - margin-top: 10px; -} - -.type-video { background-position: 0px 0px; } -.type-image { background-position: -20px 0px; } -.type-audio { background-position: -40px 0px; } -.type-text { background-position: -60px 0px; } -.type-unkn { background-position: -80px 0px; } - - -/* autocomplete popup */ -.acpopup { - max-height:150px; - background-color:#ffffff; - overflow:auto; - z-index:100000; - border:1px solid #cccccc; -} -.acpopupitem { - background-color:#ffffff; padding: 4px; - clear:left; -} -.acpopupitem img { - float: left; - margin-right: 4px; -} - -.acpopupitem.selected { - color: #FFFFFF; background: #3465A4; -} - -/* popup notifications */ -div.jGrowl div.notice { - background: #511919 url("../../../../images/icons/48/notice.png") no-repeat 5px center; - color: #ffffff; - padding-left: 58px; -} -div.jGrowl div.info { - background: #364e59 url("../../../../images/icons/48/info.png") no-repeat 5px center; - color: #ffffff; - padding-left: 58px; -} -#jGrowl.top-right { - top: 15px; - right: 15px; -} -.qcomment { - border: 1px solid #EEE; - padding: 3px; - margin-top: 15px; - margin-left: 25px; - width: 125px; - overflow-y: auto; -} - - -.qcomment option { - width: 125px; - overflow-x: hidden; -} - -.qcomment { - opacity: 0.3; - filter:alpha(opacity=30); -} -.qcomment:hover { - opacity: 1.0; - filter:alpha(opacity=100); -} - - -#id_term_label { - width:75px; -} -#id_term { - width:100px; -} - -#recip { - -} -.autocomplete-w1 { background: #ffffff; no-repeat bottom right; position:absolute; top:0px; left:0px; margin:6px 0 0 6px; /* IE6 fix: */ _background:none; _margin:1px 0 0 0; } -.autocomplete { color:#000; border:1px solid #999; background:#FFF; cursor:default; text-align:left; max-height:350px; overflow:auto; margin:-6px 6px 6px -6px; /* IE6 specific: */ _height:350px; _margin:0; _overflow-x:hidden; } -.autocomplete .selected { background:#F0F0F0; } -.autocomplete div { padding:2px 5px; white-space:nowrap; overflow:hidden; } - -#datebrowse-sidebar select { - margin-left: 25px; -} - - -.jslider .jslider-scale ins { - color: #333; - font-size: 12px; - width: 100px; - text-align: center; -} - -/* -Where did this come from? There isn't a ../img/slider.png. I don't remember adding this, but it used to work... - -.jslider .jslider-bg, -.jslider .jslider-pointer { - background: url("../img/slider.png") !important; -} -*/ - - -.slider { - margin-top: 10px; - margin-bottom: 30px; -} - - -#main-slider { - position: relative; - left: 5%; - width: 90%; -} - - -#contact-slider { - position: relative; - left: 5%; - width: 90%; -} - -/* nav */ -nav { - width: 100%; - height: 32px; - position: fixed; - left: 0px; - top: 0px; - padding: 0px; - background-color: #d00; - color: #eec; - z-index: 100; - -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); - -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); - box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); - -/* TODO find a better way to do this without different code for every single browser. */ - - background-image: linear-gradient(bottom, #f00 26%, #b00 82%); - background-image: -o-linear-gradient(bottom, #f00 26%, #b00 82%); - background-image: -moz-linear-gradient(bottom, #000 26%, #2e2f2e 82%); - background-image: -webkit-linear-gradient(bottom, #f00 26%, #b00 82%); - background-image: -ms-linear-gradient(bottom, #f00 26%, #b00 82%); - - background-image: -webkit-gradient( -linear, -left bottom, -left top, -color-stop(0.26, #f00), -color-stop(0.82, #b00) -); -} -nav a, -nav a:active, -nav a:visited, -nav a:link, -nav a:hover { - color: #ffffff; - text-decoration: none; - outline: none; -} -nav ul { - margin: 0px; - padding: 0px 20px; -} -nav ul li { - list-style: none; - margin: 0px; - padding: 0px; - float: left; -} -nav ul li .menu-popup { - left: 0px; - right: auto; - top: 33px; -} -nav .nav-menu-icon { - position: relative; - height: 22px; - padding: 5px; - margin: 0px 10px; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -nav .nav-menu-icon.selected { - background-color: #FF0000; -} -nav .nav-menu-icon img { - width: 22px; - height: 22px; -} -nav .nav-menu-icon .nav-notify { - top: 3px; -} -nav .nav-menu { - position: relative; - height: 16px; - padding: 5px; - margin: 0px 15px; - font-size: 14px; -} -nav .nav-menu.selected { -border-bottom: 3px solid #f00; - -} -nav .nav-notify { - background-color: #0d0; - color: #fff; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -nav .nav-notify.show { - display: block; -} -nav #nav-help-link, -nav #nav-search-link, -nav #nav-directory-link, -nav #nav-apps-link, -nav #nav-user-linkmenu, -nav #nav-site-linkmenu { - float: right; -} -nav #nav-help-link .menu-popup, -nav #nav-search-link .menu-popup, -nav #nav-directory-link .menu-popup, -nav #nav-apps-link .menu-popup, -nav #nav-site-linkmenu .menu-popup { - right: 0px; - left: auto; -} -nav #nav-notifications-linkmenu.on .icon.s22.notify, -nav #nav-notifications-linkmenu.selected .icon.s22.notify { - background-image: url("../../../../images/icons/22/notify_on.png"); -} -nav #nav-apps-link.selected { - background-color: #364e59; -} -ul.menu-popup { - position: absolute; - display: none; - width: 10em; - background: #dd0000; - color: #eec; - padding: 0px; - list-style: none; - border-radius: 0px 0px 20px 20px; - z-index: 100000; - -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); - -moz-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); - box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); -} -ul.menu-popup a { - display: block; - color: #eec; - padding: 5px 10px; - text-decoration: none; -} -ul.menu-popup a:hover { - background-color: #eec; - color: #f00; -} -ul.menu-popup .menu-sep { - border-top: 1px solid #9eabb0; -} -ul.menu-popup li { - float: none; - overflow: auto; - height: auto; - display: block; -} -ul.menu-popup li img { - float: left; - width: 16px; - height: 16px; - padding-right: 5px; -} -ul.menu-popup .empty { - padding: 5px; - text-align: center; - color: #9eabb0; -} -ul.menu-popup .toolbar { - background-color: #9eabb0; - height: auto; - overflow: auto; -} -ul.menu-popup .toolbar a { - float: right; -} -ul.menu-popup .toolbar a:hover { - background-color: #ffffff; -} -/* header */ -header { - position: fixed; - left: 43%; - right: 43%; - top: 0px; - margin: 0px; - padding: 0px; - /*width: 100%; height: 12px; */ - - z-index: 110; - color: #ffffff; -} - - -/* notifications popup menu */ -.nav-notify { - display: none; - position: absolute; - font-size: 10px; - padding: 1px 3px; - top: 0px; - right: -10px; - min-width: 15px; - text-align: right; -} -.nav-notify.show { - display: block; -} -ul.menu-popup { - position: absolute; - display: none; - width: 10em; - margin: 0px; - padding: 0px; - list-style: none; - z-index: 100000; -/* top: 90px; */ -/* left: 400px; */ -} -#nav-notifications-menu { - width: 320px; - max-height: 400px; - overflow-y: scroll;overflow-style:scrollbar; - background-color:#FFFFFF; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - border-radius:5px; - border: 1px solid #888; -} -#nav-notifications-menu .contactname { font-weight: bold; font-size: 0.9em; } -#nav-notifications-menu img { float: left; margin-right: 5px; } -#nav-notifications-menu .notif-when { font-size: 0.8em; display: block; } -#nav-notifications-menu li { - padding: 7px 0px 7px 10px; - word-wrap:normal; - border-bottom: 1px solid #000; -} - -#nav-notifications-menu li:hover { - -} - -#nav-notifications-menu a:hover { - text-decoration: underline; -} - -.notif-item a { - color: #000000; -} - -.notif-item a:hover { - text-decoration: underline; -} - -.notif-image { - width: 32px; - height: 32px; - padding: 7px 7px 0px 0px; -} - -.notify-seen { - background: #DDDDDD; -} - diff --git a/view/theme/fancyred/img/bbedit.png b/view/theme/fancyred/img/bbedit.png Binary files differdeleted file mode 100644 index b89f2f7a8..000000000 --- a/view/theme/fancyred/img/bbedit.png +++ /dev/null diff --git a/view/theme/fancyred/img/bg.png b/view/theme/fancyred/img/bg.png Binary files differdeleted file mode 100644 index eae49e037..000000000 --- a/view/theme/fancyred/img/bg.png +++ /dev/null diff --git a/view/theme/fancyred/img/border.jpg b/view/theme/fancyred/img/border.jpg Binary files differdeleted file mode 100644 index 034a1cb63..000000000 --- a/view/theme/fancyred/img/border.jpg +++ /dev/null diff --git a/view/theme/fancyred/img/editicons.png b/view/theme/fancyred/img/editicons.png Binary files differdeleted file mode 100644 index 171a40876..000000000 --- a/view/theme/fancyred/img/editicons.png +++ /dev/null diff --git a/view/theme/fancyred/img/events.png b/view/theme/fancyred/img/events.png Binary files differdeleted file mode 100644 index 96dd86899..000000000 --- a/view/theme/fancyred/img/events.png +++ /dev/null diff --git a/view/theme/fancyred/img/ff-16.jpg b/view/theme/fancyred/img/ff-16.jpg Binary files differdeleted file mode 100644 index 3621f5914..000000000 --- a/view/theme/fancyred/img/ff-16.jpg +++ /dev/null diff --git a/view/theme/fancyred/img/file.gif b/view/theme/fancyred/img/file.gif Binary files differdeleted file mode 100644 index c532335ed..000000000 --- a/view/theme/fancyred/img/file.gif +++ /dev/null diff --git a/view/theme/fancyred/img/friendika-16.png b/view/theme/fancyred/img/friendika-16.png Binary files differdeleted file mode 100644 index 1a742ecdc..000000000 --- a/view/theme/fancyred/img/friendika-16.png +++ /dev/null diff --git a/view/theme/fancyred/img/head.jpg b/view/theme/fancyred/img/head.jpg Binary files differdeleted file mode 100644 index 6210b76be..000000000 --- a/view/theme/fancyred/img/head.jpg +++ /dev/null diff --git a/view/theme/fancyred/img/home.png b/view/theme/fancyred/img/home.png Binary files differdeleted file mode 100644 index d1ba7b3f3..000000000 --- a/view/theme/fancyred/img/home.png +++ /dev/null diff --git a/view/theme/fancyred/img/introductions.png b/view/theme/fancyred/img/introductions.png Binary files differdeleted file mode 100644 index 18ba5dc81..000000000 --- a/view/theme/fancyred/img/introductions.png +++ /dev/null diff --git a/view/theme/fancyred/img/jotperms.png b/view/theme/fancyred/img/jotperms.png Binary files differdeleted file mode 100644 index d133a6e01..000000000 --- a/view/theme/fancyred/img/jotperms.png +++ /dev/null diff --git a/view/theme/fancyred/img/lock.cur b/view/theme/fancyred/img/lock.cur Binary files differdeleted file mode 100644 index 892c5e851..000000000 --- a/view/theme/fancyred/img/lock.cur +++ /dev/null diff --git a/view/theme/fancyred/img/login-bg.gif b/view/theme/fancyred/img/login-bg.gif Binary files differdeleted file mode 100644 index cde836c89..000000000 --- a/view/theme/fancyred/img/login-bg.gif +++ /dev/null diff --git a/view/theme/fancyred/img/message.png b/view/theme/fancyred/img/message.png Binary files differdeleted file mode 100644 index f3fea75ee..000000000 --- a/view/theme/fancyred/img/message.png +++ /dev/null diff --git a/view/theme/fancyred/img/network.png b/view/theme/fancyred/img/network.png Binary files differdeleted file mode 100644 index c213cee04..000000000 --- a/view/theme/fancyred/img/network.png +++ /dev/null diff --git a/view/theme/fancyred/img/notify_on.png b/view/theme/fancyred/img/notify_on.png Binary files differdeleted file mode 100644 index 18002e15c..000000000 --- a/view/theme/fancyred/img/notify_on.png +++ /dev/null diff --git a/view/theme/fancyred/img/photo-menu.jpg b/view/theme/fancyred/img/photo-menu.jpg Binary files differdeleted file mode 100644 index fde5eb535..000000000 --- a/view/theme/fancyred/img/photo-menu.jpg +++ /dev/null diff --git a/view/theme/fancyred/img/screenshot.jpg b/view/theme/fancyred/img/screenshot.jpg Binary files differdeleted file mode 100644 index 5f00ec39e..000000000 --- a/view/theme/fancyred/img/screenshot.jpg +++ /dev/null diff --git a/view/theme/fancyred/img/settings.png b/view/theme/fancyred/img/settings.png Binary files differdeleted file mode 100644 index a935b225e..000000000 --- a/view/theme/fancyred/img/settings.png +++ /dev/null diff --git a/view/theme/fancyred/img/shiny.png b/view/theme/fancyred/img/shiny.png Binary files differdeleted file mode 100644 index 994c0d05d..000000000 --- a/view/theme/fancyred/img/shiny.png +++ /dev/null diff --git a/view/theme/fancyred/js/fancyred.js b/view/theme/fancyred/js/fancyred.js deleted file mode 100644 index 00b8fa39f..000000000 --- a/view/theme/fancyred/js/fancyred.js +++ /dev/null @@ -1,89 +0,0 @@ - - -function insertFormatting(comment,BBcode,id) { - - var tmpStr = $("#comment-edit-text-" + id).val(); - if(tmpStr == comment) { - tmpStr = ""; - $("#comment-edit-text-" + id).addClass("comment-edit-text-full"); - $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty"); - openMenu("comment-edit-submit-wrapper-" + id); - $("#comment-edit-text-" + id).val(tmpStr); - } - - textarea = document.getElementById("comment-edit-text-" +id); - if (document.selection) { - textarea.focus(); - selected = document.selection.createRange(); - if (BBcode == "url"){ - selected.text = "["+BBcode+"]" + "http://" + selected.text + "[/"+BBcode+"]"; - } else - selected.text = "["+BBcode+"]" + selected.text + "[/"+BBcode+"]"; - } else if (textarea.selectionStart || textarea.selectionStart == "0") { - var start = textarea.selectionStart; - var end = textarea.selectionEnd; - if (BBcode == "url"){ - textarea.value = textarea.value.substring(0, start) + "["+BBcode+"]" + "http://" + textarea.value.substring(start, end) + "[/"+BBcode+"]" + textarea.value.substring(end, textarea.value.length); - } else - textarea.value = textarea.value.substring(0, start) + "["+BBcode+"]" + textarea.value.substring(start, end) + "[/"+BBcode+"]" + textarea.value.substring(end, textarea.value.length); - } - return true; -} - -function cmtBbOpen(comment, id) { - if($(comment).hasClass('comment-edit-text-full')) { - $(".comment-edit-bb-" + id).show(); - return true; - } - return false; -} - -function cmtBbClose(comment, id) { -// if($(comment).hasClass('comment-edit-text-empty')) { -// $(".comment-edit-bb-" + id).hide(); -// return true; -// } - return false; -} - -$(document).ready(function() { - -$('.group-edit-icon').hover( - function() { - $(this).addClass('icon'); $(this).removeClass('iconspacer');}, - function() { - $(this).removeClass('icon'); $(this).addClass('iconspacer');} - ); - -$('.sidebar-group-element').hover( - function() { - id = $(this).attr('id'); - $('#edit-' + id).addClass('icon'); $('#edit-' + id).removeClass('iconspacer');}, - - function() { - id = $(this).attr('id'); - $('#edit-' + id).removeClass('icon');$('#edit-' + id).addClass('iconspacer');} - ); - - -$('.savedsearchdrop').hover( - function() { - $(this).addClass('drop'); $(this).addClass('icon'); $(this).removeClass('iconspacer');}, - function() { - $(this).removeClass('drop'); $(this).removeClass('icon'); $(this).addClass('iconspacer');} - ); - -$('.savedsearchterm').hover( - function() { - id = $(this).attr('id'); - $('#drop-' + id).addClass('icon'); $('#drop-' + id).addClass('drophide'); $('#drop-' + id).removeClass('iconspacer');}, - - function() { - id = $(this).attr('id'); - $('#drop-' + id).removeClass('icon');$('#drop-' + id).removeClass('drophide'); $('#drop-' + id).addClass('iconspacer');} - ); - -}); - - - diff --git a/view/theme/fancyred/php/config.php b/view/theme/fancyred/php/config.php deleted file mode 100644 index 833d09050..000000000 --- a/view/theme/fancyred/php/config.php +++ /dev/null @@ -1,80 +0,0 @@ -<?php -/** - * Theme settings - */ - -function theme_content(&$a) { - if(!local_user()) { return; } - - $font_size = get_pconfig(local_user(),'fancyred', 'font_size' ); - $line_height = get_pconfig(local_user(), 'fancyred', 'line_height' ); - $colour = get_pconfig(local_user(), 'fancyred', 'colour' ); - - return fancyred_form($a, $font_size, $line_height, $colour); -} - -function theme_post(&$a) { - if(!local_user()) { return; } - - if (isset($_POST['fancyred-settings-submit'])) { - set_pconfig(local_user(), 'fancyred', 'font_size', $_POST['fancyred_font_size']); - set_pconfig(local_user(), 'fancyred', 'line_height', $_POST['fancyred_line_height']); - set_pconfig(local_user(), 'fancyred', 'colour', $_POST['fancyred_colour']); - } -} - -function theme_admin(&$a) { - $font_size = get_config('fancyred', 'font_size' ); - $line_height = get_config('fancyred', 'line_height' ); - $colour = get_config('fancyred', 'colour' ); - - return fancyred_form($a, $font_size, $line_height, $colour); -} - -function theme_admin_post(&$a) { - if (isset($_POST['fancyred-settings-submit'])) { - set_config('fancyred', 'font_size', $_POST['fancyred_font_size']); - set_config('fancyred', 'line_height', $_POST['fancyred_line_height']); - set_config('fancyred', 'colour', $_POST['fancyred_colour']); - } -} - -function fancyred_form(&$a, $font_size, $line_height, $colour) { - $line_heights = array( - "1.3" => "1.3", - "---" => "---", - "1.6" => "1.6", - "1.5" => "1.5", - "1.4" => "1.4", - "1.2" => "1.2", - "1.1" => "1.1", - ); - $font_sizes = array( - '12' => '12', - '14' => '14', - "---" => "---", - "16" => "16", - "15" => "15", - '13.5' => '13.5', - '13' => '13', - '12.5' => '12.5', - '12' => '12', - ); - $colours = array( - 'light' => 'light', - 'dark' => 'dark', - ); - - $t = get_markup_template('theme_settings.tpl'); - $o .= replace_macros($t, array( - '$submit' => t('Submit'), - '$baseurl' => $a->get_baseurl(), - '$title' => t("Theme settings"), - '$font_size' => array('fancyred_font_size', t('Set font-size for posts and comments'), $font_size, '', $font_sizes), - '$line_height' => array('fancyred_line_height', t('Set line-height for posts and comments'), $line_height, '', $line_heights), - '$colour' => array('fancyred_colour', t('Set colour scheme'), $colour, '', $colours), - )); - - return $o; -} - diff --git a/view/theme/fancyred/php/style.php b/view/theme/fancyred/php/style.php deleted file mode 100644 index 15ac47247..000000000 --- a/view/theme/fancyred/php/style.php +++ /dev/null @@ -1,99 +0,0 @@ -<?php - $line_height = false; - $fancyred_font_size = false; - $resolution = false; - $colour = false; - $site_line_height = get_config("fancyred","line_height"); - $site_fancyred_font_size = get_config("fancyred", "font_size" ); - $site_colour = get_config("fancyred", "colour" ); - - if (local_user()) { - $line_height = get_pconfig(local_user(), "fancyred","line_height"); - $fancyred_font_size = get_pconfig(local_user(), "fancyred", "font_size"); - $colour = get_pconfig(local_user(), "fancyred", "colour"); - } - - if ($line_height === false) { - $line_height = $site_line_height; - } - if ($line_height === false) { - $line_height = "1.2"; - } - if ($fancyred_font_size === false) { - $fancyred_font_size = $site_fancyred_font_size; - } - if ($fancyred_font_size === false) { - $fancyred_font_size = "12"; - } - if ($colour === false) { - $colour = $site_colour; - } - $colour = "light"; - - - if (file_exists("$THEMEPATH/css/style.css")) { - echo file_get_contents("$THEMEPATH/css/style.css"); - } - - - if($fancyred_font_size == "16") { - echo ".wall-item-content { - font-size: 16px; - }"; - } - if($fancyred_font_size == "15") { - echo ".wall-item-content { - font-size: 15px; - }"; - } - if($fancyred_font_size == "14") { - echo ".wall-item-content { - font-size: 14px; - }"; - } - if($fancyred_font_size == "13.5") { - echo ".wall-item-content { - font-size: 13.5px; - }"; - } - if($fancyred_font_size == "13") { - echo ".wall-item-content { - font-size: 13px; - }"; - } - if($fancyred_font_size == "12.5") { - echo ".wall-item-content { - font-size: 12.5px; - }"; - } - if($fancyred_font_size == "12") { - echo ".wall-item-content { - font-size: 12px; - }"; - } - if($line_height == "1.5") { - echo ".wall-item-content { - line-height: 1.5; - }"; - } - if($line_height == "1.4") { - echo ".wall-item-content { - line-height: 1.4; - }"; - } - if($line_height == "1.3") { - echo ".wall-item-content { - line-height: 1.3; - }"; - } - if($line_height == "1.2") { - echo ".wall-item-content { - line-height: 1.2; - }"; - } - if($line_height == "1.1") { - echo ".wall-item-content { - line-height: 1.1; - }"; - } - diff --git a/view/theme/fancyred/php/theme.php b/view/theme/fancyred/php/theme.php deleted file mode 100644 index 1ac6d4d21..000000000 --- a/view/theme/fancyred/php/theme.php +++ /dev/null @@ -1,6 +0,0 @@ -<?php - -function fancyred_init(&$a) { - $a->set_template_engine('smarty3'); -// head_add_js('redbasic.js'); -} diff --git a/view/theme/fancyred/tpl/smarty3/theme_settings.tpl b/view/theme/fancyred/tpl/smarty3/theme_settings.tpl deleted file mode 100644 index 3401f318b..000000000 --- a/view/theme/fancyred/tpl/smarty3/theme_settings.tpl +++ /dev/null @@ -1,12 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -{{include file="field_select.tpl" field=$font_size}} - -{{include file="field_select.tpl" field=$line_height}} - -<div class="settings-submit-wrapper"> - <input type="submit" value="{{$submit}}" class="settings-submit" name="fancyred-settings-submit" /> -</div> diff --git a/view/theme/fancyred/tpl/theme_settings.tpl b/view/theme/fancyred/tpl/theme_settings.tpl deleted file mode 100644 index 797b29962..000000000 --- a/view/theme/fancyred/tpl/theme_settings.tpl +++ /dev/null @@ -1,7 +0,0 @@ -{{inc field_select.tpl with $field=$font_size}}{{endinc}} - -{{inc field_select.tpl with $field=$line_height}}{{endinc}} - -<div class="settings-submit-wrapper"> - <input type="submit" value="$submit" class="settings-submit" name="fancyred-settings-submit" /> -</div> diff --git a/view/theme/redbasic/css/dark.css b/view/theme/redbasic/css/dark.css new file mode 100644 index 000000000..43912be69 --- /dev/null +++ b/view/theme/redbasic/css/dark.css @@ -0,0 +1,182 @@ +body { font-family: sans-serif; + font-size: 12px; + background-color: #101010; + background-image: -moz-linear-gradient(top, #000 16%, #101010 82%); + background-image: linear-gradient(bottom, #000 16%, #101010 82%); + background-image: -o-linear-gradient(bottom, #000 16%, #101010 82%); + background-image: -webkit-linear-gradient(bottom, #000 16%, #101010 82%); + background-image: -ms-linear-gradient(bottom, #000 16%, #101010 82%); + background-repeat: no-repeat; + background-attachment: fixed; + color: #eec; + +} + +aside { +border: none; +color: #fff; +} + +.fn { + color: #fff; +} + +.acl-list-item, +.profile-jot-net { + color: #000; +} + + +.tab.active { + color: #fff; +} + +blockquote {color: #000;} + +.wall-item-content-wrapper { + background: #262626; + border-radius: 5px; + box-shadow: 12px 12px 12px #000; + margin-bottom: 20px; +} + +.wall-item-content-wrapper.comment { + margin-left: 50px; + box-shadow: 5px 5px 5px #000; +} + +.comment-edit-text-empty, .comment-edit-text-full { + border-radius: 5px 5px 5px 5px; + box-shadow: 5px 5px 5px #000 inset; +} + + +#profile-jot-text { + height: 20px; + color:#000; + border: 1px solid #cccccc; + padding: 8px; + margin-right: 0px; + width: 90%; + -moz-border-radius: 5px; + border-radius: 5px; + box-shadow: 4px 4px 3px 0 #666 inset; +} +#profile-jot-text:hover { + color: #000000; +} + +#profile-jot-submit { + height: auto; + background-color: #0080FF; + color: #eeeeec; + font-weight: bold; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + border-radius: 5px; + border: 2px outset #222420 !important; + margin: 0; + float: right; + text-shadow: 1px 1px #111; + width: auto; + box-shadow: 5px 5px 5px #444; +} + + +.widget { + border-bottom: 1px solid #eec; + padding: 8px; + margin-top: 5px; + -moz-border-radius:5px; + -webkit-border-radius:5px; + border-radius:5px; + +} + +nav a, +nav a:active, +nav a:visited, +nav a:link { + color: #ffffff; + text-decoration: none; + outline: none; +} + +.nav-menu.selected a { + color: #0080ff !important; +} + +nav .nav-menu-icon { + position: relative; + height: 22px; + padding: 5px; +/* margin: 3px 10px; */ + -moz-border-radius: 5px 5px 0 0; + -webkit-border-radius: 5px 5px 0 0; + border-radius: 5px 5px 0 0; +} + +nav .nav-notify { + background-color: #0080FF; + color: #fff; + -moz-border-radius: 5px 5px 5px 5px; + -webkit-border-radius: 5px 5px 5px 5px; + border-radius: 5px 5px 5px 5px; + opacity: 0.6; + filter:alpha(opacity=60); + +} +.nav-notify:hover, nav .nav-notify.selected span { + color: #ffffff; +} + +ul.menu-popup { + + position: absolute; + display: none; + width: 10em; + background: #000; + color: #fff; + padding: 0px; + list-style: none; + border-radius: 0px 0px 20px 20px; + z-index: 100000; + -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); + -moz-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); + box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); +} +ul.menu-popup a { + display: block; + color: #FFFFFF; + padding: 5px 10px; + text-decoration: none; +} + + +ul.menu-popup a:hover { + background-color: #888888; + color: #FFFFFF; +} +ul.menu-popup .menu-sep { + border-top: 1px solid #9eabb0; +} + +.wall-item-photo, +.photo, +.contact-block-img, +.my-comment-photo { + border-radius: 5px; + box-shadow: 4px 4px 3px #000; +} + + +div#pagelist-content-wrapper { +width: 80%; +background: #111; +margin-left: auto; +margin-right: auto; +} + +div.page-list-item { +margin: 20px; +} diff --git a/view/theme/redbasic/css/fancy.css b/view/theme/redbasic/css/fancy.css new file mode 100644 index 000000000..2da9d68d1 --- /dev/null +++ b/view/theme/redbasic/css/fancy.css @@ -0,0 +1,106 @@ +/* There's probably some stuff in here we don't need, and maybe some missing stuff we do need. We can clean it up incrementaly, just get the heavy lifting done for now */ + +aside { +border-radius: $radiuspx;} + + +.tab { + height: auto; + background-color: #f00; + color: #fff !important; + font-weight: bold; + -webkit-border-radius: $radiuspx; + -moz-border-radius: $radiuspx; + border-radius: $radiuspx; + margin: 0; + width: auto; + margin-left: 8px; + padding: 4px; + text-align: center; +} +.tab:hover, .tab.active:hover { + background: #d00; + color: #fff; + ; +} +.tab:active { + background: #fff; + color: #f00; +} +.tab.active { + background: #f00; + color: #fff; + box-shadow: 3px 3px 3px #333 inset; + padding: 5px; /* strageness of the human mind - has to be larger than inactive tabs, or it looks smaller than them */ +} + + + +.wall-item-content-wrapper { + position: relative; + border-radius: $radiuspx; + box-shadow: 8px 8px 8px #000; + border: 1px solid #eec; +} + +.wall-item-content-wrapper.comment { + margin-top: 15px; +} + +.wall-item-like:hover, .wall-item-dislike:hover{ +opacity: 1; +} + +.wall-item-author { + margin-top: 10px; +} + +.comment-edit-wrapper { + margin-top: 15px; + background: #ffffff; + margin-left: 50px; +} + +#profile-jot-submit { + background-color: #dd0000; +} + +ul.menu-popup { + background: #dd0000; + color: #eec; + border-radius: $radiuspx; + z-index: 100000; + -webkit-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); + -moz-box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); + box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); +} +ul.menu-popup a { + color: #eec; +} +ul.menu-popup a:hover { + background-color: #eec; + color: #f00; +} + +section { +left: 0px; +width: 800px; +margin-left: auto; +margin-right: auto; +} +body {background-color: #d00 !important;} + +.page-content-wrapper {background: #fff; + color: #000; + border-radius: 20px; + box-shadow: 5px 5px 5px #111; +} + +h3.page-title { +padding-top: 30px; + color: #033} +.page-body {padding: 40px;} + +.page-body strong {color: #033;} + +.nav-links {margin-top: 5px;} diff --git a/view/theme/redbasic/css/mod_page.css b/view/theme/redbasic/css/mod_page.css new file mode 100644 index 000000000..37f597fac --- /dev/null +++ b/view/theme/redbasic/css/mod_page.css @@ -0,0 +1,24 @@ +/* +section { +left: 0px; +width: 800px; +margin-left: auto; +margin-right: auto; +} +body {background-color: #d00 !important;} + +.page-content-wrapper {background: #fff; + color: #000; + border-radius: 20px; + box-shadow: 5px 5px 5px #111; +} + +h3.page-title { +padding-top: 30px; + color: #033} +.page-body {padding: 40px;} + +.page-body strong {color: #033;} + +.nav-links {margin-top: 5px;} +*/
\ No newline at end of file diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index db73e27d5..8d33913c4 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -10,7 +10,7 @@ body { font-family: arial,freesans,clean,sans-serif; font-size: 12px; - background-color: #ffffff; + background-color: #FFFFFF; color: #000000; margin: 0px; } @@ -115,8 +115,8 @@ a:hover, .fakelink:hover { color: #44AAFF; text-decoration: underline; } input { border: 1px solid #666666; - -moz-border-radius: 5px; - border-radius: 5px; + -moz-border-radius: $radiuspx; + border-radius: $radiuspx; padding: 3px; } @@ -171,7 +171,7 @@ blockquote { nav { display: block; - border-bottom: 1px solid #d00; + } #langselector { @@ -209,8 +209,8 @@ nav #site-location { border: 1px solid #444; background-color: #ccc; padding: 10px; - -moz-border-radius: 5px; - border-radius: 5px; + -moz-border-radius: $radiuspx; + border-radius: $radiuspx; } @@ -229,14 +229,14 @@ header #site-location { } header #banner { + overflow: hidden; text-align: center; - width: 100%; - font-size: 2.2em; + font-size: 1.4em; font-family: tahoma, "Lucida Sans", sans; color: #eec; font-weight: bold; - + margin-top: 1px; } header #banner a, header #banner a:active, @@ -256,7 +256,7 @@ header #banner #logo-text { font-size: 22px; } -.nav-commlink { +.nav-commlink, .nav-login-link { display: block; height: 15px; margin-top: 67px; @@ -268,8 +268,8 @@ header #banner #logo-text { border-bottom: 0px; background-color: #aec0d3; color: #565854; - -moz-border-radius: 5px 5px 0px 0px; - border-radius: 5px 5px 0px 0px; + -moz-border-radius: $radiuspx; + border-radius: $radiuspx;; } nav .nav-link { @@ -300,18 +300,19 @@ nav #nav-link-wrapper .nav-link { } .tabs { - height: 22px; + height: 28px; border-bottom: 1px solid #aaaaaa; padding:0px; - margin-right: 10px; + width: 90%; +/* margin-right: 5px; */ } .tabs li { margin: 0px; list-style: none; } .tab { display:block; float:left; - padding: 0.4em; - margin-right: 3px ; +/* padding: 0.4em; */ + margin-right: 15px ; } .tab.active { @@ -324,6 +325,7 @@ ul.tabs { margin-bottom: 0px; list-style-type: none; padding: 0px; + padding-right: 8px; } /* footer */ @@ -347,6 +349,16 @@ footer { font-weight: bold; } +.warning-text { + font-size: 1.2em; + font-weight: bold; + color: #ff0000; +} + +#noperm-msg { + margin-top: 15px; +} + .preview { background: url('../img/gray_and_white_diagonal_stripes_background_seamless.gif'); } @@ -377,7 +389,7 @@ footer { float: left; } -#jot-title, #jot-category { +#jot-title, #jot-category, #jot-pagetitle { border: 0px; margin: 0px; padding: 8px; @@ -385,17 +397,21 @@ footer { width: 530px; margin-bottom: 5px; font-weight: bold; - border: solid 1px #ccc; - border-radius: 5px; + border: solid 1px #ffffff; + border-radius: $radiuspx; } #jot-title::-webkit-input-placeholder{font-weight: bold;} #jot-category::-webkit-input-placeholder{font-weight: bold;} #jot-title:-moz-placeholder{font-weight: bold;} #jot-category:-moz-placeholder{font-weight: bold;} +#jot-pagetitle::-webkit-input-placeholder{font-weight: bold;} +#jot-pagetitle:-moz-placeholder{font-weight: bold;} #jot-title:hover, #jot-title:focus, +#jot-pagetitle:hover, +#jot-pagetitle:focus, #jot-category:hover, #jot-category:focus { border: 1px solid #cccccc; @@ -419,22 +435,8 @@ footer { margin-bottom: 10px; } -.group-selected, .nets-selected, .fileas-selected, .categories-selected { - padding: 3px; - -moz-border-radius: 5px; - border-radius: 5px; - border: 1px solid #CCCCCC; - background: #F8F8F8; - font-weight: bold; -} - -.settings-widget .selected { - padding: 3px; - -moz-border-radius: 5px; - border-radius: 5px; - border: 1px solid #CCCCCC; - background: #F8F8F8; - font-weight: bold; +.group-selected, .nets-selected, .fileas-selected, .categories-selected, .settings-widget .selected { + color: #444444 !important; } .smalltext { @@ -513,62 +515,6 @@ footer { } -/* TODO - we don't use DFRN anymore. These probably have different names now. Check and clean up later */ - -input#dfrn-url { - float: left; - background: url(../img/friendika-16.png) no-repeat; - background-position: 2px center; - font-size: 17px; - padding-left: 21px; - height: 21px; - background-color: #FFFFFF; - color: #000000; - margin-bottom: 20px; -} - -#dfrn-url-label { - float: left; - width: 250px; -} - -#dfrn-request-url-end { - clear: both; -} - -#knowyouyes, #knowyouno { - float: left; -} - -#dfrn-request-knowyou-yes-wrapper, #dfrn-request-knowyou-no-wrapper { - - float: none; -} -#dfrn-request-knowyou-yes-label, #dfrn-request-knowyou-no-label { - float: left; - width: 75px; - margin-left: 50px; - margin-bottom: 7px; -} -#dfrn-request-knowyou-break, #dfrn-request-knowyou-end { - clear: both; - -} - -#dfrn-request-message-wrapper { - margin-bottom: 50px; -} -#dfrn-request-submit-wrapper { - clear: both; - margin-left: 50px; -} - -#dfrn-request-info-wrapper { - margin-left: 50px; -} - - - #cropimage-wrapper, #cropimage-preview-wrapper { float: left; padding: 30px; @@ -579,67 +525,7 @@ input#dfrn-url { clear: both; } -.intro-wrapper { - margin-top: 20px; -} -.intro-fullname { - font-size: 1.1em; - font-weight: bold; - -} -.intro-desc { - margin-bottom: 20px; - font-weight: bold; -} - -.intro-note { - padding: 10px; -} - -.intro-end { - padding: 30px; -} - -.intro-form { - float: left; -} -.intro-approve-form { - clear: both; -} -.intro-approve-as-friend-end { - clear: both; -} -.intro-submit-approve, .intro-submit-ignore { - margin-right: 20px; -} -.intro-submit-approve { - margin-top: 15px; -} - -.intro-approve-as-friend-label, .intro-approve-as-fan-label { - float: left; - width: 100px; - margin-left: 20px; -} -.intro-approve-as-friend, .intro-approve-as-fan { - float: left; -} -.intro-form-end { - clear: both; -} -.intro-approve-as-friend-desc { - margin-top: 15px; -} -.intro-approve-as-end { - clear: both; - margin-bottom: 10px; -} - -.intro-end { - clear: both; - margin-bottom: 30px; -} .aprofile dt { font-weight: bold; } @@ -677,29 +563,6 @@ input#dfrn-url { clear: both; } -#birthday-title { - float: left; - font-weight: bold; -} - -#birthday-adjust { - float: left; - font-size: 75%; - margin-left: 10px; -} - -#birthday-title-end { - clear: both; -} - -.birthday-list { - margin-left: 15px; -} - -#birthday-wrapper { - margin-bottom: 20px; -} - #profile-extra-links { clear: both; margin-top: 10px; @@ -849,12 +712,8 @@ input#dfrn-url { float: left; margin-bottom: 20px; } -#settings-normal, -#settings-soapbox, -#settings-freelove, -#settings-community { - float: left; -} + + #settings-notifications label { margin-left: 20px; } @@ -862,10 +721,7 @@ input#dfrn-url { font-weight: bold; margin-bottom: 15px; } -#settings-pagetype-desc { - color: #666666; - margin-bottom: 15px; -} + #profile-in-dir-yes-label, #profile-in-dir-no-label, @@ -916,24 +772,6 @@ input#dfrn-url { float: left; margin-bottom: 35px; } -#settings-normal-label, -#settings-soapbox-label, -#settings-community-label, -#settings-freelove-label { - float: left; - width: 200px; -} -#settings-normal-desc, -#settings-soapbox-desc, -#settings-community-desc, -#settings-freelove-desc { - /*float: left; - margin-left: 75px;*/ - clear: left; - color: #666666; - display: block; - margin-bottom: 20px -} #profile-edit-profile-name-end, #profile-edit-name-end, @@ -960,11 +798,7 @@ input#dfrn-url { #hide-wall-break, #hide-wall-end, #hide-friends-break, -#hide-friends-end, -#settings-normal-break, -#settings-soapbox-break, -#settings-community-break, -#settings-freelove-break { +#hide-friends-end { clear: both; } @@ -1058,6 +892,7 @@ input#dfrn-url { #network-bmark-link { margin-top: 10px; } + .thread-wrapper .wall-item-comment-wrapper { margin-left: 50px; } @@ -1067,15 +902,18 @@ input#dfrn-url { .wall-item-content-wrapper { margin-top: 10px; position: relative; + border-radius: $radiuspx; + border: 1px solid #eec; + /* background: #fff; */ /* border-radius: 5px; */ /* box-shadow: 12px 12px 12px #111; */ - border-left: 1px solid #eec; +/* border-left: 1px solid #eec; */ } .wall-item-content-wrapper.comment { /* background: #fff; */ - border-left: 1px solid #e0e0e0; +/* border-left: 1px solid #e0e0e0; */ margin-left: 50px; /* box-shadow: 5px 5px 5px #222; */ } @@ -1086,9 +924,9 @@ input#dfrn-url { .wall-item-content-wrapper.comment { - background: #ffffff; +/* background: #ffffff; border-left: 1px solid #e0e0e0; - +*/ } .wall-item-like.comment, .wall-item-dislike.comment { @@ -1163,7 +1001,7 @@ input#dfrn-url { position: absolute; left: 75px; top: 70px; - z-index: 100; + z-index: 99; } .wall-item-wrapper { /*float: left; @@ -1205,7 +1043,9 @@ input#dfrn-url { } .like-rotator { - margin-left: 5px; + float: left; + margin: 8px; + color: #777; } .wall-item-delete-wrapper { @@ -1241,8 +1081,7 @@ input#dfrn-url { } .wall-item-content img { - max-height: 95% !important; - max-width: 95% !important; + max-width: 95% !important; /* box-shadow: 8px 8px 8px #666; can't really have this because of smileys */ } @@ -1260,7 +1099,8 @@ input#dfrn-url { } .thread-wrapper.toplevel_item { - width: 90%; + + width: 92%; } .wall-item-body { @@ -1269,6 +1109,10 @@ input#dfrn-url { margin-top: 10px; } +.wall-item-body.divmore { + padding-bottom: 15px; +} + .wall-item-tools { clear: both; padding: 5px 10px; @@ -1285,12 +1129,11 @@ input#dfrn-url { .comment-edit-wrapper { margin-top: 15px; - background: #ffffff; margin-left: 50px; } .comment-wwedit-wrapper { - background: #ffffff; + margin-top: 2px; } .comment-edit-photo { @@ -1313,14 +1156,14 @@ input#dfrn-url { padding: 3px 1px 1px 3px; border: 1px solid #ccc; padding: 8px; - border-radius: 5px 5px 5px 5px; + border-radius: $radiuspx; /* box-shadow: 5px 5px 5px #666 inset; */ } .comment-edit-text-empty { color: gray; height: 1.5em; - width: 80%; /*Too wide? */ + width: 40%; /*Too wide? */ overflow: auto; margin-bottom: 10px; } @@ -1360,15 +1203,16 @@ input#dfrn-url { } #profile-upload-wrapper { float: left; - margin-left: 30px; + margin-left: 15px; } #profile-attach-wrapper { float: left; - margin-left: 30px; + margin-left: 15px; } #profile-rotator { float: left; - margin-left: 30px; + margin: 8px 0px 0px 20px; + color: #777; } #profile-link-wrapper { float: left; @@ -1396,7 +1240,6 @@ input#dfrn-url { margin-top: 0px !important; } - #profile-nolocation-wrapper { float: left; margin-left: 15px; @@ -1414,7 +1257,7 @@ input#dfrn-url { height: auto; width: auto; background-color: #0080FF; - border-radius: 5px; + border-radius: $radiuspx; border: 2px outset; box-shadow: 5px 5px 5px #666; margin-right: 8px; @@ -1496,12 +1339,7 @@ input#dfrn-url { width: 200px; } -.fortune { - margin-top: 50px; - color: #4444FF; - font-weight: bold; - margin-bottom: 20px; -} + .directory-end { clear: both; @@ -1522,7 +1360,8 @@ input#dfrn-url { float: left; width: 225px; height: 260px; - overflow: auto; + overflow: hidden; + margin: 2px; } #directory-search-wrapper { @@ -1571,113 +1410,6 @@ input#dfrn-url { } -#advanced-profile-name-wrapper, -#advanced-profile-gender-wrapper, -#advanced-profile-dob-wrapper, -#advanced-profile-age-wrapper, -#advanced-profile-marital-wrapper, -#advanced-profile-sexual-wrapper, -#advanced-profile-homepage-wrapper, -#advanced-profile-politic-wrapper, -#advanced-profile-religion-wrapper, -#advanced-profile-about-wrapper, -#advanced-profile-interest-wrapper, -#advanced-profile-contact-wrapper, -#advanced-profile-music-wrapper, -#advanced-profile-book-wrapper, -#advanced-profile-tv-wrapper, -#advanced-profile-film-wrapper, -#advanced-profile-romance-wrapper, -#advanced-profile-work-wrapper, -#advanced-profile-education-wrapper { - margin-top: 20px; -} - -#advanced-profile-name-text, -#advanced-profile-gender-text, -#advanced-profile-dob-text, -#advanced-profile-age-text, -#advanced-profile-marital-text, -#advanced-profile-sexual-text, -#advanced-profile-homepage-text, -#advanced-profile-politic-text, -#advanced-profile-religion-text, -#advanced-profile-about-text, -#advanced-profile-interest-text, -#advanced-profile-contact-text, -#advanced-profile-music-text, -#advanced-profile-book-text, -#advanced-profile-tv-text, -#advanced-profile-film-text, -#advanced-profile-romance-text, -#advanced-profile-work-text, -#advanced-profile-education-text { - width: 300px; - float: left; -} - -#advanced-profile-name-end, -#advanced-profile-gender-end, -#advanced-profile-dob-end, -#advanced-profile-age-end, -#advanced-profile-marital-end, -#advanced-profile-sexual-end, -#advanced-profile-homepage-end, -#advanced-profile-politic-end, -#advanced-profile-religion-end { - height: 10px; -} - -#advanced-profile-about-end, -#advanced-profile-interest-end, -#advanced-profile-contact-end, -#advanced-profile-music-end, -#advanced-profile-book-end, -#advanced-profile-tv-end, -#advanced-profile-film-end, -#advanced-profile-romance-end, -#advanced-profile-work-end, -#advanced-profile-education-end { - - -} - -#advanced-profile-name, -#advanced-profile-gender, -#advanced-profile-dob, -#advanced-profile-age, -#advanced-profile-marital, -#advanced-profile-sexual, -#advanced-profile-homepage, -#advanced-profile-politic, -#advanced-profile-religion { - float: left; - -} - - -#advanced-profile-about, -#advanced-profile-interest, -#advanced-profile-contact, -#advanced-profile-music, -#advanced-profile-book, -#advanced-profile-tv, -#advanced-profile-film, -#advanced-profile-romance, -#advanced-profile-work, -#advanced-profile-education { - margin-top: 10px; - margin-left: 50px; - margin-right: 20px; - padding: 10px; - border: 1px solid #CCCCCC; -} - -#advanced-profile-with { - float: left; - margin-left: 15px; -} - #contact-edit-wrapper { margin-top: 10px; } @@ -1743,34 +1475,6 @@ input#dfrn-url { } -.contact-photo-menu-button { - position: absolute; - background-image: url("../img/photo-menu.jpg"); - background-position: top left; - background-repeat: no-repeat; - margin: 0px; padding: 0px; - width: 16px; - height: 16px; - top: 64px; left:0px; - overflow: hidden; - text-indent: 40px; - display: none; - -} -.contact-photo-menu { - width: auto; - border: 2px solid #444444; - background: #FFFFFF; - position: absolute; - left: 0px; top: 90px; - display: none; - z-index: 10000; -} -.contact-photo-menu ul { margin:0px; padding: 0px; list-style: none } -.contact-photo-menu li a { display: block; padding: 2px; } -.contact-photo-menu li a:hover { color: #FFFFFF; background: #3465A4; text-decoration: none; } - - #block-message, #ignore-message, #archive-message, #lost-contact-message { color: #FF0000; } @@ -1796,8 +1500,8 @@ border: 1px #111; /* #profile-jot-text_parent, .mceLayout { - border-radius: 5px; - -moz-border-radius: 5px; + border-radius: $radiuspx; + -moz-border-radius: $radiuspx; box-shadow: 4px 4px 3px 0 #444444; } */ @@ -1805,7 +1509,6 @@ border: 1px #111; iframe#profile-jot-text_ifr { width: 100% !important; -height: 100% !important; box-shadow: 5px 5px 5px #000 inset !important;} tr.mceLast { @@ -1819,26 +1522,33 @@ tr.mceLast { color:#000; border: 1px solid #cccccc; padding: 8px; - width: 90%; - -moz-border-radius: 5px; - border-radius: 5px; + margin-right: 0px; + width: 90%; + -moz-border-radius: $radiuspx; + border-radius: $radiuspx; /* box-shadow: 4px 4px 3px 0 #666 inset; */ } #profile-jot-text:hover { color: #000000; } +#profile-jot-text-loading { + float: left; + margin: 14px 0px 0px 12px; + color: #777; +} + .wall-item-photo, .photo, .contact-block-img, .my-comment-photo { - border-radius: 5px; - -moz-border-radius: 5px; + border-radius: $radiuspx; + -moz-border-radius: $radiuspx; box-shadow: 4px 4px 3px 0 #444444; } #datebrowse-sidebar select { margin-left: 25px; - border-radius: 5px; - -moz-border-radius: 5px; + border-radius: $radiuspx; + -moz-border-radius: $radiuspx; opacity: 0.3; filter:alpha(opacity=30); } @@ -1872,9 +1582,9 @@ tr.mceLast { list-style: none; } -.contact-entry-photo img, .profile-match-photo img, #photo-photo img, .directory-photo-img, .photo-album-photo, .photo-top-photo, .group-selected, .nets-selected, .fileas-selected, .categories-selected { - border-radius: 5px; - -moz-border-radius: 5px; +.contact-entry-photo img, .profile-match-photo img, #photo-photo img, .directory-photo-img, .photo-album-photo, .photo-top-photo { + border-radius: $radiuspx; + -moz-border-radius: $radiuspx; box-shadow: 4px 4px 3px 0 #444444; } @@ -1883,9 +1593,9 @@ tr.mceLast { background-color: #0080FF; color: #eeeeec; font-weight: bold; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; + -webkit-border-radius: $radiuspx; + -moz-border-radius: $radiuspx; + border-radius: $radiuspx; border: 2px outset #222420 !important; margin: 0; float: right; @@ -1899,8 +1609,8 @@ tr.mceLast { } .settings-widget .selected { - border-radius: 5px; - -moz-border-radius: 5px; + border-radius: $radiuspx; + -moz-border-radius: $radiuspx; box-shadow: 4px 4px 3px 0 #444444; } @@ -1979,11 +1689,6 @@ tr.mceLast { -/*.photos { - height: auto; - overflow: auto; -}*/ - .photos-end { clear: both; margin-bottom: 25px; @@ -2146,7 +1851,7 @@ tr.mceLast { } #in-this-photo-text { - color: #0000FF; + color: #0080FF; margin-left: 30px; } @@ -2166,49 +1871,6 @@ tr.mceLast { } -#group-new-submit-wrapper { - margin-top: 30px; -} - -#group-edit-name-label { - float: left; - width: 175px; - margin-top: 20px; - margin-bottom: 20px; -} - -#group-edit-name { - float: left; - width: 225px; - margin-top: 20px; - margin-bottom: 20px; -} - -#group-edit-name-wrapper { - - -} - - -#group_members_select_label { - display: block; - float: left; - width: 175px; -} - -.group_members_select { - float: left; - width: 230px; - overflow: auto; -} - -#group_members_select_end { - clear: both; -} -#group-edit-name-end { - clear: both; -} - #prvmail-to-label, #prvmail-subject-label, #prvmail-message-label { margin-bottom: 10px; margin-top: 20px; @@ -2407,43 +2069,17 @@ aside input[type='text'] { border-bottom: 1px solid #eec; padding: 8px; margin-top: 5px; - -moz-border-radius:5px; - -webkit-border-radius:5px; - border-radius:5px; - -} - - -#profile-jot-desc { - /*float: left;*/ - width: 480px; - color: #FF0000; - margin-top: 10px; - margin-bottom: 10px; -} - -#character-counter { - float: right; - font-size: 120%; -} - -#character-counter.grey { - color: #888888; -} + -moz-border-radius: $radiuspx; + -webkit-border-radius: $radiuspx; + border-radius: $radiuspx; -#character-counter.orange { - color: orange; -} -#character-counter.red { - color: red; } -#profile-jot-banner-end { - /* clear: both; */ +#profile-jot-wrapper { + margin-top: 25px; } - #settings-default-perms-menu { margin-top: 15px; margin-bottom: 15px; @@ -2455,40 +2091,6 @@ aside input[type='text'] { margin-right: 50px; } -#install-dbhost-label, -#install-dbuser-label, -#install-dbpass-label, -#install-dbdata-label, -#install-tz-desc { - float: left; - width: 250px; - margin-top: 10px; - margin-bottom: 10px; - -} - -#install-dbhost, -#install-dbuser, -#install-dbpass, -#install-dbdata { - float: left; - width: 200px; - margin-left: 20px; -} - -#install-dbhost-end, -#install-dbuser-end, -#install-dbpass-end, -#install-dbdata-end, -#install-tz-end { - clear: both; -} - -#install-form select#timezone_select { - float: left; - margin-top: 18px; - margin-left: 20px; -} #dfrn-request-networks { margin-bottom: 30px; @@ -2571,14 +2173,12 @@ aside input[type='text'] { #nav-searchbar { float: right; - margin-top: 4px; + margin-top: 3px; } #nav-search-spinner { float: right; - margin-top: 8px; - margin-left: 5px; - margin-right: 5px; + margin: 12px 12px 0px 0px; } #nav-search-text:hover { @@ -2587,8 +2187,11 @@ aside input[type='text'] { } #nav-search-text { + margin-top: -1px; + font-size: 0.8em; border-radius: 14px; - background-color: #AAAAAA; + border: none; + background-color: #FFDDDD; color: #eec; } @@ -2600,9 +2203,21 @@ aside input[type='text'] { } #nav-user-linkmenu img { - border-radius: 5px; + border-radius: $radiuspx; + margin-top: -4px; } +.nav-dropdown-indicator { + opacity: 0.8; + filter:alpha(opacity=80); +} + +.nav-dropdown-indicator:hover { + opacity: 1.0; + filter:alpha(opacity=100); +} + + .location-label, .gender-label, .marital-label, .homepage-label { float: left; text-align: right; @@ -2630,6 +2245,9 @@ aside input[type='text'] { font-size: 70%; } +.descriptive-text { + color: #888; +} #plugin-settings-link, #account-settings-link { margin-bottom: 10px; @@ -2803,6 +2421,10 @@ aside input[type='text'] { overflow: hidden; } +.profile-match-note { + text-align: center; +} + .profile-match-break, .profile-match-end { clear: both; @@ -2900,33 +2522,6 @@ aside input[type='text'] { margin-top: 15px; } -#crepair-name-label, -#crepair-nick-label, -#crepair-attag-label, -#crepair-url-label, -#crepair-request-label, -#crepair-confirm-label, -#crepair-notify-label, -#crepair-photo-label, -#crepair-poll-label { - float: left; - width: 200px; - margin-bottom: 15px; -} - -#crepair-name, -#crepair-nick, -#crepair-attag, -#crepair-url, -#crepair-request, -#crepair-confirm, -#crepair-notify, -#crepair-photo, -#crepair-poll { - float: left; - width: 300px; -} - #netsearch-box { margin-top: 20px; @@ -2964,16 +2559,20 @@ aside input[type='text'] { margin-top: 10px; } -.body-tag, .filesavetags, .categorytags { +.posttags a, .body-tag, .filesavetags, .categorytags { opacity: 0.5; filter:alpha(opacity=50); } -.body-tag:hover, .filesavetags:hover, .categorytags:hover { +.posttags a:hover, .body-tag:hover, .filesavetags:hover, .categorytags:hover { opacity: 1.0 !important; filter:alpha(opacity=100) !important; } +.posttags, .body-tag { + margin-top: 15px; +} + .item-select { opacity: 0.1; filter:alpha(opacity=10); @@ -3128,69 +2727,6 @@ brain is weird like that */ .field.radio .field_help { margin-left: 0px; } - - -/** - * ADMIN - */ -#pending-update { - float:right; - color: #ffffff; - font-weight: bold; - background-color: #FF0000; - padding: 0em 0.3em; - -} -#adminpage dl { - clear: left; - margin-bottom: 2px; - padding-bottom: 2px; - border-bottom: 1px solid black; -} -#adminpage dt { - width: 200px; - float: left; - font-weight: bold; -} -#adminpage dd { - margin-left: 200px; -} - -#adminpage h3 { - border-bottom: 1px solid #cccccc; -} -#adminpage .field label { - font-weight: bold; -} -#adminpage .submit { - clear:left; - text-align: right; -} - -#adminpage #pluginslist { - margin: 0px; padding: 0px; -} -#adminpage .plugin { - list-style: none; - display: block; - border: 1px solid #888888; - padding: 1em; - margin-bottom: 5px; - clear: left; -} -#adminpage .plugin .desc { margin-left: 2.5em;} -#adminpage .toggleplugin { - float:left; - margin-right: 1em; -} - -#adminpage table {width:100%; border-bottom: 1px solid #000000; margin: 5px 0px;} -#adminpage table th { text-align: left;} -#adminpage td .icon { float: left;} -#adminpage table#users img { width: 16px; height: 16px; } -#adminpage table tr:hover { background-color: #bbc7d7; } -#adminpage .selectall { text-align: right; } - /* * UPDATE @@ -3406,6 +2942,9 @@ brain is weird like that */ background-color:#ffffff; padding: 4px; clear:left; } +.acpopupitem.taggable { + background-color: #ddddff; +} .acpopupitem img { float: left; margin-right: 4px; @@ -3486,14 +3025,15 @@ div.jGrowl div.info { .slider { margin-top: 10px; - margin-bottom: 30px; + margin-bottom: 45px; } #main-slider { position: relative; - left: 5%; + left: 5px; width: 90%; + } @@ -3506,7 +3046,7 @@ div.jGrowl div.info { /* nav */ nav { width: 100%; - height: 32px; + height: 24px; position: fixed; // opacity: 0.6; // filter:alpha(opacity=60); @@ -3517,9 +3057,9 @@ nav { background-color: #d00; color: #eec; z-index: 100; - -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); +/* -webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); - box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); + box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7); */ /* TODO find a better way to do this without different code for every single browser. */ @@ -3538,6 +3078,8 @@ color-stop(0.82, #b00) ); } +/* + nav:hover { background-image: linear-gradient(bottom, #f00 26%, #b00 82%); @@ -3555,16 +3097,22 @@ color-stop(0.82, #b00) ); } +*/ + nav a, nav a:active, nav a:visited, -nav a:link, -nav a:hover { +nav a:link { color: #ffffff; text-decoration: none; outline: none; } +nav a:hover { + color: #0080FF; +} +nav .fakelink:hover { text-decoration: none; } + #profiles-menu li a { color: #ffffff; } @@ -3588,14 +3136,19 @@ nav ul li .menu-popup { right: auto; top: 33px; } + +#nav-user-linkmenu { + margin-left: 5px; +} + nav .nav-menu-icon { position: relative; height: 22px; padding: 5px; - margin: 3px 10px; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; +/* margin: 3px 10px; */ + -moz-border-radius: $radiuspx; + -webkit-border-radius: $radiuspx; + border-radius: $radiuspx; } nav .nav-menu-icon.selected { background-color: #FF0000; @@ -3611,26 +3164,33 @@ nav .nav-menu { position: relative; height: 16px; padding: 5px; - margin: 3px 15px 0px; - font-size: 14px; - border-bottom: 3px solid #f88; + margin: 0px 5px 0px; + font-size: 1.0em; +/* border-bottom: 3px solid #f88; */ } nav:hover .nav-menu { - border-bottom: 3px solid #f00; +/* border-bottom: 3px solid #f00; */ } -nav .nav-menu.selected { - border-bottom: 4px solid #CCCCCC; +nav .nav-menu.selected a { + color: #444444; } nav .nav-notify { background-color: #0080FF; color: #fff; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; + -moz-border-radius: $radiuspx; + -webkit-border-radius: $radiuspx; + border-radius: $radiuspx; + opacity: 0.6; + filter:alpha(opacity=60); + } +.nav-notify:hover, nav .nav-notify.selected span { + color: #ffffff; +} + nav .nav-notify.show { display: block; } @@ -3638,9 +3198,7 @@ nav #nav-help-link, nav #nav-login-link, nav #nav-search-link, nav #nav-directory-link, -nav #nav-apps-link, -nav #nav-user-linkmenu, -nav #nav-site-linkmenu { +nav #nav-apps-link { float: right; } nav #nav-help-link .menu-popup, @@ -3674,7 +3232,7 @@ ul.menu-popup { } ul.menu-popup a { display: block; - color: #; + color: #FFFFFF; padding: 5px 10px; text-decoration: none; } @@ -3682,7 +3240,7 @@ ul.menu-popup a { ul.menu-popup a:hover { background-color: #888888; - color: #000000; + color: #FFFFFF; } ul.menu-popup .menu-sep { border-top: 1px solid #9eabb0; @@ -3767,9 +3325,9 @@ ul.menu-popup { max-height: 400px; overflow-y: scroll;overflow-style:scrollbar; background-color:#FFFFFF; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - border-radius:5px; + -moz-border-radius: $radiuspx; + -webkit-border-radius: $radiuspx; + border-radius: $radiuspx; border: 1px solid #888; } #nav-notifications-menu .contactname { font-weight: bold; font-size: 0.9em; } @@ -3808,20 +3366,19 @@ ul.menu-popup { } #page-spinner { - margin-left: 50%; + color: #777; + margin: 24px; } .tabs-end { clear: both; } - - - #acl-wrapper { width: 690px; float:left; } + #acl-search { float:right; background: #ffffff url("../../../../images/search_18.png") no-repeat right center; @@ -3837,9 +3394,9 @@ ul.menu-popup { background-position: 7px 7px; background-repeat: no-repeat; padding: 7px 5px 0px 30px; - -webkit-border-radius: 5px ; - -moz-border-radius: 5px; - border-radius: 5px; + -webkit-border-radius: $radiuspx; + -moz-border-radius: $radiuspx; + border-radius: $radiuspx; color: #999999; } #acl-showall.selected { @@ -3872,6 +3429,10 @@ ul.menu-popup { float: left; margin: 4px; } +.acl-list-item.taggable { + background-color: #ddddff; +} + .acl-list-item p { height: 12px; font-size: 10px; margin: 0px; padding: 2px 0px 1px; overflow: hidden;} .acl-list-item a { font-size: 8px; @@ -3911,4 +3472,117 @@ ul.menu-popup { .contact-block-content { margin-top: 8px; -}
\ No newline at end of file +} + +.profile-match-connect { margin-top: 5px; } + +.reshared-content { margin-left: 30px; } +.shared_header img { margin-right: 10px; } + + +.mail-list-wrapper { + +border-bottom: 1px solid #ccc; +padding: 20px; +} + +span.mail-delete { +float: left; +width: 30px; +} + +a.mail-list-sender-url { +float: left; +width: 35px; +} + +img.mail-list-sender-photo { +height: 16px; +width: 16px; +} + + +span.mail-from { +float: left; +width: 200px; +} + +span.mail-subject.unseen{ +float: left; +width: 200px; +} + +span.mail-date { +float:left; +width: 200px; +} + + +.tag1 { + font-size : 1.0em !important; + } +.tag2 { + font-size : 1.2em !important; + } + + +.tag3 { + font-size : 1.4em !important; + } + + +.tag4 { + font-size : 1.6em !important; + } + + +.tag5 { + font-size : 1.8em !important; + } + + +.tag6 { + font-size : 2.0em !important; + } + + +.tag7 { + font-size : 2.2em !important; + } + + +.tag8 { + font-size : 2.4em !important; + } + + +.tag9 { + font-size : 2.6em !important; + } + + +.tag10 { + font-size : 2.8em !important; + } + +.profile-thing-list { + list-style-type: none; +} +/* +.profile-thing-list li { + float: left; + margin-right: 25px; +} +*/ + + +div#pagelist-content-wrapper { +width: 80%; +background: #fff; +margin-left: auto; +margin-right: auto; +} + +div.page-list-item { +margin: 20px; +} diff --git a/view/theme/redbasic/img/bg.png b/view/theme/redbasic/img/bg.png Binary files differdeleted file mode 100644 index eae49e037..000000000 --- a/view/theme/redbasic/img/bg.png +++ /dev/null diff --git a/view/theme/redbasic/img/events.png b/view/theme/redbasic/img/events.png Binary files differdeleted file mode 100644 index 96dd86899..000000000 --- a/view/theme/redbasic/img/events.png +++ /dev/null diff --git a/view/theme/redbasic/img/head.jpg b/view/theme/redbasic/img/head.jpg Binary files differdeleted file mode 100644 index 6210b76be..000000000 --- a/view/theme/redbasic/img/head.jpg +++ /dev/null diff --git a/view/theme/redbasic/img/home.png b/view/theme/redbasic/img/home.png Binary files differdeleted file mode 100644 index d1ba7b3f3..000000000 --- a/view/theme/redbasic/img/home.png +++ /dev/null diff --git a/view/theme/redbasic/img/introductions.png b/view/theme/redbasic/img/introductions.png Binary files differdeleted file mode 100644 index 9e0498227..000000000 --- a/view/theme/redbasic/img/introductions.png +++ /dev/null diff --git a/view/theme/redbasic/img/lock.cur b/view/theme/redbasic/img/lock.cur Binary files differdeleted file mode 100644 index 892c5e851..000000000 --- a/view/theme/redbasic/img/lock.cur +++ /dev/null diff --git a/view/theme/redbasic/img/message.png b/view/theme/redbasic/img/message.png Binary files differdeleted file mode 100644 index f3fea75ee..000000000 --- a/view/theme/redbasic/img/message.png +++ /dev/null diff --git a/view/theme/redbasic/img/network.png b/view/theme/redbasic/img/network.png Binary files differdeleted file mode 100644 index f3e45c3ec..000000000 --- a/view/theme/redbasic/img/network.png +++ /dev/null diff --git a/view/theme/redbasic/img/settings.png b/view/theme/redbasic/img/settings.png Binary files differdeleted file mode 100644 index a935b225e..000000000 --- a/view/theme/redbasic/img/settings.png +++ /dev/null diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 00b8fa39f..10ca4cfa3 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -86,4 +86,16 @@ $('.savedsearchterm').hover( }); - +$(document).ready(function(){ + var doctitle = document.title; + function checkNotify() { + var notifyUpdateElem = document.getElementById('notify-update'); + if(notifyUpdateElem !== null) { + if(notifyUpdateElem.innerHTML != "") + document.title = "("+notifyUpdateElem.innerHTML+") " + doctitle; + else + document.title = doctitle; + } + }; + setInterval(function () {checkNotify();}, 10 * 1000); +});
\ No newline at end of file diff --git a/view/theme/redbasic/php/config.php b/view/theme/redbasic/php/config.php index ad5df57ce..4e7363362 100644 --- a/view/theme/redbasic/php/config.php +++ b/view/theme/redbasic/php/config.php @@ -4,42 +4,74 @@ */ function theme_content(&$a) { + // Doesn't yet work for anyone other than the channel owner, and stupid mode isn't finished, so return both for now. if(!local_user()) { return; } - $font_size = get_pconfig(local_user(),'redbasic', 'font_size' ); $line_height = get_pconfig(local_user(), 'redbasic', 'line_height' ); $colour = get_pconfig(local_user(), 'redbasic', 'colour' ); - - return redbasic_form($a, $font_size, $line_height, $colour); + $shadow = get_pconfig(local_user(), 'redbasic', 'shadow' ); + $navcolour = get_pconfig(local_user(), 'redbasic', 'navcolour'); + $displaystyle = get_pconfig(local_user(), 'redbasic', 'displaystyle'); + $linkcolour = get_pconfig(local_user(), 'redbasic', 'linkcolour'); + $iconset = get_pconfig(local_user(), 'redbasic', 'iconset'); + $shiny = get_pconfig(local_user(), 'redbasic', 'shiny'); + $colour_scheme = get_pconfig(local_user(), 'redbasic', 'colour_scheme'); + $radius = get_pconfig(local_user(),'redbasic','radius'); + + return redbasic_form($a, $font_size, $line_height, $colour, $shadow, $navcolour, $opaquenav, $displaystyle, $linkcolour, $iconset, $shiny, $colour_scheme,$radius); } function theme_post(&$a) { if(!local_user()) { return; } - + if (isset($_POST['redbasic-settings-submit'])) { set_pconfig(local_user(), 'redbasic', 'font_size', $_POST['redbasic_font_size']); set_pconfig(local_user(), 'redbasic', 'line_height', $_POST['redbasic_line_height']); set_pconfig(local_user(), 'redbasic', 'colour', $_POST['redbasic_colour']); + set_pconfig(local_user(), 'redbasic', 'shadow', $_POST['redbasic_shadow']); + set_pconfig(local_user(), 'redbasic', 'navcolour', $_POST['redbasic_navcolour']); + set_pconfig(local_user(), 'redbasic', 'displaystyle', $_POST['redbasic_displaystyle']); + set_pconfig(local_user(), 'redbasic', 'linkcolour', $_POST['redbasic_linkcolour']); + set_pconfig(local_user(), 'redbasic', 'iconset', $_POST['redbasic_iconset']); + set_pconfig(local_user(), 'redbasic', 'shiny', $_POST['redbasic_shiny']); + set_pconfig(local_user(), 'redbasic', 'colour_scheme', $_POST['redbasic_colour_scheme']); + set_pconfig(local_user(), 'redbasic', 'radius', $_POST['redbasic_radius']); } -} -function theme_admin(&$a) { - $font_size = get_config('redbasic', 'font_size' ); - $line_height = get_config('redbasic', 'line_height' ); - $colour = get_config('redbasic', 'colour' ); - - return redbasic_form($a, $font_size, $line_height, $colour); } -function theme_admin_post(&$a) { - if (isset($_POST['redbasic-settings-submit'])) { - set_config('redbasic', 'font_size', $_POST['redbasic_font_size']); - set_config('redbasic', 'line_height', $_POST['redbasic_line_height']); - set_config('redbasic', 'colour', $_POST['redbasic_colour']); - } -} +// We probably don't want these if we're having global settings, but we'll comment out for now, just in case +//function theme_admin(&$a) { $font_size = get_config('redbasic', 'font_size' ); +// $line_height = get_config('redbasic', 'line_height' ); +// $colour = get_config('redbasic', 'colour' ); +// $shadow = get_config('redbasic', 'shadow' ); +// $navcolour = get_config('redbasic', 'navcolour' ); +// $opaquenav = get_config('redbasic', 'opaquenav' ); +// $itemstyle = get_config('redbasic', 'itemstyle' ); +// $linkcolour = get_config('redbasic', 'linkcolour' ); +// $iconset = get_config('redbasic', 'iconset' ); +// $shiny = get_config('redbasic', 'shiny' ); +// +// return redbasic_form($a, $font_size, $line_height, $colour, $shadow, $navcolour, $opaquenav, $itemstyle, $linkcolour, $iconset, $shiny); +//} -function redbasic_form(&$a, $font_size, $line_height, $colour) { +//function theme_admin_post(&$a) { +// if (isset($_POST['redbasic-settings-submit'])) { +// set_config('redbasic', 'font_size', $_POST['redbasic_font_size']); +// set_config('redbasic', 'line_height', $_POST['redbasic_line_height']); +// set_config('redbasic', 'colour', $_POST['redbasic_colour']); +// set_config('redbasic', 'shadow', $_POST['redbasic_shadow']); +// set_config('redbasic', 'navcolour', $_POST['redbasic_navcolour']); +// set_config('redbasic', 'opaquenav', $_POST['redbasic_opaquenav']); +// set_config('redbasic', 'itemstyle', $_POST['redbasic_itemstyle']); +// set_config('redbasic', 'linkcolour', $_POST['redbasic_linkcolour']); +// set_config('redbasic', 'iconset', $_POST['redbasic_iconset']); +// set_config('redbasic', 'shiny', $_POST['redbasic_shiny']); +// } +//} + +// These aren't all used yet, but they're not bloat - we'll use drop down menus in idiot mode. +function redbasic_form(&$a, $font_size, $line_height, $colour, $shadow, $navcolour, $opaquenav, $displaystyle, $linkcolour, $iconset, $shiny, $colour_scheme,$radius) { $line_heights = array( "1.3" => "1.3", "---" => "---", @@ -65,16 +97,68 @@ function redbasic_form(&$a, $font_size, $line_height, $colour) { 'dark' => 'dark', ); - $t = get_markup_template('theme_settings.tpl'); - $o .= replace_macros($t, array( + $colour_schemes = array( + 'redbasic' => 'redbasic', + 'fancyred' => 'fancyred', + 'dark' => 'dark', + ); + $shadows = array( + 'true' => 'Yes', + 'false' => 'No', + ); + + $navcolours = array ( + 'red' => 'red', + 'black' => 'black', + ); + + $displaystyles = array ( + 'fancy' => 'fancy', + 'classic' => 'classic', + ); + + $linkcolours = array ( + 'blue' => 'blue', + 'red' => 'red', + ); + + $iconsets = array ( + 'default' => 'default', + ); + + $shinys = array ( + 'none' => 'none', + 'opaque' => 'opaque', + ); + if(feature_enabled(local_user(),'expert')) { + $t = get_markup_template('theme_settings.tpl'); + $o .= replace_macros($t, array( '$submit' => t('Submit'), '$baseurl' => $a->get_baseurl(), '$title' => t("Theme settings"), '$font_size' => array('redbasic_font_size', t('Set font-size for posts and comments'), $font_size, '', $font_sizes), '$line_height' => array('redbasic_line_height', t('Set line-height for posts and comments'), $line_height, '', $line_heights), '$colour' => array('redbasic_colour', t('Set colour scheme'), $colour, '', $colours), - )); - + '$shadow' => array('redbasic_shadow', t('Draw shadows'), $shadow, '', $shadows), + '$navcolour' => array('redbasic_navcolour', t('Navigation bar colour'), $navcolour, '', $navcolours), + '$displaystyle' => array('redbasic_displaystyle', t('Display style'), $displaystyle, '', $displaystyles), + '$linkcolour' => array('redbasic_linkcolour', t('Display colour of links - hex value, do not include the #'), $linkcolour, '', $linkcolours), + '$iconset' => array('redbasic_iconset', t('Icons'), $iconset, '', $iconsets), + '$shiny' => array('redbasic_shiny', t('Shiny style'), $shiny, '', $shinys), + '$radius' => array('redbasic_radius', t('Corner radius'), $radius, t('0-99 default: 5')), + ));} + + if(! feature_enabled(local_user(),'expert')) { + $t = get_markup_template('basic_theme_settings.tpl'); + $o .= replace_macros($t, array( + '$submit' => t('Submit'), + '$baseurl' => $a->get_baseurl(), + '$title' => t("Theme settings"), + '$font_size' => array('redbasic_font_size', t('Set font-size for posts and comments'), $font_size, '', $font_sizes), + '$line_height' => array('redbasic_line_height', t('Set line-height for posts and comments'), $line_height, '', $line_heights), + '$colour_scheme' => array('redbasic_colour_scheme', t('Set colour scheme'), $colour_scheme, '', $colour_schemes), + ));} + return $o; } diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index 99ad06c55..8643925d3 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -1,46 +1,159 @@ <?php + // This needs changing now, if we're going for global settings. Admin settings have been removed in preparation, You *should* just be able to remove all + // the get_config bits, though this is untested. + // We also need to eventually. Use the page owners settings for everybody - get_pconfig(page_owner()) or whatever that would look like. + + + $uid = get_theme_uid(); + + if($uid) + load_pconfig($uid,'redbasic'); + $line_height = false; $redbasic_font_size = false; $resolution = false; $colour = false; + $shadows = false; + $navcolour = false; + $nav_bg_1 = "f88"; + $nav_bg_2 = "b00"; + $nav_bg_3 = "f00"; + $nav_bg_4 = "b00"; + $displaystyle = false; + $linkcolour = false; + $shiny = false; + $radius = 5; $site_line_height = get_config("redbasic","line_height"); $site_redbasic_font_size = get_config("redbasic", "font_size" ); $site_colour = get_config("redbasic", "colour" ); + $shadows = get_config("redbasic", "shadow" ); + $navcolour = get_config("redbasic", "navcolour" ); + $displaystyle = get_config("redbasic", "displaystyle" ); + $linkcolour = get_config("redbasic", "linkcolour" ); + $shiny = get_config("redbasic", "shiny" ); - if (local_user()) { - $line_height = get_pconfig(local_user(), "redbasic","line_height"); - $redbasic_font_size = get_pconfig(local_user(), "redbasic", "font_size"); - $colour = get_pconfig(local_user(), "redbasic", "colour"); + $x = get_config('redbasic','radius'); + if($x !== false) + $radius = $x; + + if ($uid) { + $line_height = get_pconfig($uid, "redbasic","line_height"); + $redbasic_font_size = get_pconfig($uid, "redbasic", "font_size"); + $colour = get_pconfig($uid, "redbasic", "colour"); + $shadows = get_pconfig($uid, "redbasic", "shadow"); + $navcolour = get_pconfig($uid, "redbasic", "navcolour"); + $displaystyle = get_pconfig($uid, "redbasic", "displaystyle"); + $linkcolour = get_pconfig($uid, "redbasic", "linkcolour"); + $shiny = get_pconfig($uid, "redbasic", "shiny"); + $x = get_pconfig($uid,'redbasic','radius'); + if($x !== false) + $radius = $x; + + if (! feature_enabled($uid,'expert')) {$colour_scheme = get_pconfig($uid, "redbasic", "colour_scheme");} } - if ($line_height === false) { - $line_height = $site_line_height; - } - if ($line_height === false) { - $line_height = "1.2"; - } - if ($redbasic_font_size === false) { - $redbasic_font_size = $site_redbasic_font_size; - } - if ($redbasic_font_size === false) { - $redbasic_font_size = "12"; - } - if ($colour === false) { - $colour = $site_colour; - } - if($colour === false) { - $colour = "light"; - } - + // In non-expert mode, we just let them choose font size, line height, and a colour scheme. A colour scheme is just a pre-defined set of the above variables. + // But only apply these settings in non-expert mode to prevent confusion when turning expert mode on and off. + if(! feature_enabled($uid,'expert')) { + if ($colour_scheme === 'fancyred') {$shadows = true; $navcolour = 'black'; $displaystyle = 'fancy'; $linkcolour = 'f00'; $shiny = "opaque";} + // Dark themes are very different - we need to do some of these from scratch, so don't bother setting vars for anything else + if ($colour_scheme === 'dark') {$colour = 'dark'; $navcolour = 'black';} + if ($colour_scheme === 'redbasic'){$navcolour = 'red';} + $shadows = false; + $radius = 5; +} + +// This is probably the easiest place to apply global settings. Don't bother with site line height and such. Instead, check pconfig for global user settings. +// eg, if ($redbasic_font_size === false) {$redbasic_font_size = get_pconfig($uid, "global", "font_size"); If it's not set, we'll just use the CSS with no changes. +// Then all you need to do is add a "Global Settings" tab to settings/display, and make an equivalent of theme_settings.tpl and config.php to be loaded there. Easy. + + if ($line_height === false) {$line_height = $site_line_height;} + if ($line_height === false) {$line_height = "1.2";} + if ($redbasic_font_size === false) {$redbasic_font_size = $site_redbasic_font_size;} + if ($redbasic_font_size === false) {$redbasic_font_size = "12";} + if ($colour === false) {$colour = $site_colour;} + if ($colour === false) {$colour = "light";} + if ($navcolour === "black") {$nav_bg_1 = "000"; + $nav_bg_2 = "2e2f2e";} + if(file_exists('view/theme/' . current_theme() . '/css/style.css')) { - echo file_get_contents('view/theme/' . current_theme() . '/css/style.css'); + $x = file_get_contents('view/theme/' . current_theme() . '/css/style.css'); + if(get_config('system','pcss_compress')) { + // this shaves off about 10%, probably not enough to worry about right now. + logger('pcss compress: original size: ' . strlen($x), LOGGER_DEBUG); + $x = str_replace(array("\r","\t"," "),array("",' ',' '),$x); + $x = preg_replace('/(\n[ ]+?)/s',"\n",$x); + $x = str_replace("\n","",$x); + logger('pcss compress: final size: ' . strlen($x), LOGGER_DEBUG); + } + echo str_replace(array('$radius'),array($radius),$x); } echo "\r\n"; - if(($redbasic_font_size >= 10.0) && ($redbasic_font_size <= 16.0)) { - echo ".wall-item-content { font-size: $redbasic_font_size; }\r\n"; +// use $colour_scheme for idiot mode. + if($colour === "dark") {if (file_exists('view/theme/' . current_theme() . '/css/dark.css')) { + $dark = (file_get_contents('view/theme/' . current_theme() . '/css/dark.css')); + echo "$dark";} + } + + + +// Enforce sane limits for expert mode - otherwise we'll end up with "experts" who think font size is a percentage. + + if(($redbasic_font_size >= 8.0) && ($redbasic_font_size <= 20.0)) { + echo ".wall-item-content { font-size: ${redbasic_font_size}px;}\r\n"; } - if(($line_height >= 1.0) && ($line_height <= 1.5)) { + if(($line_height >= 1.0) && ($line_height <= 2.0)) { echo ".wall-item-content { line-height: $line_height; }\r\n"; } + + +// Minimum value shadows - they shouldn't all be the same size; just get it working, clean up later. + if($shadows === "true") { + echo "code, blockquote, .wall-item-content-wrapper, .wall-item-content-wrapper.comment, .wall-item-content img, #profile-jot-perms, #profile-jot-submit, .tab, .tab.active, .settings-widget li, .wall-item-photo, .photo, .contact-block-img, .my-comment-photo, #posted-date-selector:hover, .contact-entry-photo img, .profile-match-photo img, #photo-photo img, .directory-photo-img, .photo-album-photo, .photo-top-photo, .group-selected, .nets-selected, .fileas-selected, .categories-selected { + box-shadow: 5px 5px 5px #111;}\r\n + + .tab.active, #jot-title, #jot-category, .comment-edit-text-empty, .comment-edit-text-full, iframe#profile-jot-text_ifr, #profile-jot-text { + box-shadow: 5px 5px 5px #666 inset;}\r\n"; + + } + +// Since every change would otherwise require five lines, it's simpler to just set a default and echo this without first checking if we've set it. + echo "nav {background-image: linear-gradient(bottom, #$nav_bg_1 26%, #$nav_bg_2 82%); + background-image: -o-linear-gradient(bottom, #$nav_bg_1 26%, #$nav_bg_2 82%); + background-image: -moz-linear-gradient(bottom, #$nav_bg_1 26%, #$nav_bg_2 82%) !important; + background-image: -webkit-linear-gradient(bottom, #$nav_bg_1 26%, #$nav_bg_2 82%); + background-image: -ms-linear-gradient(bottom, #$nav_bg_1 26%, #$nav_bg_2 82%);}"; + + if($navcolour === false || $navcolour === 'red') { + echo "nav:hover {background-image: linear-gradient(bottom, #$nav_bg_3 26%, #$nav_bg_4 82%); + background-image: -o-linear-gradient(bottom, #$nav_bg_3 26%, #$nav_bg_4 82%); + background-image: -moz-linear-gradient(bottom, #$nav_bg_3 26%, #$nav_bg_4 82%) !important; + background-image: -webkit-linear-gradient(bottom, #$nav_bg_3 26%, #$nav_bg_4 82%); + background-image: -ms-linear-gradient(bottom, #$nav_bg_3 26%, #$nav_bg_4 82%);}"; + } + +// This takes quite a lot of code, so we'll keep it in a separate file, and echo the lot. Devs still don't have to worry about - it's just overrides. +// Theme devs can play with it without facing scary PHP. + + if ($displaystyle === "fancy") + {if (file_exists('view/theme/' . current_theme() . '/css/fancy.css')) { + $fancy = (file_get_contents('view/theme/' . current_theme() . '/css/fancy.css')); + echo str_replace(array('$radius'),array($radius),$fancy); + } + } + +// Put the # here to force hex colours - if we don't, somebody is going to do something odd, using RGB and we're all going to be confused on the support forums +// until one of us works out what they've done. + + if ($linkcolour != false) { + echo "a, a:visited, a:link, .fakelink, .fakelink:visited, .fakelink:link {color: #$linkcolour;}\r\n"; + } + +// If you want a shiny that just sets a different colour, add an if $shiny != false and handle it as the linkcolour above. + + if ($shiny === 'opaque') { + echo "div.wall-item-content-wrapper.shiny {opacity: 1;}\r\n + .wall-item-content-wrapper {opacity: 0.8;}"; + }
\ No newline at end of file diff --git a/view/theme/redbasic/tpl/smarty3/theme_settings.tpl b/view/theme/redbasic/tpl/basic_theme_settings.tpl index f91f24de6..33a34b292 100644..100755 --- a/view/theme/redbasic/tpl/smarty3/theme_settings.tpl +++ b/view/theme/redbasic/tpl/basic_theme_settings.tpl @@ -7,6 +7,8 @@ {{include file="field_select.tpl" field=$line_height}} +{{include file="field_select.tpl" field=$colour_scheme}} + <div class="settings-submit-wrapper"> <input type="submit" value="{{$submit}}" class="settings-submit" name="redbasic-settings-submit" /> </div> diff --git a/view/theme/redbasic/tpl/theme_settings.tpl b/view/theme/redbasic/tpl/theme_settings.tpl index d0d153e73..cd980fbc3 100644..100755 --- a/view/theme/redbasic/tpl/theme_settings.tpl +++ b/view/theme/redbasic/tpl/theme_settings.tpl @@ -1,7 +1,23 @@ -{{inc field_select.tpl with $field=$font_size}}{{endinc}} +{{include file="field_select.tpl" field=$colour}} -{{inc field_select.tpl with $field=$line_height}}{{endinc}} +{{include file="field_input.tpl" field=$font_size}} + +{{include file="field_input.tpl" field=$line_height}} + +{{include file="field_select.tpl" field=$shadow}} + +{{include file="field_select.tpl" field=$navcolour}} + +{{include file="field_select.tpl" field=$displaystyle}} + +{{include file="field_input.tpl" field=$linkcolour}} + +{{include file="field_select.tpl" field=$iconset}} + +{{include file="field_select.tpl" field=$shiny}} + +{{include file="field_input.tpl" field=$radius}} <div class="settings-submit-wrapper"> - <input type="submit" value="$submit" class="settings-submit" name="redbasic-settings-submit" /> + <input type="submit" value="{{$submit}}" class="settings-submit" name="redbasic-settings-submit" /> </div> diff --git a/view/tpl/404.tpl b/view/tpl/404.tpl index bf4d4e949..518ad1d29 100644..100755 --- a/view/tpl/404.tpl +++ b/view/tpl/404.tpl @@ -1 +1 @@ -<h1>$message</h1> +<h1>{{$message}}</h1> diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl index 7f20f3398..c285e56d1 100644..100755 --- a/view/tpl/abook_edit.tpl +++ b/view/tpl/abook_edit.tpl @@ -1,74 +1,84 @@ +<h2>{{$header}}</h2> -<h2>$header</h2> +<h3>{{$addr}}</h3> -<h3>$addr</h3> - -{{ if $notself }} +{{if $notself}} <div id="connection-flag-tabs"> -$tabs +{{$tabs}} </div> -{{ endif }} +{{/if}} -{{ if $self }} -<div id="autoperm-desc" class="descriptive-paragraph">$autolbl</div> -{{ endif }} +{{if $self}} +<div id="autoperm-desc" class="descriptive-paragraph">{{$autolbl}}</div> +{{/if}} <div id="contact-edit-wrapper"> -{{ if $notself }} -{{ if $slide }} -<h3>$lbl_slider</h3> +{{if $notself}} +{{if $slide}} +<h3>{{$lbl_slider}}</h3> -$slide +{{$slide}} -{{ endif }} -{{ endif }} +{{/if}} +{{/if}} -<h3>$permlbl</h3> +<h3>{{$permlbl}}</h3> +<div id="perm-desc" class="descriptive-text">{{$permnote}}</div> -<form id="abook-edit-form" action="connections/$contact_id" method="post" > -<input type="hidden" name="contact_id" value="$contact_id"> -<input id="contact-closeness-mirror" type="hidden" name="closeness" value="$close" /> +<form id="abook-edit-form" action="connections/{{$contact_id}}" method="post" > +<input type="hidden" name="contact_id" value="{{$contact_id}}"> +<input id="contact-closeness-mirror" type="hidden" name="closeness" value="{{$close}}" /> -{{ if $noperms }} -<div id="noperm-desc" class="descriptive-paragraph">$noperms</div> -{{ endif }} +{{if $noperms}} +<div id="noperm-msg" class="warning-text">{{$noperms}}</div> +<div id="noperm-text" class="descriptive-text">{{$noperm_desc}}</div> +{{/if}} -{{ if $is_pending }} -{{inc field_checkbox.tpl with $field=$unapproved }}{{endinc}} -{{ endif }} +{{if $is_pending}} +{{include file="field_checkbox.tpl" field=$unapproved}} +{{/if}} <br /> -<b>$quick</b> +<b>{{$quick}}</b> <ul> -{{ if $self }} -<li><span class="fakelink" onclick="connectForum(); $('#abook-edit-form').submit();">$forum</span></li> -<li><span class="fakelink" onclick="connectSoapBox(); $('#abook-edit-form').submit();">$soapbox</span></li> -{{ endif }} -<li><span class="fakelink" onclick="connectFullShare(); $('#abook-edit-form').submit();">$full</span></li> -<li><span class="fakelink" onclick="connectCautiousShare(); $('#abook-edit-form').submit();">$cautious</span></li> -<li><span class="fakelink" onclick="connectFollowOnly(); $('#abook-edit-form').submit();">$follow</span></li> +{{if $self}} +<li><span class="fakelink" onclick="connectForum(); // $('#abook-edit-form').submit();">{{$forum}}</span></li> +<li><span class="fakelink" onclick="connectSoapBox(); // $('#abook-edit-form').submit();">{{$soapbox}}</span></li> +{{/if}} +<li><span class="fakelink" onclick="connectFullShare(); // $('#abook-edit-form').submit();">{{$full}}</span></li> +<li><span class="fakelink" onclick="connectCautiousShare(); // $('#abook-edit-form').submit();">{{$cautious}}</span></li> +<li><span class="fakelink" onclick="connectFollowOnly(); // $('#abook-edit-form').submit();">{{$follow}}</span></li> </ul> -<div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">$advanced</div> +<div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">{{$advanced}}</div> -<div id="abook-advanced-panel" style="display: none;"> +<div id="abook-advanced-panel" style="display: block;"> -<span class="abook-them">$them</span><span class="abook-me">$me</span> +<span class="abook-them">{{$them}}</span><span class="abook-me">{{$me}}</span> <br /> <br /> -{{ for $perms as $prm }} -{{inc field_acheckbox.tpl with $field=$prm }}{{endinc}} -{{ endfor }} +{{foreach $perms as $prm}} +{{include file="field_acheckbox.tpl" field=$prm}} +{{/foreach}} <br /> </div> -<input class="contact-edit-submit" type="submit" name="done" value="$submit" /> +{{if $multiprofs }} +<div> +<h3>{{$lbl_vis1}}</h3> +<div>{{$lbl_vis2}}</div> + +{{$profile_select}} +</div> +{{/if}} + +<input class="contact-edit-submit" type="submit" name="done" value="{{$submit}}" /> </form> </div> diff --git a/view/tpl/acl_selector.tpl b/view/tpl/acl_selector.tpl index e5231b0f8..d21073b56 100644..100755 --- a/view/tpl/acl_selector.tpl +++ b/view/tpl/acl_selector.tpl @@ -1,6 +1,6 @@ <div id="acl-wrapper"> <input id="acl-search"> - <a href="#" id="acl-showall">$showall</a> + <a href="#" id="acl-showall">{{$showall}}</a> <div id="acl-list"> <div id="acl-list-content"> </div> @@ -10,8 +10,8 @@ <div class="acl-list-item" rel="acl-template" style="display:none"> <img src="{0}"><p>{1}</p> - <a href="#" class='acl-button-show'>$show</a> - <a href="#" class='acl-button-hide'>$hide</a> + <a href="#" class='acl-button-show'>{{$show}}</a> + <a href="#" class='acl-button-hide'>{{$hide}}</a> </div> <script> @@ -20,7 +20,7 @@ $(document).ready(function() { if(typeof acl=="undefined"){ acl = new ACL( baseurl+"/acl", - [ $allowcid,$allowgid,$denycid,$denygid ] + [ {{$allowcid}},{{$allowgid}},{{$denycid}},{{$denygid}} ] ); } }, 5000 ); diff --git a/view/tpl/admin_aside.tpl b/view/tpl/admin_aside.tpl index ca1f4985c..acf58668d 100644..100755 --- a/view/tpl/admin_aside.tpl +++ b/view/tpl/admin_aside.tpl @@ -10,33 +10,33 @@ }); }); </script> -<h4><a href="$admurl">$admtxt</a></h4> +<h4><a href="{{$admurl}}">{{$admtxt}}</a></h4> <ul class='admin linklist'> - <li class='admin link button $admin.site.2'><a href='$admin.site.0'>$admin.site.1</a></li> - <li class='admin link button $admin.users.2'><a href='$admin.users.0'>$admin.users.1</a><span id='pending-update' title='$h_pending'></span></li> - <li class='admin link button $admin.plugins.2'><a href='$admin.plugins.0'>$admin.plugins.1</a></li> - <li class='admin link button $admin.themes.2'><a href='$admin.themes.0'>$admin.themes.1</a></li> - <li class='admin link button $admin.dbsync.2'><a href='$admin.dbsync.0'>$admin.dbsync.1</a></li> + <li class='admin link button {{$admin.site.2}}'><a href='{{$admin.site.0}}'>{{$admin.site.1}}</a></li> + <li class='admin link button {{$admin.users.2}}'><a href='{{$admin.users.0}}'>{{$admin.users.1}}</a><span id='pending-update' title='{{$h_pending}}'></span></li> + <li class='admin link button {{$admin.plugins.2}}'><a href='{{$admin.plugins.0}}'>{{$admin.plugins.1}}</a></li> + <li class='admin link button {{$admin.themes.2}}'><a href='{{$admin.themes.0}}'>{{$admin.themes.1}}</a></li> + <li class='admin link button {{$admin.dbsync.2}}'><a href='{{$admin.dbsync.0}}'>{{$admin.dbsync.1}}</a></li> </ul> -{{ if $admin.update }} +{{if $admin.update}} <ul class='admin linklist'> - <li class='admin link button $admin.update.2'><a href='$admin.update.0'>$admin.update.1</a></li> - <li class='admin link button $admin.update.2'><a href='https://kakste.com/profile/inthegit'>Important Changes</a></li> + <li class='admin link button {{$admin.update.2}}'><a href='{{$admin.update.0}}'>{{$admin.update.1}}</a></li> + <li class='admin link button {{$admin.update.2}}'><a href='https://kakste.com/profile/inthegit'>Important Changes</a></li> </ul> -{{ endif }} +{{/if}} -{{ if $admin.plugins_admin }}<h4>$plugadmtxt</h4>{{ endif }} +{{if $admin.plugins_admin}}<h4>{{$plugadmtxt}}</h4>{{/if}} <ul class='admin linklist'> - {{ for $admin.plugins_admin as $l }} - <li class='admin link button $l.2'><a href='$l.0'>$l.1</a></li> - {{ endfor }} + {{foreach $admin.plugins_admin as $l}} + <li class='admin link button {{$l.2}}'><a href='{{$l.0}}'>{{$l.1}}</a></li> + {{/foreach}} </ul> -<h4>$logtxt</h4> +<h4>{{$logtxt}}</h4> <ul class='admin linklist'> - <li class='admin link button $admin.logs.2'><a href='$admin.logs.0'>$admin.logs.1</a></li> + <li class='admin link button {{$admin.logs.2}}'><a href='{{$admin.logs.0}}'>{{$admin.logs.1}}</a></li> </ul> diff --git a/view/tpl/admin_logs.tpl b/view/tpl/admin_logs.tpl index b777cf420..e5412429f 100644..100755 --- a/view/tpl/admin_logs.tpl +++ b/view/tpl/admin_logs.tpl @@ -1,19 +1,19 @@ <div id='adminpage'> - <h1>$title - $page</h1> + <h1>{{$title}} - {{$page}}</h1> - <form action="$baseurl/admin/logs" method="post"> - <input type='hidden' name='form_security_token' value='$form_security_token'> + <form action="{{$baseurl}}/admin/logs" method="post"> + <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - {{ inc field_checkbox.tpl with $field=$debugging }}{{ endinc }} - {{ inc field_input.tpl with $field=$logfile }}{{ endinc }} - {{ inc field_select.tpl with $field=$loglevel }}{{ endinc }} + {{include file="field_checkbox.tpl" field=$debugging}} + {{include file="field_input.tpl" field=$logfile}} + {{include file="field_select.tpl" field=$loglevel}} - <div class="submit"><input type="submit" name="page_logs" value="$submit" /></div> + <div class="submit"><input type="submit" name="page_logs" value="{{$submit}}" /></div> </form> - <h3>$logname</h3> - <div style="width:100%; height:400px; overflow: auto; "><pre>$data</pre></div> -<!-- <iframe src='$baseurl/$logname' style="width:100%; height:400px"></iframe> --> - <!-- <div class="submit"><input type="submit" name="page_logs_clear_log" value="$clear" /></div> --> + <h3>{{$logname}}</h3> + <div style="width:100%; height:400px; overflow: auto; "><pre>{{$data}}</pre></div> +<!-- <iframe src='{{$baseurl}}/{{$logname}}' style="width:100%; height:400px"></iframe> --> + <!-- <div class="submit"><input type="submit" name="page_logs_clear_log" value="{{$clear}}" /></div> --> </div> diff --git a/view/tpl/admin_plugins.tpl b/view/tpl/admin_plugins.tpl index 74b56bb4e..01c178c3e 100644..100755 --- a/view/tpl/admin_plugins.tpl +++ b/view/tpl/admin_plugins.tpl @@ -1,15 +1,15 @@ <div id='adminpage'> - <h1>$title - $page</h1> + <h1>{{$title}} - {{$page}}</h1> <ul id='pluginslist'> - {{ for $plugins as $p }} - <li class='plugin $p.1'> - <a class='toggleplugin' href='$baseurl/admin/$function/$p.0?a=t&t=$form_security_token' title="{{if $p.1==on }}Disable{{ else }}Enable{{ endif }}" ><span class='icon $p.1'></span></a> - <a href='$baseurl/admin/$function/$p.0'><span class='name'>$p.2.name</span></a> - <span class="version">$p.2.version</span> - {{ if $p.2.experimental }} $experimental {{ endif }}{{ if $p.2.unsupported }} $unsupported {{ endif }} + {{foreach $plugins as $p}} + <li class='plugin {{$p.1}}'> + <a class='toggleplugin' href='{{$baseurl}}/admin/{{$function}}/{{$p.0}}?a=t&t={{$form_security_token}}' title="{{if $p.1==on}}Disable{{else}}Enable{{/if}}" ><span class='icon {{$p.1}}'></span></a> + <a href='{{$baseurl}}/admin/{{$function}}/{{$p.0}}'><span class='name'>{{$p.2.name}}</span></a> - <span class="version">{{$p.2.version}}</span> + {{if $p.2.experimental}} {{$experimental}} {{/if}}{{if $p.2.unsupported}} {{$unsupported}} {{/if}} - <div class='desc'>$p.2.description</div> + <div class='desc'>{{$p.2.description}}</div> </li> - {{ endfor }} + {{/foreach}} </ul> </div> diff --git a/view/tpl/admin_plugins_details.tpl b/view/tpl/admin_plugins_details.tpl index 931c7b83c..47c33bec3 100644..100755 --- a/view/tpl/admin_plugins_details.tpl +++ b/view/tpl/admin_plugins_details.tpl @@ -1,36 +1,36 @@ <div id='adminpage'> - <h1>$title - $page</h1> + <h1>{{$title}} - {{$page}}</h1> - <p><span class='toggleplugin icon $status'></span> $info.name - $info.version : <a href="$baseurl/admin/$function/$plugin/?a=t&t=$form_security_token">$action</a></p> - <p>$info.description</p> + <p><span class='toggleplugin icon {{$status}}'></span> {{$info.name}} - {{$info.version}} : <a href="{{$baseurl}}/admin/{{$function}}/{{$plugin}}/?a=t&t={{$form_security_token}}">{{$action}}</a></p> + <p>{{$info.description}}</p> - <p class="author">$str_author - {{ for $info.author as $a }} - {{ if $a.link }}<a href="$a.link">$a.name</a>{{ else }}$a.name{{ endif }}, - {{ endfor }} + <p class="author">{{$str_author}} + {{foreach $info.author as $a}} + {{if $a.link}}<a href="{{$a.link}}">{{$a.name}}</a>{{else}}{{$a.name}}{{/if}}, + {{/foreach}} </p> - <p class="maintainer">$str_maintainer - {{ for $info.maintainer as $a }} - {{ if $a.link }}<a href="$a.link">$a.name</a>{{ else }}$a.name{{ endif }}, - {{ endfor }} + <p class="maintainer">{{$str_maintainer}} + {{foreach $info.maintainer as $a}} + {{if $a.link}}<a href="{{$a.link}}">{{$a.name}}</a>{{else}}{{$a.name}}{{/if}}, + {{/foreach}} </p> - {{ if $screenshot }} - <a href="$screenshot.0" class='screenshot'><img src="$screenshot.0" alt="$screenshot.1" /></a> - {{ endif }} + {{if $screenshot}} + <a href="{{$screenshot.0}}" class='screenshot'><img src="{{$screenshot.0}}" alt="{{$screenshot.1}}" /></a> + {{/if}} - {{ if $admin_form }} - <h3>$settings</h3> - <form method="post" action="$baseurl/admin/$function/$plugin/"> - $admin_form + {{if $admin_form}} + <h3>{{$settings}}</h3> + <form method="post" action="{{$baseurl}}/admin/{{$function}}/{{$plugin}}/"> + {{$admin_form}} </form> - {{ endif }} + {{/if}} - {{ if $readme }} + {{if $readme}} <h3>Readme</h3> <div id="plugin_readme"> - $readme + {{$readme}} </div> - {{ endif }} + {{/if}} </div> diff --git a/view/tpl/admin_remoteupdate.tpl b/view/tpl/admin_remoteupdate.tpl deleted file mode 100644 index 874c6e626..000000000 --- a/view/tpl/admin_remoteupdate.tpl +++ /dev/null @@ -1,98 +0,0 @@ -<script src="js/jquery.htmlstream.js"></script> -<script> - /* ajax updater */ - function updateEnd(data){ - //$("#updatepopup .panel_text").html(data); - $("#remoteupdate_form").find("input").removeAttr('disabled'); - $(".panel_action_close").fadeIn() - } - function updateOn(data){ - - var patt=/§([^§]*)§/g; - var matches = data.match(patt); - $(matches).each(function(id,data){ - data = data.replace(/§/g,""); - d = data.split("@"); - console.log(d); - elm = $("#updatepopup .panel_text #"+d[0]); - html = "<div id='"+d[0]+"' class='progress'>"+d[1]+"<span>"+d[2]+"</span></div>"; - if (elm.length==0){ - $("#updatepopup .panel_text").append(html); - } else { - $(elm).replaceWith(html); - } - }); - - - } - - $(function(){ - $("#remoteupdate_form").submit(function(){ - var data={}; - $(this).find("input").each(function(i, e){ - name = $(e).attr('name'); - value = $(e).val(); - e.disabled = true; - data[name]=value; - }); - - $("#updatepopup .panel_text").html(""); - $("#updatepopup").show(); - $("#updatepopup .panel").hide().slideDown(500); - $(".panel_action_close").hide().click(function(){ - $("#updatepopup .panel").slideUp(500, function(){ - $("#updatepopup").hide(); - }); - }); - - $.post( - $(this).attr('action'), - data, - updateEnd, - 'text', - updateOn - ); - - - return false; - }) - }); -</script> -<div id="updatepopup" class="popup"> - <div class="background"></div> - <div class="panel"> - <div class="panel_in"> - <h1>Friendica Update</h1> - <div class="panel_text"></div> - <div class="panel_actions"> - <input type="button" value="$close" class="panel_action_close"> - </div> - </div> - </div> -</div> -<div id="adminpage"> - <dl> <dt>Your version:</dt><dd>$localversion</dd> </dl> -{{ if $needupdate }} - <dl> <dt>New version:</dt><dd>$remoteversion</dd> </dl> - - <form id="remoteupdate_form" method="POST" action="$baseurl/admin/update"> - <input type="hidden" name="$remotefile.0" value="$remotefile.2"> - - {{ if $canwrite }} - <div class="submit"><input type="submit" name="remoteupdate" value="$submit" /></div> - {{ else }} - <h3>Your friendica installation is not writable by web server.</h3> - {{ if $canftp }} - <p>You can try to update via FTP</p> - {{ inc field_input.tpl with $field=$ftphost }}{{ endinc }} - {{ inc field_input.tpl with $field=$ftppath }}{{ endinc }} - {{ inc field_input.tpl with $field=$ftpuser }}{{ endinc }} - {{ inc field_password.tpl with $field=$ftppwd }}{{ endinc }} - <div class="submit"><input type="submit" name="remoteupdate" value="$submit" /></div> - {{ endif }} - {{ endif }} - </form> -{{ else }} -<h4>No updates</h4> -{{ endif }} -</div> diff --git a/view/tpl/admin_site.tpl b/view/tpl/admin_site.tpl index e09996aee..76dae6ea1 100644..100755 --- a/view/tpl/admin_site.tpl +++ b/view/tpl/admin_site.tpl @@ -6,7 +6,7 @@ autoDimensions: false, onStart: function(){ var theme = $("#id_theme :selected").val(); - $("#cnftheme").attr('href',"$baseurl/admin/themes/"+theme); + $("#cnftheme").attr('href',"{{$baseurl}}/admin/themes/"+theme); }, onComplete: function(){ $("div#fancybox-content form").submit(function(e){ @@ -35,48 +35,50 @@ }); </script> <div id='adminpage'> - <h1>$title - $page</h1> + <h1>{{$title}} - {{$page}}</h1> - <form action="$baseurl/admin/site" method="post"> - <input type='hidden' name='form_security_token' value='$form_security_token'> + <form action="{{$baseurl}}/admin/site" method="post"> + <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - {{ inc field_input.tpl with $field=$sitename }}{{ endinc }} - {{ inc field_textarea.tpl with $field=$banner }}{{ endinc }} - {{ inc field_select.tpl with $field=$language }}{{ endinc }} - {{ inc field_select.tpl with $field=$theme }}{{ endinc }} - {{ inc field_select.tpl with $field=$ssl_policy }}{{ endinc }} + {{include file="field_input.tpl" field=$sitename}} + {{include file="field_textarea.tpl" field=$banner}} + {{include file="field_select.tpl" field=$language}} + {{include file="field_select.tpl" field=$theme}} + {{include file="field_select.tpl" field=$theme_mobile}} + {{include file="field_select.tpl" field=$theme_accessibility}} + {{include file="field_input.tpl" field=$site_channel}} + {{include file="field_select.tpl" field=$ssl_policy}} - <div class="submit"><input type="submit" name="page_site" value="$submit" /></div> + <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div> - <h3>$registration</h3> - {{ inc field_input.tpl with $field=$register_text }}{{ endinc }} - {{ inc field_select.tpl with $field=$register_policy }}{{ endinc }} + <h3>{{$registration}}</h3> + {{include file="field_input.tpl" field=$register_text}} + {{include file="field_select.tpl" field=$register_policy}} + {{include file="field_select.tpl" field=$access_policy}} - <div class="submit"><input type="submit" name="page_site" value="$submit" /></div> + <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div> - <h3>$upload</h3> - {{ inc field_input.tpl with $field=$maximagesize }}{{ endinc }} + <h3>{{$upload}}</h3> + {{include file="field_input.tpl" field=$maximagesize}} - <h3>$corporate</h3> - {{ inc field_input.tpl with $field=$allowed_sites }}{{ endinc }} - {{ inc field_input.tpl with $field=$allowed_email }}{{ endinc }} - {{ inc field_checkbox.tpl with $field=$block_public }}{{ endinc }} - {{ inc field_checkbox.tpl with $field=$force_publish }}{{ endinc }} - {{ inc field_checkbox.tpl with $field=$no_community_page }}{{ endinc }} - {{ inc field_input.tpl with $field=$global_directory }}{{ endinc }} + <h3>{{$corporate}}</h3> + {{include file="field_input.tpl" field=$allowed_sites}} + {{include file="field_input.tpl" field=$allowed_email}} + {{include file="field_checkbox.tpl" field=$block_public}} + {{include file="field_checkbox.tpl" field=$force_publish}} - <div class="submit"><input type="submit" name="page_site" value="$submit" /></div> + <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div> - <h3>$advanced</h3> - {{ inc field_input.tpl with $field=$proxy }}{{ endinc }} - {{ inc field_input.tpl with $field=$proxyuser }}{{ endinc }} - {{ inc field_input.tpl with $field=$timeout }}{{ endinc }} - {{ inc field_input.tpl with $field=$delivery_interval }}{{ endinc }} - {{ inc field_input.tpl with $field=$poll_interval }}{{ endinc }} - {{ inc field_input.tpl with $field=$maxloadavg }}{{ endinc }} - {{ inc field_input.tpl with $field=$abandon_days }}{{ endinc }} + <h3>{{$advanced}}</h3> + {{include file="field_input.tpl" field=$proxy}} + {{include file="field_input.tpl" field=$proxyuser}} + {{include file="field_input.tpl" field=$timeout}} + {{include file="field_input.tpl" field=$delivery_interval}} + {{include file="field_input.tpl" field=$poll_interval}} + {{include file="field_input.tpl" field=$maxloadavg}} + {{include file="field_input.tpl" field=$abandon_days}} - <div class="submit"><input type="submit" name="page_site" value="$submit" /></div> + <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div> </form> </div> diff --git a/view/tpl/admin_summary.tpl b/view/tpl/admin_summary.tpl index 99221c13e..88d87c35d 100644..100755 --- a/view/tpl/admin_summary.tpl +++ b/view/tpl/admin_summary.tpl @@ -1,39 +1,39 @@ <div id='adminpage'> - <h1>$title - $page</h1> + <h1>{{$title}} - {{$page}}</h1> <dl> - <dt>$queues.label</dt> - <dd>$queues.queue</dd> + <dt>{{$queues.label}}</dt> + <dd>{{$queues.queue}}</dd> </dl> <dl> - <dt>$pending.0</dt> - <dd>$pending.1</dt> + <dt>{{$pending.0}}</dt> + <dd>{{$pending.1}}</dt> </dl> <dl> - <dt>$users.0</dt> - <dd>$users.1</dd> + <dt>{{$users.0}}</dt> + <dd>{{$users.1}}</dd> </dl> - {{ for $accounts as $p }} + {{foreach $accounts as $p}} <dl> - <dt>$p.0</dt> - <dd>{{ if $p.1 }}$p.1{{ else }}0{{ endif }}</dd> + <dt>{{$p.0}}</dt> + <dd>{{if $p.1}}{{$p.1}}{{else}}0{{/if}}</dd> </dl> - {{ endfor }} + {{/foreach}} <dl> - <dt>$plugins.0</dt> + <dt>{{$plugins.0}}</dt> - {{ for $plugins.1 as $p }} - <dd>$p</dd> - {{ endfor }} + {{foreach $plugins.1 as $p}} + <dd>{{$p}}</dd> + {{/foreach}} </dl> <dl> - <dt>$version.0</dt> - <dd>$version.1 - $build</dt> + <dt>{{$version.0}}</dt> + <dd>{{$version.1}} - {{$build}}</dt> </dl> diff --git a/view/tpl/admin_users.tpl b/view/tpl/admin_users.tpl index 727030f5d..86389e9f2 100644..100755 --- a/view/tpl/admin_users.tpl +++ b/view/tpl/admin_users.tpl @@ -1,9 +1,9 @@ <script> function confirm_delete(uname){ - return confirm( "$confirm_delete".format(uname)); + return confirm( "{{$confirm_delete}}".format(uname)); } function confirm_delete_multi(){ - return confirm("$confirm_delete_multi"); + return confirm("{{$confirm_delete_multi}}"); } function selectall(cls){ $("."+cls).attr('checked','checked'); @@ -11,79 +11,77 @@ } </script> <div id='adminpage'> - <h1>$title - $page</h1> + <h1>{{$title}} - {{$page}}</h1> - <form action="$baseurl/admin/users" method="post"> - <input type='hidden' name='form_security_token' value='$form_security_token'> + <form action="{{$baseurl}}/admin/users" method="post"> + <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - <h3>$h_pending</h3> - {{ if $pending }} + <h3>{{$h_pending}}</h3> + {{if $pending}} <table id='pending'> <thead> <tr> - {{ for $th_pending as $th }}<th>$th</th>{{ endfor }} + {{foreach $th_pending as $th}}<th>{{$th}}</th>{{/foreach}} <th></th> <th></th> </tr> </thead> <tbody> - {{ for $pending as $u }} + {{foreach $pending as $u}} <tr> - <td class="created">$u.created</td> - <td class="name">$u.name</td> - <td class="email">$u.email</td> - <td class="checkbox"><input type="checkbox" class="pending_ckbx" id="id_pending_$u.hash" name="pending[]" value="$u.hash" /></td> + <td class="created">{{$u.created}}</td> + <td class="name">{{$u.name}}</td> + <td class="email">{{$u.email}}</td> + <td class="checkbox"><input type="checkbox" class="pending_ckbx" id="id_pending_{{$u.hash}}" name="pending[]" value="{{$u.hash}}" /></td> <td class="tools"> - <a href="$baseurl/regmod/allow/$u.hash" title='$approve'><span class='icon like'></span></a> - <a href="$baseurl/regmod/deny/$u.hash" title='$deny'><span class='icon dislike'></span></a> + <a href="{{$baseurl}}/regmod/allow/{{$u.hash}}" title='{{$approve}}'><span class='icon like'></span></a> + <a href="{{$baseurl}}/regmod/deny/{{$u.hash}}" title='{{$deny}}'><span class='icon dislike'></span></a> </td> </tr> - {{ endfor }} + {{/foreach}} </tbody> </table> - <div class='selectall'><a href='#' onclick="return selectall('pending_ckbx');">$select_all</a></div> - <div class="submit"><input type="submit" name="page_users_deny" value="$deny"/> <input type="submit" name="page_users_approve" value="$approve" /></div> - {{ else }} - <p>$no_pending</p> - {{ endif }} + <div class='selectall'><a href='#' onclick="return selectall('pending_ckbx');">{{$select_all}}</a></div> + <div class="submit"><input type="submit" name="page_users_deny" value="{{$deny}}"/> <input type="submit" name="page_users_approve" value="{{$approve}}" /></div> + {{else}} + <p>{{$no_pending}}</p> + {{/if}} - <h3>$h_users</h3> - {{ if $users }} + <h3>{{$h_users}}</h3> + {{if $users}} <table id='users'> <thead> <tr> <th></th> - {{ for $th_users as $th }}<th>$th</th>{{ endfor }} + {{foreach $th_users as $th}}<th>{{$th}}</th>{{/foreach}} <th></th> <th></th> </tr> </thead> <tbody> - {{ for $users as $u }} + {{foreach $users as $u}} <tr> - <td><img src="$u.micro" alt="$u.nickname" title="$u.nickname"></td> - <td class='name'><a href="$u.url" title="$u.nickname" >$u.name</a></td> - <td class='email'>$u.email</td> - <td class='register_date'>$u.register_date</td> - <td class='login_date'>$u.login_date</td> - <td class='lastitem_date'>$u.lastitem_date</td> - <td class='login_date'>$u.page_flags</td> - <td class="checkbox"><input type="checkbox" class="users_ckbx" id="id_user_$u.uid" name="user[]" value="$u.uid"/></td> + <td><img src="{{$u.micro}}" alt="{{$u.nickname}}" title="{{$u.nickname}}"></td> + <td class='email'>{{$u.account_email}}</td> + <td class='register_date'>{{$u.account_created}}</td> + <td class='login_date'>{{$u.account_lastlog}}</td> + <td class='service_class'>{{$u.account_service_class}}</td> + <td class="checkbox"><input type="checkbox" class="users_ckbx" id="id_user_{{$u.uid}}" name="user[]" value="{{$u.uid}}"/></td> <td class="tools"> - <a href="$baseurl/admin/users/block/$u.uid?t=$form_security_token" title='{{ if $u.blocked }}$unblock{{ else }}$block{{ endif }}'><span class='icon block {{ if $u.blocked==0 }}dim{{ endif }}'></span></a> - <a href="$baseurl/admin/users/delete/$u.uid?t=$form_security_token" title='$delete' onclick="return confirm_delete('$u.name')"><span class='icon drop'></span></a> + <a href="{{$baseurl}}/admin/users/block/{{$u.uid}}?t={{$form_security_token}}" title='{{if $u.blocked}}{{$unblock}}{{else}}{{$block}}{{/if}}'><span class='icon block {{if $u.blocked==0}}dim{{/if}}'></span></a> + <a href="{{$baseurl}}/admin/users/delete/{{$u.uid}}?t={{$form_security_token}}" title='{{$delete}}' onclick="return confirm_delete('{{$u.name}}')"><span class='icon drop'></span></a> </td> </tr> - {{ endfor }} + {{/foreach}} </tbody> </table> - <div class='selectall'><a href='#' onclick="return selectall('users_ckbx');">$select_all</a></div> - <div class="submit"><input type="submit" name="page_users_block" value="$block/$unblock" /> <input type="submit" name="page_users_delete" value="$delete" onclick="return confirm_delete_multi()" /></div> - {{ else }} + <div class='selectall'><a href='#' onclick="return selectall('users_ckbx');">{{$select_all}}</a></div> + <div class="submit"><input type="submit" name="page_users_block" value="{{$block}}/{{$unblock}}" /> <input type="submit" name="page_users_delete" value="{{$delete}}" onclick="return confirm_delete_multi()" /></div> + {{else}} NO USERS?!? - {{ endif }} + {{/if}} </form> </div> diff --git a/view/tpl/album_edit.tpl b/view/tpl/album_edit.tpl index 56a7b73fc..61653c47c 100644..100755 --- a/view/tpl/album_edit.tpl +++ b/view/tpl/album_edit.tpl @@ -1,14 +1,14 @@ <div id="photo-album-edit-wrapper"> -<form name="photo-album-edit-form" id="photo-album-edit-form" action="photos/$nickname/album/$hexalbum" method="post" > +<form name="photo-album-edit-form" id="photo-album-edit-form" action="photos/{{$nickname}}/album/{{$hexalbum}}" method="post" > -<label id="photo-album-edit-name-label" for="photo-album-edit-name" >$nametext</label> -<input type="text" size="64" name="albumname" value="$album" > +<label id="photo-album-edit-name-label" for="photo-album-edit-name" >{{$nametext}}</label> +<input type="text" size="64" name="albumname" value="{{$album}}" > <div id="photo-album-edit-name-end"></div> -<input id="photo-album-edit-submit" type="submit" name="submit" value="$submit" /> -<input id="photo-album-edit-drop" type="submit" name="dropalbum" value="$dropsubmit" onclick="return confirmDelete();" /> +<input id="photo-album-edit-submit" type="submit" name="submit" value="{{$submit}}" /> +<input id="photo-album-edit-drop" type="submit" name="dropalbum" value="{{$dropsubmit}}" onclick="return confirmDelete();" /> </form> </div> diff --git a/view/tpl/alt_pager.tpl b/view/tpl/alt_pager.tpl new file mode 100644 index 000000000..b46dc7662 --- /dev/null +++ b/view/tpl/alt_pager.tpl @@ -0,0 +1,4 @@ +<div class="pager"> +{{if $has_less}}<a href="{{$url}}&page={{$prevpage}}" class="pager-prev">{{$less}}</a>{{/if}} +{{if $has_more}}{{if $has_less}} | {{/if}}<a href="{{$url}}&page={{$nextpage}}" class="pager-next">{{$more}}</a>{{/if}} +</div> diff --git a/view/tpl/api_config_xml.tpl b/view/tpl/api_config_xml.tpl index 3281e59dd..8c0766c73 100644..100755 --- a/view/tpl/api_config_xml.tpl +++ b/view/tpl/api_config_xml.tpl @@ -1,24 +1,24 @@ <config> <site> - <name>$config.site.name</name> - <server>$config.site.server</server> + <name>{{$config.site.name}}</name> + <server>{{$config.site.server}}</server> <theme>default</theme> <path></path> - <logo>$config.site.logo</logo> + <logo>{{$config.site.logo}}</logo> <fancy>true</fancy> <language>en</language> - <email>$config.site.email</email> + <email>{{$config.site.email}}</email> <broughtby></broughtby> <broughtbyurl></broughtbyurl> <timezone>UTC</timezone> - <closed>$config.site.closed</closed> + <closed>{{$config.site.closed}}</closed> <inviteonly>false</inviteonly> - <private>$config.site.private</private> - <textlimit>$config.site.textlimit</textlimit> - <ssl>$config.site.ssl</ssl> - <sslserver>$config.site.sslserver</sslserver> + <private>{{$config.site.private}}</private> + <textlimit>{{$config.site.textlimit}}</textlimit> + <ssl>{{$config.site.ssl}}</ssl> + <sslserver>{{$config.site.sslserver}}</sslserver> <shorturllength>30</shorturllength> </site> diff --git a/view/tpl/api_friends_xml.tpl b/view/tpl/api_friends_xml.tpl index 0ea7eb13b..f2a7234d1 100644..100755 --- a/view/tpl/api_friends_xml.tpl +++ b/view/tpl/api_friends_xml.tpl @@ -1,5 +1,5 @@ <users type="array"> - {{for $users as $user }} - {{inc api_user_xml.tpl }}{{endinc}} - {{endfor}} + {{foreach $users as $user}} + {{include file="api_user_xml.tpl"}} + {{/foreach}} </users> diff --git a/view/tpl/api_ratelimit_xml.tpl b/view/tpl/api_ratelimit_xml.tpl index 36ec1993d..e4b470a25 100644..100755 --- a/view/tpl/api_ratelimit_xml.tpl +++ b/view/tpl/api_ratelimit_xml.tpl @@ -1,6 +1,6 @@ <hash> - <remaining-hits type="integer">$hash.remaining_hits</remaining-hits> - <hourly-limit type="integer">$hash.hourly_limit</hourly-limit> - <reset-time type="datetime">$hash.reset_time</reset-time> - <reset_time_in_seconds type="integer">$hash.resettime_in_seconds</reset_time_in_seconds> + <remaining-hits type="integer">{{$hash.remaining_hits}}</remaining-hits> + <hourly-limit type="integer">{{$hash.hourly_limit}}</hourly-limit> + <reset-time type="datetime">{{$hash.reset_time}}</reset-time> + <reset_time_in_seconds type="integer">{{$hash.resettime_in_seconds}}</reset_time_in_seconds> </hash> diff --git a/view/tpl/api_status_xml.tpl b/view/tpl/api_status_xml.tpl index f6cd9c2c0..cbb736e22 100644..100755 --- a/view/tpl/api_status_xml.tpl +++ b/view/tpl/api_status_xml.tpl @@ -1,46 +1,46 @@ -<status>{{ if $status }} - <created_at>$status.created_at</created_at> - <id>$status.id</id> - <text>$status.text</text> - <source>$status.source</source> - <truncated>$status.truncated</truncated> - <in_reply_to_status_id>$status.in_reply_to_status_id</in_reply_to_status_id> - <in_reply_to_user_id>$status.in_reply_to_user_id</in_reply_to_user_id> - <favorited>$status.favorited</favorited> - <in_reply_to_screen_name>$status.in_reply_to_screen_name</in_reply_to_screen_name> - <geo>$status.geo</geo> - <coordinates>$status.coordinates</coordinates> - <place>$status.place</place> - <contributors>$status.contributors</contributors> +<status>{{if $status}} + <created_at>{{$status.created_at}}</created_at> + <id>{{$status.id}}</id> + <text>{{$status.text}}</text> + <source>{{$status.source}}</source> + <truncated>{{$status.truncated}}</truncated> + <in_reply_to_status_id>{{$status.in_reply_to_status_id}}</in_reply_to_status_id> + <in_reply_to_user_id>{{$status.in_reply_to_user_id}}</in_reply_to_user_id> + <favorited>{{$status.favorited}}</favorited> + <in_reply_to_screen_name>{{$status.in_reply_to_screen_name}}</in_reply_to_screen_name> + <geo>{{$status.geo}}</geo> + <coordinates>{{$status.coordinates}}</coordinates> + <place>{{$status.place}}</place> + <contributors>{{$status.contributors}}</contributors> <user> - <id>$status.user.id</id> - <name>$status.user.name</name> - <screen_name>$status.user.screen_name</screen_name> - <location>$status.user.location</location> - <description>$status.user.description</description> - <profile_image_url>$status.user.profile_image_url</profile_image_url> - <url>$status.user.url</url> - <protected>$status.user.protected</protected> - <followers_count>$status.user.followers</followers_count> - <profile_background_color>$status.user.profile_background_color</profile_background_color> - <profile_text_color>$status.user.profile_text_color</profile_text_color> - <profile_link_color>$status.user.profile_link_color</profile_link_color> - <profile_sidebar_fill_color>$status.user.profile_sidebar_fill_color</profile_sidebar_fill_color> - <profile_sidebar_border_color>$status.user.profile_sidebar_border_color</profile_sidebar_border_color> - <friends_count>$status.user.friends_count</friends_count> - <created_at>$status.user.created_at</created_at> - <favourites_count>$status.user.favourites_count</favourites_count> - <utc_offset>$status.user.utc_offset</utc_offset> - <time_zone>$status.user.time_zone</time_zone> - <profile_background_image_url>$status.user.profile_background_image_url</profile_background_image_url> - <profile_background_tile>$status.user.profile_background_tile</profile_background_tile> - <profile_use_background_image>$status.user.profile_use_background_image</profile_use_background_image> + <id>{{$status.user.id}}</id> + <name>{{$status.user.name}}</name> + <screen_name>{{$status.user.screen_name}}</screen_name> + <location>{{$status.user.location}}</location> + <description>{{$status.user.description}}</description> + <profile_image_url>{{$status.user.profile_image_url}}</profile_image_url> + <url>{{$status.user.url}}</url> + <protected>{{$status.user.protected}}</protected> + <followers_count>{{$status.user.followers}}</followers_count> + <profile_background_color>{{$status.user.profile_background_color}}</profile_background_color> + <profile_text_color>{{$status.user.profile_text_color}}</profile_text_color> + <profile_link_color>{{$status.user.profile_link_color}}</profile_link_color> + <profile_sidebar_fill_color>{{$status.user.profile_sidebar_fill_color}}</profile_sidebar_fill_color> + <profile_sidebar_border_color>{{$status.user.profile_sidebar_border_color}}</profile_sidebar_border_color> + <friends_count>{{$status.user.friends_count}}</friends_count> + <created_at>{{$status.user.created_at}}</created_at> + <favourites_count>{{$status.user.favourites_count}}</favourites_count> + <utc_offset>{{$status.user.utc_offset}}</utc_offset> + <time_zone>{{$status.user.time_zone}}</time_zone> + <profile_background_image_url>{{$status.user.profile_background_image_url}}</profile_background_image_url> + <profile_background_tile>{{$status.user.profile_background_tile}}</profile_background_tile> + <profile_use_background_image>{{$status.user.profile_use_background_image}}</profile_use_background_image> <notifications></notifications> - <geo_enabled>$status.user.geo_enabled</geo_enabled> - <verified>$status.user.verified</verified> + <geo_enabled>{{$status.user.geo_enabled}}</geo_enabled> + <verified>{{$status.user.verified}}</verified> <following></following> - <statuses_count>$status.user.statuses_count</statuses_count> - <lang>$status.user.lang</lang> - <contributors_enabled>$status.user.contributors_enabled</contributors_enabled> + <statuses_count>{{$status.user.statuses_count}}</statuses_count> + <lang>{{$status.user.lang}}</lang> + <contributors_enabled>{{$status.user.contributors_enabled}}</contributors_enabled> </user> -{{ endif }}</status> +{{/if}}</status> diff --git a/view/tpl/api_test_xml.tpl b/view/tpl/api_test_xml.tpl index 7509a2dc1..80a541c39 100644..100755 --- a/view/tpl/api_test_xml.tpl +++ b/view/tpl/api_test_xml.tpl @@ -1 +1 @@ -<ok>$ok</ok> +<ok>{{$ok}}</ok> diff --git a/view/tpl/api_timeline_atom.tpl b/view/tpl/api_timeline_atom.tpl index 9039220e7..e8bfb689e 100644..100755 --- a/view/tpl/api_timeline_atom.tpl +++ b/view/tpl/api_timeline_atom.tpl @@ -1,90 +1,90 @@ <feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:georss="http://www.georss.org/georss" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:media="http://purl.org/syndication/atommedia" xmlns:poco="http://portablecontacts.net/spec/1.0" xmlns:ostatus="http://ostatus.org/schema/1.0" xmlns:statusnet="http://status.net/schema/api/1/"> <generator uri="http://status.net" version="0.9.7">StatusNet</generator> - <id>$rss.self</id> + <id>{{$rss.self}}</id> <title>Friendika</title> <subtitle>Friendika API feed</subtitle> - <logo>$rss.logo</logo> - <updated>$rss.atom_updated</updated> - <link type="text/html" rel="alternate" href="$rss.alternate"/> - <link type="application/atom+xml" rel="self" href="$rss.self"/> + <logo>{{$rss.logo}}</logo> + <updated>{{$rss.atom_updated}}</updated> + <link type="text/html" rel="alternate" href="{{$rss.alternate}}"/> + <link type="application/atom+xml" rel="self" href="{{$rss.self}}"/> <author> <activity:obj_type>http://activitystrea.ms/schema/1.0/person</activity:obj_type> - <uri>$user.url</uri> - <name>$user.name</name> - <link rel="alternate" type="text/html" href="$user.url"/> - <link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="$user.profile_image_url"/> - <link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="$user.profile_image_url"/> - <link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="$user.profile_image_url"/> - <link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="$user.profile_image_url"/> + <uri>{{$user.url}}</uri> + <name>{{$user.name}}</name> + <link rel="alternate" type="text/html" href="{{$user.url}}"/> + <link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="{{$user.profile_image_url}}"/> + <link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="{{$user.profile_image_url}}"/> + <link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="{{$user.profile_image_url}}"/> + <link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="{{$user.profile_image_url}}"/> <georss:point></georss:point> - <poco:preferredUsername>$user.screen_name</poco:preferredUsername> - <poco:displayName>$user.name</poco:displayName> + <poco:preferredUsername>{{$user.screen_name}}</poco:preferredUsername> + <poco:displayName>{{$user.name}}</poco:displayName> <poco:urls> <poco:type>homepage</poco:type> - <poco:value>$user.url</poco:value> + <poco:value>{{$user.url}}</poco:value> <poco:primary>true</poco:primary> </poco:urls> - <statusnet:profile_info local_id="$user.id"></statusnet:profile_info> + <statusnet:profile_info local_id="{{$user.id}}"></statusnet:profile_info> </author> <!--Deprecation warning: activity:subject is present only for backward compatibility. It will be removed in the next version of StatusNet.--> <activity:subject> <activity:obj_type>http://activitystrea.ms/schema/1.0/person</activity:obj_type> - <id>$user.contact_url</id> - <title>$user.name</title> - <link rel="alternate" type="text/html" href="$user.url"/> - <link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="$user.profile_image_url"/> - <link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="$user.profile_image_url"/> - <link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="$user.profile_image_url"/> - <link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="$user.profile_image_url"/> - <poco:preferredUsername>$user.screen_name</poco:preferredUsername> - <poco:displayName>$user.name</poco:displayName> + <id>{{$user.contact_url}}</id> + <title>{{$user.name}}</title> + <link rel="alternate" type="text/html" href="{{$user.url}}"/> + <link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="{{$user.profile_image_url}}"/> + <link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="{{$user.profile_image_url}}"/> + <link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="{{$user.profile_image_url}}"/> + <link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="{{$user.profile_image_url}}"/> + <poco:preferredUsername>{{$user.screen_name}}</poco:preferredUsername> + <poco:displayName>{{$user.name}}</poco:displayName> <poco:urls> <poco:type>homepage</poco:type> - <poco:value>$user.url</poco:value> + <poco:value>{{$user.url}}</poco:value> <poco:primary>true</poco:primary> </poco:urls> - <statusnet:profile_info local_id="$user.id"></statusnet:profile_info> + <statusnet:profile_info local_id="{{$user.id}}"></statusnet:profile_info> </activity:subject> - {{ for $statuses as $status }} + {{foreach $statuses as $status}} <entry> - <activity:obj_type>$status.objecttype</activity:obj_type> - <id>$status.message_id</id> - <title>$status.text</title> - <content type="html">$status.statusnet_html</content> - <link rel="alternate" type="text/html" href="$status.url"/> - <activity:verb>$status.verb</activity:verb> - <published>$status.published</published> - <updated>$status.updated</updated> + <activity:obj_type>{{$status.objecttype}}</activity:obj_type> + <id>{{$status.message_id}}</id> + <title>{{$status.text}}</title> + <content type="html">{{$status.statusnet_html}}</content> + <link rel="alternate" type="text/html" href="{{$status.url}}"/> + <activity:verb>{{$status.verb}}</activity:verb> + <published>{{$status.published}}</published> + <updated>{{$status.updated}}</updated> - <link rel="self" type="application/atom+xml" href="$status.self"/> - <link rel="edit" type="application/atom+xml" href="$status.edit"/> - <statusnet:notice_info local_id="$status.id" source="$status.source" > + <link rel="self" type="application/atom+xml" href="{{$status.self}}"/> + <link rel="edit" type="application/atom+xml" href="{{$status.edit}}"/> + <statusnet:notice_info local_id="{{$status.id}}" source="{{$status.source}}" > </statusnet:notice_info> <author> <activity:obj_type>http://activitystrea.ms/schema/1.0/person</activity:obj_type> - <uri>$status.user.url</uri> - <name>$status.user.name</name> - <link rel="alternate" type="text/html" href="$status.user.url"/> - <link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="$status.user.profile_image_url"/> + <uri>{{$status.user.url}}</uri> + <name>{{$status.user.name}}</name> + <link rel="alternate" type="text/html" href="{{$status.user.url}}"/> + <link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="{{$status.user.profile_image_url}}"/> <georss:point/> - <poco:preferredUsername>$status.user.screen_name</poco:preferredUsername> - <poco:displayName>$status.user.name</poco:displayName> + <poco:preferredUsername>{{$status.user.screen_name}}</poco:preferredUsername> + <poco:displayName>{{$status.user.name}}</poco:displayName> <poco:address/> <poco:urls> <poco:type>homepage</poco:type> - <poco:value>$status.user.url</poco:value> + <poco:value>{{$status.user.url}}</poco:value> <poco:primary>true</poco:primary> </poco:urls> </author> - <link rel="ostatus:conversation" type="text/html" href="$status.url"/> + <link rel="ostatus:conversation" type="text/html" href="{{$status.url}}"/> </entry> - {{ endfor }} + {{/foreach}} </feed> diff --git a/view/tpl/api_timeline_rss.tpl b/view/tpl/api_timeline_rss.tpl index 40239273c..86c645e99 100644..100755 --- a/view/tpl/api_timeline_rss.tpl +++ b/view/tpl/api_timeline_rss.tpl @@ -1,26 +1,26 @@ <rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:georss="http://www.georss.org/georss" xmlns:twitter="http://api.twitter.com"> <channel> <title>Friendika</title> - <link>$rss.alternate</link> - <atom:link type="application/rss+xml" rel="self" href="$rss.self"/> + <link>{{$rss.alternate}}</link> + <atom:link type="application/rss+xml" rel="self" href="{{$rss.self}}"/> <description>Friendika timeline</description> - <language>$rss.language</language> + <language>{{$rss.language}}</language> <ttl>40</ttl> <image> - <link>$user.link</link> - <title>$user.name's items</title> - <url>$user.profile_image_url</url> + <link>{{$user.link}}</link> + <title>{{$user.name}}'s items</title> + <url>{{$user.profile_image_url}}</url> </image> -{{ for $statuses as $status }} +{{foreach $statuses as $status}} <item> - <title>$status.user.name: $status.text</title> - <description>$status.text</description> - <pubDate>$status.created_at</pubDate> - <guid>$status.url</guid> - <link>$status.url</link> - <twitter:source>$status.source</twitter:source> + <title>{{$status.user.name}}: {{$status.text}}</title> + <description>{{$status.text}}</description> + <pubDate>{{$status.created_at}}</pubDate> + <guid>{{$status.url}}</guid> + <link>{{$status.url}}</link> + <twitter:source>{{$status.source}}</twitter:source> </item> -{{ endfor }} +{{/foreach}} </channel> </rss> diff --git a/view/tpl/api_timeline_xml.tpl b/view/tpl/api_timeline_xml.tpl index 4a32b411b..f14d73e9c 100644..100755 --- a/view/tpl/api_timeline_xml.tpl +++ b/view/tpl/api_timeline_xml.tpl @@ -1,20 +1,20 @@ <statuses type="array" xmlns:statusnet="http://status.net/schema/api/1/"> -{{ for $statuses as $status }} <status> - <text>$status.text</text> - <truncated>$status.truncated</truncated> - <created_at>$status.created_at</created_at> - <in_reply_to_status_id>$status.in_reply_to_status_id</in_reply_to_status_id> - <source>$status.source</source> - <id>$status.id</id> - <in_reply_to_user_id>$status.in_reply_to_user_id</in_reply_to_user_id> - <in_reply_to_screen_name>$status.in_reply_to_screen_name</in_reply_to_screen_name> - <geo>$status.geo</geo> - <favorited>$status.favorited</favorited> -{{ inc api_user_xml.tpl with $user=$status.user }}{{ endinc }} <statusnet:html>$status.statusnet_html</statusnet:html> - <statusnet:conversation_id>$status.statusnet_conversation_id</statusnet:conversation_id> - <url>$status.url</url> - <coordinates>$status.coordinates</coordinates> - <place>$status.place</place> - <contributors>$status.contributors</contributors> +{{foreach $statuses as $status}} <status> + <text>{{$status.text}}</text> + <truncated>{{$status.truncated}}</truncated> + <created_at>{{$status.created_at}}</created_at> + <in_reply_to_status_id>{{$status.in_reply_to_status_id}}</in_reply_to_status_id> + <source>{{$status.source}}</source> + <id>{{$status.id}}</id> + <in_reply_to_user_id>{{$status.in_reply_to_user_id}}</in_reply_to_user_id> + <in_reply_to_screen_name>{{$status.in_reply_to_screen_name}}</in_reply_to_screen_name> + <geo>{{$status.geo}}</geo> + <favorited>{{$status.favorited}}</favorited> +{{include file="api_user_xml.tpl" user=$status.user}} <statusnet:html>{{$status.statusnet_html}}</statusnet:html> + <statusnet:conversation_id>{{$status.statusnet_conversation_id}}</statusnet:conversation_id> + <url>{{$status.url}}</url> + <coordinates>{{$status.coordinates}}</coordinates> + <place>{{$status.place}}</place> + <contributors>{{$status.contributors}}</contributors> </status> -{{ endfor }}</statuses> +{{/foreach}}</statuses> diff --git a/view/tpl/api_user_xml.tpl b/view/tpl/api_user_xml.tpl index d286652c0..3b51992f6 100644..100755 --- a/view/tpl/api_user_xml.tpl +++ b/view/tpl/api_user_xml.tpl @@ -1,46 +1,46 @@ <user> - <id>$user.id</id> - <name>$user.name</name> - <screen_name>$user.screen_name</screen_name> - <location>$user.location</location> - <description>$user.description</description> - <profile_image_url>$user.profile_image_url</profile_image_url> - <url>$user.url</url> - <protected>$user.protected</protected> - <followers_count>$user.followers_count</followers_count> - <friends_count>$user.friends_count</friends_count> - <created_at>$user.created_at</created_at> - <favourites_count>$user.favourites_count</favourites_count> - <utc_offset>$user.utc_offset</utc_offset> - <time_zone>$user.time_zone</time_zone> - <statuses_count>$user.statuses_count</statuses_count> - <following>$user.following</following> - <profile_background_color>$user.profile_background_color</profile_background_color> - <profile_text_color>$user.profile_text_color</profile_text_color> - <profile_link_color>$user.profile_link_color</profile_link_color> - <profile_sidebar_fill_color>$user.profile_sidebar_fill_color</profile_sidebar_fill_color> - <profile_sidebar_border_color>$user.profile_sidebar_border_color</profile_sidebar_border_color> - <profile_background_image_url>$user.profile_background_image_url</profile_background_image_url> - <profile_background_tile>$user.profile_background_tile</profile_background_tile> - <profile_use_background_image>$user.profile_use_background_image</profile_use_background_image> - <notifications>$user.notifications</notifications> - <geo_enabled>$user.geo_enabled</geo_enabled> - <verified>$user.verified</verified> - <lang>$user.lang</lang> - <contributors_enabled>$user.contributors_enabled</contributors_enabled> - <status>{{ if $user.status }} - <created_at>$user.status.created_at</created_at> - <id>$user.status.id</id> - <text>$user.status.text</text> - <source>$user.status.source</source> - <truncated>$user.status.truncated</truncated> - <in_reply_to_status_id>$user.status.in_reply_to_status_id</in_reply_to_status_id> - <in_reply_to_user_id>$user.status.in_reply_to_user_id</in_reply_to_user_id> - <favorited>$user.status.favorited</favorited> - <in_reply_to_screen_name>$user.status.in_reply_to_screen_name</in_reply_to_screen_name> - <geo>$user.status.geo</geo> - <coordinates>$user.status.coordinates</coordinates> - <place>$user.status.place</place> - <contributors>$user.status.contributors</contributors> - {{ endif }}</status> + <id>{{$user.id}}</id> + <name>{{$user.name}}</name> + <screen_name>{{$user.screen_name}}</screen_name> + <location>{{$user.location}}</location> + <description>{{$user.description}}</description> + <profile_image_url>{{$user.profile_image_url}}</profile_image_url> + <url>{{$user.url}}</url> + <protected>{{$user.protected}}</protected> + <followers_count>{{$user.followers_count}}</followers_count> + <friends_count>{{$user.friends_count}}</friends_count> + <created_at>{{$user.created_at}}</created_at> + <favourites_count>{{$user.favourites_count}}</favourites_count> + <utc_offset>{{$user.utc_offset}}</utc_offset> + <time_zone>{{$user.time_zone}}</time_zone> + <statuses_count>{{$user.statuses_count}}</statuses_count> + <following>{{$user.following}}</following> + <profile_background_color>{{$user.profile_background_color}}</profile_background_color> + <profile_text_color>{{$user.profile_text_color}}</profile_text_color> + <profile_link_color>{{$user.profile_link_color}}</profile_link_color> + <profile_sidebar_fill_color>{{$user.profile_sidebar_fill_color}}</profile_sidebar_fill_color> + <profile_sidebar_border_color>{{$user.profile_sidebar_border_color}}</profile_sidebar_border_color> + <profile_background_image_url>{{$user.profile_background_image_url}}</profile_background_image_url> + <profile_background_tile>{{$user.profile_background_tile}}</profile_background_tile> + <profile_use_background_image>{{$user.profile_use_background_image}}</profile_use_background_image> + <notifications>{{$user.notifications}}</notifications> + <geo_enabled>{{$user.geo_enabled}}</geo_enabled> + <verified>{{$user.verified}}</verified> + <lang>{{$user.lang}}</lang> + <contributors_enabled>{{$user.contributors_enabled}}</contributors_enabled> + <status>{{if $user.status}} + <created_at>{{$user.status.created_at}}</created_at> + <id>{{$user.status.id}}</id> + <text>{{$user.status.text}}</text> + <source>{{$user.status.source}}</source> + <truncated>{{$user.status.truncated}}</truncated> + <in_reply_to_status_id>{{$user.status.in_reply_to_status_id}}</in_reply_to_status_id> + <in_reply_to_user_id>{{$user.status.in_reply_to_user_id}}</in_reply_to_user_id> + <favorited>{{$user.status.favorited}}</favorited> + <in_reply_to_screen_name>{{$user.status.in_reply_to_screen_name}}</in_reply_to_screen_name> + <geo>{{$user.status.geo}}</geo> + <coordinates>{{$user.status.coordinates}}</coordinates> + <place>{{$user.status.place}}</place> + <contributors>{{$user.status.contributors}}</contributors> + {{/if}}</status> </user> diff --git a/view/tpl/apps.tpl b/view/tpl/apps.tpl index 4c7f8c94c..335e0ca97 100644..100755 --- a/view/tpl/apps.tpl +++ b/view/tpl/apps.tpl @@ -1,7 +1,7 @@ -<h3>$title</h3> +<h3>{{$title}}</h3> <ul> - {{ for $apps as $ap }} - <li>$ap</li> - {{ endfor }} + {{foreach $apps as $ap}} + <li>{{$ap}}</li> + {{/foreach}} </ul> diff --git a/view/tpl/atom_feed.tpl b/view/tpl/atom_feed.tpl index 2feb547ee..2c8024d47 100644..100755 --- a/view/tpl/atom_feed.tpl +++ b/view/tpl/atom_feed.tpl @@ -4,26 +4,29 @@ xmlns:at="http://purl.org/atompub/tombstones/1.0" xmlns:media="http://purl.org/syndication/atommedia" xmlns:dfrn="http://purl.org/macgirvin/dfrn/1.0" + xmlns:zot="http://purl.org/zot" xmlns:as="http://activitystrea.ms/spec/1.0/" xmlns:georss="http://www.georss.org/georss" xmlns:poco="http://portablecontacts.net/spec/1.0" xmlns:ostatus="http://ostatus.org/schema/1.0" xmlns:statusnet="http://status.net/schema/api/1/" > - <id>$feed_id</id> - <title>$feed_title</title> - <generator uri="http://friendica.com" version="$version">Friendica</generator> + <id>{{$feed_id}}</id> + <title>{{$feed_title}}</title> + <generator uri="http://getzot.com" version="{{$version}}">{{$red}}</generator> <link rel="license" href="http://creativecommons.org/licenses/by/3.0/" /> - $hub - $salmon - $community +{{if $hub}} + {{$hub}} +{{/if}} +{{if $salmon}} + {{$salmon}} +{{/if}} - <updated>$feed_updated</updated> + <updated>{{$feed_updated}}</updated> - <dfrn:owner> - <name dfrn:updated="$namdate" >$name</name> - <uri dfrn:updated="$uridate" >$profile_page</uri> - <link rel="photo" type="image/jpeg" dfrn:updated="$picdate" media:width="175" media:height="175" href="$photo" /> - <link rel="avatar" type="image/jpeg" dfrn:updated="$picdate" media:width="175" media:height="175" href="$photo" /> - $birthday - </dfrn:owner> + <zot:owner> + <name>{{$name}}</name> + <uri>{{$profile_page}}</uri> + <link rel="photo" type="{{$mimephoto}}" media:width="175" media:height="175" href="{{$photo}}" /> + <link rel="avatar" type="{{$mimephoto}}" media:width="175" media:height="175" href="{{$photo}}" /> + </zot:owner> diff --git a/view/tpl/atom_feed_dfrn.tpl b/view/tpl/atom_feed_dfrn.tpl index 0bae62b52..307001fbe 100644..100755 --- a/view/tpl/atom_feed_dfrn.tpl +++ b/view/tpl/atom_feed_dfrn.tpl @@ -10,20 +10,20 @@ xmlns:ostatus="http://ostatus.org/schema/1.0" xmlns:statusnet="http://status.net/schema/api/1/" > - <id>$feed_id</id> - <title>$feed_title</title> - <generator uri="http://friendica.com" version="$version">Friendica</generator> + <id>{{$feed_id}}</id> + <title>{{$feed_title}}</title> + <generator uri="http://friendica.com" version="{{$version}}">Friendica</generator> <link rel="license" href="http://creativecommons.org/licenses/by/3.0/" /> - $hub - $salmon - $community + {{$hub}} + {{$salmon}} + {{$community}} - <updated>$feed_updated</updated> + <updated>{{$feed_updated}}</updated> <author> - <name dfrn:updated="$namdate" >$name</name> - <uri dfrn:updated="$uridate" >$profile_page</uri> - <link rel="photo" type="image/jpeg" dfrn:updated="$picdate" media:width="175" media:height="175" href="$photo" /> - <link rel="avatar" type="image/jpeg" dfrn:updated="$picdate" media:width="175" media:height="175" href="$photo" /> - $birthday + <name dfrn:updated="{{$namdate}}" >{{$name}}</name> + <uri dfrn:updated="{{$uridate}}" >{{$profile_page}}</uri> + <link rel="photo" type="image/jpeg" dfrn:updated="{{$picdate}}" media:width="175" media:height="175" href="{{$photo}}" /> + <link rel="avatar" type="image/jpeg" dfrn:updated="{{$picdate}}" media:width="175" media:height="175" href="{{$photo}}" /> + {{$birthday}} </author> diff --git a/view/tpl/atom_mail.tpl b/view/tpl/atom_mail.tpl deleted file mode 100644 index bf7c3efc8..000000000 --- a/view/tpl/atom_mail.tpl +++ /dev/null @@ -1,17 +0,0 @@ - -<dfrn:mail> - - <dfrn:sender> - <dfrn:name>$name</dfrn:name> - <dfrn:uri>$profile_page</dfrn:uri> - <dfrn:avatar>$thumb</dfrn:avatar> - </dfrn:sender> - - <dfrn:id>$item_id</dfrn:id> - <dfrn:in-reply-to>$parent_id</dfrn:in-reply-to> - <dfrn:sentdate>$created</dfrn:sentdate> - <dfrn:subject>$subject</dfrn:subject> - <dfrn:content>$content</dfrn:content> - -</dfrn:mail> - diff --git a/view/tpl/atom_suggest.tpl b/view/tpl/atom_suggest.tpl deleted file mode 100644 index 66c61f9b6..000000000 --- a/view/tpl/atom_suggest.tpl +++ /dev/null @@ -1,11 +0,0 @@ - -<dfrn:suggest> - - <dfrn:url>$url</dfrn:url> - <dfrn:name>$name</dfrn:name> - <dfrn:photo>$photo</dfrn:photo> - <dfrn:request>$request</dfrn:request> - <dfrn:note>$note</dfrn:note> - -</dfrn:suggest> - diff --git a/view/tpl/auto_request.tpl b/view/tpl/auto_request.tpl deleted file mode 100644 index 961de9bb3..000000000 --- a/view/tpl/auto_request.tpl +++ /dev/null @@ -1,37 +0,0 @@ - -<h1>$header</h1> - -<p id="dfrn-request-intro"> -$page_desc<br /> -<ul id="dfrn-request-networks"> -<li><a href="http://friendica.com" title="$friendica">$friendica</a></li> -<li><a href="http://joindiaspora.com" title="$diaspora">$diaspora</a> $diasnote</li> -<li><a href="http://ostatus.org" title="$public_net" >$statusnet</a></li> -{{ if $emailnet }}<li>$emailnet</li>{{ endif }} -</ul> -</p> -<p> -$invite_desc -</p> -<p> -$desc -</p> - -<form action="dfrn_request/$nickname" method="post" /> - -<div id="dfrn-request-url-wrapper" > - <label id="dfrn-url-label" for="dfrn-url" >$your_address</label> - <input type="text" name="dfrn_url" id="dfrn-url" size="32" value="$myaddr" /> - <div id="dfrn-request-url-end"></div> -</div> - - -<div id="dfrn-request-info-wrapper" > - -</div> - - <div id="dfrn-request-submit-wrapper"> - <input type="submit" name="submit" id="dfrn-request-submit-button" value="$submit" /> - <input type="submit" name="cancel" id="dfrn-request-cancel-button" value="$cancel" /> - </div> -</form> diff --git a/view/tpl/birthdays_reminder.tpl b/view/tpl/birthdays_reminder.tpl index 8db7d22f4..d0500364a 100644..100755 --- a/view/tpl/birthdays_reminder.tpl +++ b/view/tpl/birthdays_reminder.tpl @@ -1,10 +1,10 @@ -{{ if $count }} -<div id="birthday-notice" class="birthday-notice fakelink $classtoday" onclick="openClose('birthday-wrapper');">$event_reminders ($count)</div> -<div id="birthday-wrapper" style="display: none;" ><div id="birthday-title">$event_title</div> +{{if $count}} +<div id="birthday-notice" class="birthday-notice fakelink {{$classtoday}}" onclick="openClose('birthday-wrapper');">{{$event_reminders}} ({{$count}})</div> +<div id="birthday-wrapper" style="display: none;" ><div id="birthday-title">{{$event_title}}</div> <div id="birthday-title-end"></div> -{{ for $events as $event }} -<div class="birthday-list" id="birthday-$event.id"></a> <a href="$event.link">$event.title</a> $event.date </div> -{{ endfor }} +{{foreach $events as $event}} +<div class="birthday-list" id="birthday-{{$event.id}}"></a> <a href="{{$event.link}}">{{$event.title}}</a> {{$event.date}} </div> +{{/foreach}} </div> -{{ endif }} +{{/if}} diff --git a/view/tpl/build_query.tpl b/view/tpl/build_query.tpl index f4795acb2..06da526f1 100644..100755 --- a/view/tpl/build_query.tpl +++ b/view/tpl/build_query.tpl @@ -1,28 +1,28 @@ <script> - var bParam_cmd = "$baseurl/update_$pgtype"; + var bParam_cmd = "{{$baseurl}}/update_{{$pgtype}}"; - var bParam_uid = $uid; - var bParam_gid = $gid; - var bParam_cid = $cid; - var bParam_cmin = $cmin; - var bParam_cmax = $cmax; - var bParam_star = $star; - var bParam_liked = $liked; - var bParam_conv = $conv; - var bParam_spam = $spam; - var bParam_new = $nouveau; - var bParam_page = $page; - var bParam_wall = $wall; + var bParam_uid = {{$uid}}; + var bParam_gid = {{$gid}}; + var bParam_cid = {{$cid}}; + var bParam_cmin = {{$cmin}}; + var bParam_cmax = {{$cmax}}; + var bParam_star = {{$star}}; + var bParam_liked = {{$liked}}; + var bParam_conv = {{$conv}}; + var bParam_spam = {{$spam}}; + var bParam_new = {{$nouveau}}; + var bParam_page = {{$page}}; + var bParam_wall = {{$wall}}; - var bParam_search = "$search"; - var bParam_order = "$order"; - var bParam_file = "$file"; - var bParam_cats = "$cats"; - var bParam_dend = "$dend"; - var bParam_dbegin = "$dbegin"; - var bParam_uri = "$uri"; + var bParam_search = "{{$search}}"; + var bParam_order = "{{$order}}"; + var bParam_file = "{{$file}}"; + var bParam_cats = "{{$cats}}"; + var bParam_dend = "{{$dend}}"; + var bParam_dbegin = "{{$dbegin}}"; + var bParam_mid = "{{$mid}}"; function buildCmd() { var udargs = ((page_load) ? "/load" : ""); @@ -43,7 +43,7 @@ if(bParam_cats != "") bCmd = bCmd + "&cats=" + bParam_cats; if(bParam_dend != "") bCmd = bCmd + "&dend=" + bParam_dend; if(bParam_dbegin != "") bCmd = bCmd + "&dbegin=" + bParam_dbegin; - if(bParam_uri != "") bCmd = bCmd + "&uri=" + bParam_uri; + if(bParam_mid != "") bCmd = bCmd + "&mid=" + bParam_mid; if(bParam_page != 1) bCmd = bCmd + "&page=" + bParam_page; return(bCmd); } diff --git a/view/tpl/categories_widget.tpl b/view/tpl/categories_widget.tpl index 19e91c560..2c0b3bcc2 100644..100755 --- a/view/tpl/categories_widget.tpl +++ b/view/tpl/categories_widget.tpl @@ -1,12 +1,12 @@ <div id="categories-sidebar" class="widget"> - <h3>$title</h3> - <div id="categories-sidebar-desc">$desc</div> + <h3>{{$title}}</h3> + <div id="categories-sidebar-desc">{{$desc}}</div> <ul class="categories-ul"> - <li class="tool"><a href="$base" class="categories-link categories-all{{ if $sel_all }} categories-selected{{ endif }}">$all</a></li> - {{ for $terms as $term }} - <li class="tool"><a href="$base?f=&cat=$term.name" class="categories-link{{ if $term.selected }} categories-selected{{ endif }}">$term.name</a></li> - {{ endfor }} + <li class="tool"><a href="{{$base}}" class="categories-link categories-all{{if $sel_all}} categories-selected{{/if}}">{{$all}}</a></li> + {{foreach $terms as $term}} + <li class="tool"><a href="{{$base}}?f=&cat={{$term.name}}" class="categories-link{{if $term.selected}} categories-selected{{/if}}">{{$term.name}}</a></li> + {{/foreach}} </ul> </div> diff --git a/view/tpl/channel.tpl b/view/tpl/channel.tpl index af4f9b703..d6462d1e4 100644..100755 --- a/view/tpl/channel.tpl +++ b/view/tpl/channel.tpl @@ -1,12 +1,12 @@ <div class="channel-selection"> -{{ if $channel.default_links }} -{{ if $channel.default }} -<div class="channel-selection-default default">$msg_default</div> -{{ else }} -<div class="channel-selection-default"><a href="manage/$channel.channel_id/default">$msg_make_default</a></div> -{{ endif }} -{{ endif }} -<a href="$channel.link" class="channel-selection-photo-link" title="$channel.channel_name"><img class="channel-photo" src="$channel.xchan_photo_m" alt="$channel.channel_name" /></a> -<a href="$channel.link" class="channel-selection-name-link" title="$channel.channel_name"><div class="channel-name">$channel.channel_name</div></a> +{{if $channel.default_links}} +{{if $channel.default}} +<div class="channel-selection-default default">{{$msg_default}}</div> +{{else}} +<div class="channel-selection-default"><a href="manage/{{$channel.channel_id}}/default">{{$msg_make_default}}</a></div> +{{/if}} +{{/if}} +<a href="{{$channel.link}}" class="channel-selection-photo-link" title="{{$channel.channel_name}}"><img class="channel-photo" src="{{$channel.xchan_photo_m}}" alt="{{$channel.channel_name}}" /></a> +<a href="{{$channel.link}}" class="channel-selection-name-link" title="{{$channel.channel_name}}"><div class="channel-name">{{$channel.channel_name}}</div></a> </div> <div class="channel-selection-end"></div> diff --git a/view/tpl/channel_import.tpl b/view/tpl/channel_import.tpl index 8002b6e03..4804e34d6 100644..100755 --- a/view/tpl/channel_import.tpl +++ b/view/tpl/channel_import.tpl @@ -1,34 +1,34 @@ -<h2>$title</h2> +<h2>{{$title}}</h2> <form action="import" method="post" id="import-channel-form"> - <div id="import-desc" class="descriptive-paragraph">$desc</div> + <div id="import-desc" class="descriptive-paragraph">{{$desc}}</div> - <label for="import-filename" id="label-import-filename" class="import-label" >$label_filename</label> + <label for="import-filename" id="label-import-filename" class="import-label" >{{$label_filename}}</label> <input type="file" name="filename" id="import-filename" class="import-input" value="" /> <div id="import-filename-end" class="import-field-end"></div> - <div id="import-choice" class="descriptive-paragraph">$choice</div> + <div id="import-choice" class="descriptive-paragraph">{{$choice}}</div> - <label for="import-old-address" id="label-import-old-address" class="import-label" >$label_old_address</label> + <label for="import-old-address" id="label-import-old-address" class="import-label" >{{$label_old_address}}</label> <input type="text" name="old_address" id="import-old-address" class="import-input" value="" /> <div id="import-old-address-end" class="import-field-end"></div> - <label for="import-old-email" id="label-import-old-email" class="import-label" >$label_old_email</label> - <input type="text" name="email" id="import-old-email" class="import-input" value="$email" /> + <label for="import-old-email" id="label-import-old-email" class="import-label" >{{$label_old_email}}</label> + <input type="text" name="email" id="import-old-email" class="import-input" value="{{$email}}" /> <div id="import-old-email-end" class="import-field-end"></div> - <label for="import-old-pass" id="label-import-old-pass" class="import-label" >$label_old_pass</label> - <input type="password" name="password" id="import-old-pass" class="import-input" value="$pass" /> + <label for="import-old-pass" id="label-import-old-pass" class="import-label" >{{$label_old_pass}}</label> + <input type="password" name="password" id="import-old-pass" class="import-input" value="{{$pass}}" /> <div id="import-old-pass-end" class="import-field-end"></div> - <div id="import-common-desc" class="descriptive-paragraph">$common</div> + <div id="import-common-desc" class="descriptive-paragraph">{{$common}}</div> <input type="checkbox" name="make_primary" id="import-make-primary" value="1" /> - <label for="import-make-primary" id="label-import-make-primary">$label_import_primary</label> + <label for="import-make-primary" id="label-import-make-primary">{{$label_import_primary}}</label> <div id="import-make-primary-end" class="import-field-end"></div> - <input type="submit" name="submit" id="import-submit-button" value="$submit" /> + <input type="submit" name="submit" id="import-submit-button" value="{{$submit}}" /> <div id="import-submit-end" class="import-field-end"></div> </form> diff --git a/view/tpl/channels.tpl b/view/tpl/channels.tpl index 916ba1c75..317384661 100644..100755 --- a/view/tpl/channels.tpl +++ b/view/tpl/channels.tpl @@ -1,22 +1,26 @@ -<h3>$header</h3> +<h3>{{$header}}</h3> -{{ if $links }} -{{ for $links as $l }} -<a class="channels-links" href="$l.0" title="$l.1">$l.2</a> -{{ endfor }} -{{ endif }} +{{if $links}} +{{foreach $links as $l}} +<a class="channels-links" href="{{$l.0}}" title="{{$l.1}}">{{$l.2}}</a> +{{/foreach}} +{{/if}} -{{ if $selected }} -<div id="channels-selected">$msg_selected</div> -{{ inc channel.tpl with $channel=$selected }}{{ endinc }} +{{if $selected}} +<div id="selected-channel"> +<div id="channels-selected">{{$msg_selected}}</div> +{{include file="channel.tpl" channel=$selected}} <div class="channels-end selected"></div> -{{ endif }} +</div> +{{/if}} -<div id="channels-desc" class="descriptive-text">$desc</div> +<div id="channels-desc" class="descriptive-text">{{$desc}}</div> -{{ for $all_channels as $chn }} -{{ inc channel.tpl with $channel=$chn }}{{ endinc }} -{{ endfor }} +<div id="all-channels"> +{{foreach $all_channels as $chn}} +{{include file="channel.tpl" channel=$chn}} +{{/foreach}} +</div> <div class="channels-end all"></div> diff --git a/view/tpl/chanview.tpl b/view/tpl/chanview.tpl index da96c9c0c..4df327bf9 100644..100755 --- a/view/tpl/chanview.tpl +++ b/view/tpl/chanview.tpl @@ -1,2 +1,2 @@ -<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" title="$full" >☐</div> -<iframe id="remote-channel" width="100%" src="$url" onload="resize_iframe()"></iframe> +<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" title="{{$full}}" >☐</div> +<iframe id="remote-channel" width="100%" src="{{$url}}" onload="resize_iframe()"></iframe> diff --git a/view/tpl/comment_item.tpl b/view/tpl/comment_item.tpl index cc7153ebb..f8add5d15 100644..100755 --- a/view/tpl/comment_item.tpl +++ b/view/tpl/comment_item.tpl @@ -1,65 +1,64 @@ - {{ if $threaded }} - <div class="comment-wwedit-wrapper threaded" id="comment-edit-wrapper-$id" style="display: block;"> - {{ else }} - <div class="comment-wwedit-wrapper" id="comment-edit-wrapper-$id" style="display: block;"> - {{ endif }} - <form class="comment-edit-form" style="display: block;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;"> - <input type="hidden" name="type" value="$type" /> - <input type="hidden" name="profile_uid" value="$profile_uid" /> - <input type="hidden" name="parent" value="$parent" /> - <input type="hidden" name="return" value="$return_path" /> - <input type="hidden" name="jsreload" value="$jsreload" /> - <input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" /> - <input type="hidden" name="post_id_random" value="$rand_num" /> + {{if $threaded}} + <div class="comment-wwedit-wrapper threaded" id="comment-edit-wrapper-{{$id}}" style="display: block;"> + {{else}} + <div class="comment-wwedit-wrapper" id="comment-edit-wrapper-{{$id}}" style="display: block;"> + {{/if}} + <form class="comment-edit-form" style="display: block;" id="comment-edit-form-{{$id}}" action="item" method="post" onsubmit="post_comment({{$id}}); return false;"> + <input type="hidden" name="type" value="{{$type}}" /> + <input type="hidden" name="profile_uid" value="{{$profile_uid}}" /> + <input type="hidden" name="parent" value="{{$parent}}" /> + <input type="hidden" name="return" value="{{$return_path}}" /> + <input type="hidden" name="jsreload" value="{{$jsreload}}" /> + <input type="hidden" name="preview" id="comment-preview-inp-{{$id}}" value="0" /> - <div class="comment-edit-photo" id="comment-edit-photo-$id" > - <a class="comment-edit-photo-link" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a> + <div class="comment-edit-photo" id="comment-edit-photo-{{$id}}" > + <a class="comment-edit-photo-link" href="{{$mylink}}" title="{{$mytitle}}"><img class="my-comment-photo" src="{{$myphoto}}" alt="{{$mytitle}}" title="{{$mytitle}}" /></a> </div> <div class="comment-edit-photo-end"></div> - <ul class="comment-edit-bb-$id"> + <ul class="comment-edit-bb-{{$id}}"> <li><a class="editicon boldbb shadow" - style="cursor: pointer;" title="$edbold" - onclick="insertFormatting('$comment','b', $id);"></a></li> + style="cursor: pointer;" title="{{$edbold}}" + onclick="insertFormatting('{{$comment}}','b', {{$id}});"></a></li> <li><a class="editicon italicbb shadow" - style="cursor: pointer;" title="$editalic" - onclick="insertFormatting('$comment','i', $id);"></a></li> + style="cursor: pointer;" title="{{$editalic}}" + onclick="insertFormatting('{{$comment}}','i', {{$id}});"></a></li> <li><a class="editicon underlinebb shadow" - style="cursor: pointer;" title="$eduline" - onclick="insertFormatting('$comment','u', $id);"></a></li> + style="cursor: pointer;" title="{{$eduline}}" + onclick="insertFormatting('{{$comment}}','u', {{$id}});"></a></li> <li><a class="editicon quotebb shadow" - style="cursor: pointer;" title="$edquote" - onclick="insertFormatting('$comment','quote', $id);"></a></li> + style="cursor: pointer;" title="{{$edquote}}" + onclick="insertFormatting('{{$comment}}','quote', {{$id}});"></a></li> <li><a class="editicon codebb shadow" - style="cursor: pointer;" title="$edcode" - onclick="insertFormatting('$comment','code', $id);"></a></li> + style="cursor: pointer;" title="{{$edcode}}" + onclick="insertFormatting('{{$comment}}','code', {{$id}});"></a></li> <li><a class="editicon imagebb shadow" - style="cursor: pointer;" title="$edimg" - onclick="insertFormatting('$comment','img', $id);"></a></li> + style="cursor: pointer;" title="{{$edimg}}" + onclick="insertFormatting('{{$comment}}','img', {{$id}});"></a></li> <li><a class="editicon urlbb shadow" - style="cursor: pointer;" title="$edurl" - onclick="insertFormatting('$comment','url', $id);"></a></li> + style="cursor: pointer;" title="{{$edurl}}" + onclick="insertFormatting('{{$comment}}','url', {{$id}});"></a></li> <li><a class="editicon videobb shadow" - style="cursor: pointer;" title="$edvideo" - onclick="insertFormatting('$comment','video', $id);"></a></li> + style="cursor: pointer;" title="{{$edvideo}}" + onclick="insertFormatting('{{$comment}}','video', {{$id}});"></a></li> </ul> <div class="comment-edit-bb-end"></div> - <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen(this, $id);" onBlur="commentClose(this,$id);cmtBbClose(this,$id);" >$comment</textarea> - {{ if $qcomment }} - <select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" > + <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$id}});cmtBbOpen(this, {{$id}});" onBlur="commentClose(this,{{$id}});cmtBbClose(this,{{$id}});" >{{$comment}}</textarea> + {{if $qcomment}} + <select id="qcomment-select-{{$id}}" name="qcomment-{{$id}}" class="qcomment" onchange="qCommentInsert(this,{{$id}});" > <option value=""></option> - {{ for $qcomment as $qc }} - <option value="$qc">$qc</option> - {{ endfor }} + {{foreach $qcomment as $qc}} + <option value="{{$qc}}">{{$qc}}</option> + {{/foreach}} </select> - {{ endif }} + {{/if}} <div class="comment-edit-text-end"></div> - <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" style="display: none;" > - <input type="submit" onclick="post_comment($id); return false;" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="$submit" /> - {{ if $preview }} - <span onclick="preview_comment($id);" id="comment-edit-preview-link-$id" class="fakelink">$preview</span> - <div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div> - {{ endif }} + <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-{{$id}}" style="display: none;" > + <input type="submit" onclick="post_comment({{$id}}); return false;" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" /> + {{if $preview}} + <span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="fakelink">{{$preview}}</span> + <div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div> + {{/if}} </div> <div class="comment-edit-end"></div> diff --git a/view/tpl/common_friends.tpl b/view/tpl/common_friends.tpl index 1f610d8c4..489717e78 100644..100755 --- a/view/tpl/common_friends.tpl +++ b/view/tpl/common_friends.tpl @@ -1,12 +1,15 @@ <div class="profile-match-wrapper"> <div class="profile-match-photo"> - <a href="$url"> - <img src="$photo" alt="$name" width="80" height="80" title="$name [$url]" /> + <a href="{{$url}}"> + <img src="{{$photo}}" alt="{{$name}}" width="80" height="80" title="{{$name}} [{{$url}}]" /> </a> </div> <div class="profile-match-break"></div> <div class="profile-match-name"> - <a href="$url" title="$name[$tags]">$name</a> + <a href="{{$url}}" title="{{$name}}[{{$tags}}]">{{$name}}</a> </div> + {{if $note}} + <div class="profile-match-note">{{$note}}</div> + {{/if}} <div class="profile-match-end"></div> -</div>
\ No newline at end of file +</div> diff --git a/view/tpl/common_tabs.tpl b/view/tpl/common_tabs.tpl index 97b771e7a..3d34d7c57 100644..100755 --- a/view/tpl/common_tabs.tpl +++ b/view/tpl/common_tabs.tpl @@ -1,6 +1,6 @@ <ul class="tabs"> - {{ for $tabs as $tab }} - <li {{ if $tab.id }}id="$tab.id"{{ endif }}><a href="$tab.url" class="tab button $tab.sel"{{ if $tab.title }} title="$tab.title"{{ endif }}>$tab.label</a></li> - {{ endfor }} + {{foreach $tabs as $tab}} + <li {{if $tab.id}}id="{{$tab.id}}"{{/if}}><a href="{{$tab.url}}" class="tab button {{$tab.sel}}"{{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li> + {{/foreach}} </ul> -<div class="tabs-end"></div>
\ No newline at end of file +<div class="tabs-end"></div> diff --git a/view/tpl/contact_block.tpl b/view/tpl/contact_block.tpl index b90469199..d1ce5ca67 100644..100755 --- a/view/tpl/contact_block.tpl +++ b/view/tpl/contact_block.tpl @@ -1,12 +1,12 @@ <div id="contact-block"> -<div id="contact-block-numcontacts">$contacts</div> -{{ if $micropro }} - <a class="allcontact-link" href="viewconnections/$nickname">$viewconnections</a> +<div id="contact-block-numcontacts">{{$contacts}}</div> +{{if $micropro}} + <a class="allcontact-link" href="viewconnections/{{$nickname}}">{{$viewconnections}}</a> <div class='contact-block-content'> - {{ for $micropro as $m }} - $m - {{ endfor }} + {{foreach $micropro as $m}} + {{$m}} + {{/foreach}} </div> -{{ endif }} +{{/if}} </div> <div class="clear"></div> diff --git a/view/tpl/contact_edit.tpl b/view/tpl/contact_edit.tpl deleted file mode 100644 index 4f99b4aca..000000000 --- a/view/tpl/contact_edit.tpl +++ /dev/null @@ -1,89 +0,0 @@ - -<h2>$header</h2> - -<div id="contact-edit-wrapper" > - - $tab_str - - <div id="contact-edit-drop-link" > - <a href="contacts/$contact_id/drop" class="icon drophide" id="contact-edit-drop-link" onclick="return confirmDelete();" title="$delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);"></a> - </div> - - <div id="contact-edit-drop-link-end"></div> - - - <div id="contact-edit-nav-wrapper" > - <div id="contact-edit-links"> - <ul> - <li><div id="contact-edit-rel">$relation_text</div></li> - <li><div id="contact-edit-nettype">$nettype</div></li> - {{ if $lost_contact }} - <li><div id="lost-contact-message">$lost_contact</div></li> - {{ endif }} - {{ if $insecure }} - <li><div id="insecure-message">$insecure</div></li> - {{ endif }} - {{ if $blocked }} - <li><div id="block-message">$blocked</div></li> - {{ endif }} - {{ if $ignored }} - <li><div id="ignore-message">$ignored</div></li> - {{ endif }} - {{ if $archived }} - <li><div id="archive-message">$archived</div></li> - {{ endif }} - - <li> </li> - - {{ if $common_text }} - <li><div id="contact-edit-common"><a href="$common_link">$common_text</a></div></li> - {{ endif }} - {{ if $all_friends }} - <li><div id="contact-edit-allfriends"><a href="allfriends/$contact_id">$all_friends</a></div></li> - {{ endif }} - - - <li><a href="network/?cid=$contact_id" id="contact-edit-view-recent">$lblrecent</a></li> - {{ if $lblsuggest }} - <li><a href="fsuggest/$contact_id" id="contact-edit-suggest">$lblsuggest</a></li> - {{ endif }} - - </ul> - </div> - </div> - <div id="contact-edit-nav-end"></div> - - -<form action="contacts/$contact_id" method="post" > -<input type="hidden" name="contact_id" value="$contact_id"> -<input id="contact-closeness-mirror" type="hidden" name="closeness" value="$close" /> - - {{ if $poll_enabled }} - <div id="contact-edit-poll-wrapper"> - <div id="contact-edit-last-update-text">$lastupdtext <span id="contact-edit-last-updated">$last_update</span></div> - <span id="contact-edit-poll-text">$updpub</span> $poll_interval <span id="contact-edit-update-now" class="button"><a href="contacts/$contact_id/update" >$udnow</a></span> - </div> - {{ endif }} - <div id="contact-edit-end" ></div> - - {{inc field_checkbox.tpl with $field=$hidden }}{{endinc}} - -<div id="contact-edit-info-wrapper"> -<h4>$lbl_info1</h4> - <textarea id="contact-edit-info" rows="8" cols="60" name="info">$info</textarea> - <input class="contact-edit-submit" type="submit" name="submit" value="$submit" /> -</div> -<div id="contact-edit-info-end"></div> - - -<div id="contact-edit-profile-select-text"> -<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" /> - -</form> -</div> diff --git a/view/tpl/contact_head.tpl b/view/tpl/contact_head.tpl index 9cfd81710..72e7edbfb 100644..100755 --- a/view/tpl/contact_head.tpl +++ b/view/tpl/contact_head.tpl @@ -1,10 +1,10 @@ <script language="javascript" type="text/javascript" - src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> + src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> <script language="javascript" type="text/javascript"> tinyMCE.init({ theme : "advanced", - mode : "$editselect", + mode : "{{$editselect}}", elements: "contact-edit-info", plugins : "bbcode", theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor", @@ -20,7 +20,7 @@ tinyMCE.init({ force_p_newlines : false, force_br_newlines : true, forced_root_block : '', - content_css: "$baseurl/view/custom_tinymce.css" + content_css: "{{$baseurl}}/view/custom_tinymce.css" }); diff --git a/view/tpl/contact_slider.tpl b/view/tpl/contact_slider.tpl index 2ccb08a90..33cd3fb71 100644..100755 --- a/view/tpl/contact_slider.tpl +++ b/view/tpl/contact_slider.tpl @@ -1,4 +1,4 @@ -<div id="contact-slider" class="slider" style="height: 32px; position: relative; left: 5%; width: 90%;"><input id="contact-range" type="text" name="fake-closeness" value="$val" /></div> +<div id="contact-slider" class="slider" style="height: 32px; position: relative; left: 5%; width: 90%;"><input id="contact-range" type="text" name="fake-closeness" value="{{$val}}" /></div> <script> - $("#contact-range").slider({ from: 0, to: 99, step: 1, scale: ['$me', '|', '$intimate', '|', '$friends', '|', '$oldfriends', '|', '$acquaintances', '|', '$world' ], onstatechange: function(v) { $("#contact-closeness-mirror").val(v); } }); + $("#contact-range").slider({ from: 0, to: 99, step: 1, scale: ['{{$me}}', '|', '{{$intimate}}', '|', '{{$friends}}', '|', '{{$oldfriends}}', '|', '{{$acquaintances}}', '|', '{{$world}}' ], onstatechange: function(v) { $("#contact-closeness-mirror").val(v); } }); </script> diff --git a/view/tpl/contact_template.tpl b/view/tpl/contact_template.tpl index 7bdcd6b93..7feefa655 100644..100755 --- a/view/tpl/contact_template.tpl +++ b/view/tpl/contact_template.tpl @@ -1,9 +1,8 @@ - -<div class="contact-entry-wrapper" id="contact-entry-wrapper-$contact.id" > +<div class="contact-entry-wrapper" id="contact-entry-wrapper-{{$contact.id}}" > <div class="contact-entry-photo-wrapper" > - <a href="$contact.url" title="$contact.img_hover" /><img src="$contact.thumb" alt="$contact.name" /></a> + <a href="{{$contact.link}}" title="{{$contact.img_hover}}" /><img class="contact-block-img" src="{{$contact.thumb}}" alt="{{$contact.name}}" /></a> </div> <div class="contact-entry-photo-end" ></div> - <div class="contact-entry-name" id="contact-entry-name-$contact.id" >$contact.name</div> + <div class="contact-entry-name" id="contact-entry-name-{{$contact.id}}" >{{$contact.name}}</div> <div class="contact-entry-end" ></div> </div> diff --git a/view/tpl/contacts-template.tpl b/view/tpl/contacts-template.tpl index ecb342bf4..0c7e01038 100644..100755 --- a/view/tpl/contacts-template.tpl +++ b/view/tpl/contacts-template.tpl @@ -1,25 +1,25 @@ -<h1>$header{{ if $total }} ($total){{ endif }}</h1> +<h1>{{$header}}{{if $total}} ({{$total}}){{/if}}</h1> -{{ if $finding }}<h4>$finding</h4>{{ endif }} +{{if $finding}}<h4>{{$finding}}</h4>{{/if}} <div id="contacts-search-wrapper"> -<form id="contacts-search-form" action="$cmd" method="get" > -<span class="contacts-search-desc">$desc</span> -<input type="text" name="search" id="contacts-search" class="search-input" onfocus="this.select();" value="$search" /> -<input type="submit" name="submit" id="contacts-search-submit" value="$submit" /> +<form id="contacts-search-form" action="{{$cmd}}" method="get" > +<span class="contacts-search-desc">{{$desc}}</span> +<input type="text" name="search" id="contacts-search" class="search-input" onfocus="this.select();" value="{{$search}}" /> +<input type="submit" name="submit" id="contacts-search-submit" value="{{$submit}}" /> </form> </div> <div id="contacts-search-end"></div> -$tabs +{{$tabs}} -{{ for $contacts as $contact }} - {{ inc contact_template.tpl }}{{ endinc }} -{{ endfor }} +{{foreach $contacts as $contact}} + {{include file="contact_template.tpl"}} +{{/foreach}} <div id="contact-edit-end"></div> -$paginate +{{$paginate}} diff --git a/view/tpl/content.tpl b/view/tpl/content.tpl deleted file mode 100644 index 466045d39..000000000 --- a/view/tpl/content.tpl +++ /dev/null @@ -1,2 +0,0 @@ -<div id="content-begin"></div> -<div id="content-end"></div> diff --git a/view/tpl/conv.tpl b/view/tpl/conv.tpl index b7222f154..ddb959b84 100644..100755 --- a/view/tpl/conv.tpl +++ b/view/tpl/conv.tpl @@ -1,17 +1,17 @@ -{{ for $threads as $thread }} -<div id="thread-wrapper-$thread.id" class="thread-wrapper"> - {{ for $thread.items as $item }} +{{foreach $threads as $thread}} +<div id="thread-wrapper-{{$thread.id}}" class="thread-wrapper"> + {{foreach $thread.items as $item}} {{if $item.comment_firstcollapsed}} <div class="hide-comments-outer"> - <span id="hide-comments-total-$thread.id" class="hide-comments-total">$thread.num_comments</span> <span id="hide-comments-$thread.id" class="hide-comments fakelink" onclick="showHideComments($thread.id);">$thread.hide_text</span> + <span id="hide-comments-total-{{$thread.id}}" class="hide-comments-total">{{$thread.num_comments}}</span> <span id="hide-comments-{{$thread.id}}" class="hide-comments fakelink" onclick="showHideComments({{$thread.id}});">{{$thread.hide_text}}</span> </div> - <div id="collapsed-comments-$thread.id" class="collapsed-comments" style="display: none;"> - {{endif}} - {{if $item.comment_lastcollapsed}}</div>{{endif}} + <div id="collapsed-comments-{{$thread.id}}" class="collapsed-comments" style="display: none;"> + {{/if}} + {{if $item.comment_lastcollapsed}}</div>{{/if}} - {{ inc $item.template }}{{ endinc }} + {{include file="{{$item.template}}"}} - {{ endfor }} + {{/foreach}} </div> -{{ endfor }} +{{/foreach}} diff --git a/view/tpl/conv_frame.tpl b/view/tpl/conv_frame.tpl index 202b095e7..596246708 100644..100755 --- a/view/tpl/conv_frame.tpl +++ b/view/tpl/conv_frame.tpl @@ -2,13 +2,13 @@ <div id="threads-end"></div> <div id="conversation-end"></div> -{{ if $dropping }} +{{if $dropping}} <div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems();"> - <div id="item-delete-selected-icon" class="icon drophide" title="$dropping" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div> - <div id="item-delete-selected-desc" >$dropping</div> + <div id="item-delete-selected-icon" class="icon drophide" title="{{$dropping}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div> + <div id="item-delete-selected-desc" >{{$dropping}}</div> </div> <div id="item-delete-selected-end"></div> -{{ endif }} +{{/if}} -<img id="page-spinner" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" /> +<div id="page-spinner"></div> diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index 0c0553639..806e2ba02 100644..100755 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -1,115 +1,117 @@ {{if $item.comment_firstcollapsed}} <div class="hide-comments-outer"> - <span id="hide-comments-total-$item.id" class="hide-comments-total">$item.num_comments</span> <span id="hide-comments-$item.id" class="hide-comments fakelink" onclick="showHideComments($item.id);">$item.hide_text</span> + <span id="hide-comments-total-{{$item.id}}" class="hide-comments-total">{{$item.num_comments}}</span> <span id="hide-comments-{{$item.id}}" class="hide-comments fakelink" onclick="showHideComments({{$item.id}});">{{$item.hide_text}}</span> </div> - <div id="collapsed-comments-$item.id" class="collapsed-comments" style="display: none;"> -{{endif}} -<div id="thread-wrapper-$item.id" class="thread-wrapper $item.toplevel"> -<a name="$item.id" ></a> -<div class="wall-item-outside-wrapper $item.indent$item.previewing{{ if $item.owner_url }} wallwall{{ endif }}" id="wall-item-outside-wrapper-$item.id" > - <div class="wall-item-content-wrapper $item.indent" id="wall-item-content-wrapper-$item.id" > - <div class="wall-item-info{{ if $item.owner_url }} wallwall{{ endif }}" id="wall-item-info-$item.id"> - {{ if $item.owner_url }} - <div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-$item.id" > - <a href="$item.owner_url" title="$item.olinktitle" class="wall-item-photo-link" id="wall-item-ownerphoto-link-$item.id"> - <img src="$item.owner_photo" class="wall-item-photo$item.osparkle" id="wall-item-ownerphoto-$item.id" style="height: 80px; width: 80px;" alt="$item.owner_name" /></a> + <div id="collapsed-comments-{{$item.id}}" class="collapsed-comments" style="display: none;"> +{{/if}} +<div id="thread-wrapper-{{$item.id}}" class="thread-wrapper {{$item.toplevel}}"> +<a name="{{$item.id}}" ></a> +<div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}}{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-outside-wrapper-{{$item.id}}" > + <div class="wall-item-content-wrapper {{$item.indent}}" id="wall-item-content-wrapper-{{$item.id}}" > + <div class="wall-item-info{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-info-{{$item.id}}"> + {{if $item.owner_url}} + <div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" > + <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-photo-link" id="wall-item-ownerphoto-link-{{$item.id}}"> + <img src="{{$item.owner_photo}}" class="wall-item-photo{{$item.osparkle}}" id="wall-item-ownerphoto-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.owner_name}}" /></a> </div> - <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="$item.wall" /></div> - {{ endif }} - <div class="wall-item-photo-wrapper{{ if $item.owner_url }} wwfrom{{ endif }}" id="wall-item-photo-wrapper-$item.id" - onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')" - onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)"> - <a href="$item.profile_url" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id"> - <img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" /></a> - <span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span> - <div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id"> + <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="{{$item.wall}}" /></div> + {{/if}} + <div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}}" id="wall-item-photo-wrapper-{{$item.id}}" + onmouseover="if (typeof t{{$item.id}} != 'undefined') clearTimeout(t{{$item.id}}); openMenu('wall-item-photo-menu-button-{{$item.id}}')" + onmouseout="t{{$item.id}}=setTimeout('closeMenu(\'wall-item-photo-menu-button-{{$item.id}}\'); closeMenu(\'wall-item-photo-menu-{{$item.id}}\');',200)"> + <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}"> + <img src="{{$item.thumb}}" class="wall-item-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.name}}" /></a> + <span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span> + <div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}"> <ul> - $item.item_photo_menu + {{$item.item_photo_menu}} </ul> </div> </div> <div class="wall-item-photo-end"></div> - <div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" > - {{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div> - {{ else }}<div class="wall-item-lock"></div>{{ endif }} - <div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div> + <div class="wall-item-wrapper" id="wall-item-wrapper-{{$item.id}}" > + {{if $item.lock}}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" /></div> + {{else}}<div class="wall-item-lock"></div>{{/if}} + <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div> </div> </div> <div class="wall-item-author"> - <a href="$item.profile_url" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a>{{ if $item.owner_url }} $item.to <a href="$item.owner_url" title="$item.olinktitle" class="wall-item-name-link"><span class="wall-item-name$item.osparkle" id="wall-item-ownername-$item.id">$item.owner_name</span></a> $item.vwall{{ endif }}<br /> - <div class="wall-item-ago" id="wall-item-ago-$item.id" title="$item.localtime">$item.ago</div> + <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span></a>{{if $item.owner_url}} {{$item.to}} <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span></a> {{$item.vwall}}{{/if}}<br /> + <div class="wall-item-ago" id="wall-item-ago-{{$item.id}}"><span class="autotime" title="{{$item.isotime}}">{{$item.localtime}}</span>{{if $item.app}}<span class="item.app">{{$item.str_app}}</span>{{/if}}</div> </div> - <div class="wall-item-content" id="wall-item-content-$item.id" > - <div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div> + <div class="wall-item-content" id="wall-item-content-{{$item.id}}" > + <div class="wall-item-title" id="wall-item-title-{{$item.id}}">{{$item.title}}</div> <div class="wall-item-title-end"></div> - <div class="wall-item-body" id="wall-item-body-$item.id" >$item.body + <div class="wall-item-body" id="wall-item-body-{{$item.id}}" >{{$item.body}} <div class="body-tag"> - {{ for $item.tags as $tag }} - <span class='tag'>$tag</span> - {{ endfor }} + {{foreach $item.tags as $tag}} + <span class='tag'>{{$tag}}</span> + {{/foreach}} </div> - {{ if $item.has_cats }} - <div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }} + {{if $item.has_cats}} + <div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}} </div> - {{ endif }} + {{/if}} - {{ if $item.has_folders }} - <div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }} + {{if $item.has_folders}} + <div class="filesavetags"><span>{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}} </div> - {{ endif }} + {{/if}} </div> </div> - <div class="wall-item-tools" id="wall-item-tools-$item.id"> - {{ if $item.like }} - <a href="#" class="icon like item-tool" title="$item.like.0" onclick="dolike($item.id,'like'); return false"></a> - {{ endif }} - {{ if $item.dislike }} - <a href="#" class="icon dislike item-tool" title="$item.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a> - {{ endif }} - {{ if $item.share }} - <a href="#" class="icon recycle item-tool" title="$item.share.0" onclick="jotShare($item.id); return false"></a> - {{ endif }} - {{ if $item.plink }} - <a href="$item.plink.href" title="$item.plink.title" target="external-link" class="icon item-tool remote-link$item.sparkle"></a> - {{ endif }} - {{ if $item.edpost }} - <a class="editpost icon pencil item-tool" href="$item.edpost.0" title="$item.edpost.1"></a> - {{ endif }} - {{ if $item.star }} - <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon item-tool $item.star.isstarred" title="$item.star.toggle"></a> - {{ endif }} - {{ if $item.tagger }} - <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon item-tool tagged" title="$item.tagger.tagit"></a> - {{ endif }} - {{ if $item.filer }} - <a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon item-tool" title="$item.filer"></a> - {{ endif }} - <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" /> + <div class="wall-item-tools" id="wall-item-tools-{{$item.id}}"> + {{if $item.like}} + <a href="#" class="icon like item-tool" title="{{$item.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></a> + {{/if}} + {{if $item.dislike}} + <a href="#" class="icon dislike item-tool" title="{{$item.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></a> + {{/if}} + {{if $item.share}} + <a href="#" class="icon recycle item-tool" title="{{$item.share.0}}" onclick="jotShare({{$item.id}}); return false"></a> + {{/if}} + {{if $item.plink}} + <a href="{{$item.plink.href}}" title="{{$item.plink.title}}" target="external-link" class="icon item-tool remote-link{{$item.sparkle}}"></a> + {{/if}} + {{if $item.edpost}} + <a class="editpost icon pencil item-tool" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a> + {{/if}} + {{if $item.star}} + <a href="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="star-item icon item-tool {{$item.star.isstarred}}" title="{{$item.star.toggle}}"></a> + {{/if}} + {{if $item.tagger}} + <a href="#" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="tag-item icon item-tool tagged" title="{{$item.tagger.tagit}}"></a> + {{/if}} + {{if $item.filer}} + <a href="#" id="filer-{{$item.id}}" onclick="itemFiler({{$item.id}}); return false;" class="filer-item filer-icon item-tool" title="{{$item.filer}}"></a> + {{/if}} + <div id="like-rotator-{{$item.id}}" class="like-rotator"></div> - <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" > - {{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }} + <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" > + {{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{/if}} </div> - {{ if $item.drop.pagedrop }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }} + {{if $item.drop.pagedrop}}<input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}} <div class="wall-item-delete-end"></div> + <div class="wall-item-like {{$item.indent}}" id="wall-item-like-{{$item.id}}">{{$item.showlike}}</div> + <div class="wall-item-dislike {{$item.indent}}" id="wall-item-dislike-{{$item.id}}">{{$item.showdislike}}</div> + </div> </div> + <div class="wall-item-wrapper-end"></div> - <div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.showlike</div> - <div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.showdislike</div> -<div class="wall-item-outside-wrapper-end $item.indent" ></div> +<div class="wall-item-outside-wrapper-end {{$item.indent}}" ></div> </div> -{{ if $item.toplevel }} -{{ for $item.children as $child }} - {{ inc $child.template with $item=$child }}{{ endinc }} -{{ endfor }} -{{ endif }} +{{if $item.toplevel}} +{{foreach $item.children as $child}} + {{include file="{{$child.template}}" item=$child}} +{{/foreach}} +{{/if}} <div class="wall-item-comment-wrapper" > - $item.comment + {{$item.comment}} </div> </div> -{{if $item.comment_lastcollapsed}}</div>{{endif}} +{{if $item.comment_lastcollapsed}}</div>{{/if}} diff --git a/view/tpl/conversation.tpl b/view/tpl/conversation.tpl index 70cd389c9..8948fd474 100644..100755 --- a/view/tpl/conversation.tpl +++ b/view/tpl/conversation.tpl @@ -1,28 +1,28 @@ <div id="threads-begin"></div> -{{ for $threads as $thread }} -<div id="thread-wrapper-$thread.id" class="thread-wrapper"> - {{ for $thread.items as $item }} +{{foreach $threads as $thread}} +<div id="thread-wrapper-{{$thread.id}}" class="thread-wrapper"> + {{foreach $thread.items as $item}} {{if $item.comment_firstcollapsed}} <div class="hide-comments-outer"> - <span id="hide-comments-total-$thread.id" class="hide-comments-total">$thread.num_comments</span> <span id="hide-comments-$thread.id" class="hide-comments fakelink" onclick="showHideComments($thread.id);">$thread.hide_text</span> + <span id="hide-comments-total-{{$thread.id}}" class="hide-comments-total">{{$thread.num_comments}}</span> <span id="hide-comments-{{$thread.id}}" class="hide-comments fakelink" onclick="showHideComments({{$thread.id}});">{{$thread.hide_text}}</span> </div> - <div id="collapsed-comments-$thread.id" class="collapsed-comments" style="display: none;"> - {{endif}} - {{if $item.comment_lastcollapsed}}</div>{{endif}} + <div id="collapsed-comments-{{$thread.id}}" class="collapsed-comments" style="display: none;"> + {{/if}} + {{if $item.comment_lastcollapsed}}</div>{{/if}} - {{ inc $item.template }}{{ endinc }} + {{include file="{{$item.template}}"}} - {{ endfor }} + {{/foreach}} </div> -{{ endfor }} +{{/foreach}} <div id="threads-end"></div> <div id="conversation-end"></div> -{{ if $dropping }} +{{if $dropping}} <div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems();"> - <div id="item-delete-selected-icon" class="icon drophide" title="$dropping" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div> - <div id="item-delete-selected-desc" >$dropping</div> + <div id="item-delete-selected-icon" class="icon drophide" title="{{$dropping}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div> + <div id="item-delete-selected-desc" >{{$dropping}}</div> </div> <div id="item-delete-selected-end"></div> -{{ endif }} +{{/if}} diff --git a/view/tpl/convobj.tpl b/view/tpl/convobj.tpl index a35e232e2..d5cee1170 100644..100755 --- a/view/tpl/convobj.tpl +++ b/view/tpl/convobj.tpl @@ -1,4 +1,4 @@ -{{ for $threads as $item }} -{{ inc $item.template }}{{ endinc }} -{{ endfor }} +{{foreach $threads as $item}} +{{include file="{{$item.template}}"}} +{{/foreach}} diff --git a/view/tpl/crepair.tpl b/view/tpl/crepair.tpl index a3e532b61..1a5a019db 100644..100755 --- a/view/tpl/crepair.tpl +++ b/view/tpl/crepair.tpl @@ -1,45 +1,44 @@ +<form id="crepair-form" action="crepair/{{$contact_id}}" method="post" > -<form id="crepair-form" action="crepair/$contact_id" method="post" > +<h4>{{$contact_name}}</h4> -<h4>$contact_name</h4> - -<label id="crepair-name-label" class="crepair-label" for="crepair-name">$label_name</label> -<input type="text" id="crepair-name" class="crepair-input" name="name" value="$contact_name" /> +<label id="crepair-name-label" class="crepair-label" for="crepair-name">{{$label_name}}</label> +<input type="text" id="crepair-name" class="crepair-input" name="name" value="{{$contact_name}}" /> <div class="clear"></div> -<label id="crepair-nick-label" class="crepair-label" for="crepair-nick">$label_nick</label> -<input type="text" id="crepair-nick" class="crepair-input" name="nick" value="$contact_nick" /> +<label id="crepair-nick-label" class="crepair-label" for="crepair-nick">{{$label_nick}}</label> +<input type="text" id="crepair-nick" class="crepair-input" name="nick" value="{{$contact_nick}}" /> <div class="clear"></div> -<label id="crepair-attag-label" class="crepair-label" for="crepair-attag">$label_attag</label> -<input type="text" id="crepair-attag" class="crepair-input" name="attag" value="$contact_attag" /> +<label id="crepair-attag-label" class="crepair-label" for="crepair-attag">{{$label_attag}}</label> +<input type="text" id="crepair-attag" class="crepair-input" name="attag" value="{{$contact_attag}}" /> <div class="clear"></div> -<label id="crepair-url-label" class="crepair-label" for="crepair-url">$label_url</label> -<input type="text" id="crepair-url" class="crepair-input" name="url" value="$contact_url" /> +<label id="crepair-url-label" class="crepair-label" for="crepair-url">{{$label_url}}</label> +<input type="text" id="crepair-url" class="crepair-input" name="url" value="{{$contact_url}}" /> <div class="clear"></div> -<label id="crepair-request-label" class="crepair-label" for="crepair-request">$label_request</label> -<input type="text" id="crepair-request" class="crepair-input" name="request" value="$request" /> +<label id="crepair-request-label" class="crepair-label" for="crepair-request">{{$label_request}}</label> +<input type="text" id="crepair-request" class="crepair-input" name="request" value="{{$request}}" /> <div class="clear"></div> -<label id="crepair-confirm-label" class="crepair-label" for="crepair-confirm">$label_confirm</label> -<input type="text" id="crepair-confirm" class="crepair-input" name="confirm" value="$confirm" /> +<label id="crepair-confirm-label" class="crepair-label" for="crepair-confirm">{{$label_confirm}}</label> +<input type="text" id="crepair-confirm" class="crepair-input" name="confirm" value="{{$confirm}}" /> <div class="clear"></div> -<label id="crepair-notify-label" class="crepair-label" for="crepair-notify">$label_notify</label> -<input type="text" id="crepair-notify" class="crepair-input" name="notify" value="$notify" /> +<label id="crepair-notify-label" class="crepair-label" for="crepair-notify">{{$label_notify}}</label> +<input type="text" id="crepair-notify" class="crepair-input" name="notify" value="{{$notify}}" /> <div class="clear"></div> -<label id="crepair-poll-label" class="crepair-label" for="crepair-poll">$label_poll</label> -<input type="text" id="crepair-poll" class="crepair-input" name="poll" value="$poll" /> +<label id="crepair-poll-label" class="crepair-label" for="crepair-poll">{{$label_poll}}</label> +<input type="text" id="crepair-poll" class="crepair-input" name="poll" value="{{$poll}}" /> <div class="clear"></div> -<label id="crepair-photo-label" class="crepair-label" for="crepair-photo">$label_photo</label> +<label id="crepair-photo-label" class="crepair-label" for="crepair-photo">{{$label_photo}}</label> <input type="text" id="crepair-photo" class="crepair-input" name="photo" value="" /> <div class="clear"></div> -<input type="submit" name="submit" value="$lbl_submit" /> +<input type="submit" name="submit" value="{{$lbl_submit}}" /> </form> diff --git a/view/tpl/cropbody.tpl b/view/tpl/cropbody.tpl index 4c0ca3d63..da5b1e859 100644..100755 --- a/view/tpl/cropbody.tpl +++ b/view/tpl/cropbody.tpl @@ -1,9 +1,9 @@ -<h1>$title</h1> +<h1>{{$title}}</h1> <p id="cropimage-desc"> -$desc +{{$desc}} </p> <div id="cropimage-wrapper"> -<img src="$image_url" id="croppa" class="imgCrop" alt="$title" /> +<img src="{{$image_url}}" id="croppa" class="imgCrop" alt="{{$title}}" /> </div> <div id="cropimage-preview-wrapper" > <div id="previewWrap" ></div> @@ -39,10 +39,10 @@ $desc </script> -<form action="profile_photo/$resource" id="crop-image-form" method="post" /> -<input type='hidden' name='form_security_token' value='$form_security_token'> +<form action="profile_photo/{{$resource}}" id="crop-image-form" method="post" /> +<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> -<input type='hidden' name='profile' value='$profile'> +<input type='hidden' name='profile' value='{{$profile}}'> <input type="hidden" name="cropfinal" value="1" /> <input type="hidden" name="xstart" id="x1" /> <input type="hidden" name="ystart" id="y1" /> @@ -52,7 +52,7 @@ $desc <input type="hidden" name="width" id="width" /> <div id="crop-image-submit-wrapper" > -<input type="submit" name="submit" value="$done" /> +<input type="submit" name="submit" value="{{$done}}" /> </div> </form> diff --git a/view/tpl/crophead.tpl b/view/tpl/crophead.tpl index 48f375426..48f375426 100644..100755 --- a/view/tpl/crophead.tpl +++ b/view/tpl/crophead.tpl diff --git a/view/tpl/delegate.tpl b/view/tpl/delegate.tpl index 9a7d2e18d..cbaa8da86 100644..100755 --- a/view/tpl/delegate.tpl +++ b/view/tpl/delegate.tpl @@ -1,57 +1,57 @@ -<h3>$header</h3> +<h3>{{$header}}</h3> -<div id="delegate-desc" class="delegate-desc">$desc</div> +<div id="delegate-desc" class="delegate-desc">{{$desc}}</div> -{{ if $managers }} -<h3>$head_managers</h3> +{{if $managers}} +<h3>{{$head_managers}}</h3> -{{ for $managers as $x }} +{{foreach $managers as $x}} <div class="contact-block-div"> <a class="contact-block-link" href="#" > -<img class="contact-block-img" src="$base/photo/thumb/$x.uid" title="$x.username ($x.nickname)" /> +<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" /> </a> </div> -{{ endfor }} +{{/foreach}} <div class="clear"></div> <hr /> -{{ endif }} +{{/if}} -<h3>$head_delegates</h3> +<h3>{{$head_delegates}}</h3> -{{ if $delegates }} -{{ for $delegates as $x }} +{{if $delegates}} +{{foreach $delegates as $x}} <div class="contact-block-div"> -<a class="contact-block-link" href="$base/delegate/remove/$x.uid" > -<img class="contact-block-img" src="$base/photo/thumb/$x.uid" title="$x.username ($x.nickname)" /> +<a class="contact-block-link" href="{{$base}}/delegate/remove/{{$x.uid}}" > +<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" /> </a> </div> -{{ endfor }} +{{/foreach}} <div class="clear"></div> -{{ else }} -$none -{{ endif }} +{{else}} +{{$none}} +{{/if}} <hr /> -<h3>$head_potentials</h3> -{{ if $potentials }} -{{ for $potentials as $x }} +<h3>{{$head_potentials}}</h3> +{{if $potentials}} +{{foreach $potentials as $x}} <div class="contact-block-div"> -<a class="contact-block-link" href="$base/delegate/add/$x.uid" > -<img class="contact-block-img" src="$base/photo/thumb/$x.uid" title="$x.username ($x.nickname)" /> +<a class="contact-block-link" href="{{$base}}/delegate/add/{{$x.uid}}" > +<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" /> </a> </div> -{{ endfor }} +{{/foreach}} <div class="clear"></div> -{{ else }} -$none -{{ endif }} +{{else}} +{{$none}} +{{/if}} <hr /> diff --git a/view/tpl/dfrn_req_confirm.tpl b/view/tpl/dfrn_req_confirm.tpl deleted file mode 100644 index 6c916323c..000000000 --- a/view/tpl/dfrn_req_confirm.tpl +++ /dev/null @@ -1,21 +0,0 @@ - -<p id="dfrn-request-homecoming" > -$welcome -<br /> -$please - -</p> -<form id="dfrn-request-homecoming-form" action="dfrn_request/$nickname" method="post"> -<input type="hidden" name="dfrn_url" value="$dfrn_url" /> -<input type="hidden" name="confirm_key" value="$confirm_key" /> -<input type="hidden" name="localconfirm" value="1" /> -$aes_allow - -<label id="dfrn-request-homecoming-hide-label" for="dfrn-request-homecoming-hide">$hidethem</label> -<input type="checkbox" name="hidden-contact" value="1" {{ if $hidechecked }}checked="checked" {{ endif }} /> - - -<div id="dfrn-request-homecoming-submit-wrapper" > -<input id="dfrn-request-homecoming-submit" type="submit" name="submit" value="$submit" /> -</div> -</form>
\ No newline at end of file diff --git a/view/tpl/dfrn_request.tpl b/view/tpl/dfrn_request.tpl deleted file mode 100644 index 4f8a87ea2..000000000 --- a/view/tpl/dfrn_request.tpl +++ /dev/null @@ -1,59 +0,0 @@ - -<h1>$header</h1> - -<p id="dfrn-request-intro"> -$page_desc<br /> -$invite_desc -</p> -<p> -$desc -</p> - -<form action="dfrn_request/$nickname" method="post" /> - -<div id="dfrn-request-url-wrapper" > - <label id="dfrn-url-label" for="dfrn-url" >$your_address</label> - <input type="text" name="dfrn_url" id="dfrn-url" size="32" value="$myaddr" /> - <div id="dfrn-request-url-end"></div> -</div> - -<p id="dfrn-request-options"> -$pls_answer -</p> - -<div id="dfrn-request-info-wrapper" > - - -<p id="doiknowyou"> -$does_know -</p> - - <div id="dfrn-request-know-yes-wrapper"> - <label id="dfrn-request-knowyou-yes-label" for="dfrn-request-knowyouyes">$yes</label> - <input type="radio" name="knowyou" id="knowyouyes" value="1" /> - - <div id="dfrn-request-knowyou-break" ></div> - </div> - <div id="dfrn-request-know-no-wrapper"> - <label id="dfrn-request-knowyou-no-label" for="dfrn-request-knowyouno">$no</label> - <input type="radio" name="knowyou" id="knowyouno" value="0" checked="checked" /> - - <div id="dfrn-request-knowyou-end"></div> - </div> - - -<p id="dfrn-request-message-desc"> -$add_note -</p> - <div id="dfrn-request-message-wrapper"> - <textarea name="dfrn-request-message" rows="4" cols="64" ></textarea> - </div> - - -</div> - - <div id="dfrn-request-submit-wrapper"> - <input type="submit" name="submit" id="dfrn-request-submit-button" value="$submit" /> - <input type="submit" name="cancel" id="dfrn-request-cancel-button" value="$cancel" /> - </div> -</form> diff --git a/view/tpl/diasp_dec_hdr.tpl b/view/tpl/diasp_dec_hdr.tpl deleted file mode 100644 index e87c61888..000000000 --- a/view/tpl/diasp_dec_hdr.tpl +++ /dev/null @@ -1,8 +0,0 @@ -<decrypted_hdeader> - <iv>$inner_iv</iv> - <aes_key>$inner_key</aes_key> - <author> - <name>$author_name</name> - <uri>$author_uri</uri> - </author> -</decrypted_header> diff --git a/view/tpl/directory_header.tpl b/view/tpl/directory_header.tpl index e1def851b..5d703e2dd 100644..100755 --- a/view/tpl/directory_header.tpl +++ b/view/tpl/directory_header.tpl @@ -1,14 +1,14 @@ -<h1>$dirlbl</h1> +<h1>{{$dirlbl}}</h1> -{{ if $search }} -<h4>$finddsc $safetxt</h4> -{{ endif }} +{{if $search}} +<h4>{{$finddsc}} {{$safetxt}}</h4> +{{/if}} -{{for $entries as $entry}} +{{foreach $entries as $entry}} -{{ inc direntry.tpl }}{{ endinc }} +{{include file="direntry.tpl"}} -{{ endfor }} +{{/foreach}} diff --git a/view/tpl/directory_item.tpl b/view/tpl/directory_item.tpl deleted file mode 100644 index d496cb2ad..000000000 --- a/view/tpl/directory_item.tpl +++ /dev/null @@ -1,11 +0,0 @@ - -<div class="directory-item lframe" id="directory-item-$id" > - <div class="contact-photo-wrapper" id="directory-photo-wrapper-$id" > - <div class="contact-photo" id="directory-photo-$id" > - <a href="$profile_link" class="directory-profile-link" id="directory-profile-link-$id" ><img class="directory-photo-img" src="$photo" alt="$alt_text" title="$alt_text" /></a> - </div> - </div> - - <div class="contact-name" id="directory-name-$id">$name</div> - <div class="contact-details">$details</div> -</div> diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl index e860da41c..c6c0ab028 100644..100755 --- a/view/tpl/direntry.tpl +++ b/view/tpl/direntry.tpl @@ -1,11 +1,13 @@ - -<div class="directory-item lframe" id="directory-item-$entry.id" > - <div class="contact-photo-wrapper" id="directory-photo-wrapper-$entry.id" > - <div class="contact-photo" id="directory-photo-$entry.id" > - <a href="$entry.profile_link" class="directory-profile-link" id="directory-profile-link-$entry.id" ><img class="directory-photo-img" src="$entry.photo" alt="$entry.alttext" title="$entry.alttext" /></a> +<div class="directory-item lframe" id="directory-item-{{$entry.id}}" > + <div class="contact-photo-wrapper" id="directory-photo-wrapper-{{$entry.id}}" > + <div class="contact-photo" id="directory-photo-{{$entry.id}}" > + <a href="{{$entry.profile_link}}" class="directory-profile-link" id="directory-profile-link-{{$entry.id}}" ><img class="directory-photo-img" src="{{$entry.photo}}" alt="{{$entry.alttext}}" title="{{$entry.alttext}}" /></a> </div> </div> - <div class="contact-name" id="directory-name-$entry.id">$entry.name</div> - <div class="contact-details">$entry.details</div> + <div class="contact-name" id="directory-name-{{$entry.id}}">{{$entry.name}}</div> + {{if $entry.connect}} + <div class="directory-connect"><a href="{{$entry.connect}}">{{$entry.conn_label}}</a></div> + {{/if}} + <div class="contact-details">{{$entry.details}}</div> </div> diff --git a/view/tpl/display-head.tpl b/view/tpl/display-head.tpl index 3d4e7e96a..3d4e7e96a 100644..100755 --- a/view/tpl/display-head.tpl +++ b/view/tpl/display-head.tpl diff --git a/view/tpl/edpage_head.tpl b/view/tpl/edpage_head.tpl new file mode 100755 index 000000000..890b746bf --- /dev/null +++ b/view/tpl/edpage_head.tpl @@ -0,0 +1 @@ +<h2>{{$title}}</h2> diff --git a/view/tpl/edpost_head.tpl b/view/tpl/edpost_head.tpl index b83e606a0..890b746bf 100644..100755 --- a/view/tpl/edpost_head.tpl +++ b/view/tpl/edpost_head.tpl @@ -1 +1 @@ -<h2>$title</h2> +<h2>{{$title}}</h2> diff --git a/view/tpl/email_notify_html.tpl b/view/tpl/email_notify_html.tpl index 3e1a814c5..85939ac22 100644..100755 --- a/view/tpl/email_notify_html.tpl +++ b/view/tpl/email_notify_html.tpl @@ -1,26 +1,26 @@ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN"> <html> <head> - <title>$banner</title> + <title>{{$banner}}</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:#ff0000; 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; float:left;" src='$siteurl/images/fred-32.png'><div style="padding:7px; margin-left: 5px; float:left; font-size:18px;letter-spacing:1px;">$product</div><div style="clear: both;"></div></td></tr> + <tr><td colspan="2" style="background:#ff0000; 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; float:left;" src='{{$siteurl}}/images/rhash-32.png'><div style="padding:7px; margin-left: 5px; float:left; font-size:18px;letter-spacing:1px;">{{$product}}</div><div style="clear: both;"></div></td></tr> - <tr><td style="padding-top:22px;" colspan="2">$preamble</td></tr> + <tr><td style="padding-top:22px;" colspan="2">{{$preamble}}</td></tr> - <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="$source_link"><img style="border:0px;width:48px;height:48px;" src="$source_photo"></a></td> - <td style="padding-top:22px;"><a href="$source_link">$source_name</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;" colspan="2">$hsitelink</td></tr> - <tr><td style="padding-bottom:11px;" colspan="2">$hitemlink</td></tr> - <tr><td></td><td>$thanks</td></tr> - <tr><td></td><td>$site_admin</td></tr> + <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$source_link}}"><img style="border:0px;width:48px;height:48px;" src="{{$source_photo}}"></a></td> + <td style="padding-top:22px;"><a href="{{$source_link}}">{{$source_name}}</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;" colspan="2">{{$hsitelink}}</td></tr> + <tr><td style="padding-bottom:11px;" colspan="2">{{$hitemlink}}</td></tr> + <tr><td></td><td>{{$thanks}}</td></tr> + <tr><td></td><td>{{$site_admin}}</td></tr> </tbody> </table> </body> diff --git a/view/tpl/email_notify_text.tpl b/view/tpl/email_notify_text.tpl index 018bb6078..bdab4c273 100644..100755 --- a/view/tpl/email_notify_text.tpl +++ b/view/tpl/email_notify_text.tpl @@ -1,13 +1,12 @@ - -$preamble +{{$preamble}} -$title +{{$title}} -$textversion +{{$textversion}} -$tsitelink -$titemlink +{{$tsitelink}} +{{$titemlink}} -$thanks -$site_admin +{{$thanks}} +{{$site_admin}} diff --git a/view/tpl/event.tpl b/view/tpl/event.tpl index 80c1dfc55..58a19eb76 100644..100755 --- a/view/tpl/event.tpl +++ b/view/tpl/event.tpl @@ -1,10 +1,10 @@ -{{ for $events as $event }} +{{foreach $events as $event}} <div class="event"> - {{ if $event.item.author-name }}<a href="$event.item.author-link" ><img src="$event.item.author-avatar" height="32" width="32" />$event.item.author-name</a>{{ endif }} - $event.html - {{ if $event.item.plink }}<a href="$event.plink.0" title="$event.plink.1" class="plink-event-link icon s22 remote-link"></a>{{ endif }} - {{ if $event.edit }}<a href="$event.edit.0" title="$event.edit.1" class="edit-event-link icon s22 pencil"></a>{{ endif }} + {{if $event.item.author.xchan_name}}<a href="{{$event.item.author.xchan_url}}" ><img src="{{$event.item.author.xchan_photo_s}}" height="32" width="32" />{{$event.item.author.xchan_name}}</a>{{/if}} + {{$event.html}} + {{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" class="plink-event-link icon s22 remote-link"></a>{{/if}} + {{if $event.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link icon s22 pencil"></a>{{/if}} </div> <div class="clear"></div> -{{ endfor }} +{{/foreach}} diff --git a/view/tpl/event_form.tpl b/view/tpl/event_form.tpl index 536c52b0f..f661eac87 100644..100755 --- a/view/tpl/event_form.tpl +++ b/view/tpl/event_form.tpl @@ -1,49 +1,49 @@ -<h3>$title</h3> +<h3>{{$title}}</h3> <p> -$desc +{{$desc}} </p> -<form action="$post" method="post" > +<form action="{{$post}}" method="post" > -<input type="hidden" name="event_id" value="$eid" /> -<input type="hidden" name="cid" value="$cid" /> -<input type="hidden" name="uri" value="$uri" /> +<input type="hidden" name="event_id" value="{{$eid}}" /> +<input type="hidden" name="cid" value="{{$cid}}" /> +<input type="hidden" name="mid" value="{{$mid}}" /> -<div id="event-start-text">$s_text</div> -$s_dsel $s_tsel +<div id="event-start-text">{{$s_text}}</div> +{{$s_dsel}} {{$s_tsel}} -<div id="event-finish-text">$f_text</div> -$f_dsel $f_tsel +<div id="event-finish-text">{{$f_text}}</div> +{{$f_dsel}} {{$f_tsel}} <div id="event-datetime-break"></div> -<input type="checkbox" name="nofinish" value="1" id="event-nofinish-checkbox" $n_checked /> <div id="event-nofinish-text">$n_text</div> +<input type="checkbox" name="nofinish" value="1" id="event-nofinish-checkbox" {{$n_checked}} /> <div id="event-nofinish-text">{{$n_text}}</div> <div id="event-nofinish-break"></div> -<input type="checkbox" name="adjust" value="1" id="event-adjust-checkbox" $a_checked /> <div id="event-adjust-text">$a_text</div> +<input type="checkbox" name="adjust" value="1" id="event-adjust-checkbox" {{$a_checked}} /> <div id="event-adjust-text">{{$a_text}}</div> <div id="event-adjust-break"></div> -<div id="event-summary-text">$t_text</div> -<input type="text" id="event-summary" name="summary" value="$t_orig" /> +<div id="event-summary-text">{{$t_text}}</div> +<input type="text" id="event-summary" name="summary" value="{{$t_orig}}" /> -<div id="event-desc-text">$d_text</div> -<textarea id="event-desc-textarea" name="desc">$d_orig</textarea> +<div id="event-desc-text">{{$d_text}}</div> +<textarea id="event-desc-textarea" name="desc">{{$d_orig}}</textarea> -<div id="event-location-text">$l_text</div> -<textarea id="event-location-textarea" name="location">$l_orig</textarea> +<div id="event-location-text">{{$l_text}}</div> +<textarea id="event-location-textarea" name="location">{{$l_orig}}</textarea> -<input type="checkbox" name="share" value="1" id="event-share-checkbox" $sh_checked /> <div id="event-share-text">$sh_text</div> +<input type="checkbox" name="share" value="1" id="event-share-checkbox" {{$sh_checked}} /> <div id="event-share-text">{{$sh_text}}</div> <div id="event-share-break"></div> -$acl +{{$acl}} <div class="clear"></div> -<input id="event-submit" type="submit" name="submit" value="$submit" /> +<input id="event-submit" type="submit" name="submit" value="{{$submit}}" /> </form> diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl index 471748b97..b55025f65 100644..100755 --- a/view/tpl/event_head.tpl +++ b/view/tpl/event_head.tpl @@ -1,11 +1,11 @@ -<link rel='stylesheet' type='text/css' href='$baseurl/library/fullcalendar/fullcalendar.css' /> +<link rel='stylesheet' type='text/css' href='{{$baseurl}}/library/fullcalendar/fullcalendar.css' /> <script language="javascript" type="text/javascript" - src="$baseurl/library/fullcalendar/fullcalendar.min.js"></script> + src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script> <script> function showEvent(eventid) { $.get( - '$baseurl/events/?id='+eventid, + '{{$baseurl}}/events/?id='+eventid, function(data){ $.fancybox(data); } @@ -14,7 +14,7 @@ $(document).ready(function() { $('#events-calendar').fullCalendar({ - events: '$baseurl/events/json/', + events: '{{$baseurl}}/events/json/', header: { left: 'prev,next today', center: 'title', @@ -27,21 +27,21 @@ eventRender: function(event, element, view) { //console.log(view.name); - if (event.item['author-name']==null) return; + if (event.item['author']['xchan_name']==null) return; switch(view.name){ case "month": element.find(".fc-event-title").html( "<img src='{0}' style='height:10px;width:10px'>{1} : {2}".format( - event.item['author-avatar'], - event.item['author-name'], + event.item['author']['xchan_photo_s'], + event.item['author']['xchan_name'], event.title )); break; case "agendaWeek": element.find(".fc-event-title").html( "<img src='{0}' style='height:12px; width:12px'>{1}<p>{2}</p><p>{3}</p>".format( - event.item['author-avatar'], - event.item['author-name'], + event.item['author']['xchan_photo_s'], + event.item['author']['xchan_name'], event.item.desc, event.item.location )); @@ -49,8 +49,8 @@ case "agendaDay": element.find(".fc-event-title").html( "<img src='{0}' style='height:24px;width:24px'>{1}<p>{2}</p><p>{3}</p>".format( - event.item['author-avatar'], - event.item['author-name'], + event.item['author']['xchan_photo_s'], + event.item['author']['xchan_name'], event.item.desc, event.item.location )); @@ -75,7 +75,7 @@ <script language="javascript" type="text/javascript" - src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> + src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> <script language="javascript" type="text/javascript"> @@ -97,7 +97,7 @@ force_p_newlines : false, force_br_newlines : true, forced_root_block : '', - content_css: "$baseurl/view/custom_tinymce.css", + content_css: "{{$baseurl}}/view/custom_tinymce.css", theme_advanced_path : false, setup : function(ed) { ed.onInit.add(function(ed) { diff --git a/view/tpl/events-js.tpl b/view/tpl/events-js.tpl index b0e182c56..c87d20529 100644..100755 --- a/view/tpl/events-js.tpl +++ b/view/tpl/events-js.tpl @@ -1,6 +1,6 @@ -$tabs -<h2>$title</h2> +{{$tabs}} +<h2>{{$title}}</h2> -<div id="new-event-link"><a href="$new_event.0" >$new_event.1</a></div> +<div id="new-event-link"><a href="{{$new_event.0}}" >{{$new_event.1}}</a></div> <div id="events-calendar"></div> diff --git a/view/tpl/events.tpl b/view/tpl/events.tpl deleted file mode 100644 index e0d830691..000000000 --- a/view/tpl/events.tpl +++ /dev/null @@ -1,24 +0,0 @@ -$tabs -<h2>$title</h2> - -<div id="new-event-link"><a href="$new_event.0" >$new_event.1</a></div> - -<div id="event-calendar-wrapper"> - <a href="$previus.0" class="prevcal $previus.2"><div id="event-calendar-prev" class="icon s22 prev" title="$previus.1"></div></a> - $calendar - <a href="$next.0" class="nextcal $next.2"><div id="event-calendar-prev" class="icon s22 next" title="$next.1"></div></a> -</div> -<div class="event-calendar-end"></div> - - -{{ for $events as $event }} - <div class="event"> - {{ if $event.is_first }}<hr /><a name="link-$event.j" ><div class="event-list-date">$event.d</div></a>{{ endif }} - {{ if $event.item.author-name }}<a href="$event.item.author-link" ><img src="$event.item.author-avatar" height="32" width="32" />$event.item.author-name</a>{{ endif }} - $event.html - {{ if $event.item.plink }}<a href="$event.plink.0" title="$event.plink.1" class="plink-event-link icon s22 remote-link"></a>{{ endif }} - {{ if $event.edit }}<a href="$event.edit.0" title="$event.edit.1" class="edit-event-link icon s22 pencil"></a>{{ endif }} - </div> - <div class="clear"></div> - -{{ endfor }} diff --git a/view/tpl/events_reminder.tpl b/view/tpl/events_reminder.tpl index f641a5faf..fd6a1a5c7 100644..100755 --- a/view/tpl/events_reminder.tpl +++ b/view/tpl/events_reminder.tpl @@ -1,10 +1,10 @@ -{{ if $count }} -<div id="event-notice" class="birthday-notice fakelink $classtoday" onclick="openClose('event-wrapper');">$event_reminders ($count)</div> -<div id="event-wrapper" style="display: none;" ><div id="event-title">$event_title</div> +{{if $count}} +<div id="event-notice" class="birthday-notice fakelink {{$classtoday}}" onclick="openClose('event-wrapper');">{{$event_reminders}} ({{$count}})</div> +<div id="event-wrapper" style="display: none;" ><div id="event-title">{{$event_title}}</div> <div id="event-title-end"></div> -{{ for $events as $event }} -<div class="event-list" id="event-$event.id"></a> <a href="events/$event.link">$event.title</a> $event.date </div> -{{ endfor }} +{{foreach $events as $event}} +<div class="event-list" id="event-{{$event.id}}"></a> <a href="events/{{$event.link}}">{{$event.title}}</a> {{$event.date}} </div> +{{/foreach}} </div> -{{ endif }} +{{/if}} diff --git a/view/tpl/failed_updates.tpl b/view/tpl/failed_updates.tpl index c6e4cb08e..68c0bcdf2 100644..100755 --- a/view/tpl/failed_updates.tpl +++ b/view/tpl/failed_updates.tpl @@ -1,17 +1,17 @@ -<h2>$banner</h2> +<h2>{{$banner}}</h2> -<div id="failed_updates_desc">$desc</div> +<div id="failed_updates_desc">{{$desc}}</div> -{{ if $failed }} -{{ for $failed as $f }} +{{if $failed}} +{{foreach $failed as $f}} -<h4>$f</h4> +<h4>{{$f}}</h4> <ul> -<li><a href="$base/admin/dbsync/mark/$f">$mark</a></li> -<li><a href="$base/admin/dbsync/$f">$apply</a></li> +<li><a href="{{$base}}/admin/dbsync/mark/{{$f}}">{{$mark}}</a></li> +<li><a href="{{$base}}/admin/dbsync/{{$f}}">{{$apply}}</a></li> </ul> <hr /> -{{ endfor }} -{{ endif }} +{{/foreach}} +{{/if}} diff --git a/view/tpl/fake_feed.tpl b/view/tpl/fake_feed.tpl deleted file mode 100644 index c37071cf4..000000000 --- a/view/tpl/fake_feed.tpl +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="utf-8" ?> -<feed xmlns="http://www.w3.org/2005/Atom" > - - <id>fake feed</id> - <title>fake title</title> - - <updated>1970-01-01T00:00:00Z</updated> - - <author> - <name>Fake Name</name> - <uri>http://example.com</uri> - </author> - diff --git a/view/tpl/field.tpl b/view/tpl/field.tpl index 35f5afd39..942cfcef5 100644..100755 --- a/view/tpl/field.tpl +++ b/view/tpl/field.tpl @@ -1,4 +1,3 @@ - - {{ if $field.0==select }} - {{ inc field_select.tpl }}{{ endinc }} - {{ endif }} + {{if $field.0==select}} + {{include file="field_select.tpl"}} + {{/if}} diff --git a/view/tpl/field_acheckbox.tpl b/view/tpl/field_acheckbox.tpl index 06bed38e7..cb63f7ca2 100644..100755 --- a/view/tpl/field_acheckbox.tpl +++ b/view/tpl/field_acheckbox.tpl @@ -1,7 +1,6 @@ - <div class='field acheckbox'> - <label for='id_$field.0'>$field.1</label> - <input type="checkbox" class="abook-edit-them" name='$field.0' id='them_id_$field.0' value="1" disabled="disabled" {{ if $field.2 }}checked="checked"{{ endif }} /> - <input type="checkbox" class="abook-edit-me" name='$field.0' id='me_id_$field.0' value="$field.4" {{ if $field.3 }}checked="checked"{{ endif }} {{ if $field.5 }} disabled="disabled" {{ endif }}/> - <span class='field_abook_help'>$field.6</span> + <label for='id_{{$field.0}}'>{{$field.1}}</label> + <input type="checkbox" class="abook-edit-them" name='them_{{$field.0}}' id='them_id_{{$field.0}}' value="1" disabled="disabled" {{if $field.2}}checked="checked"{{/if}} /> + <input type="checkbox" class="abook-edit-me" name='{{$field.0}}' id='me_id_{{$field.0}}' value="{{$field.4}}" {{if $field.3}}checked="checked"{{/if}} {{if $field.5}} disabled="disabled" {{/if}}/> + <span class='field_abook_help'>{{$field.6}}</span> </div> diff --git a/view/tpl/field_checkbox.tpl b/view/tpl/field_checkbox.tpl index afab29243..51d56f69c 100644..100755 --- a/view/tpl/field_checkbox.tpl +++ b/view/tpl/field_checkbox.tpl @@ -1,6 +1,5 @@ - <div class='field checkbox'> - <label for='id_$field.0'>$field.1</label> - <input type="checkbox" name='$field.0' id='id_$field.0' value="1" {{ if $field.2 }}checked="checked"{{ endif }}> - <span class='field_help'>$field.3</span> + <label for='id_{{$field.0}}'>{{$field.1}}</label> + <input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="1" {{if $field.2}}checked="checked"{{/if}}> + <span class='field_help'>{{$field.3}}</span> </div> diff --git a/view/tpl/field_combobox.tpl b/view/tpl/field_combobox.tpl index a4dc8e571..c4356e1cd 100644..100755 --- a/view/tpl/field_combobox.tpl +++ b/view/tpl/field_combobox.tpl @@ -1,18 +1,17 @@ - <div class='field combobox'> - <label for='id_$field.0' id='id_$field.0_label'>$field.1</label> - {# html5 don't work on Chrome, Safari and IE9 - <input id="id_$field.0" type="text" list="data_$field.0" > - <datalist id="data_$field.0" > - {{ for $field.4 as $opt=>$val }}<option value="$val">{{ endfor }} - </datalist> #} + <label for='id_{{$field.0}}' id='id_{{$field.0}}_label'>{{$field.1}}</label> + {{* html5 don't work on Chrome, Safari and IE9 + <input id="id_{{$field.0}}" type="text" list="data_{{$field.0}}" > + <datalist id="data_{{$field.0}}" > + {{foreach $field.4 as $opt=>$val}}<option value="{{$val}}">{{/foreach}} + </datalist> *}} - <input id="id_$field.0" type="text" value="$field.2"> - <select id="select_$field.0" onChange="$('#id_$field.0').val($(this).val())"> - <option value="">$field.5</option> - {{ for $field.4 as $opt=>$val }}<option value="$val">$val</option>{{ endfor }} + <input id="id_{{$field.0}}" type="text" value="{{$field.2}}"> + <select id="select_{{$field.0}}" onChange="$('#id_{{$field.0}}').val($(this).val())"> + <option value="">{{$field.5}}</option> + {{foreach $field.4 as $opt=>$val}}<option value="{{$val}}">{{$val}}</option>{{/foreach}} </select> - <span class='field_help'>$field.3</span> + <span class='field_help'>{{$field.3}}</span> </div> diff --git a/view/tpl/field_custom.tpl b/view/tpl/field_custom.tpl index be15d3f60..a6b49f6da 100644..100755 --- a/view/tpl/field_custom.tpl +++ b/view/tpl/field_custom.tpl @@ -1,6 +1,5 @@ - <div class='field custom'> - <label for='$field.0'>$field.1</label> - $field.2 - <span class='field_help'>$field.3</span> + <label for='{{$field.0}}'>{{$field.1}}</label> + {{$field.2}} + <span class='field_help'>{{$field.3}}</span> </div> diff --git a/view/tpl/field_input.tpl b/view/tpl/field_input.tpl index 09417deca..2cb3cb91e 100644..100755 --- a/view/tpl/field_input.tpl +++ b/view/tpl/field_input.tpl @@ -1,7 +1,6 @@ - <div class='field input'> - <label for='id_$field.0' id='label_$field.0'>$field.1</label> - <input name='$field.0' id='id_$field.0' value="$field.2"> - <span id='help_$field.0' class='field_help'>$field.3</span> - <div id='end_$field.0' class='field_end'></div> + <label for='id_{{$field.0}}' id='label_{{$field.0}}'>{{$field.1}}</label> + <input name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}"> + <span id='help_{{$field.0}}' class='field_help'>{{$field.3}}</span> + <div id='end_{{$field.0}}' class='field_end'></div> </div> diff --git a/view/tpl/field_intcheckbox.tpl b/view/tpl/field_intcheckbox.tpl index 47a513a55..d9a8d7289 100644..100755 --- a/view/tpl/field_intcheckbox.tpl +++ b/view/tpl/field_intcheckbox.tpl @@ -1,6 +1,5 @@ - <div class='field checkbox'> - <label for='id_$field.0'>$field.1</label> - <input type="checkbox" name='$field.0' id='id_$field.0' value="$field.3" {{ if $field.2 }}checked="true"{{ endif }}> - <span class='field_help'>$field.4</span> + <label for='id_{{$field.0}}'>{{$field.1}}</label> + <input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.3}}" {{if $field.2}}checked="true"{{/if}}> + <span class='field_help'>{{$field.4}}</span> </div> diff --git a/view/tpl/field_openid.tpl b/view/tpl/field_openid.tpl deleted file mode 100644 index acd93ff62..000000000 --- a/view/tpl/field_openid.tpl +++ /dev/null @@ -1,6 +0,0 @@ - - <div class='field input openid'> - <label for='id_$field.0'>$field.1</label> - <input name='$field.0' id='id_$field.0' value="$field.2"> - <span class='field_help'>$field.3</span> - </div> diff --git a/view/tpl/field_password.tpl b/view/tpl/field_password.tpl index e604b7f5d..23058f8a6 100644..100755 --- a/view/tpl/field_password.tpl +++ b/view/tpl/field_password.tpl @@ -1,6 +1,5 @@ - <div class='field password'> - <label for='id_$field.0'>$field.1</label> - <input type='password' name='$field.0' id='id_$field.0' value="$field.2"> - <span class='field_help'>$field.3</span> + <label for='id_{{$field.0}}'>{{$field.1}}</label> + <input type='password' name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}"> + <span class='field_help'>{{$field.3}}</span> </div> diff --git a/view/tpl/field_radio.tpl b/view/tpl/field_radio.tpl index a915e8eb3..147b6b834 100644..100755 --- a/view/tpl/field_radio.tpl +++ b/view/tpl/field_radio.tpl @@ -1,6 +1,5 @@ - <div class='field radio'> - <label for='id_$field.0_$field.2'>$field.1</label> - <input type="radio" name='$field.0' id='id_$field.0_$field.2' value="$field.2" {{ if $field.4 }}checked="true"{{ endif }}> - <span class='field_help'>$field.3</span> + <label for='id_{{$field.0}}_{{$field.2}}'>{{$field.1}}</label> + <input type="radio" name='{{$field.0}}' id='id_{{$field.0}}_{{$field.2}}' value="{{$field.2}}" {{if $field.4}}checked="true"{{/if}}> + <span class='field_help'>{{$field.3}}</span> </div> diff --git a/view/tpl/field_richtext.tpl b/view/tpl/field_richtext.tpl index c124ee000..c8639cf10 100644..100755 --- a/view/tpl/field_richtext.tpl +++ b/view/tpl/field_richtext.tpl @@ -1,6 +1,5 @@ - <div class='field richtext'> - <label for='id_$field.0'>$field.1</label> - <textarea name='$field.0' id='id_$field.0' class="fieldRichtext">$field.2</textarea> - <span class='field_help'>$field.3</span> + <label for='id_{{$field.0}}'>{{$field.1}}</label> + <textarea name='{{$field.0}}' id='id_{{$field.0}}' class="fieldRichtext">{{$field.2}}</textarea> + <span class='field_help'>{{$field.3}}</span> </div> diff --git a/view/tpl/field_select.tpl b/view/tpl/field_select.tpl index d79eb48e0..9aca26e7b 100644..100755 --- a/view/tpl/field_select.tpl +++ b/view/tpl/field_select.tpl @@ -1,8 +1,7 @@ - <div class='field select'> - <label for='id_$field.0'>$field.1</label> - <select name='$field.0' id='id_$field.0'> - {{ for $field.4 as $opt=>$val }}<option value="$opt" {{ if $opt==$field.2 }}selected="selected"{{ endif }}>$val</option>{{ endfor }} + <label for='id_{{$field.0}}'>{{$field.1}}</label> + <select name='{{$field.0}}' id='id_{{$field.0}}'> + {{foreach $field.4 as $opt=>$val}}<option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}} </select> - <span class='field_help'>$field.3</span> + <span class='field_help'>{{$field.3}}</span> </div> diff --git a/view/tpl/field_select_raw.tpl b/view/tpl/field_select_raw.tpl index 765b285d9..861be3201 100644..100755 --- a/view/tpl/field_select_raw.tpl +++ b/view/tpl/field_select_raw.tpl @@ -1,8 +1,7 @@ - <div class='field select'> - <label for='id_$field.0'>$field.1</label> - <select name='$field.0' id='id_$field.0'> - $field.4 + <label for='id_{{$field.0}}'>{{$field.1}}</label> + <select name='{{$field.0}}' id='id_{{$field.0}}'> + {{$field.4}} </select> - <span class='field_help'>$field.3</span> + <span class='field_help'>{{$field.3}}</span> </div> diff --git a/view/tpl/field_textarea.tpl b/view/tpl/field_textarea.tpl index 2425cdd3b..98be8f138 100644..100755 --- a/view/tpl/field_textarea.tpl +++ b/view/tpl/field_textarea.tpl @@ -1,6 +1,5 @@ - <div class='field textarea'> - <label for='id_$field.0'>$field.1</label> - <textarea name='$field.0' id='id_$field.0'>$field.2</textarea> - <span class='field_help'>$field.3</span> + <label for='id_{{$field.0}}'>{{$field.1}}</label> + <textarea name='{{$field.0}}' id='id_{{$field.0}}'>{{$field.2}}</textarea> + <span class='field_help'>{{$field.3}}</span> </div> diff --git a/view/tpl/field_themeselect.tpl b/view/tpl/field_themeselect.tpl index 1b3ede36c..c02eee328 100644..100755 --- a/view/tpl/field_themeselect.tpl +++ b/view/tpl/field_themeselect.tpl @@ -1,9 +1,9 @@ - <script>$(function(){ previewTheme($("#id_$field.0")[0]); });</script> + <script>$(function(){ previewTheme($("#id_{{$field.0}}")[0]); });</script> <div class='field select'> - <label for='id_$field.0'>$field.1</label> - <select name='$field.0' id='id_$field.0' {{ if $field.5=='preview' }}onchange="previewTheme(this);"{{ endif }} > - {{ for $field.4 as $opt=>$val }}<option value="$opt" {{ if $opt==$field.2 }}selected="selected"{{ endif }}>$val</option>{{ endfor }} + <label for='id_{{$field.0}}'>{{$field.1}}</label> + <select name='{{$field.0}}' id='id_{{$field.0}}' {{if $field.5=='preview'}}onchange="previewTheme(this);"{{/if}} > + {{foreach $field.4 as $opt=>$val}}<option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}} </select> - <span class='field_help'>$field.3</span> + <span class='field_help'>{{$field.3}}</span> <div id="theme-preview"></div> </div> diff --git a/view/tpl/field_yesno.tpl b/view/tpl/field_yesno.tpl index 5d4a775c2..e36e775c7 100644..100755 --- a/view/tpl/field_yesno.tpl +++ b/view/tpl/field_yesno.tpl @@ -1,13 +1,13 @@ <div class='field yesno'> - <label for='id_$field.0'>$field.1</label> - <div class='onoff' id="id_$field.0_onoff"> - <input type="hidden" name='$field.0' id='id_$field.0' value="$field.2"> + <label for='id_{{$field.0}}'>{{$field.1}}</label> + <div class='onoff' id="id_{{$field.0}}_onoff"> + <input type="hidden" name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}"> <a href="#" class='off'> - {{ if $field.4 }}$field.4.0{{ else }}OFF{{ endif }} + {{if $field.4}}{{$field.4.0}}{{else}}OFF{{/if}} </a> <a href="#" class='on'> - {{ if $field.4 }}$field.4.1{{ else }}ON{{ endif }} + {{if $field.4}}{{$field.4.1}}{{else}}ON{{/if}} </a> </div> - <span class='field_help'>$field.3</span> + <span class='field_help'>{{$field.3}}</span> </div> diff --git a/view/tpl/fileas_widget.tpl b/view/tpl/fileas_widget.tpl index 54fba7435..70d68c56e 100644..100755 --- a/view/tpl/fileas_widget.tpl +++ b/view/tpl/fileas_widget.tpl @@ -1,12 +1,12 @@ <div id="fileas-sidebar" class="widget"> - <h3>$title</h3> - <div id="nets-desc">$desc</div> + <h3>{{$title}}</h3> + <div id="nets-desc">{{$desc}}</div> <ul class="fileas-ul"> - <li class="tool"><a href="$base" class="fileas-link fileas-all{{ if $sel_all }} fileas-selected{{ endif }}">$all</a></li> - {{ for $terms as $term }} - <li class="tool"><a href="$base?f=&file=$term.name" class="fileas-link{{ if $term.selected }} fileas-selected{{ endif }}">$term.name</a></li> - {{ endfor }} + <li class="tool"><a href="{{$base}}" class="fileas-link fileas-all{{if $sel_all}} fileas-selected{{/if}}">{{$all}}</a></li> + {{foreach $terms as $term}} + <li class="tool"><a href="{{$base}}?f=&file={{$term.name}}" class="fileas-link{{if $term.selected}} fileas-selected{{/if}}">{{$term.name}}</a></li> + {{/foreach}} </ul> </div> diff --git a/view/tpl/filebrowser.tpl b/view/tpl/filebrowser.tpl index 7db31d716..787f7c0cd 100644..100755 --- a/view/tpl/filebrowser.tpl +++ b/view/tpl/filebrowser.tpl @@ -1,7 +1,7 @@ <!DOCTYPE html> <html> <head> - <script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_popup.js"></script> + <script type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_popup.js"></script> <style> .panel_wrapper div.current{.overflow: auto; height: auto!important; } .filebrowser.path { font-family: fixed; font-size: 10px; background-color: #f0f0ee; height:auto; overflow:auto;} @@ -60,24 +60,24 @@ <div id="general_panel" class="panel current"> <div class="filebrowser path"> - {{ for $path as $p }}<a href="$p.0">$p.1</a>{{ endfor }} + {{foreach $path as $p}}<a href="{{$p.0}}">{{$p.1}}</a>{{/foreach}} </div> <div class="filebrowser folders"> <ul> - {{ for $folders as $f }}<li><a href="$f.0/">$f.1</a></li>{{ endfor }} + {{foreach $folders as $f}}<li><a href="{{$f.0}}/">{{$f.1}}</a></li>{{/foreach}} </ul> </div> - <div class="filebrowser files $type"> + <div class="filebrowser files {{$type}}"> <ul> - {{ for $files as $f }} - <li><a href="#" onclick="FileBrowserDialogue.mySubmit('$f.0'); return false;"><img src="$f.2"><span>$f.1</span></a></li> - {{ endfor }} + {{foreach $files as $f}} + <li><a href="#" onclick="FileBrowserDialogue.mySubmit('{{$f.0}}'); return false;"><img src="{{$f.2}}"><span>{{$f.1}}</span></a></li> + {{/foreach}} </ul> </div> </div> </div> <div class="mceActionPanel"> - <input type="button" id="cancel" name="cancel" value="$cancel" onclick="tinyMCEPopup.close();" /> + <input type="button" id="cancel" name="cancel" value="{{$cancel}}" onclick="tinyMCEPopup.close();" /> </div> </body> diff --git a/view/tpl/filer_dialog.tpl b/view/tpl/filer_dialog.tpl index ae837d6b7..ae59ab713 100644..100755 --- a/view/tpl/filer_dialog.tpl +++ b/view/tpl/filer_dialog.tpl @@ -1,4 +1,4 @@ -{{ inc field_combobox.tpl }}{{ endinc }} +{{include file="field_combobox.tpl"}} <div class="settings-submit-wrapper" > - <input id="filer_save" type="button" class="settings-submit" value="$submit" /> + <input id="filer_save" type="button" class="settings-submit" value="{{$submit}}" /> </div> diff --git a/view/tpl/follow.tpl b/view/tpl/follow.tpl index 259e74a93..350f8d910 100644..100755 --- a/view/tpl/follow.tpl +++ b/view/tpl/follow.tpl @@ -1,8 +1,8 @@ <div id="follow-sidebar" class="widget"> - <h3>$connect</h3> - <div id="connect-desc">$desc</div> + <h3>{{$connect}}</h3> + <div id="connect-desc">{{$desc}}</div> <form action="follow" method="post" /> - <input id="side-follow-url" type="text" name="url" size="24" title="$hint" /><input id="side-follow-submit" type="submit" name="submit" value="$follow" /> + <input id="side-follow-url" type="text" name="url" size="24" title="{{$hint}}" /><input id="side-follow-submit" type="submit" name="submit" value="{{$follow}}" /> </form> </div> diff --git a/view/tpl/follow_slap.tpl b/view/tpl/follow_slap.tpl deleted file mode 100644 index 1b1443bee..000000000 --- a/view/tpl/follow_slap.tpl +++ /dev/null @@ -1,25 +0,0 @@ - <entry> - <author> - <name>$name</name> - <uri>$profile_page</uri> - <link rel="photo" type="image/jpeg" media:width="80" media:height="80" href="$thumb" /> - <link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="$thumb" /> - </author> - - <id>$item_id</id> - <title>$title</title> - <published>$published</published> - <content type="$type" >$content</content> - - <as:actor> - <as:obj_type>http://activitystrea.ms/schema/1.0/person</as:obj_type> - <id>$profile_page</id> - <title></title> - <link rel="avatar" type="image/jpeg" media:width="175" media:height="175" href="$photo"/> - <link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="$thumb"/> - <poco:preferredUsername>$nick</poco:preferredUsername> - <poco:displayName>$name</poco:displayName> - </as:actor> - <as:verb>$verb</as:verb> - $ostat_follow - </entry> diff --git a/view/tpl/generic_links_widget.tpl b/view/tpl/generic_links_widget.tpl index f3404f783..8b4c67b6f 100644..100755 --- a/view/tpl/generic_links_widget.tpl +++ b/view/tpl/generic_links_widget.tpl @@ -1,11 +1,11 @@ -<div class="widget{{ if $class }} $class{{ endif }}"> - {{if $title}}<h3>$title</h3>{{endif}} - {{if $desc}}<div class="desc">$desc</div>{{endif}} +<div class="widget{{if $class}} {{$class}}{{/if}}"> + {{if $title}}<h3>{{$title}}</h3>{{/if}} + {{if $desc}}<div class="desc">{{$desc}}</div>{{/if}} <ul> - {{ for $items as $item }} - <li class="tool"><a href="$item.url" class="{{ if $item.selected }}selected{{ endif }}">$item.label</a></li> - {{ endfor }} + {{foreach $items as $item}} + <li class="tool"><a href="{{$item.url}}" class="{{if $item.selected}}selected{{/if}}">{{$item.label}}</a></li> + {{/foreach}} </ul> </div> diff --git a/view/tpl/group_drop.tpl b/view/tpl/group_drop.tpl index 2cbebbb8e..670136db7 100644..100755 --- a/view/tpl/group_drop.tpl +++ b/view/tpl/group_drop.tpl @@ -1,7 +1,7 @@ -<div class="group-delete-wrapper button" id="group-delete-wrapper-$id" > - <a href="group/drop/$id?t=$form_security_token" +<div class="group-delete-wrapper button" id="group-delete-wrapper-{{$id}}" > + <a href="group/drop/{{$id}}?t={{$form_security_token}}" onclick="return confirmDelete();" - id="group-delete-icon-$id" + id="group-delete-icon-{{$id}}" class="icon drophide group-delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a> diff --git a/view/tpl/group_edit.tpl b/view/tpl/group_edit.tpl index 2fa2b1a55..eb658624c 100644..100755 --- a/view/tpl/group_edit.tpl +++ b/view/tpl/group_edit.tpl @@ -1,23 +1,24 @@ -<h2>$title</h2> +<h2>{{$title}}</h2> <div id="group-edit-wrapper" > - <form action="group/$gid" id="group-edit-form" method="post" > - <input type='hidden' name='form_security_token' value='$form_security_token'> + <form action="group/{{$gid}}" id="group-edit-form" method="post" > + <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - {{ inc field_input.tpl with $field=$gname }}{{ endinc }} - {{ if $drop }}$drop{{ endif }} + {{include file="field_input.tpl" field=$gname}} + {{include file="field_checkbox.tpl" field=$public}} + {{if $drop}}{{$drop}}{{/if}} <div id="group-edit-submit-wrapper" > - <input type="submit" name="submit" value="$submit" > + <input type="submit" name="submit" value="{{$submit}}" > </div> <div id="group-edit-select-end" ></div> </form> </div> -{{ if $groupeditor }} +{{if $groupeditor}} <div id="group-update-wrapper"> - {{ inc groupeditor.tpl }}{{ endinc }} + {{include file="groupeditor.tpl"}} </div> -{{ endif }} -{{ if $desc }}<div id="group-edit-desc">$desc</div>{{ endif }} +{{/if}} +{{if $desc}}<div id="group-edit-desc">{{$desc}}</div>{{/if}} diff --git a/view/tpl/group_selection.tpl b/view/tpl/group_selection.tpl index 3809cb994..2223125ea 100644..100755 --- a/view/tpl/group_selection.tpl +++ b/view/tpl/group_selection.tpl @@ -1,8 +1,8 @@ <div class="field custom"> -<label for="group-selection" id="group-selection-lbl">$label</label> +<label for="group-selection" id="group-selection-lbl">{{$label}}</label> <select name="group-selection" id="group-selection" > -{{ for $groups as $group }} -<option value="$group.id" {{ if $group.selected }}selected="selected"{{ endif }} >$group.name</option> -{{ endfor }} +{{foreach $groups as $group}} +<option value="{{$group.id}}" {{if $group.selected}}selected="selected"{{/if}} >{{$group.name}}</option> +{{/foreach}} </select> </div> diff --git a/view/tpl/group_side.tpl b/view/tpl/group_side.tpl index ebb194d9c..ebc820530 100644..100755 --- a/view/tpl/group_side.tpl +++ b/view/tpl/group_side.tpl @@ -1,33 +1,33 @@ <div class="widget" id="group-sidebar"> -<h3>$title</h3> +<h3>{{$title}}</h3> <div id="sidebar-group-list"> <ul id="sidebar-group-ul"> - {{ for $groups as $group }} + {{foreach $groups as $group}} <li class="sidebar-group-li"> - {{ if $group.cid }} + {{if $group.cid}} <input type="checkbox" - class="{{ if $group.selected }}ticked{{ else }}unticked {{ endif }} action" - onclick="contactgroupChangeMember('$group.id','$group.cid');return true;" - {{ if $group.ismember }}checked="checked"{{ endif }} + class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action" + onclick="contactgroupChangeMember('{{$group.id}}','{{$group.cid}}');return true;" + {{if $group.ismember}}checked="checked"{{/if}} /> - {{ endif }} - {{ if $group.edit }} - <a class="groupsideedit" href="$group.edit.href" title="$edittext"><span id="edit-sidebar-group-element-$group.id" class="group-edit-icon iconspacer small-pencil"></span></a> - {{ endif }} - <a id="sidebar-group-element-$group.id" class="sidebar-group-element {{ if $group.selected }}group-selected{{ endif }}" href="$group.href">$group.text</a> + {{/if}} + {{if $group.edit}} + <a class="groupsideedit" href="{{$group.edit.href}}" title="{{$edittext}}"><span id="edit-sidebar-group-element-{{$group.id}}" class="group-edit-icon iconspacer small-pencil"></span></a> + {{/if}} + <a id="sidebar-group-element-{{$group.id}}" class="sidebar-group-element {{if $group.selected}}group-selected{{/if}}" href="{{$group.href}}">{{$group.text}}</a> </li> - {{ endfor }} + {{/foreach}} </ul> </div> <div id="sidebar-new-group"> - <a href="group/new">$createtext</a> + <a href="group/new">{{$createtext}}</a> </div> - {{ if $ungrouped }} + {{if $ungrouped}} <div id="sidebar-ungrouped"> - <a href="nogroup">$ungrouped</a> + <a href="nogroup">{{$ungrouped}}</a> </div> - {{ endif }} + {{/if}} </div> diff --git a/view/tpl/groupeditor.tpl b/view/tpl/groupeditor.tpl index 755985eb3..c79bb0a2a 100644..100755 --- a/view/tpl/groupeditor.tpl +++ b/view/tpl/groupeditor.tpl @@ -1,16 +1,16 @@ <div id="group"> -<h3>$groupeditor.label_members</h3> +<h3>{{$groupeditor.label_members}}</h3> <div id="group-members" class="contact_list"> -{{ for $groupeditor.members as $c}} $c {{ endfor }} +{{foreach $groupeditor.members as $c}} {{$c}} {{/foreach}} </div> <div id="group-members-end"></div> <hr id="group-separator" /> </div> <div id="contacts"> -<h3>$groupeditor.label_contacts</h3> +<h3>{{$groupeditor.label_contacts}}</h3> <div id="group-all-contacts" class="contact_list"> -{{ for $groupeditor.contacts as $m}} $m {{ endfor }} +{{foreach $groupeditor.contacts as $m}} {{$m}} {{/foreach}} </div> <div id="group-all-contacts-end"></div> </div> diff --git a/view/tpl/head.tpl b/view/tpl/head.tpl index 632ab21ca..4211eeab3 100644..100755 --- a/view/tpl/head.tpl +++ b/view/tpl/head.tpl @@ -1,28 +1,28 @@ <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> -<base href="$baseurl/" /> -<meta name="generator" content="$generator" /> +<base href="{{$baseurl}}/" /> +<meta name="generator" content="{{$generator}}" /> <!--[if IE]> <script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> -$head_css +{{$head_css}} -$js_strings +{{$js_strings}} -$head_js +{{$head_js}} -<link rel="shortcut icon" href="$baseurl/images/red.png" /> +<link rel="shortcut icon" href="{{$icon}}" /> <link rel="search" - href="$baseurl/opensearch" + href="{{$baseurl}}/opensearch" type="application/opensearchdescription+xml" - title="Search in Friendica" /> + title="Search in Red" /> <script> - var updateInterval = $update_interval; - var localUser = {{ if $local_user }}$local_user{{ else }}false{{ endif }}; + var updateInterval = {{$update_interval}}; + var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}}; </script> diff --git a/view/tpl/hide_comments.tpl b/view/tpl/hide_comments.tpl index 55ee9dd7b..f4ed9c552 100644..100755 --- a/view/tpl/hide_comments.tpl +++ b/view/tpl/hide_comments.tpl @@ -1,4 +1,4 @@ <div class="hide-comments-outer"> -<span id="hide-comments-total-$id" class="hide-comments-total">$num_comments</span> <span id="hide-comments-$id" class="hide-comments fakelink" onclick="showHideComments($id);">$hide_text</span> +<span id="hide-comments-total-{{$id}}" class="hide-comments-total">{{$num_comments}}</span> <span id="hide-comments-{{$id}}" class="hide-comments fakelink" onclick="showHideComments({{$id}});">{{$hide_text}}</span> </div> -<div id="collapsed-comments-$id" class="collapsed-comments" style="display: $display;"> +<div id="collapsed-comments-{{$id}}" class="collapsed-comments" style="display: {{$display}};"> diff --git a/view/tpl/install.tpl b/view/tpl/install.tpl index b3a5f46ff..0e77aa97b 100644..100755 --- a/view/tpl/install.tpl +++ b/view/tpl/install.tpl @@ -1,10 +1,9 @@ +<h1>{{$title}}</h1> +<h2>{{$pass}}</h2> -<h1>$title</h1> -<h2>$pass</h2> +{{if $status}} +<h3 class="error-message">{{$status}}</h3> +{{/if}} -{{ if $status }} -<h3 class="error-message">$status</h3> -{{ endif }} - -$text +{{$text}} diff --git a/view/tpl/install_checks.tpl b/view/tpl/install_checks.tpl index 76287c4a3..2068df916 100644..100755 --- a/view/tpl/install_checks.tpl +++ b/view/tpl/install_checks.tpl @@ -1,24 +1,24 @@ -<h1>$title</h1> -<h2>$pass</h2> -<form action="$baseurl/index.php?q=setup" method="post"> +<h1>{{$title}}</h1> +<h2>{{$pass}}</h2> +<form action="{{$baseurl}}/index.php?q=setup" method="post"> <table> -{{ for $checks as $check }} - <tr><td>$check.title </td><td><span class="icon s22 {{if $check.status}}on{{else}}{{if $check.required}}off{{else}}yellow{{endif}}{{endif}}"></td><td>{{if $check.required}}(required){{endif}}</td></tr> - {{if $check.help }} - <tr><td colspan="3"><blockquote>$check.help</blockquote></td></tr> - {{endif}} -{{ endfor }} +{{foreach $checks as $check}} + <tr><td>{{$check.title}} </td><td><span class="icon s22 {{if $check.status}}on{{else}}{{if $check.required}}off{{else}}yellow{{/if}}{{/if}}"></td><td>{{if $check.required}}(required){{/if}}</td></tr> + {{if $check.help}} + <tr><td colspan="3"><blockquote>{{$check.help}}</blockquote></td></tr> + {{/if}} +{{/foreach}} </table> -{{ if $phpath }} - <input type="hidden" name="phpath" value="$phpath"> -{{ endif }} +{{if $phpath}} + <input type="hidden" name="phpath" value="{{$phpath}}"> +{{/if}} -{{ if $passed }} +{{if $passed}} <input type="hidden" name="pass" value="2"> - <input type="submit" value="$next"> -{{ else }} + <input type="submit" value="{{$next}}"> +{{else}} <input type="hidden" name="pass" value="1"> - <input type="submit" value="$reload"> -{{ endif }} + <input type="submit" value="{{$reload}}"> +{{/if}} </form> diff --git a/view/tpl/install_db.tpl b/view/tpl/install_db.tpl index dd8ba1302..3968d2a54 100644..100755 --- a/view/tpl/install_db.tpl +++ b/view/tpl/install_db.tpl @@ -1,30 +1,30 @@ - -<h1>$title</h1> -<h2>$pass</h2> +<h1>{{$title}}</h1> +<h2>{{$pass}}</h2> <p> -$info_01<br> -$info_02<br> -$info_03 +{{$info_01}}<br> +{{$info_02}}<br> +{{$info_03}} </p> -{{ if $status }} -<h3 class="error-message">$status</h3> -{{ endif }} +{{if $status}} +<h3 class="error-message">{{$status}}</h3> +{{/if}} -<form id="install-form" action="$baseurl/setup" method="post"> +<form id="install-form" action="{{$baseurl}}/setup" method="post"> -<input type="hidden" name="phpath" value="$phpath" /> +<input type="hidden" name="phpath" value="{{$phpath}}" /> <input type="hidden" name="pass" value="3" /> -{{ inc field_input.tpl with $field=$dbhost }}{{endinc}} -{{ inc field_input.tpl with $field=$dbuser }}{{endinc}} -{{ inc field_password.tpl with $field=$dbpass }}{{endinc}} -{{ inc field_input.tpl with $field=$dbdata }}{{endinc}} +{{include file="field_input.tpl" field=$dbhost}} +{{include file="field_input.tpl" field=$dbport}} +{{include file="field_input.tpl" field=$dbuser}} +{{include file="field_password.tpl" field=$dbpass}} +{{include file="field_input.tpl" field=$dbdata}} -<input id="install-submit" type="submit" name="submit" value="$submit" /> +<input id="install-submit" type="submit" name="submit" value="{{$submit}}" /> </form> diff --git a/view/tpl/install_settings.tpl b/view/tpl/install_settings.tpl index ba39b99c5..d6fc66c87 100644..100755 --- a/view/tpl/install_settings.tpl +++ b/view/tpl/install_settings.tpl @@ -1,27 +1,27 @@ +<h1>{{$title}}</h1> +<h2>{{$pass}}</h2> -<h1>$title</h1> -<h2>$pass</h2> +{{if $status}} +<h3 class="error-message">{{$status}}</h3> +{{/if}} -{{ if $status }} -<h3 class="error-message">$status</h3> -{{ endif }} +<form id="install-form" action="{{$baseurl}}/setup" method="post"> -<form id="install-form" action="$baseurl/setup" method="post"> - -<input type="hidden" name="phpath" value="$phpath" /> -<input type="hidden" name="dbhost" value="$dbhost" /> -<input type="hidden" name="dbuser" value="$dbuser" /> -<input type="hidden" name="dbpass" value="$dbpass" /> -<input type="hidden" name="dbdata" value="$dbdata" /> +<input type="hidden" name="phpath" value="{{$phpath}}" /> +<input type="hidden" name="dbhost" value="{{$dbhost}}" /> +<input type="hidden" name="dbport" value="{{$dbport}}" /> +<input type="hidden" name="dbuser" value="{{$dbuser}}" /> +<input type="hidden" name="dbpass" value="{{$dbpass}}" /> +<input type="hidden" name="dbdata" value="{{$dbdata}}" /> <input type="hidden" name="pass" value="4" /> -{{ inc field_input.tpl with $field=$adminmail }}{{endinc}} -{{ inc field_input.tpl with $field=$siteurl }}{{endinc}} +{{include file="field_input.tpl" field=$adminmail}} +{{include file="field_input.tpl" field=$siteurl}} -$timezone +{{$timezone}} -<input id="install-submit" type="submit" name="submit" value="$submit" /> +<input id="install-submit" type="submit" name="submit" value="{{$submit}}" /> </form> diff --git a/view/tpl/intros.tpl b/view/tpl/intros.tpl index 6d1f1baa0..a4aed3bb8 100644..100755 --- a/view/tpl/intros.tpl +++ b/view/tpl/intros.tpl @@ -1,18 +1,17 @@ +<div class="intro-wrapper" id="intro-{{$contact_id}}" > -<div class="intro-wrapper" id="intro-$contact_id" > - -<div class="intro-fullname" id="intro-fullname-$contact_id" >$fullname</div> -<a class="intro-url-link" id="intro-url-link-$contact_id" href="$url" ><img id="photo-$contact_id" class="intro-photo" src="$photo" width="175" height=175" title="$fullname" alt="$fullname" /></a> -<div class="intro-wrapper-end" id="intro-wrapper-end-$contact_id"></div> +<div class="intro-fullname" id="intro-fullname-{{$contact_id}}" >{{$fullname}}</div> +<a class="intro-url-link" id="intro-url-link-{{$contact_id}}" href="{{$url}}" ><img id="photo-{{$contact_id}}" class="intro-photo" src="{{$photo}}" width="175" height=175" title="{{$fullname}}" alt="{{$fullname}}" /></a> +<div class="intro-wrapper-end" id="intro-wrapper-end-{{$contact_id}}"></div> <form class="intro-form" action="intro" method="post"> -<input class="intro-submit-ignore" type="submit" name="submit" value="$ignore" /> -<input class="intro-submit-block" type="submit" name="submit" value="$block" /> -<input class="intro-submit-discard" type="submit" name="submit" value="$discard" /> -{{inc field_checkbox.tpl with $field=$hidden }}{{endinc}} -{# {{ inc field_checkbox.tpl with $field=$activity }}{{endinc}} #} -<input type="hidden" name="contact_id" value="$contact_id" > +<input class="intro-submit-ignore" type="submit" name="submit" value="{{$ignore}}" /> +<input class="intro-submit-block" type="submit" name="submit" value="{{$block}}" /> +<input class="intro-submit-discard" type="submit" name="submit" value="{{$discard}}" /> +{{include file="field_checkbox.tpl" field=$hidden}} +{{* {{include file="field_checkbox.tpl" field=$activity}} *}} +<input type="hidden" name="contact_id" value="{{$contact_id}}" > -<input class="intro-submit-approve" type="submit" name="submit" value="$approve" /> +<input class="intro-submit-approve" type="submit" name="submit" value="{{$approve}}" /> </form> </div> <div class="intro-end"></div> diff --git a/view/tpl/intros_header.tpl b/view/tpl/intros_header.tpl index 17afd0cbd..15096c7f8 100644..100755 --- a/view/tpl/intros_header.tpl +++ b/view/tpl/intros_header.tpl @@ -1 +1 @@ -<h3>$title</h3> +<h3>{{$title}}</h3> diff --git a/view/tpl/invite.tpl b/view/tpl/invite.tpl index e00d27d4a..2b7ab9cfb 100644..100755 --- a/view/tpl/invite.tpl +++ b/view/tpl/invite.tpl @@ -1,13 +1,13 @@ <form action="invite" method="post" id="invite-form" > -<input type='hidden' name='form_security_token' value='$form_security_token'> +<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> <div id="invite-wrapper"> -<h3>$invite</h3> +<h3>{{$invite}}</h3> <div id="invite-recipient-text"> -$addr_text +{{$addr_text}} </div> <div id="invite-recipient-textarea"> @@ -15,15 +15,15 @@ $addr_text </div> <div id="invite-message-text"> -$msg_text +{{$msg_text}} </div> <div id="invite-message-textarea"> -<textarea id="invite-message" name="message" rows="10" cols="72" >$default_message</textarea> +<textarea id="invite-message" name="message" rows="10" cols="72" >{{$default_message}}</textarea> </div> <div id="invite-submit-wrapper"> -<input type="submit" name="submit" value="$submit" /> +<input type="submit" name="submit" value="{{$submit}}" /> </div> </div> diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index e4fb00b7a..810ec866f 100644..100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -1,21 +1,20 @@ - <script language="javascript" type="text/javascript"> var editor=false; var textlen = 0; -var plaintext = '$editselect'; +var plaintext = '{{$editselect}}'; function initEditor(cb){ if (editor==false){ - $("#profile-jot-text-loading").show(); + $("#profile-jot-text-loading").spin('small'); if(plaintext == 'none') { - $("#profile-jot-text-loading").hide(); + $("#profile-jot-text-loading").spin(false); $("#profile-jot-text").css({ 'height': 200, 'color': '#000' }); $("#profile-jot-text").contact_autocomplete(baseurl+"/acl"); editor = true; - $("a#jot-perms-icon").fancybox({ - 'transitionIn' : 'elastic', - 'transitionOut' : 'elastic' + $("a#jot-perms-icon").colorbox({ + 'inline' : true, + 'transition' : 'elastic' }); $(".jothidden").show(); if (typeof cb!="undefined") cb(); @@ -24,7 +23,7 @@ function initEditor(cb){ tinyMCE.init({ theme : "advanced", mode : "specific_textareas", - editor_selector: $editselect, + editor_selector: {{$editselect}}, auto_focus: "profile-jot-text", plugins : "bbcode,paste,autoresize, inlinepopups", theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code", @@ -42,7 +41,7 @@ function initEditor(cb){ force_br_newlines : true, forced_root_block : '', convert_urls: false, - content_css: "$baseurl/view/custom_tinymce.css", + content_css: "{{$baseurl}}/view/custom_tinymce.css", theme_advanced_path : false, file_browser_callback : "fcFileBrowser", setup : function(ed) { @@ -74,29 +73,11 @@ function initEditor(cb){ $('#profile-jot-desc').html(' '); } - //Character count - - if(textlen <= 140) { - $('#character-counter').removeClass('red'); - $('#character-counter').removeClass('orange'); - $('#character-counter').addClass('grey'); - } - if((textlen > 140) && (textlen <= 420)) { - $('#character-counter').removeClass('grey'); - $('#character-counter').removeClass('red'); - $('#character-counter').addClass('orange'); - } - if(textlen > 420) { - $('#character-counter').removeClass('grey'); - $('#character-counter').removeClass('orange'); - $('#character-counter').addClass('red'); - } - $('#character-counter').text(textlen); }); ed.onInit.add(function(ed) { ed.pasteAsPlainText = true; - $("#profile-jot-text-loading").hide(); + $("#profile-jot-text-loading").spin(false); $(".jothidden").show(); if (typeof cb!="undefined") cb(); }); @@ -106,10 +87,10 @@ function initEditor(cb){ editor = true; // setup acl popup - $("a#jot-perms-icon").fancybox({ - 'transitionIn' : 'elastic', - 'transitionOut' : 'elastic' - }); + $("a#jot-perms-icon").colorbox({ + 'inline' : true, + 'transition' : 'elastic' + }); } else { if (typeof cb!="undefined") cb(); } @@ -122,9 +103,9 @@ function enableOnUser(){ } </script> -<script type="text/javascript" src="$baseurl/js/ajaxupload.js" ></script> +<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.js" ></script> <script> - var ispublic = '$ispublic'; + var ispublic = '{{$ispublic}}'; $(document).ready(function() { @@ -134,23 +115,23 @@ function enableOnUser(){ var uploader = new window.AjaxUpload( 'wall-image-upload', - { action: '$baseurl/wall_upload/$nickname', + { action: '{{$baseurl}}/wall_upload/{{$nickname}}', name: 'userfile', - onSubmit: function(file,ext) { $('#profile-rotator').show(); }, + onSubmit: function(file,ext) { $('#profile-rotator').spin('tiny'); }, onComplete: function(file,response) { addeditortext(response); - $('#profile-rotator').hide(); + $('#profile-rotator').spin(false); } } ); var file_uploader = new window.AjaxUpload( 'wall-file-upload', - { action: '$baseurl/wall_attach/$nickname', + { action: '{{$baseurl}}/wall_attach/{{$nickname}}', name: 'userfile', - onSubmit: function(file,ext) { $('#profile-rotator').show(); }, + onSubmit: function(file,ext) { $('#profile-rotator').spin('tiny'); }, onComplete: function(file,response) { addeditortext(response); - $('#profile-rotator').hide(); + $('#profile-rotator').spin(false); } } ); @@ -177,26 +158,26 @@ function enableOnUser(){ } function jotGetLink() { - reply = prompt("$linkurl"); + reply = prompt("{{$linkurl}}"); if(reply && reply.length) { reply = bin2hex(reply); - $('#profile-rotator').show(); - $.get('$baseurl/parse_url?binurl=' + reply, function(data) { + $('#profile-rotator').spin('tiny'); + $.get('{{$baseurl}}/parse_url?binurl=' + reply, function(data) { addeditortext(data); - $('#profile-rotator').hide(); + $('#profile-rotator').spin(false); }); } } function jotVideoURL() { - reply = prompt("$vidurl"); + reply = prompt("{{$vidurl}}"); if(reply && reply.length) { addeditortext('[video]' + reply + '[/video]'); } } function jotAudioURL() { - reply = prompt("$audurl"); + reply = prompt("{{$audurl}}"); if(reply && reply.length) { addeditortext('[audio]' + reply + '[/audio]'); } @@ -204,7 +185,7 @@ function enableOnUser(){ function jotGetLocation() { - reply = prompt("$whereareu", $('#jot-location').val()); + reply = prompt("{{$whereareu}}", $('#jot-location').val()); if(reply && reply.length) { $('#jot-location').val(reply); } @@ -213,12 +194,12 @@ function enableOnUser(){ function jotShare(id) { if ($('#jot-popup').length != 0) $('#jot-popup').show(); - $('#like-rotator-' + id).show(); - $.get('$baseurl/share/' + id, function(data) { + $('#like-rotator-' + id).spin('tiny'); + $.get('{{$baseurl}}/share/' + id, function(data) { if (!editor) $("#profile-jot-text").val(""); initEditor(function(){ addeditortext(data); - $('#like-rotator-' + id).hide(); + $('#like-rotator-' + id).spin(false); $(window).scrollTop(0); }); @@ -237,19 +218,19 @@ function enableOnUser(){ event.preventDefault(); if(reply && reply.length) { reply = bin2hex(reply); - $('#profile-rotator').show(); - $.get('$baseurl/parse_url?binurl=' + reply, function(data) { + $('#profile-rotator').spin('tiny'); + $.get('{{$baseurl}}/parse_url?binurl=' + reply, function(data) { if (!editor) $("#profile-jot-text").val(""); initEditor(function(){ addeditortext(data); - $('#profile-rotator').hide(); + $('#profile-rotator').spin(false); }); }); } } function itemTag(id) { - reply = prompt("$term"); + reply = prompt("{{$term}}"); if(reply && reply.length) { reply = reply.replace('#',''); if(reply.length) { @@ -257,7 +238,7 @@ function enableOnUser(){ commentBusy = true; $('body').css('cursor', 'wait'); - $.get('$baseurl/tagger/' + id + '?term=' + reply); + $.get('{{$baseurl}}/tagger/' + id + '?term=' + reply); if(timer) clearTimeout(timer); timer = setTimeout(NavUpdate,3000); liking = 1; @@ -270,7 +251,7 @@ function enableOnUser(){ var bordercolor = $("input").css("border-color"); $.get('filer/', function(data){ - $.fancybox(data); + $.colorbox({html:data}); $("#id_term").keypress(function(){ $(this).css("border-color",bordercolor); }) @@ -284,11 +265,11 @@ function enableOnUser(){ if(reply && reply.length) { commentBusy = true; $('body').css('cursor', 'wait'); - $.get('$baseurl/filer/' + id + '?term=' + reply, NavUpdate); + $.get('{{$baseurl}}/filer/' + id + '?term=' + reply, NavUpdate); // if(timer) clearTimeout(timer); // timer = setTimeout(NavUpdate,3000); liking = 1; - $.fancybox.close(); + $.colorbox.close(); } else { $("#id_term").css("border-color","#FF0000"); } @@ -312,7 +293,7 @@ function enableOnUser(){ tinyMCE.execCommand('mceInsertRawHTML',false,data); } - $geotag + {{$geotag}} </script> diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl index 29c420900..8092a7047 100644..100755 --- a/view/tpl/jot.tpl +++ b/view/tpl/jot.tpl @@ -1,79 +1,78 @@ - <div id="profile-jot-wrapper" > - <div id="profile-jot-banner-wrapper"> - <div id="profile-jot-desc" > </div> - <div id="character-counter" class="grey"></div> - </div> - <div id="profile-jot-banner-end"></div> - <form id="profile-jot-form" action="$action" method="post" > - <input type="hidden" name="type" value="$ptyp" /> - <input type="hidden" name="profile_uid" value="$profile_uid" /> - <input type="hidden" name="return" value="$return_path" /> - <input type="hidden" name="location" id="jot-location" value="$defloc" /> + <form id="profile-jot-form" action="{{$action}}" method="post" > + <input type="hidden" name="type" value="{{$ptyp}}" /> + <input type="hidden" name="profile_uid" value="{{$profile_uid}}" /> + <input type="hidden" name="return" value="{{$return_path}}" /> + <input type="hidden" name="location" id="jot-location" value="{{$defloc}}" /> <input type="hidden" name="coord" id="jot-coord" value="" /> - <input type="hidden" name="post_id" value="$post_id" /> + <input type="hidden" name="post_id" value="{{$post_id}}" /> + <input type="hidden" name="webpage" value="{{$webpage}}" /> <input type="hidden" name="preview" id="jot-preview" value="0" /> - <div id="jot-title-wrap"><input name="title" id="jot-title" type="text" placeholder="$placeholdertitle" value="$title" class="jothidden" style="display:none"></div> - {{ if $catsenabled }} - <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="$placeholdercategory" value="$category" class="jothidden" style="display:none" /></div> - {{ endif }} + <div id="jot-title-wrap"><input name="title" id="jot-title" type="text" placeholder="{{$placeholdertitle}}" value="{{$title}}" class="jothidden" style="display:none"></div> + {{if $catsenabled}} + <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" /></div> + {{/if}} + {{if $webpage}} + <div id="jot-pagetitle-wrap"><input name="pagetitle" id="jot-pagetitle" type="text" placeholder="{{$placeholdpagetitle}}" value="{{$pagetitle}}" class="jothidden" style="display:none" /></div> + {{/if}} <div id="jot-text-wrap"> - <img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" /> - <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{ if $content }}$content{{ else }}$share{{ endif }}</textarea> + <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{if $content}}{{$content}}{{else}}{{$share}}{{/if}}</textarea> </div> + <div id="profile-jot-text-loading"></div> <div id="profile-jot-submit-wrapper" class="jothidden"> - <input type="submit" id="profile-jot-submit" name="submit" value="$share" /> + <input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" /> - <div id="profile-upload-wrapper" style="display: $visitor;" > - <div id="wall-image-upload-div" ><a href="#" onclick="return false;" id="wall-image-upload" class="icon camera" title="$upload"></a></div> + <div id="profile-upload-wrapper" style="display: {{$visitor}};" > + <div id="wall-image-upload-div" ><a href="#" onclick="return false;" id="wall-image-upload" class="icon camera" title="{{$upload}}"></a></div> </div> - <div id="profile-attach-wrapper" style="display: $visitor;" > - <div id="wall-file-upload-div" ><a href="#" onclick="return false;" id="wall-file-upload" class="icon attach" title="$attach"></a></div> + <div id="profile-attach-wrapper" style="display: {{$visitor}};" > + <div id="wall-file-upload-div" ><a href="#" onclick="return false;" id="wall-file-upload" class="icon attach" title="{{$attach}}"></a></div> </div> - <div id="profile-link-wrapper" style="display: $visitor;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" > - <a id="profile-link" class="icon link" title="$weblink" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;"></a> + <div id="profile-link-wrapper" style="display: {{$visitor}};" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" > + <a id="profile-link" class="icon link" title="{{$weblink}}" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;"></a> </div> - <div id="profile-video-wrapper" style="display: $visitor;" > - <a id="profile-video" class="icon video" title="$video" onclick="jotVideoURL();return false;"></a> + <div id="profile-video-wrapper" style="display: {{$visitor}};" > + <a id="profile-video" class="icon video" title="{{$video}}" onclick="jotVideoURL();return false;"></a> </div> - <div id="profile-audio-wrapper" style="display: $visitor;" > - <a id="profile-audio" class="icon audio" title="$audio" onclick="jotAudioURL();return false;"></a> + <div id="profile-audio-wrapper" style="display: {{$visitor}};" > + <a id="profile-audio" class="icon audio" title="{{$audio}}" onclick="jotAudioURL();return false;"></a> </div> - <div id="profile-location-wrapper" style="display: $visitor;" > - <a id="profile-location" class="icon globe" title="$setloc" onclick="jotGetLocation();return false;"></a> + <div id="profile-location-wrapper" style="display: {{$visitor}};" > + <a id="profile-location" class="icon globe" title="{{$setloc}}" onclick="jotGetLocation();return false;"></a> </div> <div id="profile-nolocation-wrapper" style="display: none;" > - <a id="profile-nolocation" class="icon noglobe" title="$noloc" onclick="jotClearLocation();return false;"></a> - </div> + <a id="profile-nolocation" class="icon noglobe" title="{{$noloc}}" onclick="jotClearLocation();return false;"></a> + </div> + <div id="profile-rotator-wrapper" style="display: {{$visitor}};" > + <div id="profile-rotator"></div> + </div> - <div id="profile-jot-perms" class="profile-jot-perms" style="display: $pvisit;" > - <a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate" title="$permset" ></a>$bang + {{if $showacl}} + <div id="profile-jot-perms" class="profile-jot-perms" style="display: {{$pvisit}};" > + <a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon {{$lockstate}}" title="{{$permset}}" ></a>{{$bang}} </div> + {{/if}} - {{ if $preview }}<span onclick="preview_post();" id="jot-preview-link" class="fakelink">$preview</span>{{ endif }} + {{if $preview}}<span onclick="preview_post();" id="jot-preview-link" class="fakelink">{{$preview}}</span>{{/if}} <div id="profile-jot-perms-end"></div> <div id="profile-jot-plugin-wrapper"> - $jotplugins + {{$jotplugins}} </div> - <div id="profile-rotator-wrapper" style="display: $visitor;" > - <img id="profile-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" /> - </div> - <div id="jot-preview-content" style="display:none;"></div> <div style="display: none;"> <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;"> - $acl + {{$acl}} <hr style="clear:both"/> - $jotnets + {{$jotnets}} </div> </div> @@ -83,4 +82,4 @@ <div id="profile-jot-end"></div> </form> </div> - {{ if $content }}<script>initEditor();</script>{{ endif }} + {{if $content}}<script>initEditor();</script>{{/if}} diff --git a/view/tpl/jot_geotag.tpl b/view/tpl/jot_geotag.tpl index b0f71e73b..7a398b612 100644..100755 --- a/view/tpl/jot_geotag.tpl +++ b/view/tpl/jot_geotag.tpl @@ -1,4 +1,3 @@ - if(navigator.geolocation) { navigator.geolocation.getCurrentPosition(function(position) { $('#jot-coord').val(position.coords.latitude + ' ' + position.coords.longitude); diff --git a/view/tpl/js_strings.tpl b/view/tpl/js_strings.tpl index babb1b219..b61c69b90 100644..100755 --- a/view/tpl/js_strings.tpl +++ b/view/tpl/js_strings.tpl @@ -1,33 +1,32 @@ - <script> var aStr = { - 'delitem' : '$delitem', - 'comment' : '$comment', - 'showmore' : '$showmore', - 'showfewer' : '$showfewer', - 'pwshort' : '$pwshort', - 'pwnomatch' : '$pwnomatch', - 'everybody' : '$everybody', + 'delitem' : '{{$delitem}}', + 'comment' : '{{$comment}}', + 'showmore' : '{{$showmore}}', + 'showfewer' : '{{$showfewer}}', + 'pwshort' : '{{$pwshort}}', + 'pwnomatch' : '{{$pwnomatch}}', + 'everybody' : '{{$everybody}}', - 't01' : $t01, - 't02' : $t02, - 't03' : '$t03', - 't04' : '$t04', - 't05' : '$t05', - 't06' : '$t06', - 't07' : '$t07', - 't08' : '$t08', - 't09' : '$t09', - 't10' : '$t10', - 't11' : '$t11', - 't12' : '$t12', - 't13' : '$t13', - 't14' : '$t14', - 't15' : '$t15', - 't16' : '$t16', - 't17' : '$t17', + 't01' : {{$t01}}, + 't02' : {{$t02}}, + 't03' : '{{$t03}}', + 't04' : '{{$t04}}', + 't05' : '{{$t05}}', + 't06' : '{{$t06}}', + 't07' : '{{$t07}}', + 't08' : '{{$t08}}', + 't09' : '{{$t09}}', + 't10' : '{{$t10}}', + 't11' : '{{$t11}}', + 't12' : '{{$t12}}', + 't13' : '{{$t13}}', + 't14' : '{{$t14}}', + 't15' : '{{$t15}}', + 't16' : '{{$t16}}', + 't17' : '{{$t17}}', }; </script> diff --git a/view/tpl/lang_selector.tpl b/view/tpl/lang_selector.tpl index e777a0a86..945cbf51e 100644..100755 --- a/view/tpl/lang_selector.tpl +++ b/view/tpl/lang_selector.tpl @@ -1,10 +1,10 @@ -<div id="lang-select-icon" class="icon s22 language" title="$title" onclick="openClose('language-selector');" ></div> +<div id="lang-select-icon" class="icon s22 language" title="{{$title}}" onclick="openClose('language-selector');" ></div> <div id="language-selector" style="display: none;" > <form action="#" method="post" > <select name="system_language" onchange="this.form.submit();" > - {{ for $langs.0 as $v=>$l }} - <option value="$v" {{if $v==$langs.1}}selected="selected"{{endif}}>$l</option> - {{ endfor }} + {{foreach $langs.0 as $v=>$l}} + <option value="{{$v}}" {{if $v==$langs.1}}selected="selected"{{/if}}>{{$l}}</option> + {{/foreach}} </select> </form> </div> diff --git a/view/tpl/like_noshare.tpl b/view/tpl/like_noshare.tpl index 2651ea1f8..d2cf0f742 100644..100755 --- a/view/tpl/like_noshare.tpl +++ b/view/tpl/like_noshare.tpl @@ -1,5 +1,5 @@ -<div class="wall-item-like-buttons" id="wall-item-like-buttons-$id"> - <a href="#" class="icon like" title="$likethis" onclick="dolike($id,'like'); return false"></a> - <a href="#" class="icon dislike" title="$nolike" onclick="dolike($id,'dislike'); return false"></a> - <img id="like-rotator-$id" class="like-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" /> +<div class="wall-item-like-buttons" id="wall-item-like-buttons-{{$id}}"> + <a href="#" class="icon like" title="{{$likethis}}" onclick="dolike({{$id}},'like'); return false"></a> + <a href="#" class="icon dislike" title="{{$nolike}}" onclick="dolike({{$id}},'dislike'); return false"></a> + <div id="like-rotator-{{$id}}" class="like-rotator"></div> </div> diff --git a/view/tpl/login.tpl b/view/tpl/login.tpl index 149c46e4c..3ca118590 100644..100755 --- a/view/tpl/login.tpl +++ b/view/tpl/login.tpl @@ -1,31 +1,30 @@ - -<form action="$dest_url" id="$form_id" method="post" > +<form action="{{$dest_url}}" id="{{$form_id}}" method="post" > <input type="hidden" name="auth-params" value="login" /> <div id="login_standard"> - {{ inc field_input.tpl with $field=$lname }}{{ endinc }} - {{ inc field_password.tpl with $field=$lpassword }}{{ endinc }} + {{include file="field_input.tpl" field=$lname}} + {{include file="field_password.tpl" field=$lpassword}} </div> <div id="login-extra-links"> - {{ if $register }}<a href="$register.link" title="$register.title" id="register-link">$register.desc</a>{{ endif }} - <a href="lostpass" title="$lostpass" id="lost-password-link" >$lostlink</a> + {{if $register}}<a href="{{$register.link}}" title="{{$register.title}}" id="register-link">{{$register.desc}}</a>{{/if}} + <a href="lostpass" title="{{$lostpass}}" id="lost-password-link" >{{$lostlink}}</a> </div> - {{ inc field_checkbox.tpl with $field=$remember }}{{ endinc }} + {{include file="field_checkbox.tpl" field=$remember}} <div id="login-standard-end"></div> <div id="login-submit-wrapper" > - <input type="submit" name="submit" id="login-submit-button" value="$login" /> + <input type="submit" name="submit" id="login-submit-button" value="{{$login}}" /> </div> - {{ for $hiddens as $k=>$v }} - <input type="hidden" name="$k" value="$v" /> - {{ endfor }} + {{foreach $hiddens as $k=>$v}} + <input type="hidden" name="{{$k}}" value="{{$v}}" /> + {{/foreach}} </form> -<script type="text/javascript"> $(document).ready(function() { $("#id_$lname.0").focus();} );</script> +<script type="text/javascript"> $(document).ready(function() { $("#id_{{$lname.0}}").focus();} );</script> diff --git a/view/tpl/logout.tpl b/view/tpl/logout.tpl index efc971df8..7548ed196 100644..100755 --- a/view/tpl/logout.tpl +++ b/view/tpl/logout.tpl @@ -1,6 +1,6 @@ -<form action="$dest_url" method="post" > +<form action="{{$dest_url}}" method="post" > <div class="logout-wrapper"> <input type="hidden" name="auth-params" value="logout" /> -<input type="submit" name="submit" id="logout-button" value="$logout" /> +<input type="submit" name="submit" id="logout-button" value="{{$logout}}" /> </div> </form> diff --git a/view/tpl/lostpass.tpl b/view/tpl/lostpass.tpl index cd3644157..f6fdb28d7 100644..100755 --- a/view/tpl/lostpass.tpl +++ b/view/tpl/lostpass.tpl @@ -1,17 +1,17 @@ -<h3>$title</h3> +<h3>{{$title}}</h3> <p id="lostpass-desc"> -$desc +{{$desc}} </p> <form action="lostpass" method="post" > <div id="login-name-wrapper"> - <label for="login-name" id="label-login-name">$name</label> + <label for="login-name" id="label-login-name">{{$name}}</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="$submit" /> + <input type="submit" name="submit" id="lostpass-submit-button" value="{{$submit}}" /> </div> <div id="login-submit-end"></div> </form> diff --git a/view/tpl/magicsig.tpl b/view/tpl/magicsig.tpl deleted file mode 100644 index 75f9bc475..000000000 --- a/view/tpl/magicsig.tpl +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<me:env xmlns:me="http://salmon-protocol.org/ns/magic-env"> -<me:data type="application/atom+xml"> -$data -</me:data> -<me:encoding>$encoding</me:encoding> -<me:alg>$algorithm</me:alg> -<me:sig key_id="$keyhash">$signature</me:sig> -</me:env> diff --git a/view/tpl/mail_conv.tpl b/view/tpl/mail_conv.tpl index fe115d223..bfa9491f4 100644..100755 --- a/view/tpl/mail_conv.tpl +++ b/view/tpl/mail_conv.tpl @@ -1,13 +1,13 @@ <div class="mail-conv-outside-wrapper"> <div class="mail-conv-sender" > - <a href="$mail.from_url" class="mail-conv-sender-url" ><img class="mframe mail-conv-sender-photo$mail.sparkle" src="$mail.from_photo" heigth="80" width="80" alt="$mail.from_name" /></a> - <div class="mail-conv-sender-name" >$mail.from_name</div> + <a href="{{$mail.from_url}}" class="mail-conv-sender-url" ><img class="mframe mail-conv-sender-photo{{$mail.sparkle}}" src="{{$mail.from_photo}}" heigth="80" width="80" alt="{{$mail.from_name}}" /></a> + <div class="mail-conv-sender-name" >{{$mail.from_name}}</div> </div> <div class="mail-conv-detail" > - <div class="mail-conv-date">$mail.date</div> - <div class="mail-conv-subject">$mail.subject</div> - <div class="mail-conv-body">$mail.body</div> - <div class="mail-conv-delete-wrapper" id="mail-conv-delete-wrapper-$mail.id" ><a href="message/drop/$mail.id" class="icon drophide delete-icon mail-list-delete-icon" onclick="return confirmDelete();" title="$mail.delete" id="mail-conv-delete-icon-$mail.id" class="mail-conv-delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></div><div class="mail-conv-delete-end"></div> + <div class="mail-conv-date">{{$mail.date}}</div> + <div class="mail-conv-subject">{{$mail.subject}}</div> + <div class="mail-conv-body">{{$mail.body}}</div> + <div class="mail-conv-delete-wrapper" id="mail-conv-delete-wrapper-{{$mail.id}}" ><a href="message/drop/{{$mail.id}}" class="icon drophide delete-icon mail-list-delete-icon" onclick="return confirmDelete();" title="{{$mail.delete}}" id="mail-conv-delete-icon-{{$mail.id}}" class="mail-conv-delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></div><div class="mail-conv-delete-end"></div> <div class="mail-conv-outside-wrapper-end"></div> </div> </div> diff --git a/view/tpl/mail_display.tpl b/view/tpl/mail_display.tpl index 8fbc12929..26e02529a 100644..100755 --- a/view/tpl/mail_display.tpl +++ b/view/tpl/mail_display.tpl @@ -1,10 +1,9 @@ +{{foreach $mails as $mail}} + {{include file="mail_conv.tpl"}} +{{/foreach}} -{{ for $mails as $mail }} - {{ inc mail_conv.tpl }}{{endinc}} -{{ endfor }} - -{{ if $canreply }} -{{ inc prv_message.tpl }}{{ endinc }} -{{ else }} -$unknown_text -{{endif }}
\ No newline at end of file +{{if $canreply}} +{{include file="prv_message.tpl"}} +{{else}} +{{$unknown_text}} +{{/if}} diff --git a/view/tpl/mail_head.tpl b/view/tpl/mail_head.tpl index afb65f537..1cd7145e7 100644..100755 --- a/view/tpl/mail_head.tpl +++ b/view/tpl/mail_head.tpl @@ -1,3 +1,3 @@ -<h3>$messages</h3> +<h3>{{$messages}}</h3> -$tab_content +{{$tab_content}} diff --git a/view/tpl/mail_list.tpl b/view/tpl/mail_list.tpl index 4417d1863..fc4af8ddd 100644..100755 --- a/view/tpl/mail_list.tpl +++ b/view/tpl/mail_list.tpl @@ -1,19 +1,7 @@ -<div class="mail-list-outside-wrapper"> - <div class="mail-list-sender" > - <a href="$from_url" class="mail-list-sender-url" ><img class="mail-list-sender-photo" src="$from_photo" height="32" width="32" alt="$from_name" /></a> - <div class="mail-list-sender-name" >$from_name</div> - </div> - <div class="mail-list-recip" > - <a href="$to_url" class="mail-list-recip-url" ><img class="mail-list-recip-photo" src="$to_photo" height="32" width="32" alt="$to_name" /></a> - <div class="mail-list-recip-name" >$to_name</div> - </div> - <div class="mail-list-date">$date</div> - <div class="mail-list-subject"><a href="message/$id" class="mail-list-link">$subject</a></div> - <div class="mail-list-delete-wrapper" id="mail-list-delete-wrapper-$id" > - <a href="message/dropconv/$id" onclick="return confirmDelete();" title="$delete" class="icon drophide mail-list-delete delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a> - </div> +<div class="mail-list-wrapper"> + <span class="mail-delete"><a href="message/dropconv/{{$id}}" onclick="return confirmDelete();" title="{{$delete}}" class="icon drophide mail-list-delete delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></span> + <a href="{{$from_url}}" class="mail-list-sender-url" ><img class="mail-list-sender-photo" src="{{$from_photo}}" alt="{{$from_name}}" /></a> + <span class="mail-from">{{$from_name}}</span> + <span class="mail-subject {{if $seen}}seen{{else}}unseen{{/if}}"><a href="message/{{$id}}" class="mail-link">{{$subject}}</a></span> + <span class="mail-date" title="{{$date}}">{{$date}}</span> </div> -</div> -<div class="mail-list-delete-end"></div> - -<div class="mail-list-outside-wrapper-end"></div> diff --git a/view/tpl/main_slider.tpl b/view/tpl/main_slider.tpl index 662677684..fbc290df1 100644..100755 --- a/view/tpl/main_slider.tpl +++ b/view/tpl/main_slider.tpl @@ -1,17 +1,27 @@ -<div id="main-slider" class="slider" ><input id="main-range" type="text" name="cminmax" value="$val" /></div> +<div id="main-slider" class="slider" ><input id="main-range" type="text" name="cminmax" value="{{$val}}" /></div> <script> - $("#main-range").slider({ from: 0, to: 99, step: 1, scale: ['$me', '|', '$intimate', '|', '$friends', '|', '$oldfriends', '|', '$acquaintances', '|', '$world' ], onstatechange: function(v) { - var carr = v.split(";"); - bParam_cmin = carr[0]; - bParam_cmax = carr[1]; - networkRefresh(); - } }); + var old_cmin = 0; + var old_cmax = 99; + $("#main-range").slider({ from: 0, to: 99, step: 1, scale: ['{{$me}}', '|', '{{$intimate}}', '|', '{{$friends}}', '|', '{{$oldfriends}}', '|', '{{$acquaintances}}', '|', '{{$world}}' ], onstatechange: function(v) { + var carr = v.split(";"); + if(carr[0] != bParam_cmin) { + old_cmin = bParam_cmin; + bParam_cmin = carr[0]; + } + if(carr[1] != bParam_cmax) { + old_cmax = bParam_cmax; + bParam_cmax = carr[1]; + } + networkRefresh(); + } }); var slideTimer = null; function networkRefresh() { if((document.readyState !== "complete") || (slideTimer !== null)) return; - setTimeout(function() { $("#profile-jot-text-loading").show(); }, 1000 ); + if((bParam_cmin == old_cmin) && (bParam_cmax == old_cmax)) + return; + setTimeout(function() { $("#profile-jot-text-loading").spin('small'); }, 1000 ); slideTimer = setTimeout(networkTimerRefresh,2000); } diff --git a/view/tpl/match.tpl b/view/tpl/match.tpl index b052845ae..0688ca26b 100644..100755 --- a/view/tpl/match.tpl +++ b/view/tpl/match.tpl @@ -1,16 +1,16 @@ <div class="profile-match-wrapper"> <div class="profile-match-photo"> - <a href="$url"> - <img src="$photo" alt="$name" title="$name[$tags]" /> + <a href="{{$url}}"> + <img src="{{$photo}}" alt="{{$name}}" title="{{$name}}[{{$tags}}]" /> </a> </div> <div class="profile-match-break"></div> <div class="profile-match-name"> - <a href="$url" title="$name[$tags]">$name</a> + <a href="{{$url}}" title="{{$name}}[{{$tags}}]">{{$name}}</a> </div> <div class="profile-match-end"></div> - {{ if $connlnk }} - <div class="profile-match-connect"><a href="$connlnk" title="$conntxt">$conntxt</a></div> - {{ endif }} + {{if $connlnk}} + <div class="profile-match-connect"><a href="{{$connlnk}}" title="{{$conntxt}}">{{$conntxt}}</a></div> + {{/if}} </div> diff --git a/view/tpl/message_side.tpl b/view/tpl/message_side.tpl index fce771bd5..4db427fa7 100644..100755 --- a/view/tpl/message_side.tpl +++ b/view/tpl/message_side.tpl @@ -1,10 +1,11 @@ <div id="message-sidebar" class="widget"> - <div id="message-new"><a href="$new.url" class="{{ if $new.sel }}newmessage-selected{{ endif }}">$new.label</a> </div> + <div id="message-check"><a href="{{$check.url}}" class="{{if $check.sel}}checkmessage-selected{{/if}}">{{$check.label}}</a> </div> + <div id="message-new"><a href="{{$new.url}}" class="{{if $new.sel}}newmessage-selected{{/if}}">{{$new.label}}</a> </div> <ul class="message-ul"> - {{ for $tabs as $t }} - <li class="tool"><a href="$t.url" class="message-link{{ if $t.sel }}message-selected{{ endif }}">$t.label</a></li> - {{ endfor }} + {{foreach $tabs as $t}} + <li class="tool"><a href="{{$t.url}}" class="message-link{{if $t.sel}}message-selected{{/if}}">{{$t.label}}</a></li> + {{/foreach}} </ul> </div> diff --git a/view/tpl/micropro_img.tpl b/view/tpl/micropro_img.tpl index 06df22d7b..23b7bd281 100644..100755 --- a/view/tpl/micropro_img.tpl +++ b/view/tpl/micropro_img.tpl @@ -1 +1 @@ -<div class="contact-block-div{{if $class}} $class{{endif}}"><a class="contact-block-link{{if $class}} $class{{endif}}{{if $click}} fakelink{{endif}}" href="{{if $click}}#{{else}}$url{{endif}}" {{if $click}}onclick="$click"{{endif}}><img class="contact-block-img{{if $class}} $class{{endif}}" src="$photo" title="$title" alt="$name" /></a></div> +<div class="contact-block-div{{if $class}} {{$class}}{{/if}}"><a class="contact-block-link{{if $class}} {{$class}}{{/if}}{{if $click}} fakelink{{/if}}" href="{{if $click}}#{{else}}{{$url}}{{/if}}" {{if $click}}onclick="{{$click}}"{{/if}}><img class="contact-block-img{{if $class}} {{$class}}{{/if}}" src="{{$photo}}" title="{{$title}}" alt="{{$name}}" /></a></div> diff --git a/view/tpl/micropro_txt.tpl b/view/tpl/micropro_txt.tpl index 6a6ef6392..295e7940d 100644..100755 --- a/view/tpl/micropro_txt.tpl +++ b/view/tpl/micropro_txt.tpl @@ -1 +1 @@ -<div class="contact-block-textdiv{{if $class}} $class{{endif}}"><a class="contact-block-link{{if $class}} $class{{endif}}{{if $click}} fakelink{{endif}}" href="{{if $click}}#{{else}}$url{{endif}}" {{if $click}}onclick="$click"{{endif}} title="$title">$name</a></div> +<div class="contact-block-textdiv{{if $class}} {{$class}}{{/if}}"><a class="contact-block-link{{if $class}} {{$class}}{{/if}}{{if $click}} fakelink{{/if}}" href="{{if $click}}#{{else}}{{$url}}{{/if}}" {{if $click}}onclick="{{$click}}"{{/if}} title="{{$title}}">{{$name}}</a></div> diff --git a/view/tpl/moderated_comment.tpl b/view/tpl/moderated_comment.tpl deleted file mode 100644 index 911c35f33..000000000 --- a/view/tpl/moderated_comment.tpl +++ /dev/null @@ -1,34 +0,0 @@ - <div class="comment-wwedit-wrapper" id="comment-edit-wrapper-$id" style="display: block;"> - <form class="comment-edit-form" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;"> - <input type="hidden" name="type" value="$type" /> - <input type="hidden" name="profile_uid" value="$profile_uid" /> - <input type="hidden" name="parent" value="$parent" /> - <input type="hidden" name="return" value="$return_path" /> - <input type="hidden" name="jsreload" value="$jsreload" /> - <input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" /> - - <div class="comment-edit-photo" id="comment-edit-photo-$id" > - <a class="comment-edit-photo-link" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a> - </div> - <div class="comment-edit-photo-end"></div> - <div id="mod-cmnt-wrap-$id" class="mod-cmnt-wrap" style="display:none"> - <div id="mod-cmnt-name-lbl-$id" class="mod-cmnt-name-lbl">$lbl_modname</div> - <input type="text" id="mod-cmnt-name-$id" class="mod-cmnt-name" name="mod-cmnt-name" value="$modname" /> - <div id="mod-cmnt-email-lbl-$id" class="mod-cmnt-email-lbl">$lbl_modemail</div> - <input type="text" id="mod-cmnt-email-$id" class="mod-cmnt-email" name="mod-cmnt-email" value="$modemail" /> - <div id="mod-cmnt-url-lbl-$id" class="mod-cmnt-url-lbl">$lbl_modurl</div> - <input type="text" id="mod-cmnt-url-$id" class="mod-cmnt-url" name="mod-cmnt-url" value="$modurl" /> - </div> - <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);" onBlur="commentClose(this,$id);" >$comment</textarea> - - <div class="comment-edit-text-end"></div> - <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" style="display: none;" > - <input type="submit" onclick="post_comment($id); return false;" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="$submit" /> - <span onclick="preview_comment($id);" id="comment-edit-preview-link-$id" class="fakelink">$preview</span> - <div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div> - </div> - - <div class="comment-edit-end"></div> - </form> - - </div> diff --git a/view/tpl/mood_content.tpl b/view/tpl/mood_content.tpl index 9349c56ae..63eaa2d8d 100644..100755 --- a/view/tpl/mood_content.tpl +++ b/view/tpl/mood_content.tpl @@ -1,20 +1,20 @@ -<h3>$title</h3> +<h3>{{$title}}</h3> -<div id="mood-desc">$desc</div> +<div id="mood-desc">{{$desc}}</div> <form action="mood" method="get"> <br /> <br /> -<input id="mood-parent" type="hidden" value="$parent" name="parent" /> +<input id="mood-parent" type="hidden" value="{{$parent}}" name="parent" /> <select name="verb" id="mood-verb-select" > -{{ for $verbs as $v }} -<option value="$v.0">$v.1</option> -{{ endfor }} +{{foreach $verbs as $v}} +<option value="{{$v.0}}">{{$v.1}}</option> +{{/foreach}} </select> <br /> <br /> -<input type="submit" name="submit" value="$submit" /> +<input type="submit" name="submit" value="{{$submit}}" /> </form> diff --git a/view/tpl/msg-header.tpl b/view/tpl/msg-header.tpl index 2d1ea7a61..0be288709 100644..100755 --- a/view/tpl/msg-header.tpl +++ b/view/tpl/msg-header.tpl @@ -1,8 +1,7 @@ - -<script language="javascript" type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> +<script language="javascript" type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> <script language="javascript" type="text/javascript"> -var plaintext = '$editselect'; +var plaintext = '{{$editselect}}'; if(plaintext != 'none') { tinyMCE.init({ @@ -25,7 +24,7 @@ if(plaintext != 'none') { force_br_newlines : true, forced_root_block : '', convert_urls: false, - content_css: "$baseurl/view/custom_tinymce.css", + content_css: "{{$baseurl}}/view/custom_tinymce.css", //Character count theme_advanced_path : false, setup : function(ed) { @@ -51,12 +50,12 @@ else $(document).ready(function() { var uploader = new window.AjaxUpload( 'prvmail-upload', - { action: 'wall_upload/$nickname', + { action: 'wall_upload/{{$nickname}}', name: 'userfile', - onSubmit: function(file,ext) { $('#profile-rotator').show(); }, + onSubmit: function(file,ext) { $('#profile-rotator').spin('tiny'); }, onComplete: function(file,response) { tinyMCE.execCommand('mceInsertRawHTML',false,response); - $('#profile-rotator').hide(); + $('#profile-rotator').spin(false); } } ); @@ -64,12 +63,12 @@ else }); function jotGetLink() { - reply = prompt("$linkurl"); + reply = prompt("{{$linkurl}}"); if(reply && reply.length) { - $('#profile-rotator').show(); + $('#profile-rotator').spin('tiny'); $.get('parse_url?url=' + reply, function(data) { tinyMCE.execCommand('mceInsertRawHTML',false,data); - $('#profile-rotator').hide(); + $('#profile-rotator').spin(false); }); } } @@ -85,10 +84,10 @@ else event.target.textContent = reply; event.preventDefault(); if(reply && reply.length) { - $('#profile-rotator').show(); + $('#profile-rotator').spin('tiny'); $.get('parse_url?url=' + reply, function(data) { tinyMCE.execCommand('mceInsertRawHTML',false,data); - $('#profile-rotator').hide(); + $('#profile-rotator').spin(false); }); } } diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index e98621aa4..7c26609c3 100644..100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -1,141 +1,145 @@ <header> - <div id="site-location">$sitelocation</div> - <div id="banner">$banner</div> + <div id="site-location">{{$sitelocation}}</div> + <div id="banner">{{$banner}}</div> </header> <nav> <ul> - {{ if $nav.lock }} + + {{if $userinfo}} + <li id="nav-user-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-user-menu" title="{{$userinfo.name}}"><img src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"><span class="nav-dropdown-indicator">▼</span></a> + {{if $localuser}} + <ul id="nav-user-menu" class="menu-popup"> + {{foreach $nav.usermenu as $usermenu}} + <li><a class="{{$usermenu.2}}" href="{{$usermenu.0}}" title="{{$usermenu.3}}">{{$usermenu.1}}</a></li> + {{/foreach}} + {{if $nav.profiles}}<li><a class="{{$nav.profiles.2}}" href="{{$nav.profiles.0}}" title="{{$nav.profiles.3}}">{{$nav.profiles.1}}</a></li>{{/if}} + {{if $nav.manage}}<li><a class="{{$nav.manage.2}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a></li>{{/if}} + {{if $nav.contacts}}<li><a class="{{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}" >{{$nav.contacts.1}}</a></li>{{/if}} + {{if $nav.settings}}<li><a class="{{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a></li>{{/if}} + + {{if $nav.admin}}<li><a class="{{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a></li>{{/if}} + + {{if $nav.logout}}<li><a class="menu-sep {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a></li>{{/if}} + + </ul> + {{/if}} + </li> + {{/if}} + + + {{if $nav.lock}} <li id="nav-rmagic-link" class="nav-menu-icon" > - <a class="icon $nav.lock.2" href="$nav.lock.0" title="$nav.lock.3" >$nav.lock.1</a> + <a class="icon {{$nav.lock.2}}" href="{{$nav.lock.0}}" title="{{$nav.lock.3}}" >{{$nav.lock.1}}</a> </li> - {{ endif }} + {{/if}} - {{ if $nav.network }} - <li id="nav-network-link" class="nav-menu $sel.network"> - <a class="$nav.network.2" href="$nav.network.0" title="$nav.network.3" ><span class="icon network">$nav.network.1</span></a> + {{if $nav.network}} + <li id="nav-network-link" class="nav-menu {{$sel.network}}"> + <a class="{{$nav.network.2}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a> <span id="net-update" class="nav-notify fakelink" rel="#nav-network-menu"></span> <ul id="nav-network-menu" class="menu-popup notify-menus" rel="network"> - <li id="nav-network-see-all"><a href="$nav.network.all.0">$nav.network.all.1</a></li> - <li id="nav-network-mark-all"><a href="#" onclick="markRead('network'); return false;">$nav.network.mark.1</a></li> - <li class="empty">$emptynotifications</li> + <li id="nav-network-see-all"><a href="{{$nav.network.all.0}}">{{$nav.network.all.1}}</a></li> + <li id="nav-network-mark-all"><a href="#" onclick="markRead('network'); return false;">{{$nav.network.mark.1}}</a></li> + <li class="empty">{{$emptynotifications}}</li> </ul> </li> - {{ endif }} + {{/if}} - {{ if $nav.home }} - <li id="nav-home-link" class="nav-menu $sel.home"> - <a class="$nav.home.2" href="$nav.home.0" title="$nav.home.3" ><span class="icon home">$nav.home.1</span></a> + {{if $nav.home}} + <li id="nav-home-link" class="nav-menu {{$sel.home}}"> + <a class="{{$nav.home.2}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a> <span id="home-update" class="nav-notify fakelink" rel="#nav-home-menu"></span> <ul id="nav-home-menu" class="menu-popup notify-menus" rel="home"> - <li id="nav-home-see-all"><a href="$nav.home.all.0">$nav.home.all.1</a></li> - <li id="nav-home-mark-all"><a href="#" onclick="markRead('home'); return false;">$nav.home.mark.1</a></li> - <li class="empty">$emptynotifications</li> + <li id="nav-home-see-all"><a href="{{$nav.home.all.0}}">{{$nav.home.all.1}}</a></li> + <li id="nav-home-mark-all"><a href="#" onclick="markRead('home'); return false;">{{$nav.home.mark.1}}</a></li> + <li class="empty">{{$emptynotifications}}</li> </ul> </li> - {{ endif }} + {{/if}} + + {{if $nav.register}}<li id="nav-register-link" class="nav-menu {{$nav.register.2}}"><a href="{{$nav.register.0}}" title="{{$nav.register.3}}" >{{$nav.register.1}}</a><li>{{/if}} - {{ if $nav.messages }} - <li id="nav-mail-link" class="nav-menu $sel.messages"> - <a class="$nav.messages.2" href="$nav.messages.0" title="$nav.messages.3" ><span class="icon mail">$nav.messages.1</span></a> + + {{if $nav.messages}} + <li id="nav-mail-link" class="nav-menu {{$sel.messages}}"> + <a class="{{$nav.messages.2}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}}</a> <span id="mail-update" class="nav-notify fakelink" rel="#nav-messages-menu"></span> <ul id="nav-messages-menu" class="menu-popup notify-menus" rel="messages"> - <li id="nav-messages-see-all"><a href="$nav.messages.all.0">$nav.messages.all.1</a></li> - <li id="nav-messages-mark-all"><a href="#" onclick="markRead('messages'); return false;">$nav.messages.mark.1</a></li> - <li class="empty">$emptynotifications</li> + <li id="nav-messages-see-all"><a href="{{$nav.messages.all.0}}">{{$nav.messages.all.1}}</a></li> + <li id="nav-messages-mark-all"><a href="#" onclick="markRead('messages'); return false;">{{$nav.messages.mark.1}}</a></li> + <li class="empty">{{$emptynotifications}}</li> </ul> </li> - {{ endif }} + {{/if}} - {{ if $nav.all_events }} - <li id="nav-all_events-link" class="nav-menu $sel.all_events"> - <a class="$nav.all_events.2" href="$nav.all_events.0" title="$nav.all_events.3" ><span class="icon events">$nav.all_events.1</span></a> + {{if $nav.all_events}} + <li id="nav-all_events-link" class="nav-menu {{$sel.all_events}}"> + <a class="{{$nav.all_events.2}}" href="{{$nav.all_events.0}}" title="{{$nav.all_events.3}}" >{{$nav.all_events.1}}</a> <span id="all_events-update" class="nav-notify fakelink" rel="#nav-all_events-menu"></span> <ul id="nav-all_events-menu" class="menu-popup notify-menus" rel="all_events"> - <li id="nav-all_events-see-all"><a href="$nav.all_events.all.0">$nav.all_events.all.1</a></li> - <li id="nav-all_events-mark-all"><a href="#" onclick="markRead('all_events'); return false;">$nav.all_events.mark.1</a></li> - <li class="empty">$emptynotifications</li> + <li id="nav-all_events-see-all"><a href="{{$nav.all_events.all.0}}">{{$nav.all_events.all.1}}</a></li> + <li id="nav-all_events-mark-all"><a href="#" onclick="markRead('all_events'); return false;">{{$nav.all_events.mark.1}}</a></li> + <li class="empty">{{$emptynotifications}}</li> </ul> </li> - {{ endif }} + {{/if}} - {{ if $nav.intros }} - <li id="nav-intros-link" class="nav-menu $sel.intros"> - <a class="$nav.intros.2" href="$nav.intros.0" title="$nav.intros.3" ><span class="icon introductions">$nav.intros.1</span></a> + {{if $nav.intros}} + <li id="nav-intros-link" class="nav-menu {{$sel.intros}}"> + <a class="{{$nav.intros.2}}" href="{{$nav.intros.0}}" title="{{$nav.intros.3}}" >{{$nav.intros.1}}</a> <span id="intro-update" class="nav-notify fakelink" rel="#nav-intros-menu"></span> <ul id="nav-intros-menu" class="menu-popup notify-menus" rel="intros"> - <li id="nav-intros-see-all"><a href="$nav.intros.all.0">$nav.intros.all.1</a></li> - <li class="empty">$emptynotifications</li> + <li id="nav-intros-see-all"><a href="{{$nav.intros.all.0}}">{{$nav.intros.all.1}}</a></li> + <li class="empty">{{$emptynotifications}}</li> </ul> </li> - {{ endif }} + {{/if}} - {{ if $nav.notifications }} - <li id="nav-notify-linkmenu" class="nav-menu fakelink"> - <a href="$nav.notifications.0" title="$nav.notifications.1"><span class="icon s22 notify">$nav.notifications.1</span></a> + {{if $nav.notifications}} + <li id="nav-notify-linkmenu" class="nav-menu fakelink {{$sel.notifications}}"> + <a href="{{$nav.notifications.0}}" title="{{$nav.notifications.1}}">{{$nav.notifications.1}}</a> <span id="notify-update" class="nav-notify fakelink" rel="#nav-notify-menu"></span> <ul id="nav-notify-menu" class="menu-popup notify-menus" rel="notify"> - <li id="nav-notify-see-all"><a href="$nav.notifications.all.0">$nav.notifications.all.1</a></li> - <li id="nav-notify-mark-all"><a href="#" onclick="markRead('notify'); return false;">$nav.notifications.mark.1</a></li> - <li class="empty">$emptynotifications</li> + <li id="nav-notify-see-all"><a href="{{$nav.notifications.all.0}}">{{$nav.notifications.all.1}}</a></li> + <li id="nav-notify-mark-all"><a href="#" onclick="markRead('notify'); return false;">{{$nav.notifications.mark.1}}</a></li> + <li class="empty">{{$emptynotifications}}</li> </ul> </li> - {{ endif }} - - {{ if $nav.settings }} - <li id="nav-site-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-site-menu"><span class="icon s22 gear">$nav.settings.1</span></a> - <ul id="nav-site-menu" class="menu-popup"> - {{ if $nav.settings }}<li><a class="$nav.settings.2" href="$nav.settings.0" title="$nav.settings.3">$nav.settings.1</a></li>{{ endif }} - {{ if $nav.directory }}<li><a class="$nav.directory.2" href="$nav.directory.0" title="$nav.directory.3">$nav.directory.1</a></li>{{ endif }} - - {{ if $nav.admin }}<li><a class="$nav.admin.2" href="$nav.admin.0" title="$nav.admin.3" >$nav.admin.1</a></li>{{ endif }} + {{/if}} + + {{if $nav.login}}<li id="nav-login-link" class="nav-menu {{$nav.login.2}}"><a href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a><li>{{/if}} + {{if $nav.alogout}}<li id=nav-alogout-link" class="nav-menu {{$nav}}-alogout.2"><a href="{{$nav.alogout.0}}" title="{{$nav.alogout.3}}" >{{$nav.alogout.1}}</a></li>{{/if}} - </ul> + {{if $nav.directory}} + <li id="nav-directory-link" class="nav-menu {{$sel.directory}}"> + <a class="{{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}">{{$nav.directory.1}}</a> </li> - {{ endif }} + {{/if}} - {{ if $userinfo }} - <li id="nav-user-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-user-menu" title="$userinfo.name"><img src="$userinfo.icon" alt="$userinfo.name"></a> - {{ if $localuser }} - <ul id="nav-user-menu" class="menu-popup"> - {{ for $nav.usermenu as $usermenu }} - <li><a class="$usermenu.2" href="$usermenu.0" title="$usermenu.3">$usermenu.1</a></li> - {{ endfor }} - {{ if $nav.profiles }}<li><a class="$nav.profiles.2" href="$nav.profiles.0" title="$nav.profiles.3">$nav.profiles.1</a></li>{{ endif }} - {{ if $nav.manage }}<li><a class="$nav.manage.2" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a></li>{{ endif }} - {{ if $nav.contacts }}<li><a class="$nav.contacts.2" href="$nav.contacts.0" title="$nav.contacts.3" >$nav.contacts.1</a></li>{{ endif }} - {{ if $nav.logout }}<li><a class="menu-sep $nav.logout.2" href="$nav.logout.0" title="$nav.logout.3" >$nav.logout.1</a></li>{{ endif }} - - </ul> - {{ endif }} - </li> - {{ endif }} - - {{ if $nav.login }}<li id="nav-login-link" class="nav-menu $nav.login.2"><a href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a><li>{{ endif }} - {{ if $nav.alogout }}<li id=nav-alogout-link" class="nav-menu $nav-alogout.2"><a href="$nav.alogout.0" title="$nav.alogout.3" >$nav.alogout.1</a></li>{{ endif }} - {{ if $nav.help }} - <li id="nav-help-link" class="nav-menu $sel.help"> - <a class="$nav.help.2" target="friendika-help" href="$nav.help.0" title="$nav.help.3" >$nav.help.1</a> + {{if $nav.help}} + <li id="nav-help-link" class="nav-menu {{$sel.help}}"> + <a class="{{$nav.help.2}}" target="friendika-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a> </li> - {{ endif }} + {{/if}} - {{ if $nav.apps }} - <li id="nav-apps-link" class="nav-menu $sel.apps"> - <a class=" $nav.apps.2" href="#" rel="#nav-apps-menu" title="$nav.apps.3" >$nav.apps.1</a> + {{if $nav.apps}} + <li id="nav-apps-link" class="nav-menu {{$sel.apps}}"> + <a class=" {{$nav.apps.2}}" href="#" rel="#nav-apps-menu" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a> <ul id="nav-apps-menu" class="menu-popup"> - {{ for $apps as $ap }} - <li>$ap</li> - {{ endfor }} + {{foreach $apps as $ap}} + <li>{{$ap}}</li> + {{/foreach}} </ul> </li> - {{ endif }} + {{/if}} <li id="nav-searchbar"> <form method="get" action="search"> - <input id="nav-search-text" type="text" value="" placeholder="$nav.search.1" name="search" title="$nav.search.3" onclick="this.submit();" /> + <input id="nav-search-text" type="text" value="" placeholder="{{$nav.search.1}}" name="search" title="{{$nav.search.3}}" onclick="this.submit();" /> </form> </li> - <img src="images/rotator.gif" id="nav-search-spinner" style="display: none;" alt="$pleasewait" /> + <div id="nav-search-spinner"></div> </ul> </nav> @@ -144,5 +148,5 @@ <li class="{4}"><a href="{0}"><img src="{1}">{2} <span class="notif-when">{3}</span></a></li> </ul> -<div id="langselector" >$langselector</div> +<div id="langselector" >{{$langselector}}</div> <div id="panel" style="display: none;"></div> diff --git a/view/tpl/netfriend.tpl b/view/tpl/netfriend.tpl index c2a92ce9e..ec6b3b6cc 100644..100755 --- a/view/tpl/netfriend.tpl +++ b/view/tpl/netfriend.tpl @@ -1,14 +1,14 @@ -<div class="intro-approve-as-friend-desc">$approve_as</div> +<div class="intro-approve-as-friend-desc">{{$approve_as}}</div> <div class="intro-approve-as-friend-wrapper"> - <label class="intro-approve-as-friend-label" for="intro-approve-as-friend-$intro_id">$as_friend</label> - <input type="radio" name="duplex" id="intro-approve-as-friend-$intro_id" class="intro-approve-as-friend" $friend_selected value="1" /> + <label class="intro-approve-as-friend-label" for="intro-approve-as-friend-{{$intro_id}}">{{$as_friend}}</label> + <input type="radio" name="duplex" id="intro-approve-as-friend-{{$intro_id}}" class="intro-approve-as-friend" {{$friend_selected}} value="1" /> <div class="intro-approve-friend-break" ></div> </div> <div class="intro-approve-as-friend-end"></div> <div class="intro-approve-as-fan-wrapper"> - <label class="intro-approve-as-fan-label" for="intro-approve-as-fan-$intro_id">$as_fan</label> - <input type="radio" name="duplex" id="intro-approve-as-fan-$intro_id" class="intro-approve-as-fan" $fan_selected value="0" /> + <label class="intro-approve-as-fan-label" for="intro-approve-as-fan-{{$intro_id}}">{{$as_fan}}</label> + <input type="radio" name="duplex" id="intro-approve-as-fan-{{$intro_id}}" class="intro-approve-as-fan" {{$fan_selected}} value="0" /> <div class="intro-approve-fan-break"></div> </div> <div class="intro-approve-as-end"></div> diff --git a/view/tpl/new_channel.tpl b/view/tpl/new_channel.tpl index 0ea764621..261f965da 100644..100755 --- a/view/tpl/new_channel.tpl +++ b/view/tpl/new_channel.tpl @@ -1,29 +1,29 @@ -<h2>$title</h2> +<h2>{{$title}}</h2> <form action="new_channel" method="post" id="newchannel-form"> - <div id="newchannel-desc" class="descriptive-paragraph">$desc</div> + <div id="newchannel-desc" class="descriptive-paragraph">{{$desc}}</div> - <label for="newchannel-name" id="label-newchannel-name" class="newchannel-label" >$label_name</label> - <input type="text" name="name" id="newchannel-name" class="newchannel-input" value="$name" /> + <label for="newchannel-name" id="label-newchannel-name" class="newchannel-label" >{{$label_name}}</label> + <input type="text" name="name" id="newchannel-name" class="newchannel-input" value="{{$name}}" /> <div id="newchannel-name-feedback" class="newchannel-feedback"></div> <div id="newchannel-name-end" class="newchannel-field-end"></div> - <div id="newchannel-name-help" class="descriptive-paragraph">$help_name</div> + <div id="newchannel-name-help" class="descriptive-paragraph">{{$help_name}}</div> - <label for="newchannel-nickname" id="label-newchannel-nickname" class="newchannel-label" >$label_nick</label> - <input type="text" name="nickname" id="newchannel-nickname" class="newchannel-input" value="$nickname" /> + <label for="newchannel-nickname" id="label-newchannel-nickname" class="newchannel-label" >{{$label_nick}}</label> + <input type="text" name="nickname" id="newchannel-nickname" class="newchannel-input" value="{{$nickname}}" /> <div id="newchannel-nickname-feedback" class="newchannel-feedback"></div> <div id="newchannel-nickname-end" class="newchannel-field-end"></div> - <div id="newchannel-nick-desc" class="descriptive-paragraph">$nick_desc</div> + <div id="newchannel-nick-desc" class="descriptive-paragraph">{{$nick_desc}}</div> - <div id="newchannel-import-link" class="descriptive-paragraph" >$label_import</div> + <div id="newchannel-import-link" class="descriptive-paragraph" >{{$label_import}}</div> <div id="newchannel-import-end" class="newchannel-field-end"></div> - <input type="submit" name="submit" id="newchannel-submit-button" value="$submit" /> + <input type="submit" name="submit" id="newchannel-submit-button" value="{{$submit}}" /> <div id="newchannel-submit-end" class="newchannel-field-end"></div> </form> diff --git a/view/tpl/nogroup-template.tpl b/view/tpl/nogroup-template.tpl index dd00ed097..15094b2d6 100644..100755 --- a/view/tpl/nogroup-template.tpl +++ b/view/tpl/nogroup-template.tpl @@ -1,11 +1,11 @@ -<h1>$header</h1> +<h1>{{$header}}</h1> -{{ for $contacts as $contact }} - {{ inc contact_template.tpl }}{{ endinc }} -{{ endfor }} +{{foreach $contacts as $contact}} + {{include file="contact_template.tpl"}} +{{/foreach}} <div id="contact-edit-end"></div> -$paginate +{{$paginate}} diff --git a/view/tpl/notifications.tpl b/view/tpl/notifications.tpl index 1a13b68b9..3015de504 100644..100755 --- a/view/tpl/notifications.tpl +++ b/view/tpl/notifications.tpl @@ -1,8 +1,5 @@ - -<h1>$notif_header</h1> - -{{ inc common_tabs.tpl }}{{ endinc }} +<h1>{{$notif_header}}</h1> <div class="notif-network-wrapper"> - $notif_content + {{$notif_content}} </div> diff --git a/view/tpl/notifications_comments_item.tpl b/view/tpl/notifications_comments_item.tpl index 73cc9f948..856955424 100644..100755 --- a/view/tpl/notifications_comments_item.tpl +++ b/view/tpl/notifications_comments_item.tpl @@ -1,3 +1,3 @@ <div class="notif-item"> - <a href="$item_link" target="friendica-notifications"><img src="$item_image" class="notif-image">$item_text <span class="notif-when">$item_when</span></a> -</div>
\ No newline at end of file + <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a> +</div> diff --git a/view/tpl/notifications_dislikes_item.tpl b/view/tpl/notifications_dislikes_item.tpl index 73cc9f948..856955424 100644..100755 --- a/view/tpl/notifications_dislikes_item.tpl +++ b/view/tpl/notifications_dislikes_item.tpl @@ -1,3 +1,3 @@ <div class="notif-item"> - <a href="$item_link" target="friendica-notifications"><img src="$item_image" class="notif-image">$item_text <span class="notif-when">$item_when</span></a> -</div>
\ No newline at end of file + <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a> +</div> diff --git a/view/tpl/notifications_friends_item.tpl b/view/tpl/notifications_friends_item.tpl index 73cc9f948..856955424 100644..100755 --- a/view/tpl/notifications_friends_item.tpl +++ b/view/tpl/notifications_friends_item.tpl @@ -1,3 +1,3 @@ <div class="notif-item"> - <a href="$item_link" target="friendica-notifications"><img src="$item_image" class="notif-image">$item_text <span class="notif-when">$item_when</span></a> -</div>
\ No newline at end of file + <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a> +</div> diff --git a/view/tpl/notifications_likes_item.tpl b/view/tpl/notifications_likes_item.tpl index 389144d9b..b2ba4024b 100644..100755 --- a/view/tpl/notifications_likes_item.tpl +++ b/view/tpl/notifications_likes_item.tpl @@ -1,3 +1,3 @@ <div class="notif-item"> - <a href="$item_link" target="friendica-notification"><img src="$item_image" class="notif-image">$item_text <span class="notif-when">$item_when</span></a> -</div>
\ No newline at end of file + <a href="{{$item_link}}" target="friendica-notification"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a> +</div> diff --git a/view/tpl/notifications_network_item.tpl b/view/tpl/notifications_network_item.tpl deleted file mode 100644 index 261ab3643..000000000 --- a/view/tpl/notifications_network_item.tpl +++ /dev/null @@ -1,3 +0,0 @@ -<div class="notif-item"> - <a href="$item_link" target="friendica-notifications"><img src="$item_image" class="notif-image">$item_text <span class="notif-when">$item_when</span></a> -</div> diff --git a/view/tpl/notifications_posts_item.tpl b/view/tpl/notifications_posts_item.tpl index 73cc9f948..856955424 100644..100755 --- a/view/tpl/notifications_posts_item.tpl +++ b/view/tpl/notifications_posts_item.tpl @@ -1,3 +1,3 @@ <div class="notif-item"> - <a href="$item_link" target="friendica-notifications"><img src="$item_image" class="notif-image">$item_text <span class="notif-when">$item_when</span></a> -</div>
\ No newline at end of file + <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a> +</div> diff --git a/view/tpl/notify.tpl b/view/tpl/notify.tpl index 73cc9f948..856955424 100644..100755 --- a/view/tpl/notify.tpl +++ b/view/tpl/notify.tpl @@ -1,3 +1,3 @@ <div class="notif-item"> - <a href="$item_link" target="friendica-notifications"><img src="$item_image" class="notif-image">$item_text <span class="notif-when">$item_when</span></a> -</div>
\ No newline at end of file + <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a> +</div> diff --git a/view/tpl/oauth_authorize.tpl b/view/tpl/oauth_authorize.tpl index 31f02ac50..2b7afa80e 100644..100755 --- a/view/tpl/oauth_authorize.tpl +++ b/view/tpl/oauth_authorize.tpl @@ -1,10 +1,10 @@ -<h1>$title</h1> +<h1>{{$title}}</h1> <div class='oauthapp'> - <img src='$app.icon'> - <h4>$app.name</h4> + <img src='{{$app.icon}}'> + <h4>{{$app.name}}</h4> </div> -<h3>$authorize</h3> +<h3>{{$authorize}}</h3> <form method="POST"> -<div class="settings-submit-wrapper"><input class="settings-submit" type="submit" name="oauth_yes" value="$yes" /></div> +<div class="settings-submit-wrapper"><input class="settings-submit" type="submit" name="oauth_yes" value="{{$yes}}" /></div> </form> diff --git a/view/tpl/oauth_authorize_done.tpl b/view/tpl/oauth_authorize_done.tpl index 51eaea248..2e91e0125 100644..100755 --- a/view/tpl/oauth_authorize_done.tpl +++ b/view/tpl/oauth_authorize_done.tpl @@ -1,4 +1,4 @@ -<h1>$title</h1> +<h1>{{$title}}</h1> -<p>$info</p> -<code>$code</code> +<p>{{$info}}</p> +<code>{{$code}}</code> diff --git a/view/tpl/oembed_video.tpl b/view/tpl/oembed_video.tpl index d3a9a9311..4ad75a82e 100755 --- a/view/tpl/oembed_video.tpl +++ b/view/tpl/oembed_video.tpl @@ -1,4 +1,4 @@ -<a href='$embedurl' onclick='this.innerHTML=Base64.decode("$escapedhtml"); return false;' style='float:left; margin: 1em; position: relative;'> - <img width='$tw' height='$th' src='$turl' > - <div style='position: absolute; top: 0px; left: 0px; width: $twpx; height: $thpx; background: url($baseurl/images/icons/48/play.png) no-repeat center center;'></div> +<a href='{{$embedurl}}' onclick='this.innerHTML=Base64.decode("{{$escapedhtml}}"); return false;' style='float:left; margin: 1em; position: relative;'> + <img width='{{$tw}}' height='{{$th}}' src='{{$turl}}' > + <div style='position: absolute; top: 0px; left: 0px; width: {{$twpx}}; height: {{$thpx}}; background: url({{$baseurl}}/images/icons/48/play.png) no-repeat center center;'></div> </a> diff --git a/view/tpl/oexchange_xrd.tpl b/view/tpl/oexchange_xrd.tpl index c7e6df498..74ef22874 100644..100755 --- a/view/tpl/oexchange_xrd.tpl +++ b/view/tpl/oexchange_xrd.tpl @@ -1,7 +1,7 @@ <?xml version='1.0' encoding='UTF-8'?> <XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"> - <Subject>$base</Subject> + <Subject>{{$base}}</Subject> <Property type="http://www.oexchange.org/spec/0.8/prop/vendor">Friendika</Property> @@ -14,19 +14,19 @@ <Link rel="icon" - href="$base/images/friendika-16.png" + href="{{$base}}/images/friendika-16.png" type="image/png" /> <Link rel="icon32" - href="$base/images/friendika-32.png" + href="{{$base}}/images/friendika-32.png" type="image/png" /> <Link rel= "http://www.oexchange.org/spec/0.8/rel/offer" - href="$base/oexchange" + href="{{$base}}/oexchange" type="text/html" /> </XRD> diff --git a/view/tpl/opensearch.tpl b/view/tpl/opensearch.tpl index 374fcaac9..26fb5a799 100644..100755 --- a/view/tpl/opensearch.tpl +++ b/view/tpl/opensearch.tpl @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> - <ShortName>Friendika@$nodename</ShortName> - <Description>Search in Friendika@$nodename</Description> - <Contact>http://bugs.friendika.com/</Contact> - <Image height="16" width="16" type="image/png">$baseurl/images/friendika-16.png</Image> - <Image height="64" width="64" type="image/png">$baseurl/images/friendika-64.png</Image> + <ShortName>Red Matrix@{{$nodename}}</ShortName> + <Description>Search in The Red Matrix@{{$nodename}}</Description> + <Contact>http://github.com/friendica/red/</Contact> + <Image height="16" width="16" type="image/png">{{$baseurl}}/images/rhash-16.png</Image> + <Image height="64" width="64" type="image/png">{{$baseurl}}/images/rhash-64.png</Image> <Url type="text/html" - template="$baseurl/search?search={searchTerms}"/> + template="{{$baseurl}}/search?search={searchTerms}"/> <Url type="application/opensearchdescription+xml" rel="self" - template="$baseurl/opensearch" /> + template="{{$baseurl}}/opensearch" /> </OpenSearchDescription>
\ No newline at end of file diff --git a/view/tpl/page_display.tpl b/view/tpl/page_display.tpl index a79d505dd..7b4fdb96e 100644..100755 --- a/view/tpl/page_display.tpl +++ b/view/tpl/page_display.tpl @@ -1,7 +1,9 @@ -<div class=page"> - <h3 class="page-title">$title</h3> +<div class="page"> - <div class="page-author"><a class=="page-author-link" href="$auth_url">$author</a></div> - <div class="page-date">$date</div> - <div class="page-body">body</div> +<div class="page-content-wrapper" id="page-content-wrapper" > + <h3 class="page-title">{{$title}}</h3> + <div class="page-author"><a class=="page-author-link" href="{{$auth_url}}">{{$author}}</a></div> + <div class="page-date">{{$date}}</div> + <div class="page-body">{{$body}}</div> +</div> </div> diff --git a/view/tpl/pagetypes.tpl b/view/tpl/pagetypes.tpl deleted file mode 100644 index c9022a1c1..000000000 --- a/view/tpl/pagetypes.tpl +++ /dev/null @@ -1,5 +0,0 @@ - {{inc field_radio.tpl with $field=$page_normal }}{{endinc}} - {{inc field_radio.tpl with $field=$page_community }}{{endinc}} - {{inc field_radio.tpl with $field=$page_prvgroup }}{{endinc}} - {{inc field_radio.tpl with $field=$page_soapbox }}{{endinc}} - {{inc field_radio.tpl with $field=$page_freelove }}{{endinc}} diff --git a/view/tpl/peoplefind.tpl b/view/tpl/peoplefind.tpl index 3c2692d25..72c0830cf 100644..100755 --- a/view/tpl/peoplefind.tpl +++ b/view/tpl/peoplefind.tpl @@ -1,14 +1,14 @@ <div id="peoplefind-sidebar" class="widget"> - <h3>$findpeople</h3> - <div id="peoplefind-desc">$desc</div> + <h3>{{$findpeople}}</h3> + <div id="peoplefind-desc">{{$desc}}</div> <form action="dirfind" method="post" /> - <input id="side-peoplefind-url" type="text" name="search" size="24" title="$hint" /><input id="side-peoplefind-submit" type="submit" name="submit" value="$findthem" /> + <input id="side-peoplefind-url" type="text" name="search" size="24" title="{{$hint}}" /><input id="side-peoplefind-submit" type="submit" name="submit" value="{{$findthem}}" /> </form> - <div class="side-link" id="side-match-link"><a href="match" >$similar</a></div> - <div class="side-link" id="side-suggest-link"><a href="suggest" >$suggest</a></div> - <div class="side-link" id="side-random-profile-link" ><a href="randprof" target="extlink" >$random</a></div> - {{ if $inv }} - <div class="side-link" id="side-invite-link" ><a href="invite" >$inv</a></div> - {{ endif }} + <div class="side-link" id="side-match-link"><a href="match" >{{$similar}}</a></div> + <div class="side-link" id="side-suggest-link"><a href="suggest" >{{$suggest}}</a></div> + <div class="side-link" id="side-random-profile-link" ><a href="randprof" >{{$random}}</a></div> + {{if $inv}} + <div class="side-link" id="side-invite-link" ><a href="invite" >{{$inv}}</a></div> + {{/if}} </div> diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl index cc3dcfb9c..d2016e41c 100644..100755 --- a/view/tpl/photo_album.tpl +++ b/view/tpl/photo_album.tpl @@ -1,7 +1,8 @@ -<div class="photo-album-image-wrapper" id="photo-album-image-wrapper-$id"> - <a href="$photolink" class="photo-album-photo-link" id="photo-album-photo-link-$id" title="$phototitle"> - <img src="$imgsrc" alt="$imgalt" title="$phototitle" class="photo-album-photo lframe resize$twist" id="photo-album-photo-$id" /> - <p class='caption'>$desc</p> +{{include file="prettyphoto.tpl"}} +<div class="photo-album-image-wrapper" id="photo-album-image-wrapper-{{$id}}"> + <a href="{{$photolink}}" class="photo-album-photo-link" id="photo-album-photo-link-{{$id}}" title="{{$phototitle}}" rel="{{$rel}}"> + <img src="{{$imgsrc}}" alt="{{$imgalt}}" title="{{$phototitle}}" class="photo-album-photo lframe resize{{$twist}}" id="photo-album-photo-{{$id}}" /> + <p class='caption'>{{$desc}}</p> </a> </div> <div class="photo-album-image-wrapper-end"></div> diff --git a/view/tpl/photo_albums.tpl b/view/tpl/photo_albums.tpl index eccc3660a..e83eefb39 100644..100755 --- a/view/tpl/photo_albums.tpl +++ b/view/tpl/photo_albums.tpl @@ -1,13 +1,13 @@ <div id="side-bar-photos-albums" class="widget"> -<h3><a href="$baseurl/photos/$nick" title="$title" >$title</a></h3> -{{ if $albums }} +<h3><a href="{{$baseurl}}/photos/{{$nick}}" title="{{$title}}" >{{$title}}</a></h3> +{{if $albums}} <ul> -{{ for $albums as $al }} -<li><a href="$baseurl/photos/$nick/$al.bin2hex">$al.album</a></li> -{{ endfor }} +{{foreach $albums as $al}} +<li><a href="{{$baseurl}}/photos/{{$nick}}/album/{{$al.bin2hex}}">{{$al.text}}</a></li> +{{/foreach}} </ul> -{{ endif }} -{{ if $upload }} -<div id="photo-albums-upload-link"><a href="$baseurl/photos/$nick/upload" title="$upload">$upload</a></div> -{{ endif }} +{{/if}} +{{if $upload}} +<div id="photo-albums-upload-link"><a href="{{$baseurl}}/photos/{{$nick}}/upload" title="{{$upload}}">{{$upload}}</a></div> +{{/if}} </div> diff --git a/view/tpl/photo_drop.tpl b/view/tpl/photo_drop.tpl index b4ea62b45..94ef5a3ee 100644..100755 --- a/view/tpl/photo_drop.tpl +++ b/view/tpl/photo_drop.tpl @@ -1,4 +1,4 @@ -<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$id" > - <a href="item/drop/$id" onclick="return confirmDelete();" class="icon drophide" title="$delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a> +<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$id}}" > + <a href="item/drop/{{$id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a> </div> <div class="wall-item-delete-end"></div> diff --git a/view/tpl/photo_edit.tpl b/view/tpl/photo_edit.tpl deleted file mode 100644 index 53b69caae..000000000 --- a/view/tpl/photo_edit.tpl +++ /dev/null @@ -1,50 +0,0 @@ - -<form action="photos/$nickname/$resource_id" method="post" id="photo_edit_form" > - - <input type="hidden" name="item_id" value="$item_id" /> - - <label id="photo-edit-albumname-label" for="photo-edit-albumname">$newalbum</label> - <input id="photo-edit-albumname" type="text" size="32" name="albname" value="$album" /> - - <div id="photo-edit-albumname-end"></div> - - <label id="photo-edit-caption-label" for="photo-edit-caption">$capt_label</label> - <input id="photo-edit-caption" type="text" size="84" name="desc" value="$caption" /> - - <div id="photo-edit-caption-end"></div> - - <label id="photo-edit-tags-label" for="photo-edit-newtag" >$tag_label</label> - <input name="newtag" id="photo-edit-newtag" size="84" title="$help_tags" type="text" /> - - <div id="photo-edit-tags-end"></div> - <div id="photo-edit-rotate-wrapper"> - <div id="photo-edit-rotate-label"> - $rotatecw<br> - $rotateccw - </div> - <input type="radio" name="rotate" value="1" /><br> - <input type="radio" name="rotate" value="2" /> - </div> - <div id="photo-edit-rotate-end"></div> - - <div id="photo-edit-perms" class="photo-edit-perms" > - <a href="#photo-edit-perms-select" id="photo-edit-perms-menu" class="button popupbox" title="$permissions"/> - <span id="jot-perms-icon" class="icon $lockstate" ></span>$permissions - </a> - <div id="photo-edit-perms-menu-end"></div> - - <div style="display: none;"> - <div id="photo-edit-perms-select" > - $aclselect - </div> - </div> - </div> - <div id="photo-edit-perms-end"></div> - - <input id="photo-edit-submit-button" type="submit" name="submit" value="$submit" /> - <input id="photo-edit-delete-button" type="submit" name="delete" value="$delete" onclick="return confirmDelete()"; /> - - <div id="photo-edit-end"></div> -</form> - - diff --git a/view/tpl/photo_item.tpl b/view/tpl/photo_item.tpl index 22884e848..e7d25fd55 100644..100755 --- a/view/tpl/photo_item.tpl +++ b/view/tpl/photo_item.tpl @@ -1,22 +1,22 @@ -<div class="wall-item-outside-wrapper$indent" id="wall-item-outside-wrapper-$id" > - <div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$id" > - <a href="$profile_url" title="View $name's profile" class="wall-item-photo-link" id="wall-item-photo-link-$id"> - <img src="$thumb" class="wall-item-photo" id="wall-item-photo-$id" style="height: 80px; width: 80px;" alt="$name" /></a> +<div class="wall-item-outside-wrapper{{$indent}}" id="wall-item-outside-wrapper-{{$id}}" > + <div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-{{$id}}" > + <a href="{{$profile_url}}" title="View {{$name}}'s profile" class="wall-item-photo-link" id="wall-item-photo-link-{{$id}}"> + <img src="{{$thumb}}" class="wall-item-photo" id="wall-item-photo-{{$id}}" style="height: 80px; width: 80px;" alt="{{$name}}" /></a> </div> - <div class="wall-item-wrapper" id="wall-item-wrapper-$id" > - <a href="$profile_url" title="View $name's profile" class="wall-item-name-link"><span class="wall-item-name" id="wall-item-name-$id" >$name</span></a> - <div class="wall-item-ago" id="wall-item-ago-$id">$ago</div> + <div class="wall-item-wrapper" id="wall-item-wrapper-{{$id}}" > + <a href="{{$profile_url}}" title="View {{$name}}'s profile" class="wall-item-name-link"><span class="wall-item-name" id="wall-item-name-{{$id}}" >{{$name}}</span></a> + <div class="wall-item-ago" id="wall-item-ago-{{$id}}">{{$ago}}</div> </div> - <div class="wall-item-content" id="wall-item-content-$id" > - <div class="wall-item-title" id="wall-item-title-$id">$title</div> - <div class="wall-item-body" id="wall-item-body-$id" >$body</div> + <div class="wall-item-content" id="wall-item-content-{{$id}}" > + <div class="wall-item-title" id="wall-item-title-{{$id}}">{{$title}}</div> + <div class="wall-item-body" id="wall-item-body-{{$id}}" >{{$body}}</div> </div> - $drop + {{$drop}} <div class="wall-item-wrapper-end"></div> <div class="wall-item-comment-separator"></div> - $comment + {{$comment}} -<div class="wall-item-outside-wrapper-end$indent" ></div> +<div class="wall-item-outside-wrapper-end{{$indent}}" ></div> </div> diff --git a/view/tpl/photo_top.tpl b/view/tpl/photo_top.tpl index 155cab51d..902f74232 100644..100755 --- a/view/tpl/photo_top.tpl +++ b/view/tpl/photo_top.tpl @@ -1,8 +1,7 @@ - -<div class="photo-top-image-wrapper lframe" id="photo-top-image-wrapper-$photo.id"> - <a href="$photo.link" class="photo-top-photo-link" id="photo-top-photo-link-$photo.id" title="$photo.title"> - <img src="$photo.src" alt="$photo.alt" title="$photo.title" class="photo-top-photo$photo.twist" id="photo-top-photo-$photo.id" /> +<div class="photo-top-image-wrapper lframe" id="photo-top-image-wrapper-{{$photo.id}}"> + <a href="{{$photo.link}}" class="photo-top-photo-link" id="photo-top-photo-link-{{$photo.id}}" title="{{$photo.title}}"> + <img src="{{$photo.src}}" alt="{{$photo.alt}}" title="{{$photo.title}}" class="photo-top-photo{{$photo.twist}}" id="photo-top-photo-{{$photo.id}}" /> </a> - <div class="photo-top-album-name"><a href="$photo.album.link" class="photo-top-album-link" title="$photo.album.alt" >$photo.album.name</a></div> + <div class="photo-top-album-name"><a href="{{$photo.album.link}}" class="photo-top-album-link" title="{{$photo.album.alt}}" >{{$photo.album.name}}</a></div> </div> diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl index 732caf690..f825dcba6 100644..100755 --- a/view/tpl/photo_view.tpl +++ b/view/tpl/photo_view.tpl @@ -1,37 +1,88 @@ +{{include file="prettyphoto.tpl"}} + <div id="live-display"></div> -<h3><a href="$album.0">$album.1</a></h3> +<h3><a href="{{$album.0}}">{{$album.1}}</a></h3> <div id="photo-edit-link-wrap"> -{{ if $tools }} -<a id="photo-edit-link" href="$tools.edit.0">$tools.edit.1</a> -| -<a id="photo-toprofile-link" href="$tools.profile.0">$tools.profile.1</a> -{{ endif }} -{{ if $lock }} | <img src="images/lock_icon.gif" class="lockview" alt="$lock" onclick="lockview(event,'photo/$id');" /> {{ endif }} +{{if $tools}} +<a id="photo-toprofile-link" href="{{$tools.profile.0}}">{{$tools.profile.1}}</a> +{{/if}} +{{if $lock}} | <img src="images/lock_icon.gif" class="lockview" alt="{{$lock}}" onclick="lockview(event,'photo/{{$id}}');" /> {{/if}} </div> -{{ if $prevlink }}<div id="photo-prev-link"><a href="$prevlink.0">$prevlink.1</a></div>{{ endif }} -<div id="photo-photo"><a href="$photo.href" title="$photo.title"><img src="$photo.src" /></a></div> -{{ if $nextlink }}<div id="photo-next-link"><a href="$nextlink.0">$nextlink.1</a></div>{{ endif }} +{{if $prevlink}}<div id="photo-prev-link"><a href="{{$prevlink.0}}">{{$prevlink.1}}</a></div>{{/if}} +<div id="photo-photo"><a href="{{$photo.href}}" title="{{$photo.title}}" rel="prettyPhoto"><img src="{{$photo.src}}" /></a></div> +{{if $nextlink}}<div id="photo-next-link"><a href="{{$nextlink.0}}">{{$nextlink.1}}</a></div>{{/if}} <div id="photo-photo-end"></div> -<div id="photo-caption">$desc</div> -{{ if $tags }} -<div id="in-this-photo-text">$tags.0</div> -<div id="in-this-photo">$tags.1</div> -{{ endif }} -{{ if $tags.2 }}<div id="tag-remove"><a href="$tags.2">$tags.3</a></div>{{ endif }} +<div id="photo-caption">{{$desc}}</div> +{{if $tags}} +<div id="in-this-photo-text">{{$tags.0}}</div> +<div id="in-this-photo">{{$tags.1}}</div> +{{/if}} +{{if $tags.2}}<div id="tag-remove"><a href="{{$tags.2}}">{{$tags.3}}</a></div>{{/if}} + +{{if $edit}} +<div id="photo-edit-edit-wrapper" class="fakelink" onclick="openClose('photo-edit-edit');">{{$edit.edit}}</div> +<div id="photo-edit-edit" style="display: none;"> +<form action="photos/{{$edit.nickname}}/{{$edit.resource_id}}" method="post" id="photo_edit_form" > + + <input type="hidden" name="item_id" value="{{$item_id}}" /> + + <label id="photo-edit-albumname-label" for="photo-edit-albumname">{{$edit.newalbum}}</label> + <input id="photo-edit-albumname" type="text" size="32" name="albname" value="{{$edit.album}}" /> + + <div id="photo-edit-albumname-end"></div> + + <label id="photo-edit-caption-label" for="photo-edit-caption">{{$edit.capt_label}}</label> + <input id="photo-edit-caption" type="text" size="84" name="desc" value="{{$edit.caption}}" /> -{{ if $edit }}$edit{{ endif }} + <div id="photo-edit-caption-end"></div> + + <label id="photo-edit-tags-label" for="photo-edit-newtag" >{{$edit.tag_label}}</label> + <input name="newtag" id="photo-edit-newtag" size="84" title="{{$edit.help_tags}}" type="text" /> + + <div id="photo-edit-tags-end"></div> + <div id="photo-edit-rotate-wrapper"> + <div id="photo-edit-rotate-label"> + {{$edit.rotatecw}}<br> + {{$edit.rotateccw}} + </div> + <input type="radio" name="rotate" value="1" /><br> + <input type="radio" name="rotate" value="2" /> + </div> + <div id="photo-edit-rotate-end"></div> + + <div id="photo-edit-perms" class="photo-edit-perms" > + <a href="#photo-edit-perms-select" id="photo-edit-perms-menu" class="button popupbox" title="{{$edit.permissions}}"/> + <span id="jot-perms-icon" class="icon {{$edit.lockstate}}" ></span>{{$edit.permissions}} + </a> + <div id="photo-edit-perms-menu-end"></div> + + <div style="display: none;"> + <div id="photo-edit-perms-select" > + {{$edit.aclselect}} + </div> + </div> + </div> + <div id="photo-edit-perms-end"></div> + + <input id="photo-edit-submit-button" type="submit" name="submit" value="{{$edit.submit}}" /> + <input id="photo-edit-delete-button" type="submit" name="delete" value="{{$edit.delete}}" onclick="return confirmDelete()"; /> + + <div id="photo-edit-end"></div> +</form> +</div> +{{/if}} -{{ if $likebuttons }} +{{if $likebuttons}} <div id="photo-like-div"> - $likebuttons - $like - $dislike + {{$likebuttons}} + {{$like}} + {{$dislike}} </div> -{{ endif }} +{{/if}} -$comments +{{$comments}} -$paginate +{{$paginate}} diff --git a/view/tpl/photos_recent.tpl b/view/tpl/photos_recent.tpl index 1df78cb7b..43a22a017 100644..100755 --- a/view/tpl/photos_recent.tpl +++ b/view/tpl/photos_recent.tpl @@ -1,11 +1,11 @@ -<h3>$title</h3> -{{ if $can_post }} -<a id="photo-top-upload-link" href="$upload.1">$upload.0</a> -{{ endif }} +<h3>{{$title}}</h3> +{{if $can_post}} +<a id="photo-top-upload-link" href="{{$upload.1}}">{{$upload.0}}</a> +{{/if}} <div class="photos"> -{{ for $photos as $photo }} - {{ inc photo_top.tpl }}{{ endinc }} -{{ endfor }} +{{foreach $photos as $photo}} + {{include file="photo_top.tpl"}} +{{/foreach}} </div> <div class="photos-end"></div> diff --git a/view/tpl/photos_upload.tpl b/view/tpl/photos_upload.tpl index 93c0b7d54..707024cb9 100644..100755 --- a/view/tpl/photos_upload.tpl +++ b/view/tpl/photos_upload.tpl @@ -1,45 +1,46 @@ -<h3>$pagename</h3> +<h3>{{$pagename}}</h3> -<div id="photos-usage-message">$usage</div> +<div id="photos-usage-message">{{$usage}}</div> -<form action="photos/$nickname" enctype="multipart/form-data" method="post" name="photos-upload-form" id="photos-upload-form" > +<form action="photos/{{$nickname}}" enctype="multipart/form-data" method="post" name="photos-upload-form" id="photos-upload-form" > + <input type="hidden" id="photos-upload-source" name="source" value="photos" /> <div id="photos-upload-new-wrapper" > <div id="photos-upload-newalbum-div"> - <label id="photos-upload-newalbum-text" for="photos-upload-newalbum" >$newalbum</label> + <label id="photos-upload-newalbum-text" for="photos-upload-newalbum" >{{$newalbum}}</label> </div> <input id="photos-upload-newalbum" type="text" name="newalbum" /> </div> <div id="photos-upload-new-end"></div> <div id="photos-upload-exist-wrapper"> - <div id="photos-upload-existing-album-text">$existalbumtext</div> - $albumselect + <div id="photos-upload-existing-album-text">{{$existalbumtext}}</div> + {{$albumselect}} </div> <div id="photos-upload-exist-end"></div> <div id="photos-upload-noshare-div" class="photos-upload-noshare-div" > <input id="photos-upload-noshare" type="checkbox" name="not_visible" value="1" /> - <label id="photos-upload-noshare-text" for="photos-upload-noshare" >$nosharetext</label> + <label id="photos-upload-noshare-text" for="photos-upload-noshare" >{{$nosharetext}}</label> </div> <div id="photos-upload-perms" class="photos-upload-perms" > <a href="#photos-upload-permissions-wrapper" id="photos-upload-perms-menu" class="button popupbox" /> - <span id="jot-perms-icon" class="icon $lockstate" ></span>$permissions + <span id="jot-perms-icon" class="icon {{$lockstate}}" ></span>{{$permissions}} </a> </div> <div id="photos-upload-perms-end"></div> <div style="display: none;"> <div id="photos-upload-permissions-wrapper"> - $aclselect + {{$aclselect}} </div> </div> <div id="photos-upload-spacer"></div> - $uploader + {{$uploader}} - $default + {{$default}} <div class="photos-upload-end" ></div> </form> diff --git a/view/tpl/poco_entry_xml.tpl b/view/tpl/poco_entry_xml.tpl index 4d84cee41..869894852 100644..100755 --- a/view/tpl/poco_entry_xml.tpl +++ b/view/tpl/poco_entry_xml.tpl @@ -1,7 +1,7 @@ <entry> -{{ if $entry.id }}<id>$entry.id</id>{{ endif }} -{{ if $entry.displayName }}<displayName>$entry.displayName</displayName>{{ endif }} -{{ if $entry.preferredUsername }}<preferredUsername>$entry.preferredUsername</preferredUsername>{{ endif }} -{{ if $entry.urls }}{{ for $entry.urls as $url }}<urls><value>$url.value</value><type>$url.type</type></urls>{{ endfor }}{{ endif }} -{{ if $entry.photos }}{{ for $entry.photos as $photo }}<photos><value>$photo.value</value><type>$photo.type</type></photos>{{ endfor }}{{ endif }} +{{if $entry.id}}<id>{{$entry.id}}</id>{{/if}} +{{if $entry.displayName}}<displayName>{{$entry.displayName}}</displayName>{{/if}} +{{if $entry.preferredUsername}}<preferredUsername>{{$entry.preferredUsername}}</preferredUsername>{{/if}} +{{if $entry.urls}}{{foreach $entry.urls as $url}}<urls><value>{{$url.value}}</value><type>{{$url.type}}</type></urls>{{/foreach}}{{/if}} +{{if $entry.photos}}{{foreach $entry.photos as $photo}}<photos><value>{{$photo.value}}</value><type>{{$photo.type}}</type></photos>{{/foreach}}{{/if}} </entry> diff --git a/view/tpl/poco_xml.tpl b/view/tpl/poco_xml.tpl index 9549b695d..0e38a692c 100644..100755 --- a/view/tpl/poco_xml.tpl +++ b/view/tpl/poco_xml.tpl @@ -1,18 +1,18 @@ <?xml version="1.0" encoding="utf-8"?> <response> -{{ if $response.sorted }}<sorted>$response.sorted</sorted>{{ endif }} -{{ if $response.filtered }}<filtered>$response.filtered</filtered>{{ endif }} -{{ if $response.updatedSince }}<updatedSince>$response.updatedSince</updatedSince>{{ endif }} -<startIndex>$response.startIndex</startIndex> -<itemsPerPage>$response.itemsPerPage</itemsPerPage> -<totalResults>$response.totalResults</totalResults> +{{if $response.sorted}}<sorted>{{$response.sorted}}</sorted>{{/if}} +{{if $response.filtered}}<filtered>{{$response.filtered}}</filtered>{{/if}} +{{if $response.updatedSince}}<updatedSince>{{$response.updatedSince}}</updatedSince>{{/if}} +<startIndex>{{$response.startIndex}}</startIndex> +<itemsPerPage>{{$response.itemsPerPage}}</itemsPerPage> +<totalResults>{{$response.totalResults}}</totalResults> -{{ if $response.totalResults }} -{{ for $response.entry as $entry }} -{{ inc poco_entry_xml.tpl }}{{ endinc }} -{{ endfor }} -{{ else }} +{{if $response.totalResults}} +{{foreach $response.entry as $entry}} +{{include file="poco_entry_xml.tpl"}} +{{/foreach}} +{{else}} <entry></entry> -{{ endif }} +{{/if}} </response> diff --git a/view/tpl/poke_content.tpl b/view/tpl/poke_content.tpl index b9e089f5b..22a0b291f 100644..100755 --- a/view/tpl/poke_content.tpl +++ b/view/tpl/poke_content.tpl @@ -1,32 +1,32 @@ -<h3>$title</h3> +<h3>{{$title}}</h3> -<div id="poke-desc">$desc</div> +<div id="poke-desc">{{$desc}}</div> <form action="poke" method="get"> <br /> <br /> -<div id="poke-recip-label">$clabel</div> +<div id="poke-recip-label">{{$clabel}}</div> <br /> -<input id="poke-recip" type="text" size="64" maxlength="255" value="$name" name="pokename" autocomplete="off" /> -<input id="poke-recip-complete" type="hidden" value="$id" name="cid" /> -<input id="poke-parent" type="hidden" value="$parent" name="parent" /> +<input id="poke-recip" type="text" size="64" maxlength="255" value="{{$name}}" name="pokename" autocomplete="off" /> +<input id="poke-recip-complete" type="hidden" value="{{$id}}" name="cid" /> +<input id="poke-parent" type="hidden" value="{{$parent}}" name="parent" /> <br /> <br /> -<div id="poke-action-label">$choice</div> +<div id="poke-action-label">{{$choice}}</div> <br /> <br /> <select name="verb" id="poke-verb-select" > -{{ for $verbs as $v }} -<option value="$v.0">$v.1</option> -{{ endfor }} +{{foreach $verbs as $v}} +<option value="{{$v.0}}">{{$v.1}}</option> +{{/foreach}} </select> <br /> <br /> -<div id="poke-private-desc">$prv_desc</div> -<input type="checkbox" name="private" {{ if $parent }}disabled="disabled"{{ endif }} value="1" /> +<div id="poke-private-desc">{{$prv_desc}}</div> +<input type="checkbox" name="private" {{if $parent}}disabled="disabled"{{/if}} value="1" /> <br /> <br /> -<input type="submit" name="submit" value="$submit" /> +<input type="submit" name="submit" value="{{$submit}}" /> </form> diff --git a/view/tpl/posted_date_widget.tpl b/view/tpl/posted_date_widget.tpl index 3e2ee5a3e..009fa60a6 100644..100755 --- a/view/tpl/posted_date_widget.tpl +++ b/view/tpl/posted_date_widget.tpl @@ -1,9 +1,9 @@ <div id="datebrowse-sidebar" class="widget"> - <h3>$title</h3> + <h3>{{$title}}</h3> <script>function dateSubmit(dateurl) { window.location.href = dateurl; } </script> -<select id="posted-date-selector" name="posted-date-select" onchange="dateSubmit($(this).val());" size="$size"> -{{ for $dates as $d }} -<option value="$url/$d.1/$d.2" >$d.0</option> -{{ endfor }} +<select id="posted-date-selector" name="posted-date-select" onchange="dateSubmit($(this).val());" size="{{$size}}"> +{{foreach $dates as $d}} +<option value="{{$url}}/{{$d.1}}/{{$d.2}}" >{{$d.0}}</option> +{{/foreach}} </select> </div> diff --git a/view/tpl/prettyphoto.tpl b/view/tpl/prettyphoto.tpl new file mode 100644 index 000000000..6d047e620 --- /dev/null +++ b/view/tpl/prettyphoto.tpl @@ -0,0 +1,6 @@ +<script type="text/javascript" charset="utf-8"> + $(document).ready(function(){ + $("a[rel^='prettyPhoto']").prettyPhoto(); + }); +</script> + diff --git a/view/tpl/profed_head.tpl b/view/tpl/profed_head.tpl index 2477654b3..103960a76 100644..100755 --- a/view/tpl/profed_head.tpl +++ b/view/tpl/profed_head.tpl @@ -1,11 +1,11 @@ <script language="javascript" type="text/javascript" - src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> + src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> <script language="javascript" type="text/javascript"> tinyMCE.init({ theme : "advanced", - mode : "$editselect", + mode : "{{$editselect}}", plugins : "bbcode,paste", theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code", theme_advanced_buttons2 : "", @@ -21,7 +21,7 @@ tinyMCE.init({ force_p_newlines : false, force_br_newlines : true, forced_root_block : '', - content_css: "$baseurl/view/custom_tinymce.css", + content_css: "{{$baseurl}}/view/custom_tinymce.css", theme_advanced_path : false, setup : function(ed) { ed.onInit.add(function(ed) { diff --git a/view/tpl/profile-hide-friends.tpl b/view/tpl/profile-hide-friends.tpl deleted file mode 100644 index 9ecacfbe0..000000000 --- a/view/tpl/profile-hide-friends.tpl +++ /dev/null @@ -1,16 +0,0 @@ -<p id="hide-friends-text"> -$desc -</p> - - <div id="hide-friends-yes-wrapper"> - <label id="hide-friends-yes-label" for="hide-friends-yes">$yes_str</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_str</label> - <input type="radio" name="hide-friends" id="hide-friends-no" $no_selected value="0" /> - - <div id="hide-friends-end"></div> - </div> diff --git a/view/tpl/profile-hide-wall.tpl b/view/tpl/profile-hide-wall.tpl deleted file mode 100644 index 10185e243..000000000 --- a/view/tpl/profile-hide-wall.tpl +++ /dev/null @@ -1,16 +0,0 @@ -<p id="hide-wall-text"> -$desc -</p> - - <div id="hide-wall-yes-wrapper"> - <label id="hide-wall-yes-label" for="hide-wall-yes">$yes_str</label> - <input type="radio" name="hidewall" id="hide-wall-yes" $yes_selected value="1" /> - - <div id="hide-wall-break" ></div> - </div> - <div id="hide-wall-no-wrapper"> - <label id="hide-wall-no-label" for="hide-wall-no">$no_str</label> - <input type="radio" name="hidewall" id="hide-wall-no" $no_selected value="0" /> - - <div id="hide-wall-end"></div> - </div> diff --git a/view/tpl/profile-in-directory.tpl b/view/tpl/profile-in-directory.tpl deleted file mode 100644 index 56b28d37e..000000000 --- a/view/tpl/profile-in-directory.tpl +++ /dev/null @@ -1,16 +0,0 @@ -<p id="profile-in-directory"> -$desc -</p> - - <div id="profile-in-dir-yes-wrapper"> - <label id="profile-in-dir-yes-label" for="profile-in-dir-yes">$yes_str</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_str</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> diff --git a/view/tpl/profile-in-netdir.tpl b/view/tpl/profile-in-netdir.tpl deleted file mode 100644 index 882ad2d17..000000000 --- a/view/tpl/profile-in-netdir.tpl +++ /dev/null @@ -1,16 +0,0 @@ -<p id="profile-in-directory"> -$desc -</p> - - <div id="profile-in-netdir-yes-wrapper"> - <label id="profile-in-netdir-yes-label" for="profile-in-netdir-yes">$yes_str</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_str</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> diff --git a/view/tpl/profile_advanced.tpl b/view/tpl/profile_advanced.tpl index 0bc4d3fd3..db48a8509 100644..100755 --- a/view/tpl/profile_advanced.tpl +++ b/view/tpl/profile_advanced.tpl @@ -1,170 +1,182 @@ -<h2>$title</h2> +<h2>{{$title}}</h2> <dl id="aprofile-fullname" class="aprofile"> - <dt>$profile.fullname.0</dt> - <dd>$profile.fullname.1</dd> + <dt>{{$profile.fullname.0}}</dt> + <dd>{{$profile.fullname.1}}</dd> </dl> -{{ if $profile.gender }} +{{if $profile.gender}} <dl id="aprofile-gender" class="aprofile"> - <dt>$profile.gender.0</dt> - <dd>$profile.gender.1</dd> + <dt>{{$profile.gender.0}}</dt> + <dd>{{$profile.gender.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.birthday }} +{{if $profile.birthday}} <dl id="aprofile-birthday" class="aprofile"> - <dt>$profile.birthday.0</dt> - <dd>$profile.birthday.1</dd> + <dt>{{$profile.birthday.0}}</dt> + <dd>{{$profile.birthday.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.age }} +{{if $profile.age}} <dl id="aprofile-age" class="aprofile"> - <dt>$profile.age.0</dt> - <dd>$profile.age.1</dd> + <dt>{{$profile.age.0}}</dt> + <dd>{{$profile.age.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.marital }} +{{if $profile.marital}} <dl id="aprofile-marital" class="aprofile"> - <dt><span class="heart">♥</span> $profile.marital.0</dt> - <dd>$profile.marital.1{{ if $profile.marital.with }} ($profile.marital.with){{ endif }}{{ if $profile.howlong }} $profile.howlong{{ endif }}</dd> + <dt><span class="heart">♥</span> {{$profile.marital.0}}</dt> + <dd>{{$profile.marital.1}}{{if $profile.marital.with}} ({{$profile.marital.with}}){{/if}}{{if $profile.howlong}} {{$profile.howlong}}{{/if}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.sexual }} +{{if $profile.sexual}} <dl id="aprofile-sexual" class="aprofile"> - <dt>$profile.sexual.0</dt> - <dd>$profile.sexual.1</dd> + <dt>{{$profile.sexual.0}}</dt> + <dd>{{$profile.sexual.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.keywords }} +{{if $profile.keywords}} <dl id="aprofile-tags" class="aprofile"> - <dt>$profile.keywords.0</dt> - <dd>$profile.keywords.1</dd> + <dt>{{$profile.keywords.0}}</dt> + <dd>{{$profile.keywords.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.homepage }} +{{if $profile.homepage}} <dl id="aprofile-homepage" class="aprofile"> - <dt>$profile.homepage.0</dt> - <dd>$profile.homepage.1</dd> + <dt>{{$profile.homepage.0}}</dt> + <dd>{{$profile.homepage.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.hometown }} +{{if $profile.hometown}} <dl id="aprofile-hometown" class="aprofile"> - <dt>$profile.hometown.0</dt> - <dd>$profile.hometown.1</dd> + <dt>{{$profile.hometown.0}}</dt> + <dd>{{$profile.hometown.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.politic }} +{{if $profile.politic}} <dl id="aprofile-politic" class="aprofile"> - <dt>$profile.politic.0</dt> - <dd>$profile.politic.1</dd> + <dt>{{$profile.politic.0}}</dt> + <dd>{{$profile.politic.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.religion }} +{{if $profile.religion}} <dl id="aprofile-religion" class="aprofile"> - <dt>$profile.religion.0</dt> - <dd>$profile.religion.1</dd> + <dt>{{$profile.religion.0}}</dt> + <dd>{{$profile.religion.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.about }} +{{if $profile.about}} <dl id="aprofile-about" class="aprofile"> - <dt>$profile.about.0</dt> - <dd>$profile.about.1</dd> + <dt>{{$profile.about.0}}</dt> + <dd>{{$profile.about.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.interest }} +{{if $profile.interest}} <dl id="aprofile-interest" class="aprofile"> - <dt>$profile.interest.0</dt> - <dd>$profile.interest.1</dd> + <dt>{{$profile.interest.0}}</dt> + <dd>{{$profile.interest.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.likes }} +{{if $profile.likes}} <dl id="aprofile-likes" class="aprofile"> - <dt>$profile.likes.0</dt> - <dd>$profile.likes.1</dd> + <dt>{{$profile.likes.0}}</dt> + <dd>{{$profile.likes.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.dislikes }} +{{if $profile.dislikes}} <dl id="aprofile-dislikes" class="aprofile"> - <dt>$profile.dislikes.0</dt> - <dd>$profile.dislikes.1</dd> + <dt>{{$profile.dislikes.0}}</dt> + <dd>{{$profile.dislikes.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.contact }} +{{if $profile.contact}} <dl id="aprofile-contact" class="aprofile"> - <dt>$profile.contact.0</dt> - <dd>$profile.contact.1</dd> + <dt>{{$profile.contact.0}}</dt> + <dd>{{$profile.contact.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.music }} +{{if $profile.music}} <dl id="aprofile-music" class="aprofile"> - <dt>$profile.music.0</dt> - <dd>$profile.music.1</dd> + <dt>{{$profile.music.0}}</dt> + <dd>{{$profile.music.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.book }} +{{if $profile.book}} <dl id="aprofile-book" class="aprofile"> - <dt>$profile.book.0</dt> - <dd>$profile.book.1</dd> + <dt>{{$profile.book.0}}</dt> + <dd>{{$profile.book.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.tv }} +{{if $profile.tv}} <dl id="aprofile-tv" class="aprofile"> - <dt>$profile.tv.0</dt> - <dd>$profile.tv.1</dd> + <dt>{{$profile.tv.0}}</dt> + <dd>{{$profile.tv.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.film }} +{{if $profile.film}} <dl id="aprofile-film" class="aprofile"> - <dt>$profile.film.0</dt> - <dd>$profile.film.1</dd> + <dt>{{$profile.film.0}}</dt> + <dd>{{$profile.film.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.romance }} +{{if $profile.romance}} <dl id="aprofile-romance" class="aprofile"> - <dt>$profile.romance.0</dt> - <dd>$profile.romance.1</dd> + <dt>{{$profile.romance.0}}</dt> + <dd>{{$profile.romance.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.work }} +{{if $profile.work}} <dl id="aprofile-work" class="aprofile"> - <dt>$profile.work.0</dt> - <dd>$profile.work.1</dd> + <dt>{{$profile.work.0}}</dt> + <dd>{{$profile.work.1}}</dd> </dl> -{{ endif }} +{{/if}} -{{ if $profile.education }} +{{if $profile.education}} <dl id="aprofile-education" class="aprofile"> - <dt>$profile.education.0</dt> - <dd>$profile.education.1</dd> -</dl> -{{ endif }} - - + <dt>{{$profile.education.0}}</dt> + <dd>{{$profile.education.1}}</dd> +</dl> +{{/if}} + +{{if $things}} +{{foreach $things as $key => $items}} +<b>{{$profile.fullname.1}} {{$key}}</b> +<ul class="profile-thing-list"> +{{foreach $items as $item}} +<li>{{if $item.img}}<img src="{{$item.img}}" width="100" height="100" alt="{{$item.term}}" />{{/if}} +<a href="{{$item.url}}" >{{$item.term}}</a> +</li> +{{/foreach}} +</ul> +<div class="clear"></div> +{{/foreach}} +{{/if}} diff --git a/view/tpl/profile_edit.tpl b/view/tpl/profile_edit.tpl index a498f3a65..183389b9b 100644..100755 --- a/view/tpl/profile_edit.tpl +++ b/view/tpl/profile_edit.tpl @@ -1,14 +1,14 @@ -$default +{{$default}} -<h1>$banner</h1> +<h1>{{$banner}}</h1> <div id="profile-edit-links"> <ul> -<li><a href="profile_photo" id="profile-photo_upload-link" title="$profpic">$profpic</a></li> -<li><a href="profile/$profile_id/view?tab=profile" id="profile-edit-view-link" title="$viewprof">$viewprof</a></li> -<li><a href="$profile_clone_link" id="profile-edit-clone-link" title="$cr_prof">$cl_prof</a></li> +<li><a href="profile_photo" id="profile-photo_upload-link" title="{{$profpic}}">{{$profpic}}</a></li> +<li><a href="profile/{{$profile_id}}/view" id="profile-edit-view-link" title="{{$viewprof}}">{{$viewprof}}</a></li> +<li><a href="{{$profile_clone_link}}" id="profile-edit-clone-link" title="{{$cr_prof}}">{{$cl_prof}}</a></li> <li></li> -<li><a href="$profile_drop_link" id="profile-edit-drop-link" title="$del_prof" $disabled >$del_prof</a></li> +<li><a href="{{$profile_drop_link}}" id="profile-edit-drop-link" title="{{$del_prof}}" {{$disabled}} >{{$del_prof}}</a></li> </ul> </div> @@ -17,147 +17,147 @@ $default <div id="profile-edit-wrapper" > -<form id="profile-edit-form" name="form1" action="profiles/$profile_id" method="post" > -<input type='hidden' name='form_security_token' value='$form_security_token'> +<form id="profile-edit-form" name="form1" action="profiles/{{$profile_id}}" method="post" > +<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> <div id="profile-edit-profile-name-wrapper" > -<label id="profile-edit-profile-name-label" for="profile-edit-profile-name" >$lbl_profname </label> -<input type="text" size="32" name="profile_name" id="profile-edit-profile-name" value="$profile_name" /><div class="required">*</div> +<label id="profile-edit-profile-name-label" for="profile-edit-profile-name" >{{$lbl_profname}} </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" >$lbl_fullname </label> -<input type="text" size="32" name="name" id="profile-edit-name" value="$name" /> +<label id="profile-edit-name-label" for="profile-edit-name" >{{$lbl_fullname}} </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" >$lbl_title </label> -<input type="text" size="32" name="pdesc" id="profile-edit-pdesc" value="$pdesc" /> +<label id="profile-edit-pdesc-label" for="profile-edit-pdesc" >{{$lbl_title}} </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" >$lbl_gender </label> -$gender +<label id="profile-edit-gender-label" for="gender-select" >{{$lbl_gender}} </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" >$lbl_bd </label> +<label id="profile-edit-dob-label" for="dob-select" >{{$lbl_bd}} </label> <div id="profile-edit-dob" > -$dob $age +{{$dob}} {{$age}} </div> </div> <div id="profile-edit-dob-end"></div> -$hide_friends +{{$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="{{$submit}}" /> </div> <div class="profile-edit-submit-end"></div> <div id="profile-edit-address-wrapper" > -<label id="profile-edit-address-label" for="profile-edit-address" >$lbl_address </label> -<input type="text" size="32" name="address" id="profile-edit-address" value="$address" /> +<label id="profile-edit-address-label" for="profile-edit-address" >{{$lbl_address}} </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" >$lbl_city </label> -<input type="text" size="32" name="locality" id="profile-edit-locality" value="$locality" /> +<label id="profile-edit-locality-label" for="profile-edit-locality" >{{$lbl_city}} </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" >$lbl_zip </label> -<input type="text" size="32" name="postal_code" id="profile-edit-postal-code" value="$postal_code" /> +<label id="profile-edit-postal-code-label" for="profile-edit-postal-code" >{{$lbl_zip}} </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-region-wrapper" > -<label id="profile-edit-region-label" for="profile-edit-region" >$lbl_region </label> -<input type="text" size="32" name="region" id="profile-edit-region" value="$region" /> +<label id="profile-edit-region-label" for="profile-edit-region" >{{$lbl_region}} </label> +<input type="text" size="32" name="region" id="profile-edit-region" value="{{$region}}" /> </div> <div id="profile-edit-region-end"></div> <div id="profile-edit-country-name-wrapper" > -<label id="profile-edit-country-name-label" for="profile-edit-country-name" >$lbl_country </label> -<input type="text" size="32" name="country_name" id="profile-edit-country-name" value="$country_name" /> +<label id="profile-edit-country-name-label" for="profile-edit-country-name" >{{$lbl_country}} </label> +<input type="text" size="32" name="country_name" id="profile-edit-country-name" value="{{$country_name}}" /> </div> <div id="profile-edit-country-name-end"></div> <div id="profile-edit-hometown-wrapper" > -<label id="profile-edit-hometown-label" for="profile-edit-hometown" >$lbl_hometown </label> -<input type="text" size="32" name="hometown" id="profile-edit-hometown" value="$hometown" /> +<label id="profile-edit-hometown-label" for="profile-edit-hometown" >{{$lbl_hometown}} </label> +<input type="text" size="32" name="hometown" id="profile-edit-hometown" value="{{$hometown}}" /> </div> <div id="profile-edit-hometown-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="{{$submit}}" /> </div> <div class="profile-edit-submit-end"></div> <div id="profile-edit-marital-wrapper" > -<label id="profile-edit-marital-label" for="profile-edit-marital" >$lbl_marital </label> -$marital +<label id="profile-edit-marital-label" for="profile-edit-marital" >{{$lbl_marital}} </label> +{{$marital}} </div> -<label id="profile-edit-with-label" for="profile-edit-with" > $lbl_with </label> -<input type="text" size="32" name="with" id="profile-edit-with" title="$lbl_ex1" value="$with" /> -<label id="profile-edit-howlong-label" for="profile-edit-howlong" > $lbl_howlong </label> -<input type="text" size="32" name="howlong" id="profile-edit-howlong" title="$lbl_howlong" value="$howlong" /> +<label id="profile-edit-with-label" for="profile-edit-with" > {{$lbl_with}} </label> +<input type="text" size="32" name="with" id="profile-edit-with" title="{{$lbl_ex1}}" value="{{$with}}" /> +<label id="profile-edit-howlong-label" for="profile-edit-howlong" > {{$lbl_howlong}} </label> +<input type="text" size="32" name="howlong" id="profile-edit-howlong" title="{{$lbl_howlong}}" value="{{$howlong}}" /> <div id="profile-edit-marital-end"></div> <div id="profile-edit-sexual-wrapper" > -<label id="profile-edit-sexual-label" for="sexual-select" >$lbl_sexual </label> -$sexual +<label id="profile-edit-sexual-label" for="sexual-select" >{{$lbl_sexual}} </label> +{{$sexual}} </div> <div id="profile-edit-sexual-end"></div> <div id="profile-edit-homepage-wrapper" > -<label id="profile-edit-homepage-label" for="profile-edit-homepage" >$lbl_homepage </label> -<input type="text" size="32" name="homepage" id="profile-edit-homepage" value="$homepage" /> +<label id="profile-edit-homepage-label" for="profile-edit-homepage" >{{$lbl_homepage}} </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" >$lbl_politic </label> -<input type="text" size="32" name="politic" id="profile-edit-politic" value="$politic" /> +<label id="profile-edit-politic-label" for="profile-edit-politic" >{{$lbl_politic}} </label> +<input type="text" size="32" name="politic" id="profile-edit-politic" value="{{$politic}}" /> </div> <div id="profile-edit-politic-end"></div> <div id="profile-edit-religion-wrapper" > -<label id="profile-edit-religion-label" for="profile-edit-religion" >$lbl_religion </label> -<input type="text" size="32" name="religion" id="profile-edit-religion" value="$religion" /> +<label id="profile-edit-religion-label" for="profile-edit-religion" >{{$lbl_religion}} </label> +<input type="text" size="32" name="religion" id="profile-edit-religion" value="{{$religion}}" /> </div> <div id="profile-edit-religion-end"></div> <div id="profile-edit-pubkeywords-wrapper" > -<label id="profile-edit-pubkeywords-label" for="profile-edit-pubkeywords" >$lbl_pubkey </label> -<input type="text" size="32" name="keywords" id="profile-edit-pubkeywords" title="$lbl_ex2" value="$keywords" /> -</div><div id="profile-edit-pubkeywords-desc">$lbl_pubdsc</div> +<label id="profile-edit-pubkeywords-label" for="profile-edit-pubkeywords" >{{$lbl_pubkey}} </label> +<input type="text" size="32" name="keywords" id="profile-edit-pubkeywords" title="{{$lbl_ex2}}" value="{{$keywords}}" /> +</div><div id="profile-edit-pubkeywords-desc">{{$lbl_pubdsc}}</div> <div id="profile-edit-pubkeywords-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="{{$submit}}" /> </div> <div class="profile-edit-submit-end"></div> <div id="about-jot-wrapper" > <p id="about-jot-desc" > -$lbl_about +{{$lbl_about}} </p> -<textarea rows="10" cols="72" id="profile-about-text" name="about" >$about</textarea> +<textarea rows="10" cols="72" id="profile-about-text" name="about" >{{$about}}</textarea> </div> <div id="about-jot-end"></div> @@ -165,10 +165,10 @@ $lbl_about <div id="interest-jot-wrapper" > <p id="interest-jot-desc" > -$lbl_hobbies +{{$lbl_hobbies}} </p> -<textarea rows="10" cols="72" id="interest-jot-text" name="interest" >$interest</textarea> +<textarea rows="10" cols="72" id="interest-jot-text" name="interest" >{{$interest}}</textarea> </div> <div id="interest-jot-end"></div> @@ -176,10 +176,10 @@ $lbl_hobbies <div id="likes-jot-wrapper" > <p id="likes-jot-desc" > -$lbl_likes +{{$lbl_likes}} </p> -<textarea rows="10" cols="72" id="likes-jot-text" name="likes" >$likes</textarea> +<textarea rows="10" cols="72" id="likes-jot-text" name="likes" >{{$likes}}</textarea> </div> <div id="likes-jot-end"></div> @@ -187,10 +187,10 @@ $lbl_likes <div id="dislikes-jot-wrapper" > <p id="dislikes-jot-desc" > -$lbl_dislikes +{{$lbl_dislikes}} </p> -<textarea rows="10" cols="72" id="dislikes-jot-text" name="dislikes" >$dislikes</textarea> +<textarea rows="10" cols="72" id="dislikes-jot-text" name="dislikes" >{{$dislikes}}</textarea> </div> <div id="dislikes-jot-end"></div> @@ -198,37 +198,46 @@ $lbl_dislikes <div id="contact-jot-wrapper" > <p id="contact-jot-desc" > -$lbl_social +{{$lbl_social}} </p> -<textarea rows="10" cols="72" id="contact-jot-text" name="contact" >$contact</textarea> +<textarea rows="10" cols="72" id="contact-jot-text" name="contact" >{{$contact}}</textarea> </div> <div id="contact-jot-end"></div> +<div id="channels-jot-wrapper" > +<p id="channels-jot-desc" > +{{$lbl_channels}} +</p> + +<textarea rows="10" cols="72" id="channels-jot-text" name="channels" >{{$channels}}</textarea> + +</div> +<div id="channels-jot-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="{{$submit}}" /> </div> <div class="profile-edit-submit-end"></div> <div id="music-jot-wrapper" > <p id="music-jot-desc" > -$lbl_music +{{$lbl_music}} </p> -<textarea rows="10" cols="72" id="music-jot-text" name="music" >$music</textarea> +<textarea rows="10" cols="72" id="music-jot-text" name="music" >{{$music}}</textarea> </div> <div id="music-jot-end"></div> <div id="book-jot-wrapper" > <p id="book-jot-desc" > -$lbl_book +{{$lbl_book}} </p> -<textarea rows="10" cols="72" id="book-jot-text" name="book" >$book</textarea> +<textarea rows="10" cols="72" id="book-jot-text" name="book" >{{$book}}</textarea> </div> <div id="book-jot-end"></div> @@ -237,10 +246,10 @@ $lbl_book <div id="tv-jot-wrapper" > <p id="tv-jot-desc" > -$lbl_tv +{{$lbl_tv}} </p> -<textarea rows="10" cols="72" id="tv-jot-text" name="tv" >$tv</textarea> +<textarea rows="10" cols="72" id="tv-jot-text" name="tv" >{{$tv}}</textarea> </div> <div id="tv-jot-end"></div> @@ -249,27 +258,27 @@ $lbl_tv <div id="film-jot-wrapper" > <p id="film-jot-desc" > -$lbl_film +{{$lbl_film}} </p> -<textarea rows="10" cols="72" id="film-jot-text" name="film" >$film</textarea> +<textarea rows="10" cols="72" id="film-jot-text" name="film" >{{$film}}</textarea> </div> <div id="film-jot-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="{{$submit}}" /> </div> <div class="profile-edit-submit-end"></div> <div id="romance-jot-wrapper" > <p id="romance-jot-desc" > -$lbl_love +{{$lbl_love}} </p> -<textarea rows="10" cols="72" id="romance-jot-text" name="romance" >$romance</textarea> +<textarea rows="10" cols="72" id="romance-jot-text" name="romance" >{{$romance}}</textarea> </div> <div id="romance-jot-end"></div> @@ -278,10 +287,10 @@ $lbl_love <div id="work-jot-wrapper" > <p id="work-jot-desc" > -$lbl_work +{{$lbl_work}} </p> -<textarea rows="10" cols="72" id="work-jot-text" name="work" >$work</textarea> +<textarea rows="10" cols="72" id="work-jot-text" name="work" >{{$work}}</textarea> </div> <div id="work-jot-end"></div> @@ -290,10 +299,10 @@ $lbl_work <div id="education-jot-wrapper" > <p id="education-jot-desc" > -$lbl_school +{{$lbl_school}} </p> -<textarea rows="10" cols="72" id="education-jot-text" name="education" >$education</textarea> +<textarea rows="10" cols="72" id="education-jot-text" name="education" >{{$education}}</textarea> </div> <div id="education-jot-end"></div> @@ -301,7 +310,7 @@ $lbl_school <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="{{$submit}}" /> </div> <div class="profile-edit-submit-end"></div> diff --git a/view/tpl/profile_edlink.tpl b/view/tpl/profile_edlink.tpl index ea787b9f5..247bfaace 100644..100755 --- a/view/tpl/profile_edlink.tpl +++ b/view/tpl/profile_edlink.tpl @@ -1,2 +1,2 @@ -<div class="profile-edit-side-div"><a class="profile-edit-side-link icon edit" title="$editprofile" href="profiles/$profid" ></a></div> -<div class="clear"></div>
\ No newline at end of file +<div class="profile-edit-side-div"><a class="profile-edit-side-link icon edit" title="{{$editprofile}}" href="profiles/{{$profid}}" ></a></div> +<div class="clear"></div> diff --git a/view/tpl/profile_entry.tpl b/view/tpl/profile_entry.tpl index 7ff6d685b..cc0f3477c 100644..100755 --- a/view/tpl/profile_entry.tpl +++ b/view/tpl/profile_entry.tpl @@ -1,11 +1,10 @@ - <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="$alt" /></a> +<a href="profiles/{{$id}}" class="profile-listing-edit-link"><img class="profile-listing-photo" id="profile-listing-photo-{{$id}}" src="{{$photo}}" alt="{{$alt}}" /></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> -<div class="profile-listing-visible">$visible</div> +<div class="profile-listing-name" id="profile-listing-name-{{$id}}"><a href="profiles/{{$id}}" class="profile-listing-edit-link" >{{$profile_name}}</a></div> +<div class="profile-listing-visible">{{$visible}}</div> </div> <div class="profile-listing-end"></div> diff --git a/view/tpl/profile_listing_header.tpl b/view/tpl/profile_listing_header.tpl index 61a273792..b771a1ea2 100644..100755 --- a/view/tpl/profile_listing_header.tpl +++ b/view/tpl/profile_listing_header.tpl @@ -1,8 +1,8 @@ -<h1>$header</h1> +<h1>{{$header}}</h1> <p id="profile-listing-desc" class="button" > -<a href="profile_photo" >$chg_photo</a> +<a href="profile_photo" >{{$chg_photo}}</a> </p> <div id="profile-listing-new-link-wrapper" class="button" > -<a href="$cr_new_link" id="profile-listing-new-link" title="$cr_new" >$cr_new</a> +<a href="{{$cr_new_link}}" id="profile-listing-new-link" title="{{$cr_new}}" >{{$cr_new}}</a> </div> diff --git a/view/tpl/profile_photo.tpl b/view/tpl/profile_photo.tpl index 05952afa4..48a3c7f26 100644..100755 --- a/view/tpl/profile_photo.tpl +++ b/view/tpl/profile_photo.tpl @@ -1,29 +1,29 @@ -<h1>$title</h1> +<h1>{{$title}}</h1> <form enctype="multipart/form-data" action="profile_photo" method="post"> -<input type='hidden' name='form_security_token' value='$form_security_token'> +<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> <div id="profile-photo-upload-wrapper"> -<label id="profile-photo-upload-label" class="form-label" for="profile-photo-upload">$lbl_upfile</label> +<label id="profile-photo-upload-label" class="form-label" for="profile-photo-upload">{{$lbl_upfile}}</label> <input name="userfile" class="form-input" type="file" id="profile-photo-upload" size="48" /> <div class="clear"></div> -<label id="profile-photo-profiles-label" class="form-label" for="profile-photo-profiles">$lbl_profiles</label> +<label id="profile-photo-profiles-label" class="form-label" for="profile-photo-profiles">{{$lbl_profiles}}</label> <select name="profile" id="profile-photo-profiles" class="form-input" > -{{ for $profiles as $p }} -<option value="$p.id" {{ if $p.is_default }}selected="selected"{{ endif }}>$p.name</option> -{{ endfor }} +{{foreach $profiles as $p}} +<option value="{{$p.id}}" {{if $p.is_default}}selected="selected"{{/if}}>{{$p.name}}</option> +{{/foreach}} </select> <div class="clear"></div> <div id="profile-photo-submit-wrapper"> -<input type="submit" name="submit" id="profile-photo-submit" value="$submit"> +<input type="submit" name="submit" id="profile-photo-submit" value="{{$submit}}"> </div> </div> </form> <div id="profile-photo-link-select-wrapper"> -$select -</div>
\ No newline at end of file +{{$select}} +</div> diff --git a/view/tpl/profile_publish.tpl b/view/tpl/profile_publish.tpl deleted file mode 100644 index 8fd0bc913..000000000 --- a/view/tpl/profile_publish.tpl +++ /dev/null @@ -1,16 +0,0 @@ -<p id="profile-publish-desc-$instance"> -$pubdesc -</p> - - <div id="profile-publish-yes-wrapper-$instance"> - <label id="profile-publish-yes-label-$instance" for="profile-publish-yes-$instance">$str_yes</label> - <input type="radio" name="profile_publish_$instance" id="profile-publish-yes-$instance" $yes_selected value="1" /> - - <div id="profile-publish-break-$instance" ></div> - </div> - <div id="profile-publish-no-wrapper-$instance"> - <label id="profile-publish-no-label-$instance" for="profile-publish-no-$instance">$str_no</label> - <input type="radio" name="profile_publish_$instance" id="profile-publish-no-$instance" $no_selected value="0" /> - - <div id="profile-publish-end-$instance"></div> - </div> diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index 323658463..13460c2d9 100644..100755 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -1,52 +1,52 @@ <div class="vcard"> - {{ if $profile.edit }} + {{if $profile.edit}} <div class="action"> - <a class="profile-edit-side-link icon edit" rel="#profiles-menu" title="$profile.edit.3" href="#" ><span>$profile.edit.1</span></a> + <a class="profile-edit-side-link icon edit" rel="#profiles-menu" title="{{$profile.edit.3}}" href="#" ><span>{{$profile.edit.1}}</span></a> <ul id="profiles-menu" class="menu-popup"> - {{ for $profile.menu.entries as $e }} + {{foreach $profile.menu.entries as $e}} <li> - <a href="profiles/$e.id"><img src='$e.photo'>$e.profile_name</a> + <a href="profiles/{{$e.id}}"><img src='{{$e.photo}}'>{{$e.profile_name}}</a> </li> - {{ endfor }} - <li><a href="profile_photo" >$profile.menu.chg_photo</a></li> - <li><a href="profiles/new" id="profile-listing-new-link">$profile.menu.cr_new</a></li> + {{/foreach}} + <li><a href="profile_photo" >{{$profile.menu.chg_photo}}</a></li> + <li><a href="profiles/new" id="profile-listing-new-link">{{$profile.menu.cr_new}}</a></li> </ul> </div> - {{ endif }} + {{/if}} - <div class="fn label">$profile.name</div> + <div class="fn label">{{$profile.name}}</div> - {{ if $pdesc }}<div class="title">$profile.pdesc</div>{{ endif }} - <div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="$profile.photo?rev=$profile.picdate" alt="$profile.name"></div> + {{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}} + <div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></div> - {{ if $location }} - <dl class="location"><dt class="location-label">$location</dt> + {{if $location}} + <dl class="location"><dt class="location-label">{{$location}}</dt> <dd class="adr"> - {{ if $profile.address }}<div class="street-address">$profile.address</div>{{ endif }} + {{if $profile.address}}<div class="street-address">{{$profile.address}}</div>{{/if}} <span class="city-state-zip"> - <span class="locality">$profile.locality</span>{{ if $profile.locality }}, {{ endif }} - <span class="region">$profile.region</span> - <span class="postal-code">$profile.postal_code</span> + <span class="locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}} + <span class="region">{{$profile.region}}</span> + <span class="postal-code">{{$profile.postal_code}}</span> </span> - {{ if $profile.country_name }}<span class="country-name">$profile.country_name</span>{{ endif }} + {{if $profile.country_name}}<span class="country-name">{{$profile.country_name}}</span>{{/if}} </dd> </dl> - {{ endif }} + {{/if}} - {{ if $gender }}<dl class="mf"><dt class="gender-label">$gender</dt> <dd class="x-gender">$profile.gender</dd></dl>{{ endif }} + {{if $gender}}<dl class="mf"><dt class="gender-label">{{$gender}}</dt> <dd class="x-gender">{{$profile.gender}}</dd></dl>{{/if}} - {{ if $marital }}<dl class="marital"><dt class="marital-label"><span class="heart">♥</span>$marital</dt><dd class="marital-text">$profile.marital</dd></dl>{{ endif }} + {{if $marital}}<dl class="marital"><dt class="marital-label"><span class="heart">♥</span>{{$marital}}</dt><dd class="marital-text">{{$profile.marital}}</dd></dl>{{/if}} - {{ if $homepage }}<dl class="homepage"><dt class="homepage-label">$homepage</dt><dd class="homepage-url"><a href="$profile.homepage" >$profile.homepage</a></dd></dl>{{ endif }} + {{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a href="{{$profile.homepage}}" >{{$profile.homepage}}</a></dd></dl>{{/if}} </div> <div id="vcard-end"></div> -$contact_block +{{$contact_block}} diff --git a/view/tpl/prv_message.tpl b/view/tpl/prv_message.tpl index 3f0bd937f..2ddf75544 100644..100755 --- a/view/tpl/prv_message.tpl +++ b/view/tpl/prv_message.tpl @@ -1,37 +1,36 @@ - -<h3>$header</h3> +<h3>{{$header}}</h3> <div id="prvmail-wrapper" > <form id="prvmail-form" action="message" method="post" > -$parent +{{$parent}} -<div id="prvmail-to-label">$to</div> +<div id="prvmail-to-label">{{$to}}</div> -{{ if $showinputs }} -<input type="text" id="recip" name="messagerecip" value="$prefill" maxlength="255" size="64" tabindex="10" /> -<input type="hidden" id="recip-complete" name="messageto" value="$preid"> -{{ else }} -$select -{{ endif }} +{{if $showinputs}} +<input type="text" id="recip" name="messagerecip" value="{{$prefill}}" maxlength="255" size="64" tabindex="10" /> +<input type="hidden" id="recip-complete" name="messageto" value="{{$preid}}"> +{{else}} +{{$select}} +{{/if}} -<div id="prvmail-subject-label">$subject</div> -<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$subjtxt" $readonly tabindex="11" /> +<div id="prvmail-subject-label">{{$subject}}</div> +<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$subjtxt}}" {{$readonly}} tabindex="11" /> -<div id="prvmail-message-label">$yourmessage</div> -<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$text</textarea> +<div id="prvmail-message-label">{{$yourmessage}}</div> +<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$text}}</textarea> <div id="prvmail-submit-wrapper" > - <input type="submit" id="prvmail-submit" name="submit" value="$submit" tabindex="13" /> + <input type="submit" id="prvmail-submit" name="submit" value="{{$submit}}" tabindex="13" /> <div id="prvmail-upload-wrapper" > - <div id="prvmail-upload" class="icon border camera" title="$upload" ></div> + <div id="prvmail-upload" class="icon border camera" title="{{$upload}}" ></div> </div> <div id="prvmail-link-wrapper" > - <div id="prvmail-link" class="icon border link" title="$insert" onclick="jotGetLink();" ></div> + <div id="prvmail-link" class="icon border link" title="{{$insert}}" onclick="jotGetLink();" ></div> </div> <div id="prvmail-rotator-wrapper" > - <img id="prvmail-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" /> + <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" /> </div> </div> <div id="prvmail-end"></div> diff --git a/view/tpl/pwdreset.tpl b/view/tpl/pwdreset.tpl index 497b93396..3993dec64 100644..100755 --- a/view/tpl/pwdreset.tpl +++ b/view/tpl/pwdreset.tpl @@ -1,17 +1,17 @@ -<h3>$lbl1</h3> +<h3>{{$lbl1}}</h3> <p> -$lbl2 +{{$lbl2}} </p> <p> -$lbl3 +{{$lbl3}} </p> <p> -$newpass +{{$newpass}} </p> <p> -$lbl4 $lbl5 +{{$lbl4}} {{$lbl5}} </p> <p> -$lbl6 +{{$lbl6}} </p> diff --git a/view/tpl/register.tpl b/view/tpl/register.tpl index 4b565718d..48c1ba525 100644..100755 --- a/view/tpl/register.tpl +++ b/view/tpl/register.tpl @@ -1,45 +1,45 @@ -<h2>$title</h2> +<h2>{{$title}}</h2> <form action="register" method="post" id="register-form"> -{{ if $registertext }} -<div id="register-desc" class="descriptive-paragraph">$registertext</div> -{{ endif }} +{{if $registertext}} +<div id="register-desc" class="descriptive-paragraph">{{$registertext}}</div> +{{/if}} -{{ if $invitations }} - <p id="register-invite-desc">$invite_desc</p> +{{if $invitations}} + <p id="register-invite-desc">{{$invite_desc}}</p> - <label for="register-invite" id="label-register-invite" class="register-label">$label_invite</label> - <input type="text" maxlength="72" size="32" name="invite_code" id="register-invite" class="register-input" value="$invite_code" /> + <label for="register-invite" id="label-register-invite" class="register-label">{{$label_invite}}</label> + <input type="text" maxlength="72" size="32" name="invite_code" id="register-invite" class="register-input" value="{{$invite_code}}" /> <div id="register-invite-feedback" class="register-feedback"></div> <div id="register-invite-end" class="register-field-end"></div> -{{ endif }} +{{/if}} - <label for="register-email" id="label-register-email" class="register-label" >$label_email</label> - <input type="text" maxlength="72" size="32" name="email" id="register-email" class="register-input" value="$email" /> + <label for="register-email" id="label-register-email" class="register-label" >{{$label_email}}</label> + <input type="text" maxlength="72" size="32" name="email" id="register-email" class="register-input" value="{{$email}}" /> <div id="register-email-feedback" class="register-feedback"></div> <div id="register-email-end" class="register-field-end"></div> - <label for="register-password" id="label-register-password" class="register-label" >$label_pass1</label> - <input type="password" maxlength="72" size="32" name="password" id="register-password" class="register-input" value="$pass1" /> + <label for="register-password" id="label-register-password" class="register-label" >{{$label_pass1}}</label> + <input type="password" maxlength="72" size="32" name="password" id="register-password" class="register-input" value="{{$pass1}}" /> <div id="register-password-feedback" class="register-feedback"></div> <div id="register-password-end" class="register-field-end"></div> - <label for="register-password2" id="label-register-password2" class="register-label" >$label_pass2</label> - <input type="password" maxlength="72" size="32" name="password2" id="register-password2" class="register-input" value="$pass2" /> + <label for="register-password2" id="label-register-password2" class="register-label" >{{$label_pass2}}</label> + <input type="password" maxlength="72" size="32" name="password2" id="register-password2" class="register-input" value="{{$pass2}}" /> <div id="register-password2-feedback" class="register-feedback"></div> <div id="register-password2-end" class="register-field-end"></div> - {{ if $enable_tos }} + {{if $enable_tos}} <input type="checkbox" name="tos" id="register-tos" value="1" /> - <label for="register-tos" id="label-register-tos">$label_tos</label> + <label for="register-tos" id="label-register-tos">{{$label_tos}}</label> <div id="register-tos-feedback" class="register-feedback"></div> <div id="register-tos-end" class="register-field-end"></div> - {{ else }} + {{else}} <input type="hidden" name="tos" value="1" /> - {{ endif }} + {{/if}} - <input type="submit" name="submit" id="register-submit-button" value="$submit" /> + <input type="submit" name="submit" id="register-submit-button" value="{{$submit}}" /> <div id="register-submit-end" class="register-field-end"></div> </form> diff --git a/view/tpl/remote_friends_common.tpl b/view/tpl/remote_friends_common.tpl index 48bdd548f..d6d2fd211 100644..100755 --- a/view/tpl/remote_friends_common.tpl +++ b/view/tpl/remote_friends_common.tpl @@ -1,21 +1,21 @@ <div id="remote-friends-in-common" class="bigwidget"> - <div id="rfic-desc">$desc {{ if $linkmore }}<a href="$base/common/$uid">$more</a>{{ endif }}</div> - {{ if $items }} - {{ for $items as $item }} + <div id="rfic-desc">{{$desc}} {{if $linkmore}}<a href="{{$base}}/common/{{$uid}}">{{$more}}</a>{{/if}}</div> + {{if $items}} + {{foreach $items as $item}} <div class="profile-match-wrapper"> <div class="profile-match-photo"> - <a href="$base/chanview?f=&url=$item.xchan_url"> - <img src="$item.xchan_photo_m" width="80" height="80" alt="$item.xchan_name" title="$item.xchan_name" /> + <a href="{{$base}}/chanview?f=&url={{$item.xchan_url}}"> + <img src="{{$item.xchan_photo_m}}" width="80" height="80" alt="{{$item.xchan_name}}" title="{{$item.xchan_name}}" /> </a> </div> <div class="profile-match-break"></div> <div class="profile-match-name"> - <a href="$base/chanview?f=&url=$item.xchan_url" title="$item.xchan_name">$item.xchan_name</a> + <a href="{{$base}}/chanview?f=&url={{$item.xchan_url}}" title="{{$item.xchan_name}}">{{$item.xchan_name}}</a> </div> <div class="profile-match-end"></div> </div> - {{ endfor }} - {{ endif }} + {{/foreach}} + {{/if}} <div id="rfic-end" class="clear"></div> </div> diff --git a/view/tpl/removeme.tpl b/view/tpl/removeme.tpl index a3ca8d4cf..496f91ff5 100644..100755 --- a/view/tpl/removeme.tpl +++ b/view/tpl/removeme.tpl @@ -1,19 +1,19 @@ -<h1>$title</h1> +<h1>{{$title}}</h1> <div id="remove-account-wrapper"> -<div id="remove-account-desc">$desc</div> +<div id="remove-account-desc">{{$desc}}</div> -<form action="$basedir/removeme" autocomplete="off" method="post" > -<input type="hidden" name="verify" value="$hash" /> +<form action="{{$basedir}}/removeme" autocomplete="off" method="post" > +<input type="hidden" name="verify" value="{{$hash}}" /> <div id="remove-account-pass-wrapper"> -<label id="remove-account-pass-label" for="remove-account-pass">$passwd</label> +<label id="remove-account-pass-label" for="remove-account-pass">{{$passwd}}</label> <input type="password" id="remove-account-pass" name="qxz_password" /> </div> <div id="remove-account-pass-end"></div> -<input type="submit" name="submit" value="$submit" /> +<input type="submit" name="submit" value="{{$submit}}" /> </form> </div> diff --git a/view/tpl/rmagic.tpl b/view/tpl/rmagic.tpl index f16abe975..58df71718 100644..100755 --- a/view/tpl/rmagic.tpl +++ b/view/tpl/rmagic.tpl @@ -1,11 +1,11 @@ -<h3>$title</h3> +<h3>{{$title}}</h3> <form action="rmagic" method="post" > - <label for="rmagic-address" id="label-rmagic-address" class="rmagic-label">$desc</label> + <label for="rmagic-address" id="label-rmagic-address" class="rmagic-label">{{$desc}}</label> <input type="text" maxlength="255" size="32" name="address" id="rmagic-address" class="rmagic-input" value="" /> - <input type="submit" name="submit" id="rmagic-submit-button" value="$submit" /> + <input type="submit" name="submit" id="rmagic-submit-button" value="{{$submit}}" /> <div id="rmagic-submit-end" class="rmagic-field-end"></div> </form> diff --git a/view/tpl/saved_searches_aside.tpl b/view/tpl/saved_searches_aside.tpl index a204c48ff..27c7d86a0 100644..100755 --- a/view/tpl/saved_searches_aside.tpl +++ b/view/tpl/saved_searches_aside.tpl @@ -1,14 +1,14 @@ <div class="widget" id="saved-search-list"> - <h3 id="search">$title</h3> - $searchbox + <h3 id="search">{{$title}}</h3> + {{$searchbox}} <ul id="saved-search-ul"> - {{ for $saved as $search }} + {{foreach $saved as $search}} <li class="saved-search-li clear"> - <a title="$search.delete" onclick="return confirmDelete();" id="drop-saved-search-term-$search.id" class="iconspacer savedsearchdrop " href="network/?f=&remove=1&search=$search.encodedterm"></a> - <a id="saved-search-term-$search.id" class="savedsearchterm" href="network/?f=&search=$search.encodedterm">$search.displayterm</a> + <a title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" class="iconspacer savedsearchdrop " href="network/?f=&remove=1&search={{$search.encodedterm}}"></a> + <a id="saved-search-term-{{$search.id}}" class="savedsearchterm" href="network/?f=&search={{$search.encodedterm}}">{{$search.displayterm}}</a> </li> - {{ endfor }} + {{/foreach}} </ul> <div class="clear"></div> </div> diff --git a/view/tpl/search_item.tpl b/view/tpl/search_item.tpl index 304fca4d5..bb796346d 100644..100755 --- a/view/tpl/search_item.tpl +++ b/view/tpl/search_item.tpl @@ -1,62 +1,62 @@ -<div id="thread-wrapper-$item.id" class="thread-wrapper $item.toplevel"> -<a name="$item.id" ></a> -<div class="wall-item-outside-wrapper $item.indent$item.previewing" id="wall-item-outside-wrapper-$item.id" > - <div class="wall-item-content-wrapper $item.indent$item.previewing" id="wall-item-content-wrapper-$item.id" > - <div class="wall-item-info" id="wall-item-info-$item.id"> - <div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$item.id" - onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')" - onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)"> - <a href="$item.profile_url" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id"> - <img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" /></a> - <span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span> - <div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id"> +<div id="thread-wrapper-{{$item.id}}" class="thread-wrapper {{$item.toplevel}}"> +<a name="{{$item.id}}" ></a> +<div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}}" id="wall-item-outside-wrapper-{{$item.id}}" > + <div class="wall-item-content-wrapper {{$item.indent}}{{$item.previewing}}" id="wall-item-content-wrapper-{{$item.id}}" > + <div class="wall-item-info" id="wall-item-info-{{$item.id}}"> + <div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-{{$item.id}}" + onmouseover="if (typeof t{{$item.id}} != 'undefined') clearTimeout(t{{$item.id}}); openMenu('wall-item-photo-menu-button-{{$item.id}}')" + onmouseout="t{{$item.id}}=setTimeout('closeMenu(\'wall-item-photo-menu-button-{{$item.id}}\'); closeMenu(\'wall-item-photo-menu-{{$item.id}}\');',200)"> + <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}"> + <img src="{{$item.thumb}}" class="wall-item-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.name}}" /></a> + <span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span> + <div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}"> <ul> - $item.item_photo_menu + {{$item.item_photo_menu}} </ul> </div> </div> <div class="wall-item-photo-end"></div> - <div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" > - {{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div> - {{ else }}<div class="wall-item-lock"></div>{{ endif }} - <div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div> + <div class="wall-item-wrapper" id="wall-item-wrapper-{{$item.id}}" > + {{if $item.lock}}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" /></div> + {{else}}<div class="wall-item-lock"></div>{{/if}} + <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div> </div> </div> <div class="wall-item-author"> - <a href="$item.profile_url" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a> + <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span></a> - <div id="wall-item-ago-$item.id" class="wall-item-ago"><abbr class="wall-item-ago-time" title="$item.localtime">$item.ago</abbr>{{ if $item.app }}<span class="item.app">$item.str_app</span>{{ endif }}</div> + <div class="wall-item-ago" id="wall-item-ago-{{$item.id}}"><span class="autotime" title="{{$item.isotime}}">{{$item.localtime}}</span>{{if $item.app}}<span class="item.app">{{$item.str_app}}</span>{{/if}}</div> </div> - <div class="wall-item-content" id="wall-item-content-$item.id" > - <div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div> + <div class="wall-item-content" id="wall-item-content-{{$item.id}}" > + <div class="wall-item-title" id="wall-item-title-{{$item.id}}">{{$item.title}}</div> <div class="wall-item-title-end"></div> - <div class="wall-item-body" id="wall-item-body-$item.id" >$item.body + <div class="wall-item-body" id="wall-item-body-{{$item.id}}" >{{$item.body}} <div class="body-tag"> - {{ for $item.tags as $tag }} - <span class='tag'>$tag</span> - {{ endfor }} + {{foreach $item.tags as $tag}} + <span class='tag'>{{$tag}}</span> + {{/foreach}} </div> </div> </div> - <div class="wall-item-tools" id="wall-item-tools-$item.id"> - <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" > - {{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }} + <div class="wall-item-tools" id="wall-item-tools-{{$item.id}}"> + <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" > + {{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{/if}} </div> - {{ if $item.drop.pagedropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }} + {{if $item.drop.pagedropping}}<input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}} <div class="wall-item-delete-end"></div> </div> </div> <div class="wall-item-wrapper-end"></div> - <div class="wall-item-conv" id="wall-item-conv-$item.id" > - {{ if $item.conv }} - <a href='$item.conv.href' id='context-$item.id' title='$item.conv.title'>$item.conv.title</a> - {{ endif }} + <div class="wall-item-conv" id="wall-item-conv-{{$item.id}}" > + {{if $item.conv}} + <a href='{{$item.conv.href}}' id='context-{{$item.id}}' title='{{$item.conv.title}}'>{{$item.conv.title}}</a> + {{/if}} </div> -<div class="wall-item-outside-wrapper-end $item.indent" ></div> +<div class="wall-item-outside-wrapper-end {{$item.indent}}" ></div> </div> </div> diff --git a/view/tpl/settings.tpl b/view/tpl/settings.tpl index ea44c1240..9a3a1ce8b 100644..100755 --- a/view/tpl/settings.tpl +++ b/view/tpl/settings.tpl @@ -1,71 +1,80 @@ -<h1>$ptitle</h1> +<h1>{{$ptitle}}</h1> -$nickname_block +{{$nickname_block}} <form action="settings" id="settings-form" method="post" autocomplete="off" > -<input type='hidden' name='form_security_token' value='$form_security_token'> +<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> -<h3 class="settings-heading">$h_basic</h3> +<h3 class="settings-heading">{{$h_basic}}</h3> -{{inc field_input.tpl with $field=$username }}{{endinc}} -{{inc field_custom.tpl with $field=$timezone }}{{endinc}} -{{inc field_input.tpl with $field=$defloc }}{{endinc}} -{{inc field_checkbox.tpl with $field=$allowloc }}{{endinc}} +{{include file="field_input.tpl" field=$username}} +{{include file="field_custom.tpl" field=$timezone}} +{{include file="field_input.tpl" field=$defloc}} +{{include file="field_checkbox.tpl" field=$allowloc}} <div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="$submit" /> +<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> </div> -<h3 class="settings-heading">$h_prv</h3> +<h3 class="settings-heading">{{$h_prv}}</h3> + +<div id="settings-privacy-macros">{{$lbl_pmacro}}</div> +<ul> +<li><a href="#" onclick="channel_privacy_macro(3); return false" id="settings_pmacro3">{{$pmacro3}}</a></li> +<li><a href="#" onclick="channel_privacy_macro(2); return false" id="settings_pmacro2">{{$pmacro2}}</a></li> +<li><a href="#" onclick="channel_privacy_macro(1); return false" id="settings_pmacro1">{{$pmacro1}}</a></li> +<li><a href="#" onclick="channel_privacy_macro(0); return false" id="settings_pmacro0">{{$pmacro0}}</a></li> +</ul> + <div id="settings-permissions-wrapper"> -{{ for $permiss_arr as $permit }} -{{inc field_select.tpl with $field=$permit }}{{endinc}} -{{ endfor }} +{{foreach $permiss_arr as $permit}} +{{include file="field_select.tpl" field=$permit}} +{{/foreach}} </div> <div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="$submit" /> +<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> </div> -$profile_in_dir +{{$profile_in_dir}} -$suggestme +{{$suggestme}} -{{inc field_input.tpl with $field=$maxreq }}{{endinc}} +{{include file="field_input.tpl" field=$maxreq}} -{{inc field_input.tpl with $field=$cntunkmail }}{{endinc}} +{{include file="field_input.tpl" field=$cntunkmail}} -{{inc field_input.tpl with $field=$expire.days }}{{endinc}} +{{include file="field_input.tpl" field=$expire.days}} <div class="field input"> - <span class="field_help"><a href="#advanced-expire-popup" id="advanced-expire" class='popupbox' title="$expire.advanced">$expire.label</a></span> + <span class="field_help"><a href="#advanced-expire-popup" id="advanced-expire" class='popupbox' title="{{$expire.advanced}}">{{$expire.label}}</a></span> <div style="display: none;"> <div id="advanced-expire-popup" style="width:auto;height:auto;overflow:auto;"> - <h3>$expire.advanced</h3> - {{ inc field_yesno.tpl with $field=$expire.items }}{{endinc}} - {{ inc field_yesno.tpl with $field=$expire.starred }}{{endinc}} - {{ inc field_yesno.tpl with $field=$expire.network_only }}{{endinc}} + <h3>{{$expire.advanced}}</h3> + {{include file="field_yesno.tpl" field=$expire.items}} + {{include file="field_yesno.tpl" field=$expire.starred}} + {{include file="field_yesno.tpl" field=$expire.network_only}} </div> </div> </div> <div id="settings-default-perms" class="settings-default-perms" > - <a href="#profile-jot-acl-wrapper" id="settings-default-perms-menu" class='popupbox'>$permissions $permdesc</a> + <a href="#profile-jot-acl-wrapper" id="settings-default-perms-menu" class='popupbox'>{{$permissions}} {{$permdesc}}</a> <div id="settings-default-perms-menu-end"></div> <div id="settings-default-perms-select" style="display: none; margin-bottom: 20px" > <div style="display: none;"> <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;"> - $aclselect + {{$aclselect}} </div> </div> @@ -74,41 +83,41 @@ $suggestme <br/> <div id="settings-default-perms-end"></div> -$group_select +{{$group_select}} <div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="$submit" /> +<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> </div> -<h3 class="settings-heading">$h_not</h3> +<h3 class="settings-heading">{{$h_not}}</h3> <div id="settings-notifications"> -<div id="settings-activity-desc">$activity_options</div> +<div id="settings-activity-desc">{{$activity_options}}</div> -{{inc field_checkbox.tpl with $field=$post_newfriend }}{{endinc}} -{{inc field_checkbox.tpl with $field=$post_joingroup }}{{endinc}} -{{inc field_checkbox.tpl with $field=$post_profilechange }}{{endinc}} +{{include file="field_checkbox.tpl" field=$post_newfriend}} +{{include file="field_checkbox.tpl" field=$post_joingroup}} +{{include file="field_checkbox.tpl" field=$post_profilechange}} -<div id="settings-notify-desc">$lbl_not</div> +<div id="settings-notify-desc">{{$lbl_not}}</div> <div class="group"> -{{inc field_intcheckbox.tpl with $field=$notify1 }}{{endinc}} -{{inc field_intcheckbox.tpl with $field=$notify2 }}{{endinc}} -{{inc field_intcheckbox.tpl with $field=$notify3 }}{{endinc}} -{{inc field_intcheckbox.tpl with $field=$notify4 }}{{endinc}} -{{inc field_intcheckbox.tpl with $field=$notify5 }}{{endinc}} -{{inc field_intcheckbox.tpl with $field=$notify6 }}{{endinc}} -{{inc field_intcheckbox.tpl with $field=$notify7 }}{{endinc}} -{{inc field_intcheckbox.tpl with $field=$notify8 }}{{endinc}} +{{include file="field_intcheckbox.tpl" field=$notify1}} +{{include file="field_intcheckbox.tpl" field=$notify2}} +{{include file="field_intcheckbox.tpl" field=$notify3}} +{{include file="field_intcheckbox.tpl" field=$notify4}} +{{include file="field_intcheckbox.tpl" field=$notify5}} +{{include file="field_intcheckbox.tpl" field=$notify6}} +{{include file="field_intcheckbox.tpl" field=$notify7}} +{{include file="field_intcheckbox.tpl" field=$notify8}} </div> </div> <div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="$submit" /> +<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> </div> diff --git a/view/tpl/settings_account.tpl b/view/tpl/settings_account.tpl index d1a635f91..198ac9565 100644..100755 --- a/view/tpl/settings_account.tpl +++ b/view/tpl/settings_account.tpl @@ -1,28 +1,28 @@ -<h1>$title</h1> +<h1>{{$title}}</h1> <div id="settings-remove-account-link"> -<a href="removeme" title="$permanent" >$removeme</a> +<a href="removeme" title="{{$permanent}}" >{{$removeme}}</a> </div> <form action="settings/account" id="settings-account-form" method="post" autocomplete="off" > -<input type='hidden' name='form_security_token' value='$form_security_token'> +<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> -{{inc field_input.tpl with $field=$email }}{{endinc}} +{{include file="field_input.tpl" field=$email}} -<h3 class="settings-heading">$h_pass</h3> +<h3 class="settings-heading">{{$h_pass}}</h3> -{{inc field_password.tpl with $field=$password1 }}{{endinc}} -{{inc field_password.tpl with $field=$password2 }}{{endinc}} +{{include file="field_password.tpl" field=$password1}} +{{include file="field_password.tpl" field=$password2}} <div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="$submit" /> +<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> </div> -$account_settings +{{$account_settings}} diff --git a/view/tpl/settings_addons.tpl b/view/tpl/settings_addons.tpl index 9a4f95341..cad6a2274 100644..100755 --- a/view/tpl/settings_addons.tpl +++ b/view/tpl/settings_addons.tpl @@ -1,10 +1,10 @@ -<h1>$title</h1> +<h1>{{$title}}</h1> <form action="settings/featured" method="post" autocomplete="off"> -<input type='hidden' name='form_security_token' value='$form_security_token'> +<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> -$settings_addons +{{$settings_addons}} </form> diff --git a/view/tpl/settings_connectors.tpl b/view/tpl/settings_connectors.tpl index 07a86e4fe..a8bde4c1e 100644..100755 --- a/view/tpl/settings_connectors.tpl +++ b/view/tpl/settings_connectors.tpl @@ -1,9 +1,9 @@ -<h1>$title</h1> +<h1>{{$title}}</h1> <form action="settings/connectors" method="post" autocomplete="off"> -<input type='hidden' name='form_security_token' value='$form_security_token'> +<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> -$settings_connectors +{{$settings_connectors}} </form> diff --git a/view/tpl/settings_display.tpl b/view/tpl/settings_display.tpl index 2aac64515..2645ce740 100644..100755 --- a/view/tpl/settings_display.tpl +++ b/view/tpl/settings_display.tpl @@ -1,22 +1,22 @@ -<h1>$ptitle</h1> +<h1>{{$ptitle}}</h1> <form action="settings/display" id="settings-form" method="post" autocomplete="off" > -<input type='hidden' name='form_security_token' value='$form_security_token'> +<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> -{{inc field_themeselect.tpl with $field=$theme }}{{endinc}} -{{inc field_themeselect.tpl with $field=$mobile_theme }}{{endinc}} -{{inc field_input.tpl with $field=$ajaxint }}{{endinc}} -{{inc field_input.tpl with $field=$itemspage }}{{endinc}} -{{inc field_checkbox.tpl with $field=$nosmile}}{{endinc}} +{{include file="field_themeselect.tpl" field=$theme}} +{{include file="field_themeselect.tpl" field=$mobile_theme}} +{{include file="field_input.tpl" field=$ajaxint}} +{{include file="field_input.tpl" field=$itemspage}} +{{include file="field_checkbox.tpl" field=$nosmile}} <div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="$submit" /> +<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> </div> -{{ if $theme_config }} +{{if $theme_config}} <h2>Theme settings</h2> -$theme_config -{{ endif }} +{{$theme_config}} +{{/if}} </form> diff --git a/view/tpl/settings_features.tpl b/view/tpl/settings_features.tpl index fd65abebb..47d755ee6 100644..100755 --- a/view/tpl/settings_features.tpl +++ b/view/tpl/settings_features.tpl @@ -1,19 +1,19 @@ -<h1>$title</h1> +<h1>{{$title}}</h1> <form action="settings/features" method="post" autocomplete="off"> -<input type='hidden' name='form_security_token' value='$form_security_token'> +<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> -{{ for $features as $f }} -<h3 class="settings-heading">$f.0</h3> +{{foreach $features as $f}} +<h3 class="settings-heading">{{$f.0}}</h3> -{{ for $f.1 as $fcat }} - {{ inc $field_yesno with $field=$fcat }}{{endinc}} -{{ endfor }} -{{ endfor }} +{{foreach $f.1 as $fcat}} + {{include file="{{$field_yesno}}" field=$fcat}} +{{/foreach}} +{{/foreach}} <div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-features-submit" value="$submit" /> +<input type="submit" name="submit" class="settings-features-submit" value="{{$submit}}" /> </div> </form> diff --git a/view/tpl/settings_nick_set.tpl b/view/tpl/settings_nick_set.tpl index eb4721d50..ae11c00c8 100644..100755 --- a/view/tpl/settings_nick_set.tpl +++ b/view/tpl/settings_nick_set.tpl @@ -1,5 +1,4 @@ - <div id="settings-nick-wrapper" > -<div id="settings-nickname-desc" class="info-message">$desc <strong>'$nickname@$basepath'</strong>$subdir</div> +<div id="settings-nickname-desc" class="info-message">{{$desc}} <strong>'{{$nickname}}@{{$basepath}}'</strong>{{$subdir}}</div> </div> <div id="settings-nick-end" ></div> diff --git a/view/tpl/settings_nick_subdir.tpl b/view/tpl/settings_nick_subdir.tpl deleted file mode 100644 index 303c24df7..000000000 --- a/view/tpl/settings_nick_subdir.tpl +++ /dev/null @@ -1,6 +0,0 @@ -<p> -It appears that your website is located in a subdirectory of the<br /> -$hostname website, so this setting may not work reliably.<br /> -</p> -<p>If you have any issues, you may have better results using the profile<br /> address '<strong>$baseurl/profile/$nickname</strong>'. -</p>
\ No newline at end of file diff --git a/view/tpl/settings_oauth.tpl b/view/tpl/settings_oauth.tpl index 890c4ee6c..11c61a43e 100644..100755 --- a/view/tpl/settings_oauth.tpl +++ b/view/tpl/settings_oauth.tpl @@ -1,31 +1,31 @@ -<h1>$title</h1> +<h1>{{$title}}</h1> <form action="settings/oauth" method="post" autocomplete="off"> -<input type='hidden' name='form_security_token' value='$form_security_token'> +<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> <div id="profile-edit-links"> <ul> <li> - <a id="profile-edit-view-link" href="$baseurl/settings/oauth/add">$add</a> + <a id="profile-edit-view-link" href="{{$baseurl}}/settings/oauth/add">{{$add}}</a> </li> </ul> </div> - {{ for $apps as $app }} + {{foreach $apps as $app}} <div class='oauthapp'> - <img src='$app.icon' class="{{ if $app.icon }} {{ else }}noicon{{ endif }}"> - {{ if $app.name }}<h4>$app.name</h4>{{ else }}<h4>$noname</h4>{{ endif }} - {{ if $app.my }} - {{ if $app.oauth_token }} - <div class="settings-submit-wrapper" ><button class="settings-submit" type="submit" name="remove" value="$app.oauth_token">$remove</button></div> - {{ endif }} - {{ endif }} - {{ if $app.my }} - <a href="$baseurl/settings/oauth/edit/$app.client_id" class="icon s22 edit" title="$edit"> </a> - <a href="$baseurl/settings/oauth/delete/$app.client_id?t=$form_security_token" class="icon s22 delete" title="$delete"> </a> - {{ endif }} + <img src='{{$app.icon}}' class="{{if $app.icon}} {{else}}noicon{{/if}}"> + {{if $app.name}}<h4>{{$app.name}}</h4>{{else}}<h4>{{$noname}}</h4>{{/if}} + {{if $app.my}} + {{if $app.oauth_token}} + <div class="settings-submit-wrapper" ><button class="settings-submit" type="submit" name="remove" value="{{$app.oauth_token}}">{{$remove}}</button></div> + {{/if}} + {{/if}} + {{if $app.my}} + <a href="{{$baseurl}}/settings/oauth/edit/{{$app.client_id}}" class="icon s22 edit" title="{{$edit}}"> </a> + <a href="{{$baseurl}}/settings/oauth/delete/{{$app.client_id}}?t={{$form_security_token}}" class="icon s22 delete" title="{{$delete}}"> </a> + {{/if}} </div> - {{ endfor }} + {{/foreach}} </form> diff --git a/view/tpl/settings_oauth_edit.tpl b/view/tpl/settings_oauth_edit.tpl index e6f2abdc2..bf805363c 100644..100755 --- a/view/tpl/settings_oauth_edit.tpl +++ b/view/tpl/settings_oauth_edit.tpl @@ -1,17 +1,17 @@ -<h1>$title</h1> +<h1>{{$title}}</h1> <form method="POST"> -<input type='hidden' name='form_security_token' value='$form_security_token'> +<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> -{{ inc field_input.tpl with $field=$name }}{{ endinc }} -{{ inc field_input.tpl with $field=$key }}{{ endinc }} -{{ inc field_input.tpl with $field=$secret }}{{ endinc }} -{{ inc field_input.tpl with $field=$redirect }}{{ endinc }} -{{ inc field_input.tpl with $field=$icon }}{{ endinc }} +{{include file="field_input.tpl" field=$name}} +{{include file="field_input.tpl" field=$key}} +{{include file="field_input.tpl" field=$secret}} +{{include file="field_input.tpl" field=$redirect}} +{{include file="field_input.tpl" field=$icon}} <div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="$submit" /> -<input type="submit" name="cancel" class="settings-submit" value="$cancel" /> +<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> +<input type="submit" name="cancel" class="settings-submit" value="{{$cancel}}" /> </div> </form> diff --git a/view/tpl/siteinfo.tpl b/view/tpl/siteinfo.tpl new file mode 100755 index 000000000..f6647110c --- /dev/null +++ b/view/tpl/siteinfo.tpl @@ -0,0 +1,14 @@ +<h3>{{$title}}</h3> +<p></p> +<p>{{$description}}</p> +{{if $version}} +<p>{{$version}}</p> +{{/if}} +<p>{{$web_location}}</p> +<p>{{$visit}}</p> +<p>{{$bug_text}} <a href="{{$bug_link_url}}">{{$bug_link_text}}</a></p> +<p>{{$contact}}</p> +<p>{{$plugins_text}}</p> +{{if $plugins_list}} + <div style="margin-left: 25px; margin-right: 25px;">{{$plugins_list}}</div> +{{/if}} diff --git a/view/tpl/smarty3/404.tpl b/view/tpl/smarty3/404.tpl deleted file mode 100644 index 2d581ab8d..000000000 --- a/view/tpl/smarty3/404.tpl +++ /dev/null @@ -1,6 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$message}}</h1> diff --git a/view/tpl/smarty3/README b/view/tpl/smarty3/README new file mode 100644 index 000000000..78ff8d9a1 --- /dev/null +++ b/view/tpl/smarty3/README @@ -0,0 +1,4 @@ +view/tpl/smarty3 + +This directory must exist and be writeable by the webserver in order to store compiled template files, which are created dynamically. Please see the installation instructions. + diff --git a/view/tpl/smarty3/abook_edit.tpl b/view/tpl/smarty3/abook_edit.tpl deleted file mode 100644 index 9f6556842..000000000 --- a/view/tpl/smarty3/abook_edit.tpl +++ /dev/null @@ -1,79 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<h2>{{$header}}</h2> - -<h3>{{$addr}}</h3> - -{{if $notself}} -<div id="connection-flag-tabs"> -{{$tabs}} -</div> -{{/if}} - -{{if $self}} -<div id="autoperm-desc" class="descriptive-paragraph">{{$autolbl}}</div> -{{/if}} - - -<div id="contact-edit-wrapper"> - -{{if $notself}} -{{if $slide}} -<h3>{{$lbl_slider}}</h3> - -{{$slide}} - -{{/if}} -{{/if}} - - - -<h3>{{$permlbl}}</h3> - -<form id="abook-edit-form" action="connections/{{$contact_id}}" method="post" > -<input type="hidden" name="contact_id" value="{{$contact_id}}"> -<input id="contact-closeness-mirror" type="hidden" name="closeness" value="{{$close}}" /> - -{{if $noperms}} -<div id="noperm-desc" class="descriptive-paragraph">{{$noperms}}</div> -{{/if}} - - -{{if $is_pending}} -{{include file="field_checkbox.tpl" field=$unapproved}} -{{/if}} - -<br /> -<b>{{$quick}}</b> -<ul> -{{if $self}} -<li><span class="fakelink" onclick="connectForum(); $('#abook-edit-form').submit();">{{$forum}}</span></li> -<li><span class="fakelink" onclick="connectSoapBox(); $('#abook-edit-form').submit();">{{$soapbox}}</span></li> -{{/if}} -<li><span class="fakelink" onclick="connectFullShare(); $('#abook-edit-form').submit();">{{$full}}</span></li> -<li><span class="fakelink" onclick="connectCautiousShare(); $('#abook-edit-form').submit();">{{$cautious}}</span></li> -<li><span class="fakelink" onclick="connectFollowOnly(); $('#abook-edit-form').submit();">{{$follow}}</span></li> -</ul> - -<div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">{{$advanced}}</div> - -<div id="abook-advanced-panel" style="display: none;"> - -<span class="abook-them">{{$them}}</span><span class="abook-me">{{$me}}</span> -<br /> -<br /> -{{foreach $perms as $prm}} -{{include file="field_acheckbox.tpl" field=$prm}} -{{/foreach}} -<br /> - -</div> - -<input class="contact-edit-submit" type="submit" name="done" value="{{$submit}}" /> - -</form> -</div> diff --git a/view/tpl/smarty3/acl_selector.tpl b/view/tpl/smarty3/acl_selector.tpl deleted file mode 100644 index aebef71ee..000000000 --- a/view/tpl/smarty3/acl_selector.tpl +++ /dev/null @@ -1,33 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="acl-wrapper"> - <input id="acl-search"> - <a href="#" id="acl-showall">{{$showall}}</a> - <div id="acl-list"> - <div id="acl-list-content"> - </div> - </div> - <span id="acl-fields"></span> -</div> - -<div class="acl-list-item" rel="acl-template" style="display:none"> - <img src="{0}"><p>{1}</p> - <a href="#" class='acl-button-show'>{{$show}}</a> - <a href="#" class='acl-button-hide'>{{$hide}}</a> -</div> - -<script> -$(document).ready(function() { - setTimeout( function () { - if(typeof acl=="undefined"){ - acl = new ACL( - baseurl+"/acl", - [ {{$allowcid}},{{$allowgid}},{{$denycid}},{{$denygid}} ] - ); - } - }, 5000 ); -}); -</script> diff --git a/view/tpl/smarty3/admin_aside.tpl b/view/tpl/smarty3/admin_aside.tpl deleted file mode 100644 index 69445d3b1..000000000 --- a/view/tpl/smarty3/admin_aside.tpl +++ /dev/null @@ -1,47 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<script> - // update pending count // - $(function(){ - - $("nav").bind('nav-update', function(e,data){ - var elm = $('#pending-update'); - var register = $(data).find('register').text(); - if (register=="0") { reigster=""; elm.hide();} else { elm.show(); } - elm.html(register); - }); - }); -</script> -<h4><a href="{{$admurl}}">{{$admtxt}}</a></h4> -<ul class='admin linklist'> - <li class='admin link button {{$admin.site.2}}'><a href='{{$admin.site.0}}'>{{$admin.site.1}}</a></li> - <li class='admin link button {{$admin.users.2}}'><a href='{{$admin.users.0}}'>{{$admin.users.1}}</a><span id='pending-update' title='{{$h_pending}}'></span></li> - <li class='admin link button {{$admin.plugins.2}}'><a href='{{$admin.plugins.0}}'>{{$admin.plugins.1}}</a></li> - <li class='admin link button {{$admin.themes.2}}'><a href='{{$admin.themes.0}}'>{{$admin.themes.1}}</a></li> - <li class='admin link button {{$admin.dbsync.2}}'><a href='{{$admin.dbsync.0}}'>{{$admin.dbsync.1}}</a></li> -</ul> - -{{if $admin.update}} -<ul class='admin linklist'> - <li class='admin link button {{$admin.update.2}}'><a href='{{$admin.update.0}}'>{{$admin.update.1}}</a></li> - <li class='admin link button {{$admin.update.2}}'><a href='https://kakste.com/profile/inthegit'>Important Changes</a></li> -</ul> -{{/if}} - - -{{if $admin.plugins_admin}}<h4>{{$plugadmtxt}}</h4>{{/if}} -<ul class='admin linklist'> - {{foreach $admin.plugins_admin as $l}} - <li class='admin link button {{$l.2}}'><a href='{{$l.0}}'>{{$l.1}}</a></li> - {{/foreach}} -</ul> - - -<h4>{{$logtxt}}</h4> -<ul class='admin linklist'> - <li class='admin link button {{$admin.logs.2}}'><a href='{{$admin.logs.0}}'>{{$admin.logs.1}}</a></li> -</ul> - diff --git a/view/tpl/smarty3/admin_logs.tpl b/view/tpl/smarty3/admin_logs.tpl deleted file mode 100644 index 6a2259500..000000000 --- a/view/tpl/smarty3/admin_logs.tpl +++ /dev/null @@ -1,24 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id='adminpage'> - <h1>{{$title}} - {{$page}}</h1> - - <form action="{{$baseurl}}/admin/logs" method="post"> - <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - - {{include file="field_checkbox.tpl" field=$debugging}} - {{include file="field_input.tpl" field=$logfile}} - {{include file="field_select.tpl" field=$loglevel}} - - <div class="submit"><input type="submit" name="page_logs" value="{{$submit}}" /></div> - - </form> - - <h3>{{$logname}}</h3> - <div style="width:100%; height:400px; overflow: auto; "><pre>{{$data}}</pre></div> -<!-- <iframe src='{{$baseurl}}/{{$logname}}' style="width:100%; height:400px"></iframe> --> - <!-- <div class="submit"><input type="submit" name="page_logs_clear_log" value="{{$clear}}" /></div> --> -</div> diff --git a/view/tpl/smarty3/admin_plugins.tpl b/view/tpl/smarty3/admin_plugins.tpl deleted file mode 100644 index 307814e87..000000000 --- a/view/tpl/smarty3/admin_plugins.tpl +++ /dev/null @@ -1,20 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id='adminpage'> - <h1>{{$title}} - {{$page}}</h1> - - <ul id='pluginslist'> - {{foreach $plugins as $p}} - <li class='plugin {{$p.1}}'> - <a class='toggleplugin' href='{{$baseurl}}/admin/{{$function}}/{{$p.0}}?a=t&t={{$form_security_token}}' title="{{if $p.1==on}}Disable{{else}}Enable{{/if}}" ><span class='icon {{$p.1}}'></span></a> - <a href='{{$baseurl}}/admin/{{$function}}/{{$p.0}}'><span class='name'>{{$p.2.name}}</span></a> - <span class="version">{{$p.2.version}}</span> - {{if $p.2.experimental}} {{$experimental}} {{/if}}{{if $p.2.unsupported}} {{$unsupported}} {{/if}} - - <div class='desc'>{{$p.2.description}}</div> - </li> - {{/foreach}} - </ul> -</div> diff --git a/view/tpl/smarty3/admin_plugins_details.tpl b/view/tpl/smarty3/admin_plugins_details.tpl deleted file mode 100644 index e81701732..000000000 --- a/view/tpl/smarty3/admin_plugins_details.tpl +++ /dev/null @@ -1,41 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id='adminpage'> - <h1>{{$title}} - {{$page}}</h1> - - <p><span class='toggleplugin icon {{$status}}'></span> {{$info.name}} - {{$info.version}} : <a href="{{$baseurl}}/admin/{{$function}}/{{$plugin}}/?a=t&t={{$form_security_token}}">{{$action}}</a></p> - <p>{{$info.description}}</p> - - <p class="author">{{$str_author}} - {{foreach $info.author as $a}} - {{if $a.link}}<a href="{{$a.link}}">{{$a.name}}</a>{{else}}{{$a.name}}{{/if}}, - {{/foreach}} - </p> - - <p class="maintainer">{{$str_maintainer}} - {{foreach $info.maintainer as $a}} - {{if $a.link}}<a href="{{$a.link}}">{{$a.name}}</a>{{else}}{{$a.name}}{{/if}}, - {{/foreach}} - </p> - - {{if $screenshot}} - <a href="{{$screenshot.0}}" class='screenshot'><img src="{{$screenshot.0}}" alt="{{$screenshot.1}}" /></a> - {{/if}} - - {{if $admin_form}} - <h3>{{$settings}}</h3> - <form method="post" action="{{$baseurl}}/admin/{{$function}}/{{$plugin}}/"> - {{$admin_form}} - </form> - {{/if}} - - {{if $readme}} - <h3>Readme</h3> - <div id="plugin_readme"> - {{$readme}} - </div> - {{/if}} -</div> diff --git a/view/tpl/smarty3/admin_remoteupdate.tpl b/view/tpl/smarty3/admin_remoteupdate.tpl deleted file mode 100644 index cee0ef9b8..000000000 --- a/view/tpl/smarty3/admin_remoteupdate.tpl +++ /dev/null @@ -1,103 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<script src="js/jquery.htmlstream.js"></script> -<script> - /* ajax updater */ - function updateEnd(data){ - //$("#updatepopup .panel_text").html(data); - $("#remoteupdate_form").find("input").removeAttr('disabled'); - $(".panel_action_close").fadeIn() - } - function updateOn(data){ - - var patt=/§([^§]*)§/g; - var matches = data.match(patt); - $(matches).each(function(id,data){ - data = data.replace(/§/g,""); - d = data.split("@"); - console.log(d); - elm = $("#updatepopup .panel_text #"+d[0]); - html = "<div id='"+d[0]+"' class='progress'>"+d[1]+"<span>"+d[2]+"</span></div>"; - if (elm.length==0){ - $("#updatepopup .panel_text").append(html); - } else { - $(elm).replaceWith(html); - } - }); - - - } - - $(function(){ - $("#remoteupdate_form").submit(function(){ - var data={}; - $(this).find("input").each(function(i, e){ - name = $(e).attr('name'); - value = $(e).val(); - e.disabled = true; - data[name]=value; - }); - - $("#updatepopup .panel_text").html(""); - $("#updatepopup").show(); - $("#updatepopup .panel").hide().slideDown(500); - $(".panel_action_close").hide().click(function(){ - $("#updatepopup .panel").slideUp(500, function(){ - $("#updatepopup").hide(); - }); - }); - - $.post( - $(this).attr('action'), - data, - updateEnd, - 'text', - updateOn - ); - - - return false; - }) - }); -</script> -<div id="updatepopup" class="popup"> - <div class="background"></div> - <div class="panel"> - <div class="panel_in"> - <h1>Friendica Update</h1> - <div class="panel_text"></div> - <div class="panel_actions"> - <input type="button" value="{{$close}}" class="panel_action_close"> - </div> - </div> - </div> -</div> -<div id="adminpage"> - <dl> <dt>Your version:</dt><dd>{{$localversion}}</dd> </dl> -{{if $needupdate}} - <dl> <dt>New version:</dt><dd>{{$remoteversion}}</dd> </dl> - - <form id="remoteupdate_form" method="POST" action="{{$baseurl}}/admin/update"> - <input type="hidden" name="{{$remotefile.0}}" value="{{$remotefile.2}}"> - - {{if $canwrite}} - <div class="submit"><input type="submit" name="remoteupdate" value="{{$submit}}" /></div> - {{else}} - <h3>Your friendica installation is not writable by web server.</h3> - {{if $canftp}} - <p>You can try to update via FTP</p> - {{include file="field_input.tpl" field=$ftphost}} - {{include file="field_input.tpl" field=$ftppath}} - {{include file="field_input.tpl" field=$ftpuser}} - {{include file="field_password.tpl" field=$ftppwd}} - <div class="submit"><input type="submit" name="remoteupdate" value="{{$submit}}" /></div> - {{/if}} - {{/if}} - </form> -{{else}} -<h4>No updates</h4> -{{/if}} -</div> diff --git a/view/tpl/smarty3/admin_site.tpl b/view/tpl/smarty3/admin_site.tpl deleted file mode 100644 index 75a386f7d..000000000 --- a/view/tpl/smarty3/admin_site.tpl +++ /dev/null @@ -1,87 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<script> - $(function(){ - - $("#cnftheme").fancybox({ - width: 800, - autoDimensions: false, - onStart: function(){ - var theme = $("#id_theme :selected").val(); - $("#cnftheme").attr('href',"{{$baseurl}}/admin/themes/"+theme); - }, - onComplete: function(){ - $("div#fancybox-content form").submit(function(e){ - var url = $(this).attr('action'); - // can't get .serialize() to work... - var data={}; - $(this).find("input").each(function(){ - data[$(this).attr('name')] = $(this).val(); - }); - $(this).find("select").each(function(){ - data[$(this).attr('name')] = $(this).children(":selected").val(); - }); - console.log(":)", url, data); - - $.post(url, data, function(data) { - if(timer) clearTimeout(timer); - NavUpdate(); - $.fancybox.close(); - }) - - return false; - }); - - } - }); - }); -</script> -<div id='adminpage'> - <h1>{{$title}} - {{$page}}</h1> - - <form action="{{$baseurl}}/admin/site" method="post"> - <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - - {{include file="field_input.tpl" field=$sitename}} - {{include file="field_textarea.tpl" field=$banner}} - {{include file="field_select.tpl" field=$language}} - {{include file="field_select.tpl" field=$theme}} - {{include file="field_select.tpl" field=$ssl_policy}} - - <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div> - - <h3>{{$registration}}</h3> - {{include file="field_input.tpl" field=$register_text}} - {{include file="field_select.tpl" field=$register_policy}} - - <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div> - - <h3>{{$upload}}</h3> - {{include file="field_input.tpl" field=$maximagesize}} - - <h3>{{$corporate}}</h3> - {{include file="field_input.tpl" field=$allowed_sites}} - {{include file="field_input.tpl" field=$allowed_email}} - {{include file="field_checkbox.tpl" field=$block_public}} - {{include file="field_checkbox.tpl" field=$force_publish}} - {{include file="field_checkbox.tpl" field=$no_community_page}} - {{include file="field_input.tpl" field=$global_directory}} - - <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div> - - <h3>{{$advanced}}</h3> - {{include file="field_input.tpl" field=$proxy}} - {{include file="field_input.tpl" field=$proxyuser}} - {{include file="field_input.tpl" field=$timeout}} - {{include file="field_input.tpl" field=$delivery_interval}} - {{include file="field_input.tpl" field=$poll_interval}} - {{include file="field_input.tpl" field=$maxloadavg}} - {{include file="field_input.tpl" field=$abandon_days}} - - <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div> - - </form> -</div> diff --git a/view/tpl/smarty3/admin_summary.tpl b/view/tpl/smarty3/admin_summary.tpl deleted file mode 100644 index 76ac23d29..000000000 --- a/view/tpl/smarty3/admin_summary.tpl +++ /dev/null @@ -1,45 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id='adminpage'> - <h1>{{$title}} - {{$page}}</h1> - - <dl> - <dt>{{$queues.label}}</dt> - <dd>{{$queues.queue}}</dd> - </dl> - <dl> - <dt>{{$pending.0}}</dt> - <dd>{{$pending.1}}</dt> - </dl> - - <dl> - <dt>{{$users.0}}</dt> - <dd>{{$users.1}}</dd> - </dl> - {{foreach $accounts as $p}} - <dl> - <dt>{{$p.0}}</dt> - <dd>{{if $p.1}}{{$p.1}}{{else}}0{{/if}}</dd> - </dl> - {{/foreach}} - - - <dl> - <dt>{{$plugins.0}}</dt> - - {{foreach $plugins.1 as $p}} - <dd>{{$p}}</dd> - {{/foreach}} - - </dl> - - <dl> - <dt>{{$version.0}}</dt> - <dd>{{$version.1}} - {{$build}}</dt> - </dl> - - -</div> diff --git a/view/tpl/smarty3/admin_users.tpl b/view/tpl/smarty3/admin_users.tpl deleted file mode 100644 index 5448a08c4..000000000 --- a/view/tpl/smarty3/admin_users.tpl +++ /dev/null @@ -1,94 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<script> - function confirm_delete(uname){ - return confirm( "{{$confirm_delete}}".format(uname)); - } - function confirm_delete_multi(){ - return confirm("{{$confirm_delete_multi}}"); - } - function selectall(cls){ - $("."+cls).attr('checked','checked'); - return false; - } -</script> -<div id='adminpage'> - <h1>{{$title}} - {{$page}}</h1> - - <form action="{{$baseurl}}/admin/users" method="post"> - <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - - <h3>{{$h_pending}}</h3> - {{if $pending}} - <table id='pending'> - <thead> - <tr> - {{foreach $th_pending as $th}}<th>{{$th}}</th>{{/foreach}} - <th></th> - <th></th> - </tr> - </thead> - <tbody> - {{foreach $pending as $u}} - <tr> - <td class="created">{{$u.created}}</td> - <td class="name">{{$u.name}}</td> - <td class="email">{{$u.email}}</td> - <td class="checkbox"><input type="checkbox" class="pending_ckbx" id="id_pending_{{$u.hash}}" name="pending[]" value="{{$u.hash}}" /></td> - <td class="tools"> - <a href="{{$baseurl}}/regmod/allow/{{$u.hash}}" title='{{$approve}}'><span class='icon like'></span></a> - <a href="{{$baseurl}}/regmod/deny/{{$u.hash}}" title='{{$deny}}'><span class='icon dislike'></span></a> - </td> - </tr> - {{/foreach}} - </tbody> - </table> - <div class='selectall'><a href='#' onclick="return selectall('pending_ckbx');">{{$select_all}}</a></div> - <div class="submit"><input type="submit" name="page_users_deny" value="{{$deny}}"/> <input type="submit" name="page_users_approve" value="{{$approve}}" /></div> - {{else}} - <p>{{$no_pending}}</p> - {{/if}} - - - - - <h3>{{$h_users}}</h3> - {{if $users}} - <table id='users'> - <thead> - <tr> - <th></th> - {{foreach $th_users as $th}}<th>{{$th}}</th>{{/foreach}} - <th></th> - <th></th> - </tr> - </thead> - <tbody> - {{foreach $users as $u}} - <tr> - <td><img src="{{$u.micro}}" alt="{{$u.nickname}}" title="{{$u.nickname}}"></td> - <td class='name'><a href="{{$u.url}}" title="{{$u.nickname}}" >{{$u.name}}</a></td> - <td class='email'>{{$u.email}}</td> - <td class='register_date'>{{$u.register_date}}</td> - <td class='login_date'>{{$u.login_date}}</td> - <td class='lastitem_date'>{{$u.lastitem_date}}</td> - <td class='login_date'>{{$u.page_flags}}</td> - <td class="checkbox"><input type="checkbox" class="users_ckbx" id="id_user_{{$u.uid}}" name="user[]" value="{{$u.uid}}"/></td> - <td class="tools"> - <a href="{{$baseurl}}/admin/users/block/{{$u.uid}}?t={{$form_security_token}}" title='{{if $u.blocked}}{{$unblock}}{{else}}{{$block}}{{/if}}'><span class='icon block {{if $u.blocked==0}}dim{{/if}}'></span></a> - <a href="{{$baseurl}}/admin/users/delete/{{$u.uid}}?t={{$form_security_token}}" title='{{$delete}}' onclick="return confirm_delete('{{$u.name}}')"><span class='icon drop'></span></a> - </td> - </tr> - {{/foreach}} - </tbody> - </table> - <div class='selectall'><a href='#' onclick="return selectall('users_ckbx');">{{$select_all}}</a></div> - <div class="submit"><input type="submit" name="page_users_block" value="{{$block}}/{{$unblock}}" /> <input type="submit" name="page_users_delete" value="{{$delete}}" onclick="return confirm_delete_multi()" /></div> - {{else}} - NO USERS?!? - {{/if}} - </form> -</div> diff --git a/view/tpl/smarty3/album_edit.tpl b/view/tpl/smarty3/album_edit.tpl deleted file mode 100644 index 36c07a9f0..000000000 --- a/view/tpl/smarty3/album_edit.tpl +++ /dev/null @@ -1,20 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="photo-album-edit-wrapper"> -<form name="photo-album-edit-form" id="photo-album-edit-form" action="photos/{{$nickname}}/album/{{$hexalbum}}" method="post" > - - -<label id="photo-album-edit-name-label" for="photo-album-edit-name" >{{$nametext}}</label> -<input type="text" size="64" name="albumname" value="{{$album}}" > - -<div id="photo-album-edit-name-end"></div> - -<input id="photo-album-edit-submit" type="submit" name="submit" value="{{$submit}}" /> -<input id="photo-album-edit-drop" type="submit" name="dropalbum" value="{{$dropsubmit}}" onclick="return confirmDelete();" /> - -</form> -</div> -<div id="photo-album-edit-end" ></div> diff --git a/view/tpl/smarty3/api_config_xml.tpl b/view/tpl/smarty3/api_config_xml.tpl deleted file mode 100644 index 09aa00ac4..000000000 --- a/view/tpl/smarty3/api_config_xml.tpl +++ /dev/null @@ -1,71 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<config> - <site> - <name>{{$config.site.name}}</name> - <server>{{$config.site.server}}</server> - <theme>default</theme> - <path></path> - <logo>{{$config.site.logo}}</logo> - - <fancy>true</fancy> - <language>en</language> - <email>{{$config.site.email}}</email> - <broughtby></broughtby> - <broughtbyurl></broughtbyurl> - <timezone>UTC</timezone> - <closed>{{$config.site.closed}}</closed> - - <inviteonly>false</inviteonly> - <private>{{$config.site.private}}</private> - <textlimit>{{$config.site.textlimit}}</textlimit> - <ssl>{{$config.site.ssl}}</ssl> - <sslserver>{{$config.site.sslserver}}</sslserver> - <shorturllength>30</shorturllength> - -</site> - <license> - <type>cc</type> - <owner></owner> - <url>http://creativecommons.org/licenses/by/3.0/</url> - <title>Creative Commons Attribution 3.0</title> - <image>http://i.creativecommons.org/l/by/3.0/80x15.png</image> - -</license> - <nickname> - <featured></featured> -</nickname> - <profile> - <biolimit></biolimit> -</profile> - <group> - <desclimit></desclimit> -</group> - <notice> - - <contentlimit></contentlimit> -</notice> - <throttle> - <enabled>false</enabled> - <count>20</count> - <timespan>600</timespan> -</throttle> - <xmpp> - - <enabled>false</enabled> - <server>INVALID SERVER</server> - <port>5222</port> - <user>update</user> -</xmpp> - <integration> - <source>StatusNet</source> - -</integration> - <attachments> - <uploads>false</uploads> - <file_quota>0</file_quota> -</attachments> -</config> diff --git a/view/tpl/smarty3/api_friends_xml.tpl b/view/tpl/smarty3/api_friends_xml.tpl deleted file mode 100644 index e9c40293b..000000000 --- a/view/tpl/smarty3/api_friends_xml.tpl +++ /dev/null @@ -1,10 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<users type="array"> - {{foreach $users as $user}} - {{include file="api_user_xml.tpl"}} - {{/foreach}} -</users> diff --git a/view/tpl/smarty3/api_ratelimit_xml.tpl b/view/tpl/smarty3/api_ratelimit_xml.tpl deleted file mode 100644 index a34eb6723..000000000 --- a/view/tpl/smarty3/api_ratelimit_xml.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<hash> - <remaining-hits type="integer">{{$hash.remaining_hits}}</remaining-hits> - <hourly-limit type="integer">{{$hash.hourly_limit}}</hourly-limit> - <reset-time type="datetime">{{$hash.reset_time}}</reset-time> - <reset_time_in_seconds type="integer">{{$hash.resettime_in_seconds}}</reset_time_in_seconds> -</hash> diff --git a/view/tpl/smarty3/api_status_xml.tpl b/view/tpl/smarty3/api_status_xml.tpl deleted file mode 100644 index e3e80d2b1..000000000 --- a/view/tpl/smarty3/api_status_xml.tpl +++ /dev/null @@ -1,51 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<status>{{if $status}} - <created_at>{{$status.created_at}}</created_at> - <id>{{$status.id}}</id> - <text>{{$status.text}}</text> - <source>{{$status.source}}</source> - <truncated>{{$status.truncated}}</truncated> - <in_reply_to_status_id>{{$status.in_reply_to_status_id}}</in_reply_to_status_id> - <in_reply_to_user_id>{{$status.in_reply_to_user_id}}</in_reply_to_user_id> - <favorited>{{$status.favorited}}</favorited> - <in_reply_to_screen_name>{{$status.in_reply_to_screen_name}}</in_reply_to_screen_name> - <geo>{{$status.geo}}</geo> - <coordinates>{{$status.coordinates}}</coordinates> - <place>{{$status.place}}</place> - <contributors>{{$status.contributors}}</contributors> - <user> - <id>{{$status.user.id}}</id> - <name>{{$status.user.name}}</name> - <screen_name>{{$status.user.screen_name}}</screen_name> - <location>{{$status.user.location}}</location> - <description>{{$status.user.description}}</description> - <profile_image_url>{{$status.user.profile_image_url}}</profile_image_url> - <url>{{$status.user.url}}</url> - <protected>{{$status.user.protected}}</protected> - <followers_count>{{$status.user.followers}}</followers_count> - <profile_background_color>{{$status.user.profile_background_color}}</profile_background_color> - <profile_text_color>{{$status.user.profile_text_color}}</profile_text_color> - <profile_link_color>{{$status.user.profile_link_color}}</profile_link_color> - <profile_sidebar_fill_color>{{$status.user.profile_sidebar_fill_color}}</profile_sidebar_fill_color> - <profile_sidebar_border_color>{{$status.user.profile_sidebar_border_color}}</profile_sidebar_border_color> - <friends_count>{{$status.user.friends_count}}</friends_count> - <created_at>{{$status.user.created_at}}</created_at> - <favourites_count>{{$status.user.favourites_count}}</favourites_count> - <utc_offset>{{$status.user.utc_offset}}</utc_offset> - <time_zone>{{$status.user.time_zone}}</time_zone> - <profile_background_image_url>{{$status.user.profile_background_image_url}}</profile_background_image_url> - <profile_background_tile>{{$status.user.profile_background_tile}}</profile_background_tile> - <profile_use_background_image>{{$status.user.profile_use_background_image}}</profile_use_background_image> - <notifications></notifications> - <geo_enabled>{{$status.user.geo_enabled}}</geo_enabled> - <verified>{{$status.user.verified}}</verified> - <following></following> - <statuses_count>{{$status.user.statuses_count}}</statuses_count> - <lang>{{$status.user.lang}}</lang> - <contributors_enabled>{{$status.user.contributors_enabled}}</contributors_enabled> - </user> -{{/if}}</status> diff --git a/view/tpl/smarty3/api_test_xml.tpl b/view/tpl/smarty3/api_test_xml.tpl deleted file mode 100644 index df5009af5..000000000 --- a/view/tpl/smarty3/api_test_xml.tpl +++ /dev/null @@ -1,6 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<ok>{{$ok}}</ok> diff --git a/view/tpl/smarty3/api_timeline_atom.tpl b/view/tpl/smarty3/api_timeline_atom.tpl deleted file mode 100644 index 00a28e390..000000000 --- a/view/tpl/smarty3/api_timeline_atom.tpl +++ /dev/null @@ -1,95 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:georss="http://www.georss.org/georss" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:media="http://purl.org/syndication/atommedia" xmlns:poco="http://portablecontacts.net/spec/1.0" xmlns:ostatus="http://ostatus.org/schema/1.0" xmlns:statusnet="http://status.net/schema/api/1/"> - <generator uri="http://status.net" version="0.9.7">StatusNet</generator> - <id>{{$rss.self}}</id> - <title>Friendika</title> - <subtitle>Friendika API feed</subtitle> - <logo>{{$rss.logo}}</logo> - <updated>{{$rss.atom_updated}}</updated> - <link type="text/html" rel="alternate" href="{{$rss.alternate}}"/> - <link type="application/atom+xml" rel="self" href="{{$rss.self}}"/> - - - <author> - <activity:obj_type>http://activitystrea.ms/schema/1.0/person</activity:obj_type> - <uri>{{$user.url}}</uri> - <name>{{$user.name}}</name> - <link rel="alternate" type="text/html" href="{{$user.url}}"/> - <link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="{{$user.profile_image_url}}"/> - <link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="{{$user.profile_image_url}}"/> - <link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="{{$user.profile_image_url}}"/> - <link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="{{$user.profile_image_url}}"/> - <georss:point></georss:point> - <poco:preferredUsername>{{$user.screen_name}}</poco:preferredUsername> - <poco:displayName>{{$user.name}}</poco:displayName> - <poco:urls> - <poco:type>homepage</poco:type> - <poco:value>{{$user.url}}</poco:value> - <poco:primary>true</poco:primary> - </poco:urls> - <statusnet:profile_info local_id="{{$user.id}}"></statusnet:profile_info> - </author> - - <!--Deprecation warning: activity:subject is present only for backward compatibility. It will be removed in the next version of StatusNet.--> - <activity:subject> - <activity:obj_type>http://activitystrea.ms/schema/1.0/person</activity:obj_type> - <id>{{$user.contact_url}}</id> - <title>{{$user.name}}</title> - <link rel="alternate" type="text/html" href="{{$user.url}}"/> - <link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="{{$user.profile_image_url}}"/> - <link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="{{$user.profile_image_url}}"/> - <link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="{{$user.profile_image_url}}"/> - <link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="{{$user.profile_image_url}}"/> - <poco:preferredUsername>{{$user.screen_name}}</poco:preferredUsername> - <poco:displayName>{{$user.name}}</poco:displayName> - <poco:urls> - <poco:type>homepage</poco:type> - <poco:value>{{$user.url}}</poco:value> - <poco:primary>true</poco:primary> - </poco:urls> - <statusnet:profile_info local_id="{{$user.id}}"></statusnet:profile_info> - </activity:subject> - - - {{foreach $statuses as $status}} - <entry> - <activity:obj_type>{{$status.objecttype}}</activity:obj_type> - <id>{{$status.message_id}}</id> - <title>{{$status.text}}</title> - <content type="html">{{$status.statusnet_html}}</content> - <link rel="alternate" type="text/html" href="{{$status.url}}"/> - <activity:verb>{{$status.verb}}</activity:verb> - <published>{{$status.published}}</published> - <updated>{{$status.updated}}</updated> - - <link rel="self" type="application/atom+xml" href="{{$status.self}}"/> - <link rel="edit" type="application/atom+xml" href="{{$status.edit}}"/> - <statusnet:notice_info local_id="{{$status.id}}" source="{{$status.source}}" > - </statusnet:notice_info> - - <author> - <activity:obj_type>http://activitystrea.ms/schema/1.0/person</activity:obj_type> - <uri>{{$status.user.url}}</uri> - <name>{{$status.user.name}}</name> - <link rel="alternate" type="text/html" href="{{$status.user.url}}"/> - <link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="{{$status.user.profile_image_url}}"/> - - <georss:point/> - <poco:preferredUsername>{{$status.user.screen_name}}</poco:preferredUsername> - <poco:displayName>{{$status.user.name}}</poco:displayName> - <poco:address/> - <poco:urls> - <poco:type>homepage</poco:type> - <poco:value>{{$status.user.url}}</poco:value> - <poco:primary>true</poco:primary> - </poco:urls> - </author> - <link rel="ostatus:conversation" type="text/html" href="{{$status.url}}"/> - - </entry> - {{/foreach}} -</feed> diff --git a/view/tpl/smarty3/api_timeline_rss.tpl b/view/tpl/smarty3/api_timeline_rss.tpl deleted file mode 100644 index afad50aab..000000000 --- a/view/tpl/smarty3/api_timeline_rss.tpl +++ /dev/null @@ -1,31 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:georss="http://www.georss.org/georss" xmlns:twitter="http://api.twitter.com"> - <channel> - <title>Friendika</title> - <link>{{$rss.alternate}}</link> - <atom:link type="application/rss+xml" rel="self" href="{{$rss.self}}"/> - <description>Friendika timeline</description> - <language>{{$rss.language}}</language> - <ttl>40</ttl> - <image> - <link>{{$user.link}}</link> - <title>{{$user.name}}'s items</title> - <url>{{$user.profile_image_url}}</url> - </image> - -{{foreach $statuses as $status}} - <item> - <title>{{$status.user.name}}: {{$status.text}}</title> - <description>{{$status.text}}</description> - <pubDate>{{$status.created_at}}</pubDate> - <guid>{{$status.url}}</guid> - <link>{{$status.url}}</link> - <twitter:source>{{$status.source}}</twitter:source> - </item> -{{/foreach}} - </channel> -</rss> diff --git a/view/tpl/smarty3/api_timeline_xml.tpl b/view/tpl/smarty3/api_timeline_xml.tpl deleted file mode 100644 index 84148d17f..000000000 --- a/view/tpl/smarty3/api_timeline_xml.tpl +++ /dev/null @@ -1,25 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<statuses type="array" xmlns:statusnet="http://status.net/schema/api/1/"> -{{foreach $statuses as $status}} <status> - <text>{{$status.text}}</text> - <truncated>{{$status.truncated}}</truncated> - <created_at>{{$status.created_at}}</created_at> - <in_reply_to_status_id>{{$status.in_reply_to_status_id}}</in_reply_to_status_id> - <source>{{$status.source}}</source> - <id>{{$status.id}}</id> - <in_reply_to_user_id>{{$status.in_reply_to_user_id}}</in_reply_to_user_id> - <in_reply_to_screen_name>{{$status.in_reply_to_screen_name}}</in_reply_to_screen_name> - <geo>{{$status.geo}}</geo> - <favorited>{{$status.favorited}}</favorited> -{{include file="api_user_xml.tpl" user=$status.user}} <statusnet:html>{{$status.statusnet_html}}</statusnet:html> - <statusnet:conversation_id>{{$status.statusnet_conversation_id}}</statusnet:conversation_id> - <url>{{$status.url}}</url> - <coordinates>{{$status.coordinates}}</coordinates> - <place>{{$status.place}}</place> - <contributors>{{$status.contributors}}</contributors> - </status> -{{/foreach}}</statuses> diff --git a/view/tpl/smarty3/api_user_xml.tpl b/view/tpl/smarty3/api_user_xml.tpl deleted file mode 100644 index d7efcf3fb..000000000 --- a/view/tpl/smarty3/api_user_xml.tpl +++ /dev/null @@ -1,51 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - <user> - <id>{{$user.id}}</id> - <name>{{$user.name}}</name> - <screen_name>{{$user.screen_name}}</screen_name> - <location>{{$user.location}}</location> - <description>{{$user.description}}</description> - <profile_image_url>{{$user.profile_image_url}}</profile_image_url> - <url>{{$user.url}}</url> - <protected>{{$user.protected}}</protected> - <followers_count>{{$user.followers_count}}</followers_count> - <friends_count>{{$user.friends_count}}</friends_count> - <created_at>{{$user.created_at}}</created_at> - <favourites_count>{{$user.favourites_count}}</favourites_count> - <utc_offset>{{$user.utc_offset}}</utc_offset> - <time_zone>{{$user.time_zone}}</time_zone> - <statuses_count>{{$user.statuses_count}}</statuses_count> - <following>{{$user.following}}</following> - <profile_background_color>{{$user.profile_background_color}}</profile_background_color> - <profile_text_color>{{$user.profile_text_color}}</profile_text_color> - <profile_link_color>{{$user.profile_link_color}}</profile_link_color> - <profile_sidebar_fill_color>{{$user.profile_sidebar_fill_color}}</profile_sidebar_fill_color> - <profile_sidebar_border_color>{{$user.profile_sidebar_border_color}}</profile_sidebar_border_color> - <profile_background_image_url>{{$user.profile_background_image_url}}</profile_background_image_url> - <profile_background_tile>{{$user.profile_background_tile}}</profile_background_tile> - <profile_use_background_image>{{$user.profile_use_background_image}}</profile_use_background_image> - <notifications>{{$user.notifications}}</notifications> - <geo_enabled>{{$user.geo_enabled}}</geo_enabled> - <verified>{{$user.verified}}</verified> - <lang>{{$user.lang}}</lang> - <contributors_enabled>{{$user.contributors_enabled}}</contributors_enabled> - <status>{{if $user.status}} - <created_at>{{$user.status.created_at}}</created_at> - <id>{{$user.status.id}}</id> - <text>{{$user.status.text}}</text> - <source>{{$user.status.source}}</source> - <truncated>{{$user.status.truncated}}</truncated> - <in_reply_to_status_id>{{$user.status.in_reply_to_status_id}}</in_reply_to_status_id> - <in_reply_to_user_id>{{$user.status.in_reply_to_user_id}}</in_reply_to_user_id> - <favorited>{{$user.status.favorited}}</favorited> - <in_reply_to_screen_name>{{$user.status.in_reply_to_screen_name}}</in_reply_to_screen_name> - <geo>{{$user.status.geo}}</geo> - <coordinates>{{$user.status.coordinates}}</coordinates> - <place>{{$user.status.place}}</place> - <contributors>{{$user.status.contributors}}</contributors> - {{/if}}</status> - </user> diff --git a/view/tpl/smarty3/apps.tpl b/view/tpl/smarty3/apps.tpl deleted file mode 100644 index 01d9bb8c8..000000000 --- a/view/tpl/smarty3/apps.tpl +++ /dev/null @@ -1,12 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h3>{{$title}}</h3> - -<ul> - {{foreach $apps as $ap}} - <li>{{$ap}}</li> - {{/foreach}} -</ul> diff --git a/view/tpl/smarty3/atom_feed.tpl b/view/tpl/smarty3/atom_feed.tpl deleted file mode 100644 index db553d99f..000000000 --- a/view/tpl/smarty3/atom_feed.tpl +++ /dev/null @@ -1,34 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<?xml version="1.0" encoding="utf-8" ?> -<feed xmlns="http://www.w3.org/2005/Atom" - xmlns:thr="http://purl.org/syndication/thread/1.0" - xmlns:at="http://purl.org/atompub/tombstones/1.0" - xmlns:media="http://purl.org/syndication/atommedia" - xmlns:dfrn="http://purl.org/macgirvin/dfrn/1.0" - xmlns:as="http://activitystrea.ms/spec/1.0/" - xmlns:georss="http://www.georss.org/georss" - xmlns:poco="http://portablecontacts.net/spec/1.0" - xmlns:ostatus="http://ostatus.org/schema/1.0" - xmlns:statusnet="http://status.net/schema/api/1/" > - - <id>{{$feed_id}}</id> - <title>{{$feed_title}}</title> - <generator uri="http://friendica.com" version="{{$version}}">Friendica</generator> - <link rel="license" href="http://creativecommons.org/licenses/by/3.0/" /> - {{$hub}} - {{$salmon}} - {{$community}} - - <updated>{{$feed_updated}}</updated> - - <dfrn:owner> - <name dfrn:updated="{{$namdate}}" >{{$name}}</name> - <uri dfrn:updated="{{$uridate}}" >{{$profile_page}}</uri> - <link rel="photo" type="image/jpeg" dfrn:updated="{{$picdate}}" media:width="175" media:height="175" href="{{$photo}}" /> - <link rel="avatar" type="image/jpeg" dfrn:updated="{{$picdate}}" media:width="175" media:height="175" href="{{$photo}}" /> - {{$birthday}} - </dfrn:owner> diff --git a/view/tpl/smarty3/atom_feed_dfrn.tpl b/view/tpl/smarty3/atom_feed_dfrn.tpl deleted file mode 100644 index 87d78a518..000000000 --- a/view/tpl/smarty3/atom_feed_dfrn.tpl +++ /dev/null @@ -1,34 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<?xml version="1.0" encoding="utf-8" ?> -<feed xmlns="http://www.w3.org/2005/Atom" - xmlns:thr="http://purl.org/syndication/thread/1.0" - xmlns:at="http://purl.org/atompub/tombstones/1.0" - xmlns:media="http://purl.org/syndication/atommedia" - xmlns:dfrn="http://purl.org/macgirvin/dfrn/1.0" - xmlns:as="http://activitystrea.ms/spec/1.0/" - xmlns:georss="http://www.georss.org/georss" - xmlns:poco="http://portablecontacts.net/spec/1.0" - xmlns:ostatus="http://ostatus.org/schema/1.0" - xmlns:statusnet="http://status.net/schema/api/1/" > - - <id>{{$feed_id}}</id> - <title>{{$feed_title}}</title> - <generator uri="http://friendica.com" version="{{$version}}">Friendica</generator> - <link rel="license" href="http://creativecommons.org/licenses/by/3.0/" /> - {{$hub}} - {{$salmon}} - {{$community}} - - <updated>{{$feed_updated}}</updated> - - <author> - <name dfrn:updated="{{$namdate}}" >{{$name}}</name> - <uri dfrn:updated="{{$uridate}}" >{{$profile_page}}</uri> - <link rel="photo" type="image/jpeg" dfrn:updated="{{$picdate}}" media:width="175" media:height="175" href="{{$photo}}" /> - <link rel="avatar" type="image/jpeg" dfrn:updated="{{$picdate}}" media:width="175" media:height="175" href="{{$photo}}" /> - {{$birthday}} - </author> diff --git a/view/tpl/smarty3/atom_mail.tpl b/view/tpl/smarty3/atom_mail.tpl deleted file mode 100644 index adf75a3e7..000000000 --- a/view/tpl/smarty3/atom_mail.tpl +++ /dev/null @@ -1,22 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<dfrn:mail> - - <dfrn:sender> - <dfrn:name>{{$name}}</dfrn:name> - <dfrn:uri>{{$profile_page}}</dfrn:uri> - <dfrn:avatar>{{$thumb}}</dfrn:avatar> - </dfrn:sender> - - <dfrn:id>{{$item_id}}</dfrn:id> - <dfrn:in-reply-to>{{$parent_id}}</dfrn:in-reply-to> - <dfrn:sentdate>{{$created}}</dfrn:sentdate> - <dfrn:subject>{{$subject}}</dfrn:subject> - <dfrn:content>{{$content}}</dfrn:content> - -</dfrn:mail> - diff --git a/view/tpl/smarty3/atom_suggest.tpl b/view/tpl/smarty3/atom_suggest.tpl deleted file mode 100644 index c0d1a1b3c..000000000 --- a/view/tpl/smarty3/atom_suggest.tpl +++ /dev/null @@ -1,16 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<dfrn:suggest> - - <dfrn:url>{{$url}}</dfrn:url> - <dfrn:name>{{$name}}</dfrn:name> - <dfrn:photo>{{$photo}}</dfrn:photo> - <dfrn:request>{{$request}}</dfrn:request> - <dfrn:note>{{$note}}</dfrn:note> - -</dfrn:suggest> - diff --git a/view/tpl/smarty3/auto_request.tpl b/view/tpl/smarty3/auto_request.tpl deleted file mode 100644 index 662ca2447..000000000 --- a/view/tpl/smarty3/auto_request.tpl +++ /dev/null @@ -1,42 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<h1>{{$header}}</h1> - -<p id="dfrn-request-intro"> -{{$page_desc}}<br /> -<ul id="dfrn-request-networks"> -<li><a href="http://friendica.com" title="{{$friendica}}">{{$friendica}}</a></li> -<li><a href="http://joindiaspora.com" title="{{$diaspora}}">{{$diaspora}}</a> {{$diasnote}}</li> -<li><a href="http://ostatus.org" title="{{$public_net}}" >{{$statusnet}}</a></li> -{{if $emailnet}}<li>{{$emailnet}}</li>{{/if}} -</ul> -</p> -<p> -{{$invite_desc}} -</p> -<p> -{{$desc}} -</p> - -<form action="dfrn_request/{{$nickname}}" method="post" /> - -<div id="dfrn-request-url-wrapper" > - <label id="dfrn-url-label" for="dfrn-url" >{{$your_address}}</label> - <input type="text" name="dfrn_url" id="dfrn-url" size="32" value="{{$myaddr}}" /> - <div id="dfrn-request-url-end"></div> -</div> - - -<div id="dfrn-request-info-wrapper" > - -</div> - - <div id="dfrn-request-submit-wrapper"> - <input type="submit" name="submit" id="dfrn-request-submit-button" value="{{$submit}}" /> - <input type="submit" name="cancel" id="dfrn-request-cancel-button" value="{{$cancel}}" /> - </div> -</form> diff --git a/view/tpl/smarty3/birthdays_reminder.tpl b/view/tpl/smarty3/birthdays_reminder.tpl deleted file mode 100644 index 56749cd12..000000000 --- a/view/tpl/smarty3/birthdays_reminder.tpl +++ /dev/null @@ -1,15 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -{{if $count}} -<div id="birthday-notice" class="birthday-notice fakelink {{$classtoday}}" onclick="openClose('birthday-wrapper');">{{$event_reminders}} ({{$count}})</div> -<div id="birthday-wrapper" style="display: none;" ><div id="birthday-title">{{$event_title}}</div> -<div id="birthday-title-end"></div> -{{foreach $events as $event}} -<div class="birthday-list" id="birthday-{{$event.id}}"></a> <a href="{{$event.link}}">{{$event.title}}</a> {{$event.date}} </div> -{{/foreach}} -</div> -{{/if}} - diff --git a/view/tpl/smarty3/build_query.tpl b/view/tpl/smarty3/build_query.tpl deleted file mode 100644 index 6df7f6589..000000000 --- a/view/tpl/smarty3/build_query.tpl +++ /dev/null @@ -1,57 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<script> - - var bParam_cmd = "{{$baseurl}}/update_{{$pgtype}}"; - - - var bParam_uid = {{$uid}}; - var bParam_gid = {{$gid}}; - var bParam_cid = {{$cid}}; - var bParam_cmin = {{$cmin}}; - var bParam_cmax = {{$cmax}}; - var bParam_star = {{$star}}; - var bParam_liked = {{$liked}}; - var bParam_conv = {{$conv}}; - var bParam_spam = {{$spam}}; - var bParam_new = {{$nouveau}}; - var bParam_page = {{$page}}; - var bParam_wall = {{$wall}}; - - var bParam_search = "{{$search}}"; - var bParam_order = "{{$order}}"; - var bParam_file = "{{$file}}"; - var bParam_cats = "{{$cats}}"; - var bParam_dend = "{{$dend}}"; - var bParam_dbegin = "{{$dbegin}}"; - var bParam_uri = "{{$uri}}"; - - function buildCmd() { - var udargs = ((page_load) ? "/load" : ""); - var bCmd = bParam_cmd + udargs + "?f=" ; - if(bParam_uid) bCmd = bCmd + "&p=" + bParam_uid; - if(bParam_cmin != 0) bCmd = bCmd + "&cmin=" + bParam_cmin; - if(bParam_cmax != 99) bCmd = bCmd + "&cmax=" + bParam_cmax; - if(bParam_gid != 0) { bCmd = bCmd + "&gid=" + bParam_gid; } else - if(bParam_cid != 0) { bCmd = bCmd + "&cid=" + bParam_cid; } - if(bParam_star != 0) bCmd = bCmd + "&star=" + bParam_star; - if(bParam_liked != 0) bCmd = bCmd + "&liked=" + bParam_liked; - if(bParam_conv!= 0) bCmd = bCmd + "&conv=" + bParam_conv; - if(bParam_spam != 0) bCmd = bCmd + "&spam=" + bParam_spam; - if(bParam_new != 0) bCmd = bCmd + "&new=" + bParam_new; - if(bParam_wall != 0) bCmd = bCmd + "&wall=" + bParam_wall; - if(bParam_search != "") bCmd = bCmd + "&search=" + bParam_search; - if(bParam_file != "") bCmd = bCmd + "&file=" + bParam_file; - if(bParam_cats != "") bCmd = bCmd + "&cats=" + bParam_cats; - if(bParam_dend != "") bCmd = bCmd + "&dend=" + bParam_dend; - if(bParam_dbegin != "") bCmd = bCmd + "&dbegin=" + bParam_dbegin; - if(bParam_uri != "") bCmd = bCmd + "&uri=" + bParam_uri; - if(bParam_page != 1) bCmd = bCmd + "&page=" + bParam_page; - return(bCmd); - } - -</script> - diff --git a/view/tpl/smarty3/categories_widget.tpl b/view/tpl/smarty3/categories_widget.tpl deleted file mode 100644 index 75da9fc43..000000000 --- a/view/tpl/smarty3/categories_widget.tpl +++ /dev/null @@ -1,17 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="categories-sidebar" class="widget"> - <h3>{{$title}}</h3> - <div id="categories-sidebar-desc">{{$desc}}</div> - - <ul class="categories-ul"> - <li class="tool"><a href="{{$base}}" class="categories-link categories-all{{if $sel_all}} categories-selected{{/if}}">{{$all}}</a></li> - {{foreach $terms as $term}} - <li class="tool"><a href="{{$base}}?f=&cat={{$term.name}}" class="categories-link{{if $term.selected}} categories-selected{{/if}}">{{$term.name}}</a></li> - {{/foreach}} - </ul> - -</div> diff --git a/view/tpl/smarty3/channel.tpl b/view/tpl/smarty3/channel.tpl deleted file mode 100644 index b49cf19cc..000000000 --- a/view/tpl/smarty3/channel.tpl +++ /dev/null @@ -1,17 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="channel-selection"> -{{if $channel.default_links}} -{{if $channel.default}} -<div class="channel-selection-default default">{{$msg_default}}</div> -{{else}} -<div class="channel-selection-default"><a href="manage/{{$channel.channel_id}}/default">{{$msg_make_default}}</a></div> -{{/if}} -{{/if}} -<a href="{{$channel.link}}" class="channel-selection-photo-link" title="{{$channel.channel_name}}"><img class="channel-photo" src="{{$channel.xchan_photo_m}}" alt="{{$channel.channel_name}}" /></a> -<a href="{{$channel.link}}" class="channel-selection-name-link" title="{{$channel.channel_name}}"><div class="channel-name">{{$channel.channel_name}}</div></a> -</div> -<div class="channel-selection-end"></div> diff --git a/view/tpl/smarty3/channel_import.tpl b/view/tpl/smarty3/channel_import.tpl deleted file mode 100644 index 872f039b7..000000000 --- a/view/tpl/smarty3/channel_import.tpl +++ /dev/null @@ -1,40 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h2>{{$title}}</h2> - -<form action="import" method="post" id="import-channel-form"> - - <div id="import-desc" class="descriptive-paragraph">{{$desc}}</div> - - <label for="import-filename" id="label-import-filename" class="import-label" >{{$label_filename}}</label> - <input type="file" name="filename" id="import-filename" class="import-input" value="" /> - <div id="import-filename-end" class="import-field-end"></div> - - <div id="import-choice" class="descriptive-paragraph">{{$choice}}</div> - - <label for="import-old-address" id="label-import-old-address" class="import-label" >{{$label_old_address}}</label> - <input type="text" name="old_address" id="import-old-address" class="import-input" value="" /> - <div id="import-old-address-end" class="import-field-end"></div> - - <label for="import-old-email" id="label-import-old-email" class="import-label" >{{$label_old_email}}</label> - <input type="text" name="email" id="import-old-email" class="import-input" value="{{$email}}" /> - <div id="import-old-email-end" class="import-field-end"></div> - - <label for="import-old-pass" id="label-import-old-pass" class="import-label" >{{$label_old_pass}}</label> - <input type="password" name="password" id="import-old-pass" class="import-input" value="{{$pass}}" /> - <div id="import-old-pass-end" class="import-field-end"></div> - - <div id="import-common-desc" class="descriptive-paragraph">{{$common}}</div> - - <input type="checkbox" name="make_primary" id="import-make-primary" value="1" /> - <label for="import-make-primary" id="label-import-make-primary">{{$label_import_primary}}</label> - <div id="import-make-primary-end" class="import-field-end"></div> - - <input type="submit" name="submit" id="import-submit-button" value="{{$submit}}" /> - <div id="import-submit-end" class="import-field-end"></div> - -</form> - diff --git a/view/tpl/smarty3/channels.tpl b/view/tpl/smarty3/channels.tpl deleted file mode 100644 index cfb66401b..000000000 --- a/view/tpl/smarty3/channels.tpl +++ /dev/null @@ -1,27 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h3>{{$header}}</h3> - - -{{if $links}} -{{foreach $links as $l}} -<a class="channels-links" href="{{$l.0}}" title="{{$l.1}}">{{$l.2}}</a> -{{/foreach}} -{{/if}} - -{{if $selected}} -<div id="channels-selected">{{$msg_selected}}</div> -{{include file="channel.tpl" channel=$selected}} -<div class="channels-end selected"></div> -{{/if}} - -<div id="channels-desc" class="descriptive-text">{{$desc}}</div> - -{{foreach $all_channels as $chn}} -{{include file="channel.tpl" channel=$chn}} -{{/foreach}} - -<div class="channels-end all"></div> diff --git a/view/tpl/smarty3/chanview.tpl b/view/tpl/smarty3/chanview.tpl deleted file mode 100644 index 4b0f29f6c..000000000 --- a/view/tpl/smarty3/chanview.tpl +++ /dev/null @@ -1,7 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="chanview-iframe-border" class="fakelink" onclick="chanviewFull(); return true;" title="{{$full}}" >☐</div> -<iframe id="remote-channel" width="100%" src="{{$url}}" onload="resize_iframe()"></iframe> diff --git a/view/tpl/smarty3/comment_item.tpl b/view/tpl/smarty3/comment_item.tpl deleted file mode 100644 index cde6466f0..000000000 --- a/view/tpl/smarty3/comment_item.tpl +++ /dev/null @@ -1,73 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - {{if $threaded}} - <div class="comment-wwedit-wrapper threaded" id="comment-edit-wrapper-{{$id}}" style="display: block;"> - {{else}} - <div class="comment-wwedit-wrapper" id="comment-edit-wrapper-{{$id}}" style="display: block;"> - {{/if}} - <form class="comment-edit-form" style="display: block;" id="comment-edit-form-{{$id}}" action="item" method="post" onsubmit="post_comment({{$id}}); return false;"> - <input type="hidden" name="type" value="{{$type}}" /> - <input type="hidden" name="profile_uid" value="{{$profile_uid}}" /> - <input type="hidden" name="parent" value="{{$parent}}" /> - <input type="hidden" name="return" value="{{$return_path}}" /> - <input type="hidden" name="jsreload" value="{{$jsreload}}" /> - <input type="hidden" name="preview" id="comment-preview-inp-{{$id}}" value="0" /> - <input type="hidden" name="post_id_random" value="{{$rand_num}}" /> - - <div class="comment-edit-photo" id="comment-edit-photo-{{$id}}" > - <a class="comment-edit-photo-link" href="{{$mylink}}" title="{{$mytitle}}"><img class="my-comment-photo" src="{{$myphoto}}" alt="{{$mytitle}}" title="{{$mytitle}}" /></a> - </div> - <div class="comment-edit-photo-end"></div> - <ul class="comment-edit-bb-{{$id}}"> - <li><a class="editicon boldbb shadow" - style="cursor: pointer;" title="{{$edbold}}" - onclick="insertFormatting('{{$comment}}','b', {{$id}});"></a></li> - <li><a class="editicon italicbb shadow" - style="cursor: pointer;" title="{{$editalic}}" - onclick="insertFormatting('{{$comment}}','i', {{$id}});"></a></li> - <li><a class="editicon underlinebb shadow" - style="cursor: pointer;" title="{{$eduline}}" - onclick="insertFormatting('{{$comment}}','u', {{$id}});"></a></li> - <li><a class="editicon quotebb shadow" - style="cursor: pointer;" title="{{$edquote}}" - onclick="insertFormatting('{{$comment}}','quote', {{$id}});"></a></li> - <li><a class="editicon codebb shadow" - style="cursor: pointer;" title="{{$edcode}}" - onclick="insertFormatting('{{$comment}}','code', {{$id}});"></a></li> - <li><a class="editicon imagebb shadow" - style="cursor: pointer;" title="{{$edimg}}" - onclick="insertFormatting('{{$comment}}','img', {{$id}});"></a></li> - <li><a class="editicon urlbb shadow" - style="cursor: pointer;" title="{{$edurl}}" - onclick="insertFormatting('{{$comment}}','url', {{$id}});"></a></li> - <li><a class="editicon videobb shadow" - style="cursor: pointer;" title="{{$edvideo}}" - onclick="insertFormatting('{{$comment}}','video', {{$id}});"></a></li> - </ul> - <div class="comment-edit-bb-end"></div> - <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$id}});cmtBbOpen(this, {{$id}});" onBlur="commentClose(this,{{$id}});cmtBbClose(this,{{$id}});" >{{$comment}}</textarea> - {{if $qcomment}} - <select id="qcomment-select-{{$id}}" name="qcomment-{{$id}}" class="qcomment" onchange="qCommentInsert(this,{{$id}});" > - <option value=""></option> - {{foreach $qcomment as $qc}} - <option value="{{$qc}}">{{$qc}}</option> - {{/foreach}} - </select> - {{/if}} - - <div class="comment-edit-text-end"></div> - <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-{{$id}}" style="display: none;" > - <input type="submit" onclick="post_comment({{$id}}); return false;" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" /> - {{if $preview}} - <span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="fakelink">{{$preview}}</span> - <div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div> - {{/if}} - </div> - - <div class="comment-edit-end"></div> - </form> - - </div> diff --git a/view/tpl/smarty3/common_friends.tpl b/view/tpl/smarty3/common_friends.tpl deleted file mode 100644 index 499cfe626..000000000 --- a/view/tpl/smarty3/common_friends.tpl +++ /dev/null @@ -1,17 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="profile-match-wrapper"> - <div class="profile-match-photo"> - <a href="{{$url}}"> - <img src="{{$photo}}" alt="{{$name}}" width="80" height="80" title="{{$name}} [{{$url}}]" /> - </a> - </div> - <div class="profile-match-break"></div> - <div class="profile-match-name"> - <a href="{{$url}}" title="{{$name}}[{{$tags}}]">{{$name}}</a> - </div> - <div class="profile-match-end"></div> -</div>
\ No newline at end of file diff --git a/view/tpl/smarty3/common_tabs.tpl b/view/tpl/smarty3/common_tabs.tpl deleted file mode 100644 index 07c501499..000000000 --- a/view/tpl/smarty3/common_tabs.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<ul class="tabs"> - {{foreach $tabs as $tab}} - <li {{if $tab.id}}id="{{$tab.id}}"{{/if}}><a href="{{$tab.url}}" class="tab button {{$tab.sel}}"{{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li> - {{/foreach}} -</ul> -<div class="tabs-end"></div>
\ No newline at end of file diff --git a/view/tpl/smarty3/contact_block.tpl b/view/tpl/smarty3/contact_block.tpl deleted file mode 100644 index 3b07a1ea3..000000000 --- a/view/tpl/smarty3/contact_block.tpl +++ /dev/null @@ -1,17 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="contact-block"> -<div id="contact-block-numcontacts">{{$contacts}}</div> -{{if $micropro}} - <a class="allcontact-link" href="viewconnections/{{$nickname}}">{{$viewconnections}}</a> - <div class='contact-block-content'> - {{foreach $micropro as $m}} - {{$m}} - {{/foreach}} - </div> -{{/if}} -</div> -<div class="clear"></div> diff --git a/view/tpl/smarty3/contact_edit.tpl b/view/tpl/smarty3/contact_edit.tpl deleted file mode 100644 index 28d067af1..000000000 --- a/view/tpl/smarty3/contact_edit.tpl +++ /dev/null @@ -1,94 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<h2>{{$header}}</h2> - -<div id="contact-edit-wrapper" > - - {{$tab_str}} - - <div id="contact-edit-drop-link" > - <a href="contacts/{{$contact_id}}/drop" class="icon drophide" id="contact-edit-drop-link" onclick="return confirmDelete();" title="{{$delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);"></a> - </div> - - <div id="contact-edit-drop-link-end"></div> - - - <div id="contact-edit-nav-wrapper" > - <div id="contact-edit-links"> - <ul> - <li><div id="contact-edit-rel">{{$relation_text}}</div></li> - <li><div id="contact-edit-nettype">{{$nettype}}</div></li> - {{if $lost_contact}} - <li><div id="lost-contact-message">{{$lost_contact}}</div></li> - {{/if}} - {{if $insecure}} - <li><div id="insecure-message">{{$insecure}}</div></li> - {{/if}} - {{if $blocked}} - <li><div id="block-message">{{$blocked}}</div></li> - {{/if}} - {{if $ignored}} - <li><div id="ignore-message">{{$ignored}}</div></li> - {{/if}} - {{if $archived}} - <li><div id="archive-message">{{$archived}}</div></li> - {{/if}} - - <li> </li> - - {{if $common_text}} - <li><div id="contact-edit-common"><a href="{{$common_link}}">{{$common_text}}</a></div></li> - {{/if}} - {{if $all_friends}} - <li><div id="contact-edit-allfriends"><a href="allfriends/{{$contact_id}}">{{$all_friends}}</a></div></li> - {{/if}} - - - <li><a href="network/?cid={{$contact_id}}" id="contact-edit-view-recent">{{$lblrecent}}</a></li> - {{if $lblsuggest}} - <li><a href="fsuggest/{{$contact_id}}" id="contact-edit-suggest">{{$lblsuggest}}</a></li> - {{/if}} - - </ul> - </div> - </div> - <div id="contact-edit-nav-end"></div> - - -<form action="contacts/{{$contact_id}}" method="post" > -<input type="hidden" name="contact_id" value="{{$contact_id}}"> -<input id="contact-closeness-mirror" type="hidden" name="closeness" value="{{$close}}" /> - - {{if $poll_enabled}} - <div id="contact-edit-poll-wrapper"> - <div id="contact-edit-last-update-text">{{$lastupdtext}} <span id="contact-edit-last-updated">{{$last_update}}</span></div> - <span id="contact-edit-poll-text">{{$updpub}}</span> {{$poll_interval}} <span id="contact-edit-update-now" class="button"><a href="contacts/{{$contact_id}}/update" >{{$udnow}}</a></span> - </div> - {{/if}} - <div id="contact-edit-end" ></div> - - {{include file="field_checkbox.tpl" field=$hidden}} - -<div id="contact-edit-info-wrapper"> -<h4>{{$lbl_info1}}</h4> - <textarea id="contact-edit-info" rows="8" cols="60" name="info">{{$info}}</textarea> - <input class="contact-edit-submit" type="submit" name="submit" value="{{$submit}}" /> -</div> -<div id="contact-edit-info-end"></div> - - -<div id="contact-edit-profile-select-text"> -<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}}" /> - -</form> -</div> diff --git a/view/tpl/smarty3/contact_head.tpl b/view/tpl/smarty3/contact_head.tpl deleted file mode 100644 index 27bc286b1..000000000 --- a/view/tpl/smarty3/contact_head.tpl +++ /dev/null @@ -1,35 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<script language="javascript" type="text/javascript" - src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> - <script language="javascript" type="text/javascript"> - -tinyMCE.init({ - theme : "advanced", - mode : "{{$editselect}}", - elements: "contact-edit-info", - plugins : "bbcode", - theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor", - theme_advanced_buttons2 : "", - theme_advanced_buttons3 : "", - theme_advanced_toolbar_location : "top", - theme_advanced_toolbar_align : "center", - theme_advanced_styles : "blockquote,code", - gecko_spellcheck : true, - entity_encoding : "raw", - add_unload_trigger : false, - remove_linebreaks : false, - force_p_newlines : false, - force_br_newlines : true, - forced_root_block : '', - content_css: "{{$baseurl}}/view/custom_tinymce.css" - - -}); - - -</script> - diff --git a/view/tpl/smarty3/contact_slider.tpl b/view/tpl/smarty3/contact_slider.tpl deleted file mode 100644 index 80fa6f056..000000000 --- a/view/tpl/smarty3/contact_slider.tpl +++ /dev/null @@ -1,9 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="contact-slider" class="slider" style="height: 32px; position: relative; left: 5%; width: 90%;"><input id="contact-range" type="text" name="fake-closeness" value="{{$val}}" /></div> -<script> - $("#contact-range").slider({ from: 0, to: 99, step: 1, scale: ['{{$me}}', '|', '{{$intimate}}', '|', '{{$friends}}', '|', '{{$oldfriends}}', '|', '{{$acquaintances}}', '|', '{{$world}}' ], onstatechange: function(v) { $("#contact-closeness-mirror").val(v); } }); -</script> diff --git a/view/tpl/smarty3/contact_template.tpl b/view/tpl/smarty3/contact_template.tpl deleted file mode 100644 index 496fb90ba..000000000 --- a/view/tpl/smarty3/contact_template.tpl +++ /dev/null @@ -1,14 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<div class="contact-entry-wrapper" id="contact-entry-wrapper-{{$contact.id}}" > - <div class="contact-entry-photo-wrapper" > - <a href="{{$contact.url}}" title="{{$contact.img_hover}}" /><img src="{{$contact.thumb}}" alt="{{$contact.name}}" /></a> - </div> - <div class="contact-entry-photo-end" ></div> - <div class="contact-entry-name" id="contact-entry-name-{{$contact.id}}" >{{$contact.name}}</div> - <div class="contact-entry-end" ></div> -</div> diff --git a/view/tpl/smarty3/contacts-template.tpl b/view/tpl/smarty3/contacts-template.tpl deleted file mode 100644 index 66f3f5c87..000000000 --- a/view/tpl/smarty3/contacts-template.tpl +++ /dev/null @@ -1,31 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$header}}{{if $total}} ({{$total}}){{/if}}</h1> - -{{if $finding}}<h4>{{$finding}}</h4>{{/if}} - -<div id="contacts-search-wrapper"> -<form id="contacts-search-form" action="{{$cmd}}" method="get" > -<span class="contacts-search-desc">{{$desc}}</span> -<input type="text" name="search" id="contacts-search" class="search-input" onfocus="this.select();" value="{{$search}}" /> -<input type="submit" name="submit" id="contacts-search-submit" value="{{$submit}}" /> -</form> -</div> -<div id="contacts-search-end"></div> - -{{$tabs}} - - -{{foreach $contacts as $contact}} - {{include file="contact_template.tpl"}} -{{/foreach}} -<div id="contact-edit-end"></div> - -{{$paginate}} - - - - diff --git a/view/tpl/smarty3/content.tpl b/view/tpl/smarty3/content.tpl deleted file mode 100644 index 811f92dd5..000000000 --- a/view/tpl/smarty3/content.tpl +++ /dev/null @@ -1,7 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="content-begin"></div> -<div id="content-end"></div> diff --git a/view/tpl/smarty3/conv.tpl b/view/tpl/smarty3/conv.tpl deleted file mode 100644 index c91ab635a..000000000 --- a/view/tpl/smarty3/conv.tpl +++ /dev/null @@ -1,22 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -{{foreach $threads as $thread}} -<div id="thread-wrapper-{{$thread.id}}" class="thread-wrapper"> - {{foreach $thread.items as $item}} - {{if $item.comment_firstcollapsed}} - <div class="hide-comments-outer"> - <span id="hide-comments-total-{{$thread.id}}" class="hide-comments-total">{{$thread.num_comments}}</span> <span id="hide-comments-{{$thread.id}}" class="hide-comments fakelink" onclick="showHideComments({{$thread.id}});">{{$thread.hide_text}}</span> - </div> - <div id="collapsed-comments-{{$thread.id}}" class="collapsed-comments" style="display: none;"> - {{/if}} - {{if $item.comment_lastcollapsed}}</div>{{/if}} - - {{include file="{{$item.template}}"}} - - - {{/foreach}} -</div> -{{/foreach}} diff --git a/view/tpl/smarty3/conv_frame.tpl b/view/tpl/smarty3/conv_frame.tpl deleted file mode 100644 index 81d655be2..000000000 --- a/view/tpl/smarty3/conv_frame.tpl +++ /dev/null @@ -1,19 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="threads-begin"></div> -<div id="threads-end"></div> -<div id="conversation-end"></div> - -{{if $dropping}} -<div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems();"> - <div id="item-delete-selected-icon" class="icon drophide" title="{{$dropping}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div> - <div id="item-delete-selected-desc" >{{$dropping}}</div> -</div> -<div id="item-delete-selected-end"></div> -{{/if}} - -<img id="page-spinner" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" /> - diff --git a/view/tpl/smarty3/conv_item.tpl b/view/tpl/smarty3/conv_item.tpl deleted file mode 100644 index 37baa81bf..000000000 --- a/view/tpl/smarty3/conv_item.tpl +++ /dev/null @@ -1,120 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -{{if $item.comment_firstcollapsed}} - <div class="hide-comments-outer"> - <span id="hide-comments-total-{{$item.id}}" class="hide-comments-total">{{$item.num_comments}}</span> <span id="hide-comments-{{$item.id}}" class="hide-comments fakelink" onclick="showHideComments({{$item.id}});">{{$item.hide_text}}</span> - </div> - <div id="collapsed-comments-{{$item.id}}" class="collapsed-comments" style="display: none;"> -{{/if}} -<div id="thread-wrapper-{{$item.id}}" class="thread-wrapper {{$item.toplevel}}"> -<a name="{{$item.id}}" ></a> -<div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}}{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-outside-wrapper-{{$item.id}}" > - <div class="wall-item-content-wrapper {{$item.indent}}" id="wall-item-content-wrapper-{{$item.id}}" > - <div class="wall-item-info{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-info-{{$item.id}}"> - {{if $item.owner_url}} - <div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" > - <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-photo-link" id="wall-item-ownerphoto-link-{{$item.id}}"> - <img src="{{$item.owner_photo}}" class="wall-item-photo{{$item.osparkle}}" id="wall-item-ownerphoto-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.owner_name}}" /></a> - </div> - <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="{{$item.wall}}" /></div> - {{/if}} - <div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}}" id="wall-item-photo-wrapper-{{$item.id}}" - onmouseover="if (typeof t{{$item.id}} != 'undefined') clearTimeout(t{{$item.id}}); openMenu('wall-item-photo-menu-button-{{$item.id}}')" - onmouseout="t{{$item.id}}=setTimeout('closeMenu(\'wall-item-photo-menu-button-{{$item.id}}\'); closeMenu(\'wall-item-photo-menu-{{$item.id}}\');',200)"> - <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}"> - <img src="{{$item.thumb}}" class="wall-item-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.name}}" /></a> - <span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span> - <div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}"> - <ul> - {{$item.item_photo_menu}} - </ul> - </div> - - </div> - <div class="wall-item-photo-end"></div> - <div class="wall-item-wrapper" id="wall-item-wrapper-{{$item.id}}" > - {{if $item.lock}}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" /></div> - {{else}}<div class="wall-item-lock"></div>{{/if}} - <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div> - </div> - </div> - <div class="wall-item-author"> - <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span></a>{{if $item.owner_url}} {{$item.to}} <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span></a> {{$item.vwall}}{{/if}}<br /> - <div class="wall-item-ago" id="wall-item-ago-{{$item.id}}" title="{{$item.localtime}}">{{$item.ago}}</div> - </div> - <div class="wall-item-content" id="wall-item-content-{{$item.id}}" > - <div class="wall-item-title" id="wall-item-title-{{$item.id}}">{{$item.title}}</div> - <div class="wall-item-title-end"></div> - <div class="wall-item-body" id="wall-item-body-{{$item.id}}" >{{$item.body}} - <div class="body-tag"> - {{foreach $item.tags as $tag}} - <span class='tag'>{{$tag}}</span> - {{/foreach}} - </div> - {{if $item.has_cats}} - <div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}} - </div> - {{/if}} - - {{if $item.has_folders}} - <div class="filesavetags"><span>{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}} - </div> - {{/if}} - </div> - </div> - <div class="wall-item-tools" id="wall-item-tools-{{$item.id}}"> - {{if $item.like}} - <a href="#" class="icon like item-tool" title="{{$item.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></a> - {{/if}} - {{if $item.dislike}} - <a href="#" class="icon dislike item-tool" title="{{$item.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></a> - {{/if}} - {{if $item.share}} - <a href="#" class="icon recycle item-tool" title="{{$item.share.0}}" onclick="jotShare({{$item.id}}); return false"></a> - {{/if}} - {{if $item.plink}} - <a href="{{$item.plink.href}}" title="{{$item.plink.title}}" target="external-link" class="icon item-tool remote-link{{$item.sparkle}}"></a> - {{/if}} - {{if $item.edpost}} - <a class="editpost icon pencil item-tool" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a> - {{/if}} - {{if $item.star}} - <a href="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="star-item icon item-tool {{$item.star.isstarred}}" title="{{$item.star.toggle}}"></a> - {{/if}} - {{if $item.tagger}} - <a href="#" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="tag-item icon item-tool tagged" title="{{$item.tagger.tagit}}"></a> - {{/if}} - {{if $item.filer}} - <a href="#" id="filer-{{$item.id}}" onclick="itemFiler({{$item.id}}); return false;" class="filer-item filer-icon item-tool" title="{{$item.filer}}"></a> - {{/if}} - <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" /> - - <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" > - {{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{/if}} - </div> - {{if $item.drop.pagedrop}}<input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}} - <div class="wall-item-delete-end"></div> - </div> - </div> - <div class="wall-item-wrapper-end"></div> - <div class="wall-item-like {{$item.indent}}" id="wall-item-like-{{$item.id}}">{{$item.showlike}}</div> - <div class="wall-item-dislike {{$item.indent}}" id="wall-item-dislike-{{$item.id}}">{{$item.showdislike}}</div> - -<div class="wall-item-outside-wrapper-end {{$item.indent}}" ></div> -</div> -{{if $item.toplevel}} -{{foreach $item.children as $child}} - {{include file="{{$child.template}}" item=$child}} -{{/foreach}} -{{/if}} - -<div class="wall-item-comment-wrapper" > - {{$item.comment}} -</div> - - -</div> -{{if $item.comment_lastcollapsed}}</div>{{/if}} diff --git a/view/tpl/smarty3/conversation.tpl b/view/tpl/smarty3/conversation.tpl deleted file mode 100644 index 837fbc11f..000000000 --- a/view/tpl/smarty3/conversation.tpl +++ /dev/null @@ -1,33 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="threads-begin"></div> -{{foreach $threads as $thread}} -<div id="thread-wrapper-{{$thread.id}}" class="thread-wrapper"> - {{foreach $thread.items as $item}} - {{if $item.comment_firstcollapsed}} - <div class="hide-comments-outer"> - <span id="hide-comments-total-{{$thread.id}}" class="hide-comments-total">{{$thread.num_comments}}</span> <span id="hide-comments-{{$thread.id}}" class="hide-comments fakelink" onclick="showHideComments({{$thread.id}});">{{$thread.hide_text}}</span> - </div> - <div id="collapsed-comments-{{$thread.id}}" class="collapsed-comments" style="display: none;"> - {{/if}} - {{if $item.comment_lastcollapsed}}</div>{{/if}} - - {{include file="{{$item.template}}"}} - - - {{/foreach}} -</div> -{{/foreach}} -<div id="threads-end"></div> -<div id="conversation-end"></div> - -{{if $dropping}} -<div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems();"> - <div id="item-delete-selected-icon" class="icon drophide" title="{{$dropping}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div> - <div id="item-delete-selected-desc" >{{$dropping}}</div> -</div> -<div id="item-delete-selected-end"></div> -{{/if}} diff --git a/view/tpl/smarty3/convobj.tpl b/view/tpl/smarty3/convobj.tpl deleted file mode 100644 index 2a714c100..000000000 --- a/view/tpl/smarty3/convobj.tpl +++ /dev/null @@ -1,9 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -{{foreach $threads as $item}} -{{include file="{{$item.template}}"}} -{{/foreach}} - diff --git a/view/tpl/smarty3/crepair.tpl b/view/tpl/smarty3/crepair.tpl deleted file mode 100644 index 8d3ed7df8..000000000 --- a/view/tpl/smarty3/crepair.tpl +++ /dev/null @@ -1,51 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<form id="crepair-form" action="crepair/{{$contact_id}}" method="post" > - -<h4>{{$contact_name}}</h4> - -<label id="crepair-name-label" class="crepair-label" for="crepair-name">{{$label_name}}</label> -<input type="text" id="crepair-name" class="crepair-input" name="name" value="{{$contact_name}}" /> -<div class="clear"></div> - -<label id="crepair-nick-label" class="crepair-label" for="crepair-nick">{{$label_nick}}</label> -<input type="text" id="crepair-nick" class="crepair-input" name="nick" value="{{$contact_nick}}" /> -<div class="clear"></div> - -<label id="crepair-attag-label" class="crepair-label" for="crepair-attag">{{$label_attag}}</label> -<input type="text" id="crepair-attag" class="crepair-input" name="attag" value="{{$contact_attag}}" /> -<div class="clear"></div> - -<label id="crepair-url-label" class="crepair-label" for="crepair-url">{{$label_url}}</label> -<input type="text" id="crepair-url" class="crepair-input" name="url" value="{{$contact_url}}" /> -<div class="clear"></div> - -<label id="crepair-request-label" class="crepair-label" for="crepair-request">{{$label_request}}</label> -<input type="text" id="crepair-request" class="crepair-input" name="request" value="{{$request}}" /> -<div class="clear"></div> - -<label id="crepair-confirm-label" class="crepair-label" for="crepair-confirm">{{$label_confirm}}</label> -<input type="text" id="crepair-confirm" class="crepair-input" name="confirm" value="{{$confirm}}" /> -<div class="clear"></div> - -<label id="crepair-notify-label" class="crepair-label" for="crepair-notify">{{$label_notify}}</label> -<input type="text" id="crepair-notify" class="crepair-input" name="notify" value="{{$notify}}" /> -<div class="clear"></div> - -<label id="crepair-poll-label" class="crepair-label" for="crepair-poll">{{$label_poll}}</label> -<input type="text" id="crepair-poll" class="crepair-input" name="poll" value="{{$poll}}" /> -<div class="clear"></div> - -<label id="crepair-photo-label" class="crepair-label" for="crepair-photo">{{$label_photo}}</label> -<input type="text" id="crepair-photo" class="crepair-input" name="photo" value="" /> -<div class="clear"></div> - -<input type="submit" name="submit" value="{{$lbl_submit}}" /> - -</form> - - diff --git a/view/tpl/smarty3/cropbody.tpl b/view/tpl/smarty3/cropbody.tpl deleted file mode 100644 index e6fcd355f..000000000 --- a/view/tpl/smarty3/cropbody.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$title}}</h1> -<p id="cropimage-desc"> -{{$desc}} -</p> -<div id="cropimage-wrapper"> -<img src="{{$image_url}}" id="croppa" class="imgCrop" alt="{{$title}}" /> -</div> -<div id="cropimage-preview-wrapper" > -<div id="previewWrap" ></div> -</div> - -<script type="text/javascript" language="javascript"> - - function onEndCrop( coords, dimensions ) { - $( 'x1' ).value = coords.x1; - $( 'y1' ).value = coords.y1; - $( 'x2' ).value = coords.x2; - $( 'y2' ).value = coords.y2; - $( 'width' ).value = dimensions.width; - $( 'height' ).value = dimensions.height; - } - - Event.observe( window, 'load', function() { - new Cropper.ImgWithPreview( - 'croppa', - { - previewWrap: 'previewWrap', - minWidth: 175, - minHeight: 175, - maxWidth: 640, - maxHeight: 640, - ratioDim: { x: 100, y:100 }, - displayOnInit: true, - onEndCrop: onEndCrop - } - ); - } - ); - -</script> - -<form action="profile_photo/{{$resource}}" id="crop-image-form" method="post" /> -<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - -<input type='hidden' name='profile' value='{{$profile}}'> -<input type="hidden" name="cropfinal" value="1" /> -<input type="hidden" name="xstart" id="x1" /> -<input type="hidden" name="ystart" id="y1" /> -<input type="hidden" name="xfinal" id="x2" /> -<input type="hidden" name="yfinal" id="y2" /> -<input type="hidden" name="height" id="height" /> -<input type="hidden" name="width" id="width" /> - -<div id="crop-image-submit-wrapper" > -<input type="submit" name="submit" value="{{$done}}" /> -</div> - -</form> diff --git a/view/tpl/smarty3/crophead.tpl b/view/tpl/smarty3/crophead.tpl deleted file mode 100644 index d51b87d12..000000000 --- a/view/tpl/smarty3/crophead.tpl +++ /dev/null @@ -1,9 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - <script type="text/javascript" src="library/cropper/lib/prototype.js" language="javascript"></script> - <script type="text/javascript" src="library/cropper/lib/scriptaculous.js?load=effects,builder,dragdrop" language="javascript"></script> - <script type="text/javascript" src="library/cropper/cropper.js" language="javascript"></script> - <link rel="stylesheet" href="library/cropper/cropper.css" type="text/css" /> diff --git a/view/tpl/smarty3/delegate.tpl b/view/tpl/smarty3/delegate.tpl deleted file mode 100644 index 7aa85cf39..000000000 --- a/view/tpl/smarty3/delegate.tpl +++ /dev/null @@ -1,62 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h3>{{$header}}</h3> - -<div id="delegate-desc" class="delegate-desc">{{$desc}}</div> - -{{if $managers}} -<h3>{{$head_managers}}</h3> - -{{foreach $managers as $x}} - -<div class="contact-block-div"> -<a class="contact-block-link" href="#" > -<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" /> -</a> -</div> - -{{/foreach}} -<div class="clear"></div> -<hr /> -{{/if}} - - -<h3>{{$head_delegates}}</h3> - -{{if $delegates}} -{{foreach $delegates as $x}} - -<div class="contact-block-div"> -<a class="contact-block-link" href="{{$base}}/delegate/remove/{{$x.uid}}" > -<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" /> -</a> -</div> - -{{/foreach}} -<div class="clear"></div> -{{else}} -{{$none}} -{{/if}} -<hr /> - - -<h3>{{$head_potentials}}</h3> -{{if $potentials}} -{{foreach $potentials as $x}} - -<div class="contact-block-div"> -<a class="contact-block-link" href="{{$base}}/delegate/add/{{$x.uid}}" > -<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" /> -</a> -</div> - -{{/foreach}} -<div class="clear"></div> -{{else}} -{{$none}} -{{/if}} -<hr /> - diff --git a/view/tpl/smarty3/dfrn_req_confirm.tpl b/view/tpl/smarty3/dfrn_req_confirm.tpl deleted file mode 100644 index c941a201d..000000000 --- a/view/tpl/smarty3/dfrn_req_confirm.tpl +++ /dev/null @@ -1,26 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<p id="dfrn-request-homecoming" > -{{$welcome}} -<br /> -{{$please}} - -</p> -<form id="dfrn-request-homecoming-form" action="dfrn_request/{{$nickname}}" method="post"> -<input type="hidden" name="dfrn_url" value="{{$dfrn_url}}" /> -<input type="hidden" name="confirm_key" value="{{$confirm_key}}" /> -<input type="hidden" name="localconfirm" value="1" /> -{{$aes_allow}} - -<label id="dfrn-request-homecoming-hide-label" for="dfrn-request-homecoming-hide">{{$hidethem}}</label> -<input type="checkbox" name="hidden-contact" value="1" {{if $hidechecked}}checked="checked" {{/if}} /> - - -<div id="dfrn-request-homecoming-submit-wrapper" > -<input id="dfrn-request-homecoming-submit" type="submit" name="submit" value="{{$submit}}" /> -</div> -</form>
\ No newline at end of file diff --git a/view/tpl/smarty3/dfrn_request.tpl b/view/tpl/smarty3/dfrn_request.tpl deleted file mode 100644 index b08a0b731..000000000 --- a/view/tpl/smarty3/dfrn_request.tpl +++ /dev/null @@ -1,64 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<h1>{{$header}}</h1> - -<p id="dfrn-request-intro"> -{{$page_desc}}<br /> -{{$invite_desc}} -</p> -<p> -{{$desc}} -</p> - -<form action="dfrn_request/{{$nickname}}" method="post" /> - -<div id="dfrn-request-url-wrapper" > - <label id="dfrn-url-label" for="dfrn-url" >{{$your_address}}</label> - <input type="text" name="dfrn_url" id="dfrn-url" size="32" value="{{$myaddr}}" /> - <div id="dfrn-request-url-end"></div> -</div> - -<p id="dfrn-request-options"> -{{$pls_answer}} -</p> - -<div id="dfrn-request-info-wrapper" > - - -<p id="doiknowyou"> -{{$does_know}} -</p> - - <div id="dfrn-request-know-yes-wrapper"> - <label id="dfrn-request-knowyou-yes-label" for="dfrn-request-knowyouyes">{{$yes}}</label> - <input type="radio" name="knowyou" id="knowyouyes" value="1" /> - - <div id="dfrn-request-knowyou-break" ></div> - </div> - <div id="dfrn-request-know-no-wrapper"> - <label id="dfrn-request-knowyou-no-label" for="dfrn-request-knowyouno">{{$no}}</label> - <input type="radio" name="knowyou" id="knowyouno" value="0" checked="checked" /> - - <div id="dfrn-request-knowyou-end"></div> - </div> - - -<p id="dfrn-request-message-desc"> -{{$add_note}} -</p> - <div id="dfrn-request-message-wrapper"> - <textarea name="dfrn-request-message" rows="4" cols="64" ></textarea> - </div> - - -</div> - - <div id="dfrn-request-submit-wrapper"> - <input type="submit" name="submit" id="dfrn-request-submit-button" value="{{$submit}}" /> - <input type="submit" name="cancel" id="dfrn-request-cancel-button" value="{{$cancel}}" /> - </div> -</form> diff --git a/view/tpl/smarty3/diasp_dec_hdr.tpl b/view/tpl/smarty3/diasp_dec_hdr.tpl deleted file mode 100644 index c3305ecd0..000000000 --- a/view/tpl/smarty3/diasp_dec_hdr.tpl +++ /dev/null @@ -1,13 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<decrypted_hdeader> - <iv>{{$inner_iv}}</iv> - <aes_key>{{$inner_key}}</aes_key> - <author> - <name>{{$author_name}}</name> - <uri>{{$author_uri}}</uri> - </author> -</decrypted_header> diff --git a/view/tpl/smarty3/directory_header.tpl b/view/tpl/smarty3/directory_header.tpl deleted file mode 100644 index 293e65be2..000000000 --- a/view/tpl/smarty3/directory_header.tpl +++ /dev/null @@ -1,21 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$dirlbl}}</h1> - -{{if $search}} -<h4>{{$finddsc}} {{$safetxt}}</h4> -{{/if}} - -{{foreach $entries as $entry}} - -{{include file="direntry.tpl"}} - -{{/foreach}} - - - -<div class="directory-end"></div> - diff --git a/view/tpl/smarty3/directory_item.tpl b/view/tpl/smarty3/directory_item.tpl deleted file mode 100644 index ae52646b8..000000000 --- a/view/tpl/smarty3/directory_item.tpl +++ /dev/null @@ -1,16 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<div class="directory-item lframe" id="directory-item-{{$id}}" > - <div class="contact-photo-wrapper" id="directory-photo-wrapper-{{$id}}" > - <div class="contact-photo" id="directory-photo-{{$id}}" > - <a href="{{$profile_link}}" class="directory-profile-link" id="directory-profile-link-{{$id}}" ><img class="directory-photo-img" src="{{$photo}}" alt="{{$alt_text}}" title="{{$alt_text}}" /></a> - </div> - </div> - - <div class="contact-name" id="directory-name-{{$id}}">{{$name}}</div> - <div class="contact-details">{{$details}}</div> -</div> diff --git a/view/tpl/smarty3/direntry.tpl b/view/tpl/smarty3/direntry.tpl deleted file mode 100644 index c1009efc7..000000000 --- a/view/tpl/smarty3/direntry.tpl +++ /dev/null @@ -1,16 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<div class="directory-item lframe" id="directory-item-{{$entry.id}}" > - <div class="contact-photo-wrapper" id="directory-photo-wrapper-{{$entry.id}}" > - <div class="contact-photo" id="directory-photo-{{$entry.id}}" > - <a href="{{$entry.profile_link}}" class="directory-profile-link" id="directory-profile-link-{{$entry.id}}" ><img class="directory-photo-img" src="{{$entry.photo}}" alt="{{$entry.alttext}}" title="{{$entry.alttext}}" /></a> - </div> - </div> - - <div class="contact-name" id="directory-name-{{$entry.id}}">{{$entry.name}}</div> - <div class="contact-details">{{$entry.details}}</div> -</div> diff --git a/view/tpl/smarty3/display-head.tpl b/view/tpl/smarty3/display-head.tpl deleted file mode 100644 index 7750b655e..000000000 --- a/view/tpl/smarty3/display-head.tpl +++ /dev/null @@ -1,13 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<script> -$(document).ready(function() { - $(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl"); - // make auto-complete work in more places - $(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl"); -}); -</script> - diff --git a/view/tpl/smarty3/edpost_head.tpl b/view/tpl/smarty3/edpost_head.tpl deleted file mode 100644 index 2bf28002d..000000000 --- a/view/tpl/smarty3/edpost_head.tpl +++ /dev/null @@ -1,6 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h2>{{$title}}</h2> diff --git a/view/tpl/smarty3/email_notify_html.tpl b/view/tpl/smarty3/email_notify_html.tpl deleted file mode 100644 index 47b476688..000000000 --- a/view/tpl/smarty3/email_notify_html.tpl +++ /dev/null @@ -1,32 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN"> -<html> -<head> - <title>{{$banner}}</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:#ff0000; 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; float:left;" src='{{$siteurl}}/images/fred-32.png'><div style="padding:7px; margin-left: 5px; float:left; font-size:18px;letter-spacing:1px;">{{$product}}</div><div style="clear: both;"></div></td></tr> - - - <tr><td style="padding-top:22px;" colspan="2">{{$preamble}}</td></tr> - - - <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$source_link}}"><img style="border:0px;width:48px;height:48px;" src="{{$source_photo}}"></a></td> - <td style="padding-top:22px;"><a href="{{$source_link}}">{{$source_name}}</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;" colspan="2">{{$hsitelink}}</td></tr> - <tr><td style="padding-bottom:11px;" colspan="2">{{$hitemlink}}</td></tr> - <tr><td></td><td>{{$thanks}}</td></tr> - <tr><td></td><td>{{$site_admin}}</td></tr> - </tbody> -</table> -</body> -</html> diff --git a/view/tpl/smarty3/email_notify_text.tpl b/view/tpl/smarty3/email_notify_text.tpl deleted file mode 100644 index e164f3023..000000000 --- a/view/tpl/smarty3/email_notify_text.tpl +++ /dev/null @@ -1,18 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -{{$preamble}} - -{{$title}} - -{{$textversion}} - -{{$tsitelink}} -{{$titemlink}} - -{{$thanks}} -{{$site_admin}} - diff --git a/view/tpl/smarty3/event.tpl b/view/tpl/smarty3/event.tpl deleted file mode 100644 index 1ba472377..000000000 --- a/view/tpl/smarty3/event.tpl +++ /dev/null @@ -1,15 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -{{foreach $events as $event}} - <div class="event"> - - {{if $event.item.author-name}}<a href="{{$event.item.author-link}}" ><img src="{{$event.item.author-avatar}}" height="32" width="32" />{{$event.item.author-name}}</a>{{/if}} - {{$event.html}} - {{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" class="plink-event-link icon s22 remote-link"></a>{{/if}} - {{if $event.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link icon s22 pencil"></a>{{/if}} - </div> - <div class="clear"></div> -{{/foreach}} diff --git a/view/tpl/smarty3/event_form.tpl b/view/tpl/smarty3/event_form.tpl deleted file mode 100644 index 335a9480b..000000000 --- a/view/tpl/smarty3/event_form.tpl +++ /dev/null @@ -1,54 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h3>{{$title}}</h3> - -<p> -{{$desc}} -</p> - -<form action="{{$post}}" method="post" > - -<input type="hidden" name="event_id" value="{{$eid}}" /> -<input type="hidden" name="cid" value="{{$cid}}" /> -<input type="hidden" name="uri" value="{{$uri}}" /> - -<div id="event-start-text">{{$s_text}}</div> -{{$s_dsel}} {{$s_tsel}} - -<div id="event-finish-text">{{$f_text}}</div> -{{$f_dsel}} {{$f_tsel}} - -<div id="event-datetime-break"></div> - -<input type="checkbox" name="nofinish" value="1" id="event-nofinish-checkbox" {{$n_checked}} /> <div id="event-nofinish-text">{{$n_text}}</div> - -<div id="event-nofinish-break"></div> - -<input type="checkbox" name="adjust" value="1" id="event-adjust-checkbox" {{$a_checked}} /> <div id="event-adjust-text">{{$a_text}}</div> - -<div id="event-adjust-break"></div> - -<div id="event-summary-text">{{$t_text}}</div> -<input type="text" id="event-summary" name="summary" value="{{$t_orig}}" /> - - -<div id="event-desc-text">{{$d_text}}</div> -<textarea id="event-desc-textarea" name="desc">{{$d_orig}}</textarea> - - -<div id="event-location-text">{{$l_text}}</div> -<textarea id="event-location-textarea" name="location">{{$l_orig}}</textarea> - -<input type="checkbox" name="share" value="1" id="event-share-checkbox" {{$sh_checked}} /> <div id="event-share-text">{{$sh_text}}</div> -<div id="event-share-break"></div> - -{{$acl}} - -<div class="clear"></div> -<input id="event-submit" type="submit" name="submit" value="{{$submit}}" /> -</form> - - diff --git a/view/tpl/smarty3/event_head.tpl b/view/tpl/smarty3/event_head.tpl deleted file mode 100644 index 32288b7ad..000000000 --- a/view/tpl/smarty3/event_head.tpl +++ /dev/null @@ -1,144 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<link rel='stylesheet' type='text/css' href='{{$baseurl}}/library/fullcalendar/fullcalendar.css' /> -<script language="javascript" type="text/javascript" - src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script> - -<script> - function showEvent(eventid) { - $.get( - '{{$baseurl}}/events/?id='+eventid, - function(data){ - $.fancybox(data); - } - ); - } - - $(document).ready(function() { - $('#events-calendar').fullCalendar({ - events: '{{$baseurl}}/events/json/', - header: { - left: 'prev,next today', - center: 'title', - right: 'month,agendaWeek,agendaDay' - }, - timeFormat: 'H(:mm)', - eventClick: function(calEvent, jsEvent, view) { - showEvent(calEvent.id); - }, - - eventRender: function(event, element, view) { - //console.log(view.name); - if (event.item['author-name']==null) return; - switch(view.name){ - case "month": - element.find(".fc-event-title").html( - "<img src='{0}' style='height:10px;width:10px'>{1} : {2}".format( - event.item['author-avatar'], - event.item['author-name'], - event.title - )); - break; - case "agendaWeek": - element.find(".fc-event-title").html( - "<img src='{0}' style='height:12px; width:12px'>{1}<p>{2}</p><p>{3}</p>".format( - event.item['author-avatar'], - event.item['author-name'], - event.item.desc, - event.item.location - )); - break; - case "agendaDay": - element.find(".fc-event-title").html( - "<img src='{0}' style='height:24px;width:24px'>{1}<p>{2}</p><p>{3}</p>".format( - event.item['author-avatar'], - event.item['author-name'], - event.item.desc, - event.item.location - )); - break; - } - } - - }) - - // center on date - var args=location.href.replace(baseurl,"").split("/"); - if (args.length>=4) { - $("#events-calendar").fullCalendar('gotoDate',args[2] , args[3]-1); - } - - // show event popup - var hash = location.hash.split("-") - if (hash.length==2 && hash[0]=="#link") showEvent(hash[1]); - - }); -</script> - - -<script language="javascript" type="text/javascript" - src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> -<script language="javascript" type="text/javascript"> - - - tinyMCE.init({ - theme : "advanced", - mode : "textareas", - plugins : "bbcode,paste", - theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code", - theme_advanced_buttons2 : "", - theme_advanced_buttons3 : "", - theme_advanced_toolbar_location : "top", - theme_advanced_toolbar_align : "center", - theme_advanced_blockformats : "blockquote,code", - gecko_spellcheck : true, - paste_text_sticky : true, - entity_encoding : "raw", - add_unload_trigger : false, - remove_linebreaks : false, - force_p_newlines : false, - force_br_newlines : true, - forced_root_block : '', - content_css: "{{$baseurl}}/view/custom_tinymce.css", - theme_advanced_path : false, - setup : function(ed) { - ed.onInit.add(function(ed) { - ed.pasteAsPlainText = true; - }); - } - - }); - - - $(document).ready(function() { - - $('#event-share-checkbox').change(function() { - - if ($('#event-share-checkbox').is(':checked')) { - $('#acl-wrapper').show(); - } - else { - $('#acl-wrapper').hide(); - } - }).trigger('change'); - - - $('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() { - var selstr; - $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() { - selstr = $(this).text(); - $('#jot-public').hide(); - }); - if(selstr == null) { - $('#jot-public').show(); - } - - }).trigger('change'); - - }); - -</script> - diff --git a/view/tpl/smarty3/events-js.tpl b/view/tpl/smarty3/events-js.tpl deleted file mode 100644 index 5fa046f5a..000000000 --- a/view/tpl/smarty3/events-js.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -{{$tabs}} -<h2>{{$title}}</h2> - -<div id="new-event-link"><a href="{{$new_event.0}}" >{{$new_event.1}}</a></div> - -<div id="events-calendar"></div> diff --git a/view/tpl/smarty3/events.tpl b/view/tpl/smarty3/events.tpl deleted file mode 100644 index 45366a77d..000000000 --- a/view/tpl/smarty3/events.tpl +++ /dev/null @@ -1,29 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -{{$tabs}} -<h2>{{$title}}</h2> - -<div id="new-event-link"><a href="{{$new_event.0}}" >{{$new_event.1}}</a></div> - -<div id="event-calendar-wrapper"> - <a href="{{$previus.0}}" class="prevcal {{$previus.2}}"><div id="event-calendar-prev" class="icon s22 prev" title="{{$previus.1}}"></div></a> - {{$calendar}} - <a href="{{$next.0}}" class="nextcal {{$next.2}}"><div id="event-calendar-prev" class="icon s22 next" title="{{$next.1}}"></div></a> -</div> -<div class="event-calendar-end"></div> - - -{{foreach $events as $event}} - <div class="event"> - {{if $event.is_first}}<hr /><a name="link-{{$event.j}}" ><div class="event-list-date">{{$event.d}}</div></a>{{/if}} - {{if $event.item.author-name}}<a href="{{$event.item.author-link}}" ><img src="{{$event.item.author-avatar}}" height="32" width="32" />{{$event.item.author-name}}</a>{{/if}} - {{$event.html}} - {{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" class="plink-event-link icon s22 remote-link"></a>{{/if}} - {{if $event.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link icon s22 pencil"></a>{{/if}} - </div> - <div class="clear"></div> - -{{/foreach}} diff --git a/view/tpl/smarty3/events_reminder.tpl b/view/tpl/smarty3/events_reminder.tpl deleted file mode 100644 index d8e8ceb2a..000000000 --- a/view/tpl/smarty3/events_reminder.tpl +++ /dev/null @@ -1,15 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -{{if $count}} -<div id="event-notice" class="birthday-notice fakelink {{$classtoday}}" onclick="openClose('event-wrapper');">{{$event_reminders}} ({{$count}})</div> -<div id="event-wrapper" style="display: none;" ><div id="event-title">{{$event_title}}</div> -<div id="event-title-end"></div> -{{foreach $events as $event}} -<div class="event-list" id="event-{{$event.id}}"></a> <a href="events/{{$event.link}}">{{$event.title}}</a> {{$event.date}} </div> -{{/foreach}} -</div> -{{/if}} - diff --git a/view/tpl/smarty3/failed_updates.tpl b/view/tpl/smarty3/failed_updates.tpl deleted file mode 100644 index 8161ff2ef..000000000 --- a/view/tpl/smarty3/failed_updates.tpl +++ /dev/null @@ -1,22 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h2>{{$banner}}</h2> - -<div id="failed_updates_desc">{{$desc}}</div> - -{{if $failed}} -{{foreach $failed as $f}} - -<h4>{{$f}}</h4> -<ul> -<li><a href="{{$base}}/admin/dbsync/mark/{{$f}}">{{$mark}}</a></li> -<li><a href="{{$base}}/admin/dbsync/{{$f}}">{{$apply}}</a></li> -</ul> - -<hr /> -{{/foreach}} -{{/if}} - diff --git a/view/tpl/smarty3/fake_feed.tpl b/view/tpl/smarty3/fake_feed.tpl deleted file mode 100644 index fd875de71..000000000 --- a/view/tpl/smarty3/fake_feed.tpl +++ /dev/null @@ -1,18 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<?xml version="1.0" encoding="utf-8" ?> -<feed xmlns="http://www.w3.org/2005/Atom" > - - <id>fake feed</id> - <title>fake title</title> - - <updated>1970-01-01T00:00:00Z</updated> - - <author> - <name>Fake Name</name> - <uri>http://example.com</uri> - </author> - diff --git a/view/tpl/smarty3/field.tpl b/view/tpl/smarty3/field.tpl deleted file mode 100644 index 1bf36d84e..000000000 --- a/view/tpl/smarty3/field.tpl +++ /dev/null @@ -1,9 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - - {{if $field.0==select}} - {{include file="field_select.tpl"}} - {{/if}} diff --git a/view/tpl/smarty3/field_acheckbox.tpl b/view/tpl/smarty3/field_acheckbox.tpl deleted file mode 100644 index da0d44ea6..000000000 --- a/view/tpl/smarty3/field_acheckbox.tpl +++ /dev/null @@ -1,12 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - - <div class='field acheckbox'> - <label for='id_{{$field.0}}'>{{$field.1}}</label> - <input type="checkbox" class="abook-edit-them" name='{{$field.0}}' id='them_id_{{$field.0}}' value="1" disabled="disabled" {{if $field.2}}checked="checked"{{/if}} /> - <input type="checkbox" class="abook-edit-me" name='{{$field.0}}' id='me_id_{{$field.0}}' value="{{$field.4}}" {{if $field.3}}checked="checked"{{/if}} {{if $field.5}} disabled="disabled" {{/if}}/> - <span class='field_abook_help'>{{$field.6}}</span> - </div> diff --git a/view/tpl/smarty3/field_checkbox.tpl b/view/tpl/smarty3/field_checkbox.tpl deleted file mode 100644 index a4ec3dbba..000000000 --- a/view/tpl/smarty3/field_checkbox.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - - <div class='field checkbox'> - <label for='id_{{$field.0}}'>{{$field.1}}</label> - <input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="1" {{if $field.2}}checked="checked"{{/if}}> - <span class='field_help'>{{$field.3}}</span> - </div> diff --git a/view/tpl/smarty3/field_combobox.tpl b/view/tpl/smarty3/field_combobox.tpl deleted file mode 100644 index d3cc75635..000000000 --- a/view/tpl/smarty3/field_combobox.tpl +++ /dev/null @@ -1,23 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - - <div class='field combobox'> - <label for='id_{{$field.0}}' id='id_{{$field.0}}_label'>{{$field.1}}</label> - {{* html5 don't work on Chrome, Safari and IE9 - <input id="id_{{$field.0}}" type="text" list="data_{{$field.0}}" > - <datalist id="data_{{$field.0}}" > - {{foreach $field.4 as $opt=>$val}}<option value="{{$val}}">{{/foreach}} - </datalist> *}} - - <input id="id_{{$field.0}}" type="text" value="{{$field.2}}"> - <select id="select_{{$field.0}}" onChange="$('#id_{{$field.0}}').val($(this).val())"> - <option value="">{{$field.5}}</option> - {{foreach $field.4 as $opt=>$val}}<option value="{{$val}}">{{$val}}</option>{{/foreach}} - </select> - - <span class='field_help'>{{$field.3}}</span> - </div> - diff --git a/view/tpl/smarty3/field_custom.tpl b/view/tpl/smarty3/field_custom.tpl deleted file mode 100644 index c2d73275c..000000000 --- a/view/tpl/smarty3/field_custom.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - - <div class='field custom'> - <label for='{{$field.0}}'>{{$field.1}}</label> - {{$field.2}} - <span class='field_help'>{{$field.3}}</span> - </div> diff --git a/view/tpl/smarty3/field_input.tpl b/view/tpl/smarty3/field_input.tpl deleted file mode 100644 index 696ebbad7..000000000 --- a/view/tpl/smarty3/field_input.tpl +++ /dev/null @@ -1,12 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - - <div class='field input'> - <label for='id_{{$field.0}}' id='label_{{$field.0}}'>{{$field.1}}</label> - <input name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}"> - <span id='help_{{$field.0}}' class='field_help'>{{$field.3}}</span> - <div id='end_{{$field.0}}' class='field_end'></div> - </div> diff --git a/view/tpl/smarty3/field_intcheckbox.tpl b/view/tpl/smarty3/field_intcheckbox.tpl deleted file mode 100644 index 54967feab..000000000 --- a/view/tpl/smarty3/field_intcheckbox.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - - <div class='field checkbox'> - <label for='id_{{$field.0}}'>{{$field.1}}</label> - <input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.3}}" {{if $field.2}}checked="true"{{/if}}> - <span class='field_help'>{{$field.4}}</span> - </div> diff --git a/view/tpl/smarty3/field_openid.tpl b/view/tpl/smarty3/field_openid.tpl deleted file mode 100644 index b00ddabcd..000000000 --- a/view/tpl/smarty3/field_openid.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - - <div class='field input openid'> - <label for='id_{{$field.0}}'>{{$field.1}}</label> - <input name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}"> - <span class='field_help'>{{$field.3}}</span> - </div> diff --git a/view/tpl/smarty3/field_password.tpl b/view/tpl/smarty3/field_password.tpl deleted file mode 100644 index 5889d2e9c..000000000 --- a/view/tpl/smarty3/field_password.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - - <div class='field password'> - <label for='id_{{$field.0}}'>{{$field.1}}</label> - <input type='password' name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}"> - <span class='field_help'>{{$field.3}}</span> - </div> diff --git a/view/tpl/smarty3/field_radio.tpl b/view/tpl/smarty3/field_radio.tpl deleted file mode 100644 index 1d7b56ec6..000000000 --- a/view/tpl/smarty3/field_radio.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - - <div class='field radio'> - <label for='id_{{$field.0}}_{{$field.2}}'>{{$field.1}}</label> - <input type="radio" name='{{$field.0}}' id='id_{{$field.0}}_{{$field.2}}' value="{{$field.2}}" {{if $field.4}}checked="true"{{/if}}> - <span class='field_help'>{{$field.3}}</span> - </div> diff --git a/view/tpl/smarty3/field_richtext.tpl b/view/tpl/smarty3/field_richtext.tpl deleted file mode 100644 index 38992f0f8..000000000 --- a/view/tpl/smarty3/field_richtext.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - - <div class='field richtext'> - <label for='id_{{$field.0}}'>{{$field.1}}</label> - <textarea name='{{$field.0}}' id='id_{{$field.0}}' class="fieldRichtext">{{$field.2}}</textarea> - <span class='field_help'>{{$field.3}}</span> - </div> diff --git a/view/tpl/smarty3/field_select.tpl b/view/tpl/smarty3/field_select.tpl deleted file mode 100644 index 2a4117a70..000000000 --- a/view/tpl/smarty3/field_select.tpl +++ /dev/null @@ -1,13 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - - <div class='field select'> - <label for='id_{{$field.0}}'>{{$field.1}}</label> - <select name='{{$field.0}}' id='id_{{$field.0}}'> - {{foreach $field.4 as $opt=>$val}}<option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}} - </select> - <span class='field_help'>{{$field.3}}</span> - </div> diff --git a/view/tpl/smarty3/field_select_raw.tpl b/view/tpl/smarty3/field_select_raw.tpl deleted file mode 100644 index 50e34985f..000000000 --- a/view/tpl/smarty3/field_select_raw.tpl +++ /dev/null @@ -1,13 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - - <div class='field select'> - <label for='id_{{$field.0}}'>{{$field.1}}</label> - <select name='{{$field.0}}' id='id_{{$field.0}}'> - {{$field.4}} - </select> - <span class='field_help'>{{$field.3}}</span> - </div> diff --git a/view/tpl/smarty3/field_textarea.tpl b/view/tpl/smarty3/field_textarea.tpl deleted file mode 100644 index 5d71999d4..000000000 --- a/view/tpl/smarty3/field_textarea.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - - <div class='field textarea'> - <label for='id_{{$field.0}}'>{{$field.1}}</label> - <textarea name='{{$field.0}}' id='id_{{$field.0}}'>{{$field.2}}</textarea> - <span class='field_help'>{{$field.3}}</span> - </div> diff --git a/view/tpl/smarty3/field_themeselect.tpl b/view/tpl/smarty3/field_themeselect.tpl deleted file mode 100644 index be24ff2c6..000000000 --- a/view/tpl/smarty3/field_themeselect.tpl +++ /dev/null @@ -1,14 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - <script>$(function(){ previewTheme($("#id_{{$field.0}}")[0]); });</script> - <div class='field select'> - <label for='id_{{$field.0}}'>{{$field.1}}</label> - <select name='{{$field.0}}' id='id_{{$field.0}}' {{if $field.5=='preview'}}onchange="previewTheme(this);"{{/if}} > - {{foreach $field.4 as $opt=>$val}}<option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}} - </select> - <span class='field_help'>{{$field.3}}</span> - <div id="theme-preview"></div> - </div> diff --git a/view/tpl/smarty3/field_yesno.tpl b/view/tpl/smarty3/field_yesno.tpl deleted file mode 100644 index e982c2f05..000000000 --- a/view/tpl/smarty3/field_yesno.tpl +++ /dev/null @@ -1,18 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - <div class='field yesno'> - <label for='id_{{$field.0}}'>{{$field.1}}</label> - <div class='onoff' id="id_{{$field.0}}_onoff"> - <input type="hidden" name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}"> - <a href="#" class='off'> - {{if $field.4}}{{$field.4.0}}{{else}}OFF{{/if}} - </a> - <a href="#" class='on'> - {{if $field.4}}{{$field.4.1}}{{else}}ON{{/if}} - </a> - </div> - <span class='field_help'>{{$field.3}}</span> - </div> diff --git a/view/tpl/smarty3/fileas_widget.tpl b/view/tpl/smarty3/fileas_widget.tpl deleted file mode 100644 index f03f169a2..000000000 --- a/view/tpl/smarty3/fileas_widget.tpl +++ /dev/null @@ -1,17 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="fileas-sidebar" class="widget"> - <h3>{{$title}}</h3> - <div id="nets-desc">{{$desc}}</div> - - <ul class="fileas-ul"> - <li class="tool"><a href="{{$base}}" class="fileas-link fileas-all{{if $sel_all}} fileas-selected{{/if}}">{{$all}}</a></li> - {{foreach $terms as $term}} - <li class="tool"><a href="{{$base}}?f=&file={{$term.name}}" class="fileas-link{{if $term.selected}} fileas-selected{{/if}}">{{$term.name}}</a></li> - {{/foreach}} - </ul> - -</div> diff --git a/view/tpl/smarty3/filebrowser.tpl b/view/tpl/smarty3/filebrowser.tpl deleted file mode 100644 index b408ca687..000000000 --- a/view/tpl/smarty3/filebrowser.tpl +++ /dev/null @@ -1,89 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<!DOCTYPE html> -<html> - <head> - <script type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_popup.js"></script> - <style> - .panel_wrapper div.current{.overflow: auto; height: auto!important; } - .filebrowser.path { font-family: fixed; font-size: 10px; background-color: #f0f0ee; height:auto; overflow:auto;} - .filebrowser.path a { border-left: 1px solid #C0C0AA; background-color: #E0E0DD; display: block; float:left; padding: 0.3em 1em;} - .filebrowser ul{ list-style-type: none; padding:0px; } - .filebrowser.folders a { display: block; padding: 0.3em } - .filebrowser.folders a:hover { background-color: #f0f0ee; } - .filebrowser.files.image { overflow: auto; height: auto; } - .filebrowser.files.image img { height:50px;} - .filebrowser.files.image li { display: block; padding: 5px; float: left; } - .filebrowser.files.image span { display: none;} - .filebrowser.files.file img { height:16px; vertical-align: bottom;} - .filebrowser.files a { display: block; padding: 0.3em} - .filebrowser.files a:hover { background-color: #f0f0ee; } - .filebrowser a { text-decoration: none; } - </style> - <script> - var FileBrowserDialogue = { - init : function () { - // Here goes your code for setting your custom things onLoad. - }, - mySubmit : function (URL) { - //var URL = document.my_form.my_field.value; - var win = tinyMCEPopup.getWindowArg("window"); - - // insert information now - win.document.getElementById(tinyMCEPopup.getWindowArg("input")).value = URL; - - // are we an image browser - if (typeof(win.ImageDialog) != "undefined") { - // we are, so update image dimensions... - if (win.ImageDialog.getImageData) - win.ImageDialog.getImageData(); - - // ... and preview if necessary - if (win.ImageDialog.showPreviewImage) - win.ImageDialog.showPreviewImage(URL); - } - - // close popup window - tinyMCEPopup.close(); - } - } - - tinyMCEPopup.onInit.add(FileBrowserDialogue.init, FileBrowserDialogue); - </script> - </head> - <body> - - <div class="tabs"> - <ul > - <li class="current"><span>FileBrowser</span></li> - </ul> - </div> - <div class="panel_wrapper"> - - <div id="general_panel" class="panel current"> - <div class="filebrowser path"> - {{foreach $path as $p}}<a href="{{$p.0}}">{{$p.1}}</a>{{/foreach}} - </div> - <div class="filebrowser folders"> - <ul> - {{foreach $folders as $f}}<li><a href="{{$f.0}}/">{{$f.1}}</a></li>{{/foreach}} - </ul> - </div> - <div class="filebrowser files {{$type}}"> - <ul> - {{foreach $files as $f}} - <li><a href="#" onclick="FileBrowserDialogue.mySubmit('{{$f.0}}'); return false;"><img src="{{$f.2}}"><span>{{$f.1}}</span></a></li> - {{/foreach}} - </ul> - </div> - </div> - </div> - <div class="mceActionPanel"> - <input type="button" id="cancel" name="cancel" value="{{$cancel}}" onclick="tinyMCEPopup.close();" /> - </div> - </body> - -</html> diff --git a/view/tpl/smarty3/filer_dialog.tpl b/view/tpl/smarty3/filer_dialog.tpl deleted file mode 100644 index f17a06766..000000000 --- a/view/tpl/smarty3/filer_dialog.tpl +++ /dev/null @@ -1,9 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -{{include file="field_combobox.tpl"}} -<div class="settings-submit-wrapper" > - <input id="filer_save" type="button" class="settings-submit" value="{{$submit}}" /> -</div> diff --git a/view/tpl/smarty3/follow.tpl b/view/tpl/smarty3/follow.tpl deleted file mode 100644 index 2c3b451b3..000000000 --- a/view/tpl/smarty3/follow.tpl +++ /dev/null @@ -1,13 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="follow-sidebar" class="widget"> - <h3>{{$connect}}</h3> - <div id="connect-desc">{{$desc}}</div> - <form action="follow" method="post" /> - <input id="side-follow-url" type="text" name="url" size="24" title="{{$hint}}" /><input id="side-follow-submit" type="submit" name="submit" value="{{$follow}}" /> - </form> -</div> - diff --git a/view/tpl/smarty3/follow_slap.tpl b/view/tpl/smarty3/follow_slap.tpl deleted file mode 100644 index b31b4ef95..000000000 --- a/view/tpl/smarty3/follow_slap.tpl +++ /dev/null @@ -1,30 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - <entry> - <author> - <name>{{$name}}</name> - <uri>{{$profile_page}}</uri> - <link rel="photo" type="image/jpeg" media:width="80" media:height="80" href="{{$thumb}}" /> - <link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="{{$thumb}}" /> - </author> - - <id>{{$item_id}}</id> - <title>{{$title}}</title> - <published>{{$published}}</published> - <content type="{{$type}}" >{{$content}}</content> - - <as:actor> - <as:obj_type>http://activitystrea.ms/schema/1.0/person</as:obj_type> - <id>{{$profile_page}}</id> - <title></title> - <link rel="avatar" type="image/jpeg" media:width="175" media:height="175" href="{{$photo}}"/> - <link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="{{$thumb}}"/> - <poco:preferredUsername>{{$nick}}</poco:preferredUsername> - <poco:displayName>{{$name}}</poco:displayName> - </as:actor> - <as:verb>{{$verb}}</as:verb> - {{$ostat_follow}} - </entry> diff --git a/view/tpl/smarty3/generic_links_widget.tpl b/view/tpl/smarty3/generic_links_widget.tpl deleted file mode 100644 index c12273c7b..000000000 --- a/view/tpl/smarty3/generic_links_widget.tpl +++ /dev/null @@ -1,16 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="widget{{if $class}} {{$class}}{{/if}}"> - {{if $title}}<h3>{{$title}}</h3>{{/if}} - {{if $desc}}<div class="desc">{{$desc}}</div>{{/if}} - - <ul> - {{foreach $items as $item}} - <li class="tool"><a href="{{$item.url}}" class="{{if $item.selected}}selected{{/if}}">{{$item.label}}</a></li> - {{/foreach}} - </ul> - -</div> diff --git a/view/tpl/smarty3/group_drop.tpl b/view/tpl/smarty3/group_drop.tpl deleted file mode 100644 index 84d380e30..000000000 --- a/view/tpl/smarty3/group_drop.tpl +++ /dev/null @@ -1,14 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="group-delete-wrapper button" id="group-delete-wrapper-{{$id}}" > - <a href="group/drop/{{$id}}?t={{$form_security_token}}" - onclick="return confirmDelete();" - id="group-delete-icon-{{$id}}" - class="icon drophide group-delete-icon" - onmouseover="imgbright(this);" - onmouseout="imgdull(this);" ></a> -</div> -<div class="group-delete-end"></div> diff --git a/view/tpl/smarty3/group_edit.tpl b/view/tpl/smarty3/group_edit.tpl deleted file mode 100644 index b7b14eba3..000000000 --- a/view/tpl/smarty3/group_edit.tpl +++ /dev/null @@ -1,28 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h2>{{$title}}</h2> - - -<div id="group-edit-wrapper" > - <form action="group/{{$gid}}" id="group-edit-form" method="post" > - <input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - - {{include file="field_input.tpl" field=$gname}} - {{if $drop}}{{$drop}}{{/if}} - <div id="group-edit-submit-wrapper" > - <input type="submit" name="submit" value="{{$submit}}" > - </div> - <div id="group-edit-select-end" ></div> - </form> -</div> - - -{{if $groupeditor}} - <div id="group-update-wrapper"> - {{include file="groupeditor.tpl"}} - </div> -{{/if}} -{{if $desc}}<div id="group-edit-desc">{{$desc}}</div>{{/if}} diff --git a/view/tpl/smarty3/group_selection.tpl b/view/tpl/smarty3/group_selection.tpl deleted file mode 100644 index f16bb5159..000000000 --- a/view/tpl/smarty3/group_selection.tpl +++ /dev/null @@ -1,13 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="field custom"> -<label for="group-selection" id="group-selection-lbl">{{$label}}</label> -<select name="group-selection" id="group-selection" > -{{foreach $groups as $group}} -<option value="{{$group.id}}" {{if $group.selected}}selected="selected"{{/if}} >{{$group.name}}</option> -{{/foreach}} -</select> -</div> diff --git a/view/tpl/smarty3/group_side.tpl b/view/tpl/smarty3/group_side.tpl deleted file mode 100644 index b6532fb6d..000000000 --- a/view/tpl/smarty3/group_side.tpl +++ /dev/null @@ -1,38 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="widget" id="group-sidebar"> -<h3>{{$title}}</h3> - -<div id="sidebar-group-list"> - <ul id="sidebar-group-ul"> - {{foreach $groups as $group}} - <li class="sidebar-group-li"> - {{if $group.cid}} - <input type="checkbox" - class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action" - onclick="contactgroupChangeMember('{{$group.id}}','{{$group.cid}}');return true;" - {{if $group.ismember}}checked="checked"{{/if}} - /> - {{/if}} - {{if $group.edit}} - <a class="groupsideedit" href="{{$group.edit.href}}" title="{{$edittext}}"><span id="edit-sidebar-group-element-{{$group.id}}" class="group-edit-icon iconspacer small-pencil"></span></a> - {{/if}} - <a id="sidebar-group-element-{{$group.id}}" class="sidebar-group-element {{if $group.selected}}group-selected{{/if}}" href="{{$group.href}}">{{$group.text}}</a> - </li> - {{/foreach}} - </ul> - </div> - <div id="sidebar-new-group"> - <a href="group/new">{{$createtext}}</a> - </div> - {{if $ungrouped}} - <div id="sidebar-ungrouped"> - <a href="nogroup">{{$ungrouped}}</a> - </div> - {{/if}} -</div> - - diff --git a/view/tpl/smarty3/groupeditor.tpl b/view/tpl/smarty3/groupeditor.tpl deleted file mode 100644 index 4fad30d5a..000000000 --- a/view/tpl/smarty3/groupeditor.tpl +++ /dev/null @@ -1,21 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="group"> -<h3>{{$groupeditor.label_members}}</h3> -<div id="group-members" class="contact_list"> -{{foreach $groupeditor.members as $c}} {{$c}} {{/foreach}} -</div> -<div id="group-members-end"></div> -<hr id="group-separator" /> -</div> - -<div id="contacts"> -<h3>{{$groupeditor.label_contacts}}</h3> -<div id="group-all-contacts" class="contact_list"> -{{foreach $groupeditor.contacts as $m}} {{$m}} {{/foreach}} -</div> -<div id="group-all-contacts-end"></div> -</div> diff --git a/view/tpl/smarty3/head.tpl b/view/tpl/smarty3/head.tpl deleted file mode 100644 index 314d159d6..000000000 --- a/view/tpl/smarty3/head.tpl +++ /dev/null @@ -1,35 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> -<base href="{{$baseurl}}/" /> -<meta name="generator" content="{{$generator}}" /> - -<!--[if IE]> -<script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script> -<![endif]--> - -{{$head_css}} - -{{$js_strings}} - -{{$head_js}} - -<link rel="shortcut icon" href="{{$baseurl}}/images/red.png" /> -<link rel="search" - href="{{$baseurl}}/opensearch" - type="application/opensearchdescription+xml" - title="Search in Friendica" /> - - -<script> - - var updateInterval = {{$update_interval}}; - var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}}; - -</script> - - - diff --git a/view/tpl/smarty3/hide_comments.tpl b/view/tpl/smarty3/hide_comments.tpl deleted file mode 100644 index 50a354122..000000000 --- a/view/tpl/smarty3/hide_comments.tpl +++ /dev/null @@ -1,9 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="hide-comments-outer"> -<span id="hide-comments-total-{{$id}}" class="hide-comments-total">{{$num_comments}}</span> <span id="hide-comments-{{$id}}" class="hide-comments fakelink" onclick="showHideComments({{$id}});">{{$hide_text}}</span> -</div> -<div id="collapsed-comments-{{$id}}" class="collapsed-comments" style="display: {{$display}};"> diff --git a/view/tpl/smarty3/install.tpl b/view/tpl/smarty3/install.tpl deleted file mode 100644 index cfb90e61f..000000000 --- a/view/tpl/smarty3/install.tpl +++ /dev/null @@ -1,15 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<h1>{{$title}}</h1> -<h2>{{$pass}}</h2> - - -{{if $status}} -<h3 class="error-message">{{$status}}</h3> -{{/if}} - -{{$text}} diff --git a/view/tpl/smarty3/install_checks.tpl b/view/tpl/smarty3/install_checks.tpl deleted file mode 100644 index 9d5ce0eeb..000000000 --- a/view/tpl/smarty3/install_checks.tpl +++ /dev/null @@ -1,29 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$title}}</h1> -<h2>{{$pass}}</h2> -<form action="{{$baseurl}}/index.php?q=setup" method="post"> -<table> -{{foreach $checks as $check}} - <tr><td>{{$check.title}} </td><td><span class="icon s22 {{if $check.status}}on{{else}}{{if $check.required}}off{{else}}yellow{{/if}}{{/if}}"></td><td>{{if $check.required}}(required){{/if}}</td></tr> - {{if $check.help}} - <tr><td colspan="3"><blockquote>{{$check.help}}</blockquote></td></tr> - {{/if}} -{{/foreach}} -</table> - -{{if $phpath}} - <input type="hidden" name="phpath" value="{{$phpath}}"> -{{/if}} - -{{if $passed}} - <input type="hidden" name="pass" value="2"> - <input type="submit" value="{{$next}}"> -{{else}} - <input type="hidden" name="pass" value="1"> - <input type="submit" value="{{$reload}}"> -{{/if}} -</form> diff --git a/view/tpl/smarty3/install_db.tpl b/view/tpl/smarty3/install_db.tpl deleted file mode 100644 index fe8aee85b..000000000 --- a/view/tpl/smarty3/install_db.tpl +++ /dev/null @@ -1,35 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<h1>{{$title}}</h1> -<h2>{{$pass}}</h2> - - -<p> -{{$info_01}}<br> -{{$info_02}}<br> -{{$info_03}} -</p> - -{{if $status}} -<h3 class="error-message">{{$status}}</h3> -{{/if}} - -<form id="install-form" action="{{$baseurl}}/setup" method="post"> - -<input type="hidden" name="phpath" value="{{$phpath}}" /> -<input type="hidden" name="pass" value="3" /> - -{{include file="field_input.tpl" field=$dbhost}} -{{include file="field_input.tpl" field=$dbuser}} -{{include file="field_password.tpl" field=$dbpass}} -{{include file="field_input.tpl" field=$dbdata}} - - -<input id="install-submit" type="submit" name="submit" value="{{$submit}}" /> - -</form> - diff --git a/view/tpl/smarty3/install_settings.tpl b/view/tpl/smarty3/install_settings.tpl deleted file mode 100644 index f91122737..000000000 --- a/view/tpl/smarty3/install_settings.tpl +++ /dev/null @@ -1,32 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<h1>{{$title}}</h1> -<h2>{{$pass}}</h2> - - -{{if $status}} -<h3 class="error-message">{{$status}}</h3> -{{/if}} - -<form id="install-form" action="{{$baseurl}}/setup" method="post"> - -<input type="hidden" name="phpath" value="{{$phpath}}" /> -<input type="hidden" name="dbhost" value="{{$dbhost}}" /> -<input type="hidden" name="dbuser" value="{{$dbuser}}" /> -<input type="hidden" name="dbpass" value="{{$dbpass}}" /> -<input type="hidden" name="dbdata" value="{{$dbdata}}" /> -<input type="hidden" name="pass" value="4" /> - -{{include file="field_input.tpl" field=$adminmail}} -{{include file="field_input.tpl" field=$siteurl}} - -{{$timezone}} - -<input id="install-submit" type="submit" name="submit" value="{{$submit}}" /> - -</form> - diff --git a/view/tpl/smarty3/intros.tpl b/view/tpl/smarty3/intros.tpl deleted file mode 100644 index 4fd27d370..000000000 --- a/view/tpl/smarty3/intros.tpl +++ /dev/null @@ -1,23 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<div class="intro-wrapper" id="intro-{{$contact_id}}" > - -<div class="intro-fullname" id="intro-fullname-{{$contact_id}}" >{{$fullname}}</div> -<a class="intro-url-link" id="intro-url-link-{{$contact_id}}" href="{{$url}}" ><img id="photo-{{$contact_id}}" class="intro-photo" src="{{$photo}}" width="175" height=175" title="{{$fullname}}" alt="{{$fullname}}" /></a> -<div class="intro-wrapper-end" id="intro-wrapper-end-{{$contact_id}}"></div> -<form class="intro-form" action="intro" method="post"> -<input class="intro-submit-ignore" type="submit" name="submit" value="{{$ignore}}" /> -<input class="intro-submit-block" type="submit" name="submit" value="{{$block}}" /> -<input class="intro-submit-discard" type="submit" name="submit" value="{{$discard}}" /> -{{include file="field_checkbox.tpl" field=$hidden}} -{{* {{include file="field_checkbox.tpl" field=$activity}} *}} -<input type="hidden" name="contact_id" value="{{$contact_id}}" > - -<input class="intro-submit-approve" type="submit" name="submit" value="{{$approve}}" /> -</form> -</div> -<div class="intro-end"></div> diff --git a/view/tpl/smarty3/intros_header.tpl b/view/tpl/smarty3/intros_header.tpl deleted file mode 100644 index 2dbf065d7..000000000 --- a/view/tpl/smarty3/intros_header.tpl +++ /dev/null @@ -1,6 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h3>{{$title}}</h3> diff --git a/view/tpl/smarty3/invite.tpl b/view/tpl/smarty3/invite.tpl deleted file mode 100644 index e699f1f0e..000000000 --- a/view/tpl/smarty3/invite.tpl +++ /dev/null @@ -1,35 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<form action="invite" method="post" id="invite-form" > - -<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - -<div id="invite-wrapper"> - -<h3>{{$invite}}</h3> - -<div id="invite-recipient-text"> -{{$addr_text}} -</div> - -<div id="invite-recipient-textarea"> -<textarea id="invite-recipients" name="recipients" rows="8" cols="32" ></textarea> -</div> - -<div id="invite-message-text"> -{{$msg_text}} -</div> - -<div id="invite-message-textarea"> -<textarea id="invite-message" name="message" rows="10" cols="72" >{{$default_message}}</textarea> -</div> - -<div id="invite-submit-wrapper"> -<input type="submit" name="submit" value="{{$submit}}" /> -</div> - -</div> -</form> diff --git a/view/tpl/smarty3/jot-header.tpl b/view/tpl/smarty3/jot-header.tpl deleted file mode 100644 index c20c7c10d..000000000 --- a/view/tpl/smarty3/jot-header.tpl +++ /dev/null @@ -1,323 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<script language="javascript" type="text/javascript"> - -var editor=false; -var textlen = 0; -var plaintext = '{{$editselect}}'; - -function initEditor(cb){ - if (editor==false){ - $("#profile-jot-text-loading").show(); - if(plaintext == 'none') { - $("#profile-jot-text-loading").hide(); - $("#profile-jot-text").css({ 'height': 200, 'color': '#000' }); - $("#profile-jot-text").contact_autocomplete(baseurl+"/acl"); - editor = true; - $("a#jot-perms-icon").fancybox({ - 'transitionIn' : 'elastic', - 'transitionOut' : 'elastic' - }); - $(".jothidden").show(); - if (typeof cb!="undefined") cb(); - return; - } - tinyMCE.init({ - theme : "advanced", - mode : "specific_textareas", - editor_selector: {{$editselect}}, - auto_focus: "profile-jot-text", - plugins : "bbcode,paste,autoresize, inlinepopups", - theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code", - theme_advanced_buttons2 : "", - theme_advanced_buttons3 : "", - theme_advanced_toolbar_location : "top", - theme_advanced_toolbar_align : "center", - theme_advanced_blockformats : "blockquote,code", - gecko_spellcheck : true, - paste_text_sticky : true, - entity_encoding : "raw", - add_unload_trigger : false, - remove_linebreaks : false, - force_p_newlines : false, - force_br_newlines : true, - forced_root_block : '', - convert_urls: false, - content_css: "{{$baseurl}}/view/custom_tinymce.css", - theme_advanced_path : false, - file_browser_callback : "fcFileBrowser", - setup : function(ed) { - cPopup = null; - ed.onKeyDown.add(function(ed,e) { - if(cPopup !== null) - cPopup.onkey(e); - }); - - ed.onKeyUp.add(function(ed, e) { - var txt = tinyMCE.activeEditor.getContent(); - match = txt.match(/@([^ \n]+)$/); - if(match!==null) { - if(cPopup === null) { - cPopup = new ACPopup(this,baseurl+"/acl"); - } - if(cPopup.ready && match[1]!==cPopup.searchText) cPopup.search(match[1]); - if(! cPopup.ready) cPopup = null; - } - else { - if(cPopup !== null) { cPopup.close(); cPopup = null; } - } - - textlen = txt.length; - if(textlen != 0 && $('#jot-perms-icon').is('.unlock')) { - $('#profile-jot-desc').html(ispublic); - } - else { - $('#profile-jot-desc').html(' '); - } - - //Character count - - if(textlen <= 140) { - $('#character-counter').removeClass('red'); - $('#character-counter').removeClass('orange'); - $('#character-counter').addClass('grey'); - } - if((textlen > 140) && (textlen <= 420)) { - $('#character-counter').removeClass('grey'); - $('#character-counter').removeClass('red'); - $('#character-counter').addClass('orange'); - } - if(textlen > 420) { - $('#character-counter').removeClass('grey'); - $('#character-counter').removeClass('orange'); - $('#character-counter').addClass('red'); - } - $('#character-counter').text(textlen); - }); - - ed.onInit.add(function(ed) { - ed.pasteAsPlainText = true; - $("#profile-jot-text-loading").hide(); - $(".jothidden").show(); - if (typeof cb!="undefined") cb(); - }); - - } - }); - - editor = true; - // setup acl popup - $("a#jot-perms-icon").fancybox({ - 'transitionIn' : 'elastic', - 'transitionOut' : 'elastic' - }); - } else { - if (typeof cb!="undefined") cb(); - } -} - -function enableOnUser(){ - if (editor) return; - $(this).val(""); - initEditor(); -} - -</script> -<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.js" ></script> -<script> - var ispublic = '{{$ispublic}}'; - - $(document).ready(function() { - - /* enable tinymce on focus and click */ - $("#profile-jot-text").focus(enableOnUser); - $("#profile-jot-text").click(enableOnUser); - - var uploader = new window.AjaxUpload( - 'wall-image-upload', - { action: '{{$baseurl}}/wall_upload/{{$nickname}}', - name: 'userfile', - onSubmit: function(file,ext) { $('#profile-rotator').show(); }, - onComplete: function(file,response) { - addeditortext(response); - $('#profile-rotator').hide(); - } - } - ); - var file_uploader = new window.AjaxUpload( - 'wall-file-upload', - { action: '{{$baseurl}}/wall_attach/{{$nickname}}', - name: 'userfile', - onSubmit: function(file,ext) { $('#profile-rotator').show(); }, - onComplete: function(file,response) { - addeditortext(response); - $('#profile-rotator').hide(); - } - } - ); - - - }); - - function deleteCheckedItems() { - var checkedstr = ''; - - $('.item-select').each( function() { - if($(this).is(':checked')) { - if(checkedstr.length != 0) { - checkedstr = checkedstr + ',' + $(this).val(); - } - else { - checkedstr = $(this).val(); - } - } - }); - $.post('item', { dropitems: checkedstr }, function(data) { - window.location.reload(); - }); - } - - function jotGetLink() { - reply = prompt("{{$linkurl}}"); - if(reply && reply.length) { - reply = bin2hex(reply); - $('#profile-rotator').show(); - $.get('{{$baseurl}}/parse_url?binurl=' + reply, function(data) { - addeditortext(data); - $('#profile-rotator').hide(); - }); - } - } - - function jotVideoURL() { - reply = prompt("{{$vidurl}}"); - if(reply && reply.length) { - addeditortext('[video]' + reply + '[/video]'); - } - } - - function jotAudioURL() { - reply = prompt("{{$audurl}}"); - if(reply && reply.length) { - addeditortext('[audio]' + reply + '[/audio]'); - } - } - - - function jotGetLocation() { - reply = prompt("{{$whereareu}}", $('#jot-location').val()); - if(reply && reply.length) { - $('#jot-location').val(reply); - } - } - - function jotShare(id) { - if ($('#jot-popup').length != 0) $('#jot-popup').show(); - - $('#like-rotator-' + id).show(); - $.get('{{$baseurl}}/share/' + id, function(data) { - if (!editor) $("#profile-jot-text").val(""); - initEditor(function(){ - addeditortext(data); - $('#like-rotator-' + id).hide(); - $(window).scrollTop(0); - }); - - }); - } - - function linkdropper(event) { - var linkFound = event.dataTransfer.types.contains("text/uri-list"); - if(linkFound) - event.preventDefault(); - } - - function linkdrop(event) { - var reply = event.dataTransfer.getData("text/uri-list"); - event.target.textContent = reply; - event.preventDefault(); - if(reply && reply.length) { - reply = bin2hex(reply); - $('#profile-rotator').show(); - $.get('{{$baseurl}}/parse_url?binurl=' + reply, function(data) { - if (!editor) $("#profile-jot-text").val(""); - initEditor(function(){ - addeditortext(data); - $('#profile-rotator').hide(); - }); - }); - } - } - - function itemTag(id) { - reply = prompt("{{$term}}"); - if(reply && reply.length) { - reply = reply.replace('#',''); - if(reply.length) { - - commentBusy = true; - $('body').css('cursor', 'wait'); - - $.get('{{$baseurl}}/tagger/' + id + '?term=' + reply); - if(timer) clearTimeout(timer); - timer = setTimeout(NavUpdate,3000); - liking = 1; - } - } - } - - function itemFiler(id) { - - var bordercolor = $("input").css("border-color"); - - $.get('filer/', function(data){ - $.fancybox(data); - $("#id_term").keypress(function(){ - $(this).css("border-color",bordercolor); - }) - $("#select_term").change(function(){ - $("#id_term").css("border-color",bordercolor); - }) - - $("#filer_save").click(function(e){ - e.preventDefault(); - reply = $("#id_term").val(); - if(reply && reply.length) { - commentBusy = true; - $('body').css('cursor', 'wait'); - $.get('{{$baseurl}}/filer/' + id + '?term=' + reply, NavUpdate); -// if(timer) clearTimeout(timer); -// timer = setTimeout(NavUpdate,3000); - liking = 1; - $.fancybox.close(); - } else { - $("#id_term").css("border-color","#FF0000"); - } - return false; - }); - }); - - } - - function jotClearLocation() { - $('#jot-coord').val(''); - $('#profile-nolocation-wrapper').hide(); - } - - function addeditortext(data) { - if(plaintext == 'none') { - var currentText = $("#profile-jot-text").val(); - $("#profile-jot-text").val(currentText + data); - } - else - tinyMCE.execCommand('mceInsertRawHTML',false,data); - } - - {{$geotag}} - -</script> - diff --git a/view/tpl/smarty3/jot.tpl b/view/tpl/smarty3/jot.tpl deleted file mode 100644 index 87e00413c..000000000 --- a/view/tpl/smarty3/jot.tpl +++ /dev/null @@ -1,91 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<div id="profile-jot-wrapper" > - <div id="profile-jot-banner-wrapper"> - <div id="profile-jot-desc" > </div> - <div id="character-counter" class="grey"></div> - </div> - <div id="profile-jot-banner-end"></div> - - <form id="profile-jot-form" action="{{$action}}" method="post" > - <input type="hidden" name="type" value="{{$ptyp}}" /> - <input type="hidden" name="profile_uid" value="{{$profile_uid}}" /> - <input type="hidden" name="return" value="{{$return_path}}" /> - <input type="hidden" name="location" id="jot-location" value="{{$defloc}}" /> - <input type="hidden" name="coord" id="jot-coord" value="" /> - <input type="hidden" name="post_id" value="{{$post_id}}" /> - <input type="hidden" name="preview" id="jot-preview" value="0" /> - <div id="jot-title-wrap"><input name="title" id="jot-title" type="text" placeholder="{{$placeholdertitle}}" value="{{$title}}" class="jothidden" style="display:none"></div> - {{if $catsenabled}} - <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" /></div> - {{/if}} - <div id="jot-text-wrap"> - <img id="profile-jot-text-loading" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" /> - <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{if $content}}{{$content}}{{else}}{{$share}}{{/if}}</textarea> - </div> - -<div id="profile-jot-submit-wrapper" class="jothidden"> - <input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" /> - - <div id="profile-upload-wrapper" style="display: {{$visitor}};" > - <div id="wall-image-upload-div" ><a href="#" onclick="return false;" id="wall-image-upload" class="icon camera" title="{{$upload}}"></a></div> - </div> - <div id="profile-attach-wrapper" style="display: {{$visitor}};" > - <div id="wall-file-upload-div" ><a href="#" onclick="return false;" id="wall-file-upload" class="icon attach" title="{{$attach}}"></a></div> - </div> - - <div id="profile-link-wrapper" style="display: {{$visitor}};" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" > - <a id="profile-link" class="icon link" title="{{$weblink}}" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;"></a> - </div> - <div id="profile-video-wrapper" style="display: {{$visitor}};" > - <a id="profile-video" class="icon video" title="{{$video}}" onclick="jotVideoURL();return false;"></a> - </div> - <div id="profile-audio-wrapper" style="display: {{$visitor}};" > - <a id="profile-audio" class="icon audio" title="{{$audio}}" onclick="jotAudioURL();return false;"></a> - </div> - <div id="profile-location-wrapper" style="display: {{$visitor}};" > - <a id="profile-location" class="icon globe" title="{{$setloc}}" onclick="jotGetLocation();return false;"></a> - </div> - <div id="profile-nolocation-wrapper" style="display: none;" > - <a id="profile-nolocation" class="icon noglobe" title="{{$noloc}}" onclick="jotClearLocation();return false;"></a> - </div> - - <div id="profile-jot-perms" class="profile-jot-perms" style="display: {{$pvisit}};" > - <a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon {{$lockstate}}" title="{{$permset}}" ></a>{{$bang}} - </div> - - {{if $preview}}<span onclick="preview_post();" id="jot-preview-link" class="fakelink">{{$preview}}</span>{{/if}} - - - <div id="profile-jot-perms-end"></div> - - - <div id="profile-jot-plugin-wrapper"> - {{$jotplugins}} - </div> - - <div id="profile-rotator-wrapper" style="display: {{$visitor}};" > - <img id="profile-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" /> - </div> - - <div id="jot-preview-content" style="display:none;"></div> - - <div style="display: none;"> - <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;"> - {{$acl}} - <hr style="clear:both"/> - {{$jotnets}} - </div> - </div> - - -</div> - -<div id="profile-jot-end"></div> -</form> -</div> - {{if $content}}<script>initEditor();</script>{{/if}} diff --git a/view/tpl/smarty3/jot_geotag.tpl b/view/tpl/smarty3/jot_geotag.tpl deleted file mode 100644 index 1ed2367aa..000000000 --- a/view/tpl/smarty3/jot_geotag.tpl +++ /dev/null @@ -1,13 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - - if(navigator.geolocation) { - navigator.geolocation.getCurrentPosition(function(position) { - $('#jot-coord').val(position.coords.latitude + ' ' + position.coords.longitude); - $('#profile-nolocation-wrapper').show(); - }); - } - diff --git a/view/tpl/smarty3/js_strings.tpl b/view/tpl/smarty3/js_strings.tpl deleted file mode 100644 index 34337e5bb..000000000 --- a/view/tpl/smarty3/js_strings.tpl +++ /dev/null @@ -1,39 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<script> - - var aStr = { - - 'delitem' : '{{$delitem}}', - 'comment' : '{{$comment}}', - 'showmore' : '{{$showmore}}', - 'showfewer' : '{{$showfewer}}', - 'pwshort' : '{{$pwshort}}', - 'pwnomatch' : '{{$pwnomatch}}', - 'everybody' : '{{$everybody}}', - - 't01' : {{$t01}}, - 't02' : {{$t02}}, - 't03' : '{{$t03}}', - 't04' : '{{$t04}}', - 't05' : '{{$t05}}', - 't06' : '{{$t06}}', - 't07' : '{{$t07}}', - 't08' : '{{$t08}}', - 't09' : '{{$t09}}', - 't10' : '{{$t10}}', - 't11' : '{{$t11}}', - 't12' : '{{$t12}}', - 't13' : '{{$t13}}', - 't14' : '{{$t14}}', - 't15' : '{{$t15}}', - 't16' : '{{$t16}}', - 't17' : '{{$t17}}', - }; - -</script> - diff --git a/view/tpl/smarty3/lang_selector.tpl b/view/tpl/smarty3/lang_selector.tpl deleted file mode 100644 index a1aee8277..000000000 --- a/view/tpl/smarty3/lang_selector.tpl +++ /dev/null @@ -1,15 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="lang-select-icon" class="icon s22 language" title="{{$title}}" onclick="openClose('language-selector');" ></div> -<div id="language-selector" style="display: none;" > - <form action="#" method="post" > - <select name="system_language" onchange="this.form.submit();" > - {{foreach $langs.0 as $v=>$l}} - <option value="{{$v}}" {{if $v==$langs.1}}selected="selected"{{/if}}>{{$l}}</option> - {{/foreach}} - </select> - </form> -</div> diff --git a/view/tpl/smarty3/like_noshare.tpl b/view/tpl/smarty3/like_noshare.tpl deleted file mode 100644 index b8258d64a..000000000 --- a/view/tpl/smarty3/like_noshare.tpl +++ /dev/null @@ -1,10 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="wall-item-like-buttons" id="wall-item-like-buttons-{{$id}}"> - <a href="#" class="icon like" title="{{$likethis}}" onclick="dolike({{$id}},'like'); return false"></a> - <a href="#" class="icon dislike" title="{{$nolike}}" onclick="dolike({{$id}},'dislike'); return false"></a> - <img id="like-rotator-{{$id}}" class="like-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" /> -</div> diff --git a/view/tpl/smarty3/login.tpl b/view/tpl/smarty3/login.tpl deleted file mode 100644 index e530429b2..000000000 --- a/view/tpl/smarty3/login.tpl +++ /dev/null @@ -1,36 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<form action="{{$dest_url}}" id="{{$form_id}}" method="post" > - <input type="hidden" name="auth-params" value="login" /> - - <div id="login_standard"> - {{include file="field_input.tpl" field=$lname}} - {{include file="field_password.tpl" field=$lpassword}} - </div> - - <div id="login-extra-links"> - {{if $register}}<a href="{{$register.link}}" title="{{$register.title}}" id="register-link">{{$register.desc}}</a>{{/if}} - <a href="lostpass" title="{{$lostpass}}" id="lost-password-link" >{{$lostlink}}</a> - </div> - - {{include file="field_checkbox.tpl" field=$remember}} - - <div id="login-standard-end"></div> - - <div id="login-submit-wrapper" > - <input type="submit" name="submit" id="login-submit-button" value="{{$login}}" /> - </div> - - {{foreach $hiddens as $k=>$v}} - <input type="hidden" name="{{$k}}" value="{{$v}}" /> - {{/foreach}} - - -</form> - - -<script type="text/javascript"> $(document).ready(function() { $("#id_{{$lname.0}}").focus();} );</script> diff --git a/view/tpl/smarty3/logout.tpl b/view/tpl/smarty3/logout.tpl deleted file mode 100644 index 582d77ed6..000000000 --- a/view/tpl/smarty3/logout.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<form action="{{$dest_url}}" method="post" > -<div class="logout-wrapper"> -<input type="hidden" name="auth-params" value="logout" /> -<input type="submit" name="submit" id="logout-button" value="{{$logout}}" /> -</div> -</form> diff --git a/view/tpl/smarty3/lostpass.tpl b/view/tpl/smarty3/lostpass.tpl deleted file mode 100644 index 0e437ca48..000000000 --- a/view/tpl/smarty3/lostpass.tpl +++ /dev/null @@ -1,23 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h3>{{$title}}</h3> - -<p id="lostpass-desc"> -{{$desc}} -</p> - -<form action="lostpass" method="post" > -<div id="login-name-wrapper"> - <label for="login-name" id="label-login-name">{{$name}}</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="{{$submit}}" /> -</div> -<div id="login-submit-end"></div> -</form> - diff --git a/view/tpl/smarty3/magicsig.tpl b/view/tpl/smarty3/magicsig.tpl deleted file mode 100644 index af8dbb5bc..000000000 --- a/view/tpl/smarty3/magicsig.tpl +++ /dev/null @@ -1,14 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<?xml version="1.0" encoding="UTF-8"?> -<me:env xmlns:me="http://salmon-protocol.org/ns/magic-env"> -<me:data type="application/atom+xml"> -{{$data}} -</me:data> -<me:encoding>{{$encoding}}</me:encoding> -<me:alg>{{$algorithm}}</me:alg> -<me:sig key_id="{{$keyhash}}">{{$signature}}</me:sig> -</me:env> diff --git a/view/tpl/smarty3/mail_conv.tpl b/view/tpl/smarty3/mail_conv.tpl deleted file mode 100644 index 8587efbb5..000000000 --- a/view/tpl/smarty3/mail_conv.tpl +++ /dev/null @@ -1,19 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="mail-conv-outside-wrapper"> - <div class="mail-conv-sender" > - <a href="{{$mail.from_url}}" class="mail-conv-sender-url" ><img class="mframe mail-conv-sender-photo{{$mail.sparkle}}" src="{{$mail.from_photo}}" heigth="80" width="80" alt="{{$mail.from_name}}" /></a> - <div class="mail-conv-sender-name" >{{$mail.from_name}}</div> - </div> - <div class="mail-conv-detail" > - <div class="mail-conv-date">{{$mail.date}}</div> - <div class="mail-conv-subject">{{$mail.subject}}</div> - <div class="mail-conv-body">{{$mail.body}}</div> - <div class="mail-conv-delete-wrapper" id="mail-conv-delete-wrapper-{{$mail.id}}" ><a href="message/drop/{{$mail.id}}" class="icon drophide delete-icon mail-list-delete-icon" onclick="return confirmDelete();" title="{{$mail.delete}}" id="mail-conv-delete-icon-{{$mail.id}}" class="mail-conv-delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></div><div class="mail-conv-delete-end"></div> - <div class="mail-conv-outside-wrapper-end"></div> -</div> -</div> -<hr class="mail-conv-break" /> diff --git a/view/tpl/smarty3/mail_display.tpl b/view/tpl/smarty3/mail_display.tpl deleted file mode 100644 index e14d55478..000000000 --- a/view/tpl/smarty3/mail_display.tpl +++ /dev/null @@ -1,15 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -{{foreach $mails as $mail}} - {{include file="mail_conv.tpl"}} -{{/foreach}} - -{{if $canreply}} -{{include file="prv_message.tpl"}} -{{else}} -{{$unknown_text}} -{{/if}}
\ No newline at end of file diff --git a/view/tpl/smarty3/mail_head.tpl b/view/tpl/smarty3/mail_head.tpl deleted file mode 100644 index f7a39fa8b..000000000 --- a/view/tpl/smarty3/mail_head.tpl +++ /dev/null @@ -1,8 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h3>{{$messages}}</h3> - -{{$tab_content}} diff --git a/view/tpl/smarty3/mail_list.tpl b/view/tpl/smarty3/mail_list.tpl deleted file mode 100644 index ffc75b794..000000000 --- a/view/tpl/smarty3/mail_list.tpl +++ /dev/null @@ -1,24 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="mail-list-outside-wrapper"> - <div class="mail-list-sender" > - <a href="{{$from_url}}" class="mail-list-sender-url" ><img class="mail-list-sender-photo" src="{{$from_photo}}" height="32" width="32" alt="{{$from_name}}" /></a> - <div class="mail-list-sender-name" >{{$from_name}}</div> - </div> - <div class="mail-list-recip" > - <a href="{{$to_url}}" class="mail-list-recip-url" ><img class="mail-list-recip-photo" src="{{$to_photo}}" height="32" width="32" alt="{{$to_name}}" /></a> - <div class="mail-list-recip-name" >{{$to_name}}</div> - </div> - <div class="mail-list-date">{{$date}}</div> - <div class="mail-list-subject"><a href="message/{{$id}}" class="mail-list-link">{{$subject}}</a></div> - <div class="mail-list-delete-wrapper" id="mail-list-delete-wrapper-{{$id}}" > - <a href="message/dropconv/{{$id}}" onclick="return confirmDelete();" title="{{$delete}}" class="icon drophide mail-list-delete delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a> - </div> -</div> -</div> -<div class="mail-list-delete-end"></div> - -<div class="mail-list-outside-wrapper-end"></div> diff --git a/view/tpl/smarty3/main_slider.tpl b/view/tpl/smarty3/main_slider.tpl deleted file mode 100644 index 481e23077..000000000 --- a/view/tpl/smarty3/main_slider.tpl +++ /dev/null @@ -1,28 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="main-slider" class="slider" ><input id="main-range" type="text" name="cminmax" value="{{$val}}" /></div> -<script> - $("#main-range").slider({ from: 0, to: 99, step: 1, scale: ['{{$me}}', '|', '{{$intimate}}', '|', '{{$friends}}', '|', '{{$oldfriends}}', '|', '{{$acquaintances}}', '|', '{{$world}}' ], onstatechange: function(v) { - var carr = v.split(";"); - bParam_cmin = carr[0]; - bParam_cmax = carr[1]; - networkRefresh(); - } }); - - var slideTimer = null; - function networkRefresh() { - if((document.readyState !== "complete") || (slideTimer !== null)) - return; - setTimeout(function() { $("#profile-jot-text-loading").show(); }, 1000 ); - slideTimer = setTimeout(networkTimerRefresh,2000); - } - - function networkTimerRefresh() { - slideTimer = null; - page_load = true; - liveUpdate(); - } -</script> diff --git a/view/tpl/smarty3/match.tpl b/view/tpl/smarty3/match.tpl deleted file mode 100644 index 14b725466..000000000 --- a/view/tpl/smarty3/match.tpl +++ /dev/null @@ -1,21 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="profile-match-wrapper"> - <div class="profile-match-photo"> - <a href="{{$url}}"> - <img src="{{$photo}}" alt="{{$name}}" title="{{$name}}[{{$tags}}]" /> - </a> - </div> - <div class="profile-match-break"></div> - <div class="profile-match-name"> - <a href="{{$url}}" title="{{$name}}[{{$tags}}]">{{$name}}</a> - </div> - <div class="profile-match-end"></div> - {{if $connlnk}} - <div class="profile-match-connect"><a href="{{$connlnk}}" title="{{$conntxt}}">{{$conntxt}}</a></div> - {{/if}} - -</div> diff --git a/view/tpl/smarty3/message_side.tpl b/view/tpl/smarty3/message_side.tpl deleted file mode 100644 index 7da22ee3e..000000000 --- a/view/tpl/smarty3/message_side.tpl +++ /dev/null @@ -1,15 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="message-sidebar" class="widget"> - <div id="message-new"><a href="{{$new.url}}" class="{{if $new.sel}}newmessage-selected{{/if}}">{{$new.label}}</a> </div> - - <ul class="message-ul"> - {{foreach $tabs as $t}} - <li class="tool"><a href="{{$t.url}}" class="message-link{{if $t.sel}}message-selected{{/if}}">{{$t.label}}</a></li> - {{/foreach}} - </ul> - -</div> diff --git a/view/tpl/smarty3/micropro_img.tpl b/view/tpl/smarty3/micropro_img.tpl deleted file mode 100644 index de134adba..000000000 --- a/view/tpl/smarty3/micropro_img.tpl +++ /dev/null @@ -1,6 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="contact-block-div{{if $class}} {{$class}}{{/if}}"><a class="contact-block-link{{if $class}} {{$class}}{{/if}}{{if $click}} fakelink{{/if}}" href="{{if $click}}#{{else}}{{$url}}{{/if}}" {{if $click}}onclick="{{$click}}"{{/if}}><img class="contact-block-img{{if $class}} {{$class}}{{/if}}" src="{{$photo}}" title="{{$title}}" alt="{{$name}}" /></a></div> diff --git a/view/tpl/smarty3/micropro_txt.tpl b/view/tpl/smarty3/micropro_txt.tpl deleted file mode 100644 index a6438812b..000000000 --- a/view/tpl/smarty3/micropro_txt.tpl +++ /dev/null @@ -1,6 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="contact-block-textdiv{{if $class}} {{$class}}{{/if}}"><a class="contact-block-link{{if $class}} {{$class}}{{/if}}{{if $click}} fakelink{{/if}}" href="{{if $click}}#{{else}}{{$url}}{{/if}}" {{if $click}}onclick="{{$click}}"{{/if}} title="{{$title}}">{{$name}}</a></div> diff --git a/view/tpl/smarty3/moderated_comment.tpl b/view/tpl/smarty3/moderated_comment.tpl deleted file mode 100644 index 1e4e9b6d4..000000000 --- a/view/tpl/smarty3/moderated_comment.tpl +++ /dev/null @@ -1,39 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - <div class="comment-wwedit-wrapper" id="comment-edit-wrapper-{{$id}}" style="display: block;"> - <form class="comment-edit-form" id="comment-edit-form-{{$id}}" action="item" method="post" onsubmit="post_comment({{$id}}); return false;"> - <input type="hidden" name="type" value="{{$type}}" /> - <input type="hidden" name="profile_uid" value="{{$profile_uid}}" /> - <input type="hidden" name="parent" value="{{$parent}}" /> - <input type="hidden" name="return" value="{{$return_path}}" /> - <input type="hidden" name="jsreload" value="{{$jsreload}}" /> - <input type="hidden" name="preview" id="comment-preview-inp-{{$id}}" value="0" /> - - <div class="comment-edit-photo" id="comment-edit-photo-{{$id}}" > - <a class="comment-edit-photo-link" href="{{$mylink}}" title="{{$mytitle}}"><img class="my-comment-photo" src="{{$myphoto}}" alt="{{$mytitle}}" title="{{$mytitle}}" /></a> - </div> - <div class="comment-edit-photo-end"></div> - <div id="mod-cmnt-wrap-{{$id}}" class="mod-cmnt-wrap" style="display:none"> - <div id="mod-cmnt-name-lbl-{{$id}}" class="mod-cmnt-name-lbl">{{$lbl_modname}}</div> - <input type="text" id="mod-cmnt-name-{{$id}}" class="mod-cmnt-name" name="mod-cmnt-name" value="{{$modname}}" /> - <div id="mod-cmnt-email-lbl-{{$id}}" class="mod-cmnt-email-lbl">{{$lbl_modemail}}</div> - <input type="text" id="mod-cmnt-email-{{$id}}" class="mod-cmnt-email" name="mod-cmnt-email" value="{{$modemail}}" /> - <div id="mod-cmnt-url-lbl-{{$id}}" class="mod-cmnt-url-lbl">{{$lbl_modurl}}</div> - <input type="text" id="mod-cmnt-url-{{$id}}" class="mod-cmnt-url" name="mod-cmnt-url" value="{{$modurl}}" /> - </div> - <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$id}});" onBlur="commentClose(this,{{$id}});" >{{$comment}}</textarea> - - <div class="comment-edit-text-end"></div> - <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-{{$id}}" style="display: none;" > - <input type="submit" onclick="post_comment({{$id}}); return false;" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" /> - <span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="fakelink">{{$preview}}</span> - <div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div> - </div> - - <div class="comment-edit-end"></div> - </form> - - </div> diff --git a/view/tpl/smarty3/mood_content.tpl b/view/tpl/smarty3/mood_content.tpl deleted file mode 100644 index 461303318..000000000 --- a/view/tpl/smarty3/mood_content.tpl +++ /dev/null @@ -1,25 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h3>{{$title}}</h3> - -<div id="mood-desc">{{$desc}}</div> - -<form action="mood" method="get"> -<br /> -<br /> - -<input id="mood-parent" type="hidden" value="{{$parent}}" name="parent" /> - -<select name="verb" id="mood-verb-select" > -{{foreach $verbs as $v}} -<option value="{{$v.0}}">{{$v.1}}</option> -{{/foreach}} -</select> -<br /> -<br /> -<input type="submit" name="submit" value="{{$submit}}" /> -</form> - diff --git a/view/tpl/smarty3/msg-header.tpl b/view/tpl/smarty3/msg-header.tpl deleted file mode 100644 index 4c47e1d6d..000000000 --- a/view/tpl/smarty3/msg-header.tpl +++ /dev/null @@ -1,102 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<script language="javascript" type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> -<script language="javascript" type="text/javascript"> - -var plaintext = '{{$editselect}}'; - -if(plaintext != 'none') { - tinyMCE.init({ - theme : "advanced", - mode : "specific_textareas", - editor_selector: /(profile-jot-text|prvmail-text)/, - plugins : "bbcode,paste", - theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor", - theme_advanced_buttons2 : "", - theme_advanced_buttons3 : "", - theme_advanced_toolbar_location : "top", - theme_advanced_toolbar_align : "center", - theme_advanced_blockformats : "blockquote,code", - gecko_spellcheck : true, - paste_text_sticky : true, - entity_encoding : "raw", - add_unload_trigger : false, - remove_linebreaks : false, - force_p_newlines : false, - force_br_newlines : true, - forced_root_block : '', - convert_urls: false, - content_css: "{{$baseurl}}/view/custom_tinymce.css", - //Character count - theme_advanced_path : false, - setup : function(ed) { - ed.onInit.add(function(ed) { - ed.pasteAsPlainText = true; - var editorId = ed.editorId; - var textarea = $('#'+editorId); - if (typeof(textarea.attr('tabindex')) != "undefined") { - $('#'+editorId+'_ifr').attr('tabindex', textarea.attr('tabindex')); - textarea.attr('tabindex', null); - } - }); - } - }); -} -else - $("#prvmail-text").contact_autocomplete(baseurl+"/acl"); - - -</script> -<script type="text/javascript" src="js/ajaxupload.js" ></script> -<script> - $(document).ready(function() { - var uploader = new window.AjaxUpload( - 'prvmail-upload', - { action: 'wall_upload/{{$nickname}}', - name: 'userfile', - onSubmit: function(file,ext) { $('#profile-rotator').show(); }, - onComplete: function(file,response) { - tinyMCE.execCommand('mceInsertRawHTML',false,response); - $('#profile-rotator').hide(); - } - } - ); - - }); - - function jotGetLink() { - reply = prompt("{{$linkurl}}"); - if(reply && reply.length) { - $('#profile-rotator').show(); - $.get('parse_url?url=' + reply, function(data) { - tinyMCE.execCommand('mceInsertRawHTML',false,data); - $('#profile-rotator').hide(); - }); - } - } - - function linkdropper(event) { - var linkFound = event.dataTransfer.types.contains("text/uri-list"); - if(linkFound) - event.preventDefault(); - } - - function linkdrop(event) { - var reply = event.dataTransfer.getData("text/uri-list"); - event.target.textContent = reply; - event.preventDefault(); - if(reply && reply.length) { - $('#profile-rotator').show(); - $.get('parse_url?url=' + reply, function(data) { - tinyMCE.execCommand('mceInsertRawHTML',false,data); - $('#profile-rotator').hide(); - }); - } - } - -</script> - diff --git a/view/tpl/smarty3/nav.tpl b/view/tpl/smarty3/nav.tpl deleted file mode 100644 index 261607e5b..000000000 --- a/view/tpl/smarty3/nav.tpl +++ /dev/null @@ -1,153 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<header> - <div id="site-location">{{$sitelocation}}</div> - <div id="banner">{{$banner}}</div> -</header> -<nav> - <ul> - {{if $nav.lock}} - <li id="nav-rmagic-link" class="nav-menu-icon" > - <a class="icon {{$nav.lock.2}}" href="{{$nav.lock.0}}" title="{{$nav.lock.3}}" >{{$nav.lock.1}}</a> - </li> - {{/if}} - - - {{if $nav.network}} - <li id="nav-network-link" class="nav-menu {{$sel.network}}"> - <a class="{{$nav.network.2}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" ><span class="icon network">{{$nav.network.1}}</span></a> - <span id="net-update" class="nav-notify fakelink" rel="#nav-network-menu"></span> - <ul id="nav-network-menu" class="menu-popup notify-menus" rel="network"> - <li id="nav-network-see-all"><a href="{{$nav.network.all.0}}">{{$nav.network.all.1}}</a></li> - <li id="nav-network-mark-all"><a href="#" onclick="markRead('network'); return false;">{{$nav.network.mark.1}}</a></li> - <li class="empty">{{$emptynotifications}}</li> - </ul> - </li> - {{/if}} - - {{if $nav.home}} - <li id="nav-home-link" class="nav-menu {{$sel.home}}"> - <a class="{{$nav.home.2}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" ><span class="icon home">{{$nav.home.1}}</span></a> - <span id="home-update" class="nav-notify fakelink" rel="#nav-home-menu"></span> - <ul id="nav-home-menu" class="menu-popup notify-menus" rel="home"> - <li id="nav-home-see-all"><a href="{{$nav.home.all.0}}">{{$nav.home.all.1}}</a></li> - <li id="nav-home-mark-all"><a href="#" onclick="markRead('home'); return false;">{{$nav.home.mark.1}}</a></li> - <li class="empty">{{$emptynotifications}}</li> - </ul> - </li> - {{/if}} - - {{if $nav.messages}} - <li id="nav-mail-link" class="nav-menu {{$sel.messages}}"> - <a class="{{$nav.messages.2}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" ><span class="icon mail">{{$nav.messages.1}}</span></a> - <span id="mail-update" class="nav-notify fakelink" rel="#nav-messages-menu"></span> - <ul id="nav-messages-menu" class="menu-popup notify-menus" rel="messages"> - <li id="nav-messages-see-all"><a href="{{$nav.messages.all.0}}">{{$nav.messages.all.1}}</a></li> - <li id="nav-messages-mark-all"><a href="#" onclick="markRead('messages'); return false;">{{$nav.messages.mark.1}}</a></li> - <li class="empty">{{$emptynotifications}}</li> - </ul> - </li> - {{/if}} - - {{if $nav.all_events}} - <li id="nav-all_events-link" class="nav-menu {{$sel.all_events}}"> - <a class="{{$nav.all_events.2}}" href="{{$nav.all_events.0}}" title="{{$nav.all_events.3}}" ><span class="icon events">{{$nav.all_events.1}}</span></a> - <span id="all_events-update" class="nav-notify fakelink" rel="#nav-all_events-menu"></span> - <ul id="nav-all_events-menu" class="menu-popup notify-menus" rel="all_events"> - <li id="nav-all_events-see-all"><a href="{{$nav.all_events.all.0}}">{{$nav.all_events.all.1}}</a></li> - <li id="nav-all_events-mark-all"><a href="#" onclick="markRead('all_events'); return false;">{{$nav.all_events.mark.1}}</a></li> - <li class="empty">{{$emptynotifications}}</li> - </ul> - </li> - {{/if}} - - {{if $nav.intros}} - <li id="nav-intros-link" class="nav-menu {{$sel.intros}}"> - <a class="{{$nav.intros.2}}" href="{{$nav.intros.0}}" title="{{$nav.intros.3}}" ><span class="icon introductions">{{$nav.intros.1}}</span></a> - <span id="intro-update" class="nav-notify fakelink" rel="#nav-intros-menu"></span> - <ul id="nav-intros-menu" class="menu-popup notify-menus" rel="intros"> - <li id="nav-intros-see-all"><a href="{{$nav.intros.all.0}}">{{$nav.intros.all.1}}</a></li> - <li class="empty">{{$emptynotifications}}</li> - </ul> - </li> - {{/if}} - - {{if $nav.notifications}} - <li id="nav-notify-linkmenu" class="nav-menu fakelink"> - <a href="{{$nav.notifications.0}}" title="{{$nav.notifications.1}}"><span class="icon s22 notify">{{$nav.notifications.1}}</span></a> - <span id="notify-update" class="nav-notify fakelink" rel="#nav-notify-menu"></span> - <ul id="nav-notify-menu" class="menu-popup notify-menus" rel="notify"> - <li id="nav-notify-see-all"><a href="{{$nav.notifications.all.0}}">{{$nav.notifications.all.1}}</a></li> - <li id="nav-notify-mark-all"><a href="#" onclick="markRead('notify'); return false;">{{$nav.notifications.mark.1}}</a></li> - <li class="empty">{{$emptynotifications}}</li> - </ul> - </li> - {{/if}} - - {{if $nav.settings}} - <li id="nav-site-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-site-menu"><span class="icon s22 gear">{{$nav.settings.1}}</span></a> - <ul id="nav-site-menu" class="menu-popup"> - {{if $nav.settings}}<li><a class="{{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a></li>{{/if}} - {{if $nav.directory}}<li><a class="{{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}">{{$nav.directory.1}}</a></li>{{/if}} - - {{if $nav.admin}}<li><a class="{{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a></li>{{/if}} - - </ul> - </li> - {{/if}} - - {{if $userinfo}} - <li id="nav-user-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-user-menu" title="{{$userinfo.name}}"><img src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"></a> - {{if $localuser}} - <ul id="nav-user-menu" class="menu-popup"> - {{foreach $nav.usermenu as $usermenu}} - <li><a class="{{$usermenu.2}}" href="{{$usermenu.0}}" title="{{$usermenu.3}}">{{$usermenu.1}}</a></li> - {{/foreach}} - {{if $nav.profiles}}<li><a class="{{$nav.profiles.2}}" href="{{$nav.profiles.0}}" title="{{$nav.profiles.3}}">{{$nav.profiles.1}}</a></li>{{/if}} - {{if $nav.manage}}<li><a class="{{$nav.manage.2}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a></li>{{/if}} - {{if $nav.contacts}}<li><a class="{{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}" >{{$nav.contacts.1}}</a></li>{{/if}} - {{if $nav.logout}}<li><a class="menu-sep {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a></li>{{/if}} - - </ul> - {{/if}} - </li> - {{/if}} - - {{if $nav.login}}<li id="nav-login-link" class="nav-menu {{$nav.login.2}}"><a href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a><li>{{/if}} - {{if $nav.alogout}}<li id=nav-alogout-link" class="nav-menu {{$nav}}-alogout.2"><a href="{{$nav.alogout.0}}" title="{{$nav.alogout.3}}" >{{$nav.alogout.1}}</a></li>{{/if}} - {{if $nav.help}} - <li id="nav-help-link" class="nav-menu {{$sel.help}}"> - <a class="{{$nav.help.2}}" target="friendika-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a> - </li> - {{/if}} - - {{if $nav.apps}} - <li id="nav-apps-link" class="nav-menu {{$sel.apps}}"> - <a class=" {{$nav.apps.2}}" href="#" rel="#nav-apps-menu" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a> - <ul id="nav-apps-menu" class="menu-popup"> - {{foreach $apps as $ap}} - <li>{{$ap}}</li> - {{/foreach}} - </ul> - </li> - {{/if}} - - <li id="nav-searchbar"> - <form method="get" action="search"> - <input id="nav-search-text" type="text" value="" placeholder="{{$nav.search.1}}" name="search" title="{{$nav.search.3}}" onclick="this.submit();" /> - </form> - </li> - <img src="images/rotator.gif" id="nav-search-spinner" style="display: none;" alt="{{$pleasewait}}" /> - - </ul> -</nav> - -<ul id="nav-notifications-template" style="display:none;" rel="template"> - <li class="{4}"><a href="{0}"><img src="{1}">{2} <span class="notif-when">{3}</span></a></li> -</ul> - -<div id="langselector" >{{$langselector}}</div> -<div id="panel" style="display: none;"></div> diff --git a/view/tpl/smarty3/netfriend.tpl b/view/tpl/smarty3/netfriend.tpl deleted file mode 100644 index e8658e0bc..000000000 --- a/view/tpl/smarty3/netfriend.tpl +++ /dev/null @@ -1,19 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="intro-approve-as-friend-desc">{{$approve_as}}</div> - -<div class="intro-approve-as-friend-wrapper"> - <label class="intro-approve-as-friend-label" for="intro-approve-as-friend-{{$intro_id}}">{{$as_friend}}</label> - <input type="radio" name="duplex" id="intro-approve-as-friend-{{$intro_id}}" class="intro-approve-as-friend" {{$friend_selected}} value="1" /> - <div class="intro-approve-friend-break" ></div> -</div> -<div class="intro-approve-as-friend-end"></div> -<div class="intro-approve-as-fan-wrapper"> - <label class="intro-approve-as-fan-label" for="intro-approve-as-fan-{{$intro_id}}">{{$as_fan}}</label> - <input type="radio" name="duplex" id="intro-approve-as-fan-{{$intro_id}}" class="intro-approve-as-fan" {{$fan_selected}} value="0" /> - <div class="intro-approve-fan-break"></div> -</div> -<div class="intro-approve-as-end"></div> diff --git a/view/tpl/smarty3/new_channel.tpl b/view/tpl/smarty3/new_channel.tpl deleted file mode 100644 index a7aa44991..000000000 --- a/view/tpl/smarty3/new_channel.tpl +++ /dev/null @@ -1,34 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h2>{{$title}}</h2> - -<form action="new_channel" method="post" id="newchannel-form"> - - <div id="newchannel-desc" class="descriptive-paragraph">{{$desc}}</div> - - <label for="newchannel-name" id="label-newchannel-name" class="newchannel-label" >{{$label_name}}</label> - <input type="text" name="name" id="newchannel-name" class="newchannel-input" value="{{$name}}" /> - <div id="newchannel-name-feedback" class="newchannel-feedback"></div> - <div id="newchannel-name-end" class="newchannel-field-end"></div> - - <div id="newchannel-name-help" class="descriptive-paragraph">{{$help_name}}</div> - - <label for="newchannel-nickname" id="label-newchannel-nickname" class="newchannel-label" >{{$label_nick}}</label> - <input type="text" name="nickname" id="newchannel-nickname" class="newchannel-input" value="{{$nickname}}" /> - <div id="newchannel-nickname-feedback" class="newchannel-feedback"></div> - <div id="newchannel-nickname-end" class="newchannel-field-end"></div> - - <div id="newchannel-nick-desc" class="descriptive-paragraph">{{$nick_desc}}</div> - - - <div id="newchannel-import-link" class="descriptive-paragraph" >{{$label_import}}</div> - - <div id="newchannel-import-end" class="newchannel-field-end"></div> - - <input type="submit" name="submit" id="newchannel-submit-button" value="{{$submit}}" /> - <div id="newchannel-submit-end" class="newchannel-field-end"></div> - -</form> diff --git a/view/tpl/smarty3/nogroup-template.tpl b/view/tpl/smarty3/nogroup-template.tpl deleted file mode 100644 index 7d103a655..000000000 --- a/view/tpl/smarty3/nogroup-template.tpl +++ /dev/null @@ -1,17 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$header}}</h1> - -{{foreach $contacts as $contact}} - {{include file="contact_template.tpl"}} -{{/foreach}} -<div id="contact-edit-end"></div> - -{{$paginate}} - - - - diff --git a/view/tpl/smarty3/notifications.tpl b/view/tpl/smarty3/notifications.tpl deleted file mode 100644 index 834a7a016..000000000 --- a/view/tpl/smarty3/notifications.tpl +++ /dev/null @@ -1,13 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<h1>{{$notif_header}}</h1> - -{{include file="common_tabs.tpl"}} - -<div class="notif-network-wrapper"> - {{$notif_content}} -</div> diff --git a/view/tpl/smarty3/notifications_comments_item.tpl b/view/tpl/smarty3/notifications_comments_item.tpl deleted file mode 100644 index 9913e6cf7..000000000 --- a/view/tpl/smarty3/notifications_comments_item.tpl +++ /dev/null @@ -1,8 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="notif-item"> - <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a> -</div>
\ No newline at end of file diff --git a/view/tpl/smarty3/notifications_dislikes_item.tpl b/view/tpl/smarty3/notifications_dislikes_item.tpl deleted file mode 100644 index 9913e6cf7..000000000 --- a/view/tpl/smarty3/notifications_dislikes_item.tpl +++ /dev/null @@ -1,8 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="notif-item"> - <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a> -</div>
\ No newline at end of file diff --git a/view/tpl/smarty3/notifications_friends_item.tpl b/view/tpl/smarty3/notifications_friends_item.tpl deleted file mode 100644 index 9913e6cf7..000000000 --- a/view/tpl/smarty3/notifications_friends_item.tpl +++ /dev/null @@ -1,8 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="notif-item"> - <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a> -</div>
\ No newline at end of file diff --git a/view/tpl/smarty3/notifications_likes_item.tpl b/view/tpl/smarty3/notifications_likes_item.tpl deleted file mode 100644 index 792b285bc..000000000 --- a/view/tpl/smarty3/notifications_likes_item.tpl +++ /dev/null @@ -1,8 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="notif-item"> - <a href="{{$item_link}}" target="friendica-notification"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a> -</div>
\ No newline at end of file diff --git a/view/tpl/smarty3/notifications_network_item.tpl b/view/tpl/smarty3/notifications_network_item.tpl deleted file mode 100644 index c3381d682..000000000 --- a/view/tpl/smarty3/notifications_network_item.tpl +++ /dev/null @@ -1,8 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="notif-item"> - <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a> -</div> diff --git a/view/tpl/smarty3/notifications_posts_item.tpl b/view/tpl/smarty3/notifications_posts_item.tpl deleted file mode 100644 index 9913e6cf7..000000000 --- a/view/tpl/smarty3/notifications_posts_item.tpl +++ /dev/null @@ -1,8 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="notif-item"> - <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a> -</div>
\ No newline at end of file diff --git a/view/tpl/smarty3/notify.tpl b/view/tpl/smarty3/notify.tpl deleted file mode 100644 index 9913e6cf7..000000000 --- a/view/tpl/smarty3/notify.tpl +++ /dev/null @@ -1,8 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="notif-item"> - <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a> -</div>
\ No newline at end of file diff --git a/view/tpl/smarty3/oauth_authorize.tpl b/view/tpl/smarty3/oauth_authorize.tpl deleted file mode 100644 index d7f1963d2..000000000 --- a/view/tpl/smarty3/oauth_authorize.tpl +++ /dev/null @@ -1,15 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$title}}</h1> - -<div class='oauthapp'> - <img src='{{$app.icon}}'> - <h4>{{$app.name}}</h4> -</div> -<h3>{{$authorize}}</h3> -<form method="POST"> -<div class="settings-submit-wrapper"><input class="settings-submit" type="submit" name="oauth_yes" value="{{$yes}}" /></div> -</form> diff --git a/view/tpl/smarty3/oauth_authorize_done.tpl b/view/tpl/smarty3/oauth_authorize_done.tpl deleted file mode 100644 index 12d4c6f48..000000000 --- a/view/tpl/smarty3/oauth_authorize_done.tpl +++ /dev/null @@ -1,9 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$title}}</h1> - -<p>{{$info}}</p> -<code>{{$code}}</code> diff --git a/view/tpl/smarty3/oembed_video.tpl b/view/tpl/smarty3/oembed_video.tpl deleted file mode 100644 index bdfa11509..000000000 --- a/view/tpl/smarty3/oembed_video.tpl +++ /dev/null @@ -1,9 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<a href='{{$embedurl}}' onclick='this.innerHTML=Base64.decode("{{$escapedhtml}}"); return false;' style='float:left; margin: 1em; position: relative;'> - <img width='{{$tw}}' height='{{$th}}' src='{{$turl}}' > - <div style='position: absolute; top: 0px; left: 0px; width: {{$twpx}}; height: {{$thpx}}; background: url({{$baseurl}}/images/icons/48/play.png) no-repeat center center;'></div> -</a> diff --git a/view/tpl/smarty3/oexchange_xrd.tpl b/view/tpl/smarty3/oexchange_xrd.tpl deleted file mode 100644 index 04a8e1847..000000000 --- a/view/tpl/smarty3/oexchange_xrd.tpl +++ /dev/null @@ -1,38 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<?xml version='1.0' encoding='UTF-8'?> -<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"> - - <Subject>{{$base}}</Subject> - - <Property - type="http://www.oexchange.org/spec/0.8/prop/vendor">Friendika</Property> - <Property - type="http://www.oexchange.org/spec/0.8/prop/title">Friendika Social Network</Property> - <Property - type="http://www.oexchange.org/spec/0.8/prop/name">Friendika</Property> - <Property - type="http://www.oexchange.org/spec/0.8/prop/prompt">Send to Friendika</Property> - - <Link - rel="icon" - href="{{$base}}/images/friendika-16.png" - type="image/png" - /> - - <Link - rel="icon32" - href="{{$base}}/images/friendika-32.png" - type="image/png" - /> - - <Link - rel= "http://www.oexchange.org/spec/0.8/rel/offer" - href="{{$base}}/oexchange" - type="text/html" - /> -</XRD> - diff --git a/view/tpl/smarty3/opensearch.tpl b/view/tpl/smarty3/opensearch.tpl deleted file mode 100644 index 63d2a1752..000000000 --- a/view/tpl/smarty3/opensearch.tpl +++ /dev/null @@ -1,18 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<?xml version="1.0" encoding="UTF-8"?> -<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> - <ShortName>Friendika@{{$nodename}}</ShortName> - <Description>Search in Friendika@{{$nodename}}</Description> - <Contact>http://bugs.friendika.com/</Contact> - <Image height="16" width="16" type="image/png">{{$baseurl}}/images/friendika-16.png</Image> - <Image height="64" width="64" type="image/png">{{$baseurl}}/images/friendika-64.png</Image> - <Url type="text/html" - template="{{$baseurl}}/search?search={searchTerms}"/> - <Url type="application/opensearchdescription+xml" - rel="self" - template="{{$baseurl}}/opensearch" /> -</OpenSearchDescription>
\ No newline at end of file diff --git a/view/tpl/smarty3/page_display.tpl b/view/tpl/smarty3/page_display.tpl deleted file mode 100644 index 0f02086f2..000000000 --- a/view/tpl/smarty3/page_display.tpl +++ /dev/null @@ -1,12 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class=page"> - <h3 class="page-title">{{$title}}</h3> - - <div class="page-author"><a class=="page-author-link" href="{{$auth_url}}">{{$author}}</a></div> - <div class="page-date">{{$date}}</div> - <div class="page-body">body</div> -</div> diff --git a/view/tpl/smarty3/pagetypes.tpl b/view/tpl/smarty3/pagetypes.tpl deleted file mode 100644 index 15cd3047a..000000000 --- a/view/tpl/smarty3/pagetypes.tpl +++ /dev/null @@ -1,10 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - {{include file="field_radio.tpl" field=$page_normal}} - {{include file="field_radio.tpl" field=$page_community}} - {{include file="field_radio.tpl" field=$page_prvgroup}} - {{include file="field_radio.tpl" field=$page_soapbox}} - {{include file="field_radio.tpl" field=$page_freelove}} diff --git a/view/tpl/smarty3/peoplefind.tpl b/view/tpl/smarty3/peoplefind.tpl deleted file mode 100644 index 5417ee0ed..000000000 --- a/view/tpl/smarty3/peoplefind.tpl +++ /dev/null @@ -1,19 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="peoplefind-sidebar" class="widget"> - <h3>{{$findpeople}}</h3> - <div id="peoplefind-desc">{{$desc}}</div> - <form action="dirfind" method="post" /> - <input id="side-peoplefind-url" type="text" name="search" size="24" title="{{$hint}}" /><input id="side-peoplefind-submit" type="submit" name="submit" value="{{$findthem}}" /> - </form> - <div class="side-link" id="side-match-link"><a href="match" >{{$similar}}</a></div> - <div class="side-link" id="side-suggest-link"><a href="suggest" >{{$suggest}}</a></div> - <div class="side-link" id="side-random-profile-link" ><a href="randprof" target="extlink" >{{$random}}</a></div> - {{if $inv}} - <div class="side-link" id="side-invite-link" ><a href="invite" >{{$inv}}</a></div> - {{/if}} -</div> - diff --git a/view/tpl/smarty3/photo_album.tpl b/view/tpl/smarty3/photo_album.tpl deleted file mode 100644 index 56ee6b61c..000000000 --- a/view/tpl/smarty3/photo_album.tpl +++ /dev/null @@ -1,12 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="photo-album-image-wrapper" id="photo-album-image-wrapper-{{$id}}"> - <a href="{{$photolink}}" class="photo-album-photo-link" id="photo-album-photo-link-{{$id}}" title="{{$phototitle}}"> - <img src="{{$imgsrc}}" alt="{{$imgalt}}" title="{{$phototitle}}" class="photo-album-photo lframe resize{{$twist}}" id="photo-album-photo-{{$id}}" /> - <p class='caption'>{{$desc}}</p> - </a> -</div> -<div class="photo-album-image-wrapper-end"></div> diff --git a/view/tpl/smarty3/photo_albums.tpl b/view/tpl/smarty3/photo_albums.tpl deleted file mode 100644 index 8a31e030c..000000000 --- a/view/tpl/smarty3/photo_albums.tpl +++ /dev/null @@ -1,18 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="side-bar-photos-albums" class="widget"> -<h3><a href="{{$baseurl}}/photos/{{$nick}}" title="{{$title}}" >{{$title}}</a></h3> -{{if $albums}} -<ul> -{{foreach $albums as $al}} -<li><a href="{{$baseurl}}/photos/{{$nick}}/{{$al.bin2hex}}">{{$al.album}}</a></li> -{{/foreach}} -</ul> -{{/if}} -{{if $upload}} -<div id="photo-albums-upload-link"><a href="{{$baseurl}}/photos/{{$nick}}/upload" title="{{$upload}}">{{$upload}}</a></div> -{{/if}} -</div> diff --git a/view/tpl/smarty3/photo_drop.tpl b/view/tpl/smarty3/photo_drop.tpl deleted file mode 100644 index ed500fd0a..000000000 --- a/view/tpl/smarty3/photo_drop.tpl +++ /dev/null @@ -1,9 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$id}}" > - <a href="item/drop/{{$id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a> -</div> -<div class="wall-item-delete-end"></div> diff --git a/view/tpl/smarty3/photo_edit.tpl b/view/tpl/smarty3/photo_edit.tpl deleted file mode 100644 index fefe7f10b..000000000 --- a/view/tpl/smarty3/photo_edit.tpl +++ /dev/null @@ -1,55 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<form action="photos/{{$nickname}}/{{$resource_id}}" method="post" id="photo_edit_form" > - - <input type="hidden" name="item_id" value="{{$item_id}}" /> - - <label id="photo-edit-albumname-label" for="photo-edit-albumname">{{$newalbum}}</label> - <input id="photo-edit-albumname" type="text" size="32" name="albname" value="{{$album}}" /> - - <div id="photo-edit-albumname-end"></div> - - <label id="photo-edit-caption-label" for="photo-edit-caption">{{$capt_label}}</label> - <input id="photo-edit-caption" type="text" size="84" name="desc" value="{{$caption}}" /> - - <div id="photo-edit-caption-end"></div> - - <label id="photo-edit-tags-label" for="photo-edit-newtag" >{{$tag_label}}</label> - <input name="newtag" id="photo-edit-newtag" size="84" title="{{$help_tags}}" type="text" /> - - <div id="photo-edit-tags-end"></div> - <div id="photo-edit-rotate-wrapper"> - <div id="photo-edit-rotate-label"> - {{$rotatecw}}<br> - {{$rotateccw}} - </div> - <input type="radio" name="rotate" value="1" /><br> - <input type="radio" name="rotate" value="2" /> - </div> - <div id="photo-edit-rotate-end"></div> - - <div id="photo-edit-perms" class="photo-edit-perms" > - <a href="#photo-edit-perms-select" id="photo-edit-perms-menu" class="button popupbox" title="{{$permissions}}"/> - <span id="jot-perms-icon" class="icon {{$lockstate}}" ></span>{{$permissions}} - </a> - <div id="photo-edit-perms-menu-end"></div> - - <div style="display: none;"> - <div id="photo-edit-perms-select" > - {{$aclselect}} - </div> - </div> - </div> - <div id="photo-edit-perms-end"></div> - - <input id="photo-edit-submit-button" type="submit" name="submit" value="{{$submit}}" /> - <input id="photo-edit-delete-button" type="submit" name="delete" value="{{$delete}}" onclick="return confirmDelete()"; /> - - <div id="photo-edit-end"></div> -</form> - - diff --git a/view/tpl/smarty3/photo_item.tpl b/view/tpl/smarty3/photo_item.tpl deleted file mode 100644 index 7d6ac96ee..000000000 --- a/view/tpl/smarty3/photo_item.tpl +++ /dev/null @@ -1,27 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="wall-item-outside-wrapper{{$indent}}" id="wall-item-outside-wrapper-{{$id}}" > - <div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-{{$id}}" > - <a href="{{$profile_url}}" title="View {{$name}}'s profile" class="wall-item-photo-link" id="wall-item-photo-link-{{$id}}"> - <img src="{{$thumb}}" class="wall-item-photo" id="wall-item-photo-{{$id}}" style="height: 80px; width: 80px;" alt="{{$name}}" /></a> - </div> - - <div class="wall-item-wrapper" id="wall-item-wrapper-{{$id}}" > - <a href="{{$profile_url}}" title="View {{$name}}'s profile" class="wall-item-name-link"><span class="wall-item-name" id="wall-item-name-{{$id}}" >{{$name}}</span></a> - <div class="wall-item-ago" id="wall-item-ago-{{$id}}">{{$ago}}</div> - </div> - <div class="wall-item-content" id="wall-item-content-{{$id}}" > - <div class="wall-item-title" id="wall-item-title-{{$id}}">{{$title}}</div> - <div class="wall-item-body" id="wall-item-body-{{$id}}" >{{$body}}</div> - </div> - {{$drop}} - <div class="wall-item-wrapper-end"></div> - <div class="wall-item-comment-separator"></div> - {{$comment}} - -<div class="wall-item-outside-wrapper-end{{$indent}}" ></div> -</div> - diff --git a/view/tpl/smarty3/photo_top.tpl b/view/tpl/smarty3/photo_top.tpl deleted file mode 100644 index b34e1e639..000000000 --- a/view/tpl/smarty3/photo_top.tpl +++ /dev/null @@ -1,13 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<div class="photo-top-image-wrapper lframe" id="photo-top-image-wrapper-{{$photo.id}}"> - <a href="{{$photo.link}}" class="photo-top-photo-link" id="photo-top-photo-link-{{$photo.id}}" title="{{$photo.title}}"> - <img src="{{$photo.src}}" alt="{{$photo.alt}}" title="{{$photo.title}}" class="photo-top-photo{{$photo.twist}}" id="photo-top-photo-{{$photo.id}}" /> - </a> - <div class="photo-top-album-name"><a href="{{$photo.album.link}}" class="photo-top-album-link" title="{{$photo.album.alt}}" >{{$photo.album.name}}</a></div> -</div> - diff --git a/view/tpl/smarty3/photo_view.tpl b/view/tpl/smarty3/photo_view.tpl deleted file mode 100644 index 94f71bdd8..000000000 --- a/view/tpl/smarty3/photo_view.tpl +++ /dev/null @@ -1,42 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="live-display"></div> -<h3><a href="{{$album.0}}">{{$album.1}}</a></h3> - -<div id="photo-edit-link-wrap"> -{{if $tools}} -<a id="photo-edit-link" href="{{$tools.edit.0}}">{{$tools.edit.1}}</a> -| -<a id="photo-toprofile-link" href="{{$tools.profile.0}}">{{$tools.profile.1}}</a> -{{/if}} -{{if $lock}} | <img src="images/lock_icon.gif" class="lockview" alt="{{$lock}}" onclick="lockview(event,'photo/{{$id}}');" /> {{/if}} -</div> - -{{if $prevlink}}<div id="photo-prev-link"><a href="{{$prevlink.0}}">{{$prevlink.1}}</a></div>{{/if}} -<div id="photo-photo"><a href="{{$photo.href}}" title="{{$photo.title}}"><img src="{{$photo.src}}" /></a></div> -{{if $nextlink}}<div id="photo-next-link"><a href="{{$nextlink.0}}">{{$nextlink.1}}</a></div>{{/if}} -<div id="photo-photo-end"></div> -<div id="photo-caption">{{$desc}}</div> -{{if $tags}} -<div id="in-this-photo-text">{{$tags.0}}</div> -<div id="in-this-photo">{{$tags.1}}</div> -{{/if}} -{{if $tags.2}}<div id="tag-remove"><a href="{{$tags.2}}">{{$tags.3}}</a></div>{{/if}} - -{{if $edit}}{{$edit}}{{/if}} - -{{if $likebuttons}} -<div id="photo-like-div"> - {{$likebuttons}} - {{$like}} - {{$dislike}} -</div> -{{/if}} - -{{$comments}} - -{{$paginate}} - diff --git a/view/tpl/smarty3/photos_recent.tpl b/view/tpl/smarty3/photos_recent.tpl deleted file mode 100644 index cb2411df3..000000000 --- a/view/tpl/smarty3/photos_recent.tpl +++ /dev/null @@ -1,16 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h3>{{$title}}</h3> -{{if $can_post}} -<a id="photo-top-upload-link" href="{{$upload.1}}">{{$upload.0}}</a> -{{/if}} - -<div class="photos"> -{{foreach $photos as $photo}} - {{include file="photo_top.tpl"}} -{{/foreach}} -</div> -<div class="photos-end"></div> diff --git a/view/tpl/smarty3/photos_upload.tpl b/view/tpl/smarty3/photos_upload.tpl deleted file mode 100644 index 713e1169d..000000000 --- a/view/tpl/smarty3/photos_upload.tpl +++ /dev/null @@ -1,51 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h3>{{$pagename}}</h3> - -<div id="photos-usage-message">{{$usage}}</div> - -<form action="photos/{{$nickname}}" enctype="multipart/form-data" method="post" name="photos-upload-form" id="photos-upload-form" > - <div id="photos-upload-new-wrapper" > - <div id="photos-upload-newalbum-div"> - <label id="photos-upload-newalbum-text" for="photos-upload-newalbum" >{{$newalbum}}</label> - </div> - <input id="photos-upload-newalbum" type="text" name="newalbum" /> - </div> - <div id="photos-upload-new-end"></div> - <div id="photos-upload-exist-wrapper"> - <div id="photos-upload-existing-album-text">{{$existalbumtext}}</div> - {{$albumselect}} - </div> - <div id="photos-upload-exist-end"></div> - - <div id="photos-upload-noshare-div" class="photos-upload-noshare-div" > - <input id="photos-upload-noshare" type="checkbox" name="not_visible" value="1" /> - <label id="photos-upload-noshare-text" for="photos-upload-noshare" >{{$nosharetext}}</label> - </div> - - - <div id="photos-upload-perms" class="photos-upload-perms" > - <a href="#photos-upload-permissions-wrapper" id="photos-upload-perms-menu" class="button popupbox" /> - <span id="jot-perms-icon" class="icon {{$lockstate}}" ></span>{{$permissions}} - </a> - </div> - <div id="photos-upload-perms-end"></div> - - <div style="display: none;"> - <div id="photos-upload-permissions-wrapper"> - {{$aclselect}} - </div> - </div> - - <div id="photos-upload-spacer"></div> - - {{$uploader}} - - {{$default}} - - <div class="photos-upload-end" ></div> -</form> - diff --git a/view/tpl/smarty3/poco_entry_xml.tpl b/view/tpl/smarty3/poco_entry_xml.tpl deleted file mode 100644 index d6e139cb5..000000000 --- a/view/tpl/smarty3/poco_entry_xml.tpl +++ /dev/null @@ -1,12 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<entry> -{{if $entry.id}}<id>{{$entry.id}}</id>{{/if}} -{{if $entry.displayName}}<displayName>{{$entry.displayName}}</displayName>{{/if}} -{{if $entry.preferredUsername}}<preferredUsername>{{$entry.preferredUsername}}</preferredUsername>{{/if}} -{{if $entry.urls}}{{foreach $entry.urls as $url}}<urls><value>{{$url.value}}</value><type>{{$url.type}}</type></urls>{{/foreach}}{{/if}} -{{if $entry.photos}}{{foreach $entry.photos as $photo}}<photos><value>{{$photo.value}}</value><type>{{$photo.type}}</type></photos>{{/foreach}}{{/if}} -</entry> diff --git a/view/tpl/smarty3/poco_xml.tpl b/view/tpl/smarty3/poco_xml.tpl deleted file mode 100644 index b8cd8fc08..000000000 --- a/view/tpl/smarty3/poco_xml.tpl +++ /dev/null @@ -1,23 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<?xml version="1.0" encoding="utf-8"?> -<response> -{{if $response.sorted}}<sorted>{{$response.sorted}}</sorted>{{/if}} -{{if $response.filtered}}<filtered>{{$response.filtered}}</filtered>{{/if}} -{{if $response.updatedSince}}<updatedSince>{{$response.updatedSince}}</updatedSince>{{/if}} -<startIndex>{{$response.startIndex}}</startIndex> -<itemsPerPage>{{$response.itemsPerPage}}</itemsPerPage> -<totalResults>{{$response.totalResults}}</totalResults> - - -{{if $response.totalResults}} -{{foreach $response.entry as $entry}} -{{include file="poco_entry_xml.tpl"}} -{{/foreach}} -{{else}} -<entry></entry> -{{/if}} -</response> diff --git a/view/tpl/smarty3/poke_content.tpl b/view/tpl/smarty3/poke_content.tpl deleted file mode 100644 index 6235aca0c..000000000 --- a/view/tpl/smarty3/poke_content.tpl +++ /dev/null @@ -1,37 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h3>{{$title}}</h3> - -<div id="poke-desc">{{$desc}}</div> - -<form action="poke" method="get"> -<br /> -<br /> - -<div id="poke-recip-label">{{$clabel}}</div> -<br /> -<input id="poke-recip" type="text" size="64" maxlength="255" value="{{$name}}" name="pokename" autocomplete="off" /> -<input id="poke-recip-complete" type="hidden" value="{{$id}}" name="cid" /> -<input id="poke-parent" type="hidden" value="{{$parent}}" name="parent" /> -<br /> -<br /> -<div id="poke-action-label">{{$choice}}</div> -<br /> -<br /> -<select name="verb" id="poke-verb-select" > -{{foreach $verbs as $v}} -<option value="{{$v.0}}">{{$v.1}}</option> -{{/foreach}} -</select> -<br /> -<br /> -<div id="poke-private-desc">{{$prv_desc}}</div> -<input type="checkbox" name="private" {{if $parent}}disabled="disabled"{{/if}} value="1" /> -<br /> -<br /> -<input type="submit" name="submit" value="{{$submit}}" /> -</form> - diff --git a/view/tpl/smarty3/posted_date_widget.tpl b/view/tpl/smarty3/posted_date_widget.tpl deleted file mode 100644 index 2f5838edb..000000000 --- a/view/tpl/smarty3/posted_date_widget.tpl +++ /dev/null @@ -1,14 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="datebrowse-sidebar" class="widget"> - <h3>{{$title}}</h3> -<script>function dateSubmit(dateurl) { window.location.href = dateurl; } </script> -<select id="posted-date-selector" name="posted-date-select" onchange="dateSubmit($(this).val());" size="{{$size}}"> -{{foreach $dates as $d}} -<option value="{{$url}}/{{$d.1}}/{{$d.2}}" >{{$d.0}}</option> -{{/foreach}} -</select> -</div> diff --git a/view/tpl/smarty3/profed_head.tpl b/view/tpl/smarty3/profed_head.tpl deleted file mode 100644 index 37a038d4f..000000000 --- a/view/tpl/smarty3/profed_head.tpl +++ /dev/null @@ -1,41 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<script language="javascript" type="text/javascript" - src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> - <script language="javascript" type="text/javascript"> - - -tinyMCE.init({ - theme : "advanced", - mode : "{{$editselect}}", - plugins : "bbcode,paste", - theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code", - theme_advanced_buttons2 : "", - theme_advanced_buttons3 : "", - theme_advanced_toolbar_location : "top", - theme_advanced_toolbar_align : "center", - theme_advanced_blockformats : "blockquote,code", - gecko_spellcheck : true, - paste_text_sticky : true, - entity_encoding : "raw", - add_unload_trigger : false, - remove_linebreaks : false, - force_p_newlines : false, - force_br_newlines : true, - forced_root_block : '', - content_css: "{{$baseurl}}/view/custom_tinymce.css", - theme_advanced_path : false, - setup : function(ed) { - ed.onInit.add(function(ed) { - ed.pasteAsPlainText = true; - }); - } - -}); - - -</script> - diff --git a/view/tpl/smarty3/profile-hide-friends.tpl b/view/tpl/smarty3/profile-hide-friends.tpl deleted file mode 100644 index 6e3d395d0..000000000 --- a/view/tpl/smarty3/profile-hide-friends.tpl +++ /dev/null @@ -1,21 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<p id="hide-friends-text"> -{{$desc}} -</p> - - <div id="hide-friends-yes-wrapper"> - <label id="hide-friends-yes-label" for="hide-friends-yes">{{$yes_str}}</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_str}}</label> - <input type="radio" name="hide-friends" id="hide-friends-no" {{$no_selected}} value="0" /> - - <div id="hide-friends-end"></div> - </div> diff --git a/view/tpl/smarty3/profile-hide-wall.tpl b/view/tpl/smarty3/profile-hide-wall.tpl deleted file mode 100644 index 755908d17..000000000 --- a/view/tpl/smarty3/profile-hide-wall.tpl +++ /dev/null @@ -1,21 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<p id="hide-wall-text"> -{{$desc}} -</p> - - <div id="hide-wall-yes-wrapper"> - <label id="hide-wall-yes-label" for="hide-wall-yes">{{$yes_str}}</label> - <input type="radio" name="hidewall" id="hide-wall-yes" {{$yes_selected}} value="1" /> - - <div id="hide-wall-break" ></div> - </div> - <div id="hide-wall-no-wrapper"> - <label id="hide-wall-no-label" for="hide-wall-no">{{$no_str}}</label> - <input type="radio" name="hidewall" id="hide-wall-no" {{$no_selected}} value="0" /> - - <div id="hide-wall-end"></div> - </div> diff --git a/view/tpl/smarty3/profile-in-directory.tpl b/view/tpl/smarty3/profile-in-directory.tpl deleted file mode 100644 index 0efd1bf5c..000000000 --- a/view/tpl/smarty3/profile-in-directory.tpl +++ /dev/null @@ -1,21 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<p id="profile-in-directory"> -{{$desc}} -</p> - - <div id="profile-in-dir-yes-wrapper"> - <label id="profile-in-dir-yes-label" for="profile-in-dir-yes">{{$yes_str}}</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_str}}</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> diff --git a/view/tpl/smarty3/profile-in-netdir.tpl b/view/tpl/smarty3/profile-in-netdir.tpl deleted file mode 100644 index b9cb456ea..000000000 --- a/view/tpl/smarty3/profile-in-netdir.tpl +++ /dev/null @@ -1,21 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<p id="profile-in-directory"> -{{$desc}} -</p> - - <div id="profile-in-netdir-yes-wrapper"> - <label id="profile-in-netdir-yes-label" for="profile-in-netdir-yes">{{$yes_str}}</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_str}}</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> diff --git a/view/tpl/smarty3/profile_advanced.tpl b/view/tpl/smarty3/profile_advanced.tpl deleted file mode 100644 index f8743c011..000000000 --- a/view/tpl/smarty3/profile_advanced.tpl +++ /dev/null @@ -1,175 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h2>{{$title}}</h2> - -<dl id="aprofile-fullname" class="aprofile"> - <dt>{{$profile.fullname.0}}</dt> - <dd>{{$profile.fullname.1}}</dd> -</dl> - -{{if $profile.gender}} -<dl id="aprofile-gender" class="aprofile"> - <dt>{{$profile.gender.0}}</dt> - <dd>{{$profile.gender.1}}</dd> -</dl> -{{/if}} - -{{if $profile.birthday}} -<dl id="aprofile-birthday" class="aprofile"> - <dt>{{$profile.birthday.0}}</dt> - <dd>{{$profile.birthday.1}}</dd> -</dl> -{{/if}} - -{{if $profile.age}} -<dl id="aprofile-age" class="aprofile"> - <dt>{{$profile.age.0}}</dt> - <dd>{{$profile.age.1}}</dd> -</dl> -{{/if}} - -{{if $profile.marital}} -<dl id="aprofile-marital" class="aprofile"> - <dt><span class="heart">♥</span> {{$profile.marital.0}}</dt> - <dd>{{$profile.marital.1}}{{if $profile.marital.with}} ({{$profile.marital.with}}){{/if}}{{if $profile.howlong}} {{$profile.howlong}}{{/if}}</dd> -</dl> -{{/if}} - -{{if $profile.sexual}} -<dl id="aprofile-sexual" class="aprofile"> - <dt>{{$profile.sexual.0}}</dt> - <dd>{{$profile.sexual.1}}</dd> -</dl> -{{/if}} - -{{if $profile.keywords}} -<dl id="aprofile-tags" class="aprofile"> - <dt>{{$profile.keywords.0}}</dt> - <dd>{{$profile.keywords.1}}</dd> -</dl> -{{/if}} - -{{if $profile.homepage}} -<dl id="aprofile-homepage" class="aprofile"> - <dt>{{$profile.homepage.0}}</dt> - <dd>{{$profile.homepage.1}}</dd> -</dl> -{{/if}} - -{{if $profile.hometown}} -<dl id="aprofile-hometown" class="aprofile"> - <dt>{{$profile.hometown.0}}</dt> - <dd>{{$profile.hometown.1}}</dd> -</dl> -{{/if}} - -{{if $profile.politic}} -<dl id="aprofile-politic" class="aprofile"> - <dt>{{$profile.politic.0}}</dt> - <dd>{{$profile.politic.1}}</dd> -</dl> -{{/if}} - -{{if $profile.religion}} -<dl id="aprofile-religion" class="aprofile"> - <dt>{{$profile.religion.0}}</dt> - <dd>{{$profile.religion.1}}</dd> -</dl> -{{/if}} - -{{if $profile.about}} -<dl id="aprofile-about" class="aprofile"> - <dt>{{$profile.about.0}}</dt> - <dd>{{$profile.about.1}}</dd> -</dl> -{{/if}} - -{{if $profile.interest}} -<dl id="aprofile-interest" class="aprofile"> - <dt>{{$profile.interest.0}}</dt> - <dd>{{$profile.interest.1}}</dd> -</dl> -{{/if}} - -{{if $profile.likes}} -<dl id="aprofile-likes" class="aprofile"> - <dt>{{$profile.likes.0}}</dt> - <dd>{{$profile.likes.1}}</dd> -</dl> -{{/if}} - -{{if $profile.dislikes}} -<dl id="aprofile-dislikes" class="aprofile"> - <dt>{{$profile.dislikes.0}}</dt> - <dd>{{$profile.dislikes.1}}</dd> -</dl> -{{/if}} - -{{if $profile.contact}} -<dl id="aprofile-contact" class="aprofile"> - <dt>{{$profile.contact.0}}</dt> - <dd>{{$profile.contact.1}}</dd> -</dl> -{{/if}} - - -{{if $profile.music}} -<dl id="aprofile-music" class="aprofile"> - <dt>{{$profile.music.0}}</dt> - <dd>{{$profile.music.1}}</dd> -</dl> -{{/if}} - - -{{if $profile.book}} -<dl id="aprofile-book" class="aprofile"> - <dt>{{$profile.book.0}}</dt> - <dd>{{$profile.book.1}}</dd> -</dl> -{{/if}} - - -{{if $profile.tv}} -<dl id="aprofile-tv" class="aprofile"> - <dt>{{$profile.tv.0}}</dt> - <dd>{{$profile.tv.1}}</dd> -</dl> -{{/if}} - - -{{if $profile.film}} -<dl id="aprofile-film" class="aprofile"> - <dt>{{$profile.film.0}}</dt> - <dd>{{$profile.film.1}}</dd> -</dl> -{{/if}} - - -{{if $profile.romance}} -<dl id="aprofile-romance" class="aprofile"> - <dt>{{$profile.romance.0}}</dt> - <dd>{{$profile.romance.1}}</dd> -</dl> -{{/if}} - - -{{if $profile.work}} -<dl id="aprofile-work" class="aprofile"> - <dt>{{$profile.work.0}}</dt> - <dd>{{$profile.work.1}}</dd> -</dl> -{{/if}} - -{{if $profile.education}} -<dl id="aprofile-education" class="aprofile"> - <dt>{{$profile.education.0}}</dt> - <dd>{{$profile.education.1}}</dd> -</dl> -{{/if}} - - - - diff --git a/view/tpl/smarty3/profile_edit.tpl b/view/tpl/smarty3/profile_edit.tpl deleted file mode 100644 index 3a2652a68..000000000 --- a/view/tpl/smarty3/profile_edit.tpl +++ /dev/null @@ -1,316 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -{{$default}} - -<h1>{{$banner}}</h1> - -<div id="profile-edit-links"> -<ul> -<li><a href="profile_photo" id="profile-photo_upload-link" title="{{$profpic}}">{{$profpic}}</a></li> -<li><a href="profile/{{$profile_id}}/view?tab=profile" id="profile-edit-view-link" title="{{$viewprof}}">{{$viewprof}}</a></li> -<li><a href="{{$profile_clone_link}}" id="profile-edit-clone-link" title="{{$cr_prof}}">{{$cl_prof}}</a></li> -<li></li> -<li><a href="{{$profile_drop_link}}" id="profile-edit-drop-link" title="{{$del_prof}}" {{$disabled}} >{{$del_prof}}</a></li> - -</ul> -</div> - -<div id="profile-edit-links-end"></div> - - -<div id="profile-edit-wrapper" > -<form id="profile-edit-form" name="form1" action="profiles/{{$profile_id}}" method="post" > -<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - -<div id="profile-edit-profile-name-wrapper" > -<label id="profile-edit-profile-name-label" for="profile-edit-profile-name" >{{$lbl_profname}} </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" >{{$lbl_fullname}} </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" >{{$lbl_title}} </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" >{{$lbl_gender}} </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" >{{$lbl_bd}} </label> -<div id="profile-edit-dob" > -{{$dob}} {{$age}} -</div> -</div> -<div id="profile-edit-dob-end"></div> - -{{$hide_friends}} - -<div class="profile-edit-submit-wrapper" > -<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" /> -</div> -<div class="profile-edit-submit-end"></div> - - -<div id="profile-edit-address-wrapper" > -<label id="profile-edit-address-label" for="profile-edit-address" >{{$lbl_address}} </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" >{{$lbl_city}} </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" >{{$lbl_zip}} </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-region-wrapper" > -<label id="profile-edit-region-label" for="profile-edit-region" >{{$lbl_region}} </label> -<input type="text" size="32" name="region" id="profile-edit-region" value="{{$region}}" /> -</div> -<div id="profile-edit-region-end"></div> - -<div id="profile-edit-country-name-wrapper" > -<label id="profile-edit-country-name-label" for="profile-edit-country-name" >{{$lbl_country}} </label> -<input type="text" size="32" name="country_name" id="profile-edit-country-name" value="{{$country_name}}" /> -</div> -<div id="profile-edit-country-name-end"></div> - -<div id="profile-edit-hometown-wrapper" > -<label id="profile-edit-hometown-label" for="profile-edit-hometown" >{{$lbl_hometown}} </label> -<input type="text" size="32" name="hometown" id="profile-edit-hometown" value="{{$hometown}}" /> -</div> -<div id="profile-edit-hometown-end"></div> - -<div class="profile-edit-submit-wrapper" > -<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" /> -</div> -<div class="profile-edit-submit-end"></div> - -<div id="profile-edit-marital-wrapper" > -<label id="profile-edit-marital-label" for="profile-edit-marital" >{{$lbl_marital}} </label> -{{$marital}} -</div> -<label id="profile-edit-with-label" for="profile-edit-with" > {{$lbl_with}} </label> -<input type="text" size="32" name="with" id="profile-edit-with" title="{{$lbl_ex1}}" value="{{$with}}" /> -<label id="profile-edit-howlong-label" for="profile-edit-howlong" > {{$lbl_howlong}} </label> -<input type="text" size="32" name="howlong" id="profile-edit-howlong" title="{{$lbl_howlong}}" value="{{$howlong}}" /> - -<div id="profile-edit-marital-end"></div> - -<div id="profile-edit-sexual-wrapper" > -<label id="profile-edit-sexual-label" for="sexual-select" >{{$lbl_sexual}} </label> -{{$sexual}} -</div> -<div id="profile-edit-sexual-end"></div> - - - -<div id="profile-edit-homepage-wrapper" > -<label id="profile-edit-homepage-label" for="profile-edit-homepage" >{{$lbl_homepage}} </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" >{{$lbl_politic}} </label> -<input type="text" size="32" name="politic" id="profile-edit-politic" value="{{$politic}}" /> -</div> -<div id="profile-edit-politic-end"></div> - -<div id="profile-edit-religion-wrapper" > -<label id="profile-edit-religion-label" for="profile-edit-religion" >{{$lbl_religion}} </label> -<input type="text" size="32" name="religion" id="profile-edit-religion" value="{{$religion}}" /> -</div> -<div id="profile-edit-religion-end"></div> - -<div id="profile-edit-pubkeywords-wrapper" > -<label id="profile-edit-pubkeywords-label" for="profile-edit-pubkeywords" >{{$lbl_pubkey}} </label> -<input type="text" size="32" name="keywords" id="profile-edit-pubkeywords" title="{{$lbl_ex2}}" value="{{$keywords}}" /> -</div><div id="profile-edit-pubkeywords-desc">{{$lbl_pubdsc}}</div> -<div id="profile-edit-pubkeywords-end"></div> - -<div class="profile-edit-submit-wrapper" > -<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" /> -</div> -<div class="profile-edit-submit-end"></div> - -<div id="about-jot-wrapper" > -<p id="about-jot-desc" > -{{$lbl_about}} -</p> - -<textarea rows="10" cols="72" id="profile-about-text" name="about" >{{$about}}</textarea> - -</div> -<div id="about-jot-end"></div> - - -<div id="interest-jot-wrapper" > -<p id="interest-jot-desc" > -{{$lbl_hobbies}} -</p> - -<textarea rows="10" cols="72" id="interest-jot-text" name="interest" >{{$interest}}</textarea> - -</div> -<div id="interest-jot-end"></div> - - -<div id="likes-jot-wrapper" > -<p id="likes-jot-desc" > -{{$lbl_likes}} -</p> - -<textarea rows="10" cols="72" id="likes-jot-text" name="likes" >{{$likes}}</textarea> - -</div> -<div id="likes-jot-end"></div> - - -<div id="dislikes-jot-wrapper" > -<p id="dislikes-jot-desc" > -{{$lbl_dislikes}} -</p> - -<textarea rows="10" cols="72" id="dislikes-jot-text" name="dislikes" >{{$dislikes}}</textarea> - -</div> -<div id="dislikes-jot-end"></div> - - -<div id="contact-jot-wrapper" > -<p id="contact-jot-desc" > -{{$lbl_social}} -</p> - -<textarea rows="10" cols="72" id="contact-jot-text" name="contact" >{{$contact}}</textarea> - -</div> -<div id="contact-jot-end"></div> - - -<div class="profile-edit-submit-wrapper" > -<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" /> -</div> -<div class="profile-edit-submit-end"></div> - - -<div id="music-jot-wrapper" > -<p id="music-jot-desc" > -{{$lbl_music}} -</p> - -<textarea rows="10" cols="72" id="music-jot-text" name="music" >{{$music}}</textarea> - -</div> -<div id="music-jot-end"></div> - -<div id="book-jot-wrapper" > -<p id="book-jot-desc" > -{{$lbl_book}} -</p> - -<textarea rows="10" cols="72" id="book-jot-text" name="book" >{{$book}}</textarea> - -</div> -<div id="book-jot-end"></div> - - - -<div id="tv-jot-wrapper" > -<p id="tv-jot-desc" > -{{$lbl_tv}} -</p> - -<textarea rows="10" cols="72" id="tv-jot-text" name="tv" >{{$tv}}</textarea> - -</div> -<div id="tv-jot-end"></div> - - - -<div id="film-jot-wrapper" > -<p id="film-jot-desc" > -{{$lbl_film}} -</p> - -<textarea rows="10" cols="72" id="film-jot-text" name="film" >{{$film}}</textarea> - -</div> -<div id="film-jot-end"></div> - - -<div class="profile-edit-submit-wrapper" > -<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" /> -</div> -<div class="profile-edit-submit-end"></div> - - -<div id="romance-jot-wrapper" > -<p id="romance-jot-desc" > -{{$lbl_love}} -</p> - -<textarea rows="10" cols="72" id="romance-jot-text" name="romance" >{{$romance}}</textarea> - -</div> -<div id="romance-jot-end"></div> - - - -<div id="work-jot-wrapper" > -<p id="work-jot-desc" > -{{$lbl_work}} -</p> - -<textarea rows="10" cols="72" id="work-jot-text" name="work" >{{$work}}</textarea> - -</div> -<div id="work-jot-end"></div> - - - -<div id="education-jot-wrapper" > -<p id="education-jot-desc" > -{{$lbl_school}} -</p> - -<textarea rows="10" cols="72" id="education-jot-text" name="education" >{{$education}}</textarea> - -</div> -<div id="education-jot-end"></div> - - - -<div class="profile-edit-submit-wrapper" > -<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" /> -</div> -<div class="profile-edit-submit-end"></div> - - -</form> -</div> - diff --git a/view/tpl/smarty3/profile_edlink.tpl b/view/tpl/smarty3/profile_edlink.tpl deleted file mode 100644 index 9424bcc3d..000000000 --- a/view/tpl/smarty3/profile_edlink.tpl +++ /dev/null @@ -1,7 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="profile-edit-side-div"><a class="profile-edit-side-link icon edit" title="{{$editprofile}}" href="profiles/{{$profid}}" ></a></div> -<div class="clear"></div>
\ No newline at end of file diff --git a/view/tpl/smarty3/profile_entry.tpl b/view/tpl/smarty3/profile_entry.tpl deleted file mode 100644 index 4774fd11b..000000000 --- a/view/tpl/smarty3/profile_entry.tpl +++ /dev/null @@ -1,16 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<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="{{$alt}}" /></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> -<div class="profile-listing-visible">{{$visible}}</div> -</div> -<div class="profile-listing-end"></div> - diff --git a/view/tpl/smarty3/profile_listing_header.tpl b/view/tpl/smarty3/profile_listing_header.tpl deleted file mode 100644 index f77bdcc80..000000000 --- a/view/tpl/smarty3/profile_listing_header.tpl +++ /dev/null @@ -1,13 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$header}}</h1> -<p id="profile-listing-desc" class="button" > -<a href="profile_photo" >{{$chg_photo}}</a> -</p> -<div id="profile-listing-new-link-wrapper" class="button" > -<a href="{{$cr_new_link}}" id="profile-listing-new-link" title="{{$cr_new}}" >{{$cr_new}}</a> -</div> - diff --git a/view/tpl/smarty3/profile_photo.tpl b/view/tpl/smarty3/profile_photo.tpl deleted file mode 100644 index 8c4fbfafa..000000000 --- a/view/tpl/smarty3/profile_photo.tpl +++ /dev/null @@ -1,34 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$title}}</h1> - -<form enctype="multipart/form-data" action="profile_photo" method="post"> -<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - -<div id="profile-photo-upload-wrapper"> - -<label id="profile-photo-upload-label" class="form-label" for="profile-photo-upload">{{$lbl_upfile}}</label> -<input name="userfile" class="form-input" type="file" id="profile-photo-upload" size="48" /> -<div class="clear"></div> - -<label id="profile-photo-profiles-label" class="form-label" for="profile-photo-profiles">{{$lbl_profiles}}</label> -<select name="profile" id="profile-photo-profiles" class="form-input" > -{{foreach $profiles as $p}} -<option value="{{$p.id}}" {{if $p.is_default}}selected="selected"{{/if}}>{{$p.name}}</option> -{{/foreach}} -</select> -<div class="clear"></div> - -<div id="profile-photo-submit-wrapper"> -<input type="submit" name="submit" id="profile-photo-submit" value="{{$submit}}"> -</div> -</div> - -</form> - -<div id="profile-photo-link-select-wrapper"> -{{$select}} -</div>
\ No newline at end of file diff --git a/view/tpl/smarty3/profile_publish.tpl b/view/tpl/smarty3/profile_publish.tpl deleted file mode 100644 index 1dc9eb7fc..000000000 --- a/view/tpl/smarty3/profile_publish.tpl +++ /dev/null @@ -1,21 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<p id="profile-publish-desc-{{$instance}}"> -{{$pubdesc}} -</p> - - <div id="profile-publish-yes-wrapper-{{$instance}}"> - <label id="profile-publish-yes-label-{{$instance}}" for="profile-publish-yes-{{$instance}}">{{$str_yes}}</label> - <input type="radio" name="profile_publish_{{$instance}}" id="profile-publish-yes-{{$instance}}" {{$yes_selected}} value="1" /> - - <div id="profile-publish-break-{{$instance}}" ></div> - </div> - <div id="profile-publish-no-wrapper-{{$instance}}"> - <label id="profile-publish-no-label-{{$instance}}" for="profile-publish-no-{{$instance}}">{{$str_no}}</label> - <input type="radio" name="profile_publish_{{$instance}}" id="profile-publish-no-{{$instance}}" {{$no_selected}} value="0" /> - - <div id="profile-publish-end-{{$instance}}"></div> - </div> diff --git a/view/tpl/smarty3/profile_vcard.tpl b/view/tpl/smarty3/profile_vcard.tpl deleted file mode 100644 index 422b43720..000000000 --- a/view/tpl/smarty3/profile_vcard.tpl +++ /dev/null @@ -1,57 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="vcard"> - - {{if $profile.edit}} - <div class="action"> - <a class="profile-edit-side-link icon edit" rel="#profiles-menu" title="{{$profile.edit.3}}" href="#" ><span>{{$profile.edit.1}}</span></a> - <ul id="profiles-menu" class="menu-popup"> - {{foreach $profile.menu.entries as $e}} - <li> - <a href="profiles/{{$e.id}}"><img src='{{$e.photo}}'>{{$e.profile_name}}</a> - </li> - {{/foreach}} - <li><a href="profile_photo" >{{$profile.menu.chg_photo}}</a></li> - <li><a href="profiles/new" id="profile-listing-new-link">{{$profile.menu.cr_new}}</a></li> - - </ul> - </div> - {{/if}} - - <div class="fn label">{{$profile.name}}</div> - - {{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}} - <div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></div> - - - - {{if $location}} - <dl class="location"><dt class="location-label">{{$location}}</dt> - <dd class="adr"> - {{if $profile.address}}<div class="street-address">{{$profile.address}}</div>{{/if}} - <span class="city-state-zip"> - <span class="locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}} - <span class="region">{{$profile.region}}</span> - <span class="postal-code">{{$profile.postal_code}}</span> - </span> - {{if $profile.country_name}}<span class="country-name">{{$profile.country_name}}</span>{{/if}} - </dd> - </dl> - {{/if}} - - {{if $gender}}<dl class="mf"><dt class="gender-label">{{$gender}}</dt> <dd class="x-gender">{{$profile.gender}}</dd></dl>{{/if}} - - - {{if $marital}}<dl class="marital"><dt class="marital-label"><span class="heart">♥</span>{{$marital}}</dt><dd class="marital-text">{{$profile.marital}}</dd></dl>{{/if}} - - {{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a href="{{$profile.homepage}}" >{{$profile.homepage}}</a></dd></dl>{{/if}} - - -</div> -<div id="vcard-end"></div> -{{$contact_block}} - - diff --git a/view/tpl/smarty3/prv_message.tpl b/view/tpl/smarty3/prv_message.tpl deleted file mode 100644 index 1f41d2662..000000000 --- a/view/tpl/smarty3/prv_message.tpl +++ /dev/null @@ -1,44 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<h3>{{$header}}</h3> - -<div id="prvmail-wrapper" > -<form id="prvmail-form" action="message" method="post" > - -{{$parent}} - -<div id="prvmail-to-label">{{$to}}</div> - -{{if $showinputs}} -<input type="text" id="recip" name="messagerecip" value="{{$prefill}}" maxlength="255" size="64" tabindex="10" /> -<input type="hidden" id="recip-complete" name="messageto" value="{{$preid}}"> -{{else}} -{{$select}} -{{/if}} - -<div id="prvmail-subject-label">{{$subject}}</div> -<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$subjtxt}}" {{$readonly}} tabindex="11" /> - -<div id="prvmail-message-label">{{$yourmessage}}</div> -<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$text}}</textarea> - - -<div id="prvmail-submit-wrapper" > - <input type="submit" id="prvmail-submit" name="submit" value="{{$submit}}" tabindex="13" /> - <div id="prvmail-upload-wrapper" > - <div id="prvmail-upload" class="icon border camera" title="{{$upload}}" ></div> - </div> - <div id="prvmail-link-wrapper" > - <div id="prvmail-link" class="icon border link" title="{{$insert}}" onclick="jotGetLink();" ></div> - </div> - <div id="prvmail-rotator-wrapper" > - <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" /> - </div> -</div> -<div id="prvmail-end"></div> -</form> -</div> diff --git a/view/tpl/smarty3/pwdreset.tpl b/view/tpl/smarty3/pwdreset.tpl deleted file mode 100644 index e86e1227f..000000000 --- a/view/tpl/smarty3/pwdreset.tpl +++ /dev/null @@ -1,22 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h3>{{$lbl1}}</h3> - -<p> -{{$lbl2}} -</p> -<p> -{{$lbl3}} -</p> -<p> -{{$newpass}} -</p> -<p> -{{$lbl4}} {{$lbl5}} -</p> -<p> -{{$lbl6}} -</p> diff --git a/view/tpl/smarty3/register.tpl b/view/tpl/smarty3/register.tpl deleted file mode 100644 index 98d888f08..000000000 --- a/view/tpl/smarty3/register.tpl +++ /dev/null @@ -1,50 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h2>{{$title}}</h2> - -<form action="register" method="post" id="register-form"> - -{{if $registertext}} -<div id="register-desc" class="descriptive-paragraph">{{$registertext}}</div> -{{/if}} - -{{if $invitations}} - <p id="register-invite-desc">{{$invite_desc}}</p> - - <label for="register-invite" id="label-register-invite" class="register-label">{{$label_invite}}</label> - <input type="text" maxlength="72" size="32" name="invite_code" id="register-invite" class="register-input" value="{{$invite_code}}" /> - <div id="register-invite-feedback" class="register-feedback"></div> - <div id="register-invite-end" class="register-field-end"></div> -{{/if}} - - <label for="register-email" id="label-register-email" class="register-label" >{{$label_email}}</label> - <input type="text" maxlength="72" size="32" name="email" id="register-email" class="register-input" value="{{$email}}" /> - <div id="register-email-feedback" class="register-feedback"></div> - <div id="register-email-end" class="register-field-end"></div> - - <label for="register-password" id="label-register-password" class="register-label" >{{$label_pass1}}</label> - <input type="password" maxlength="72" size="32" name="password" id="register-password" class="register-input" value="{{$pass1}}" /> - <div id="register-password-feedback" class="register-feedback"></div> - <div id="register-password-end" class="register-field-end"></div> - - <label for="register-password2" id="label-register-password2" class="register-label" >{{$label_pass2}}</label> - <input type="password" maxlength="72" size="32" name="password2" id="register-password2" class="register-input" value="{{$pass2}}" /> - <div id="register-password2-feedback" class="register-feedback"></div> - <div id="register-password2-end" class="register-field-end"></div> - - {{if $enable_tos}} - <input type="checkbox" name="tos" id="register-tos" value="1" /> - <label for="register-tos" id="label-register-tos">{{$label_tos}}</label> - <div id="register-tos-feedback" class="register-feedback"></div> - <div id="register-tos-end" class="register-field-end"></div> - {{else}} - <input type="hidden" name="tos" value="1" /> - {{/if}} - - <input type="submit" name="submit" id="register-submit-button" value="{{$submit}}" /> - <div id="register-submit-end" class="register-field-end"></div> - -</form> diff --git a/view/tpl/smarty3/remote_friends_common.tpl b/view/tpl/smarty3/remote_friends_common.tpl deleted file mode 100644 index 8416b053a..000000000 --- a/view/tpl/smarty3/remote_friends_common.tpl +++ /dev/null @@ -1,26 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="remote-friends-in-common" class="bigwidget"> - <div id="rfic-desc">{{$desc}} {{if $linkmore}}<a href="{{$base}}/common/{{$uid}}">{{$more}}</a>{{/if}}</div> - {{if $items}} - {{foreach $items as $item}} - <div class="profile-match-wrapper"> - <div class="profile-match-photo"> - <a href="{{$base}}/chanview?f=&url={{$item.xchan_url}}"> - <img src="{{$item.xchan_photo_m}}" width="80" height="80" alt="{{$item.xchan_name}}" title="{{$item.xchan_name}}" /> - </a> - </div> - <div class="profile-match-break"></div> - <div class="profile-match-name"> - <a href="{{$base}}/chanview?f=&url={{$item.xchan_url}}" title="{{$item.xchan_name}}">{{$item.xchan_name}}</a> - </div> - <div class="profile-match-end"></div> - </div> - {{/foreach}} - {{/if}} - <div id="rfic-end" class="clear"></div> -</div> - diff --git a/view/tpl/smarty3/removeme.tpl b/view/tpl/smarty3/removeme.tpl deleted file mode 100644 index 3fe12a223..000000000 --- a/view/tpl/smarty3/removeme.tpl +++ /dev/null @@ -1,25 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$title}}</h1> - -<div id="remove-account-wrapper"> - -<div id="remove-account-desc">{{$desc}}</div> - -<form action="{{$basedir}}/removeme" autocomplete="off" method="post" > -<input type="hidden" name="verify" value="{{$hash}}" /> - -<div id="remove-account-pass-wrapper"> -<label id="remove-account-pass-label" for="remove-account-pass">{{$passwd}}</label> -<input type="password" id="remove-account-pass" name="qxz_password" /> -</div> -<div id="remove-account-pass-end"></div> - -<input type="submit" name="submit" value="{{$submit}}" /> - -</form> -</div> - diff --git a/view/tpl/smarty3/rmagic.tpl b/view/tpl/smarty3/rmagic.tpl deleted file mode 100644 index 7e4e563d9..000000000 --- a/view/tpl/smarty3/rmagic.tpl +++ /dev/null @@ -1,16 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h3>{{$title}}</h3> - -<form action="rmagic" method="post" > - - <label for="rmagic-address" id="label-rmagic-address" class="rmagic-label">{{$desc}}</label> - <input type="text" maxlength="255" size="32" name="address" id="rmagic-address" class="rmagic-input" value="" /> - - <input type="submit" name="submit" id="rmagic-submit-button" value="{{$submit}}" /> - <div id="rmagic-submit-end" class="rmagic-field-end"></div> - -</form> diff --git a/view/tpl/smarty3/saved_searches_aside.tpl b/view/tpl/smarty3/saved_searches_aside.tpl deleted file mode 100644 index 034d1f6db..000000000 --- a/view/tpl/smarty3/saved_searches_aside.tpl +++ /dev/null @@ -1,19 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="widget" id="saved-search-list"> - <h3 id="search">{{$title}}</h3> - {{$searchbox}} - - <ul id="saved-search-ul"> - {{foreach $saved as $search}} - <li class="saved-search-li clear"> - <a title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" class="iconspacer savedsearchdrop " href="network/?f=&remove=1&search={{$search.encodedterm}}"></a> - <a id="saved-search-term-{{$search.id}}" class="savedsearchterm" href="network/?f=&search={{$search.encodedterm}}">{{$search.displayterm}}</a> - </li> - {{/foreach}} - </ul> - <div class="clear"></div> -</div> diff --git a/view/tpl/smarty3/search_item.tpl b/view/tpl/smarty3/search_item.tpl deleted file mode 100644 index c889e227b..000000000 --- a/view/tpl/smarty3/search_item.tpl +++ /dev/null @@ -1,68 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div id="thread-wrapper-{{$item.id}}" class="thread-wrapper {{$item.toplevel}}"> -<a name="{{$item.id}}" ></a> -<div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}}" id="wall-item-outside-wrapper-{{$item.id}}" > - <div class="wall-item-content-wrapper {{$item.indent}}{{$item.previewing}}" id="wall-item-content-wrapper-{{$item.id}}" > - <div class="wall-item-info" id="wall-item-info-{{$item.id}}"> - <div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-{{$item.id}}" - onmouseover="if (typeof t{{$item.id}} != 'undefined') clearTimeout(t{{$item.id}}); openMenu('wall-item-photo-menu-button-{{$item.id}}')" - onmouseout="t{{$item.id}}=setTimeout('closeMenu(\'wall-item-photo-menu-button-{{$item.id}}\'); closeMenu(\'wall-item-photo-menu-{{$item.id}}\');',200)"> - <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}"> - <img src="{{$item.thumb}}" class="wall-item-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.name}}" /></a> - <span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span> - <div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}"> - <ul> - {{$item.item_photo_menu}} - </ul> - </div> - </div> - <div class="wall-item-photo-end"></div> - <div class="wall-item-wrapper" id="wall-item-wrapper-{{$item.id}}" > - {{if $item.lock}}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" /></div> - {{else}}<div class="wall-item-lock"></div>{{/if}} - <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div> - </div> - </div> - <div class="wall-item-author"> - <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span></a> - - <div id="wall-item-ago-{{$item.id}}" class="wall-item-ago"><abbr class="wall-item-ago-time" title="{{$item.localtime}}">{{$item.ago}}</abbr>{{if $item.app}}<span class="item.app">{{$item.str_app}}</span>{{/if}}</div> - - </div> - <div class="wall-item-content" id="wall-item-content-{{$item.id}}" > - <div class="wall-item-title" id="wall-item-title-{{$item.id}}">{{$item.title}}</div> - <div class="wall-item-title-end"></div> - <div class="wall-item-body" id="wall-item-body-{{$item.id}}" >{{$item.body}} - <div class="body-tag"> - {{foreach $item.tags as $tag}} - <span class='tag'>{{$tag}}</span> - {{/foreach}} - </div> - </div> - </div> - <div class="wall-item-tools" id="wall-item-tools-{{$item.id}}"> - <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" > - {{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{/if}} - </div> - {{if $item.drop.pagedropping}}<input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}} - <div class="wall-item-delete-end"></div> - </div> - </div> - <div class="wall-item-wrapper-end"></div> - - - <div class="wall-item-conv" id="wall-item-conv-{{$item.id}}" > - {{if $item.conv}} - <a href='{{$item.conv.href}}' id='context-{{$item.id}}' title='{{$item.conv.title}}'>{{$item.conv.title}}</a> - {{/if}} - </div> - -<div class="wall-item-outside-wrapper-end {{$item.indent}}" ></div> - -</div> -</div> - diff --git a/view/tpl/smarty3/settings.tpl b/view/tpl/smarty3/settings.tpl deleted file mode 100644 index 251fa9be4..000000000 --- a/view/tpl/smarty3/settings.tpl +++ /dev/null @@ -1,119 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$ptitle}}</h1> - -{{$nickname_block}} - -<form action="settings" id="settings-form" method="post" autocomplete="off" > -<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - -<h3 class="settings-heading">{{$h_basic}}</h3> - -{{include file="field_input.tpl" field=$username}} -{{include file="field_custom.tpl" field=$timezone}} -{{include file="field_input.tpl" field=$defloc}} -{{include file="field_checkbox.tpl" field=$allowloc}} - - -<div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> -</div> - - -<h3 class="settings-heading">{{$h_prv}}</h3> - - -<div id="settings-permissions-wrapper"> -{{foreach $permiss_arr as $permit}} -{{include file="field_select.tpl" field=$permit}} -{{/foreach}} -</div> - - -<div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> -</div> - - -{{$profile_in_dir}} - -{{$suggestme}} - -{{include file="field_input.tpl" field=$maxreq}} - -{{include file="field_input.tpl" field=$cntunkmail}} - -{{include file="field_input.tpl" field=$expire.days}} - - -<div class="field input"> - <span class="field_help"><a href="#advanced-expire-popup" id="advanced-expire" class='popupbox' title="{{$expire.advanced}}">{{$expire.label}}</a></span> - <div style="display: none;"> - <div id="advanced-expire-popup" style="width:auto;height:auto;overflow:auto;"> - <h3>{{$expire.advanced}}</h3> - {{include file="field_yesno.tpl" field=$expire.items}} - {{include file="field_yesno.tpl" field=$expire.starred}} - {{include file="field_yesno.tpl" field=$expire.network_only}} - </div> - </div> - -</div> - -<div id="settings-default-perms" class="settings-default-perms" > - <a href="#profile-jot-acl-wrapper" id="settings-default-perms-menu" class='popupbox'>{{$permissions}} {{$permdesc}}</a> - <div id="settings-default-perms-menu-end"></div> - - <div id="settings-default-perms-select" style="display: none; margin-bottom: 20px" > - - <div style="display: none;"> - <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;"> - {{$aclselect}} - </div> - </div> - - </div> -</div> -<br/> -<div id="settings-default-perms-end"></div> - -{{$group_select}} - - -<div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> -</div> - - - -<h3 class="settings-heading">{{$h_not}}</h3> -<div id="settings-notifications"> - -<div id="settings-activity-desc">{{$activity_options}}</div> - -{{include file="field_checkbox.tpl" field=$post_newfriend}} -{{include file="field_checkbox.tpl" field=$post_joingroup}} -{{include file="field_checkbox.tpl" field=$post_profilechange}} - - -<div id="settings-notify-desc">{{$lbl_not}}</div> - -<div class="group"> -{{include file="field_intcheckbox.tpl" field=$notify1}} -{{include file="field_intcheckbox.tpl" field=$notify2}} -{{include file="field_intcheckbox.tpl" field=$notify3}} -{{include file="field_intcheckbox.tpl" field=$notify4}} -{{include file="field_intcheckbox.tpl" field=$notify5}} -{{include file="field_intcheckbox.tpl" field=$notify6}} -{{include file="field_intcheckbox.tpl" field=$notify7}} -{{include file="field_intcheckbox.tpl" field=$notify8}} -</div> - -</div> - -<div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> -</div> - diff --git a/view/tpl/smarty3/settings_account.tpl b/view/tpl/smarty3/settings_account.tpl deleted file mode 100644 index a12283ff2..000000000 --- a/view/tpl/smarty3/settings_account.tpl +++ /dev/null @@ -1,33 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$title}}</h1> - - -<div id="settings-remove-account-link"> -<a href="removeme" title="{{$permanent}}" >{{$removeme}}</a> -</div> - - -<form action="settings/account" id="settings-account-form" method="post" autocomplete="off" > -<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - -{{include file="field_input.tpl" field=$email}} - - -<h3 class="settings-heading">{{$h_pass}}</h3> - -{{include file="field_password.tpl" field=$password1}} -{{include file="field_password.tpl" field=$password2}} - - -<div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> -</div> - -{{$account_settings}} - - - diff --git a/view/tpl/smarty3/settings_addons.tpl b/view/tpl/smarty3/settings_addons.tpl deleted file mode 100644 index b8613bec6..000000000 --- a/view/tpl/smarty3/settings_addons.tpl +++ /dev/null @@ -1,15 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$title}}</h1> - - -<form action="settings/featured" method="post" autocomplete="off"> -<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - -{{$settings_addons}} - -</form> - diff --git a/view/tpl/smarty3/settings_connectors.tpl b/view/tpl/smarty3/settings_connectors.tpl deleted file mode 100644 index 5df839411..000000000 --- a/view/tpl/smarty3/settings_connectors.tpl +++ /dev/null @@ -1,14 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$title}}</h1> - -<form action="settings/connectors" method="post" autocomplete="off"> -<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - -{{$settings_connectors}} - -</form> - diff --git a/view/tpl/smarty3/settings_display.tpl b/view/tpl/smarty3/settings_display.tpl deleted file mode 100644 index 3558e5cc9..000000000 --- a/view/tpl/smarty3/settings_display.tpl +++ /dev/null @@ -1,27 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$ptitle}}</h1> - -<form action="settings/display" id="settings-form" method="post" autocomplete="off" > -<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - -{{include file="field_themeselect.tpl" field=$theme}} -{{include file="field_themeselect.tpl" field=$mobile_theme}} -{{include file="field_input.tpl" field=$ajaxint}} -{{include file="field_input.tpl" field=$itemspage}} -{{include file="field_checkbox.tpl" field=$nosmile}} - - -<div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> -</div> - -{{if $theme_config}} -<h2>Theme settings</h2> -{{$theme_config}} -{{/if}} - -</form> diff --git a/view/tpl/smarty3/settings_features.tpl b/view/tpl/smarty3/settings_features.tpl deleted file mode 100644 index 797d3da2c..000000000 --- a/view/tpl/smarty3/settings_features.tpl +++ /dev/null @@ -1,25 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$title}}</h1> - - -<form action="settings/features" method="post" autocomplete="off"> -<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - -{{foreach $features as $f}} -<h3 class="settings-heading">{{$f.0}}</h3> - -{{foreach $f.1 as $fcat}} - {{include file="{{$field_yesno}}" field=$fcat}} -{{/foreach}} -{{/foreach}} - -<div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-features-submit" value="{{$submit}}" /> -</div> - -</form> - diff --git a/view/tpl/smarty3/settings_nick_set.tpl b/view/tpl/smarty3/settings_nick_set.tpl deleted file mode 100644 index fb886695e..000000000 --- a/view/tpl/smarty3/settings_nick_set.tpl +++ /dev/null @@ -1,10 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<div id="settings-nick-wrapper" > -<div id="settings-nickname-desc" class="info-message">{{$desc}} <strong>'{{$nickname}}@{{$basepath}}'</strong>{{$subdir}}</div> -</div> -<div id="settings-nick-end" ></div> diff --git a/view/tpl/smarty3/settings_nick_subdir.tpl b/view/tpl/smarty3/settings_nick_subdir.tpl deleted file mode 100644 index 874185db5..000000000 --- a/view/tpl/smarty3/settings_nick_subdir.tpl +++ /dev/null @@ -1,11 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<p> -It appears that your website is located in a subdirectory of the<br /> -{{$hostname}} website, so this setting may not work reliably.<br /> -</p> -<p>If you have any issues, you may have better results using the profile<br /> address '<strong>{{$baseurl}}/profile/{{$nickname}}</strong>'. -</p>
\ No newline at end of file diff --git a/view/tpl/smarty3/settings_oauth.tpl b/view/tpl/smarty3/settings_oauth.tpl deleted file mode 100644 index feab78210..000000000 --- a/view/tpl/smarty3/settings_oauth.tpl +++ /dev/null @@ -1,36 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$title}}</h1> - - -<form action="settings/oauth" method="post" autocomplete="off"> -<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - - <div id="profile-edit-links"> - <ul> - <li> - <a id="profile-edit-view-link" href="{{$baseurl}}/settings/oauth/add">{{$add}}</a> - </li> - </ul> - </div> - - {{foreach $apps as $app}} - <div class='oauthapp'> - <img src='{{$app.icon}}' class="{{if $app.icon}} {{else}}noicon{{/if}}"> - {{if $app.name}}<h4>{{$app.name}}</h4>{{else}}<h4>{{$noname}}</h4>{{/if}} - {{if $app.my}} - {{if $app.oauth_token}} - <div class="settings-submit-wrapper" ><button class="settings-submit" type="submit" name="remove" value="{{$app.oauth_token}}">{{$remove}}</button></div> - {{/if}} - {{/if}} - {{if $app.my}} - <a href="{{$baseurl}}/settings/oauth/edit/{{$app.client_id}}" class="icon s22 edit" title="{{$edit}}"> </a> - <a href="{{$baseurl}}/settings/oauth/delete/{{$app.client_id}}?t={{$form_security_token}}" class="icon s22 delete" title="{{$delete}}"> </a> - {{/if}} - </div> - {{/foreach}} - -</form> diff --git a/view/tpl/smarty3/settings_oauth_edit.tpl b/view/tpl/smarty3/settings_oauth_edit.tpl deleted file mode 100644 index e3960bf75..000000000 --- a/view/tpl/smarty3/settings_oauth_edit.tpl +++ /dev/null @@ -1,22 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h1>{{$title}}</h1> - -<form method="POST"> -<input type='hidden' name='form_security_token' value='{{$form_security_token}}'> - -{{include file="field_input.tpl" field=$name}} -{{include file="field_input.tpl" field=$key}} -{{include file="field_input.tpl" field=$secret}} -{{include file="field_input.tpl" field=$redirect}} -{{include file="field_input.tpl" field=$icon}} - -<div class="settings-submit-wrapper" > -<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" /> -<input type="submit" name="cancel" class="settings-submit" value="{{$cancel}}" /> -</div> - -</form> diff --git a/view/tpl/smarty3/suggest_friends.tpl b/view/tpl/smarty3/suggest_friends.tpl deleted file mode 100644 index 060db0005..000000000 --- a/view/tpl/smarty3/suggest_friends.tpl +++ /dev/null @@ -1,21 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="profile-match-wrapper"> - <a href="{{$ignlnk}}" title="{{$ignore}}" class="icon drophide profile-match-ignore" onmouseout="imgdull(this);" onmouseover="imgbright(this);" onclick="return confirmDelete();" ></a> - <div class="profile-match-photo"> - <a href="{{$url}}"> - <img src="{{$photo}}" alt="{{$name}}" width="80" height="80" title="{{$name}} [{{$url}}]" /> - </a> - </div> - <div class="profile-match-break"></div> - <div class="profile-match-name"> - <a href="{{$url}}" title="{{$name}}">{{$name}}</a> - </div> - <div class="profile-match-end"></div> - {{if $connlnk}} - <div class="profile-match-connect"><a href="{{$connlnk}}" title="{{$conntxt}}">{{$conntxt}}</a></div> - {{/if}} -</div>
\ No newline at end of file diff --git a/view/tpl/smarty3/suggestions.tpl b/view/tpl/smarty3/suggestions.tpl deleted file mode 100644 index b4f0cbbe5..000000000 --- a/view/tpl/smarty3/suggestions.tpl +++ /dev/null @@ -1,26 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<div class="intro-wrapper" > - -<p class="intro-desc">{{$str_notifytype}} {{$notify_type}}</p> -<div class="intro-madeby">{{$madeby}}</div> -<div class="intro-fullname" >{{$fullname}}</div> -<a class="intro-url-link" href="{{$url}}" ><img class="intro-photo lframe" src="{{$photo}}" width="175" height=175" title="{{$fullname}}" alt="{{$fullname}}" /></a> -<div class="intro-note" >{{$note}}</div> -<div class="intro-wrapper-end"></div> -<form class="intro-form" action="notifications/{{$intro_id}}" method="post"> -<input class="intro-submit-ignore" type="submit" name="submit" value="{{$ignore}}" /> -<input class="intro-submit-discard" type="submit" name="submit" value="{{$discard}}" /> -</form> -<div class="intro-form-end"></div> - -<form class="intro-approve-form" action="{{$request}}" method="get"> -{{include file="field_checkbox.tpl" field=$hidden}} -<input class="intro-submit-approve" type="submit" name="submit" value="{{$approve}}" /> -</form> -</div> -<div class="intro-end"></div> diff --git a/view/tpl/smarty3/tag_slap.tpl b/view/tpl/smarty3/tag_slap.tpl deleted file mode 100644 index 5521b508d..000000000 --- a/view/tpl/smarty3/tag_slap.tpl +++ /dev/null @@ -1,35 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - <entry> - <author> - <name>{{$name}}</name> - <uri>{{$profile_page}}</uri> - <link rel="photo" type="image/jpeg" media:width="80" media:height="80" href="{{$thumb}}" /> - <link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="{{$thumb}}" /> - </author> - - <id>{{$item_id}}</id> - <title>{{$title}}</title> - <published>{{$published}}</published> - <content type="{{$type}}" >{{$content}}</content> - <link rel="mentioned" href="{{$accturi}}" /> - <as:actor> - <as:obj_type>http://activitystrea.ms/schema/1.0/person</as:obj_type> - <id>{{$profile_page}}</id> - <title></title> - <link rel="avatar" type="image/jpeg" media:width="175" media:height="175" href="{{$photo}}"/> - <link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="{{$thumb}}"/> - <poco:preferredUsername>{{$nick}}</poco:preferredUsername> - <poco:displayName>{{$name}}</poco:displayName> - </as:actor> - <as:verb>{{$verb}}</as:verb> - <as:object> - <as:obj_type></as:obj_type> - </as:object> - <as:target> - <as:obj_type></as:obj_type> - </as:target> - </entry> diff --git a/view/tpl/smarty3/threaded_conversation.tpl b/view/tpl/smarty3/threaded_conversation.tpl deleted file mode 100644 index a2885ddc3..000000000 --- a/view/tpl/smarty3/threaded_conversation.tpl +++ /dev/null @@ -1,18 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -{{foreach $threads as $thread_item}} -{{include file="{{$thread_item.template}}" item=$thread_item}} -{{/foreach}} - -<div id="conversation-end"></div> - -{{if $dropping}} -<div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems();"> - <div id="item-delete-selected-icon" class="icon drophide" title="{{$dropping}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div> - <div id="item-delete-selected-desc" >{{$dropping}}</div> -</div> -<div id="item-delete-selected-end"></div> -{{/if}} diff --git a/view/tpl/smarty3/toggle_mobile_footer.tpl b/view/tpl/smarty3/toggle_mobile_footer.tpl deleted file mode 100644 index 008d69663..000000000 --- a/view/tpl/smarty3/toggle_mobile_footer.tpl +++ /dev/null @@ -1,7 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<a id="toggle_mobile_link" href="{{$toggle_link}}">{{$toggle_text}}</a> - diff --git a/view/tpl/smarty3/viewcontact_template.tpl b/view/tpl/smarty3/viewcontact_template.tpl deleted file mode 100644 index a9837c7f9..000000000 --- a/view/tpl/smarty3/viewcontact_template.tpl +++ /dev/null @@ -1,14 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<h3>{{$title}}</h3> - -{{foreach $contacts as $contact}} - {{include file="contact_template.tpl"}} -{{/foreach}} - -<div id="view-contact-end"></div> - -{{$paginate}} diff --git a/view/tpl/smarty3/wall_item.tpl b/view/tpl/smarty3/wall_item.tpl deleted file mode 100644 index 1ab1fbff0..000000000 --- a/view/tpl/smarty3/wall_item.tpl +++ /dev/null @@ -1,84 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<a name="{{$item.id}}" ></a> -<div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}}" id="wall-item-outside-wrapper-{{$item.id}}" > - <div class="wall-item-content-wrapper {{$item.indent}}" id="wall-item-content-wrapper-{{$item.id}}" > - <div class="wall-item-info" id="wall-item-info-{{$item.id}}"> - <div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-{{$item.id}}" - onmouseover="if (typeof t{{$item.id}} != 'undefined') clearTimeout(t{{$item.id}}); openMenu('wall-item-photo-menu-button-{{$item.id}}')" - onmouseout="t{{$item.id}}=setTimeout('closeMenu(\'wall-item-photo-menu-button-{{$item.id}}\'); closeMenu(\'wall-item-photo-menu-{{$item.id}}\');',200)"> - <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}"> - <img src="{{$item.thumb}}" class="wall-item-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.name}}" /> - </a> - <span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span> - <div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}"> - <ul> - {{$item.item_photo_menu}} - </ul> - </div> - </div> - <div class="wall-item-photo-end"></div> - <div class="wall-item-wrapper" id="wall-item-wrapper-{{$item.id}}" > - {{if $item.lock}}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" /></div> - {{else}}<div class="wall-item-lock"></div>{{/if}} - <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div> - </div> - </div> - <div class="wall-item-author"> - <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span></a> - <div id="wall-item-ago-{{$item.id}}" class="wall-item-ago"><abbr class="wall-item-ago-time" title="{{$item.localtime}}">{{$item.ago}}</abbr>{{if $item.app}}<span class="item.app">{{$item.str_app}}</span>{{/if}}</div> - - </div> - <div class="wall-item-content" id="wall-item-content-{{$item.id}}" > - <div class="wall-item-title" id="wall-item-title-{{$item.id}}">{{$item.title}}</div> - <div class="wall-item-title-end"></div> - <div class="wall-item-body" id="wall-item-body-{{$item.id}}" >{{$item.body}} - <div class="body-tag"> - {{foreach $item.tags as $tag}} - <span class='tag'>{{$tag}}</span> - {{/foreach}} - </div> - </div> - </div> - <div class="wall-item-tools" id="wall-item-tools-{{$item.id}}"> - {{if $item.vote}} - <div class="wall-item-like-buttons" id="wall-item-like-buttons-{{$item.id}}"> - <a href="#" class="icon like" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></a> - <a href="#" class="icon dislike" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></a> - {{if $item.vote.share}}<a href="#" class="icon recycle wall-item-share-buttons" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"></a>{{/if}} - <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" /> - </div> - {{/if}} - {{if $item.plink}} - <div class="wall-item-links-wrapper"><a href="{{$item.plink.href}}" title="{{$item.plink.title}}" class="icon remote-link{{$item.sparkle}}"></a></div> - {{/if}} - {{if $item.edpost}} - <a class="editpost icon pencil" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a> - {{/if}} - - {{if $item.star}} - <a href="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="star-item icon {{$item.isstarred}}" title="{{$item.star.toggle}}"></a> - <a href="#" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="tag-item icon tagged" title="{{$item.star.tagger}}"></a> - {{/if}} - {{if $item.filer}} - <a href="#" id="filer-{{$item.id}}" onclick="itemFiler({{$item.id}}); return false;" class="filer-item filer-icon" title="{{$item.filer}}"></a> - {{/if}} - <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" > - {{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{/if}} - </div> - {{if $item.drop.pagedropping}}<input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}} - <div class="wall-item-delete-end"></div> - </div> - </div> - <div class="wall-item-wrapper-end"></div> - <div class="wall-item-like {{$item.indent}}" id="wall-item-like-{{$item.id}}">{{$item.like}}</div> - <div class="wall-item-dislike {{$item.indent}}" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div> - <div class="wall-item-comment-wrapper" > - {{$item.comment}} - </div> - -<div class="wall-item-outside-wrapper-end {{$item.indent}}" ></div> -</div> diff --git a/view/tpl/smarty3/wall_thread.tpl b/view/tpl/smarty3/wall_thread.tpl deleted file mode 100644 index cab43cfcf..000000000 --- a/view/tpl/smarty3/wall_thread.tpl +++ /dev/null @@ -1,125 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -{{if $item.comment_firstcollapsed}} - <div class="hide-comments-outer"> - <span id="hide-comments-total-{{$item.id}}" class="hide-comments-total">{{$item.num_comments}}</span> <span id="hide-comments-{{$item.id}}" class="hide-comments fakelink" onclick="showHideComments({{$item.id}});">{{$item.hide_text}}</span> - </div> - <div id="collapsed-comments-{{$item.id}}" class="collapsed-comments" style="display: none;"> -{{/if}} -<div id="thread-wrapper-{{$item.id}}" class="thread-wrapper {{$item.toplevel}}"> -<a name="{{$item.id}}" ></a> -<div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}}{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-outside-wrapper-{{$item.id}}" > - <div class="wall-item-content-wrapper {{$item.indent}}" id="wall-item-content-wrapper-{{$item.id}}" > - <div class="wall-item-info{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-info-{{$item.id}}"> - {{if $item.owner_url}} - <div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" > - <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-photo-link" id="wall-item-ownerphoto-link-{{$item.id}}"> - <img src="{{$item.owner_photo}}" class="wall-item-photo{{$item.osparkle}}" id="wall-item-ownerphoto-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.owner_name}}" /></a> - </div> - <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="{{$item.wall}}" /></div> - {{/if}} - <div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}}" id="wall-item-photo-wrapper-{{$item.id}}" - onmouseover="if (typeof t{{$item.id}} != 'undefined') clearTimeout(t{{$item.id}}); openMenu('wall-item-photo-menu-button-{{$item.id}}')" - onmouseout="t{{$item.id}}=setTimeout('closeMenu(\'wall-item-photo-menu-button-{{$item.id}}\'); closeMenu(\'wall-item-photo-menu-{{$item.id}}\');',200)"> - <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}"> - <img src="{{$item.thumb}}" class="wall-item-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.name}}" /></a> - <span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span> - <div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}"> - <ul> - {{$item.item_photo_menu}} - </ul> - </div> - - </div> - <div class="wall-item-photo-end"></div> - <div class="wall-item-wrapper" id="wall-item-wrapper-{{$item.id}}" > - {{if $item.lock}}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" /></div> - {{else}}<div class="wall-item-lock"></div>{{/if}} - <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div> - </div> - </div> - <div class="wall-item-author"> - <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span></a>{{if $item.owner_url}} {{$item.to}} <a href="{{$item.owner_url}}" target="redir" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span></a> {{$item.vwall}}{{/if}}<br /> - <div class="wall-item-ago" id="wall-item-ago-{{$item.id}}" title="{{$item.localtime}}">{{$item.ago}}</div> - </div> - <div class="wall-item-content" id="wall-item-content-{{$item.id}}" > - <div class="wall-item-title" id="wall-item-title-{{$item.id}}">{{$item.title}}</div> - <div class="wall-item-title-end"></div> - <div class="wall-item-body" id="wall-item-body-{{$item.id}}" >{{$item.body}} - <div class="body-tag"> - {{foreach $item.tags as $tag}} - <span class='tag'>{{$tag}}</span> - {{/foreach}} - </div> - {{if $item.has_cats}} - <div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}} - </div> - {{/if}} - - {{if $item.has_folders}} - <div class="filesavetags"><span>{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}} - </div> - {{/if}} - </div> - </div> - <div class="wall-item-tools" id="wall-item-tools-{{$item.id}}"> - {{if $item.vote}} - <div class="wall-item-like-buttons" id="wall-item-like-buttons-{{$item.id}}"> - <a href="#" class="icon like" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></a> - {{if $item.nolike}} - <a href="#" class="icon dislike" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></a> - {{/if}} - {{if $item.vote.share}}<a href="#" class="icon recycle wall-item-share-buttons" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"></a>{{/if}} - </div> - {{/if}} - {{if $item.plink}} - <div class="wall-item-links-wrapper"><a href="{{$item.plink.href}}" title="{{$item.plink.title}}" target="external-link" class="icon remote-link{{$item.sparkle}}"></a></div> - {{/if}} - {{if $item.edpost}} - <a class="editpost icon pencil" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a> - {{/if}} - - {{if $item.star}} - <a href="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="star-item icon {{$item.isstarred}}" title="{{$item.star.toggle}}"></a> - <a href="#" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="tag-item icon tagged" title="{{$item.star.tagger}}"></a> - {{/if}} - {{if $item.filer}} - <a href="#" id="filer-{{$item.id}}" onclick="itemFiler({{$item.id}}); return false;" class="filer-item filer-icon" title="{{$item.filer}}"></a> - {{/if}} - <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" /> - - <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" > - {{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{/if}} - </div> - {{if $item.drop.pagedrop}}<input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}} - <div class="wall-item-delete-end"></div> - </div> - </div> - <div class="wall-item-wrapper-end"></div> - <div class="wall-item-like {{$item.indent}}" id="wall-item-like-{{$item.id}}">{{$item.like}}</div> - <div class="wall-item-dislike {{$item.indent}}" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div> - - {{if $item.threaded}} - {{if $item.comment}} - <div class="wall-item-comment-wrapper {{$item.indent}}" > - {{$item.comment}} - </div> - {{/if}} - {{/if}} - -<div class="wall-item-outside-wrapper-end {{$item.indent}}" ></div> -</div> -{{foreach $item.children as $child}} - {{include file="{{$child.template}}" item=$child}} -{{/foreach}} - -{{if $item.flatten}} -<div class="wall-item-comment-wrapper" > - {{$item.comment}} -</div> -{{/if}} -</div> -{{if $item.comment_lastcollapsed}}</div>{{/if}} diff --git a/view/tpl/smarty3/wallmessage.tpl b/view/tpl/smarty3/wallmessage.tpl deleted file mode 100644 index 6eeabe9ed..000000000 --- a/view/tpl/smarty3/wallmessage.tpl +++ /dev/null @@ -1,37 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<h3>{{$header}}</h3> - -<h4>{{$subheader}}</h4> - -<div id="prvmail-wrapper" > -<form id="prvmail-form" action="wallmessage/{{$nickname}}" method="post" > - -{{$parent}} - -<div id="prvmail-to-label">{{$to}}</div> -{{$recipname}} - -<div id="prvmail-subject-label">{{$subject}}</div> -<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$subjtxt}}" {{$readonly}} tabindex="11" /> - -<div id="prvmail-message-label">{{$yourmessage}}</div> -<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$text}}</textarea> - - -<div id="prvmail-submit-wrapper" > - <input type="submit" id="prvmail-submit" name="submit" value="Submit" tabindex="13" /> - <div id="prvmail-link-wrapper" > - <div id="prvmail-link" class="icon border link" title="{{$insert}}" onclick="jotGetLink();" ></div> - </div> - <div id="prvmail-rotator-wrapper" > - <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" /> - </div> -</div> -<div id="prvmail-end"></div> -</form> -</div> diff --git a/view/tpl/smarty3/wallmsg-header.tpl b/view/tpl/smarty3/wallmsg-header.tpl deleted file mode 100644 index 1f5a1abc1..000000000 --- a/view/tpl/smarty3/wallmsg-header.tpl +++ /dev/null @@ -1,87 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} - -<script language="javascript" type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> -<script language="javascript" type="text/javascript"> - -var plaintext = '{{$editselect}}'; - -if(plaintext != 'none') { - tinyMCE.init({ - theme : "advanced", - mode : "specific_textareas", - editor_selector: /(profile-jot-text|prvmail-text)/, - plugins : "bbcode,paste", - theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor", - theme_advanced_buttons2 : "", - theme_advanced_buttons3 : "", - theme_advanced_toolbar_location : "top", - theme_advanced_toolbar_align : "center", - theme_advanced_blockformats : "blockquote,code", - gecko_spellcheck : true, - paste_text_sticky : true, - entity_encoding : "raw", - add_unload_trigger : false, - remove_linebreaks : false, - force_p_newlines : false, - force_br_newlines : true, - forced_root_block : '', - convert_urls: false, - content_css: "{{$baseurl}}/view/custom_tinymce.css", - //Character count - theme_advanced_path : false, - setup : function(ed) { - ed.onInit.add(function(ed) { - ed.pasteAsPlainText = true; - var editorId = ed.editorId; - var textarea = $('#'+editorId); - if (typeof(textarea.attr('tabindex')) != "undefined") { - $('#'+editorId+'_ifr').attr('tabindex', textarea.attr('tabindex')); - textarea.attr('tabindex', null); - } - }); - } - }); -} -else - $("#prvmail-text").contact_autocomplete(baseurl+"/acl"); - - -</script> -<script> - - function jotGetLink() { - reply = prompt("{{$linkurl}}"); - if(reply && reply.length) { - $('#profile-rotator').show(); - $.get('parse_url?url=' + reply, function(data) { - tinyMCE.execCommand('mceInsertRawHTML',false,data); - $('#profile-rotator').hide(); - }); - } - } - - function linkdropper(event) { - var linkFound = event.dataTransfer.types.contains("text/uri-list"); - if(linkFound) - event.preventDefault(); - } - - function linkdrop(event) { - var reply = event.dataTransfer.getData("text/uri-list"); - event.target.textContent = reply; - event.preventDefault(); - if(reply && reply.length) { - $('#profile-rotator').show(); - $.get('parse_url?url=' + reply, function(data) { - tinyMCE.execCommand('mceInsertRawHTML',false,data); - $('#profile-rotator').hide(); - }); - } - } - -</script> - diff --git a/view/tpl/smarty3/wallwall_item.tpl b/view/tpl/smarty3/wallwall_item.tpl deleted file mode 100644 index a7430e8da..000000000 --- a/view/tpl/smarty3/wallwall_item.tpl +++ /dev/null @@ -1,91 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<a name="{{$item.id}}" ></a> -<div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}} wallwall" id="wall-item-outside-wrapper-{{$item.id}}" > - <div class="wall-item-content-wrapper {{$item.indent}}" id="wall-item-content-wrapper-{{$item.id}}" > - <div class="wall-item-info wallwall" id="wall-item-info-{{$item.id}}"> - <div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" > - <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-photo-link" id="wall-item-ownerphoto-link-{{$item.id}}"> - <img src="{{$item.owner_photo}}" class="wall-item-photo{{$item.osparkle}}" id="wall-item-ownerphoto-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.owner_name}}" /></a> - </div> - <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="{{$item.wall}}" /></div> - <div class="wall-item-photo-wrapper wwfrom" id="wall-item-photo-wrapper-{{$item.id}}" - onmouseover="if (typeof t{{$item.id}} != 'undefined') clearTimeout(t{{$item.id}}); openMenu('wall-item-photo-menu-button-{{$item.id}}')" - onmouseout="t{{$item.id}}=setTimeout('closeMenu(\'wall-item-photo-menu-button-{{$item.id}}\'); closeMenu(\'wall-item-photo-menu-{{$item.id}}\');',200)"> - <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}"> - <img src="{{$item.thumb}}" class="wall-item-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.name}}" /></a> - <span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span> - <div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}"> - <ul> - {{$item.item_photo_menu}} - </ul> - </div> - - </div> - <div class="wall-item-photo-end"></div> - <div class="wall-item-wrapper" id="wall-item-wrapper-{{$item.id}}" > - {{if $item.lock}}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" /></div> - {{else}}<div class="wall-item-lock"></div>{{/if}} - <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div> - </div> - </div> - <div class="wall-item-author"> - <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span></a> {{$item.to}} <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span></a> {{$item.vwall}}<br /> - <div id="wall-item-ago-{{$item.id}}" class="wall-item-ago"><abbr class="wall-item-ago-time" title="{{$item.localtime}}">{{$item.ago}}</abbr>{{if $item.app}}<span class="item.app">{{$item.str_app}}</span>{{/if}}</div> - </div> - <div class="wall-item-content" id="wall-item-content-{{$item.id}}" > - <div class="wall-item-title" id="wall-item-title-{{$item.id}}">{{$item.title}}</div> - <div class="wall-item-title-end"></div> - <div class="wall-item-body" id="wall-item-body-{{$item.id}}" >{{$item.body}} - <div class="body-tag"> - {{foreach $item.tags as $tag}} - <span class='tag'>{{$tag}}</span> - {{/foreach}} - </div> - </div> - </div> - <div class="wall-item-tools" id="wall-item-tools-{{$item.id}}"> - {{if $item.vote}} - <div class="wall-item-like-buttons" id="wall-item-like-buttons-{{$item.id}}"> - <a href="#" class="icon like" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></a> - <a href="#" class="icon dislike" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></a> - {{if $item.vote.share}}<a href="#" class="icon recycle wall-item-share-buttons" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"></a>{{/if}} - <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" /> - </div> - {{/if}} - {{if $item.plink}} - <div class="wall-item-links-wrapper"><a href="{{$item.plink.href}}" title="{{$item.plink.title}}" class="icon remote-link{{$item.sparkle}}"></a></div> - {{/if}} - {{if $item.edpost}} - <a class="editpost icon pencil" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a> - {{/if}} - - {{if $item.star}} - <a href="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="star-item icon {{$item.isstarred}}" title="{{$item.star.toggle}}"></a> - <a href="#" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="tag-item icon tagged" title="{{$item.star.tagger}}"></a> - {{/if}} - {{if $item.filer}} - <a href="#" id="filer-{{$item.id}}" onclick="itemFiler({{$item.id}}); return false;" class="filer-item filer-icon" title="{{$item.filer}}"></a> - {{/if}} - - <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" > - {{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{/if}} - </div> - {{if $item.drop.pagedropping}}<input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}} - <div class="wall-item-delete-end"></div> - </div> - </div> - <div class="wall-item-wrapper-end"></div> - <div class="wall-item-like {{$item.indent}}" id="wall-item-like-{{$item.id}}">{{$item.like}}</div> - <div class="wall-item-dislike {{$item.indent}}" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div> - <div class="wall-item-comment-separator"></div> - <div class="wall-item-comment-wrapper"> - {{$item.comment}} - </div> - -<div class="wall-item-outside-wrapper-end {{$item.indent}}" ></div> -</div> - diff --git a/view/tpl/smarty3/wallwall_thread.tpl b/view/tpl/smarty3/wallwall_thread.tpl deleted file mode 100644 index 4c17f5106..000000000 --- a/view/tpl/smarty3/wallwall_thread.tpl +++ /dev/null @@ -1,112 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -{{if $item.comment_firstcollapsed}} - <div class="hide-comments-outer"> - <span id="hide-comments-total-{{$item.id}}" class="hide-comments-total">{{$item.num_comments}}</span> <span id="hide-comments-{{$item.id}}" class="hide-comments fakelink" onclick="showHideComments({{$item.id}});">{{$item.hide_text}}</span> - </div> - <div id="collapsed-comments-{{$item.id}}" class="collapsed-comments" style="display: none;"> -{{/if}} -<div id="tread-wrapper-{{$item.id}}" class="tread-wrapper {{$item.toplevel}}"> -<a name="{{$item.id}}" ></a> -<div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}} wallwall" id="wall-item-outside-wrapper-{{$item.id}}" > - <div class="wall-item-content-wrapper {{$item.indent}}" id="wall-item-content-wrapper-{{$item.id}}" > - <div class="wall-item-info wallwall" id="wall-item-info-{{$item.id}}"> - <div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" > - <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-photo-link" id="wall-item-ownerphoto-link-{{$item.id}}"> - <img src="{{$item.owner_photo}}" class="wall-item-photo{{$item.osparkle}}" id="wall-item-ownerphoto-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.owner_name}}" /></a> - </div> - <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="{{$item.wall}}" /></div> - <div class="wall-item-photo-wrapper wwfrom" id="wall-item-photo-wrapper-{{$item.id}}" - onmouseover="if (typeof t{{$item.id}} != 'undefined') clearTimeout(t{{$item.id}}); openMenu('wall-item-photo-menu-button-{{$item.id}}')" - onmouseout="t{{$item.id}}=setTimeout('closeMenu(\'wall-item-photo-menu-button-{{$item.id}}\'); closeMenu(\'wall-item-photo-menu-{{$item.id}}\');',200)"> - <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}"> - <img src="{{$item.thumb}}" class="wall-item-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.name}}" /></a> - <span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span> - <div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}"> - <ul> - {{$item.item_photo_menu}} - </ul> - </div> - - </div> - <div class="wall-item-photo-end"></div> - <div class="wall-item-wrapper" id="wall-item-wrapper-{{$item.id}}" > - {{if $item.lock}}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" /></div> - {{else}}<div class="wall-item-lock"></div>{{/if}} - <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div> - </div> - </div> - <div class="wall-item-author"> - <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span></a> {{$item.to}} <a href="{{$item.owner_url}}" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span></a> {{$item.vwall}}<br /> - <div class="wall-item-ago" id="wall-item-ago-{{$item.id}}">{{$item.ago}}</div> - </div> - <div class="wall-item-content" id="wall-item-content-{{$item.id}}" > - <div class="wall-item-title" id="wall-item-title-{{$item.id}}">{{$item.title}}</div> - <div class="wall-item-title-end"></div> - <div class="wall-item-body" id="wall-item-body-{{$item.id}}" >{{$item.body}} - <div class="body-tag"> - {{foreach $item.tags as $tag}} - <span class='tag'>{{$tag}}</span> - {{/foreach}} - </div> - </div> - </div> - <div class="wall-item-tools" id="wall-item-tools-{{$item.id}}"> - {{if $item.vote}} - <div class="wall-item-like-buttons" id="wall-item-like-buttons-{{$item.id}}"> - <a href="#" class="icon like" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></a> - <a href="#" class="icon dislike" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></a> - {{if $item.vote.share}}<a href="#" class="icon recycle wall-item-share-buttons" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"></a>{{/if}} - <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" /> - </div> - {{/if}} - {{if $item.plink}} - <div class="wall-item-links-wrapper"><a href="{{$item.plink.href}}" title="{{$item.plink.title}}" class="icon remote-link{{$item.sparkle}}"></a></div> - {{/if}} - {{if $item.edpost}} - <a class="editpost icon pencil" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a> - {{/if}} - - {{if $item.star}} - <a href="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="star-item icon {{$item.isstarred}}" title="{{$item.star.toggle}}"></a> - <a href="#" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="tag-item icon tagged" title="{{$item.star.tagger}}"></a> - {{/if}} - {{if $item.filer}} - <a href="#" id="filer-{{$item.id}}" onclick="itemFiler({{$item.id}}); return false;" class="filer-item filer-icon" title="{{$item.filer}}"></a> - {{/if}} - - <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" > - {{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{/if}} - </div> - {{if $item.drop.dropping}}<input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}} - <div class="wall-item-delete-end"></div> - </div> - </div> - <div class="wall-item-wrapper-end"></div> - <div class="wall-item-like {{$item.indent}}" id="wall-item-like-{{$item.id}}">{{$item.like}}</div> - <div class="wall-item-dislike {{$item.indent}}" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div> - - {{if $item.threaded}} - {{if $item.comment}} - <div class="wall-item-comment-wrapper {{$item.indent}}" > - {{$item.comment}} - </div> - {{/if}} - {{/if}} - -<div class="wall-item-outside-wrapper-end {{$item.indent}}" ></div> -</div> -{{foreach $item.children as $item}} - {{include file="{{$item.template}}"}} -{{/foreach}} - -{{if $item.flatten}} -<div class="wall-item-comment-wrapper" > - {{$item.comment}} -</div> -{{/if}} -</div> -{{if $item.comment_lastcollapsed}}</div>{{/if}} diff --git a/view/tpl/smarty3/xchan_vcard.tpl b/view/tpl/smarty3/xchan_vcard.tpl deleted file mode 100644 index 8878a773a..000000000 --- a/view/tpl/smarty3/xchan_vcard.tpl +++ /dev/null @@ -1,25 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<div class="vcard"> -<div class="fn">{{$name}}</div> -<div id="profile-photo-wrapper"><img class="vcard-photo photo" src="{{$photo}}" alt="name" /></div> -</div> - - - -<div id="profile-extra-links"> -<ul> -{{if $connect}} - <li><a id="follow-link" href="follow?f=&url={{$follow}}">{{$connect}}</a></li> -{{/if}} -{{if $newwin}} - <li><a id="visit-chan-link" href="{{$url}}" title="{{$newtit}}" target="_blank" >{{$newwin}}</a></li> -{{/if}} -</ul> - - -</div> - diff --git a/view/tpl/smarty3/xrd_host.tpl b/view/tpl/smarty3/xrd_host.tpl deleted file mode 100644 index 1f273e010..000000000 --- a/view/tpl/smarty3/xrd_host.tpl +++ /dev/null @@ -1,23 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<?xml version='1.0' encoding='UTF-8'?> -<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0' - xmlns:hm='http://host-meta.net/xrd/1.0'> - - <hm:Host>{{$zhost}}</hm:Host> - - <Link rel='lrdd' template='{{$domain}}/xrd/?uri={uri}' /> - <Link rel='acct-mgmt' href='{{$domain}}/amcd' /> - <Link rel='http://services.mozilla.com/amcd/0.1' href='{{$domain}}/amcd' /> - <Link rel="http://oexchange.org/spec/0.8/rel/resident-target" type="application/xrd+xml" - href="{{$domain}}/oexchange/xrd" /> - - <Property xmlns:mk="http://salmon-protocol.org/ns/magic-key" - type="http://salmon-protocol.org/ns/magic-key" - mk:key_id="1">{{$bigkey}}</Property> - - -</XRD> diff --git a/view/tpl/smarty3/xrd_person.tpl b/view/tpl/smarty3/xrd_person.tpl deleted file mode 100644 index 2b914fa34..000000000 --- a/view/tpl/smarty3/xrd_person.tpl +++ /dev/null @@ -1,34 +0,0 @@ -{{* - * AUTOMATICALLY GENERATED TEMPLATE - * DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN - * - *}} -<?xml version="1.0" encoding="UTF-8"?> -<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"> - - <Subject>{{$accturi}}</Subject> - <Alias>{{$accturi}}</Alias> - <Alias>{{$profile_url}}</Alias> - - <Link rel="http://purl.org/macgirvin/dfrn/1.0" - href="{{$profile_url}}" /> - <Link rel="http://schemas.google.com/g/2010#updates-from" - type="application/atom+xml" - href="{{$atom}}" /> - <Link rel="http://webfinger.net/rel/profile-page" - type="text/html" - href="{{$profile_url}}" /> - <Link rel="http://microformats.org/profile/hcard" - type="text/html" - href="{{$hcard_url}}" /> - <Link rel="http://portablecontacts.net/spec/1.0" - href="{{$poco_url}}" /> - <Link rel="http://webfinger.net/rel/avatar" - type="image/jpeg" - href="{{$photo}}" /> - - <Property xmlns:mk="http://salmon-protocol.org/ns/magic-key" - type="http://salmon-protocol.org/ns/magic-key" - mk:key_id="1">{{$bigkey}}</Property> - -</XRD> diff --git a/view/tpl/suggest_friends.tpl b/view/tpl/suggest_friends.tpl index e97b5e8cc..80a606912 100644..100755 --- a/view/tpl/suggest_friends.tpl +++ b/view/tpl/suggest_friends.tpl @@ -1,16 +1,16 @@ <div class="profile-match-wrapper"> - <a href="$ignlnk" title="$ignore" class="icon drophide profile-match-ignore" onmouseout="imgdull(this);" onmouseover="imgbright(this);" onclick="return confirmDelete();" ></a> + <a href="{{$entry.ignlnk}}" title="{{$entry.ignore}}" class="icon drophide smalldrop profile-match-ignore" onmouseout="imgdull(this);" onmouseover="imgbright(this);" onclick="return confirmDelete();" ></a> <div class="profile-match-photo"> - <a href="$url"> - <img src="$photo" alt="$name" width="80" height="80" title="$name [$url]" /> + <a href="{{$entry.url}}"> + <img src="{{$entry.photo}}" alt="{{$entry.name}}" width="80" height="80" title="{{$entry.name}} [{{$entry.url}}]" /> </a> </div> <div class="profile-match-break"></div> <div class="profile-match-name"> - <a href="$url" title="$name">$name</a> + <a href="{{$entry.url}}" title="{{$entry.name}}">{{$entry.name}}</a> </div> <div class="profile-match-end"></div> - {{ if $connlnk }} - <div class="profile-match-connect"><a href="$connlnk" title="$conntxt">$conntxt</a></div> - {{ endif }} -</div>
\ No newline at end of file + {{if $entry.connlnk}} + <div class="profile-match-connect"><a href="{{$entry.connlnk}}" title="{{$entry.conntxt}}">{{$entry.conntxt}}</a></div> + {{/if}} +</div> diff --git a/view/tpl/suggest_page.tpl b/view/tpl/suggest_page.tpl new file mode 100755 index 000000000..97837c852 --- /dev/null +++ b/view/tpl/suggest_page.tpl @@ -0,0 +1,9 @@ +<h3>{{$title}}</h3> + +{{if $entries}} +{{foreach $entries as $child}} +{{include file="suggest_friends.tpl" entry=$child}} +{{/foreach}} +{{/if}} + +<div class="clear"></div> diff --git a/view/tpl/suggestions.tpl b/view/tpl/suggestions.tpl index 656336496..2d9cba325 100644..100755 --- a/view/tpl/suggestions.tpl +++ b/view/tpl/suggestions.tpl @@ -1,21 +1,20 @@ - <div class="intro-wrapper" > -<p class="intro-desc">$str_notifytype $notify_type</p> -<div class="intro-madeby">$madeby</div> -<div class="intro-fullname" >$fullname</div> -<a class="intro-url-link" href="$url" ><img class="intro-photo lframe" src="$photo" width="175" height=175" title="$fullname" alt="$fullname" /></a> -<div class="intro-note" >$note</div> +<p class="intro-desc">{{$str_notifytype}} {{$notify_type}}</p> +<div class="intro-madeby">{{$madeby}}</div> +<div class="intro-fullname" >{{$fullname}}</div> +<a class="intro-url-link" href="{{$url}}" ><img class="intro-photo lframe" src="{{$photo}}" width="175" height=175" title="{{$fullname}}" alt="{{$fullname}}" /></a> +<div class="intro-note" >{{$note}}</div> <div class="intro-wrapper-end"></div> -<form class="intro-form" action="notifications/$intro_id" method="post"> -<input class="intro-submit-ignore" type="submit" name="submit" value="$ignore" /> -<input class="intro-submit-discard" type="submit" name="submit" value="$discard" /> +<form class="intro-form" action="notifications/{{$intro_id}}" method="post"> +<input class="intro-submit-ignore" type="submit" name="submit" value="{{$ignore}}" /> +<input class="intro-submit-discard" type="submit" name="submit" value="{{$discard}}" /> </form> <div class="intro-form-end"></div> -<form class="intro-approve-form" action="$request" method="get"> -{{inc field_checkbox.tpl with $field=$hidden }}{{endinc}} -<input class="intro-submit-approve" type="submit" name="submit" value="$approve" /> +<form class="intro-approve-form" action="{{$request}}" method="get"> +{{include file="field_checkbox.tpl" field=$hidden}} +<input class="intro-submit-approve" type="submit" name="submit" value="{{$approve}}" /> </form> </div> <div class="intro-end"></div> diff --git a/view/tpl/tag_slap.tpl b/view/tpl/tag_slap.tpl deleted file mode 100644 index 231a13f10..000000000 --- a/view/tpl/tag_slap.tpl +++ /dev/null @@ -1,30 +0,0 @@ - <entry> - <author> - <name>$name</name> - <uri>$profile_page</uri> - <link rel="photo" type="image/jpeg" media:width="80" media:height="80" href="$thumb" /> - <link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="$thumb" /> - </author> - - <id>$item_id</id> - <title>$title</title> - <published>$published</published> - <content type="$type" >$content</content> - <link rel="mentioned" href="$accturi" /> - <as:actor> - <as:obj_type>http://activitystrea.ms/schema/1.0/person</as:obj_type> - <id>$profile_page</id> - <title></title> - <link rel="avatar" type="image/jpeg" media:width="175" media:height="175" href="$photo"/> - <link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="$thumb"/> - <poco:preferredUsername>$nick</poco:preferredUsername> - <poco:displayName>$name</poco:displayName> - </as:actor> - <as:verb>$verb</as:verb> - <as:object> - <as:obj_type></as:obj_type> - </as:object> - <as:target> - <as:obj_type></as:obj_type> - </as:target> - </entry> diff --git a/view/tpl/thing_input.tpl b/view/tpl/thing_input.tpl new file mode 100644 index 000000000..06cbfe917 --- /dev/null +++ b/view/tpl/thing_input.tpl @@ -0,0 +1,28 @@ +<h2>{{$thing_hdr}}</h2> +<form action="thing" method="post" > + +{{if $multiprof }} +<div class="thing-profile-label">{{$profile_lbl}}</div> + +<div class="thing-profile">{{$profile_select}}</div> +{{/if}} + +<div class="thing-verb-label">{{$verb_lbl}}</div> + +<div class="thing-verb">{{$verb_select}}</div> + + +<label class="thing-label" for="thing-term">{{$thing_lbl}}</label> +<input type="text" class="thing-input" id="thing-term" name="term" /> +<div class="thing-field-end"></div> +<label class="thing-label" for="thing-url">{{$url_lbl}}</label> +<input type="text" class="thing-input" id="thing-url" name="url" /> +<div class="thing-field-end"></div> +<label class="thing-label" for="thing-img">{{$img_lbl}}</label> +<input type="text" class="thing-input" id="thing-img" name="img" /> +<div class="thing-field-end"></div> + +<div class="thing-end"></div> + +<input type="submit" class="thing-submit" name="submit" value="{{$submit}}" /> +</form> diff --git a/view/tpl/threaded_conversation.tpl b/view/tpl/threaded_conversation.tpl index 098e399b7..4bfcde896 100644..100755 --- a/view/tpl/threaded_conversation.tpl +++ b/view/tpl/threaded_conversation.tpl @@ -1,13 +1,13 @@ -{{ for $threads as $thread_item }} -{{ inc $thread_item.template with $item=$thread_item }}{{ endinc }} -{{ endfor }} +{{foreach $threads as $thread_item}} +{{include file="{{$thread_item.template}}" item=$thread_item}} +{{/foreach}} <div id="conversation-end"></div> -{{ if $dropping }} +{{if $dropping}} <div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems();"> - <div id="item-delete-selected-icon" class="icon drophide" title="$dropping" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div> - <div id="item-delete-selected-desc" >$dropping</div> + <div id="item-delete-selected-icon" class="icon drophide" title="{{$dropping}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div> + <div id="item-delete-selected-desc" >{{$dropping}}</div> </div> <div id="item-delete-selected-end"></div> -{{ endif }} +{{/if}} diff --git a/view/tpl/toggle_mobile_footer.tpl b/view/tpl/toggle_mobile_footer.tpl index 58695f4df..82c0197ba 100644..100755 --- a/view/tpl/toggle_mobile_footer.tpl +++ b/view/tpl/toggle_mobile_footer.tpl @@ -1,2 +1,2 @@ -<a id="toggle_mobile_link" href="$toggle_link">$toggle_text</a> +<a id="toggle_mobile_link" href="{{$toggle_link}}">{{$toggle_text}}</a> diff --git a/view/tpl/viewcontact_template.tpl b/view/tpl/viewcontact_template.tpl index d6f01643e..18fed6bb4 100644..100755 --- a/view/tpl/viewcontact_template.tpl +++ b/view/tpl/viewcontact_template.tpl @@ -1,9 +1,9 @@ -<h3>$title</h3> +<h3>{{$title}}</h3> -{{ for $contacts as $contact }} - {{ inc contact_template.tpl }}{{ endinc }} -{{ endfor }} +{{foreach $contacts as $contact}} + {{include file="contact_template.tpl"}} +{{/foreach}} <div id="view-contact-end"></div> -$paginate +{{$paginate}} diff --git a/view/tpl/wall_item.tpl b/view/tpl/wall_item.tpl deleted file mode 100644 index e3b2eca0b..000000000 --- a/view/tpl/wall_item.tpl +++ /dev/null @@ -1,79 +0,0 @@ -<a name="$item.id" ></a> -<div class="wall-item-outside-wrapper $item.indent$item.previewing" id="wall-item-outside-wrapper-$item.id" > - <div class="wall-item-content-wrapper $item.indent" id="wall-item-content-wrapper-$item.id" > - <div class="wall-item-info" id="wall-item-info-$item.id"> - <div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$item.id" - onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')" - onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)"> - <a href="$item.profile_url" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id"> - <img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" /> - </a> - <span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span> - <div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id"> - <ul> - $item.item_photo_menu - </ul> - </div> - </div> - <div class="wall-item-photo-end"></div> - <div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" > - {{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div> - {{ else }}<div class="wall-item-lock"></div>{{ endif }} - <div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div> - </div> - </div> - <div class="wall-item-author"> - <a href="$item.profile_url" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a> - <div id="wall-item-ago-$item.id" class="wall-item-ago"><abbr class="wall-item-ago-time" title="$item.localtime">$item.ago</abbr>{{ if $item.app }}<span class="item.app">$item.str_app</span>{{ endif }}</div> - - </div> - <div class="wall-item-content" id="wall-item-content-$item.id" > - <div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div> - <div class="wall-item-title-end"></div> - <div class="wall-item-body" id="wall-item-body-$item.id" >$item.body - <div class="body-tag"> - {{ for $item.tags as $tag }} - <span class='tag'>$tag</span> - {{ endfor }} - </div> - </div> - </div> - <div class="wall-item-tools" id="wall-item-tools-$item.id"> - {{ if $item.vote }} - <div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id"> - <a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a> - <a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a> - {{ if $item.vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>{{ endif }} - <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" /> - </div> - {{ endif }} - {{ if $item.plink }} - <div class="wall-item-links-wrapper"><a href="$item.plink.href" title="$item.plink.title" class="icon remote-link$item.sparkle"></a></div> - {{ endif }} - {{ if $item.edpost }} - <a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a> - {{ endif }} - - {{ if $item.star }} - <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a> - <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a> - {{ endif }} - {{ if $item.filer }} - <a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"></a> - {{ endif }} - <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" > - {{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }} - </div> - {{ if $item.drop.pagedropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }} - <div class="wall-item-delete-end"></div> - </div> - </div> - <div class="wall-item-wrapper-end"></div> - <div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div> - <div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div> - <div class="wall-item-comment-wrapper" > - $item.comment - </div> - -<div class="wall-item-outside-wrapper-end $item.indent" ></div> -</div> diff --git a/view/tpl/wall_thread.tpl b/view/tpl/wall_thread.tpl deleted file mode 100644 index 9a02b2103..000000000 --- a/view/tpl/wall_thread.tpl +++ /dev/null @@ -1,120 +0,0 @@ -{{if $item.comment_firstcollapsed}} - <div class="hide-comments-outer"> - <span id="hide-comments-total-$item.id" class="hide-comments-total">$item.num_comments</span> <span id="hide-comments-$item.id" class="hide-comments fakelink" onclick="showHideComments($item.id);">$item.hide_text</span> - </div> - <div id="collapsed-comments-$item.id" class="collapsed-comments" style="display: none;"> -{{endif}} -<div id="thread-wrapper-$item.id" class="thread-wrapper $item.toplevel"> -<a name="$item.id" ></a> -<div class="wall-item-outside-wrapper $item.indent$item.previewing{{ if $item.owner_url }} wallwall{{ endif }}" id="wall-item-outside-wrapper-$item.id" > - <div class="wall-item-content-wrapper $item.indent" id="wall-item-content-wrapper-$item.id" > - <div class="wall-item-info{{ if $item.owner_url }} wallwall{{ endif }}" id="wall-item-info-$item.id"> - {{ if $item.owner_url }} - <div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-$item.id" > - <a href="$item.owner_url" title="$item.olinktitle" class="wall-item-photo-link" id="wall-item-ownerphoto-link-$item.id"> - <img src="$item.owner_photo" class="wall-item-photo$item.osparkle" id="wall-item-ownerphoto-$item.id" style="height: 80px; width: 80px;" alt="$item.owner_name" /></a> - </div> - <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="$item.wall" /></div> - {{ endif }} - <div class="wall-item-photo-wrapper{{ if $item.owner_url }} wwfrom{{ endif }}" id="wall-item-photo-wrapper-$item.id" - onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')" - onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)"> - <a href="$item.profile_url" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id"> - <img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" /></a> - <span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span> - <div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id"> - <ul> - $item.item_photo_menu - </ul> - </div> - - </div> - <div class="wall-item-photo-end"></div> - <div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" > - {{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div> - {{ else }}<div class="wall-item-lock"></div>{{ endif }} - <div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div> - </div> - </div> - <div class="wall-item-author"> - <a href="$item.profile_url" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a>{{ if $item.owner_url }} $item.to <a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-name-link"><span class="wall-item-name$item.osparkle" id="wall-item-ownername-$item.id">$item.owner_name</span></a> $item.vwall{{ endif }}<br /> - <div class="wall-item-ago" id="wall-item-ago-$item.id" title="$item.localtime">$item.ago</div> - </div> - <div class="wall-item-content" id="wall-item-content-$item.id" > - <div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div> - <div class="wall-item-title-end"></div> - <div class="wall-item-body" id="wall-item-body-$item.id" >$item.body - <div class="body-tag"> - {{ for $item.tags as $tag }} - <span class='tag'>$tag</span> - {{ endfor }} - </div> - {{ if $item.has_cats }} - <div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }} - </div> - {{ endif }} - - {{ if $item.has_folders }} - <div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }} - </div> - {{ endif }} - </div> - </div> - <div class="wall-item-tools" id="wall-item-tools-$item.id"> - {{ if $item.vote }} - <div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id"> - <a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a> - {{ if $item.nolike }} - <a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a> - {{ endif }} - {{ if $item.vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>{{ endif }} - </div> - {{ endif }} - {{ if $item.plink }} - <div class="wall-item-links-wrapper"><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="icon remote-link$item.sparkle"></a></div> - {{ endif }} - {{ if $item.edpost }} - <a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a> - {{ endif }} - - {{ if $item.star }} - <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a> - <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a> - {{ endif }} - {{ if $item.filer }} - <a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"></a> - {{ endif }} - <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" /> - - <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" > - {{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }} - </div> - {{ if $item.drop.pagedrop }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }} - <div class="wall-item-delete-end"></div> - </div> - </div> - <div class="wall-item-wrapper-end"></div> - <div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div> - <div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div> - - {{ if $item.threaded }} - {{ if $item.comment }} - <div class="wall-item-comment-wrapper $item.indent" > - $item.comment - </div> - {{ endif }} - {{ endif }} - -<div class="wall-item-outside-wrapper-end $item.indent" ></div> -</div> -{{ for $item.children as $child }} - {{ inc $child.template with $item=$child }}{{ endinc }} -{{ endfor }} - -{{ if $item.flatten }} -<div class="wall-item-comment-wrapper" > - $item.comment -</div> -{{ endif }} -</div> -{{if $item.comment_lastcollapsed}}</div>{{endif}} diff --git a/view/tpl/wallmessage.tpl b/view/tpl/wallmessage.tpl deleted file mode 100644 index 66b2bc3a0..000000000 --- a/view/tpl/wallmessage.tpl +++ /dev/null @@ -1,32 +0,0 @@ - -<h3>$header</h3> - -<h4>$subheader</h4> - -<div id="prvmail-wrapper" > -<form id="prvmail-form" action="wallmessage/$nickname" method="post" > - -$parent - -<div id="prvmail-to-label">$to</div> -$recipname - -<div id="prvmail-subject-label">$subject</div> -<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$subjtxt" $readonly tabindex="11" /> - -<div id="prvmail-message-label">$yourmessage</div> -<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$text</textarea> - - -<div id="prvmail-submit-wrapper" > - <input type="submit" id="prvmail-submit" name="submit" value="Submit" tabindex="13" /> - <div id="prvmail-link-wrapper" > - <div id="prvmail-link" class="icon border link" title="$insert" onclick="jotGetLink();" ></div> - </div> - <div id="prvmail-rotator-wrapper" > - <img id="prvmail-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" /> - </div> -</div> -<div id="prvmail-end"></div> -</form> -</div> diff --git a/view/tpl/wallmsg-header.tpl b/view/tpl/wallmsg-header.tpl deleted file mode 100644 index cb3922572..000000000 --- a/view/tpl/wallmsg-header.tpl +++ /dev/null @@ -1,82 +0,0 @@ - -<script language="javascript" type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script> -<script language="javascript" type="text/javascript"> - -var plaintext = '$editselect'; - -if(plaintext != 'none') { - tinyMCE.init({ - theme : "advanced", - mode : "specific_textareas", - editor_selector: /(profile-jot-text|prvmail-text)/, - plugins : "bbcode,paste", - theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor", - theme_advanced_buttons2 : "", - theme_advanced_buttons3 : "", - theme_advanced_toolbar_location : "top", - theme_advanced_toolbar_align : "center", - theme_advanced_blockformats : "blockquote,code", - gecko_spellcheck : true, - paste_text_sticky : true, - entity_encoding : "raw", - add_unload_trigger : false, - remove_linebreaks : false, - force_p_newlines : false, - force_br_newlines : true, - forced_root_block : '', - convert_urls: false, - content_css: "$baseurl/view/custom_tinymce.css", - //Character count - theme_advanced_path : false, - setup : function(ed) { - ed.onInit.add(function(ed) { - ed.pasteAsPlainText = true; - var editorId = ed.editorId; - var textarea = $('#'+editorId); - if (typeof(textarea.attr('tabindex')) != "undefined") { - $('#'+editorId+'_ifr').attr('tabindex', textarea.attr('tabindex')); - textarea.attr('tabindex', null); - } - }); - } - }); -} -else - $("#prvmail-text").contact_autocomplete(baseurl+"/acl"); - - -</script> -<script> - - function jotGetLink() { - reply = prompt("$linkurl"); - if(reply && reply.length) { - $('#profile-rotator').show(); - $.get('parse_url?url=' + reply, function(data) { - tinyMCE.execCommand('mceInsertRawHTML',false,data); - $('#profile-rotator').hide(); - }); - } - } - - function linkdropper(event) { - var linkFound = event.dataTransfer.types.contains("text/uri-list"); - if(linkFound) - event.preventDefault(); - } - - function linkdrop(event) { - var reply = event.dataTransfer.getData("text/uri-list"); - event.target.textContent = reply; - event.preventDefault(); - if(reply && reply.length) { - $('#profile-rotator').show(); - $.get('parse_url?url=' + reply, function(data) { - tinyMCE.execCommand('mceInsertRawHTML',false,data); - $('#profile-rotator').hide(); - }); - } - } - -</script> - diff --git a/view/tpl/wallwall_item.tpl b/view/tpl/wallwall_item.tpl deleted file mode 100644 index 9c824fb3b..000000000 --- a/view/tpl/wallwall_item.tpl +++ /dev/null @@ -1,86 +0,0 @@ -<a name="$item.id" ></a> -<div class="wall-item-outside-wrapper $item.indent$item.previewing wallwall" id="wall-item-outside-wrapper-$item.id" > - <div class="wall-item-content-wrapper $item.indent" id="wall-item-content-wrapper-$item.id" > - <div class="wall-item-info wallwall" id="wall-item-info-$item.id"> - <div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-$item.id" > - <a href="$item.owner_url" title="$item.olinktitle" class="wall-item-photo-link" id="wall-item-ownerphoto-link-$item.id"> - <img src="$item.owner_photo" class="wall-item-photo$item.osparkle" id="wall-item-ownerphoto-$item.id" style="height: 80px; width: 80px;" alt="$item.owner_name" /></a> - </div> - <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="$item.wall" /></div> - <div class="wall-item-photo-wrapper wwfrom" id="wall-item-photo-wrapper-$item.id" - onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')" - onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)"> - <a href="$item.profile_url" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id"> - <img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" /></a> - <span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span> - <div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id"> - <ul> - $item.item_photo_menu - </ul> - </div> - - </div> - <div class="wall-item-photo-end"></div> - <div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" > - {{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div> - {{ else }}<div class="wall-item-lock"></div>{{ endif }} - <div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div> - </div> - </div> - <div class="wall-item-author"> - <a href="$item.profile_url" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a> $item.to <a href="$item.owner_url" title="$item.olinktitle" class="wall-item-name-link"><span class="wall-item-name$item.osparkle" id="wall-item-ownername-$item.id">$item.owner_name</span></a> $item.vwall<br /> - <div id="wall-item-ago-$item.id" class="wall-item-ago"><abbr class="wall-item-ago-time" title="$item.localtime">$item.ago</abbr>{{ if $item.app }}<span class="item.app">$item.str_app</span>{{ endif }}</div> - </div> - <div class="wall-item-content" id="wall-item-content-$item.id" > - <div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div> - <div class="wall-item-title-end"></div> - <div class="wall-item-body" id="wall-item-body-$item.id" >$item.body - <div class="body-tag"> - {{ for $item.tags as $tag }} - <span class='tag'>$tag</span> - {{ endfor }} - </div> - </div> - </div> - <div class="wall-item-tools" id="wall-item-tools-$item.id"> - {{ if $item.vote }} - <div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id"> - <a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a> - <a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a> - {{ if $item.vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>{{ endif }} - <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" /> - </div> - {{ endif }} - {{ if $item.plink }} - <div class="wall-item-links-wrapper"><a href="$item.plink.href" title="$item.plink.title" class="icon remote-link$item.sparkle"></a></div> - {{ endif }} - {{ if $item.edpost }} - <a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a> - {{ endif }} - - {{ if $item.star }} - <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a> - <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a> - {{ endif }} - {{ if $item.filer }} - <a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"></a> - {{ endif }} - - <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" > - {{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }} - </div> - {{ if $item.drop.pagedropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }} - <div class="wall-item-delete-end"></div> - </div> - </div> - <div class="wall-item-wrapper-end"></div> - <div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div> - <div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div> - <div class="wall-item-comment-separator"></div> - <div class="wall-item-comment-wrapper"> - $item.comment - </div> - -<div class="wall-item-outside-wrapper-end $item.indent" ></div> -</div> - diff --git a/view/tpl/wallwall_thread.tpl b/view/tpl/wallwall_thread.tpl deleted file mode 100644 index ecfb65aef..000000000 --- a/view/tpl/wallwall_thread.tpl +++ /dev/null @@ -1,107 +0,0 @@ -{{if $item.comment_firstcollapsed}} - <div class="hide-comments-outer"> - <span id="hide-comments-total-$item.id" class="hide-comments-total">$item.num_comments</span> <span id="hide-comments-$item.id" class="hide-comments fakelink" onclick="showHideComments($item.id);">$item.hide_text</span> - </div> - <div id="collapsed-comments-$item.id" class="collapsed-comments" style="display: none;"> -{{endif}} -<div id="tread-wrapper-$item.id" class="tread-wrapper $item.toplevel"> -<a name="$item.id" ></a> -<div class="wall-item-outside-wrapper $item.indent$item.previewing wallwall" id="wall-item-outside-wrapper-$item.id" > - <div class="wall-item-content-wrapper $item.indent" id="wall-item-content-wrapper-$item.id" > - <div class="wall-item-info wallwall" id="wall-item-info-$item.id"> - <div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-$item.id" > - <a href="$item.owner_url" title="$item.olinktitle" class="wall-item-photo-link" id="wall-item-ownerphoto-link-$item.id"> - <img src="$item.owner_photo" class="wall-item-photo$item.osparkle" id="wall-item-ownerphoto-$item.id" style="height: 80px; width: 80px;" alt="$item.owner_name" /></a> - </div> - <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="$item.wall" /></div> - <div class="wall-item-photo-wrapper wwfrom" id="wall-item-photo-wrapper-$item.id" - onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')" - onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)"> - <a href="$item.profile_url" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id"> - <img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" /></a> - <span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span> - <div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id"> - <ul> - $item.item_photo_menu - </ul> - </div> - - </div> - <div class="wall-item-photo-end"></div> - <div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" > - {{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div> - {{ else }}<div class="wall-item-lock"></div>{{ endif }} - <div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div> - </div> - </div> - <div class="wall-item-author"> - <a href="$item.profile_url" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a> $item.to <a href="$item.owner_url" title="$item.olinktitle" class="wall-item-name-link"><span class="wall-item-name$item.osparkle" id="wall-item-ownername-$item.id">$item.owner_name</span></a> $item.vwall<br /> - <div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div> - </div> - <div class="wall-item-content" id="wall-item-content-$item.id" > - <div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div> - <div class="wall-item-title-end"></div> - <div class="wall-item-body" id="wall-item-body-$item.id" >$item.body - <div class="body-tag"> - {{ for $item.tags as $tag }} - <span class='tag'>$tag</span> - {{ endfor }} - </div> - </div> - </div> - <div class="wall-item-tools" id="wall-item-tools-$item.id"> - {{ if $item.vote }} - <div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id"> - <a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a> - <a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a> - {{ if $item.vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>{{ endif }} - <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" /> - </div> - {{ endif }} - {{ if $item.plink }} - <div class="wall-item-links-wrapper"><a href="$item.plink.href" title="$item.plink.title" class="icon remote-link$item.sparkle"></a></div> - {{ endif }} - {{ if $item.edpost }} - <a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a> - {{ endif }} - - {{ if $item.star }} - <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a> - <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a> - {{ endif }} - {{ if $item.filer }} - <a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"></a> - {{ endif }} - - <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" > - {{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }} - </div> - {{ if $item.drop.dropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }} - <div class="wall-item-delete-end"></div> - </div> - </div> - <div class="wall-item-wrapper-end"></div> - <div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div> - <div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div> - - {{ if $item.threaded }} - {{ if $item.comment }} - <div class="wall-item-comment-wrapper $item.indent" > - $item.comment - </div> - {{ endif }} - {{ endif }} - -<div class="wall-item-outside-wrapper-end $item.indent" ></div> -</div> -{{ for $item.children as $item }} - {{ inc $item.template }}{{ endinc }} -{{ endfor }} - -{{ if $item.flatten }} -<div class="wall-item-comment-wrapper" > - $item.comment -</div> -{{ endif }} -</div> -{{if $item.comment_lastcollapsed}}</div>{{endif}} diff --git a/view/tpl/webpagelist.tpl b/view/tpl/webpagelist.tpl new file mode 100644 index 000000000..f3fe90da5 --- /dev/null +++ b/view/tpl/webpagelist.tpl @@ -0,0 +1,20 @@ +{{include file="prettyphoto.tpl"}} + +{{if $pages}} + + <div id="pagelist-content-wrapper"> + {{foreach $pages as $key => $items}} + {{foreach $items as $item}} + <div class="page-list-item"><a href="{{$baseurl}}/{{$item.url}}">{{$edit}}</a> | + <a href="page/{{$channel}}/{{$item.title}}">{{$view}}</a> + {{$item.title}} | + <a href="page/{{$channel}}/{{$item.title}}?iframe=true&width=80%&height=80%" rel="prettyPhoto[iframes]">Preview</a> + +</div> + {{/foreach}} + {{/foreach}} + </div> + + <div class="clear"></div> + +{{/if}} diff --git a/view/tpl/xchan_vcard.tpl b/view/tpl/xchan_vcard.tpl index f0b623927..3dabdad95 100644..100755 --- a/view/tpl/xchan_vcard.tpl +++ b/view/tpl/xchan_vcard.tpl @@ -1,18 +1,18 @@ <div class="vcard"> -<div class="fn">$name</div> -<div id="profile-photo-wrapper"><img class="vcard-photo photo" src="$photo" alt="name" /></div> +<div class="fn">{{$name}}</div> +<div id="profile-photo-wrapper"><img class="vcard-photo photo" src="{{$photo}}" alt="name" /></div> </div> <div id="profile-extra-links"> <ul> -{{ if $connect }} - <li><a id="follow-link" href="follow?f=&url=$follow">$connect</a></li> -{{ endif }} -{{ if $newwin }} - <li><a id="visit-chan-link" href="$url" title="$newtit" target="_blank" >$newwin</a></li> -{{ endif }} +{{if $connect}} + <li><a id="follow-link" href="follow?f=&url={{$follow}}">{{$connect}}</a></li> +{{/if}} +{{if $newwin}} + <li><a id="visit-chan-link" href="{{$url}}" title="{{$newtit}}" target="_blank" >{{$newwin}}</a></li> +{{/if}} </ul> diff --git a/view/tpl/xrd_host.tpl b/view/tpl/xrd_host.tpl index 94e3c2146..4bcc5bbdb 100644..100755 --- a/view/tpl/xrd_host.tpl +++ b/view/tpl/xrd_host.tpl @@ -2,17 +2,17 @@ <XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0' xmlns:hm='http://host-meta.net/xrd/1.0'> - <hm:Host>$zhost</hm:Host> + <hm:Host>{{$zhost}}</hm:Host> - <Link rel='lrdd' template='$domain/xrd/?uri={uri}' /> - <Link rel='acct-mgmt' href='$domain/amcd' /> - <Link rel='http://services.mozilla.com/amcd/0.1' href='$domain/amcd' /> + <Link rel='lrdd' template='{{$domain}}/xrd/?uri={uri}' /> + <Link rel='acct-mgmt' href='{{$domain}}/amcd' /> + <Link rel='http://services.mozilla.com/amcd/0.1' href='{{$domain}}/amcd' /> <Link rel="http://oexchange.org/spec/0.8/rel/resident-target" type="application/xrd+xml" - href="$domain/oexchange/xrd" /> + href="{{$domain}}/oexchange/xrd" /> <Property xmlns:mk="http://salmon-protocol.org/ns/magic-key" type="http://salmon-protocol.org/ns/magic-key" - mk:key_id="1">$bigkey</Property> + mk:key_id="1">{{$bigkey}}</Property> </XRD> diff --git a/view/tpl/xrd_person.tpl b/view/tpl/xrd_person.tpl index 3a6ca7ba7..035ab251f 100644..100755 --- a/view/tpl/xrd_person.tpl +++ b/view/tpl/xrd_person.tpl @@ -1,29 +1,29 @@ <?xml version="1.0" encoding="UTF-8"?> <XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"> - <Subject>$accturi</Subject> - <Alias>$accturi</Alias> - <Alias>$profile_url</Alias> + <Subject>{{$accturi}}</Subject> + <Alias>{{$accturi}}</Alias> + <Alias>{{$profile_url}}</Alias> <Link rel="http://purl.org/macgirvin/dfrn/1.0" - href="$profile_url" /> + href="{{$profile_url}}" /> <Link rel="http://schemas.google.com/g/2010#updates-from" type="application/atom+xml" - href="$atom" /> + href="{{$atom}}" /> <Link rel="http://webfinger.net/rel/profile-page" type="text/html" - href="$profile_url" /> + href="{{$profile_url}}" /> <Link rel="http://microformats.org/profile/hcard" type="text/html" - href="$hcard_url" /> + href="{{$hcard_url}}" /> <Link rel="http://portablecontacts.net/spec/1.0" - href="$poco_url" /> + href="{{$poco_url}}" /> <Link rel="http://webfinger.net/rel/avatar" type="image/jpeg" - href="$photo" /> + href="{{$photo}}" /> <Property xmlns:mk="http://salmon-protocol.org/ns/magic-key" type="http://salmon-protocol.org/ns/magic-key" - mk:key_id="1">$bigkey</Property> + mk:key_id="1">{{$bigkey}}</Property> </XRD> |