]> git.mxchange.org Git - friendica.git/commitdiff
more templates
authorFriendika <info@friendika.com>
Fri, 8 Apr 2011 01:00:35 +0000 (18:00 -0700)
committerFriendika <info@friendika.com>
Fri, 8 Apr 2011 01:00:35 +0000 (18:00 -0700)
33 files changed:
mod/notifications.php
mod/profiles.php
mod/settings.php
util/messages.po
util/strings.php
view/de/profile-hide-friends.tpl [deleted file]
view/de/profile-in-directory.tpl [deleted file]
view/de/profile-in-netdir.tpl [deleted file]
view/de/profile_listing_header.tpl [deleted file]
view/en/profile-hide-friends.tpl [deleted file]
view/en/profile-in-directory.tpl [deleted file]
view/en/profile-in-netdir.tpl [deleted file]
view/en/profile_listing_header.tpl [deleted file]
view/en/registrations.tpl [deleted file]
view/fr/profile-hide-friends.tpl [deleted file]
view/fr/profile-in-directory.tpl [deleted file]
view/fr/profile-in-netdir.tpl [deleted file]
view/fr/profile_listing_header.tpl [deleted file]
view/fr/registrations.tpl [deleted file]
view/it/profile-hide-friends.tpl [deleted file]
view/it/profile-in-directory.tpl [deleted file]
view/it/profile-in-netdir.tpl [deleted file]
view/it/profile_listing_header.tpl [deleted file]
view/it/registrations.tpl [deleted file]
view/profile-hide-friends.tpl [new file with mode: 0644]
view/profile-in-directory.tpl [new file with mode: 0644]
view/profile-in-netdir.tpl [new file with mode: 0644]
view/profile_listing_header.tpl [new file with mode: 0644]
view/sv/profile-hide-friends.tpl [deleted file]
view/sv/profile-in-directory.tpl [deleted file]
view/sv/profile-in-netdir.tpl [deleted file]
view/sv/profile_listing_header.tpl [deleted file]
view/sv/registrations.tpl [deleted file]

