]> git.mxchange.org Git - friendica.git/commitdiff
one more template free from translation, allow for later item editing within jot.tpl
authorFriendika <info@friendika.com>
Tue, 8 Mar 2011 03:58:22 +0000 (19:58 -0800)
committerFriendika <info@friendika.com>
Tue, 8 Mar 2011 03:58:22 +0000 (19:58 -0800)
mod/network.php
mod/profile.php
util/strings.php
view/de/jot.tpl [deleted file]
view/de/strings.php
view/en/jot.tpl [deleted file]
view/fr/jot.tpl [deleted file]
view/fr/strings.php
view/it/jot.tpl [deleted file]
view/it/strings.php
view/jot.tpl [new file with mode: 0644]

index 144ae5874c4d901978afdbb572f23c4b14d748af..1ef4ab37232a2bc4e170a9ef15cc05ac42f0649b 100644 (file)
@@ -87,6 +87,17 @@ function network_content(&$a, $update = 0) {
 
                $o .= replace_macros($tpl,array(
                        '$return_path' => $a->cmd,
+                       '$action' => 'item',
+                       '$share' => t('Share'),
+                       '$upload' => t('Upload photo'),
+                       '$weblink' => t('Insert web link'),
+                       '$youtube' => t('Insert YouTube video'),
+                       '$setloc' => t('Set your location'),
+                       '$noloc' => t('Clear browser location'),
+                       '$wait' => t('Please wait'),
+                       '$permset' => t('Permission settings'),
+                       '$content' => '',
+                       '$post_id' => '',
                        '$baseurl' => $a->get_baseurl(),
                        '$defloc' => $a->user['default-location'],
                        '$visitor' => 'block',
index 827530bc8aa63afa8a1c532c16a84a5d9ec7a2e8..b23af2e6635aeed42077c33843d183ff2abc1d24 100644 (file)
@@ -147,6 +147,17 @@ function profile_content(&$a, $update = 0) {
 
                        $o .= replace_macros($tpl,array(
                                '$baseurl' => $a->get_baseurl(),
+                               '$action' => 'item',
+                               '$share' => t('Share'),
+                               '$upload' => t('Upload photo'),
+                               '$weblink' => t('Insert web link'),
+                               '$youtube' => t('Insert YouTube video'),
+                               '$setloc' => t('Set your location'),
+                               '$noloc' => t('Clear browser location'),
+                               '$wait' => t('Please wait'),
+                               '$permset' => t('Permission settings'),
+                               '$content' => '',
+                               '$post_id' => '',
                                '$defloc' => (($is_owner) ? $a->user['default-location'] : ''),
                                '$return_path' => $a->cmd,
                                '$visitor' => (($is_owner || $commvisitor) ? 'block' : 'none'),
index f74f69584e69897ea23f28ca29f612c53522c666..71b1d776b78fb0ad1e497d63059881c1e8ed071f 100644 (file)
@@ -87,7 +87,7 @@ $a->strings['Delete message'] = 'Delete message';
 $a->strings['Send Reply'] = 'Send Reply';
 $a->strings['Applications'] = 'Applications';
 $a->strings["Invite Friends"] = "Invite Friends";
-$a->strings['Connect/Follow [profile address]'] = 'Connect/Follow [profile address]';
+$a->strings['Connect/Follow'] = 'Connect/Follow';
 $a->strings['Example: bob@example.com, http://example.com/barbara'] = 'Example: bob@example.com, http://example.com/barbara';
 $a->strings['Follow'] = 'Follow';
 $a->strings['Could not access contact record.'] = 'Could not access contact record.';
@@ -193,6 +193,7 @@ $a->strings['Global Directory'] = 'Global Directory';
 $a->strings['Item not found.'] = 'Item not found.';
 $a->strings['Private Message'] = 'Private Message';
 $a->strings['This is you'] = 'This is you';
+$a->strings['Delete'] = 'Delete';
 $a->strings['View $name\'s profile'] = 'View $name\'s profile';
 $a->strings['View $owner_name\'s profile'] = 'View $owner_name\'s profile';
 $a->strings['to'] = 'to';
@@ -200,6 +201,8 @@ $a->strings['Wall-to-Wall'] = 'Wall-to-Wall';
 $a->strings['via Wall-To-Wall:'] = 'via Wall-To-Wall:';
 $a->strings['Item has been removed.'] = 'Item has been removed.';
 $a->strings['Shared content is covered by the <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0</a> license.'] = 'Shared content is covered by the <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0</a> license.';
+$a->strings['CC: email addresses'] = 'CC: email addresses';
+$a->strings['Example: bob@example.com, mary@example.com'] = 'Example: bob@example.com, mary@example.com';
 $a->strings['The profile address specified does not provide adequate information.'] = 'The profile address specified does not provide adequate information.';
 $a->strings['Limited profile. This person will be unable to receive direct/personal notifications from you.'] = 'Limited profile. This person will be unable to receive direct/personal notifications from you.';
 $a->strings['Unable to retrieve contact information.'] = 'Unable to retrieve contact information.';
@@ -211,7 +214,6 @@ $a->strings['Group name changed.'] = 'Group name changed.';
 $a->strings['Membership list updated.'] = 'Membership list updated.';
 $a->strings['Group removed.'] = 'Group removed.';
 $a->strings['Unable to remove group.'] = 'Unable to remove group.';
-$a->strings['Delete'] = 'Delete';
 $a->strings["Welcome to "] = "Welcome to ";
 $a->strings['Could not create/connect to database.'] = 'Could not create/connect to database.';
 $a->strings['Connected to database.'] = 'Connected to database.';
@@ -267,10 +269,17 @@ $a->strings['\'s'] = '\'s';
 $a->strings['Remote privacy information not available.'] = 'Remote privacy information not available.';
 $a->strings['Visible to:'] = 'Visible to:';
 $a->strings['Password reset requested at '] = 'Password reset requested at ';
+$a->strings["Welcome back "] = "Welcome back ";
+$a->strings['Manage Identities and/or Pages'] = 'Manage Identities and/or Pages';
+$a->strings["\x28Toggle between different identities or community/group pages which share your account details.\x29"] = "\x28Toggle between different identities or community/group pages which share your account details.\x29";
+$a->strings['Select an identity to manage: '] = 'Select an identity to manage: ';
 $a->strings['Normal View'] = 'Normal View';
 $a->strings['New Item View'] = 'New Item View';
-$a->strings['CC: email addresses'] = 'CC: email addresses';
-$a->strings['Example: bob@example.com, mary@example.com'] = 'Example: bob@example.com, mary@example.com';
+$a->strings['Share'] = 'Share';
+$a->strings['Insert YouTube video'] = 'Insert YouTube video';
+$a->strings['Set your location'] = 'Set your location';
+$a->strings['Clear browser location'] = 'Clear browser location';
+$a->strings['Permission settings'] = 'Permission settings';
 $a->strings['No such group'] = 'No such group';
 $a->strings['Group is empty'] = 'Group is empty';
 $a->strings['Group: '] = 'Group: ';
@@ -293,7 +302,6 @@ $a->strings['Approve'] = 'Approve';
 $a->strings['No notifications.'] = 'No notifications.';
 $a->strings['No registrations.'] = 'No registrations.';
 $a->strings['Login failed.'] = 'Login failed.';
-$a->strings["Welcome back "] = "Welcome back ";
 $a->strings['Photo Albums'] = 'Photo Albums';
 $a->strings['Contact Photos'] = 'Contact Photos';
 $a->strings['Contact information unavailable'] = 'Contact information unavailable';
@@ -436,6 +444,7 @@ $a->strings['Apps'] = 'Apps';
 $a->strings['Directory'] = 'Directory';
 $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';
@@ -527,9 +536,10 @@ $a->strings['If enabled all your <strong>public</strong> postings will be posted
 $a->strings['Send public postings to StatusNet'] = 'Send public postings to StatusNet';
 $a->strings['Clear OAuth configuration'] = 'Clear OAuth configuration';
 $a->strings['Three Dimensional Tic-Tac-Toe'] = 'Three Dimensional Tic-Tac-Toe';
+$a->strings['3D Tic-Tac-Toe'] = '3D Tic-Tac-Toe';
 $a->strings['New game'] = 'New game';
 $a->strings['New game with handicap'] = '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.'] = 'Three dimensional tic-tac-toe is just like the traditional game except that it is played on multiple levels simultaneously.';
+$a->strings['Three dimensional tic-tac-toe is just like the traditional game except that it is played on multiple levels simultaneously. '] = '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.'] = '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.'] = '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...'] = 'You go first...';
diff --git a/view/de/jot.tpl b/view/de/jot.tpl
deleted file mode 100644 (file)
index db73b17..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-
-<div id="profile-jot-wrapper" >
-       <div id="profile-jot-banner-wrapper">
-               <div id="profile-jot-desc" >&nbsp;</div>
-               <div id="character-counter" class="grey"></div>
-       </div>
-       <div id="profile-jot-banner-end"></div>
-
-       <form id="profile-jot-form" action="item" method="post" >
-               <input type="hidden" name="type" value="wall" />
-               <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="" />
-
-
-               <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" ></textarea>
-
-<div id="profile-jot-submit-wrapper" >
-<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" ><img id="wall-image-upload" src="images/camera-icon.gif" alt="Foto hochladen" title="Foto hochladen"  /></div>
-       </div> 
-       <div id="profile-link-wrapper" style="display: $visitor;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
-               <img id="profile-link" src="images/link-icon.gif" alt="Weblink einfügen" title="Weblink einfügen" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink();" />
-       </div> 
-       <div id="profile-youtube-wrapper" style="display: $visitor;" >
-               <img id="profile-video" src="images/youtube_icon.gif" alt="YouTube Video einfügen" title="YouTube Video einfügen" onclick="jotGetVideo();" />
-       </div> 
-       <div id="profile-location-wrapper" style="display: $visitor;" >
-               <img id="profile-location" src="images/globe.gif" alt="Deinen Standort festlegen" title="Deinen Standort festlegen" onclick="jotGetLocation();" />
-       </div> 
-       <div id="profile-nolocation-wrapper" style="display: none;" >
-               <img id="profile-nolocation" src="images/noglobe.gif" alt="Browser Standort leeren" title="Browser Standort leeren" onclick="jotClearLocation();" />
-       </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="Bitte warten" title="Bitte warten" style="display: none;" />
-       </div> 
-       <div id="profile-jot-perms" class="profile-jot-perms" style="display: $visitor;" ><img id="jot-perms-icon" src="images/$lockstate_icon.gif"  alt="Berechtigungseinstellungen" title="Berechtigungseinstellungen" onClick="openClose('profile-jot-acl-wrapper'); openClose('profile-jot-email-wrapper'); openClose('profile-jot-networks');" />$bang</div>
-       <div id="profile-jot-perms-end"></div>
-       <div id="profile-jot-email-wrapper" style="display: none;" >
-       <div id="profile-jot-email-label">$emailcc</div><input type="text" name="emailcc" id="profile-jot-email" title="$emtitle">
-       <div id="profile-jot-email-end"></div>
-       </div>
-       <div id="profile-jot-networks" style="display: none;" >
-       $jotnets
-       </div>
-       <div id="profile-jot-networks-end"></div>
-       <div id="profile-jot-acl-wrapper" style="display: none;" >$acl</div>
-</div>
-
-<div id="profile-jot-end"></div>
-</form>
-</div>
index 4d291d54484109cde813bda634e8fa75075189f0..002749df913052459abf16964a5951676748d68e 100644 (file)
@@ -263,6 +263,11 @@ $a->strings['Delete message'] = 'Nachricht löschen';
 $a->strings['Send Reply'] = 'Antwort senden';
 $a->strings['Normal View'] = 'Normale Ansicht';
 $a->strings['New Item View'] = 'Neue Einträge';
+$a->strings['Share'] = 'Share';
+$a->strings['Insert YouTube video'] = 'YouTube Video einfügen';
+$a->strings['Set your location'] = 'Deinen Standort festlegen';
+$a->strings['Clear browser location'] = 'Browser Standort leeren';
+$a->strings['Permission settings'] = 'Berechtigungseinstellungen';
 $a->strings['CC: email addresses'] = 'CC: EMail Addresse';
 $a->strings['Example: bob@example.com, mary@example.com'] = 'Z.B.: bob@example.com, mary@example.com';
 $a->strings['No such group'] = 'Es gibt keine solche Gruppe';
diff --git a/view/en/jot.tpl b/view/en/jot.tpl
deleted file mode 100644 (file)
index 7c6a857..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-
-<div id="profile-jot-wrapper" >
-       <div id="profile-jot-banner-wrapper">
-               <div id="profile-jot-desc" >&nbsp;</div>
-               <div id="character-counter" class="grey"></div>
-       </div>
-       <div id="profile-jot-banner-end"></div>
-
-       <form id="profile-jot-form" action="item" method="post" >
-               <input type="hidden" name="type" value="wall" />
-               <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="" />
-
-               <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" ></textarea>
-
-
-<div id="profile-jot-submit-wrapper" >
-<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" ><img id="wall-image-upload" src="images/camera-icon.gif" alt="Upload Photo" title="Upload Photo"  /></div>
-       </div> 
-       <div id="profile-link-wrapper" style="display: $visitor;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
-               <img id="profile-link" src="images/link-icon.gif" alt="Insert web link" title="Insert web link" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink();" />
-       </div> 
-       <div id="profile-youtube-wrapper" style="display: $visitor;" >
-               <img id="profile-video" src="images/youtube_icon.gif" alt="Insert YouTube video" title="Insert YouTube video" onclick="jotGetVideo();" />
-       </div> 
-       <div id="profile-location-wrapper" style="display: $visitor;" >
-               <img id="profile-location" src="images/globe.gif" alt="Set your location" title="Set your location" onclick="jotGetLocation();" />
-       </div> 
-       <div id="profile-nolocation-wrapper" style="display: none;" >
-               <img id="profile-nolocation" src="images/noglobe.gif" alt="Clear Browser Location" title="Clear Browser Location" onclick="jotClearLocation();" />
-       </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="Please wait" title="Please wait" style="display: none;" />
-       </div> 
-       <div id="profile-jot-perms" class="profile-jot-perms" style="display: $visitor;" ><img id="jot-perms-icon" src="images/$lockstate_icon.gif"  alt="Permission Settings" title="Permission Settings" onClick="openClose('profile-jot-acl-wrapper'); openClose('profile-jot-email-wrapper'); openClose('profile-jot-networks');" />$bang</div>
-       <div id="profile-jot-perms-end"></div>
-       <div id="profile-jot-email-wrapper" style="display: none;" >
-       <div id="profile-jot-email-label">$emailcc</div><input type="text" name="emailcc" id="profile-jot-email" title="$emtitle">
-       <div id="profile-jot-email-end"></div>
-       </div>
-       <div id="profile-jot-networks" style="display: none;" >
-       $jotnets
-       </div>
-       <div id="profile-jot-networks-end"></div>
-       <div id="profile-jot-acl-wrapper" style="display: none;" >$acl</div>
-</div>
-
-<div id="profile-jot-end"></div>
-</form>
-</div>
diff --git a/view/fr/jot.tpl b/view/fr/jot.tpl
deleted file mode 100644 (file)
index d64632d..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-
-<div id="profile-jot-wrapper" >
-       <div id="profile-jot-banner-wrapper">
-               <div id="profile-jot-desc" >&nbsp;</div>
-               <div id="character-counter" class="grey"></div>
-       </div>
-       <div id="profile-jot-banner-end"></div>
-
-       <form id="profile-jot-form" action="item" method="post" >
-               <input type="hidden" name="type" value="wall" />
-               <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="" />
-
-               <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" ></textarea>
-
-
-
-<div id="profile-jot-submit-wrapper" >
-<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" ><img id="wall-image-upload" src="images/camera-icon.gif" alt="Upload Photo" title="Upload Photo"  /></div>
-       </div> 
-       <div id="profile-link-wrapper" style="display: $visitor;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
-               <img id="profile-link" src="images/link-icon.gif" alt="Insert web link" title="Insert web link" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink();" />
-       </div> 
-       <div id="profile-youtube-wrapper" style="display: $visitor;" >
-               <img id="profile-video" src="images/youtube_icon.gif" alt="Insert YouTube video" title="Insert YouTube video" onclick="jotGetVideo();" />
-       </div> 
-       <div id="profile-location-wrapper" style="display: $visitor;" >
-               <img id="profile-location" src="images/globe.gif" alt="Set your location" title="Set your location" onclick="jotGetLocation();" />
-       </div> 
-       <div id="profile-nolocation-wrapper" style="display: none;" >
-               <img id="profile-nolocation" src="images/noglobe.gif" alt="Clear Browser Location" title="Clear Browser Location" onclick="jotClearLocation();" />
-       </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="Please wait" title="Please wait" style="display: none;" />
-       </div> 
-       <div id="profile-jot-perms" class="profile-jot-perms" style="display: $visitor;" ><img id="jot-perms-icon" src="images/$lockstate_icon.gif"  alt="Permission Settings" title="Permission Settings" onClick="openClose('profile-jot-acl-wrapper'); openClose('profile-jot-email-wrapper'); openClose('profile-jot-networks');" />$bang</div>
-       <div id="profile-jot-perms-end"></div>
-       <div id="profile-jot-email-wrapper" style="display: none;" >
-       <div id="profile-jot-email-label">$emailcc</div><input type="text" name="emailcc" id="profile-jot-email" title="$emtitle">
-       <div id="profile-jot-email-end"></div>
-       </div>
-       <div id="profile-jot-networks" style="display: none;" >
-       $jotnets
-       </div>
-       <div id="profile-jot-networks-end"></div>
-       <div id="profile-jot-acl-wrapper" style="display: none;" >$acl</div>
-</div>
-
-<div id="profile-jot-end"></div>
-</form>
-</div>
index 09fa91f30899a4ef2e3cd766698adffe894d8d9a..b6b20f68c1e3f4eb48b7434e9f8406e27a840739 100644 (file)
@@ -250,6 +250,11 @@ $a->strings['Delete message'] = 'Effacer message';
 $a->strings['Send Reply'] = 'Répondre';
 $a->strings['Normal View'] = 'Vue normale';
 $a->strings['New Item View'] = 'Vue des nouveautés';
+$a->strings['Share'] = 'Share';
+$a->strings['Insert YouTube video'] = 'Insert YouTube video';
+$a->strings['Set your location'] = 'Set your location';
+$a->strings['Clear browser location'] = 'Clear browser location';
+$a->strings['Permission settings'] = 'Permission settings';
 $a->strings['No such group'] = 'Groupe inexistant';
 $a->strings['Group is empty'] = 'Groupe vide';
 $a->strings['Group: '] = 'Groupe: ';
diff --git a/view/it/jot.tpl b/view/it/jot.tpl
deleted file mode 100644 (file)
index c4b63eb..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-
-<div id="profile-jot-wrapper" >
-       <div id="profile-jot-banner-wrapper">
-               <div id="profile-jot-desc" >&nbsp;</div>
-               <div id="character-counter" class="grey"></div>
-       </div>
-       <div id="profile-jot-banner-end"></div>
-
-       <form id="profile-jot-form" action="item" method="post" >
-               <input type="hidden" name="type" value="wall" />
-               <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="" />
-
-               <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" ></textarea>
-
-
-<div id="profile-jot-submit-wrapper" >
-<input type="submit" id="profile-jot-submit" name="submit" value="Condividi" />
-       <div id="profile-upload-wrapper" style="display: $visitor;" >
-               <div id="wall-image-upload-div" ><img id="wall-image-upload" src="images/camera-icon.gif" alt="Carica foto" title="Carica foto"  /></div>
-       </div> 
-       <div id="profile-link-wrapper" style="display: $visitor;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
-               <img id="profile-link" src="images/link-icon.gif" alt="Inserisci collegamento" title="Inserisci collegamento" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink();" />
-       </div> 
-       <div id="profile-youtube-wrapper" style="display: $visitor;" >
-               <img id="profile-video" src="images/youtube_icon.gif" alt="Inserisci video da YouTube" title="Inserisci video da YouTube" onclick="jotGetVideo();" />
-       </div> 
-       <div id="profile-location-wrapper" style="display: $visitor;" >
-               <img id="profile-location" src="images/globe.gif" alt="Imposta la tua posizione" title="Imposta la tua posizione" onclick="jotGetLocation();" />
-       </div> 
-       <div id="profile-nolocation-wrapper" style="display: none;" >
-               <img id="profile-nolocation" src="images/noglobe.gif" alt="Cancella la tua posizione data dal browser" title="Cancella la tua posizione data dal browser" onclick="jotClearLocation();" />
-       </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="Attendi" title="Attendi" style="display: none;" />
-       </div> 
-       <div id="profile-jot-perms" class="profile-jot-perms" style="display: $visitor;" ><img id="jot-perms-icon" src="images/$lockstate_icon.gif"  alt="Impostazione permessi" title="Impostazione permessi" onClick="openClose('profile-jot-acl-wrapper'); openClose('profile-jot-email-wrapper'); openClose('profile-jot-networks');" />$bang</div>
-       <div id="profile-jot-perms-end"></div>
-       <div id="profile-jot-email-wrapper" style="display: none;" >
-       <div id="profile-jot-email-label">$emailcc</div><input type="text" name="emailcc" id="profile-jot-email" title="$emtitle">
-       <div id="profile-jot-email-end"></div>
-       </div>
-       <div id="profile-jot-networks" style="display: none;" >
-       $jotnets
-       </div>
-       <div id="profile-jot-networks-end"></div>
-       <div id="profile-jot-acl-wrapper" style="display: none;" >$acl</div>
-</div>
-
-
-
-<div id="profile-jot-end"></div>
-</form>
-</div>
index 7f4b3eddd5be817747c8c50db0e969ef1c60bb69..25439d8d545951a1d09281be0d0c983a6e239b33 100644 (file)
@@ -1038,6 +1038,11 @@ $a->strings['Invalid OpenID url'] = 'Url OpenID non valido';
 $a->strings['Cannot use that email.'] = 'Questa email non si puo\' usare.';
 $a->strings['Normal View'] = 'Vista normale';
 $a->strings['New Item View'] = 'Vista Nuovi Elementi';
+$a->strings['Share'] = 'Condividi';
+$a->strings['Insert YouTube video'] = 'Inserisci video da YouTube';
+$a->strings['Set your location'] = 'Imposta la tua posizione';
+$a->strings['Clear browser location'] = 'Cancella la tua posizione data dal browser';
+$a->strings['Permission settings'] = 'Impostazione permessi';
 $a->strings[' Cannot change to that email.'] = 'Non puoi cambiare a quella email.';
 $a->strings['Birthday:'] = 'Compleanno:';
 $a->strings['Update now'] = 'Aggiorna adesso';
diff --git a/view/jot.tpl b/view/jot.tpl
new file mode 100644 (file)
index 0000000..68139dd
--- /dev/null
@@ -0,0 +1,59 @@
+
+<div id="profile-jot-wrapper" >
+       <div id="profile-jot-banner-wrapper">
+               <div id="profile-jot-desc" >&nbsp;</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="wall" />
+               <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" />
+
+               <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >$content</textarea>
+
+
+<div id="profile-jot-submit-wrapper" >
+<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" ><img id="wall-image-upload" src="images/camera-icon.gif" alt="$upload" title="$upload" /></div>
+       </div> 
+       <div id="profile-link-wrapper" style="display: $visitor;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
+               <img id="profile-link" src="images/link-icon.gif" alt="$weblink" title="$weblink" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink();" />
+       </div> 
+       <div id="profile-youtube-wrapper" style="display: $visitor;" >
+               <img id="profile-video" src="images/youtube_icon.gif" alt="$youtube" title="$youtube" onclick="jotGetVideo();" />
+       </div> 
+       <div id="profile-location-wrapper" style="display: $visitor;" >
+               <img id="profile-location" src="images/globe.gif" alt="$setloc" title="$setloc" onclick="jotGetLocation();" />
+       </div> 
+       <div id="profile-nolocation-wrapper" style="display: none;" >
+               <img id="profile-nolocation" src="images/noglobe.gif" alt="$noloc" title="$noloc" onclick="jotClearLocation();" />
+       </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="profile-jot-perms" class="profile-jot-perms" style="display: $visitor;" ><img id="jot-perms-icon" src="images/$lockstate_icon.gif"  alt="$permset" title="$permset" onClick="openClose('profile-jot-acl-wrapper'); openClose('profile-jot-email-wrapper'); openClose('profile-jot-networks');" />$bang</div>
+       <div id="profile-jot-perms-end"></div>
+       <div id="profile-jot-email-wrapper" style="display: none;" >
+       <div id="profile-jot-email-label">$emailcc</div><input type="text" name="emailcc" id="profile-jot-email" title="$emtitle">
+       <div id="profile-jot-email-end"></div>
+       </div>
+       <div id="profile-jot-networks" style="display: none;" >
+       $jotnets
+       </div>
+       <div id="profile-jot-networks-end"></div>
+       <div id="profile-jot-acl-wrapper" style="display: none;" >$acl</div>
+</div>
+
+<div id="profile-jot-end"></div>
+</form>
+</div>