This commit is contained in:
Thomas Willingham 2012-11-16 00:37:53 +00:00
commit da1b4939f0
7 changed files with 143 additions and 69 deletions

View file

@ -11,7 +11,7 @@ require_once('include/cache.php');
require_once('library/Mobile_Detect/Mobile_Detect.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica');
define ( 'FRIENDICA_VERSION', '3.0.1526' );
define ( 'FRIENDICA_VERSION', '3.0.1527' );
define ( 'DFRN_PROTOCOL_VERSION', '2.23' );
define ( 'DB_UPDATE_VERSION', 1156 );

View file

@ -165,6 +165,7 @@ function send_wallmessage($recipient='', $body='', $subject='', $replyto=''){
$a = get_app();
if(! $recipient) return -1;
if(! strlen($subject))
@ -195,7 +196,7 @@ function send_wallmessage($recipient='', $body='', $subject='', $replyto=''){
$handles = $recip_handle . ';' . $sender_handle;
$r = q("insert into conv (uid,guid,creator,created,updated,subject,recips) values(%d, '%s', '%s', '%s', '%s', '%s', '%s') ",
intval(local_user()),
intval($recipient['uid']),
dbesc($conv_guid),
dbesc($sender_handle),
dbesc(datetime_convert()),

View file

@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: 3.0.1526\n"
"Project-Id-Version: 3.0.1527\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-11-13 10:00-0800\n"
"POT-Creation-Date: 2012-11-14 10:00-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"
@ -182,7 +182,7 @@ msgstr ""
#: ../../view/theme/diabook/theme.php:599
#: ../../view/theme/diabook/config.php:152
#: ../../view/theme/quattro/config.php:64 ../../view/theme/dispy/config.php:70
#: ../../object/Item.php:559 ../../addon.old/fromgplus/fromgplus.php:40
#: ../../object/Item.php:562 ../../addon.old/fromgplus/fromgplus.php:40
#: ../../addon.old/facebook/facebook.php:619
#: ../../addon.old/snautofollow/snautofollow.php:64
#: ../../addon.old/bg/bg.php:90 ../../addon.old/fbpost/fbpost.php:226
@ -588,7 +588,7 @@ msgid "Use as profile photo"
msgstr ""
#: ../../mod/photos.php:1247 ../../mod/content.php:603
#: ../../object/Item.php:103
#: ../../object/Item.php:104
msgid "Private Message"
msgstr ""
@ -629,12 +629,12 @@ msgid "Example: @bob, @Barbara_Jensen, @jim@example.com, #California, #camping"
msgstr ""
#: ../../mod/photos.php:1385 ../../mod/content.php:667
#: ../../object/Item.php:196
#: ../../object/Item.php:197
msgid "I like this (toggle)"
msgstr ""
#: ../../mod/photos.php:1386 ../../mod/content.php:668
#: ../../object/Item.php:197
#: ../../object/Item.php:198
msgid "I don't like this (toggle)"
msgstr ""
@ -643,36 +643,36 @@ msgid "Share"
msgstr ""
#: ../../mod/photos.php:1388 ../../mod/editpost.php:118
#: ../../mod/content.php:482 ../../mod/content.php:846
#: ../../mod/content.php:482 ../../mod/content.php:848
#: ../../mod/wallmessage.php:152 ../../mod/message.php:293
#: ../../mod/message.php:481 ../../include/conversation.php:624
#: ../../include/conversation.php:985 ../../object/Item.php:258
#: ../../include/conversation.php:985 ../../object/Item.php:261
msgid "Please wait"
msgstr ""
#: ../../mod/photos.php:1404 ../../mod/photos.php:1448
#: ../../mod/photos.php:1520 ../../mod/content.php:690
#: ../../object/Item.php:556
#: ../../object/Item.php:559
msgid "This is you"
msgstr ""
#: ../../mod/photos.php:1406 ../../mod/photos.php:1450
#: ../../mod/photos.php:1522 ../../mod/content.php:692 ../../boot.php:605
#: ../../object/Item.php:558
#: ../../object/Item.php:561
msgid "Comment"
msgstr ""
#: ../../mod/photos.php:1408 ../../mod/photos.php:1452
#: ../../mod/photos.php:1524 ../../mod/editpost.php:139
#: ../../mod/content.php:702 ../../include/conversation.php:1003
#: ../../object/Item.php:568
#: ../../object/Item.php:571
msgid "Preview"
msgstr ""
#: ../../mod/photos.php:1492 ../../mod/content.php:439
#: ../../mod/content.php:724 ../../mod/settings.php:606
#: ../../mod/group.php:168 ../../mod/admin.php:696
#: ../../include/conversation.php:569 ../../object/Item.php:117
#: ../../include/conversation.php:569 ../../object/Item.php:118
msgid "Delete"
msgstr ""
@ -743,7 +743,7 @@ msgid "Post to Email"
msgstr ""
#: ../../mod/editpost.php:103 ../../mod/content.php:711
#: ../../mod/settings.php:605 ../../object/Item.php:107
#: ../../mod/settings.php:605 ../../object/Item.php:108
msgid "Edit"
msgstr ""
@ -1428,19 +1428,19 @@ msgid "Group: "
msgstr ""
#: ../../mod/content.php:438 ../../mod/content.php:723
#: ../../include/conversation.php:568 ../../object/Item.php:116
#: ../../include/conversation.php:568 ../../object/Item.php:117
msgid "Select"
msgstr ""
#: ../../mod/content.php:455 ../../mod/content.php:816
#: ../../mod/content.php:817 ../../include/conversation.php:587
#: ../../object/Item.php:227 ../../object/Item.php:228
#: ../../mod/content.php:455 ../../mod/content.php:817
#: ../../mod/content.php:818 ../../include/conversation.php:587
#: ../../object/Item.php:229 ../../object/Item.php:230
#, php-format
msgid "View %s's profile @ %s"
msgstr ""
#: ../../mod/content.php:465 ../../mod/content.php:828
#: ../../include/conversation.php:607 ../../object/Item.php:240
#: ../../mod/content.php:465 ../../mod/content.php:829
#: ../../include/conversation.php:607 ../../object/Item.php:242
#, php-format
msgid "%s from %s"
msgstr ""
@ -1449,7 +1449,7 @@ msgstr ""
msgid "View in context"
msgstr ""
#: ../../mod/content.php:586 ../../object/Item.php:277
#: ../../mod/content.php:586 ../../object/Item.php:280
#, php-format
msgid "%d comment"
msgid_plural "%d comments"
@ -1457,7 +1457,7 @@ msgstr[0] ""
msgstr[1] ""
#: ../../mod/content.php:588 ../../include/text.php:1448
#: ../../object/Item.php:279 ../../object/Item.php:292
#: ../../object/Item.php:282 ../../object/Item.php:295
msgid "comment"
msgid_plural "comments"
msgstr[0] ""
@ -1466,92 +1466,92 @@ msgstr[1] ""
#: ../../mod/content.php:589 ../../addon/page/page.php:77
#: ../../addon/page/page.php:111 ../../addon/showmore/showmore.php:119
#: ../../include/contact_widgets.php:195 ../../boot.php:606
#: ../../object/Item.php:280 ../../addon.old/page/page.php:77
#: ../../object/Item.php:283 ../../addon.old/page/page.php:77
#: ../../addon.old/page/page.php:111 ../../addon.old/showmore/showmore.php:119
msgid "show more"
msgstr ""
#: ../../mod/content.php:667 ../../object/Item.php:196
#: ../../mod/content.php:667 ../../object/Item.php:197
msgid "like"
msgstr ""
#: ../../mod/content.php:668 ../../object/Item.php:197
#: ../../mod/content.php:668 ../../object/Item.php:198
msgid "dislike"
msgstr ""
#: ../../mod/content.php:670 ../../object/Item.php:199
#: ../../mod/content.php:670 ../../object/Item.php:200
msgid "Share this"
msgstr ""
#: ../../mod/content.php:670 ../../object/Item.php:199
#: ../../mod/content.php:670 ../../object/Item.php:200
msgid "share"
msgstr ""
#: ../../mod/content.php:694 ../../object/Item.php:560
#: ../../mod/content.php:694 ../../object/Item.php:563
msgid "Bold"
msgstr ""
#: ../../mod/content.php:695 ../../object/Item.php:561
#: ../../mod/content.php:695 ../../object/Item.php:564
msgid "Italic"
msgstr ""
#: ../../mod/content.php:696 ../../object/Item.php:562
#: ../../mod/content.php:696 ../../object/Item.php:565
msgid "Underline"
msgstr ""
#: ../../mod/content.php:697 ../../object/Item.php:563
#: ../../mod/content.php:697 ../../object/Item.php:566
msgid "Quote"
msgstr ""
#: ../../mod/content.php:698 ../../object/Item.php:564
#: ../../mod/content.php:698 ../../object/Item.php:567
msgid "Code"
msgstr ""
#: ../../mod/content.php:699 ../../object/Item.php:565
#: ../../mod/content.php:699 ../../object/Item.php:568
msgid "Image"
msgstr ""
#: ../../mod/content.php:700 ../../object/Item.php:566
#: ../../mod/content.php:700 ../../object/Item.php:569
msgid "Link"
msgstr ""
#: ../../mod/content.php:701 ../../object/Item.php:567
#: ../../mod/content.php:701 ../../object/Item.php:570
msgid "Video"
msgstr ""
#: ../../mod/content.php:736 ../../object/Item.php:180
#: ../../mod/content.php:736 ../../object/Item.php:181
msgid "add star"
msgstr ""
#: ../../mod/content.php:737 ../../object/Item.php:181
#: ../../mod/content.php:737 ../../object/Item.php:182
msgid "remove star"
msgstr ""
#: ../../mod/content.php:738 ../../object/Item.php:182
#: ../../mod/content.php:738 ../../object/Item.php:183
msgid "toggle star status"
msgstr ""
#: ../../mod/content.php:741 ../../object/Item.php:185
#: ../../mod/content.php:741 ../../object/Item.php:186
msgid "starred"
msgstr ""
#: ../../mod/content.php:742 ../../object/Item.php:186
#: ../../mod/content.php:742 ../../object/Item.php:187
msgid "add tag"
msgstr ""
#: ../../mod/content.php:746 ../../object/Item.php:120
#: ../../mod/content.php:746 ../../object/Item.php:121
msgid "save to folder"
msgstr ""
#: ../../mod/content.php:818 ../../object/Item.php:229
#: ../../mod/content.php:819 ../../object/Item.php:231
msgid "to"
msgstr ""
#: ../../mod/content.php:819 ../../object/Item.php:230
#: ../../mod/content.php:820 ../../object/Item.php:232
msgid "Wall-to-Wall"
msgstr ""
#: ../../mod/content.php:820 ../../object/Item.php:231
#: ../../mod/content.php:821 ../../object/Item.php:233
msgid "via Wall-To-Wall:"
msgstr ""
@ -2756,15 +2756,21 @@ msgstr ""
msgid "Save"
msgstr ""
#: ../../mod/uimport.php:41
#: ../../mod/uimport.php:50 ../../mod/register.php:190
msgid ""
"This site has exceeded the number of allowed daily account registrations. "
"Please try again tomorrow."
msgstr ""
#: ../../mod/uimport.php:64
msgid "Import"
msgstr ""
#: ../../mod/uimport.php:43
#: ../../mod/uimport.php:66
msgid "Move account"
msgstr ""
#: ../../mod/uimport.php:44
#: ../../mod/uimport.php:67
msgid ""
"You can import an account from another Friendica server. <br>\r\n"
" You need to export your account from the old "
@ -2775,11 +2781,11 @@ msgid ""
"contacts from the OStatus network (statusnet/identi.ca) or from diaspora"
msgstr ""
#: ../../mod/uimport.php:47
#: ../../mod/uimport.php:70
msgid "Account file"
msgstr ""
#: ../../mod/uimport.php:47
#: ../../mod/uimport.php:70
msgid ""
"To export your accont, go to \"Settings->Export your porsonal data\" and "
"select \"Export account\""
@ -3153,12 +3159,6 @@ msgstr ""
msgid "Your registration is pending approval by the site owner."
msgstr ""
#: ../../mod/register.php:190
msgid ""
"This site has exceeded the number of allowed daily account registrations. "
"Please try again tomorrow."
msgstr ""
#: ../../mod/register.php:218
msgid ""
"You may (optionally) fill in this form via OpenID by supplying your OpenID "
@ -8451,22 +8451,31 @@ msgstr ""
msgid "Error! I can't import this file: DB schema version is not compatible."
msgstr ""
#: ../../include/uimport.php:92
#: ../../include/uimport.php:81
msgid "Error! Cannot check nickname"
msgstr ""
#: ../../include/uimport.php:85
#, php-format
msgid "User '%s' already exists on this server!"
msgstr ""
#: ../../include/uimport.php:104
msgid "User creation error"
msgstr ""
#: ../../include/uimport.php:110
#: ../../include/uimport.php:122
msgid "User profile creation error"
msgstr ""
#: ../../include/uimport.php:155
#: ../../include/uimport.php:167
#, php-format
msgid "%d contact not imported"
msgid_plural "%d contacts not imported"
msgstr[0] ""
msgstr[1] ""
#: ../../include/uimport.php:233
#: ../../include/uimport.php:245
msgid "Done. You can now login with your username and password"
msgstr ""
@ -9165,11 +9174,11 @@ msgstr ""
msgid "%1$s marked %2$s's %3$s as favorite"
msgstr ""
#: ../../include/conversation.php:599 ../../object/Item.php:218
#: ../../include/conversation.php:599 ../../object/Item.php:220
msgid "Categories:"
msgstr ""
#: ../../include/conversation.php:600 ../../object/Item.php:219
#: ../../include/conversation.php:600 ../../object/Item.php:221
msgid "Filed under:"
msgstr ""

View file

@ -0,0 +1,53 @@
<div class="wall-item-outside-wrapper $item.indent $item.shiny$item.previewing" id="wall-item-outside-wrapper-$item.id" >
<div class="wall-item-content-wrapper $item.indent $item.shiny" id="wall-item-content-wrapper-$item.id" >
<div class="wall-item-info" id="wall-item-info-$item.id">
<div class="wall-item-photo-wrapper mframe" id="wall-item-photo-wrapper-$item.id"
onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')"
onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id">
<img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" /></a>
<span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span>
<div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
<ul>
$item.item_photo_menu
</ul>
</div>
</div>
<div class="wall-item-photo-end"></div>
<div class="wall-item-location" id="wall-item-location-$item.id">{{ if $item.location }}<span class="icon globe"></span>$item.location {{ endif }}</div>
</div>
<div class="wall-item-lock-wrapper">
{{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div>
{{ else }}<div class="wall-item-lock"></div>{{ endif }}
</div>
<div class="wall-item-tools" id="wall-item-tools-$item.id">
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
</div>
{{ if $item.drop.pagedrop }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
<div class="wall-item-delete-end"></div>
</div>
<div class="wall-item-content" id="wall-item-content-$item.id" >
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
<div class="wall-item-title-end"></div>
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body</div>
</div>
<div class="wall-item-author">
<a href="$item.profile_url" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a>
<div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div>
</div>
</div>
<div class="wall-item-wrapper-end"></div>
<div class="wall-item-conv" id="wall-item-conv-$item.id" >
{{ if $item.conv }}
<a href='$item.conv.href' id='context-$item.id' title='$item.conv.title'>$item.conv.title</a>
{{ endif }}
</div>
<div class="wall-item-wrapper-end"></div>
</div>
<div class="wall-item-outside-wrapper-end $item.indent $item.shiny" ></div>

View file

@ -2,7 +2,7 @@
style.css
Smoothly
Created by alex@friendica.pixelbits.de on 2012-11-13
Created by alex@friendica.pixelbits.de on 2012-11-14
** Colors **
Blue links - #1873a2
@ -4244,6 +4244,8 @@ hr.line-dots {
.filer-icon {
display: block; width: 16px; height: 16px;
background-image: url('images/file.gif');
margin-left: 5px;
float: left;
}
.icon.dim { opacity: 0.3;filter:alpha(opacity=30); }

View file

@ -3,7 +3,7 @@
/*
* Name: Smoothly
* Description: Like coffee with milk. Theme works fine with iPad[2].
* Version: Version 0.11.13
* Version: Version 0.11.14-2
* Author: Alex <https://friendica.pixelbits.de/profile/alex>
* Maintainer: Alex <https://friendica.pixelbits.de/profile/alex>
* Screenshot: <a href="screenshot.png">Screenshot</a>

View file

@ -7,8 +7,9 @@
{{endif}}
<div id="tread-wrapper-$item.id" class="tread-wrapper $item.toplevel">
<div class="wall-item-outside-wrapper $item.indent{{ if $item.owner_url }} wallwall{{ endif }}" id="wall-item-outside-wrapper-$item.id" >
<div class="wall-item-content-wrapper $item.indent" id="wall-item-content-wrapper-$item.id" >
<div class="wall-item-outside-wrapper $item.indent $item.shiny wallwall" id="wall-item-outside-wrapper-$item.id" >
<div class="wall-item-content-wrapper $item.indent $item.shiny" id="wall-item-content-wrapper-$item.id" >
<div class="wall-item-info{{ if $item.owner_url }} wallwall{{ endif }}" id="wall-item-info-$item.id">
{{ if $item.owner_url }}
<div class="wall-item-photo-wrapper mframe wwto" id="wall-item-ownerphoto-wrapper-$item.id" >
@ -76,9 +77,11 @@
{{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
</div>
{{ endif }}
</div>
</div>
<div class="wall-item-social" id="wall-item-social-$item.id">
{{ if $item.vote }}
<div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id">
<a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a>
@ -100,6 +103,10 @@
<a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
{{ endif }}
{{ if $item.filer }}
<a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"></a>
{{ endif }}
</div>
<div class="wall-item-tools" id="wall-item-tools-$item.id">
@ -114,7 +121,9 @@
</div>
{{ if $item.drop.pagedrop }}
<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" /> {{ endif }}
<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />
{{ endif }}
<div class="wall-item-delete-end"></div>
</div>
@ -125,14 +134,14 @@
{{ if $item.threaded }}
{{ if $item.comment }}
<div class="wall-item-comment-wrapper $item.indent" >
<div class="wall-item-comment-wrapper $item.indent $item.shiny" >
$item.comment
</div>
{{ endif }}
{{ endif }}
</div>
<div class="wall-item-outside-wrapper-end $item.indent" ></div>
<div class="wall-item-outside-wrapper-end $item.indent $item.shiny" ></div>
{{ for $item.children as $item }}
{{ inc $item.template }}{{ endinc }}