index ed0831aabd058f5454efc60c42a39557f1d5cf38..c3f8449ed5340a6148d21f15c039ef841bfc3c26 100644 (file)
@@ -147,17 +147,13 @@ function notifications_content(&$a) {
                                 LEFT JOIN `contact` ON `register`.`uid` = `contact`.`uid`
                                 LEFT JOIN `user` ON `register`.`uid` = `user`.`uid`;");
                if(($r !== false) && (count($r))) {
-                       $tpl = load_view_file("view/registrations.tpl");
+                       $o .= '<ul>';
                        foreach($r as $rr) {
-                               $o .= "<ul>";
-                               $o .= replace_macros($tpl, array(
-                                       '$fullname'     => $rr['name'],
-                                       '$email'                => $rr['email'],
-                                       '$approvelink'  => "regmod/allow/".$rr['hash'],
-                                       '$denylink'     => "regmod/deny/".$rr['hash'],
-                               ));
-                               $o .= "</ul>";
+                               $o .= '<li>' . sprintf('%s (%s) : ', $rr['name'],$rr['email']) 
+                                       . '<a href="regmod/allow/' . $rr['hash'] .'">' . t('Approve') 
+                                       . '</a> - <href="regmod/deny/' . $rr['hash'] . '">' . t('Deny') . '</a></li>' . "\r\n";
                        }
+                       $o .= "</ul>";
                }
                else
                        notice( t('No registrations.') . EOL);
index 434f58adf990d487c6fae8013f6a87025afcaaac..99812ed8806f859382c84d33ddc5f4b10797fb15 100644 (file)
@@ -351,6 +351,9 @@ function profiles_content(&$a) {
 
                $opt_tpl = load_view_file("view/profile-hide-friends.tpl");
                $hide_friends = replace_macros($opt_tpl,array(
+                       '$desc' => t('Hide my contact/friend list from viewers of this profile?'),
+                       '$yes_str' => t('Yes'),
+                       '$no_str' => t('No'),
                        '$yes_selected' => (($r[0]['hide-friends']) ? " checked=\"checked\" " : ""),
                        '$no_selected' => (($r[0]['hide-friends'] == 0) ? " checked=\"checked\" " : "")
                ));
@@ -410,7 +413,14 @@ function profiles_content(&$a) {
                        local_user());
                if(count($r)) {
 
-                       $o .= load_view_file('view/profile_listing_header.tpl');
+                       $tpl_header = load_view_file('view/profile_listing_header.tpl');
+                       $o .= replace_macros($tpl_header,array(
+                               '$header' => t('Profiles'),
+                               '$chg_photo' => t('Change profile photo'),
+                               '$cr_new' => t('Create New Profile')
+                       ));
+
+
                        $tpl_default = load_view_file('view/profile_entry_default.tpl');
                        $tpl = load_view_file('view/profile_entry.tpl');
 
index 72b627d41825c97b024511ee65b8a8be661c9b85..646ec55ea2bdc0b6fba182e7477c9743e3c902df 100644 (file)
@@ -285,6 +285,9 @@ function settings_content(&$a) {
        else {
                $opt_tpl = load_view_file("view/profile-in-directory.tpl");
                $profile_in_dir = replace_macros($opt_tpl,array(
+                       '$desc'         => t('Publish your default profile in site directory?'),
+                       '$yes_str'      => t('Yes'),
+                       '$no_str'       => t('No'),
                        '$yes_selected' => (($profile['publish'])      ? " checked=\"checked\" " : ""),
                        '$no_selected'  => (($profile['publish'] == 0) ? " checked=\"checked\" " : "")
                ));
@@ -294,6 +297,9 @@ function settings_content(&$a) {
                $opt_tpl = load_view_file("view/profile-in-netdir.tpl");
 
                $profile_in_net_dir = replace_macros($opt_tpl,array(
+                       '$desc'         => t('Publish your default profile in global social directory?'),
+                       '$yes_str'      => t('Yes'),
+                       '$no_str'       => t('No'),
                        '$yes_selected' => (($profile['net-publish'])      ? " checked=\"checked\" " : ""),
                        '$no_selected'  => (($profile['net-publish'] == 0) ? " checked=\"checked\" " : "")
                ));
index 88e1fcd01c10fcfcbe0c9bb7f8835351a159a2bd..e1b15df648fcd8d5893ace68391af99f6c47b818 100644 (file)
@@ -6,9 +6,9 @@
 #, fuzzy
 msgid ""
 msgstr ""
-"Project-Id-Version: 2.1.941\n"
+"Project-Id-Version: 2.1.942\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-04-06 23:01-0700\n"
+"POT-Creation-Date: 2011-04-07 17:54-0700\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -53,8 +53,8 @@ msgid "Photo Albums"
 msgstr ""
 
 #: ../../mod/photos.php:34 ../../mod/photos.php:106 ../../mod/photos.php:781
-#: ../../mod/photos.php:850 ../../mod/photos.php:865 ../../mod/photos.php:1233
-#: ../../mod/photos.php:1244 ../../include/Photo.php:225
+#: ../../mod/photos.php:850 ../../mod/photos.php:865 ../../mod/photos.php:1235
+#: ../../mod/photos.php:1246 ../../include/Photo.php:225
 #: ../../include/Photo.php:232 ../../include/Photo.php:239
 #: ../../include/items.php:1028 ../../include/items.php:1031
 #: ../../include/items.php:1034 ../../wip/photos.php:35
@@ -78,7 +78,7 @@ msgstr ""
 #: ../../mod/profile_photo.php:139 ../../mod/profile_photo.php:150
 #: ../../mod/message.php:8 ../../mod/message.php:116
 #: ../../mod/wall_upload.php:42 ../../mod/follow.php:8
-#: ../../mod/display.php:309 ../../mod/profiles.php:7
+#: ../../mod/display.php:311 ../../mod/profiles.php:7
 #: ../../mod/profiles.php:227 ../../mod/invite.php:13 ../../mod/invite.php:50
 #: ../../mod/dfrn_confirm.php:53 ../../addon/facebook/facebook.php:110
 #: ../../wip/photos.php:77 ../../wip/photos.php:723
@@ -160,9 +160,10 @@ msgid "No photos selected"
 msgstr ""
 
 #: ../../mod/photos.php:801 ../../mod/photos.php:858 ../../mod/photos.php:1066
-#: ../../mod/install.php:123 ../../mod/manage.php:106 ../../mod/group.php:97
-#: ../../mod/group.php:155 ../../mod/invite.php:64
-#: ../../addon/facebook/facebook.php:151
+#: ../../mod/photos.php:1109 ../../mod/install.php:123
+#: ../../mod/manage.php:106 ../../mod/network.php:506 ../../mod/group.php:97
+#: ../../mod/group.php:155 ../../mod/profile.php:395 ../../mod/display.php:174
+#: ../../mod/invite.php:64 ../../addon/facebook/facebook.php:151
 #: ../../addon/randplace/randplace.php:179
 #: ../../addon/statusnet/statusnet.php:163
 #: ../../addon/statusnet/statusnet.php:189
@@ -200,7 +201,7 @@ msgstr ""
 msgid "Edit Album"
 msgstr ""
 
-#: ../../mod/photos.php:879 ../../mod/photos.php:1263 ../../wip/photos.php:814
+#: ../../mod/photos.php:879 ../../mod/photos.php:1265 ../../wip/photos.php:814
 #: ../../wip/photos.php:1141 ../../wip/photos-chris.php:861
 #: ../../wip/photos-chris.php:1188
 msgid "View Photo"
@@ -291,8 +292,8 @@ msgstr ""
 msgid "Please wait"
 msgstr ""
 
-#: ../../mod/photos.php:1106 ../../mod/photos.php:1146
-#: ../../mod/photos.php:1175 ../../mod/network.php:503
+#: ../../mod/photos.php:1106 ../../mod/photos.php:1148
+#: ../../mod/photos.php:1177 ../../mod/network.php:503
 #: ../../mod/profile.php:392 ../../mod/display.php:171
 #: ../../wip/photos.php:986 ../../wip/photos.php:1025
 #: ../../wip/photos.php:1053 ../../wip/photos-chris.php:1033
@@ -300,22 +301,27 @@ msgstr ""
 msgid "This is you"
 msgstr ""
 
-#: ../../mod/photos.php:1203 ../../mod/network.php:512 ../../mod/group.php:141
-#: ../../mod/profile.php:438 ../../mod/display.php:238
+#: ../../mod/photos.php:1108 ../../mod/network.php:505
+#: ../../mod/profile.php:394 ../../mod/display.php:173 ../../boot.php:360
+msgid "Comment"
+msgstr ""
+
+#: ../../mod/photos.php:1205 ../../mod/network.php:514 ../../mod/group.php:141
+#: ../../mod/profile.php:440 ../../mod/display.php:240
 msgid "Delete"
 msgstr ""
 
-#: ../../mod/photos.php:1249 ../../wip/photos.php:1127
+#: ../../mod/photos.php:1251 ../../wip/photos.php:1127
 #: ../../wip/photos-chris.php:1174
 msgid "Recent Photos"
 msgstr ""
 
-#: ../../mod/photos.php:1253 ../../wip/photos.php:1131
+#: ../../mod/photos.php:1255 ../../wip/photos.php:1131
 #: ../../wip/photos-chris.php:1178
 msgid "Upload New Photos"
 msgstr ""
 
-#: ../../mod/photos.php:1269 ../../wip/photos.php:1147
+#: ../../mod/photos.php:1271 ../../wip/photos.php:1147
 #: ../../wip/photos-chris.php:1194
 msgid "View Album"
 msgstr ""
@@ -328,8 +334,8 @@ msgstr ""
 msgid "Edit post"
 msgstr ""
 
-#: ../../mod/editpost.php:62 ../../mod/network.php:511
-#: ../../mod/profile.php:416 ../../mod/display.php:222
+#: ../../mod/editpost.php:62 ../../mod/network.php:513
+#: ../../mod/profile.php:418 ../../mod/display.php:224
 msgid "Edit"
 msgstr ""
 
@@ -519,11 +525,15 @@ msgstr ""
 msgid "Does $name know you?"
 msgstr ""
 
-#: ../../mod/dfrn_request.php:620 ../../mod/register.php:436
+#: ../../mod/dfrn_request.php:620 ../../mod/settings.php:289
+#: ../../mod/settings.php:301 ../../mod/register.php:436
+#: ../../mod/profiles.php:355
 msgid "Yes"
 msgstr ""
 
-#: ../../mod/dfrn_request.php:621 ../../mod/register.php:437
+#: ../../mod/dfrn_request.php:621 ../../mod/settings.php:290
+#: ../../mod/settings.php:302 ../../mod/register.php:437
+#: ../../mod/profiles.php:356
 msgid "No"
 msgstr ""
 
@@ -774,7 +784,7 @@ msgstr ""
 msgid "New Follower"
 msgstr ""
 
-#: ../../mod/notifications.php:130
+#: ../../mod/notifications.php:130 ../../mod/notifications.php:153
 msgid "Approve"
 msgstr ""
 
@@ -786,7 +796,11 @@ msgstr ""
 msgid "User registrations waiting for confirm"
 msgstr ""
 
-#: ../../mod/notifications.php:163
+#: ../../mod/notifications.php:154
+msgid "Deny"
+msgstr ""
+
+#: ../../mod/notifications.php:159
 msgid "No registrations."
 msgstr ""
 
@@ -1088,15 +1102,23 @@ msgstr ""
 msgid "&nbsp;(Optional) Allow this OpenID to login to this account."
 msgstr ""
 
-#: ../../mod/settings.php:310
+#: ../../mod/settings.php:288
+msgid "Publish your default profile in site directory?"
+msgstr ""
+
+#: ../../mod/settings.php:300
+msgid "Publish your default profile in global social directory?"
+msgstr ""
+
+#: ../../mod/settings.php:316
 msgid "Profile is <strong>not published</strong>."
 msgstr ""
 
-#: ../../mod/settings.php:353
+#: ../../mod/settings.php:359
 msgid "Export Personal Data"
 msgstr ""
 
-#: ../../mod/settings.php:371
+#: ../../mod/settings.php:377
 msgid "Default Post Permissions"
 msgstr ""
 
@@ -1184,8 +1206,8 @@ msgstr ""
 msgid "Group: "
 msgstr ""
 
-#: ../../mod/network.php:330 ../../mod/network.php:561
-#: ../../mod/profile.php:460 ../../mod/display.php:262
+#: ../../mod/network.php:330 ../../mod/network.php:563
+#: ../../mod/profile.php:462 ../../mod/display.php:264
 #: ../../mod/search.php:124
 msgid "View $name's profile"
 msgstr ""
@@ -1203,24 +1225,24 @@ msgstr ""
 msgid "See all %d comments"
 msgstr ""
 
-#: ../../mod/network.php:562 ../../mod/display.php:263
+#: ../../mod/network.php:564 ../../mod/display.php:265
 msgid "View $owner_name's profile"
 msgstr ""
 
-#: ../../mod/network.php:563 ../../mod/display.php:264
+#: ../../mod/network.php:565 ../../mod/display.php:266
 msgid "to"
 msgstr ""
 
-#: ../../mod/network.php:564 ../../mod/display.php:265
+#: ../../mod/network.php:566 ../../mod/display.php:267
 msgid "Wall-to-Wall"
 msgstr ""
 
-#: ../../mod/network.php:565 ../../mod/display.php:266
+#: ../../mod/network.php:567 ../../mod/display.php:268
 msgid "via Wall-To-Wall:"
 msgstr ""
 
-#: ../../mod/network.php:607 ../../mod/register.php:442
-#: ../../mod/profile.php:494 ../../mod/display.php:318
+#: ../../mod/network.php:609 ../../mod/register.php:442
+#: ../../mod/profile.php:496 ../../mod/display.php:320
 msgid ""
 "Shared content is covered by the <a href=\"http://creativecommons.org/"
 "licenses/by/3.0/\">Creative Commons Attribution 3.0</a> license."
@@ -1525,7 +1547,7 @@ msgstr ""
 msgid "%s posted an update."
 msgstr ""
 
-#: ../../mod/item.php:598 ../../mod/display.php:15 ../../mod/display.php:313
+#: ../../mod/item.php:598 ../../mod/display.php:15 ../../mod/display.php:315
 msgid "Item not found."
 msgstr ""
 
@@ -1705,7 +1727,7 @@ msgstr ""
 msgid "following"
 msgstr ""
 
-#: ../../mod/display.php:306
+#: ../../mod/display.php:308
 msgid "Item has been removed."
 msgstr ""
 
@@ -1763,17 +1785,33 @@ msgstr ""
 msgid "Profile unavailable to clone."
 msgstr ""
 
-#: ../../mod/profiles.php:370
+#: ../../mod/profiles.php:354
+msgid "Hide my contact/friend list from viewers of this profile?"
+msgstr ""
+
+#: ../../mod/profiles.php:373
 msgid ""
 "This is your <strong>public</strong> profile.<br />It <strong>may</strong> "
 "be visible to anybody using the internet."
 msgstr ""
 
-#: ../../mod/profiles.php:380 ../../mod/directory.php:91
+#: ../../mod/profiles.php:383 ../../mod/directory.php:91
 msgid "Age: "
 msgstr ""
 
-#: ../../mod/profiles.php:422
+#: ../../mod/profiles.php:418 ../../include/nav.php:110
+msgid "Profiles"
+msgstr ""
+
+#: ../../mod/profiles.php:419
+msgid "Change profile photo"
+msgstr ""
+
+#: ../../mod/profiles.php:420
+msgid "Create New Profile"
+msgstr ""
+
+#: ../../mod/profiles.php:432
 msgid "Profile Image"
 msgstr ""
 
@@ -2465,10 +2503,6 @@ msgstr ""
 msgid "Settings"
 msgstr ""
 
-#: ../../include/nav.php:110
-msgid "Profiles"
-msgstr ""
-
 #: ../../include/auth.php:27
 msgid "Logged out."
 msgstr ""
@@ -2570,10 +2604,6 @@ msgstr ""
 msgid "Delete this item?"
 msgstr ""
 
-#: ../../boot.php:360
-msgid "Comment"
-msgstr ""
-
 #: ../../boot.php:813
 msgid "Create a New Account"
 msgstr ""
index a40f367012304ed15628d43945c2528f5b1d1a29..9ee31768d228cf41eba301f31afbd5e65654bce4 100644 (file)
@@ -193,6 +193,7 @@ $a->strings["I don't like this \x28toggle\x29"] = "I don't like this \x28toggle\
 $a->strings['Share'] = 'Share';
 $a->strings['Please wait'] = 'Please wait';
 $a->strings['This is you'] = 'This is you';
+$a->strings['Submit'] = 'Submit';
 $a->strings['Edit'] = 'Edit';
 $a->strings['Delete'] = 'Delete';
 $a->strings['View $name\'s profile'] = 'View $name\'s profile';
@@ -233,7 +234,6 @@ $a->strings['Group name changed.'] = 'Group name changed.';
 $a->strings['Membership list updated.'] = 'Membership list updated.';
 $a->strings['Create a group of contacts/friends.'] = 'Create a group of contacts/friends.';
 $a->strings['Group Name: '] = 'Group Name: ';
-$a->strings['Submit'] = 'Submit';
 $a->strings['Group removed.'] = 'Group removed.';
 $a->strings['Unable to remove group.'] = 'Unable to remove group.';
 $a->strings['Group Editor'] = 'Group Editor';
@@ -365,6 +365,7 @@ $a->strings['New Follower'] = 'New Follower';
 $a->strings['Approve'] = 'Approve';
 $a->strings['No notifications.'] = 'No notifications.';
 $a->strings['User registrations waiting for confirm'] = 'User registrations waiting for confirm';
+$a->strings['Deny'] = 'Deny';
 $a->strings['No registrations.'] = 'No registrations.';
 $a->strings['Post successful.'] = 'Post successful.';
 $a->strings['Login failed.'] = 'Login failed.';
@@ -417,7 +418,11 @@ $a->strings['Profile deleted.'] = 'Profile deleted.';
 $a->strings['Profile-'] = 'Profile-';
 $a->strings['New profile created.'] = 'New profile created.';
 $a->strings['Profile unavailable to clone.'] = 'Profile unavailable to clone.';
+$a->strings['Hide my contact/friend list from viewers of this profile?'] = 'Hide my contact/friend list from viewers of this profile?';
 $a->strings['This is your <strong>public</strong> profile.<br />It <strong>may</strong> be visible to anybody using the internet.'] = 'This is your <strong>public</strong> profile.<br />It <strong>may</strong> be visible to anybody using the internet.';
+$a->strings['Profiles'] = 'Profiles';
+$a->strings['Change profile photo'] = 'Change profile photo';
+$a->strings['Create New Profile'] = 'Create New Profile';
 $a->strings['Profile Image'] = 'Profile Image';
 $a->strings['Invalid OpenID url'] = 'Invalid OpenID url';
 $a->strings['Please enter the required information.'] = 'Please enter the required information.';
@@ -474,6 +479,8 @@ $a->strings['Automatic Friend Account'] = 'Automatic Friend Account';
 $a->strings['Automatically approve all connection/friend requests as friends'] = 'Automatically approve all connection/friend requests as friends';
 $a->strings['OpenID: '] = 'OpenID: ';
 $a->strings["&nbsp;\x28Optional\x29 Allow this OpenID to login to this account."] = "&nbsp;\x28Optional\x29 Allow this OpenID to login to this account.";
+$a->strings['Publish your default profile in site directory?'] = 'Publish your default profile in site directory?';
+$a->strings['Publish your default profile in global social directory?'] = 'Publish your default profile in global social directory?';
 $a->strings['Profile is <strong>not published</strong>.'] = 'Profile is <strong>not published</strong>.';
 $a->strings['Export Personal Data'] = 'Export Personal Data';
 $a->strings['Default Post Permissions'] = 'Default Post Permissions';
@@ -526,7 +533,6 @@ $a->strings['Network'] = 'Network';
 $a->strings['Notifications'] = 'Notifications';
 $a->strings['Manage'] = 'Manage';
 $a->strings['Settings'] = 'Settings';
-$a->strings['Profiles'] = 'Profiles';
 $a->strings['Embedding disabled'] = 'Embedding disabled';
 $a->strings['Male'] = 'Male';
 $a->strings['Female'] = 'Female';
diff --git a/view/de/profile-hide-friends.tpl b/view/de/profile-hide-friends.tpl
deleted file mode 100644 (file)
index 1d69038..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<p id="hide-friends-text">
-Verberge meine Kontaktliste von Leuten die dieses Profil ansehen?
-</p>
-
-               <div id="hide-friends-yes-wrapper">
-               <label id="hide-friends-yes-label" for="hide-friends-yes">Ja</label>
-               <input type="radio" name="hide-friends" id="hide-friends-yes" $yes_selected value="1" />
-
-               <div id="hide-friends-break" ></div>    
-               </div>
-               <div id="hide-friends-no-wrapper">
-               <label id="hide-friends-no-label" for="hide-friends-no">Nein</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/de/profile-in-directory.tpl b/view/de/profile-in-directory.tpl
deleted file mode 100644 (file)
index 9cc62fc..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<p id="profile-in-directory">
-Soll dein Standard-Profil im Verzeichnis dieser Seite veröffentlich werden?
-</p>
-
-               <div id="profile-in-dir-yes-wrapper">
-               <label id="profile-in-dir-yes-label" for="profile-in-dir-yes">Ja</label>
-               <input type="radio" name="profile_in_directory" id="profile-in-dir-yes" $yes_selected value="1" />
-
-               <div id="profile-in-dir-break" ></div>  
-               </div>
-               <div id="profile-in-dir-no-wrapper">
-               <label id="profile-in-dir-no-label" for="profile-in-dir-no">Nein</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/de/profile-in-netdir.tpl b/view/de/profile-in-netdir.tpl
deleted file mode 100644 (file)
index 26f45ac..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<p id="profile-in-directory">
-Soll dein Standard-Profil im globalen Verzeichnis veröffentlicht werden?
-</p>
-
-               <div id="profile-in-netdir-yes-wrapper">
-               <label id="profile-in-netdir-yes-label" for="profile-in-netdir-yes">Ja</label>
-               <input type="radio" name="profile_in_netdirectory" id="profile-in-netdir-yes" $yes_selected value="1" />
-
-               <div id="profile-in-netdir-break" ></div>       
-               </div>
-               <div id="profile-in-netdir-no-wrapper">
-               <label id="profile-in-netdir-no-label" for="profile-in-netdir-no">Nein</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/de/profile_listing_header.tpl b/view/de/profile_listing_header.tpl
deleted file mode 100644 (file)
index 3be77ba..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<h1>Profile</h1>
-<p id="profile-listing-desc" >
-<a href="profile_photo" >Profilbild ändern</a>
-</p>
-<div id="profile-listing-new-link-wrapper" >
-<a href="profiles/new" id="profile-listing-new-link" name="Neues Profil anlegen" >Neues Profil anlegen</a>
-</div>
-
diff --git a/view/en/profile-hide-friends.tpl b/view/en/profile-hide-friends.tpl
deleted file mode 100644 (file)
index 54ade00..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<p id="hide-friends-text">
-Hide my contact/friend list from viewers of this profile?
-</p>
-
-               <div id="hide-friends-yes-wrapper">
-               <label id="hide-friends-yes-label" for="hide-friends-yes">Yes</label>
-               <input type="radio" name="hide-friends" id="hide-friends-yes" $yes_selected value="1" />
-
-               <div id="hide-friends-break" ></div>    
-               </div>
-               <div id="hide-friends-no-wrapper">
-               <label id="hide-friends-no-label" for="hide-friends-no">No</label>
-               <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/en/profile-in-directory.tpl b/view/en/profile-in-directory.tpl
deleted file mode 100644 (file)
index 98af3e5..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<p id="profile-in-directory">
-Publish your default profile in site directory? 
-</p>
-
-               <div id="profile-in-dir-yes-wrapper">
-               <label id="profile-in-dir-yes-label" for="profile-in-dir-yes">Yes</label>
-               <input type="radio" name="profile_in_directory" id="profile-in-dir-yes" $yes_selected value="1" />
-
-               <div id="profile-in-dir-break" ></div>  
-               </div>
-               <div id="profile-in-dir-no-wrapper">
-               <label id="profile-in-dir-no-label" for="profile-in-dir-no">No</label>
-               <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/en/profile-in-netdir.tpl b/view/en/profile-in-netdir.tpl
deleted file mode 100644 (file)
index be111aa..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<p id="profile-in-directory">
-Publish your default profile in global social directory? 
-</p>
-
-               <div id="profile-in-netdir-yes-wrapper">
-               <label id="profile-in-netdir-yes-label" for="profile-in-netdir-yes">Yes</label>
-               <input type="radio" name="profile_in_netdirectory" id="profile-in-netdir-yes" $yes_selected value="1" />
-
-               <div id="profile-in-netdir-break" ></div>       
-               </div>
-               <div id="profile-in-netdir-no-wrapper">
-               <label id="profile-in-netdir-no-label" for="profile-in-netdir-no">No</label>
-               <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/en/profile_listing_header.tpl b/view/en/profile_listing_header.tpl
deleted file mode 100644 (file)
index d4b139a..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<h1>Profiles</h1>
-<p id="profile-listing-desc" >
-<a href="profile_photo" >Change profile photo</a>
-</p>
-<div id="profile-listing-new-link-wrapper" >
-<a href="profiles/new" id="profile-listing-new-link" name="Create New Profile" >Create New Profile</a>
-</div>
-
diff --git a/view/en/registrations.tpl b/view/en/registrations.tpl
deleted file mode 100644 (file)
index c864604..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<li>$fullname ($email) : <a href="$approvelink">Approve</a> - <a href="$denylink">Deny</a></li>
diff --git a/view/fr/profile-hide-friends.tpl b/view/fr/profile-hide-friends.tpl
deleted file mode 100644 (file)
index 857e049..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<p id="hide-friends-text">
-Cacher ma liste de contacts/amis des visiteurs de ce profil?
-</p>
-
-               <div id="hide-friends-yes-wrapper">
-               <label id="hide-friends-yes-label" for="hide-friends-yes">Oui</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">Non</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/fr/profile-in-directory.tpl b/view/fr/profile-in-directory.tpl
deleted file mode 100644 (file)
index 1189e3f..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<p id="profile-in-directory">
-Publier votre profil par défaut dans l'annuaire local?
-</p>
-
-               <div id="profile-in-dir-yes-wrapper">
-               <label id="profile-in-dir-yes-label" for="profile-in-dir-yes">Oui</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">Non</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/fr/profile-in-netdir.tpl b/view/fr/profile-in-netdir.tpl
deleted file mode 100644 (file)
index 9b94f30..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<p id="profile-in-directory">
-Publier votre profil par défaut dans l'annuaire global?
-</p>
-
-               <div id="profile-in-netdir-yes-wrapper">
-               <label id="profile-in-netdir-yes-label" for="profile-in-netdir-yes">Oui</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">Non</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/fr/profile_listing_header.tpl b/view/fr/profile_listing_header.tpl
deleted file mode 100644 (file)
index 70393e1..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<h1>Profiles</h1>
-<p id="profile-listing-desc" >
-<a href="profile_photo" >Changer la photo du profil</a>
-</p>
-<div id="profile-listing-new-link-wrapper" >
-<a href="profiles/new" id="profile-listing-new-link" name="Create New Profile" >Créer un nouveau profil</a>
-</div>
-
diff --git a/view/fr/registrations.tpl b/view/fr/registrations.tpl
deleted file mode 100644 (file)
index 73bc388..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<li>$fullname ($email) : <a href="$approvelink">Approuver</a> - <a href="$denylink">Refuser</a></li>
diff --git a/view/it/profile-hide-friends.tpl b/view/it/profile-hide-friends.tpl
deleted file mode 100644 (file)
index fb04d44..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<p id="hide-friends-text">
-Nascondere la lista di contatti/amici dai visitatori di questo profilo?
-</p>
-
-               <div id="hide-friends-yes-wrapper">
-               <label id="hide-friends-yes-label" for="hide-friends-yes">Si</label>
-               <input type="radio" name="hide-friends" id="hide-friends-yes" $yes_selected value="1" />
-
-               <div id="hide-friends-break" ></div>    
-               </div>
-               <div id="hide-friends-no-wrapper">
-               <label id="hide-friends-no-label" for="hide-friends-no">No</label>
-               <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/it/profile-in-directory.tpl b/view/it/profile-in-directory.tpl
deleted file mode 100644 (file)
index 69b0253..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<p id="profile-in-directory">
-Pubblicare il tuo profilo di default nell'elenco sul sito?
-</p>
-
-               <div id="profile-in-dir-yes-wrapper">
-               <label id="profile-in-dir-yes-label" for="profile-in-dir-yes">Si</label>
-               <input type="radio" name="profile_in_directory" id="profile-in-dir-yes" $yes_selected value="1" />
-
-               <div id="profile-in-dir-break" ></div>  
-               </div>
-               <div id="profile-in-dir-no-wrapper">
-               <label id="profile-in-dir-no-label" for="profile-in-dir-no">No</label>
-               <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/it/profile-in-netdir.tpl b/view/it/profile-in-netdir.tpl
deleted file mode 100644 (file)
index ffe56ed..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<p id="profile-in-directory">
-Pubblicare il tuo profilo di default nell'elenco sociale globale? 
-</p>
-
-               <div id="profile-in-netdir-yes-wrapper">
-               <label id="profile-in-netdir-yes-label" for="profile-in-netdir-yes">Si</label>
-               <input type="radio" name="profile_in_netdirectory" id="profile-in-netdir-yes" $yes_selected value="1" />
-
-               <div id="profile-in-netdir-break" ></div>       
-               </div>
-               <div id="profile-in-netdir-no-wrapper">
-               <label id="profile-in-netdir-no-label" for="profile-in-netdir-no">No</label>
-               <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/it/profile_listing_header.tpl b/view/it/profile_listing_header.tpl
deleted file mode 100644 (file)
index 995a577..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<h1>Profiles</h1>
-<p id="profile-listing-desc" >
-<a href="profile_photo" >Cambia la foto del profilo</a>
-</p>
-<div id="profile-listing-new-link-wrapper" >
-<a href="profiles/new" id="profile-listing-new-link" name="Create New Profile" >Crea un nuovo profilo</a>
-</div>
-
diff --git a/view/it/registrations.tpl b/view/it/registrations.tpl
deleted file mode 100644 (file)
index 698c766..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<li>$fullname ($email) : <a href="$approvelink">Approva</a> - <a href="$denylink">Rifiuta</a></li>
diff --git a/view/profile-hide-friends.tpl b/view/profile-hide-friends.tpl
new file mode 100644 (file)
index 0000000..9ecacfb
--- /dev/null
@@ -0,0 +1,16 @@
+<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/profile-in-directory.tpl b/view/profile-in-directory.tpl
new file mode 100644 (file)
index 0000000..56b28d3
--- /dev/null
@@ -0,0 +1,16 @@
+<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/profile-in-netdir.tpl b/view/profile-in-netdir.tpl
new file mode 100644 (file)
index 0000000..882ad2d
--- /dev/null
@@ -0,0 +1,16 @@
+<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/profile_listing_header.tpl b/view/profile_listing_header.tpl
new file mode 100644 (file)
index 0000000..707dfec
--- /dev/null
@@ -0,0 +1,8 @@
+<h1>$header</h1>
+<p id="profile-listing-desc" >
+<a href="profile_photo" >$chg_photo</a>
+</p>
+<div id="profile-listing-new-link-wrapper" >
+<a href="profiles/new" id="profile-listing-new-link" title="$cr_new" >$cr_new</a>
+</div>
+
diff --git a/view/sv/profile-hide-friends.tpl b/view/sv/profile-hide-friends.tpl
deleted file mode 100644 (file)
index 367c431..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<p id="hide-friends-text">
-D&ouml;lj kontaktlista/v&auml;nlista f&ouml;r de som ser denna profil?
-</p>
-
-               <div id="hide-friends-yes-wrapper">
-               <label id="hide-friends-yes-label" for="hide-friends-yes">Ja</label>
-               <input type="radio" name="hide-friends" id="hide-friends-yes" $yes_selected value="1" />
-
-               <div id="hide-friends-break" ></div>    
-               </div>
-               <div id="hide-friends-no-wrapper">
-               <label id="hide-friends-no-label" for="hide-friends-no">Nej</label>
-               <input type="radio" name="hide-friends" id="hide-friends-no" $no_selected value="0"  />
-
-               <div id="hide-friends-end"></div>
-               </div>
\ No newline at end of file
diff --git a/view/sv/profile-in-directory.tpl b/view/sv/profile-in-directory.tpl
deleted file mode 100644 (file)
index 982fe99..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<p id="profile-in-directory">
-Publicera din huvudsakliga profil (default) i webbplatsens medlemskatalog? 
-</p>
-
-               <div id="profile-in-dir-yes-wrapper">
-               <label id="profile-in-dir-yes-label" for="profile-in-dir-yes">Ja</label>
-               <input type="radio" name="profile_in_directory" id="profile-in-dir-yes" $yes_selected value="1" />
-
-               <div id="profile-in-dir-break" ></div>  
-               </div>
-               <div id="profile-in-dir-no-wrapper">
-               <label id="profile-in-dir-no-label" for="profile-in-dir-no">Nej</label>
-               <input type="radio" name="profile_in_directory" id="profile-in-dir-no" $no_selected value="0"  />
-
-               <div id="profile-in-dir-end"></div>
-               </div>
\ No newline at end of file
diff --git a/view/sv/profile-in-netdir.tpl b/view/sv/profile-in-netdir.tpl
deleted file mode 100644 (file)
index 4301735..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<p id="profile-in-directory">
-Publicera din huvudsakliga profil (default) i den globala medlemskatalogen? 
-</p>
-
-               <div id="profile-in-netdir-yes-wrapper">
-               <label id="profile-in-netdir-yes-label" for="profile-in-netdir-yes">Ja</label>
-               <input type="radio" name="profile_in_netdirectory" id="profile-in-netdir-yes" $yes_selected value="1" />
-
-               <div id="profile-in-netdir-break" ></div>       
-               </div>
-               <div id="profile-in-netdir-no-wrapper">
-               <label id="profile-in-netdir-no-label" for="profile-in-netdir-no">Nej</label>
-               <input type="radio" name="profile_in_netdirectory" id="profile-in-netdir-no" $no_selected value="0"  />
-
-               <div id="profile-in-netdir-end"></div>
-               </div>
\ No newline at end of file
diff --git a/view/sv/profile_listing_header.tpl b/view/sv/profile_listing_header.tpl
deleted file mode 100644 (file)
index ce81dd2..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<h1>Profiler</h1>
-<p id="profile-listing-desc" >
-<a href="profile_photo" >Byt profilbild</a>
-</p>
-<div id="profile-listing-new-link-wrapper" >
-<a href="profiles/new" id="profile-listing-new-link" name="Create New Profile" >Skapa ny profil</a>
-</div>
diff --git a/view/sv/registrations.tpl b/view/sv/registrations.tpl
deleted file mode 100644 (file)
index 869fa1a..0000000
+++ /dev/null
@@ -1 +0,0 @@
-<li>$fullname ($email) : <a href="$approvelink">Godk&auml;nn</a> - <a href="$denylink">Avsl&aring;</a></li>