]> git.mxchange.org Git - friendica.git/commitdiff
Merge https://github.com/friendica/friendica into pull
authorfriendica <info@friendica.com>
Thu, 8 Mar 2012 22:35:47 +0000 (14:35 -0800)
committerfriendica <info@friendica.com>
Thu, 8 Mar 2012 22:35:47 +0000 (14:35 -0800)
43 files changed:
README
boot.php
doc/Account-Basics.md
doc/Bugs-and-Issues.md
doc/Making-Friends.md
doc/Remove-Account.md
images/smiley-beard.png [new file with mode: 0644]
images/smiley-cool.gif
images/smiley-cry.gif
images/smiley-embarassed.gif
images/smiley-foot-in-mouth.gif
images/smiley-frown.gif
images/smiley-heart.gif
images/smiley-innocent.gif
images/smiley-kiss.gif
images/smiley-laughing.gif
images/smiley-money-mouth.gif
images/smiley-sealed.gif
images/smiley-smile.gif
images/smiley-surprised.gif
images/smiley-tongue-out.gif
images/smiley-undecided.gif
images/smiley-whitebeard.png [new file with mode: 0644]
images/smiley-wink.gif
images/smiley-yell.gif
include/conversation.php
include/items.php
include/notifier.php
include/security.php
include/text.php [changed mode: 0755->0644]
js/fk.autocomplete.js
mod/admin.php
mod/display.php
mod/network.php
mod/profile.php
mod/search.php
mod/share.php
util/messages.po
view/nets.tpl
view/theme/diabook/nav.tpl
view/theme/dispy/jot-header.tpl
view/theme/dispy/jot.tpl
view/theme/dispy/style.css

diff --git a/README b/README
index 152d481eac1eb80895c1954956e697238705de6c..d85d98aad1397e81659c778bd2fb877886e42015 100644 (file)
--- a/README
+++ b/README
@@ -1,4 +1,11 @@
 Friendica Social Communications Server
 ======================================
 
+http://friendica.com
+
 Welcome to the free social web.
+
+
+Friendica is a communications platform for integrated social communications utilising decentralised communications and linkage to several indie social projects - as well as popular mainstream providers.
+
+Our mission is to free our friends and families from the clutches of data-harvesting corporations, and pave the way to a future where social communications are free and open and flow between alternate providers as easily as email does today.  
\ No newline at end of file
index 429bfecb3dcfbd19ae0cfe71a49c7e97ce351738..4557f2f3900ca891c514d884999942b02887d3aa 100755 (executable)
--- a/boot.php
+++ b/boot.php
@@ -9,7 +9,7 @@ require_once('include/nav.php');
 require_once('include/cache.php');
 
 define ( 'FRIENDICA_PLATFORM',     'Friendica');
