]> git.mxchange.org Git - friendica.git/commitdiff
another template down
authorFriendika <info@friendika.com>
Mon, 21 Mar 2011 11:10:08 +0000 (04:10 -0700)
committerFriendika <info@friendika.com>
Mon, 21 Mar 2011 11:10:08 +0000 (04:10 -0700)
mod/profile.php
util/strings.php
view/de/profile_tabs.tpl [deleted file]
view/de/strings.php
view/en/profile_tabs.tpl [deleted file]
view/fr/profile_tabs.tpl [deleted file]
view/it/profile_tabs.tpl [deleted file]
view/it/strings.php
view/profile_tabs.tpl [new file with mode: 0644]
view/sv/profile_tabs.tpl [deleted file]

index 82a84c39ed99a529e0e809199c816f360774d5a1..fad8bc79b05594e2647235f2593efc03708eaead 100644 (file)
@@ -98,7 +98,10 @@ function profile_content(&$a, $update = 0) {
 
                $o .= replace_macros($tpl,array(
                        '$url' => $a->get_baseurl() . '/' . $a->cmd,
-                       '$phototab' => $a->get_baseurl() . '/photos/' . $a->profile['nickname']
+                       '$phototab' => $a->get_baseurl() . '/photos/' . $a->profile['nickname'],
+                       '$status' => t('Status')
+                       '$profile' => t('Profile'),
+                       '$photos' => t('Photos')
                ));
 
 
index 31dffd1620cdfe2151a8ecb1596347d928aa99b4..907bfb6df800ac1d6fdb2f28e1e1a1c4715e667e 100644 (file)
@@ -350,6 +350,9 @@ $a->strings['Example: @bob, @Barbara_Jensen, @jim@example.com, #California, #cam
 $a->strings['Recent Photos'] = 'Recent Photos';
 $a->strings['Upload New Photos'] = 'Upload New Photos';
 $a->strings['View Album'] = 'View Album';
+$a->strings['Status'] = 'Status';
+$a->strings['Profile'] = 'Profile';
+$a->strings['Photos'] = 'Photos';
 $a->strings['Image uploaded but image cropping failed.'] = 'Image uploaded but image cropping failed.';
 $a->strings['Unable to process image'] = 'Unable to process image';
 $a->strings['Image uploaded successfully.'] = 'Image uploaded successfully.';
diff --git a/view/de/profile_tabs.tpl b/view/de/profile_tabs.tpl
deleted file mode 100644 (file)
index 56e7d62..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-
-<div id="profile-tabs-wrapper" >
-       <a href="$url" id="profile-tab-status-link" class="profile-tabs" >Status</a>
-       <a href="$url?tab=profile" id="profile-tab-profile-link" class="profile-tabs" >Profil</a>
-       <a href="$phototab" id="profile-tab-photos-link" class="profile-tabs" >Fotos</a>
-<div id="profile-tabs-end"></div>
-</div>
\ No newline at end of file
index c18069f195186412785f23bea928caec00c1b278..2d8fe70068c9a4059279afe6c14dfbb4b76f0ac4 100644 (file)
@@ -331,6 +331,9 @@ $a->strings['Example: @bob, @Barbara_Jensen, @jim@example.com, #California, #cam
 $a->strings['Recent Photos'] = 'Neuste Fotos';
 $a->strings['Upload New Photos'] = 'Weitere Fotos hochladen';
 $a->strings['View Album'] = 'Album betrachten';
+$a->strings['Status'] = 'Status';
+$a->strings['Profile'] = 'Profil';
+$a->strings['Photos'] = 'Fotos';
 $a->strings['Image uploaded but image cropping failed.'] = 'Bilder hochgeladen aber das Zuschneiden ist fehlgeschlagen.';
 $a->strings['Image size reduction [175] failed.'] = 'Image size reduction [175] failed.';
 $a->strings['Image size reduction [80] failed.'] = 'Image size reduction [80] failed.';
diff --git a/view/en/profile_tabs.tpl b/view/en/profile_tabs.tpl
deleted file mode 100644 (file)
index 9c6c54a..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-
-<div id="profile-tabs-wrapper" >
-       <a href="$url" id="profile-tab-status-link" class="profile-tabs" >Status</a>
-       <a href="$url?tab=profile" id="profile-tab-profile-link" class="profile-tabs" >Profile</a>
-       <a href="$phototab" id="profile-tab-photos-link" class="profile-tabs" >Photos</a>
-<div id="profile-tabs-end"></div>
-</div>
\ No newline at end of file
diff --git a/view/fr/profile_tabs.tpl b/view/fr/profile_tabs.tpl
deleted file mode 100644 (file)
index 9c6c54a..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-
-<div id="profile-tabs-wrapper" >
-       <a href="$url" id="profile-tab-status-link" class="profile-tabs" >Status</a>
-       <a href="$url?tab=profile" id="profile-tab-profile-link" class="profile-tabs" >Profile</a>
-       <a href="$phototab" id="profile-tab-photos-link" class="profile-tabs" >Photos</a>
-<div id="profile-tabs-end"></div>
-</div>
\ No newline at end of file
diff --git a/view/it/profile_tabs.tpl b/view/it/profile_tabs.tpl
deleted file mode 100644 (file)
index 9c0f27d..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-
-<div id="profile-tabs-wrapper" >
-       <a href="$url" id="profile-tab-status-link" class="profile-tabs" >Stato</a>
-       <a href="$url?tab=profile" id="profile-tab-profile-link" class="profile-tabs" >Profilo</a>
-       <a href="$phototab" id="profile-tab-photos-link" class="profile-tabs" >Foto</a>
-<div id="profile-tabs-end"></div>
-</div>
index f27d8a1b052a6b9bce153184ebd32e892afb91d3..a771f933d6c70ff12549341677b04c2cf9debf4b 100644 (file)
@@ -165,6 +165,9 @@ $a->strings["Example: @bob, @Barbara_Jensen, @jim@example.com, #California, #cam
 $a->strings["Recent Photos"] = "Foto recenti";
 $a->strings["Upload New Photos"] = "Carica nuova foto";
 $a->strings["View Album"] = "Vedi album";
+$a->strings['Status'] = 'Stato';
+$a->strings['Profile'] = 'Profilo';
+$a->strings['Photos'] = 'Foto';
 $a->strings["Item not found."] = "Elemento non trovato.";
 $a->strings["View \$owner_name's profile"] = "Guarda il profilo di \$owner_name";
 $a->strings["to"] = "a";
diff --git a/view/profile_tabs.tpl b/view/profile_tabs.tpl
new file mode 100644 (file)
index 0000000..975d069
--- /dev/null
@@ -0,0 +1,7 @@
+
+<div id="profile-tabs-wrapper" >
+       <a href="$url" id="profile-tab-status-link" class="profile-tabs" >$status</a>
+       <a href="$url?tab=profile" id="profile-tab-profile-link" class="profile-tabs" >$profile</a>
+       <a href="$phototab" id="profile-tab-photos-link" class="profile-tabs" >$photos</a>
+<div id="profile-tabs-end"></div>
+</div>
\ No newline at end of file
diff --git a/view/sv/profile_tabs.tpl b/view/sv/profile_tabs.tpl
deleted file mode 100644 (file)
index 9c6c54a..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-
-<div id="profile-tabs-wrapper" >
-       <a href="$url" id="profile-tab-status-link" class="profile-tabs" >Status</a>
-       <a href="$url?tab=profile" id="profile-tab-profile-link" class="profile-tabs" >Profile</a>
-       <a href="$phototab" id="profile-tab-photos-link" class="profile-tabs" >Photos</a>
-<div id="profile-tabs-end"></div>
-</div>
\ No newline at end of file