diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index 65a2c771ed..9c8064db52 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -535,6 +535,20 @@ function dfrn_request_content(&$a) { else $tpl = load_view_file('view/auto_request.tpl'); $o .= replace_macros($tpl,array( + '$header' => t('Friend/Connection Request'), + '$pls_answer' => t('Please answer the following:'), + '$does_know' => t('Does $name know you?'), + '$yes' => t('Yes'), + '$no' => t('No'), + '$add_note' => t('Add a personal note:'), + '$page_desc' => t('Please enter your profile address from one of the following supported social networks:'), + '$friendika' => t('Friendika'), + '$statusnet' => t('StatusNet/Federated Social Web'), + '$private_net' => t("Private \x28secure\x29 network"), + '$public_net' => t("Public \x28insecure\x29 network"), + '$your_address' => t('Your profile address:'), + '$submit' => t('Submit Request'), + '$cancel' => t('Cancel'), '$nickname' => $a->argv[1], '$name' => $a->profile['name'], '$myaddr' => $myaddr diff --git a/view/auto_request.tpl b/view/auto_request.tpl new file mode 100644 index 0000000000..b8d2d1a729 --- /dev/null +++ b/view/auto_request.tpl @@ -0,0 +1,29 @@ + +

$header

+ +

+$page_desc
+

+

+ +
+ +
+ + +
+
+ + +
+ +
+ +
+ + +
+
diff --git a/view/en/dfrn_request.tpl b/view/dfrn_request.tpl similarity index 60% rename from view/en/dfrn_request.tpl rename to view/dfrn_request.tpl index 4dd8c04899..9cb1e8749b 100644 --- a/view/en/dfrn_request.tpl +++ b/view/dfrn_request.tpl @@ -1,41 +1,41 @@ -

Friend/Connection Request

+

$header

-You may request a connection with this member if you have a valid profile address
-on one of the following social networks:
+$page_desc

- +

-Please answer the following: +$pls_answer

+

-Does $name know you? +$does_know

- +
- +
@@ -43,7 +43,7 @@ Does $name know you?

-Add a personal note: +$add_note

@@ -53,7 +53,7 @@ Add a personal note:
- - + +
diff --git a/view/en/auto_request.tpl b/view/en/auto_request.tpl deleted file mode 100644 index 97e750083c..0000000000 --- a/view/en/auto_request.tpl +++ /dev/null @@ -1,29 +0,0 @@ - -

Friend/Connection Request

- -

-Please enter your profile address from one of the following supported social networks:
-

-

- -
- -
- - -
-
- - -
- -
- -
- - -
-