-define ( 'FRIENDICA_VERSION',      '2.3.1272' );
+define ( 'FRIENDICA_VERSION',      '2.3.1274' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.22'    );
 define ( 'DB_UPDATE_VERSION',      1131      );
 
index b5e757dbc5d5cb5133063c7d06a8637a9458b4f8..164a6be462477b7aba29910d465717571e9c32f4 100755 (executable)
@@ -6,7 +6,9 @@ Account Basics
 
 **Registration**
 
-Not all Friendica sites allow open registration. If registration is allowed, you will see a "Register" link immediately below the login prompts on the site home page. Following this link will take you to the site Registration page.
+Not all Friendica sites allow open registration. If registration is allowed, you will see a "Register" link immediately below the login prompts on the site home page. Following this link will take you to the site registration page.  The strength of our network is that lots of different sites are all completely compatible with each other.  If the site you're visting doesn't allow registration, or you think you might prefer another one, you can find a <a href ="http://dir.friendica.com/siteinfo">list of public servers here</a>, and find one that meets your needs.  
+
+If you'd like to have your own server, you can do that too.  Visit <a href = "http://friendica.com/download">the Friendica website</a> to download the code with setup instructions.  It's a very simple install process that anybody experienced in hosting websites, or with basic Linux experience can handle easily.
 
 *OpenID*
 
@@ -14,11 +16,11 @@ The first field on the Registration page is for an OpenID address. If you do not
 
 *Your Full Name*
 
-Please provide your full name as you would like it to be displayed on this system.
+Please provide your full name **as you would like it to be displayed on this system**.  Most people use their real name for this, but you're under no obligation to do so yourself.
 
 *Email Address*
 
-Please provide a valid email address. Your email address is **never** published. We need this to send you account information and your login details. You may also occasionally receive notifications of incoming messages or items requiring your attention, but you have the ability to completely disable these from your Settings page once you have logged in.     
+Please provide a valid email address. Your email address is **never** published. We need this to send you account information and your login details. You may also occasionally receive notifications of incoming messages or items requiring your attention, but you have the ability to completely disable these from your Settings page once you have logged in.  This doesn't have to be your primary email address, but it does need to be a real email address.  You can't get your initial password, or reset a lost password later without it.  This is the only bit of personal information that has to be accurate.
 
 *Nickname*
 
@@ -28,12 +30,12 @@ A nickname is used to generate web addresses for many of your personal pages, an
 
 *Directory Publishing*
 
-The Registration form also allows you to choose whether or not to list your account in the online directory. This is like a "phone book" and you may choose to be unlisted. We recommend that you select 'Yes' so that other people (friends, family, etc.) will be able to find you. If you choose 'No', you will essentially be invisible and have few opportunities for interaction. Whichever you choose, this can be changed any time from your Settings page after you login.  
-
+The Registration form also allows you to choose whether or not to list your account in the online directory. This is like a "phone book" and you may choose to be unlisted. We recommend that you select 'Yes' so that other people (friends, family, etc.) will be able to find you. If you choose 'No', you will essentially be invisible and have few opportunities for interaction. Whichever you choose, this can be changed any time from your Settings page after you login. 
 
 *Register*
 
-Once you have provided the necessary details, click the 'Register' button. An email will be sent to you providing your account login details. Some sites may require administrator approval before the registration is processed, and you will be alerted if this is the case. Please watch your email (including spam folders) for your registration approval. 
+Once you have provided the necessary details, click the 'Register' button. An email will be sent to you providing your account login details. Please watch your email (including spam folders) for your registration details and initial password. 
+
 
 
 
@@ -58,6 +60,11 @@ After your first login, please visit the 'Settings' page from the top menu bar a
 A ['Tips for New Members'](newmember) link will show up on your home page for two weeks to provide some important Getting Started information.
 
 
+**Retrieving Personal Data**
+
+You can export a copy of your personal data in XML format from the "Export personal data" link at the top of your settings  page.
+
+
 **See Also**
 
 * [Profiles](help/Profiles)
@@ -66,4 +73,3 @@ A ['Tips for New Members'](newmember) link will show up on your home page for tw
 
 * [Remove Account](help/Remove-Account)
 
\ No newline at end of file
index c119b996842dbd9794d0fdf09fb870395e169f0e..46abea9a3ec06f0ca2f22d239c88a67b24ec797d 100755 (executable)
@@ -4,18 +4,19 @@ Bugs and Issues
 * [Home](help)
 
 
-Please report any bugs/issues you encounter using our bug tracker at [[http://bugs.friendica.com]]
+If your server has a support page, you should report any bugs/issues you encounter there first.  Reporting to your support page before reporting to the developers makes their job easier, as they don't have to deal with bug reports that might not have anything to do with them, and that helps us get new features faster.
 
-Try to provide as much information as you can about the bug (including the full text of any error messages or notices), and if possible your Friendica version.
+If you're a technical user, or your site doesn't have a support page, you'll need to use the <a href = "http://bugs.friendica.com/">Bug Tracker</a>.  Please perform a search to see if there's already an open bug that matches yours before submitting anything.
 
-Your Friendica version may be found in newer releases by visiting http://YOURFRIENDICASITE/friendica
+Try to provide as much information as you can about the bug, including the **full** text of any error messages or notices, and any steps required to replicate the problem in as much detail as possible.  It's generally better to provide too much information than not enough.
 
-For older versions, view the HTML source of your profile page. The Friendica version is in the HTML header, 5-10 lines from the top of the page.
+<a href = "http://www.chiark.greenend.org.uk/~sgtatham/bugs.html">See this article</a> to learn more about submitting **good** bug reports.
 
-For really old versions which don't have a version number in the HTML header - please upgrade. Your bug was probably fixed a long time ago. 
 
 **Bug Sponsorship**
 
+If you find a bug, and it is caused by a problem in main branch (ie, is not specific to our site), you may sponsor it.
+
 The bug/issue database allows you to sponsor issues. This provides an incentive for developers to work on your issue. This isn't necessary - we don't like bugs and will try to fix them. This has more importance for future development projects and feature requests.
 
 Bug sponsorship works on the honour system. If you agree to pay $10 to fix a bug, when the fix has been checked in and verified you should send a paypal payment to the developer assigned to the bug. Don't ever think you can get away with not paying a developer for work performed. Some of these guys could hack into your credit card account if you make them mad.
index 1a9c8d8981c16ae05a6997bcac7f4a3a7ba2af87..3f1a24c8de9168c40fea7ac0d41db3d57e360ec1 100755 (executable)
@@ -5,7 +5,13 @@ Making Friends
 
 Friendship in Friendica can take on a great many different meanings. But let's keep it simple, you want to be friends with somebody. How do you do it?
 
-The first thing you can do is look at the Directory for somebody you would like to connect with. Visit their profile. Just beneath their profile picture will be the word 'Connect' (we're assuming this is an English language profile).
+The easiest thing to do is to join the <a href = "http://kakste.com/profile/newhere">New Here</a> group.  This group is especially for people new to the Friendica network.  Simply connect to the group, post to the wall, and make new friends.  You don't even have to like us - comment on a few of our posts, and other people will start to add you too.
+
+The next thing you can do is look at the Directory.  The directory is split up into two parts.  If you click the directory button, you will be presented with a list of all members (who chose to be listed) on your server.  You'll also see a link to the Global Directory.  If you click through to the global directory, you will be presented with a list of everybody who chose to be listed across all instances of Friendica.  You will also see a "Show Community Forums" link, which will direct you to Groups, Forums and Fanpages.  You connect to people, groups and forums in the same way, except groups and forums will automatically accept your introduction request, whereas a human will approve you manually.
+
+To connect with other Friendica user
+
+Visit their profile. Just beneath their profile picture will be the word 'Connect' (we're assuming this is an English language profile).
 
 Click that. It will take you to a "Connect" form.
 
@@ -23,6 +29,7 @@ When you've submitted the connection page, it will take you back to your own sit
 
 If you already know somebody's Identity Address, you can enter it in the "connect" box on your "Contacts" page. This will take you through a similar process.
 
+
 **Alternate Networks**
 
 You can also use your Identity Address or other people's Identity Addresses to become friends across networks. The list of possible networks is growing all the time. If you know (for instance) "bob" on identi.ca (a Status.Net site) you could put bob@identi.ca into your Contact page and become friends across networks.  (Or you can put in the URL to Bob's identi.ca page if you wish).  You can also be "partial" friends with somebody on Google Buzz by putting in their gmail address. Google Buzz does not yet support all the protocols we need for direct messaging, but you should be able to follow status updates from within Friendica. You can do the same for Twitter accounts and Diaspora accounts. In fact you can "follow" most anybody or any website that produces a syndication feed (RSS/Atom,etc.). If we can find an information stream and a name to attach to the contact, we'll try to connect with them. 
index f526b78a8fc907b68301451956ecd469e629ec0e..ae5de2cb6596c916742e0b65680d8635b609d8aa 100755 (executable)
@@ -5,9 +5,20 @@ Remove Account
 
 We don't like to see people leave Friendica, but if you need to remove your account, you should visit the URL
 
-http://friendica-site/removeme
+http://sitename/removeme
 
-with your web browser. You will need to be logged in at the time.  (Replace "friendica-site" with the hostname of your Friendica server)
+with your web browser. You will need to be logged in at the time.
 
 You will be asked for your password to confirm the request. If this matches your stored password, your account will immediately be removed. Unlike some social networks we do **not** hold onto it for a grace period in case you change your mind. Your user details, your conversations, your photos, your friends - everything; will be removed immediately and you will be logged out. 
 
+When we expire posts we send notifications out to Friendica to remove the posts. Diaspora doesn't have a bulk delete so this step is skipped on that network - and hopefully it will be obvious that deletion doesn't work on any other networks. If you manually delete a post or a range of posts we send individual delete notifications to Friendica and Diaspora for each deleted post.
+
+Diaspora often loses these.
+
+If you delete a post but somebody else has starred it, it is still removed. Your wishes take priority.
+
+When you remove your account we physically remove all your posts and your profile and user data, etc. immediately.
+
+In order to send out a bulk remove we would need to keep your account around to do this, as we would need to prove to your friends who it is that is submitting the request. We can't do this if you don't have an account.
+
+Your friends may still see your posts if your account is gone, but there is no public place within Friendica where they can be viewed. If you had friends on Diaspora, your public posts may stick around and be visible to others from that network.
diff --git a/images/smiley-beard.png b/images/smiley-beard.png
new file mode 100644 (file)
index 0000000..5d4b284
Binary files /dev/null and b/images/smiley-beard.png differ
index ba90cc36fb0415d0273d1cd206bff63fd9c91fde..cee1c1aa3ddfb65e164b9d0d56d2617cd0208b22 100755 (executable)
Binary files a/images/smiley-cool.gif and b/images/smiley-cool.gif differ
index 74d897a4f6d22e814e2b054e98b8a75fb464b4be..06e6ca2c2566156886e98894016e9a622800118b 100755 (executable)
Binary files a/images/smiley-cry.gif and b/images/smiley-cry.gif differ
index 963a96b8a7593b1d8bcbab073abe5ee4e539dbf6..adc12e7c51488a4ad97edc07107a8186aa2d60be 100755 (executable)
Binary files a/images/smiley-embarassed.gif and b/images/smiley-embarassed.gif differ
index 16f68cc1e91a9b8ec6cfa0ba4e0c86f94b177f1a..b444e5781e64da35aaa57f96768b4093355ba0d3 100755 (executable)
Binary files a/images/smiley-foot-in-mouth.gif and b/images/smiley-foot-in-mouth.gif differ
index 716f55e161bfebb1c3d34f0b0f40c177fc82c30b..9ff19850d983232a620844fbed3877e4cfcde31d 100755 (executable)
Binary files a/images/smiley-frown.gif and b/images/smiley-frown.gif differ
index 21c0c6530847f73e43881e6c631c580517d42e8a..6a11e70652d32206d792fe00b8f0ec9fbfd6b759 100755 (executable)
Binary files a/images/smiley-heart.gif and b/images/smiley-heart.gif differ
index 334d49e0e60f2997c9ba24071764f95d9e08a5cc..9d747140ec21648d6d284ca220cc8e768add64d5 100755 (executable)
Binary files a/images/smiley-innocent.gif and b/images/smiley-innocent.gif differ
index 4efd549ed31c44b1faac17ed34bb67abeb42baf8..cc356611ee2444debe1dc761bb05621f33c02a98 100755 (executable)
Binary files a/images/smiley-kiss.gif and b/images/smiley-kiss.gif differ
index 1606c119e75678c4031f384e0d50849906e8f533..1bf29de795a9737ee78e6a492ba9ed50e931b721 100755 (executable)
Binary files a/images/smiley-laughing.gif and b/images/smiley-laughing.gif differ
index ca2451e102722e12e131ae53ea76989acbf191e2..1e8ccd0f3d307ee3462a00e310e7134544accec4 100755 (executable)
Binary files a/images/smiley-money-mouth.gif and b/images/smiley-money-mouth.gif differ
index b33d3cca1e7b8e62dc689880074d5c61f619520d..98186742d2c51f8d20165e800de0ea9cfa6ceecd 100755 (executable)
Binary files a/images/smiley-sealed.gif and b/images/smiley-sealed.gif differ
index e6a9e60d5ddd1243fbbf2197b4dc6cd9c1b58b93..b9bff40a4381c4f36c99367c7213a60c79a4cf1e 100755 (executable)
Binary files a/images/smiley-smile.gif and b/images/smiley-smile.gif differ
index cb99cdd9136fa30462a9f57aa6a0adeb7e4124e7..b074653260bf0697263d6a6c381ddac84f5dd56e 100755 (executable)
Binary files a/images/smiley-surprised.gif and b/images/smiley-surprised.gif differ
index 2075dc16058f1f17912167675ce5cfb9986fc71d..48867dc2621793aa4422fcb3a27d5993384e92da 100755 (executable)
Binary files a/images/smiley-tongue-out.gif and b/images/smiley-tongue-out.gif differ
index bef7e257303f8243c89787e7a7f9955dd1f112e2..28029794f3e9a52b80b171a4026961b32902147a 100755 (executable)
Binary files a/images/smiley-undecided.gif and b/images/smiley-undecided.gif differ
diff --git a/images/smiley-whitebeard.png b/images/smiley-whitebeard.png
new file mode 100644 (file)
index 0000000..2a1fccb
Binary files /dev/null and b/images/smiley-whitebeard.png differ
index 9faf1aff8f4b28e02f4f414975fe1859c43b6b54..e1cefb05c92ada51eeff374696d5302f61af8bba 100755 (executable)
Binary files a/images/smiley-wink.gif and b/images/smiley-wink.gif differ
index 648e6e879123fe49beebbc1f3635141864a79a9c..5296c883656c866cd6a0b24a13904896bfd01ac2 100755 (executable)
Binary files a/images/smiley-yell.gif and b/images/smiley-yell.gif differ
index f4740688cd9b0775336f30cfa8433b69e62e0da3..b458923e5fba499c2a274f5de95d4c28afdad851 100755 (executable)
@@ -217,7 +217,7 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
        if($update)
                $return_url = $_SESSION['return_url'];
        else
-               $return_url = $_SESSION['return_url'] = $a->cmd;
+               $return_url = $_SESSION['return_url'] = $a->query_string;
 
        load_contact_links(local_user());
 
index fdff6b642fa33139681f4aa48c7e4f087ffed721..1a7aa6c4608d0dd57592ef97782c501750f2ae37 100755 (executable)
@@ -1756,7 +1756,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $pass = 0)
                                $datarray['uid'] = $importer['uid'];
                                $datarray['contact-id'] = $contact['id'];
 
-                               if(x($datarray,'owner-link') && strlen($datarray['owner-link']) && (! link_compare($datarray['owner-link'],$contact['url']))) {
+                               if(! link_compare($datarray['owner-link'],$contact['url'])) {
                                        // The item owner info is not our contact. It's OK and is to be expected if this is a tgroup delivery, 
                                        // but otherwise there's a possible data mixup on the sender's system.
                                        // the tgroup delivery code called from item_store will correct it if it's a forum,
@@ -2477,7 +2477,7 @@ function local_delivery($importer,$data) {
                        $datarray['uid'] = $importer['importer_uid'];
                        $datarray['contact-id'] = $importer['id'];
 
-                       if(x($datarray,'owner-link') && strlen($datarray['owner-link']) && (! link_compare($datarray['owner-link'],$importer['url']))) {
+                       if(! link_compare($datarray['owner-link'],$contact['url'])) {
                                // The item owner info is not our contact. It's OK and is to be expected if this is a tgroup delivery, 
                                // but otherwise there's a possible data mixup on the sender's system.
                                // the tgroup delivery code called from item_store will correct it if it's a forum,
index 4765cca06d155c9a9c19fc387c6a41ebc82f3a11..5b23406fce629b514e472a5526ab8c2d70856de5 100755 (executable)
@@ -201,7 +201,7 @@ function notifier_run($argv, $argc){
                // by stringing togther an array of retractions and sending them onward.
                 
        
-               $localhost = $a->get_hostname();
+               $localhost = str_replace('www.','',$a->get_hostname());
                if(strpos($localhost,':'))
                        $localhost = substr($localhost,0,strpos($localhost,':'));
 
index 6b8128bdd8516cf406c13492a711cedda999b505..f469dad66f93cb4f11b1ce7f072e1280d80d5fdc 100755 (executable)
@@ -202,7 +202,7 @@ function permissions_sql($owner_id,$remote_verified = false,$groups = null) {
                                " AND ( allow_cid = '' OR allow_cid REGEXP '<%d>' ) 
                                  AND ( deny_cid  = '' OR  NOT deny_cid REGEXP '<%d>' ) 
                                  AND ( allow_gid = '' OR allow_gid REGEXP '%s' )
-                                 AND ( deny_gid  = '' OR NOT deny_gid REGEXP '%s') 
+                                 AND ( deny_gid  = '' OR NOT deny_gid REGEXP '%s')
                                ",
                                intval($remote_user),
                                intval($remote_user),
@@ -212,4 +212,78 @@ function permissions_sql($owner_id,$remote_verified = false,$groups = null) {
                }
        }
        return $sql;
-}
\ No newline at end of file
+}
+
+
+function item_permissions_sql($owner_id,$remote_verified = false,$groups = null) {
+
+       $local_user = local_user();
+       $remote_user = remote_user();
+
+       /**
+        * Construct permissions
+        *
+        * default permissions - anonymous user
+        */
+
+       $sql = " AND allow_cid = '' 
+                        AND allow_gid = '' 
+                        AND deny_cid  = '' 
+                        AND deny_gid  = '' 
+                        AND private = 0
+       ";
+
+       /**
+        * Profile owner - everything is visible
+        */
+
+       if(($local_user) && ($local_user == $owner_id)) {
+               $sql = ''; 
+       }
+
+       /**
+        * Authenticated visitor. Unless pre-verified, 
+        * check that the contact belongs to this $owner_id
+        * and load the groups the visitor belongs to.
+        * If pre-verified, the caller is expected to have already
+        * done this and passed the groups into this function.
+        */
+
+       elseif($remote_user) {
+
+               if(! $remote_verified) {
+                       $r = q("SELECT id FROM contact WHERE id = %d AND uid = %d AND blocked = 0 LIMIT 1",
+                               intval($remote_user),
+                               intval($owner_id)
+                       );
+                       if(count($r)) {
+                               $remote_verified = true;
+                               $groups = init_groups_visitor($remote_user);
+                       }
+               }
+               if($remote_verified) {
+               
+                       $gs = '<<>>'; // should be impossible to match
+
+                       if(is_array($groups) && count($groups)) {
+                               foreach($groups as $g)
+                                       $gs .= '|<' . intval($g) . '>';
+                       } 
+
+                       $sql = sprintf(
+                               " AND ( private = 0 OR ( private = 1 AND wall = 1 AND ( allow_cid = '' OR allow_cid REGEXP '<%d>' ) 
+                                 AND ( deny_cid  = '' OR  NOT deny_cid REGEXP '<%d>' ) 
+                                 AND ( allow_gid = '' OR allow_gid REGEXP '%s' )
+                                 AND ( deny_gid  = '' OR NOT deny_gid REGEXP '%s'))) 
+                               ",
+                               intval($remote_user),
+                               intval($remote_user),
+                               dbesc($gs),
+                               dbesc($gs)
+                       );
+               }
+       }
+       return $sql;
+}
+
+
old mode 100755 (executable)
new mode 100644 (file)
index c8c0317..5ad0154
@@ -738,6 +738,9 @@ function smilies($s, $sample = false) {
                '~friendika', 
                '~friendica', 
 //             'Diaspora*' 
+               ':beard',
+               ':whitebeard'
+
        );
 
        $icons = array(
@@ -779,7 +782,8 @@ function smilies($s, $sample = false) {
                '<a href="http://project.friendika.com">~friendika <img src="' . $a->get_baseurl() . '/images/friendika-16.png" alt="~friendika" /></a>',
                '<a href="http://friendica.com">~friendica <img src="' . $a->get_baseurl() . '/images/friendica-16.png" alt="~friendica" /></a>',
 //             '<a href="http://diasporafoundation.org">Diaspora<img src="' . $a->get_baseurl() . '/images/diaspora.png" alt="Diaspora*" /></a>',
-
+               '<img src="' . $a->get_baseurl() . '/images/smiley-beard.png" alt=":beard" />',
+               '<img src="' . $a->get_baseurl() . '/images/smiley-whitebeard.png" alt=":whitebeard" />'
        );
 
        $params = array('texts' => $texts, 'icons' => $icons, 'string' => $s);
index 509466bd9878f3810cadc00259af22db3bdc7198..69fe77e8cb2f7762eb81f46f58f56bac709a1a1a 100755 (executable)
@@ -103,6 +103,7 @@ ACPopup.prototype._search = function(){
                }
                else {
                        txt = tinyMCE.activeEditor.getContent();
+                       //                      alert(that.searchText + ':' + t);
                        newtxt = txt.replace(that.searchText,t+' ');
                        tinyMCE.activeEditor.setContent(newtxt);
                        tinyMCE.activeEditor.focus();
index 2115f9241a5b772fb8601ab64380f8ec9bf44990..93714bb5f9079c695da18bdb63333df38a84ea0a 100755 (executable)
@@ -321,32 +321,32 @@ function admin_page_site(&$a) {
                '$sitename'             => array('sitename', t("Site name"), htmlentities($a->config['sitename'], ENT_QUOTES), ""),
                '$banner'                       => array('banner', t("Banner/Logo"), $banner, ""),
                '$language'             => array('language', t("System language"), get_config('system','language'), "", $lang_choices),
-               '$theme'                        => array('theme', t("System theme"), get_config('system','theme'), "Default system theme (which may be over-ridden by user profiles)", $theme_choices),
+               '$theme'                        => array('theme', t("System theme"), get_config('system','theme'), t("Default system theme - may be over-ridden by user profiles"), $theme_choices),
 
-               '$maximagesize'         => array('maximagesize', t("Maximum image size"), get_config('system','maximagesize'), "Maximum size in bytes of uploaded images. Default is 0, which means no limits."),
+               '$maximagesize'         => array('maximagesize', t("Maximum image size"), get_config('system','maximagesize'), t("Maximum size in bytes of uploaded images. Default is 0, which means no limits.")),
 
                '$register_policy'      => array('register_policy', t("Register policy"), $a->config['register_policy'], "", $register_choices),
-               '$register_text'        => array('register_text', t("Register text"), htmlentities($a->config['register_text'], ENT_QUOTES), "Will be displayed prominently on the registration page."),
+               '$register_text'        => array('register_text', t("Register text"), htmlentities($a->config['register_text'], ENT_QUOTES), t("Will be displayed prominently on the registration page.")),
                '$abandon_days'     => array('abandon_days', t('Accounts abandoned after x days'), get_config('system','account_abandon_days'), t('Will not waste system resources polling external sites for abandonded accounts. Enter 0 for no time limit.')),
-               '$allowed_sites'        => array('allowed_sites', t("Allowed friend domains"), get_config('system','allowed_sites'), "Comma separated list of domains which are allowed to establish friendships with this site. Wildcards are accepted. Empty to allow any domains"),
-               '$allowed_email'        => array('allowed_email', t("Allowed email domains"), get_config('system','allowed_email'), "Comma separated list of domains which are allowed in email addresses for registrations to this site. Wildcards are accepted. Empty to allow any domains"),
-               '$block_public'         => array('block_public', t("Block public"), get_config('system','block_public'), "Check to block public access to all otherwise public personal pages on this site unless you are currently logged in."),
-               '$force_publish'        => array('publish_all', t("Force publish"), get_config('system','publish_all'), "Check to force all profiles on this site to be listed in the site directory."),
-               '$global_directory'     => array('directory_submit_url', t("Global directory update URL"), get_config('system','directory_submit_url'), "URL to update the global directory. If this is not set, the global directory is completely unavailable to the application."),
+               '$allowed_sites'        => array('allowed_sites', t("Allowed friend domains"), get_config('system','allowed_sites'), t("Comma separated list of domains which are allowed to establish friendships with this site. Wildcards are accepted. Empty to allow any domains")),
+               '$allowed_email'        => array('allowed_email', t("Allowed email domains"), get_config('system','allowed_email'), t("Comma separated list of domains which are allowed in email addresses for registrations to this site. Wildcards are accepted. Empty to allow any domains")),
+               '$block_public'         => array('block_public', t("Block public"), get_config('system','block_public'), t("Check to block public access to all otherwise public personal pages on this site unless you are currently logged in.")),
+               '$force_publish'        => array('publish_all', t("Force publish"), get_config('system','publish_all'), t("Check to force all profiles on this site to be listed in the site directory.")),
+               '$global_directory'     => array('directory_submit_url', t("Global directory update URL"), get_config('system','directory_submit_url'), t("URL to update the global directory. If this is not set, the global directory is completely unavailable to the application.")),
                        
-               '$no_multi_reg'         => array('no_multi_reg', t("Block multiple registrations"),  get_config('system','block_extended_register'), "Disallow users to register additional accounts for use as pages."),
-               '$no_openid'            => array('no_openid', t("OpenID support"), !get_config('system','no_openid'), "OpenID support for registration and logins."),
-               '$no_gravatar'          => array('no_gravatar', t("Gravatar support"), !get_config('system','no_gravatar'), "Search new user's photo on Gravatar."),
-               '$no_regfullname'       => array('no_regfullname', t("Fullname check"), !get_config('system','no_regfullname'), "Force users to register with a space between firstname and lastname in Full name, as an antispam measure"),
-               '$no_utf'                       => array('no_utf', t("UTF-8 Regular expressions"), !get_config('system','no_utf'), "Use PHP UTF8 regular expressions"),
-               '$no_community_page' => array('no_community_page', t("Show Community Page"), !get_config('system','no_community_page'), "Display a Community page showing all recent public postings on this site."),
-               '$ostatus_disabled' => array('ostatus_disabled', t("Enable OStatus support"), !get_config('system','ostatus_disable'), "Provide built-in OStatus \x28identi.ca, status.net, etc.\x29 compatibility. All communications in OStatus are public, so privacy warnings will be occasionally displayed."),    
-               '$diaspora_enabled' => array('diaspora_enabled', t("Enable Diaspora support"), get_config('system','diaspora_enabled'), "Provide built-in Diaspora network compatibility."),    
-               '$dfrn_only'        => array('dfrn_only', t('Only allow Friendica contacts'), get_config('system','dfrn_only'), "All contacts must use Friendica protocols. All other built-in communication protocols disabled."),
-               '$verifyssl'            => array('verifyssl', t("Verify SSL"), get_config('system','verifyssl'), "If you wish, you can turn on strict certificate checking. This will mean you cannot connect (at all) to self-signed SSL sites."),
+               '$no_multi_reg'         => array('no_multi_reg', t("Block multiple registrations"),  get_config('system','block_extended_register'), t("Disallow users to register additional accounts for use as pages.")),
+               '$no_openid'            => array('no_openid', t("OpenID support"), !get_config('system','no_openid'), t("OpenID support for registration and logins.")),
+               '$no_gravatar'          => array('no_gravatar', t("Gravatar support"), !get_config('system','no_gravatar'), t("Search new user's photo on Gravatar.")),
+               '$no_regfullname'       => array('no_regfullname', t("Fullname check"), !get_config('system','no_regfullname'), t("Force users to register with a space between firstname and lastname in Full name, as an antispam measure")),
+               '$no_utf'                       => array('no_utf', t("UTF-8 Regular expressions"), !get_config('system','no_utf'), t("Use PHP UTF8 regular expressions")),
+               '$no_community_page' => array('no_community_page', t("Show Community Page"), !get_config('system','no_community_page'), t("Display a Community page showing all recent public postings on this site.")),
+               '$ostatus_disabled' => array('ostatus_disabled', t("Enable OStatus support"), !get_config('system','ostatus_disable'), t("Provide built-in OStatus \x28identi.ca, status.net, etc.\x29 compatibility. All communications in OStatus are public, so privacy warnings will be occasionally displayed.")), 
+               '$diaspora_enabled' => array('diaspora_enabled', t("Enable Diaspora support"), get_config('system','diaspora_enabled'), t("Provide built-in Diaspora network compatibility.")), 
+               '$dfrn_only'        => array('dfrn_only', t('Only allow Friendica contacts'), get_config('system','dfrn_only'), t("All contacts must use Friendica protocols. All other built-in communication protocols disabled.")),
+               '$verifyssl'            => array('verifyssl', t("Verify SSL"), get_config('system','verifyssl'), t("If you wish, you can turn on strict certificate checking. This will mean you cannot connect (at all) to self-signed SSL sites.")),
                '$proxyuser'            => array('proxyuser', t("Proxy user"), get_config('system','proxyuser'), ""),
                '$proxy'                        => array('proxy', t("Proxy URL"), get_config('system','proxy'), ""),
-               '$timeout'                      => array('timeout', t("Network timeout"), (x(get_config('system','curl_timeout'))?get_config('system','curl_timeout'):60), "Value is in seconds. Set to 0 for unlimited (not recommended)."),
+               '$timeout'                      => array('timeout', t("Network timeout"), (x(get_config('system','curl_timeout'))?get_config('system','curl_timeout'):60), t("Value is in seconds. Set to 0 for unlimited (not recommended).")),
 
                        
        ));
index f510f793df9d98b2e05356ab6c0b387da0b5a515..f428149e830792819e278c25f004e12c08dff9b4 100755 (executable)
@@ -85,7 +85,7 @@ function display_content(&$a) {
                $o .= status_editor($a,$x,0,true);
 
 
-       $sql_extra = permissions_sql($a->profile['uid'],$remote_contact,$groups);
+       $sql_extra = item_permissions_sql($a->profile['uid'],$remote_contact,$groups);
 
        $r = q("SELECT `item`.*, `item`.`id` AS `item_id`, 
                `contact`.`name`, `contact`.`photo`, `contact`.`url`, `contact`.`rel`,
index 894ac48ed67e3554d7265841b27f5a34b7540ad5..27c6e315b81fc05fc48a0bca9012507e614e245d 100755 (executable)
@@ -51,14 +51,14 @@ function network_init(&$a) {
 
 function saved_searches($search) {
 
-       $srchurl = '/network' 
-               . ((x($_GET,'cid')) ? '?cid=' . $_GET['cid'] : '') 
-               . ((x($_GET,'star')) ? '?star=' . $_GET['star'] : '')
-               . ((x($_GET,'bmark')) ? '?bmark=' . $_GET['bmark'] : '')
-               . ((x($_GET,'conv')) ? '?conv=' . $_GET['conv'] : '')
-               . ((x($_GET,'nets')) ? '?nets=' . $_GET['nets'] : '')
-               . ((x($_GET,'cmin')) ? '?cmin=' . $_GET['cmin'] : '')
-               . ((x($_GET,'cmax')) ? '?cmax=' . $_GET['cmax'] : '');
+       $srchurl = '/network?f=
+               . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : '') 
+               . ((x($_GET,'star')) ? '&star=' . $_GET['star'] : '')
+               . ((x($_GET,'bmark')) ? '&bmark=' . $_GET['bmark'] : '')
+               . ((x($_GET,'conv')) ? '&conv=' . $_GET['conv'] : '')
+               . ((x($_GET,'nets')) ? '&nets=' . $_GET['nets'] : '')
+               . ((x($_GET,'cmin')) ? '&cmin=' . $_GET['cmin'] : '')
+               . ((x($_GET,'cmax')) ? '&cmax=' . $_GET['cmax'] : '');
        
        $o = '';
 
@@ -164,33 +164,33 @@ function network_content(&$a, $update = 0) {
        $tabs = array(
                array(
                        'label' => t('Commented Order'),
-                       'url'=>$a->get_baseurl() . '/' . str_replace('/new', '', $a->cmd) . ((x($_GET,'cid')) ? '?cid=' . $_GET['cid'] : ''), 
+                       'url'=>$a->get_baseurl() . '/' . str_replace('/new', '', $a->cmd) . ((x($_GET,'cid')) ? '?f=&cid=' . $_GET['cid'] : ''), 
                        'sel'=>$all_active,
                ),
                array(
                        'label' => t('Posted Order'),
-                       'url'=>$a->get_baseurl() . '/' . str_replace('/new', '', $a->cmd) . '?order=post' . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : ''), 
+                       'url'=>$a->get_baseurl() . '/' . str_replace('/new', '', $a->cmd) . '?f=&order=post' . ((x($_GET,'cid')) ? '&cid=' . $_GET['cid'] : ''), 
                        'sel'=>$postord_active,
                ),
 
                array(
                        'label' => t('Personal'),
-                       'url' => $a->get_baseurl() . '/' . str_replace('/new', '', $a->cmd) . ((x($_GET,'cid')) ? '/?cid=' . $_GET['cid'] : '') . '&conv=1',
+                       'url' => $a->get_baseurl() . '/' . str_replace('/new', '', $a->cmd) . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : '') . '&conv=1',
                        'sel' => $conv_active,
                ),
                array(
                        'label' => t('New'),
-                       'url' => $a->get_baseurl() . '/' . str_replace('/new', '', $a->cmd) . '/new' . ((x($_GET,'cid')) ? '/?cid=' . $_GET['cid'] : ''),
+                       'url' => $a->get_baseurl() . '/' . str_replace('/new', '', $a->cmd) . '/new' . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : ''),
                        'sel' => $new_active,
                ),
                array(
                        'label' => t('Starred'),
-                       'url'=>$a->get_baseurl() . '/' . str_replace('/new', '', $a->cmd) . ((x($_GET,'cid')) ? '/?cid=' . $_GET['cid'] : '') . '&star=1',
+                       'url'=>$a->get_baseurl() . '/' . str_replace('/new', '', $a->cmd) . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : '') . '&star=1',
                        'sel'=>$starred_active,
                ),
                array(
                        'label' => t('Bookmarks'),
-                       'url'=>$a->get_baseurl() . '/' . str_replace('/new', '', $a->cmd) . ((x($_GET,'cid')) ? '/?cid=' . $_GET['cid'] : '') . '&bmark=1',
+                       'url'=>$a->get_baseurl() . '/' . str_replace('/new', '', $a->cmd) . ((x($_GET,'cid')) ? '/?f=&cid=' . $_GET['cid'] : '') . '&bmark=1',
                        'sel'=>$bookmarked_active,
                ),      
 //             array(
@@ -256,8 +256,6 @@ function network_content(&$a, $update = 0) {
 
                nav_set_selected('network');
 
-               $_SESSION['return_url'] = $a->query_string;
-
                $celeb = ((($a->user['page-flags'] == PAGE_SOAPBOX) || ($a->user['page-flags'] == PAGE_COMMUNITY)) ? true : false);
 
                $x = array(
@@ -472,7 +470,7 @@ function network_content(&$a, $update = 0) {
 
                if(count($r)) {
                        foreach($r as $rr)
-                               if(! array_key_exists($rr['item_id'],$parents_arr))
+                               if(! in_array($rr['item_id'],$parents_arr))
                                        $parents_arr[] = $rr['item_id'];
                        $parents_str = implode(', ', $parents_arr);
 
index 74e1a2302002e8e48d4ed34944e2fb09f69e8447..1a701f40773bcfc12d4ace04c620e906ffdc2640 100755 (executable)
@@ -159,7 +159,7 @@ function profile_content(&$a, $update = 0) {
         * Get permissions SQL - if $remote_contact is true, our remote user has been pre-verified and we already have fetched his/her groups
         */
 
-       $sql_extra = permissions_sql($a->profile['profile_uid'],$remote_contact,$groups);
+       $sql_extra = item_permissions_sql($a->profile['profile_uid'],$remote_contact,$groups);
 
 
        if($update) {
index fe09b671f60f94bb02934e88e6bb7bb2d8f3ba08..386592ea197c3cc3176dfedb649f4a5621b8ebb8 100755 (executable)
@@ -127,7 +127,7 @@ function search_content(&$a) {
                FROM `item` LEFT JOIN `contact` ON `contact`.`id` = `item`.`contact-id`
                LEFT JOIN `user` ON `user`.`uid` = `item`.`uid`
                WHERE `item`.`visible` = 1 AND `item`.`deleted` = 0 and `item`.`moderated` = 0
-               AND (( `wall` = 1 AND `item`.`allow_cid` = ''  AND `item`.`allow_gid` = '' AND `item`.`deny_cid`  = '' AND `item`.`deny_gid`  = '' AND `user`.`hidewall` = 0 ) 
+               AND (( `wall` = 1 AND `item`.`allow_cid` = ''  AND `item`.`allow_gid` = '' AND `item`.`deny_cid`  = '' AND `item`.`deny_gid`  = '' AND `item`.`private` = 0 AND `user`.`hidewall` = 0 ) 
                        OR `item`.`uid` = %d )
                AND `contact`.`blocked` = 0 AND `contact`.`pending` = 0
                $search_alg
index bba527342aaf7e5bab10f2656496966e760127d9..f6c025e3cef29ea774c58bae14d341c94a18ec78 100755 (executable)
@@ -16,10 +16,18 @@ function share_init(&$a) {
 
        $o = '';
 
-       $o .= '&#x2672; <a href="' . $r[0]['author-link'] . '">' . $r[0]['author-name'] . '</a><br />';
-       if($r[0]['title'])
-               $o .= '<strong>' . $r[0]['title'] . '</strong><br />';
-       $o .= bbcode($r[0]['body'], true);
-       echo $o . '<br />';
+       if(local_user() && intval(get_pconfig(local_user(),'system','plaintext'))) {
+               $o .= '&#x2672; [url=' . $r[0]['author-link'] . ']' . $r[0]['author-name'] . '[/url]';
+               if($r[0]['title'])
+                       $o .= '[b]' . $r[0]['title'] . '[/b]' . "\n";
+               $o .= $r[0]['body'] . "\n";
+       }
+       else {
+               $o .= '&#x2672; <a href="' . $r[0]['author-link'] . '">' . $r[0]['author-name'] . '</a><br />';
+               if($r[0]['title'])
+                       $o .= '<strong>' . $r[0]['title'] . '</strong><br />';
+               $o .= bbcode($r[0]['body'], true) . '<br />';
+       }
+       echo $o;
        killme();  
 }
index 140ed0427f4d72d20e399c2baed1f2dfc5f38385..7f88e228841af5a3371fc47aa37e8732901ba781 100755 (executable)
@@ -6,9 +6,9 @@
 #, fuzzy
 msgid ""
 msgstr ""
-"Project-Id-Version: 2.3.1272\n"
+"Project-Id-Version: 2.3.1273\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-03-05 16:34-0800\n"
+"POT-Creation-Date: 2012-03-06 15:09-0800\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"
@@ -48,11 +48,11 @@ msgstr ""
 #: ../../mod/profile_photo.php:148 ../../mod/profile_photo.php:159
 #: ../../mod/message.php:9 ../../mod/message.php:46 ../../mod/allfriends.php:9
 #: ../../mod/wall_upload.php:42 ../../mod/follow.php:8 ../../mod/common.php:9
-#: ../../mod/display.php:130 ../../mod/profiles.php:7
+#: ../../mod/display.php:133 ../../mod/profiles.php:7
 #: ../../mod/profiles.php:229 ../../mod/delegate.php:6
 #: ../../mod/suggest.php:28 ../../mod/invite.php:13 ../../mod/invite.php:81
 #: ../../mod/dfrn_confirm.php:53 ../../addon/facebook/facebook.php:332
-#: ../../include/items.php:3005 ../../index.php:288
+#: ../../include/items.php:3030 ../../index.php:288
 msgid "Permission denied."
 msgstr ""
 
@@ -82,7 +82,7 @@ msgid "Return to contact editor"
 msgstr ""
 
 #: ../../mod/crepair.php:148 ../../mod/settings.php:462
-#: ../../mod/settings.php:488 ../../mod/admin.php:483 ../../mod/admin.php:492
+#: ../../mod/settings.php:488 ../../mod/admin.php:484 ../../mod/admin.php:493
 msgid "Name"
 msgstr ""
 
@@ -126,8 +126,8 @@ msgstr ""
 #: ../../mod/localtime.php:45 ../../mod/contacts.php:319
 #: ../../mod/settings.php:460 ../../mod/settings.php:603
 #: ../../mod/settings.php:797 ../../mod/manage.php:109 ../../mod/group.php:80
-#: ../../mod/admin.php:312 ../../mod/admin.php:480 ../../mod/admin.php:606
-#: ../../mod/admin.php:772 ../../mod/admin.php:852 ../../mod/profiles.php:375
+#: ../../mod/admin.php:313 ../../mod/admin.php:481 ../../mod/admin.php:609
+#: ../../mod/admin.php:776 ../../mod/admin.php:856 ../../mod/profiles.php:375
 #: ../../mod/invite.php:106 ../../addon/facebook/facebook.php:411
 #: ../../addon/yourls/yourls.php:76 ../../addon/ljpost/ljpost.php:92
 #: ../../addon/nsfw/nsfw.php:57
@@ -149,7 +149,8 @@ msgstr ""
 #: ../../addon/wppost/wppost.php:102 ../../addon/showmore/showmore.php:48
 #: ../../addon/piwik/piwik.php:89 ../../addon/twitter/twitter.php:175
 #: ../../addon/twitter/twitter.php:201 ../../addon/twitter/twitter.php:355
-#: ../../addon/posterous/posterous.php:90 ../../include/conversation.php:552
+#: ../../addon/posterous/posterous.php:90
+#: ../../view/theme/quattro/theme.php:15 ../../include/conversation.php:552
 msgid "Submit"
 msgstr ""
 
@@ -539,7 +540,7 @@ msgid "Preview"
 msgstr ""
 
 #: ../../mod/photos.php:1320 ../../mod/settings.php:520
-#: ../../mod/settings.php:601 ../../mod/group.php:158 ../../mod/admin.php:487
+#: ../../mod/settings.php:601 ../../mod/group.php:158 ../../mod/admin.php:488
 #: ../../include/conversation.php:304 ../../include/conversation.php:573
 msgid "Delete"
 msgstr ""
@@ -772,7 +773,7 @@ msgstr ""
 msgid "Confirm"
 msgstr ""
 
-#: ../../mod/dfrn_request.php:582 ../../include/items.php:2541
+#: ../../mod/dfrn_request.php:582 ../../include/items.php:2566
 msgid "[Name Withheld]"
 msgstr ""
 
@@ -1225,7 +1226,7 @@ msgid "if applicable"
 msgstr ""
 
 #: ../../mod/notifications.php:153 ../../mod/notifications.php:200
-#: ../../mod/admin.php:485
+#: ../../mod/admin.php:486
 msgid "Approve"
 msgstr ""
 
@@ -1422,12 +1423,12 @@ msgid "View all contacts"
 msgstr ""
 
 #: ../../mod/contacts.php:297 ../../mod/contacts.php:344
-#: ../../mod/admin.php:489
+#: ../../mod/admin.php:490
 msgid "Unblock"
 msgstr ""
 
 #: ../../mod/contacts.php:297 ../../mod/contacts.php:344
-#: ../../mod/admin.php:488
+#: ../../mod/admin.php:489
 msgid "Block"
 msgstr ""
 
@@ -1496,7 +1497,7 @@ msgstr ""
 msgid "Update public posts"
 msgstr ""
 
-#: ../../mod/contacts.php:341 ../../mod/admin.php:901
+#: ../../mod/contacts.php:341 ../../mod/admin.php:905
 msgid "Update now"
 msgstr ""
 
@@ -1583,7 +1584,7 @@ msgstr ""
 #: ../../mod/lostpass.php:44 ../../mod/lostpass.php:106
 #: ../../mod/register.php:380 ../../mod/register.php:434
 #: ../../mod/regmod.php:54 ../../mod/dfrn_confirm.php:726
-#: ../../include/items.php:2550
+#: ../../include/items.php:2575
 msgid "Administrator"
 msgstr ""
 
@@ -1850,7 +1851,7 @@ msgstr ""
 msgid "Move to folder:"
 msgstr ""
 
-#: ../../mod/settings.php:659 ../../mod/admin.php:142 ../../mod/admin.php:461
+#: ../../mod/settings.php:659 ../../mod/admin.php:142 ../../mod/admin.php:462
 msgid "Normal Account"
 msgstr ""
 
@@ -1858,7 +1859,7 @@ msgstr ""
 msgid "This account is a normal personal profile"
 msgstr ""
 
-#: ../../mod/settings.php:663 ../../mod/admin.php:143 ../../mod/admin.php:462
+#: ../../mod/settings.php:663 ../../mod/admin.php:143 ../../mod/admin.php:463
 msgid "Soapbox Account"
 msgstr ""
 
@@ -1866,7 +1867,7 @@ msgstr ""
 msgid "Automatically approve all connection/friend requests as read-only fans"
 msgstr ""
 
-#: ../../mod/settings.php:667 ../../mod/admin.php:144 ../../mod/admin.php:463
+#: ../../mod/settings.php:667 ../../mod/admin.php:144 ../../mod/admin.php:464
 msgid "Community/Celebrity Account"
 msgstr ""
 
@@ -1874,7 +1875,7 @@ msgstr ""
 msgid "Automatically approve all connection/friend requests as read-write fans"
 msgstr ""
 
-#: ../../mod/settings.php:671 ../../mod/admin.php:145 ../../mod/admin.php:464
+#: ../../mod/settings.php:671 ../../mod/admin.php:145 ../../mod/admin.php:465
 msgid "Automatic Friend Account"
 msgstr ""
 
@@ -2140,27 +2141,27 @@ msgstr[1] ""
 msgid "Private messages to this group are at risk of public disclosure."
 msgstr ""
 
-#: ../../mod/network.php:300
+#: ../../mod/network.php:298
 msgid "No such group"
 msgstr ""
 
-#: ../../mod/network.php:311
+#: ../../mod/network.php:309
 msgid "Group is empty"
 msgstr ""
 
-#: ../../mod/network.php:315
+#: ../../mod/network.php:313
 msgid "Group: "
 msgstr ""
 
-#: ../../mod/network.php:325
+#: ../../mod/network.php:323
 msgid "Contact: "
 msgstr ""
 
-#: ../../mod/network.php:327
+#: ../../mod/network.php:325
 msgid "Private messages to this person are at risk of public disclosure."
 msgstr ""
 
-#: ../../mod/network.php:332
+#: ../../mod/network.php:330
 msgid "Invalid contact."
 msgstr ""
 
@@ -2488,7 +2489,7 @@ msgstr ""
 msgid "Your invitation ID: "
 msgstr ""
 
-#: ../../mod/register.php:540 ../../mod/admin.php:313
+#: ../../mod/register.php:540 ../../mod/admin.php:314
 msgid "Registration"
 msgstr ""
 
@@ -2542,9 +2543,9 @@ msgid "%1$s doesn't like %2$s's %3$s"
 msgstr ""
 
 #: ../../mod/notice.php:15 ../../mod/viewsrc.php:15 ../../mod/admin.php:127
-#: ../../mod/admin.php:521 ../../mod/admin.php:697 ../../mod/display.php:29
-#: ../../mod/display.php:134 ../../mod/viewd.php:14
-#: ../../include/items.php:2917
+#: ../../mod/admin.php:522 ../../mod/admin.php:700 ../../mod/display.php:29
+#: ../../mod/display.php:137 ../../mod/viewd.php:14
+#: ../../include/items.php:2942
 msgid "Item not found."
 msgstr ""
 
@@ -2778,23 +2779,23 @@ msgstr ""
 msgid "No friends to display."
 msgstr ""
 
-#: ../../mod/admin.php:71 ../../mod/admin.php:311
+#: ../../mod/admin.php:71 ../../mod/admin.php:312
 msgid "Site"
 msgstr ""
 
-#: ../../mod/admin.php:72 ../../mod/admin.php:479 ../../mod/admin.php:491
+#: ../../mod/admin.php:72 ../../mod/admin.php:480 ../../mod/admin.php:492
 msgid "Users"
 msgstr ""
 
-#: ../../mod/admin.php:73 ../../mod/admin.php:568 ../../mod/admin.php:605
+#: ../../mod/admin.php:73 ../../mod/admin.php:569 ../../mod/admin.php:608
 msgid "Plugins"
 msgstr ""
 
-#: ../../mod/admin.php:74 ../../mod/admin.php:739 ../../mod/admin.php:771
+#: ../../mod/admin.php:74 ../../mod/admin.php:742 ../../mod/admin.php:775
 msgid "Themes"
 msgstr ""
 
-#: ../../mod/admin.php:89 ../../mod/admin.php:851
+#: ../../mod/admin.php:89 ../../mod/admin.php:855
 msgid "Logs"
 msgstr ""
 
@@ -2802,333 +2803,439 @@ msgstr ""
 msgid "User registrations waiting for confirmation"
 msgstr ""
 
-#: ../../mod/admin.php:160 ../../mod/admin.php:310 ../../mod/admin.php:478
-#: ../../mod/admin.php:567 ../../mod/admin.php:604 ../../mod/admin.php:738
-#: ../../mod/admin.php:770 ../../mod/admin.php:850
+#: ../../mod/admin.php:161 ../../mod/admin.php:311 ../../mod/admin.php:479
+#: ../../mod/admin.php:568 ../../mod/admin.php:607 ../../mod/admin.php:741
+#: ../../mod/admin.php:774 ../../mod/admin.php:854
 msgid "Administration"
 msgstr ""
 
-#: ../../mod/admin.php:161
+#: ../../mod/admin.php:162
 msgid "Summary"
 msgstr ""
 
-#: ../../mod/admin.php:162
+#: ../../mod/admin.php:163
 msgid "Registered users"
 msgstr ""
 
-#: ../../mod/admin.php:164
+#: ../../mod/admin.php:165
 msgid "Pending registrations"
 msgstr ""
 
-#: ../../mod/admin.php:165
+#: ../../mod/admin.php:166
 msgid "Version"
 msgstr ""
 
-#: ../../mod/admin.php:167
+#: ../../mod/admin.php:168
 msgid "Active plugins"
 msgstr ""
 
-#: ../../mod/admin.php:259
+#: ../../mod/admin.php:260
 msgid "Site settings updated."
 msgstr ""
 
-#: ../../mod/admin.php:303
+#: ../../mod/admin.php:304
 msgid "Closed"
 msgstr ""
 
-#: ../../mod/admin.php:304
+#: ../../mod/admin.php:305
 msgid "Requires approval"
 msgstr ""
 
-#: ../../mod/admin.php:305
+#: ../../mod/admin.php:306
 msgid "Open"
 msgstr ""
 
-#: ../../mod/admin.php:314
+#: ../../mod/admin.php:315
 msgid "File upload"
 msgstr ""
 
-#: ../../mod/admin.php:315
+#: ../../mod/admin.php:316
 msgid "Policies"
 msgstr ""
 
-#: ../../mod/admin.php:316
+#: ../../mod/admin.php:317
 msgid "Advanced"
 msgstr ""
 
-#: ../../mod/admin.php:320 ../../addon/statusnet/statusnet.php:523
+#: ../../mod/admin.php:321 ../../addon/statusnet/statusnet.php:523
 msgid "Site name"
 msgstr ""
 
-#: ../../mod/admin.php:321
+#: ../../mod/admin.php:322
 msgid "Banner/Logo"
 msgstr ""
 
-#: ../../mod/admin.php:322
+#: ../../mod/admin.php:323
 msgid "System language"
 msgstr ""
 
-#: ../../mod/admin.php:323
+#: ../../mod/admin.php:324
 msgid "System theme"
 msgstr ""
 
-#: ../../mod/admin.php:325
+#: ../../mod/admin.php:324
+msgid "Default system theme - may be over-ridden by user profiles"
+msgstr ""
+
+#: ../../mod/admin.php:326
 msgid "Maximum image size"
 msgstr ""
 
-#: ../../mod/admin.php:327
-msgid "Register policy"
+#: ../../mod/admin.php:326
+msgid ""
+"Maximum size in bytes of uploaded images. Default is 0, which means no "
+"limits."
 msgstr ""
 
 #: ../../mod/admin.php:328
+msgid "Register policy"
+msgstr ""
+
+#: ../../mod/admin.php:329
 msgid "Register text"
 msgstr ""
 
 #: ../../mod/admin.php:329
+msgid "Will be displayed prominently on the registration page."
+msgstr ""
+
+#: ../../mod/admin.php:330
 msgid "Accounts abandoned after x days"
 msgstr ""
 
-#: ../../mod/admin.php:329
+#: ../../mod/admin.php:330
 msgid ""
 "Will not waste system resources polling external sites for abandonded "
 "accounts. Enter 0 for no time limit."
 msgstr ""
 
-#: ../../mod/admin.php:330
+#: ../../mod/admin.php:331
 msgid "Allowed friend domains"
 msgstr ""
 
 #: ../../mod/admin.php:331
+msgid ""
+"Comma separated list of domains which are allowed to establish friendships "
+"with this site. Wildcards are accepted. Empty to allow any domains"
+msgstr ""
+
+#: ../../mod/admin.php:332
 msgid "Allowed email domains"
 msgstr ""
 
 #: ../../mod/admin.php:332
+msgid ""
+"Comma separated list of domains which are allowed in email addresses for "
+"registrations to this site. Wildcards are accepted. Empty to allow any "
+"domains"
+msgstr ""
+
+#: ../../mod/admin.php:333
 msgid "Block public"
 msgstr ""
 
 #: ../../mod/admin.php:333
+msgid ""
+"Check to block public access to all otherwise public personal pages on this "
+"site unless you are currently logged in."
+msgstr ""
+
+#: ../../mod/admin.php:334
 msgid "Force publish"
 msgstr ""
 
 #: ../../mod/admin.php:334
+msgid ""
+"Check to force all profiles on this site to be listed in the site directory."
+msgstr ""
+
+#: ../../mod/admin.php:335
 msgid "Global directory update URL"
 msgstr ""
 
-#: ../../mod/admin.php:336
+#: ../../mod/admin.php:335
+msgid ""
+"URL to update the global directory. If this is not set, the global directory "
+"is completely unavailable to the application."
+msgstr ""
+
+#: ../../mod/admin.php:337
 msgid "Block multiple registrations"
 msgstr ""
 
 #: ../../mod/admin.php:337
+msgid "Disallow users to register additional accounts for use as pages."
+msgstr ""
+
+#: ../../mod/admin.php:338
 msgid "OpenID support"
 msgstr ""
 
 #: ../../mod/admin.php:338
+msgid "OpenID support for registration and logins."
+msgstr ""
+
+#: ../../mod/admin.php:339
 msgid "Gravatar support"
 msgstr ""
 
 #: ../../mod/admin.php:339
+msgid "Search new user's photo on Gravatar."
+msgstr ""
+
+#: ../../mod/admin.php:340
 msgid "Fullname check"
 msgstr ""
 
 #: ../../mod/admin.php:340
+msgid ""
+"Force users to register with a space between firstname and lastname in Full "
+"name, as an antispam measure"
+msgstr ""
+
+#: ../../mod/admin.php:341
 msgid "UTF-8 Regular expressions"
 msgstr ""
 
 #: ../../mod/admin.php:341
+msgid "Use PHP UTF8 regular expressions"
+msgstr ""
+
+#: ../../mod/admin.php:342
 msgid "Show Community Page"
 msgstr ""
 
 #: ../../mod/admin.php:342
+msgid ""
+"Display a Community page showing all recent public postings on this site."
+msgstr ""
+
+#: ../../mod/admin.php:343
 msgid "Enable OStatus support"
 msgstr ""
 
 #: ../../mod/admin.php:343
+msgid ""
+"Provide built-in OStatus (identi.ca, status.net, etc.) compatibility. All "
+"communications in OStatus are public, so privacy warnings will be "
+"occasionally displayed."
+msgstr ""
+
+#: ../../mod/admin.php:344
 msgid "Enable Diaspora support"
 msgstr ""
 
 #: ../../mod/admin.php:344
+msgid "Provide built-in Diaspora network compatibility."
+msgstr ""
+
+#: ../../mod/admin.php:345
 msgid "Only allow Friendica contacts"
 msgstr ""
 
 #: ../../mod/admin.php:345
+msgid ""
+"All contacts must use Friendica protocols. All other built-in communication "
+"protocols disabled."
+msgstr ""
+
+#: ../../mod/admin.php:346
 msgid "Verify SSL"
 msgstr ""
 
 #: ../../mod/admin.php:346
-msgid "Proxy user"
+msgid ""
+"If you wish, you can turn on strict certificate checking. This will mean you "
+"cannot connect (at all) to self-signed SSL sites."
 msgstr ""
 
 #: ../../mod/admin.php:347
-msgid "Proxy URL"
+msgid "Proxy user"
 msgstr ""
 
 #: ../../mod/admin.php:348
+msgid "Proxy URL"
+msgstr ""
+
+#: ../../mod/admin.php:349
 msgid "Network timeout"
 msgstr ""
 
-#: ../../mod/admin.php:369
+#: ../../mod/admin.php:349
+msgid "Value is in seconds. Set to 0 for unlimited (not recommended)."
+msgstr ""
+
+#: ../../mod/admin.php:370
 #, php-format
 msgid "%s user blocked/unblocked"
 msgid_plural "%s users blocked/unblocked"
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../../mod/admin.php:376
+#: ../../mod/admin.php:377
 #, php-format
 msgid "%s user deleted"
 msgid_plural "%s users deleted"
 msgstr[0] ""
 msgstr[1] ""
 
-#: ../../mod/admin.php:410
+#: ../../mod/admin.php:411
 #, php-format
 msgid "User '%s' deleted"
 msgstr ""
 
-#: ../../mod/admin.php:417
+#: ../../mod/admin.php:418
 #, php-format
 msgid "User '%s' unblocked"
 msgstr ""
 
-#: ../../mod/admin.php:417
+#: ../../mod/admin.php:418
 #, php-format
 msgid "User '%s' blocked"
 msgstr ""
 
-#: ../../mod/admin.php:481
+#: ../../mod/admin.php:482
 msgid "select all"
 msgstr ""
 
-#: ../../mod/admin.php:482
+#: ../../mod/admin.php:483
 msgid "User registrations waiting for confirm"
 msgstr ""
 
-#: ../../mod/admin.php:483
+#: ../../mod/admin.php:484
 msgid "Request date"
 msgstr ""
 
-#: ../../mod/admin.php:483 ../../mod/admin.php:492
+#: ../../mod/admin.php:484 ../../mod/admin.php:493
 #: ../../include/contact_selectors.php:79
 msgid "Email"
 msgstr ""
 
-#: ../../mod/admin.php:484
+#: ../../mod/admin.php:485
 msgid "No registrations."
 msgstr ""
 
-#: ../../mod/admin.php:486
+#: ../../mod/admin.php:487
 msgid "Deny"
 msgstr ""
 
-#: ../../mod/admin.php:492
+#: ../../mod/admin.php:493
 msgid "Register date"
 msgstr ""
 
-#: ../../mod/admin.php:492
+#: ../../mod/admin.php:493
 msgid "Last login"
 msgstr ""
 
-#: ../../mod/admin.php:492
+#: ../../mod/admin.php:493
 msgid "Last item"
 msgstr ""
 
-#: ../../mod/admin.php:492
+#: ../../mod/admin.php:493
 msgid "Account"
 msgstr ""
 
-#: ../../mod/admin.php:494
+#: ../../mod/admin.php:495
 msgid ""
 "Selected users will be deleted!\\n\\nEverything these users had posted on "
 "this site will be permanently deleted!\\n\\nAre you sure?"
 msgstr ""
 
-#: ../../mod/admin.php:495
+#: ../../mod/admin.php:496
 msgid ""
 "The user {0} will be deleted!\\n\\nEverything this user has posted on this "
 "site will be permanently deleted!\\n\\nAre you sure?"
 msgstr ""
 
-#: ../../mod/admin.php:531
+#: ../../mod/admin.php:532
 #, php-format
 msgid "Plugin %s disabled."
 msgstr ""
 
-#: ../../mod/admin.php:535
+#: ../../mod/admin.php:536
 #, php-format
 msgid "Plugin %s enabled."
 msgstr ""
 
-#: ../../mod/admin.php:545 ../../mod/admin.php:721
+#: ../../mod/admin.php:546 ../../mod/admin.php:724
 msgid "Disable"
 msgstr ""
 
-#: ../../mod/admin.php:547 ../../mod/admin.php:723
+#: ../../mod/admin.php:548 ../../mod/admin.php:726
 msgid "Enable"
 msgstr ""
 
-#: ../../mod/admin.php:569 ../../mod/admin.php:740
+#: ../../mod/admin.php:570 ../../mod/admin.php:743
 msgid "Toggle"
 msgstr ""
 
-#: ../../mod/admin.php:570 ../../mod/admin.php:741 ../../include/nav.php:130
+#: ../../mod/admin.php:571 ../../mod/admin.php:744 ../../include/nav.php:130
 msgid "Settings"
 msgstr ""
 
-#: ../../mod/admin.php:686
+#: ../../mod/admin.php:578 ../../mod/admin.php:753
+msgid "Author: "
+msgstr ""
+
+#: ../../mod/admin.php:579 ../../mod/admin.php:754
+msgid "Maintainer: "
+msgstr ""
+
+#: ../../mod/admin.php:689
 msgid "No themes found."
 msgstr ""
 
-#: ../../mod/admin.php:776
+#: ../../mod/admin.php:780
 msgid "[Experimental]"
 msgstr ""
 
-#: ../../mod/admin.php:777
+#: ../../mod/admin.php:781
 msgid "[Unsupported]"
 msgstr ""
 
-#: ../../mod/admin.php:800
+#: ../../mod/admin.php:804
 msgid "Log settings updated."
 msgstr ""
 
-#: ../../mod/admin.php:853
+#: ../../mod/admin.php:857
 msgid "Clear"
 msgstr ""
 
-#: ../../mod/admin.php:859
+#: ../../mod/admin.php:863
 msgid "Debugging"
 msgstr ""
 
-#: ../../mod/admin.php:860
+#: ../../mod/admin.php:864
 msgid "Log file"
 msgstr ""
 
-#: ../../mod/admin.php:860
+#: ../../mod/admin.php:864
 msgid ""
 "Must be writable by web server. Relative to your Friendica top-level "
 "directory."
 msgstr ""
 
-#: ../../mod/admin.php:861
+#: ../../mod/admin.php:865
 msgid "Log level"
 msgstr ""
 
-#: ../../mod/admin.php:902
+#: ../../mod/admin.php:906
 msgid "Close"
 msgstr ""
 
-#: ../../mod/admin.php:908
+#: ../../mod/admin.php:912
 msgid "FTP Host"
 msgstr ""
 
-#: ../../mod/admin.php:909
+#: ../../mod/admin.php:913
 msgid "FTP Path"
 msgstr ""
 
-#: ../../mod/admin.php:910
+#: ../../mod/admin.php:914
 msgid "FTP User"
 msgstr ""
 
-#: ../../mod/admin.php:911
+#: ../../mod/admin.php:915
 msgid "FTP Password"
 msgstr ""
 
@@ -3247,7 +3354,7 @@ msgstr ""
 msgid "No friends in common."
 msgstr ""
 
-#: ../../mod/display.php:127
+#: ../../mod/display.php:130
 msgid "Item has been removed."
 msgstr ""
 
@@ -4650,6 +4757,22 @@ msgstr ""
 msgid "Post to Posterous by default"
 msgstr ""
 
+#: ../../view/theme/quattro/theme.php:17
+msgid "Theme settings"
+msgstr ""
+
+#: ../../view/theme/quattro/theme.php:18
+msgid "Alignment"
+msgstr ""
+
+#: ../../view/theme/quattro/theme.php:18
+msgid "Left"
+msgstr ""
+
+#: ../../view/theme/quattro/theme.php:18
+msgid "Center"
+msgstr ""
+
 #: ../../include/profile_advanced.php:17 ../../boot.php:982
 msgid "Gender:"
 msgstr ""
@@ -5692,11 +5815,11 @@ msgstr ""
 msgid "Please visit %s to approve or reject the suggestion."
 msgstr ""
 
-#: ../../include/items.php:2548
+#: ../../include/items.php:2573
 msgid "A new person is sharing with you at "
 msgstr ""
 
-#: ../../include/items.php:2548
+#: ../../include/items.php:2573
 msgid "You have a new follower at "
 msgstr ""
 
index 0953e66a6f547bfbd78b4741bad244418a6d830b..cbadf1361b247bdd58b2a9614e11bad647ef075b 100755 (executable)
@@ -5,7 +5,7 @@
        <ul class="nets-ul">
                <li class="tool {{ if $sel_all }}selected{{ endif }}"><a href="$base" class="nets-link nets-all">$all</a>
                {{ for $nets as $net }}
-                       <li class="tool {{ if $net.selected }}selected{{ endif }}"><a href="$base?nets=$net.ref" class="nets-link">$net.name</a></li>
+                       <li class="tool {{ if $net.selected }}selected{{ endif }}"><a href="$base?f=&nets=$net.ref" class="nets-link">$net.name</a></li>
                {{ endfor }}
        </ul>
        
index d0ff066737eba78a6c9280d0f571a21de5b6baf8..a098ae8b7c558d9202614a95bd5b3027724faae1 100644 (file)
 </ul>
 
 
+<ul id="nav-notifications-template" style="display:none;" rel="template">
+       <li><a href="{0}"><img src="{1}">{2} <span class="notif-when">{3}</span></a></li>
+</ul>
+
 
 {#
 
index e72000b4ce811b335e702cc7545a2492b2b8f024..43dcdbb8415d4c115e87b8a22d5e4cde77d1d38b 100644 (file)
@@ -1,12 +1,7 @@
-<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>
-<script type="text/javascript" src="$baseurl/js/ajaxupload.js"></script>
 <script type="text/javascript">
-
 var editor = false;
 var textlen = 0;
 var plaintext = '$editselect';
-// this is here because of the silly tinymce error. didn't help.
-var skin = 'default';
 
 function initEditor(cb) {
        if (editor==false) {
@@ -119,7 +114,9 @@ function enableOnUser(){
        $(this).val("");
        initEditor();
 }
-
+</script>
+<script type="text/javascript" src="$baseurl/js/ajaxupload.js"></script>
+<script type="text/javascript">
        var ispublic = '$ispublic';
        var addtitle = '$addtitle';
 
@@ -127,6 +124,7 @@ function enableOnUser(){
                /* enable tinymce on focus and click */
                $("#profile-jot-text").focus(enableOnUser);
                $("#profile-jot-text").click(enableOnUser);
+               /* enable character counter */
                $("#profile-jot-text").focus(charCounter);
                $("#profile-jot-text").click(charCounter);
 
index 7e0f9efa44b18269b92bd97d345048e223b77a45..94c31da23b4c62c61125aa837a036075aa4b3f3f 100644 (file)
                <input type="hidden" name="post_id" value="$post_id" />
                <input type="hidden" name="preview" id="jot-preview" value="0" />
 
-               <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body">{{ if $content }}$content{{ else }}$share{{ endif }}</textarea>
-
-               <div id="jot-tools" class="jothidden" style="display:none">
-                       <span class="icon border camera"><a href="#" onclick="return false;" id="wall-image-upload" title="$upload"></a></span>
-                       <span class="icon border attach"><a href="#" onclick="return false;" id="wall-file-upload" title="$attach"></a></span>
-                       <span class="icon border link"><a id="profile-link" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;" title="$weblink"></a></span>
-                       <span class="icon border video"><a id="profile-video" onclick="jotVideoURL();return false;" title="$gvideo"></a></span>
-                       <span class="icon border audio"><a id="profile-audio" onclick="jotAudioURL();return false;" title="$audio"></a></span>
-                       <span class="icon border globe"><a id="profile-location" onclick="jotGetLocation();return false;" title="$setloc"></a></span>
-                       <span class="icon border noglobe"><a id="profile-nolocation" onclick="jotClearLocation();return false;" title="$noloc"></a></span>
-                       $jotplugins
-                       <ul id="profile-jot-submit-wrapper">
-                               <li>
-                                       <a class="icon-text-preview pointer"></a><a id="jot-preview-link" class="pointer" onclick="preview_post(); return false;" title="$preview">$preview</a>
-                               </li>
-
-                               <li id="profile-jot-perms" class="profile-jot-perms">
-                                       <a id="jot-perms-icon" href="#profile-jot-acl-wrapper" class="icon $lockstate $bang" title="$permset"></a>
-                               </li>
-
-                               <li><input type="submit" id="profile-jot-submit" name="submit" value="$share" /></li>
-
-                       </ul>
-                       <span id="profile-rotator" class="loading" style="display: none">
-                               <img src="images/rotator.gif" alt="$wait" title="$wait" /></span>
+               <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body">{{ if $content }}$content{{ else }}$share{{ endif }}
+               </textarea>
+
+
+<div id="jot-tools" class="jothidden" style="display:none">
+       <div id="profile-jot-submit-wrapper" class="jothidden">
+
+               <div id="profile-upload-wrapper" style="display: $visitor;">
+                       <div id="wall-image-upload-div"><a class="icon border camera" href="#" onclick="return false;" id="wall-image-upload" title="$upload"></a></div>
+               </div>
+               <div id="profile-attach-wrapper" style="display: $visitor;">
+                       <div id="wall-file-upload-div"><a class="icon border attach" href="#" onclick="return false;" id="wall-file-upload" title="$attach"></a></div>
+               </div>
+               <div id="profile-link-wrapper" style="display: $visitor;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);">
+                       <a class="icon border link" id="profile-link" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;" title="$weblink"></a>
+               </div>
+               <div id="profile-video-wrapper" style="display: $visitor;">
+                       <a class="icon border video" id="profile-video" onclick="jotVideoURL();return false;" title="$video"></a>
+               </div>
+               <div id="profile-audio-wrapper" style="display: $visitor;">
+                       <a class="icon border audio" id="profile-audio" onclick="jotAudioURL();return false;" title="$audio"></a>
+               </div>
+               <div id="profile-location-wrapper" style="display: $visitor;">
+                       <a class="icon border globe" id="profile-location" onclick="jotGetLocation();return false;" title="$setloc"></a>
                </div>
+               <div id="profile-nolocation-wrapper" style="display: none;">
+                       <a class="icon border noglobe" id="profile-nolocation" onclick="jotClearLocation();return false;" title="$noloc"></a>
+               </div>
+
+               <div id="profile-jot-plugin-wrapper">
+               $jotplugins
+               </div>
+
+       <a class="icon-text-preview pointer"></a><a id="jot-preview-link" class="pointer" onclick="preview_post(); return false;" title="$preview">$preview</a>
+       <input type="submit" id="profile-jot-submit" name="submit" value="$share" />
+       <div id="profile-jot-perms" class="profile-jot-perms">
+               <a id="jot-perms-icon" href="#profile-jot-acl-wrapper" class="icon $lockstate $bang" title="$permset"></a>
        </div>
+       <span id="profile-rotator" class="loading" style="display: none"><img src="images/rotator.gif" alt="$wait" title="$wait" /></span>
+       </div>
+
+       </div> <!-- /#profile-jot-submit-wrapper -->
+</div> <!-- /#jot-tools -->
        
        <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"/>
-                       <div id="profile-jot-email-label">$emailcc</div><input type="text" name="emailcc" id="profile-jot-email" title="$emtitle" />
+                       <hr style="clear:both" />
+                       <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>
                        $jotnets
                </div>
        </div>
 
 </form>
-
 {{ if $content }}<script>initEditor();</script>{{ endif }}
index 0032c4866e43f3f3832e1c0fc71edb348000c94b..472fd875c76ef9435bec7297c6d1441171868f13 100644 (file)
@@ -24,9 +24,9 @@ audio:not([controls]) {
     display: none;
 }
 
-/* =============================================================================
-   Base
  ========================================================================== */
+/* 
*  Base
+ */
 
 /*
  * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
@@ -143,7 +143,10 @@ a:hover {
 }
 .required {
     display: inline;
-    color: #ff0000;
+    color: #ff0;
+    font-size: 16px;
+    font-weight: bold;
+    margin: 3px;
 }
 .fakelink, .lockview {
     color: #3465a4;
@@ -584,26 +587,26 @@ nav #nav-notifications-linkmenu.on .icon.s22.notify, nav #nav-notifications-link
        border:2px solid #f8911b;
        border-bottom:0;
        padding-bottom: 50px;
-       z-index:1000;
+       z-index: 1000;
 }
 #sysmsg {
-       position:fixed;
-       bottom:0;
-       -moz-box-shadow:0 0 5px #888;
-       -webkit-box-shadow:0 0 5px #888;
-       box-shadow:0 0 5px #888;
+       position: fixed;
+       bottom: 0;
+       -moz-box-shadow: 0 0 5px #888;
+       -webkit-box-shadow: 0 0 5px #888;
+       box-shadow: 0 0 5px #888;
     padding: 10px;
-       background-color:#fcaf3e;
-       border:2px solid #f8911b;
-       border-bottom:0;
+       background-color: #fcaf3e;
+       border: 2px solid #f8911b;
+       border-bottom: 0;
        padding-bottom: 50px;
-       z-index:1000;
+       z-index: 1000;
 }
 #sysmsg_info br,
 #sysmsg br {
-       display:block;
-       margin:2px 0px;
-       border-top:1px solid #ccccce;
+       display: block;
+       margin: 2px 0px;
+       border-top: 1px solid #ccccce;
 }
 
 
@@ -613,14 +616,15 @@ nav #nav-notifications-linkmenu.on .icon.s22.notify, nav #nav-notifications-link
 aside {
     position: absolute;
     right: 15px;
-    width: 255px;
+    width: 245px;
+       padding-top: 15px;
     font-size: smaller;
 }
 .vcard .fn {
        font-size: 1.7em;
        font-weight: bold;
        border-bottom: 1px solid #729fcf;
-       padding-top: 3px;
+       padding-bottom: 3px;
 }
 .vcard #profile-photo-wrapper {
        margin: 20px;
@@ -687,7 +691,7 @@ aside #viewcontacts {
 #jot #jot-tools {
   margin: 0px;
   padding: 0px;
-  height: 40px;
+  height: 35px;
   overflow: none;
   width: 100%;
   /*background-color: #0e232e;*/
@@ -757,28 +761,21 @@ aside #viewcontacts {
     margin-top: 10px;
 }
 #jot #jot-title {
-    border: 0px;
+       border: 1px solid #ccc;
     margin: 0 0 5px;
     height: 20px;
     width: 90%;
     font-weight: bold;
     border-radius: 5px;
        vertical-align: middle;
-       padding: 5px 1px;
-}
-#jot #jot-title:hover,
-#jot #jot-title:focus {
-  border: 1px solid #999;
-  border-radius: 5px;
 }
 #jot #character-counter {
-  width: 40px;
-  float: right;
-  text-align: right;
-  height: 20px;
-  line-height: 20px;
-  padding: 5px;
-  margin: 0 0 5px;
+       width: 6%;
+       float: right;
+       text-align: right;
+       height: 15px;
+       line-height: 20px;
+       padding: 2px 20px 5px 0;
 }
 #profile-jot-text_tbl {
        margin-bottom: 10px;
@@ -787,15 +784,15 @@ aside #viewcontacts {
        width:99.900002% !important;
 }
 #profile-attach-wrapper,
-#profile-audio,
+#profile-audio-wrapper,
 #profile-link-wrapper,
-#profile-location,
-#profile-nolocation,
+#profile-location-wrapper,
+#profile-nolocation-wrapper,
 #profile-title-wrapper,
 #profile-upload-wrapper,
-#profile-video {
+#profile-video-wrapper {
     float: left;
-    margin-left: 10px;
+       margin: 0 20px 0 0;
 }
 #profile-rotator-wrapper {
        float: right; 
@@ -826,9 +823,10 @@ aside #viewcontacts {
        padding: 5px;
 }
 #jot-preview-link {
-    margin: 0 0 0 25px;
+    margin: 0 0 0 10px;
     border: 0;
     text-decoration: none;
+       float: right;
 }
 .icon-text-preview {
        margin: 0 0 -18px 0;
@@ -838,9 +836,10 @@ aside #viewcontacts {
     background: url(icons.png) no-repeat -128px -40px;
     border: 0;
     text-decoration: none;
+       float: right;
 }
 #profile-jot-perms { 
-       /*float: right;*/
+       float: right;
     background-color: #555753;
     height: 22px;
     width: 20px;
@@ -851,17 +850,18 @@ aside #viewcontacts {
     border: 0px;
     margin: 0 -4px 0 10px;
 }
+#profile-jot-plugin-wrapper {
+       width: 1px;
+       margin: 10px 0 0 0;
+       float: right;
+}
 #profile-jot-submit-wrapper {
        float: right;
-       width: 30%;
+       width: 100%;
        list-style: none;
        margin: 10px 0 0 0;
        padding: 0;
 }
-#profile-jot-submit-wrapper li {
-       display: inline-block;
-       vertical-align: middle;
-}
 #profile-jot-submit {
        height: 22px;
        background-color: #555753;
@@ -871,6 +871,7 @@ aside #viewcontacts {
        border-radius: 0 5px 5px 0;
        border: 0;
        margin: 0;
+       float: right;
 }
 #jot-perms-icons {
        background-color: #555753;
@@ -956,7 +957,7 @@ aside #viewcontacts {
 section {
     margin: 20px 6% 0 4%;
     font-size: 0.8em;
-    padding-right: 250px;
+    padding-right: 230px;
        min-width: 475px;
 }
 
@@ -1002,7 +1003,6 @@ section {
 .wall-item-content-wrapper {
     position: relative;
        padding: 10px;
-       overflow-x: auto;
        width: auto;
 }
 .wall-item-outside-wrapper .wall-item-comment-wrapper {
@@ -1014,12 +1014,12 @@ section {
 .wall-item-content {
        overflow-x: auto;
 }
+/* removing it from here, vs. putting it in .wall-item-content
+ * might break things for people. we shall see ;) */
 [id^="tread-wrapper"], [class^="tread-wrapper"] {
     margin: 15px 0 0 0;
-       /*border: 1px #aaa solid;*/
-       /*border-radius: 5px;*/
     padding: 0px;
-       overflow-x: auto;
+       /*overflow-x: auto;*/
 }
 .wall-item-photo-menu {
     display: none;
@@ -1107,9 +1107,9 @@ section {
        clear:both;
 }
 .wall-item-location {
-    margin-top: 5px;
+    margin-top: 10px;
     width: 100px;
-    overflow:hidden;
+    overflow: hidden;
     text-overflow: ellipsis;
     -o-text-overflow: ellipsis;
 }
@@ -1130,14 +1130,14 @@ section {
     display: none;
 }
 .wallwall .wwto {
-    left:-10px;
+    left: 5px;
     margin: 0;
-    position:absolute;
-    top:65px;
+    position: absolute;
+    top: 75px;
     width: 30px;
-    z-index:10001;
-    width:30px;
-    height:30px;
+    z-index: 10001;
+    width: 30px;
+    height: 30px;
 }
 .wallwall .wwto img {
     width: 30px !important;
@@ -1148,8 +1148,8 @@ section {
 }
 .wall-item-arrowphoto-wrapper {
     position: absolute;
-    left: 20px;
-    top: 70px;
+    left: 35px;
+    top: 80px;
     z-index: 10002;
 }
 .wall-item-photo-menu {
@@ -1160,7 +1160,7 @@ section {
        position: absolute;
        left: -2px; top: 101px;
        display: none;
-       z-index: 10000;
+       z-index: 10003;
        -webkit-border-radius: 0px 5px 5px 5px;
        -moz-border-radius: 0px 5px 5px 5px;
        border-radius: 0px 5px 5px 5px;
@@ -1732,11 +1732,10 @@ div[id$="wrapper"] br {
     margin: 30px 0px;
 }
 .profile-edit-side-div {
-    margin-top: 10px;
+    margin: 5px 2px 0 0;
 }
 .profile-edit-side-link {
     float: right;
-    margin: 10px 20px -16px 0;
 }
 .profile-listing {
     float: left;
@@ -2125,8 +2124,6 @@ div[id$="wrapper"] br {
 }
 .field textarea {
     width: 80%;
-}
-.field textarea {
     height: 100px;
 }
 .field_help {
@@ -2158,7 +2155,6 @@ div[id$="wrapper"] br {
 .hidden {
     display:none !important;
 }
-
 .field.radio .field_help {
     margin-left: 0;
 }
@@ -2286,12 +2282,12 @@ div[id$="wrapper"] br {
 .icon.drophide, .icon.delete {
     float: left;
 }
-.icon.s22 {
+/*.icon.s22 {
        display: block;
        background: url(icons.png) no-repeat;
        width: 22px;
        height: 22px;
-}
+}*/
 .icon.s22.delete {
        display: block;
        background-position: -110px 0;
@@ -2582,17 +2578,17 @@ footer {
 
 /* autocomplete popup */
 .acpopup {
-       max-height:150px;
-       background-color:#555753;
-       color: #FFFFFF;
-       overflow:auto;
-       z-index:100000;
-       border:1px solid #cccccc;
+       max-height: 150px;
+       background-color: #555753;
+       color: #fff;
+       overflow: auto;
+       z-index: 100000;
+       border: 1px solid #cccccc;
 }
 .acpopupitem {
-       background-color:#555753;
+       background-color: #555753;
     padding: 4px;
-       clear:left;
+       clear: left;
 }
 .acpopupitem img {
        float: left;