]> git.mxchange.org Git - friendica.git/commitdiff
Decaf mobile: an (almost) Javascript-free theme
authorZach Prezkuta <fermion@gmx.com>
Sat, 26 Jan 2013 19:52:21 +0000 (12:52 -0700)
committerZach Prezkuta <fermion@gmx.com>
Sat, 26 Jan 2013 20:01:57 +0000 (13:01 -0700)
300 files changed:
boot.php
include/Contact.php
include/acl_selectors.php
include/conversation.php
include/items.php
include/nav.php
include/template_processor.php
mod/acl.php
mod/contacts.php
mod/display.php
mod/editpost.php
mod/item.php
mod/like.php
mod/manage.php
mod/message.php
mod/navigation.php [new file with mode: 0644]
mod/network.php
mod/notes.php
mod/photos.php
mod/profile.php
mod/settings.php
mod/starred.php
mod/suggest.php
object/Item.php
view/comment_item.tpl
view/confirm.tpl [new file with mode: 0644]
view/contact_template.tpl
view/like_noshare.tpl
view/manage.tpl [new file with mode: 0644]
view/navigation.tpl [new file with mode: 0644]
view/photos_default_uploader_box.tpl [new file with mode: 0644]
view/photos_default_uploader_submit.tpl [new file with mode: 0644]
view/photos_upload.tpl
view/theme/comix-plain/comment_item.tpl
view/theme/comix/comment_item.tpl
view/theme/decaf-mobile/TODO [new file with mode: 0644]
view/theme/decaf-mobile/acl_html_selector.tpl [new file with mode: 0644]
view/theme/decaf-mobile/acl_selector.tpl [new file with mode: 0644]
view/theme/decaf-mobile/admin_aside.tpl [new file with mode: 0644]
view/theme/decaf-mobile/admin_site.tpl [new file with mode: 0644]
view/theme/decaf-mobile/admin_users.tpl [new file with mode: 0644]
view/theme/decaf-mobile/album_edit.tpl [new file with mode: 0644]
view/theme/decaf-mobile/border.jpg [new file with mode: 0644]
view/theme/decaf-mobile/categories_widget.tpl [new file with mode: 0644]
view/theme/decaf-mobile/comment_item.tpl [new file with mode: 0755]
view/theme/decaf-mobile/common_tabs.tpl [new file with mode: 0644]
view/theme/decaf-mobile/contact_block.tpl [new file with mode: 0644]
view/theme/decaf-mobile/contact_edit.tpl [new file with mode: 0644]
view/theme/decaf-mobile/contact_head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/contact_template.tpl [new file with mode: 0644]
view/theme/decaf-mobile/contacts-end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/contacts-head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/contacts-template.tpl [new file with mode: 0644]
view/theme/decaf-mobile/contacts-widget-sidebar.tpl [new file with mode: 0644]
view/theme/decaf-mobile/conversation.tpl [new file with mode: 0644]
view/theme/decaf-mobile/cropbody.tpl [new file with mode: 0644]
view/theme/decaf-mobile/cropend.tpl [new file with mode: 0644]
view/theme/decaf-mobile/crophead.tpl [new file with mode: 0644]
view/theme/decaf-mobile/default.php [new file with mode: 0644]
view/theme/decaf-mobile/display-head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/editicons.png [new file with mode: 0644]
view/theme/decaf-mobile/end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/event_end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/event_head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/field_checkbox.tpl [new file with mode: 0644]
view/theme/decaf-mobile/field_input.tpl [new file with mode: 0644]
view/theme/decaf-mobile/field_openid.tpl [new file with mode: 0644]
view/theme/decaf-mobile/field_password.tpl [new file with mode: 0644]
view/theme/decaf-mobile/field_themeselect.tpl [new file with mode: 0644]
view/theme/decaf-mobile/field_yesno.tpl [new file with mode: 0644]
view/theme/decaf-mobile/file.gif [new file with mode: 0644]
view/theme/decaf-mobile/friendica-16.png [new file with mode: 0644]
view/theme/decaf-mobile/generic_links_widget.tpl [new file with mode: 0644]
view/theme/decaf-mobile/group_drop.tpl [new file with mode: 0644]
view/theme/decaf-mobile/group_side.tpl [new file with mode: 0644]
view/theme/decaf-mobile/head.jpg [new file with mode: 0644]
view/theme/decaf-mobile/head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/images/approve-blue.png [new file with mode: 0644]
view/theme/decaf-mobile/images/approve.png [new file with mode: 0644]
view/theme/decaf-mobile/images/arrow-left.png [new file with mode: 0644]
view/theme/decaf-mobile/images/arrow-right.png [new file with mode: 0644]
view/theme/decaf-mobile/images/boldB-serif.png [new file with mode: 0644]
view/theme/decaf-mobile/images/camera.png [new file with mode: 0644]
view/theme/decaf-mobile/images/code.png [new file with mode: 0644]
view/theme/decaf-mobile/images/contacts.png [new file with mode: 0644]
view/theme/decaf-mobile/images/disapprove-blue.png [new file with mode: 0644]
view/theme/decaf-mobile/images/disapprove.png [new file with mode: 0644]
view/theme/decaf-mobile/images/drop-blue.png [new file with mode: 0644]
view/theme/decaf-mobile/images/drop-darkred.png [new file with mode: 0644]
view/theme/decaf-mobile/images/drop-red.png [new file with mode: 0644]
view/theme/decaf-mobile/images/drop.png [new file with mode: 0644]
view/theme/decaf-mobile/images/folder-blue.png [new file with mode: 0644]
view/theme/decaf-mobile/images/folder.png [new file with mode: 0644]
view/theme/decaf-mobile/images/globe.png [new file with mode: 0644]
view/theme/decaf-mobile/images/italicI-serif.png [new file with mode: 0644]
view/theme/decaf-mobile/images/lock.png [new file with mode: 0644]
view/theme/decaf-mobile/images/menu.png [new file with mode: 0644]
view/theme/decaf-mobile/images/message.png [new file with mode: 0644]
view/theme/decaf-mobile/images/network.png [new file with mode: 0644]
view/theme/decaf-mobile/images/noglobe.png [new file with mode: 0644]
view/theme/decaf-mobile/images/notifications.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/LICENSE [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-msword.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-pdf.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-vnd.ms-excel.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-vnd.ms-powerpoint.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-vnd.oasis.opendocument.presentation.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-vnd.oasis.opendocument.spreadsheet.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-vnd.oasis.opendocument.text.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-x-bzip-compressed-tar.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-x-compressed-tar.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-x-deb.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-x-font-otf.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-x-font-ttf.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-x-java-archive.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-x-lzma-compressed-tar.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-x-php.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-x-rar.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-x-rpm.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-x-ruby.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-x-shellscript.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-x-shockwave-flash.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-x-tar.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-xml.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/application-zip.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/audio-aac.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/audio-mp4.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/audio-mpeg.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/audio-x-flac.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/audio-x-generic.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/audio-x-mp2.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/audio-x-ms-wma.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/audio-x-vorbis+ogg.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/audio-x-wav.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/image-x-generic.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/text-css.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/text-html.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/text-x-generic-2.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/text-x-tex.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/unknown.png [new file with mode: 0644]
view/theme/decaf-mobile/images/oxygen/video-x-generic.png [new file with mode: 0644]
view/theme/decaf-mobile/images/paperclip.png [new file with mode: 0644]
view/theme/decaf-mobile/images/pencil-blue.png [new file with mode: 0644]
view/theme/decaf-mobile/images/pencil.png [new file with mode: 0644]
view/theme/decaf-mobile/images/quote.png [new file with mode: 0644]
view/theme/decaf-mobile/images/recycle-blue.png [new file with mode: 0644]
view/theme/decaf-mobile/images/recycle.png [new file with mode: 0644]
view/theme/decaf-mobile/images/remote-link-blue.png [new file with mode: 0644]
view/theme/decaf-mobile/images/remote-link.png [new file with mode: 0644]
view/theme/decaf-mobile/images/star-blue.png [new file with mode: 0644]
view/theme/decaf-mobile/images/star-yellow.png [new file with mode: 0644]
view/theme/decaf-mobile/images/star.png [new file with mode: 0644]
view/theme/decaf-mobile/images/tag-blue.png [new file with mode: 0644]
view/theme/decaf-mobile/images/tag.png [new file with mode: 0644]
view/theme/decaf-mobile/images/underlineU-serif.png [new file with mode: 0644]
view/theme/decaf-mobile/images/unlock.png [new file with mode: 0644]
view/theme/decaf-mobile/jot-end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/jot-header.tpl [new file with mode: 0644]
view/theme/decaf-mobile/jot.tpl [new file with mode: 0644]
view/theme/decaf-mobile/jot_geotag.tpl [new file with mode: 0644]
view/theme/decaf-mobile/js/theme.js [new file with mode: 0644]
view/theme/decaf-mobile/lang_selector.tpl [new file with mode: 0644]
view/theme/decaf-mobile/like_noshare.tpl [new file with mode: 0644]
view/theme/decaf-mobile/lock.cur [new file with mode: 0644]
view/theme/decaf-mobile/login-bg.gif [new file with mode: 0644]
view/theme/decaf-mobile/login-style.css [new file with mode: 0644]
view/theme/decaf-mobile/login.tpl [new file with mode: 0644]
view/theme/decaf-mobile/login_head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/lostpass.tpl [new file with mode: 0644]
view/theme/decaf-mobile/mail_conv.tpl [new file with mode: 0644]
view/theme/decaf-mobile/mail_list.tpl [new file with mode: 0644]
view/theme/decaf-mobile/manage.tpl [new file with mode: 0644]
view/theme/decaf-mobile/message-end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/message-head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/mobile [new file with mode: 0644]
view/theme/decaf-mobile/msg-end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/msg-header.tpl [new file with mode: 0644]
view/theme/decaf-mobile/nav.tpl [new file with mode: 0644]
view/theme/decaf-mobile/photo_drop.tpl [new file with mode: 0644]
view/theme/decaf-mobile/photo_edit.tpl [new file with mode: 0644]
view/theme/decaf-mobile/photo_edit_head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/photo_view.tpl [new file with mode: 0644]
view/theme/decaf-mobile/photos_head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/photos_upload.tpl [new file with mode: 0644]
view/theme/decaf-mobile/profed_end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/profed_head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/profile_edit.tpl [new file with mode: 0644]
view/theme/decaf-mobile/profile_photo.tpl [new file with mode: 0644]
view/theme/decaf-mobile/profile_vcard.tpl [new file with mode: 0644]
view/theme/decaf-mobile/prv_message.tpl [new file with mode: 0644]
view/theme/decaf-mobile/register.tpl [new file with mode: 0644]
view/theme/decaf-mobile/screenshot.jpg [new file with mode: 0644]
view/theme/decaf-mobile/search_item.tpl [new file with mode: 0644]
view/theme/decaf-mobile/settings-head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/settings.tpl [new file with mode: 0644]
view/theme/decaf-mobile/settings_display_end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/acl_html_selector.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/acl_selector.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/admin_aside.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/admin_site.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/admin_users.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/album_edit.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/categories_widget.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/comment_item.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/common_tabs.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/contact_block.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/contact_edit.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/contact_head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/contact_template.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/contacts-end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/contacts-head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/contacts-template.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/contacts-widget-sidebar.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/conversation.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/cropbody.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/cropend.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/crophead.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/display-head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/event_end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/event_head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/field_checkbox.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/field_input.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/field_openid.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/field_password.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/field_themeselect.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/field_yesno.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/generic_links_widget.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/group_drop.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/group_side.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/jot-end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/jot-header.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/jot.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/jot_geotag.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/lang_selector.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/like_noshare.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/login.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/login_head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/lostpass.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/mail_conv.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/mail_list.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/manage.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/message-end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/message-head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/moderated_comment.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/msg-end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/msg-header.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/nav.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/photo_drop.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/photo_edit.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/photo_edit_head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/photo_view.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/photos_head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/photos_upload.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/profed_end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/profed_head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/profile_edit.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/profile_photo.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/profile_vcard.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/prv_message.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/register.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/search_item.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/settings-head.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/settings.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/settings_display_end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/suggest_friends.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/threaded_conversation.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/voting_fakelink.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/wall_thread.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/wall_thread_toponly.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/wallmessage.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/wallmsg-end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/smarty3/wallmsg-header.tpl [new file with mode: 0644]
view/theme/decaf-mobile/style.css [new file with mode: 0644]
view/theme/decaf-mobile/suggest_friends.tpl [new file with mode: 0644]
view/theme/decaf-mobile/theme.php [new file with mode: 0644]
view/theme/decaf-mobile/threaded_conversation.tpl [new file with mode: 0644]
view/theme/decaf-mobile/voting_fakelink.tpl [new file with mode: 0644]
view/theme/decaf-mobile/wall_thread.tpl [new file with mode: 0644]
view/theme/decaf-mobile/wall_thread_toponly.tpl [new file with mode: 0644]
view/theme/decaf-mobile/wallmessage.tpl [new file with mode: 0644]
view/theme/decaf-mobile/wallmsg-end.tpl [new file with mode: 0644]
view/theme/decaf-mobile/wallmsg-header.tpl [new file with mode: 0644]
view/theme/diabook/comment_item.tpl
view/theme/diabook/contact_template.tpl
view/theme/dispy/comment_item.tpl
view/theme/dispy/contact_template.tpl
view/theme/duepuntozero/comment_item.tpl
view/theme/facepark/comment_item.tpl
view/theme/frost-mobile/comment_item.tpl
view/theme/frost-mobile/contact_template.tpl
view/theme/frost-mobile/photos_upload.tpl
view/theme/frost/comment_item.tpl
view/theme/frost/contact_template.tpl
view/theme/frost/photos_upload.tpl
view/theme/quattro/comment_item.tpl
view/theme/quattro/contact_template.tpl
view/theme/testbubble/comment_item.tpl
view/theme/vier/comment_item.tpl

index 5107d91af635174708bd9ae4234dc85526663d0e..62641655e5c7d7b4275ac6733ecdff6f37e9c70a 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -1935,6 +1935,36 @@ function build_querystring($params, $name=null) {
     return $ret;    
 }
 
+function explode_querystring($query) {
+       $arg_st = strpos($query, '?');
+       if($arg_st !== false) {
+               $base = substr($query, 0, $arg_st);
+               $arg_st += 1;
+       }
+       else {
+               $base = '';
+               $arg_st = 0;
+       }
+
+       $args = explode('&', substr($query, $arg_st));
+       foreach($args as $k=>$arg) {
+               if($arg === '')
+                       unset($args[$k]);
+       }
+       $args = array_values($args);
+
+       if(!$base) {
+               $base = $args[0];
+               unset($args[0]);
+               $args = array_values($args);
+       }
+
+       return array(
+               'base' => $base,
+               'args' => $args,
+       );
+}
+
 /**
 * Returns the complete URL of the current page, e.g.: http(s)://something.com/network
 *
index d39d7a28b6025c41d8597323608cedefa1c21d31..c83177ddaa2333117beab39c151a678adadc4ab9 100644 (file)
@@ -222,13 +222,13 @@ function contact_photo_menu($contact) {
        $posts_link = $a->get_baseurl() . '/network/?cid=' . $contact['id'];
 
        $menu = Array(
-               t("Poke") => $poke_link,
-               t("View Status") => $status_link,
-               t("View Profile") => $profile_link,
-               t("View Photos") => $photos_link,               
-               t("Network Posts") => $posts_link
-               t("Edit Contact") => $contact_url,
-               t("Send PM") => $pm_url,
+               'poke' => array(t("Poke"), $poke_link),
+               'status' => array(t("View Status"), $status_link),
+               'profile' => array(t("View Profile"), $profile_link),
+               'photos' => array(t("View Photos"), $photos_link),              
+               'network' => array(t("Network Posts"), $posts_link)
+               'edit' => array(t("Edit Contact"), $contact_url),
+               'pm' => array(t("Send PM"), $pm_url),
        );
        
        
@@ -236,7 +236,7 @@ function contact_photo_menu($contact) {
        
        call_hooks('contact_photo_menu', $args);
        
-       $o = "";
+/*     $o = "";
        foreach($menu as $k=>$v){
                if ($v!="") {
                        if(($k !== t("Network Posts")) && ($k !== t("Send PM")) && ($k !== t('Edit Contact')))
@@ -245,7 +245,16 @@ function contact_photo_menu($contact) {
                                $o .= "<li><a href=\"$v\">$k</a></li>\n";
                }
        }
-       return $o;
+       return $o;*/
+       foreach($menu as $k=>$v){
+               if ($v[1]!="") {
+                       if(($v[0] !== t("Network Posts")) && ($v[0] !== t("Send PM")) && ($v[0] !== t('Edit Contact')))
+                               $menu[$k][2] = 1;
+                       else
+                               $menu[$k][2] = 0;
+               }
+       }
+       return $menu;
 }}
 
 
index 675339559b6d7cca29bd77d2dba33067841c75d1..1b9843fd174c916c1cfbbf00c6700f7fc042a2de 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+
+require_once("include/contact_selectors.php");
+
 /**
  * 
  */
@@ -243,9 +246,7 @@ function prune_deadguys($arr) {
 }
 
 
-
-function populate_acl($user = null,$celeb = false) {
-
+function get_acl_permissions($user = null) {
        $allow_cid = $allow_gid = $deny_cid = $deny_gid = false;
 
        if(is_array($user)) {
@@ -265,6 +266,19 @@ function populate_acl($user = null,$celeb = false) {
 
        $allow_cid = prune_deadguys($allow_cid);
 
+       return array(
+               'allow_cid' => $allow_cid,
+               'allow_gid' => $allow_gid,
+               'deny_cid' => $deny_cid,
+               'deny_gid' => $deny_gid,
+       );
+}
+
+
+function populate_acl($user = null,$celeb = false) {
+
+       $perms = get_acl_permissions($user);
+
        // We shouldn't need to prune deadguys from the block list. Either way they can't get the message.
        // Also no point enumerating groups and checking them, that will take place on delivery.
 
@@ -311,10 +325,10 @@ function populate_acl($user = null,$celeb = false) {
                '$showall'=> t("Visible to everybody"),
                '$show'          => t("show"),
                '$hide'          => t("don't show"),
-               '$allowcid' => json_encode($allow_cid),
-               '$allowgid' => json_encode($allow_gid),
-               '$denycid' => json_encode($deny_cid),
-               '$denygid' => json_encode($deny_gid),
+               '$allowcid' => json_encode($perms['allow_cid']),
+               '$allowgid' => json_encode($perms['allow_gid']),
+               '$denycid' => json_encode($perms['deny_cid']),
+               '$denygid' => json_encode($perms['deny_gid']),
        ));
        
        
@@ -322,3 +336,238 @@ function populate_acl($user = null,$celeb = false) {
 
 }
 
+function construct_acl_data(&$a, $user) {
+
+       // Get group and contact information for html ACL selector
+       $acl_data = acl_lookup(&$a, 'html');
+
+       $user_defaults = get_acl_permissions($user);
+
+       if($acl_data['groups']) {
+               foreach($acl_data['groups'] as $key=>$group) {
+                       // Add a "selected" flag to groups that are posted to by default
+                       if($user_defaults['allow_gid'] &&
+                          in_array($group['id'], $user_defaults['allow_gid']) && !in_array($group['id'], $user_defaults['deny_gid']) )
+                               $acl_data['groups'][$key]['selected'] = 1;
+                       else
+                               $acl_data['groups'][$key]['selected'] = 0;
+               }
+       }
+       if($acl_data['contacts']) {
+               foreach($acl_data['contacts'] as $key=>$contact) {
+                       // Add a "selected" flag to groups that are posted to by default
+                       if($user_defaults['allow_cid'] &&
+                          in_array($contact['id'], $user_defaults['allow_cid']) && !in_array($contact['id'], $user_defaults['deny_cid']) )
+                               $acl_data['contacts'][$key]['selected'] = 1;
+                       else
+                               $acl_data['contacts'][$key]['selected'] = 0;
+               }
+       }
+
+       return $acl_data;
+
+}
+
+function acl_lookup(&$a, $out_type = 'json') {
+
+       if(!local_user())
+               return "";
+
+
+       $start = (x($_REQUEST,'start')?$_REQUEST['start']:0);
+       $count = (x($_REQUEST,'count')?$_REQUEST['count']:100);
+       $search = (x($_REQUEST,'search')?$_REQUEST['search']:"");
+       $type = (x($_REQUEST,'type')?$_REQUEST['type']:"");
+       
+
+       // For use with jquery.autocomplete for private mail completion
+
+       if(x($_REQUEST,'query') && strlen($_REQUEST['query'])) {
+               if(! $type)
+                       $type = 'm';
+               $search = $_REQUEST['query'];
+       }
+
+
+       if ($search!=""){
+               $sql_extra = "AND `name` LIKE '%%".dbesc($search)."%%'";
+               $sql_extra2 = "AND (`attag` LIKE '%%".dbesc($search)."%%' OR `name` LIKE '%%".dbesc($search)."%%' OR `nick` LIKE '%%".dbesc($search)."%%')";
+       } else {
+               $sql_extra = $sql_extra2 = "";
+       }
+       
+       // count groups and contacts
+       if ($type=='' || $type=='g'){
+               $r = q("SELECT COUNT(`id`) AS g FROM `group` WHERE `deleted` = 0 AND `uid` = %d $sql_extra",
+                       intval(local_user())
+               );
+               $group_count = (int)$r[0]['g'];
+       } else {
+               $group_count = 0;
+       }
+       
+       if ($type=='' || $type=='c'){
+               $r = q("SELECT COUNT(`id`) AS c FROM `contact` 
+                               WHERE `uid` = %d AND `self` = 0 
+                               AND `blocked` = 0 AND `pending` = 0 AND `archive` = 0
+                               AND `notify` != '' $sql_extra2" ,
+                       intval(local_user())
+               );
+               $contact_count = (int)$r[0]['c'];
+       } 
+       elseif ($type == 'm') {
+
+               // autocomplete for Private Messages
+
+               $r = q("SELECT COUNT(`id`) AS c FROM `contact` 
+                               WHERE `uid` = %d AND `self` = 0 
+                               AND `blocked` = 0 AND `pending` = 0 AND `archive` = 0 
+                               AND `network` IN ('%s','%s','%s') $sql_extra2" ,
+                       intval(local_user()),
+                       dbesc(NETWORK_DFRN),
+                       dbesc(NETWORK_ZOT),
+                       dbesc(NETWORK_DIASPORA)
+               );
+               $contact_count = (int)$r[0]['c'];
+
+       }
+       elseif ($type == 'a') {
+
+               // autocomplete for Contacts
+
+               $r = q("SELECT COUNT(`id`) AS c FROM `contact` 
+                               WHERE `uid` = %d AND `self` = 0 
+                               AND `pending` = 0 $sql_extra2" ,
+                       intval(local_user())
+               );
+               $contact_count = (int)$r[0]['c'];
+
+       } else {
+               $contact_count = 0;
+       }
+       
+       $tot = $group_count+$contact_count;
+       
+       $groups = array();
+       $contacts = array();
+       
+       if ($type=='' || $type=='g'){
+               
+               $r = q("SELECT `group`.`id`, `group`.`name`, GROUP_CONCAT(DISTINCT `group_member`.`contact-id` SEPARATOR ',') as uids
+                               FROM `group`,`group_member` 
+                               WHERE `group`.`deleted` = 0 AND `group`.`uid` = %d 
+                                       AND `group_member`.`gid`=`group`.`id`
+                                       $sql_extra
+                               GROUP BY `group`.`id`
+                               ORDER BY `group`.`name` 
+                               LIMIT %d,%d",
+                       intval(local_user()),
+                       intval($start),
+                       intval($count)
+               );
+
+               foreach($r as $g){
+//             logger('acl: group: ' . $g['name'] . ' members: ' . $g['uids']);                
+                       $groups[] = array(
+                               "type"  => "g",
+                               "photo" => "images/twopeople.png",
+                               "name"  => $g['name'],
+                               "id"    => intval($g['id']),
+                               "uids"  => array_map("intval", explode(",",$g['uids'])),
+                               "link"  => ''
+                       );
+               }
+       }
+       
+       if ($type=='' || $type=='c'){
+       
+               $r = q("SELECT `id`, `name`, `nick`, `micro`, `network`, `url`, `attag` FROM `contact` 
+                       WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `pending` = 0 AND `archive` = 0 AND `notify` != ''
+                       $sql_extra2
+                       ORDER BY `name` ASC ",
+                       intval(local_user())
+               );
+       }
+       elseif($type == 'm') {
+               $r = q("SELECT `id`, `name`, `nick`, `micro`, `network`, `url`, `attag` FROM `contact` 
+                       WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `pending` = 0 AND `archive` = 0
+                       AND `network` IN ('%s','%s','%s')
+                       $sql_extra2
+                       ORDER BY `name` ASC ",
+                       intval(local_user()),
+                       dbesc(NETWORK_DFRN),
+                       dbesc(NETWORK_ZOT),
+                       dbesc(NETWORK_DIASPORA)
+               );
+       }
+       elseif($type == 'a') {
+               $r = q("SELECT `id`, `name`, `nick`, `micro`, `network`, `url`, `attag` FROM `contact` 
+                       WHERE `uid` = %d AND `pending` = 0
+                       $sql_extra2
+                       ORDER BY `name` ASC ",
+                       intval(local_user())
+               );
+       }
+       else
+               $r = array();
+
+
+       if($type == 'm' || $type == 'a') {
+               $x = array();
+               $x['query'] = $search;
+               $x['photos'] = array();
+               $x['links'] = array();
+               $x['suggestions'] = array();
+               $x['data'] = array();
+               if(count($r)) {
+                       foreach($r as $g) {
+                               $x['photos'][] = $g['micro'];
+                               $x['links'][] = $g['url'];
+                               $x['suggestions'][] = $g['name'];
+                               $x['data'][] = intval($g['id']);
+                       }
+               }
+               echo json_encode($x);
+               killme();
+       }
+
+       if(count($r)) {
+               foreach($r as $g){
+                       $contacts[] = array(
+                               "type"  => "c",
+                               "photo" => $g['micro'],
+                               "name"  => $g['name'],
+                               "id"    => intval($g['id']),
+                               "network" => $g['network'],
+                               "link" => $g['url'],
+                               "nick" => ($g['attag']) ? $g['attag'] : $g['nick'],
+                       );
+               }                       
+       }
+               
+       $items = array_merge($groups, $contacts);
+
+
+       if($out_type === 'html') {
+               $o = array(
+                       'tot'           => $tot,
+                       'start' => $start,
+                       'count' => $count,
+                       'groups'        => $groups,
+                       'contacts'      => $contacts,
+               );
+               return $o;
+       }
+       
+       $o = array(
+               'tot'   => $tot,
+               'start' => $start,
+               'count' => $count,
+               'items' => $items,
+       );
+       
+       echo json_encode($o);
+
+       killme();
+}
+
index c278ec2f18534edf629ccc7c951c55300d46615d..d5f87567b9d7b91c7cb4ae7a388d71a1b8ba9458 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 
 require_once("include/bbcode.php");
+require_once("include/acl_selectors.php");
 
 
 // Note: the code in 'item_extract_images' and 'item_redir_and_replace_images'
@@ -704,6 +705,7 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
 
        $o = replace_macros($page_template, array(
                '$baseurl' => $a->get_baseurl($ssl_state),
+               '$return_path' => $a->query_string,
                '$live_update' => $live_update_div,
                '$remove' => t('remove'),
                '$mode' => $mode,
@@ -908,7 +910,7 @@ function format_like($cnt,$arr,$type,$id) {
                        $str .= sprintf( t(', and %d other people'), $total - MAX_LIKERS );
                }
                $str = (($type === 'like') ? sprintf( t('%s like this.'), $str) : sprintf( t('%s don\'t like this.'), $str));
-               $o .= "\t" . '<div id="' . $type . 'list-' . $id . '" style="display: none;" >' . $str . '</div>';
+               $o .= "\t" . '<div class="wall-item-' . $type . '-expanded" id="' . $type . 'list-' . $id . '" style="display: none;" >' . $str . '</div>';
        }
        return $o;
 }}
@@ -962,8 +964,6 @@ function status_editor($a,$x, $notes_cid = 0, $popup=false) {
        ));
 
 
-       $tpl = get_markup_template("jot.tpl");
-
        $jotplugins = '';
        $jotnets = '';
 
@@ -994,10 +994,31 @@ function status_editor($a,$x, $notes_cid = 0, $popup=false) {
        if($notes_cid)
                $jotnets .= '<input type="hidden" name="contact_allow[]" value="' . $notes_cid .'" />';
 
+
+       // Private/public post links for the non-JS ACL form
+       $private_post = 1;
+       if($_REQUEST['public'])
+               $private_post = 0;
+
+       $query_str = $a->query_string;
+       if(strpos($query_str, 'public=1') !== false)
+               $query_str = str_replace(array('?public=1', '&public=1'), array('', ''), $query_str);
+
+       // I think $a->query_string may never have ? in it, but I could be wrong
+       // It looks like it's from the index.php?q=[etc] rewrite that the web
+       // server does, which converts any ? to &, e.g. suggest&ignore=61 for suggest?ignore=61
+       if(strpos($query_str, '?') === false)
+               $public_post_link = '?public=1';
+       else
+               $public_post_link = '&public=1';
+
+
+
 //     $tpl = replace_macros($tpl,array('$jotplugins' => $jotplugins));
+       $tpl = get_markup_template("jot.tpl");
 
        $o .= replace_macros($tpl,array(
-               '$return_path' => $a->query_string,
+               '$return_path' => $query_str,
                '$action' =>  $a->get_baseurl(true) . '/item',
                '$share' => (x($x,'button') ? $x['button'] : t('Share')),
                '$upload' => t('Upload photo'),
@@ -1033,14 +1054,22 @@ function status_editor($a,$x, $notes_cid = 0, $popup=false) {
                '$jotnets' => $jotnets,
                '$emtitle' => t('Example: bob@example.com, mary@example.com'),
                '$lockstate' => $x['lockstate'],
-               '$acl' => $x['acl'],
                '$bang' => $x['bang'],
                '$profile_uid' => $x['profile_uid'],
                '$preview' => ((feature_enabled($x['profile_uid'],'preview')) ? t('Preview') : ''),
                '$jotplugins' => $jotplugins,
                '$sourceapp' => t($a->sourcename),
                '$cancel' => t('Cancel'),
-               '$rand_num' => random_digits(12)
+               '$rand_num' => random_digits(12),
+
+               // ACL permissions box
+               '$acl' => $x['acl'],
+               '$acl_data' => $x['acl_data'],
+               '$group_perms' => t('Post to Groups'),
+               '$contact_perms' => t('Post to Contacts'),
+               '$private' => t('Private post'),
+               '$is_private' => $private_post,
+               '$public_link' => $public_post_link,
        ));
 
 
index 08127c6eb68a127fc5d72cdfbe386191fad853db..b0ceb0ed93520e6bea3cba2a593d80f7dab20368 100755 (executable)
@@ -3874,6 +3874,34 @@ function drop_item($id,$interactive = true) {
 
        if((local_user() == $item['uid']) || ($cid) || (! $interactive)) {
 
+               // Check if we should do HTML-based delete confirmation
+               if($_REQUEST['confirm']) {
+                       // <form> can't take arguments in its "action" parameter
+                       // so add any arguments as hidden inputs
+                       $query = explode_querystring($a->query_string);
+                       $inputs = array();
+                       foreach($query['args'] as $arg) {
+                               if(strpos($arg, 'confirm=') === false) {
+                                       $arg_parts = explode('=', $arg);
+                                       $inputs[] = array('name' => $arg_parts[0], 'value' => $arg_parts[1]);
+                               }
+                       }
+
+                       return replace_macros(get_markup_template('confirm.tpl'), array(
+                               '$method' => 'get',
+                               '$message' => t('Do you really want to delete this item?'),
+                               '$extra_inputs' => $inputs,
+                               '$confirm' => t('Yes'),
+                               '$confirm_url' => $query['base'],
+                               '$confirm_name' => 'confirmed',
+                               '$cancel' => t('Cancel'),
+                       ));
+               }
+               // Now check how the user responded to the confirmation query
+               if($_REQUEST['canceled']) {
+                       goaway($a->get_baseurl() . '/' . $_SESSION['return_url']);
+               }
+
                logger('delete item: ' . $item['id'], LOGGER_DEBUG);
                // delete the item
 
index d94bf03be11fa11f0a3fded2c55698167c439821..d1d184650baddd83e70cb2e109956e2beb012468 100644 (file)
@@ -8,8 +8,6 @@ function nav(&$a) {
         *
         */
 
-       $ssl_state = ((local_user()) ? true : false);
-
        if(!(x($a->page,'nav')))
                $a->page['nav'] = '';
 
@@ -19,6 +17,35 @@ function nav(&$a) {
 
        $a->page['nav'] .= '<div id="panel" style="display: none;"></div>' ;
 
+       $nav_info = nav_info($a);
+
+       /**
+        * Build the page
+        */
+
+       $tpl = get_markup_template('nav.tpl');
+
+       $a->page['nav'] .= replace_macros($tpl, array(
+        '$baseurl' => $a->get_baseurl(),
+               '$langselector' => lang_selector(),
+               '$sitelocation' => $nav_info['sitelocation'],
+               '$nav' => $nav_info['nav'],
+               '$banner' =>  $nav_info['banner'],
+               '$emptynotifications' => t('Nothing new here'),
+               '$userinfo' => $nav_info['userinfo'],
+               '$sel' =>       $a->nav_sel,
+               '$apps' => $a->apps,
+               '$clear_notifs' => t('Clear notifications')
+       ));
+
+       call_hooks('page_header', $a->page['nav']);
+}
+
+
+function nav_info(&$a) {
+
+       $ssl_state = ((local_user()) ? true : false);
+
        /**
         *
         * Our network is distributed, and as you visit friends some of the 
@@ -152,6 +179,9 @@ function nav(&$a) {
         }
 
 
+        $nav['navigation'] = array('navigation/', t('Navigation'), "", t('Site map'));
+
+
        /**
         *
         * Provide a banner/logo/whatever
@@ -164,23 +194,15 @@ function nav(&$a) {
                $banner .= '<a href="http://friendica.com"><img id="logo-img" src="images/friendica-32.png" alt="logo" /></a><span id="logo-text"><a href="http://friendica.com">Friendica</a></span>';
 
 
-       $tpl = get_markup_template('nav.tpl');
-
-       $a->page['nav'] .= replace_macros($tpl, array(
-        '$baseurl' => $a->get_baseurl(),
-               '$langselector' => lang_selector(),
-               '$sitelocation' => $sitelocation,
-               '$nav' => $nav,
-               '$banner' =>  $banner,
-               '$emptynotifications' => t('Nothing new here'),
-               '$userinfo' => $userinfo,
-               '$sel' =>       $a->nav_sel,
-               '$apps' => $a->apps,
-       ));
-
-       call_hooks('page_header', $a->page['nav']);
+       return array(
+               'sitelocation' => $sitelocation,
+               'nav' => $nav,
+               'banner' => $banner,
+               'userinfo' => $userinfo,
+       );
 }
 
+
 /*
  * Set a menu item in navbar as selected
  * 
index 6c5908d92e8d8f1d1c5f318bb868c3c6199d1f55..ebc03b8d84404907e350ec4367bf19e9d40a0299 100644 (file)
@@ -259,15 +259,15 @@ class Template {
        public function replace($s, $r) {
                $this->r = $r;
 
+               // remove comments block
+               $s = preg_replace('/{#(.*?\s*?)*?#}/', "", $s);
+
                $s = $this->_build_nodes($s);
 
                $s = preg_replace_callback('/\|\|([0-9]+)\|\|/', array($this, "_replcb_node"), $s);
                if ($s == Null)
                        $this->_preg_error();
 
-               // remove comments block
-               $s = preg_replace('/{#[^#]*#}/', "", $s);
-
                // replace strings recursively (limit to 10 loops)
                $os = "";
                $count = 0;
index f3e46efa5610bc952a57aa240b86c384f73dd34d..f5e04b96a75154ee76a042222925754164cfeaa4 100644 (file)
@@ -4,193 +4,7 @@
 require_once("include/acl_selectors.php");
 
 function acl_init(&$a){
-       if(!local_user())
-               return "";
-
-
-       $start = (x($_REQUEST,'start')?$_REQUEST['start']:0);
-       $count = (x($_REQUEST,'count')?$_REQUEST['count']:100);
-       $search = (x($_REQUEST,'search')?$_REQUEST['search']:"");
-       $type = (x($_REQUEST,'type')?$_REQUEST['type']:"");
-       
-
-       // For use with jquery.autocomplete for private mail completion
-
-       if(x($_REQUEST,'query') && strlen($_REQUEST['query'])) {
-               if(! $type)
-                       $type = 'm';
-               $search = $_REQUEST['query'];
-       }
-
-
-       if ($search!=""){
-               $sql_extra = "AND `name` LIKE '%%".dbesc($search)."%%'";
-               $sql_extra2 = "AND (`attag` LIKE '%%".dbesc($search)."%%' OR `name` LIKE '%%".dbesc($search)."%%' OR `nick` LIKE '%%".dbesc($search)."%%')";
-       } else {
-               $sql_extra = $sql_extra2 = "";
-       }
-       
-       // count groups and contacts
-       if ($type=='' || $type=='g'){
-               $r = q("SELECT COUNT(`id`) AS g FROM `group` WHERE `deleted` = 0 AND `uid` = %d $sql_extra",
-                       intval(local_user())
-               );
-               $group_count = (int)$r[0]['g'];
-       } else {
-               $group_count = 0;
-       }
-       
-       if ($type=='' || $type=='c'){
-               $r = q("SELECT COUNT(`id`) AS c FROM `contact` 
-                               WHERE `uid` = %d AND `self` = 0 
-                               AND `blocked` = 0 AND `pending` = 0 AND `archive` = 0
-                               AND `notify` != '' $sql_extra2" ,
-                       intval(local_user())
-               );
-               $contact_count = (int)$r[0]['c'];
-       } 
-       elseif ($type == 'm') {
-
-               // autocomplete for Private Messages
-
-               $r = q("SELECT COUNT(`id`) AS c FROM `contact` 
-                               WHERE `uid` = %d AND `self` = 0 
-                               AND `blocked` = 0 AND `pending` = 0 AND `archive` = 0 
-                               AND `network` IN ('%s','%s','%s') $sql_extra2" ,
-                       intval(local_user()),
-                       dbesc(NETWORK_DFRN),
-                       dbesc(NETWORK_ZOT),
-                       dbesc(NETWORK_DIASPORA)
-               );
-               $contact_count = (int)$r[0]['c'];
-
-       }
-       elseif ($type == 'a') {
-
-               // autocomplete for Contacts
-
-               $r = q("SELECT COUNT(`id`) AS c FROM `contact` 
-                               WHERE `uid` = %d AND `self` = 0 
-                               AND `pending` = 0 $sql_extra2" ,
-                       intval(local_user())
-               );
-               $contact_count = (int)$r[0]['c'];
-
-       } else {
-               $contact_count = 0;
-       }
-       
-       $tot = $group_count+$contact_count;
-       
-       $groups = array();
-       $contacts = array();
-       
-       if ($type=='' || $type=='g'){
-               
-               $r = q("SELECT `group`.`id`, `group`.`name`, GROUP_CONCAT(DISTINCT `group_member`.`contact-id` SEPARATOR ',') as uids
-                               FROM `group`,`group_member` 
-                               WHERE `group`.`deleted` = 0 AND `group`.`uid` = %d 
-                                       AND `group_member`.`gid`=`group`.`id`
-                                       $sql_extra
-                               GROUP BY `group`.`id`
-                               ORDER BY `group`.`name` 
-                               LIMIT %d,%d",
-                       intval(local_user()),
-                       intval($start),
-                       intval($count)
-               );
-
-               foreach($r as $g){
-//             logger('acl: group: ' . $g['name'] . ' members: ' . $g['uids']);                
-                       $groups[] = array(
-                               "type"  => "g",
-                               "photo" => "images/twopeople.png",
-                               "name"  => $g['name'],
-                               "id"    => intval($g['id']),
-                               "uids"  => array_map("intval", explode(",",$g['uids'])),
-                               "link"  => ''
-                       );
-               }
-       }
-       
-       if ($type=='' || $type=='c'){
-       
-               $r = q("SELECT `id`, `name`, `nick`, `micro`, `network`, `url`, `attag` FROM `contact` 
-                       WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `pending` = 0 AND `archive` = 0 AND `notify` != ''
-                       $sql_extra2
-                       ORDER BY `name` ASC ",
-                       intval(local_user())
-               );
-       }
-       elseif($type == 'm') {
-               $r = q("SELECT `id`, `name`, `nick`, `micro`, `network`, `url`, `attag` FROM `contact` 
-                       WHERE `uid` = %d AND `self` = 0 AND `blocked` = 0 AND `pending` = 0 AND `archive` = 0
-                       AND `network` IN ('%s','%s','%s')
-                       $sql_extra2
-                       ORDER BY `name` ASC ",
-                       intval(local_user()),
-                       dbesc(NETWORK_DFRN),
-                       dbesc(NETWORK_ZOT),
-                       dbesc(NETWORK_DIASPORA)
-               );
-       }
-       elseif($type == 'a') {
-               $r = q("SELECT `id`, `name`, `nick`, `micro`, `network`, `url`, `attag` FROM `contact` 
-                       WHERE `uid` = %d AND `pending` = 0
-                       $sql_extra2
-                       ORDER BY `name` ASC ",
-                       intval(local_user())
-               );
-       }
-       else
-               $r = array();
-
-
-       if($type == 'm' || $type == 'a') {
-               $x = array();
-               $x['query'] = $search;
-               $x['photos'] = array();
-               $x['links'] = array();
-               $x['suggestions'] = array();
-               $x['data'] = array();
-               if(count($r)) {
-                       foreach($r as $g) {
-                               $x['photos'][] = $g['micro'];
-                               $x['links'][] = $g['url'];
-                               $x['suggestions'][] = $g['name'];
-                               $x['data'][] = intval($g['id']);
-                       }
-               }
-               echo json_encode($x);
-               killme();
-       }
-
-       if(count($r)) {
-               foreach($r as $g){
-                       $contacts[] = array(
-                               "type"  => "c",
-                               "photo" => $g['micro'],
-                               "name"  => $g['name'],
-                               "id"    => intval($g['id']),
-                               "network" => $g['network'],
-                               "link" => $g['url'],
-                               "nick" => ($g['attag']) ? $g['attag'] : $g['nick'],
-                       );
-               }                       
-       }
-               
-       $items = array_merge($groups, $contacts);
-       
-       $o = array(
-               'tot'   => $tot,
-               'start' => $start,
-               'count' => $count,
-               'items' => $items,
-       );
-       
-       echo json_encode($o);
-
-       killme();
+       acl_lookup($a);
 }
 
 
index 6e62ec8ef5538595ba8e9dccbfdde48a883d7940..ee68863e30aefc95fff5eb55a3b31480fc2edb66 100644 (file)
@@ -225,6 +225,36 @@ function contacts_content(&$a) {
 
                if($cmd === 'drop') {
 
+                       // Check if we should do HTML-based delete confirmation
+                       if($_REQUEST['confirm']) {
+                               // <form> can't take arguments in its "action" parameter
+                               // so add any arguments as hidden inputs
+                               $query = explode_querystring($a->query_string);
+                               $inputs = array();
+                               foreach($query['args'] as $arg) {
+                                       if(strpos($arg, 'confirm=') === false) {
+                                               $arg_parts = explode('=', $arg);
+                                               $inputs[] = array('name' => $arg_parts[0], 'value' => $arg_parts[1]);
+                                       }
+                               }
+
+                               $a->page['aside'] = '';
+                               return replace_macros(get_markup_template('confirm.tpl'), array(
+                                       '$method' => 'get',
+                                       '$message' => t('Do you really want to delete this contact?'),
+                                       '$extra_inputs' => $inputs,
+                                       '$confirm' => t('Yes'),
+                                       '$confirm_url' => $query['base'],
+                                       '$confirm_name' => 'confirmed',
+                                       '$cancel' => t('Cancel'),
+                               ));
+                       }
+                       // Now check how the user responded to the confirmation query
+                       if($_REQUEST['canceled']) {
+                               goaway($a->get_baseurl(true) . '/' . $_SESSION['return_url']);
+
+                       }
+
                        require_once('include/Contact.php');
 
                        terminate_friendship($a->user,$a->contact,$orig_record[0]);
@@ -239,6 +269,10 @@ function contacts_content(&$a) {
                }
        }
 
+
+
+       $_SESSION['return_url'] = $a->query_string;
+
        if((x($a->data,'contact')) && (is_array($a->data['contact']))) {
 
                $contact_id = $a->data['contact']['id'];
@@ -405,8 +439,6 @@ function contacts_content(&$a) {
        $ignored = false;
        $all = false;
 
-       $_SESSION['return_url'] = $a->query_string;
-
        if(($a->argc == 2) && ($a->argv[1] === 'all')) {
                $sql_extra = '';
                $all = true;
index 2ac1c369ebc33cc2852a25b6573d7fbe236e4ed4..2c9243a217b48211cbcbf00c015b2406bf2d0a3d 100644 (file)
@@ -112,8 +112,9 @@ function display_content(&$a, $update = 0) {
                        'acl' => populate_acl($a->user, $celeb),
                        'bang' => '',
                        'visitor' => 'block',
-                       'profile_uid' => local_user()
-               );      
+                       'profile_uid' => local_user(),
+                       'acl_data' => construct_acl_data($a, $a->user), // For non-Javascript ACL selector
+               );
                $o .= status_editor($a,$x,0,true);
        }
 
index c62252bc84ca8fc52d0ca8ea8388e95f5616392f..258e2e0b15652d5390f3419e86f1b69016864a18 100644 (file)
@@ -85,16 +85,19 @@ function editpost_content(&$a) {
                }
        }
 
-       if($mail_enabled) {
+       // I don't think there's any need for the $jotnets when editing the post,
+       // and including them makes it difficult for the JS-free theme, so let's
+       // disable them
+/*     if($mail_enabled) {
        $selected = (($pubmail_enabled) ? ' checked="checked" ' : '');
                $jotnets .= '<div class="profile-jot-net"><input type="checkbox" name="pubmail_enable"' . $selected . ' value="1" /> '
                . t("Post to Email") . '</div>';
-       }
+       }*/
                                        
 
 
        call_hooks('jot_tool', $jotplugins);
-       call_hooks('jot_networks', $jotnets);
+       //call_hooks('jot_networks', $jotnets);
 
        
        //$tpl = replace_macros($tpl,array('$jotplugins' => $jotplugins));      
index 2ed1b812a48cb22cc51ed31dfcb40e58e906dede..addffebe06005c29f141938f035088326ae12680 100644 (file)
@@ -923,10 +923,12 @@ function item_content(&$a) {
 
        require_once('include/security.php');
 
+       $o = '';
        if(($a->argc == 3) && ($a->argv[1] === 'drop') && intval($a->argv[2])) {
                require_once('include/items.php');
-               drop_item($a->argv[2]);
+               $o = drop_item($a->argv[2]);
        }
+       return $o;
 }
 
 /**
index aaa85928c7c81059984e47bf55c9995480c1e9bf..77fc0aec20361373effb60997c7f8f6f283630db 100755 (executable)
@@ -105,6 +105,10 @@ function like_content(&$a) {
        }
 
 
+       // See if we've been passed a return path to redirect to
+       $return_path = ((x($_REQUEST,'return')) ? $_REQUEST['return'] : '');
+
+
        $r = q("SELECT * FROM `item` WHERE `verb` = '%s' AND `deleted` = 0 
                AND `contact-id` = %d AND ( `parent` = '%s' OR `parent-uri` = '%s' OR `thr-parent` = '%s') LIMIT 1",
                dbesc($activity),
@@ -137,7 +141,9 @@ function like_content(&$a) {
 //             proc_run('php',"include/notifier.php","like","$post_id"); // $post_id isn't defined here!
                $like_item_id = $like_item['id'];
                proc_run('php',"include/notifier.php","like","$like_item_id");
-               return;
+
+               like_content_return($a->get_baseurl(), $return_path);
+               return; // NOTREACHED
        }
 
        $uri = item_new_uri($a->get_hostname(),$owner_uid);
@@ -221,11 +227,29 @@ EOT;
 
        proc_run('php',"include/notifier.php","like","$post_id");
 
-       killme();
+       like_content_return($a->get_baseurl(), $return_path);
+       killme(); // NOTREACHED
 //     return; // NOTREACHED
 }
 
 
+// Decide how to return. If we were called with a 'return' argument,
+// then redirect back to the calling page. If not, just quietly end
+
+function like_content_return($baseurl, $return_path) {
+
+       if($return_path) {
+               $rand = '_=' . time();
+               if(strpos($return_path, '?')) $rand = "&$rand";
+               else $rand = "?$rand";
+
+               goaway($baseurl . "/" . $return_path . $rand);
+       }
+
+       killme();
+}
+
+
 function store_diaspora_like_retract_sig($activity, $item, $like_item, $contact) {
        // Note that we can only create a signature for a user of the local server. We don't have
        // a key for remote users. That is ok, because if a remote user is "unlike"ing a post, it 
index 1b8e2f1e2c32a997ca0a704c312c55b6ca6aefd1..5513ebe08d70b1c48475bb4d643833d1f9d085bf 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 
+require_once("include/text.php");
+
 
 function manage_post(&$a) {
 
@@ -68,6 +70,10 @@ function manage_post(&$a) {
        unset($_SESSION['return_url']);
        if(x($_SESSION,'submanage'))
                unset($_SESSION['submanage']);
+       if(x($_SESSION,'sysmsg'))
+               unset($_SESSION['sysmsg']);
+       if(x($_SESSION,'sysmsg_info'))
+               unset($_SESSION['sysmsg_info']);
 
        require_once('include/security.php');
        authenticate_success($r[0],true,true);
@@ -91,27 +97,18 @@ function manage_content(&$a) {
                return;
        }
 
-       $o = '<h3>' . t('Manage Identities and/or Pages') . '</h3>';
-
-       
-       $o .= '<div id="identity-manage-desc">' . t('Toggle between different identities or community/group pages which share your account details or which you have been granted "manage" permissions') . '</div>';
-
-       $o .= '<div id="identity-manage-choose">' . t('Select an identity to manage: ') . '</div>';
-
-       $o .= '<div id="identity-selector-wrapper">' . "\r\n";
-       $o .= '<form action="manage" method="post" >' . "\r\n";
-       $o .= '<select name="identity" size="4" onchange="this.form.submit();" >' . "\r\n";
-
-       foreach($a->identities as $rr) {
-               $selected = (($rr['nickname'] === $a->user['nickname']) ? ' selected="selected" ' : '');
-               $o .= '<option ' . $selected . 'value="' . $rr['uid'] . '">' . $rr['username'] . ' (' . $rr['nickname'] . ')</option>' . "\r\n";
+       $identities = $a->identities;
+       foreach($identities as $key=>$id) {
+               $identities[$key]['selected'] = (($id['nickname'] === $a->user['nickname']) ? ' selected="selected" ' : '');
        }
 
-       $o .= '</select>' . "\r\n";
-       $o .= '<div id="identity-select-break"></div>' . "\r\n";
-
-//     $o .= '<input id="identity-submit" type="submit" name="submit" value="' . t('Submit') . '" />';
-       $o .= '</div></form>' . "\r\n";
+       $o = replace_macros(get_markup_template('manage.tpl'), array(
+               '$title' => t('Manage Identities and/or Pages'),
+               '$desc' => t('Toggle between different identities or community/group pages which share your account details or which you have been granted "manage" permissions'),
+               '$choose' => t('Select an identity to manage: '),
+               '$identities' => $identities,
+               '$submit' => t('Submit'),
+       ));
 
        return $o;
 
index 885cdcd6294cb30d7aaaf8c83e82e3138e87ac5c..0a54f9428d1c60fd224eda6925ab5c73e3e4d484 100644 (file)
@@ -82,6 +82,8 @@ function message_post(&$a) {
                $a->argc = 2;
                $a->argv[1] = 'new';
        }
+       else
+               goaway($a->get_baseurl(true) . '/' . $_SESSION['return_url']);
 
 }
 
@@ -185,6 +187,36 @@ function message_content(&$a) {
        if(($a->argc == 3) && ($a->argv[1] === 'drop' || $a->argv[1] === 'dropconv')) {
                if(! intval($a->argv[2]))
                        return;
+
+               // Check if we should do HTML-based delete confirmation
+               if($_REQUEST['confirm']) {
+                       // <form> can't take arguments in its "action" parameter
+                       // so add any arguments as hidden inputs
+                       $query = explode_querystring($a->query_string);
+                       $inputs = array();
+                       foreach($query['args'] as $arg) {
+                               if(strpos($arg, 'confirm=') === false) {
+                                       $arg_parts = explode('=', $arg);
+                                       $inputs[] = array('name' => $arg_parts[0], 'value' => $arg_parts[1]);
+                               }
+                       }
+
+                       //$a->page['aside'] = '';
+                       return replace_macros(get_markup_template('confirm.tpl'), array(
+                               '$method' => 'get',
+                               '$message' => t('Do you really want to delete this message?'),
+                               '$extra_inputs' => $inputs,
+                               '$confirm' => t('Yes'),
+                               '$confirm_url' => $query['base'],
+                               '$confirm_name' => 'confirmed',
+                               '$cancel' => t('Cancel'),
+                       ));
+               }
+               // Now check how the user responded to the confirmation query
+               if($_REQUEST['canceled']) {
+                       goaway($a->get_baseurl(true) . '/' . $_SESSION['return_url']);
+               }
+
                $cmd = $a->argv[1];
                if($cmd === 'drop') {
                        $r = q("DELETE FROM `mail` WHERE `id` = %d AND `uid` = %d LIMIT 1",
@@ -194,7 +226,8 @@ function message_content(&$a) {
                        if($r) {
                                info( t('Message deleted.') . EOL );
                        }
-                       goaway($a->get_baseurl(true) . '/message' );
+                       //goaway($a->get_baseurl(true) . '/message' );
+                       goaway($a->get_baseurl(true) . '/' . $_SESSION['return_url']);
                }
                else {
                        $r = q("SELECT `parent-uri`,`convid` FROM `mail` WHERE `id` = %d AND `uid` = %d LIMIT 1",
@@ -224,7 +257,8 @@ function message_content(&$a) {
                                if($r)
                                        info( t('Conversation removed.') . EOL );
                        } 
-                       goaway($a->get_baseurl(true) . '/message' );
+                       //goaway($a->get_baseurl(true) . '/message' );
+                       goaway($a->get_baseurl(true) . '/' . $_SESSION['return_url']);
                }       
        
        }
@@ -304,6 +338,9 @@ function message_content(&$a) {
                return $o;
        }
 
+
+       $_SESSION['return_url'] = $a->query_string;
+
        if($a->argc == 1) {
 
                // list messages
diff --git a/mod/navigation.php b/mod/navigation.php
new file mode 100644 (file)
index 0000000..c14902c
--- /dev/null
@@ -0,0 +1,27 @@
+<?php
+
+require_once("include/nav.php");
+
+function navigation_content(&$a) {
+
+       $nav_info = nav_info($a);
+
+       /**
+        * Build the page
+        */
+
+       $tpl = get_markup_template('navigation.tpl');
+       return replace_macros($tpl, array(
+        '$baseurl' => $a->get_baseurl(),
+               '$langselector' => lang_selector(),
+               '$sitelocation' => $nav_info['sitelocation'],
+               '$nav' => $nav_info['nav'],
+               '$banner' =>  $nav_info['banner'],
+               '$emptynotifications' => t('Nothing new here'),
+               '$userinfo' => $nav_info['userinfo'],
+               '$sel' =>       $a->nav_sel,
+               '$apps' => $a->apps,
+               '$clear_notifs' => t('Clear notifications')
+       ));
+
+}
index 2524ae0634baf8a2b8895b7b1cc04e46e476224a..b5046b632746e7e84b375eadb3ce2f0e766a8623 100644 (file)
@@ -560,10 +560,12 @@ function network_content(&$a, $update = 0) {
                        'default_location' => $a->user['default-location'],
                        'nickname' => $a->user['nickname'],
                        'lockstate' => ((($group) || ($cid) || ($nets) || (is_array($a->user) && ((strlen($a->user['allow_cid'])) || (strlen($a->user['allow_gid'])) || (strlen($a->user['deny_cid'])) || (strlen($a->user['deny_gid']))))) ? 'lock' : 'unlock'),
+                       'default_perms' => get_acl_permissions($a->user),
                        'acl' => populate_acl((($group || $cid || $nets) ? $def_acl : $a->user), $celeb),
                        'bang' => (($group || $cid || $nets) ? '!' : ''),
                        'visitor' => 'block',
-                       'profile_uid' => local_user()
+                       'profile_uid' => local_user(),
+                       'acl_data' => construct_acl_data($a, $a->user), // For non-Javascript ACL selector
                );
 
                $o .= status_editor($a,$x);
index 62796ed13f8fc0dc7757895aaa114b9cfc41dd07..09dac72b0c9437dec1a7ee1063dd79ef4370eddf 100644 (file)
@@ -60,8 +60,8 @@ function notes_content(&$a,$update = false) {
            'bang' => '',
                'visitor' => 'block',
                    'profile_uid' => local_user(),
-                       'button' => t('Save')
-
+                       'button' => t('Save'),
+                       'acl_data' => '',
        );
 
        $o .= status_editor($a,$x,$a->contact['id']);
index 7035c66904897ffae8c1bcd407a2692b1ae2ee1d..c6892818afbff847015223546a27e345165faeee 100644 (file)
@@ -166,6 +166,11 @@ function photos_post(&$a) {
                        return; // NOTREACHED
                }
 
+               // Check if the user has responded to a delete confirmation query
+               if($_REQUEST['canceled']) {
+                       goaway($a->get_baseurl() . '/' . $_SESSION['photo_return']);
+               }
+
                $newalbum = notags(trim($_POST['albumname']));
                if($newalbum != $album) {
                        q("UPDATE `photo` SET `album` = '%s' WHERE `album` = '%s' AND `uid` = %d",
@@ -181,6 +186,25 @@ function photos_post(&$a) {
 
                if($_POST['dropalbum'] == t('Delete Album')) {
 
+                       // Check if we should do HTML-based delete confirmation
+                       if($_REQUEST['confirm']) {
+                               $drop_url = $a->query_string;
+                               $extra_inputs = array(
+                                       array('name' => 'albumname', 'value' => $_POST['albumname']),
+                               );
+                               $a->page['content'] = replace_macros(get_markup_template('confirm.tpl'), array(
+                                       '$method' => 'post',
+                                       '$message' => t('Do you really want to delete this photo album and all its photos?'),
+                                       '$extra_inputs' => $extra_inputs,
+                                       '$confirm' => t('Delete Album'),
+                                       '$confirm_url' => $drop_url,
+                                       '$confirm_name' => 'dropalbum', // Needed so that confirmation will bring us back into this if statement
+                                       '$cancel' => t('Cancel'),
+                               ));
+                               $a->error = 1; // Set $a->error so the other module functions don't execute
+                               return;
+                       }
+
                        $res = array();
 
                        // get the list of photos we are about to delete
@@ -242,10 +266,32 @@ function photos_post(&$a) {
                return; // NOTREACHED
        }
 
+
+       // Check if the user has responded to a delete confirmation query for a single photo
+       if(($a->argc > 2) && $_REQUEST['canceled']) {
+               goaway($a->get_baseurl() . '/' . $_SESSION['photo_return']);
+       }
+
        if(($a->argc > 2) && (x($_POST,'delete')) && ($_POST['delete'] == t('Delete Photo'))) {
 
                // same as above but remove single photo
 
+               // Check if we should do HTML-based delete confirmation
+               if($_REQUEST['confirm']) {
+                       $drop_url = $a->query_string;
+                       $a->page['content'] = replace_macros(get_markup_template('confirm.tpl'), array(
+                               '$method' => 'post',
+                               '$message' => t('Do you really want to delete this photo?'),
+                               '$extra_inputs' => array(),
+                               '$confirm' => t('Delete Photo'),
+                               '$confirm_url' => $drop_url,
+                               '$confirm_name' => 'delete', // Needed so that confirmation will bring us back into this if statement
+                               '$cancel' => t('Cancel'),
+                       ));
+                       $a->error = 1; // Set $a->error so the other module functions don't execute
+                       return;
+               }
+
                if($visitor) {
                        $r = q("SELECT `id`, `resource-id` FROM `photo` WHERE `contact-id` = %d AND `uid` = %d AND `resource-id` = '%s' LIMIT 1",
                                intval($visitor),
@@ -284,7 +330,7 @@ function photos_post(&$a) {
                        }
                }
 
-               goaway($a->get_baseurl() . '/' . $_SESSION['photo_return']);
+               goaway($a->get_baseurl() . '/photos/' . $a->data['user']['nickname']);
                return; // NOTREACHED
        }
 
@@ -1024,8 +1070,10 @@ function photos_content(&$a) {
 
                call_hooks('photo_upload_form',$ret);
 
-               $default_upload = '<input id="photos-upload-choose" type="file" name="userfile" />      <div class="photos-upload-submit-wrapper" >
-               <input type="submit" name="submit" value="' . t('Submit') . '" id="photos-upload-submit" /> </div>';
+               $default_upload_box = replace_macros(get_markup_template('photos_default_uploader_box.tpl'), array());
+               $default_upload_submit = replace_macros(get_markup_template('photos_default_uploader_submit.tpl'), array(
+                       '$submit' => t('Submit'),
+               ));
 
                $usage_message = '';
                $limit = service_class_fetch($a->data['user']['uid'],'photo_upload_limit');
@@ -1038,6 +1086,25 @@ function photos_content(&$a) {
                }
 
 
+               // Private/public post links for the non-JS ACL form
+               $private_post = 1;
+               if($_REQUEST['public'])
+                       $private_post = 0;
+
+               $query_str = $a->query_string;
+               if(strpos($query_str, 'public=1') !== false)
+                       $query_str = str_replace(array('?public=1', '&public=1'), array('', ''), $query_str);
+
+               // I think $a->query_string may never have ? in it, but I could be wrong
+               // It looks like it's from the index.php?q=[etc] rewrite that the web
+               // server does, which converts any ? to &, e.g. suggest&ignore=61 for suggest?ignore=61
+               if(strpos($query_str, '?') === false)
+                       $public_post_link = '?public=1';
+               else
+                       $public_post_link = '&public=1';
+
+
+
                $tpl = get_markup_template('photos_upload.tpl');
 
                if($a->theme['template_engine'] === 'internal') {
@@ -1060,9 +1127,20 @@ function photos_content(&$a) {
                        '$albumselect' => $albumselect_e,
                        '$permissions' => t('Permissions'),
                        '$aclselect' => $aclselect_e,
-                       '$uploader' => $ret['addon_text'],
-                       '$default' => (($ret['default_upload']) ? $default_upload : ''),
-                       '$uploadurl' => $ret['post_url']
+                       '$alt_uploader' => $ret['addon_text'],
+                       '$default_upload_box' => (($ret['default_upload']) ? $default_upload_box : ''),
+                       '$default_upload_submit' => (($ret['default_upload']) ? $default_upload_submit : ''),
+                       '$uploadurl' => $ret['post_url'],
+
+                       // ACL permissions box
+                       '$acl_data' => construct_acl_data($a, $a->user), // For non-Javascript ACL selector
+                       '$group_perms' => t('Show to Groups'),
+                       '$contact_perms' => t('Show to Contacts'),
+                       '$private' => t('Private Photo'),
+                       '$public' => t('Public Photo'),
+                       '$is_private' => $private_post,
+                       '$return_path' => $query_str,
+                       '$public_link' => $public_post_link,
 
                ));
 
@@ -1372,6 +1450,24 @@ function photos_content(&$a) {
                if(($cmd === 'edit') && ($can_post)) {
                        $edit_tpl = get_markup_template('photo_edit.tpl');
 
+                       // Private/public post links for the non-JS ACL form
+                       $private_post = 1;
+                       if($_REQUEST['public'])
+                               $private_post = 0;
+
+                       $query_str = $a->query_string;
+                       if(strpos($query_str, 'public=1') !== false)
+                               $query_str = str_replace(array('?public=1', '&public=1'), array('', ''), $query_str);
+
+                       // I think $a->query_string may never have ? in it, but I could be wrong
+                       // It looks like it's from the index.php?q=[etc] rewrite that the web
+                       // server does, which converts any ? to &, e.g. suggest&ignore=61 for suggest?ignore=61
+                       if(strpos($query_str, '?') === false)
+                               $public_post_link = '?public=1';
+                       else
+                               $public_post_link = '&public=1';
+
+
                        if($a->theme['template_engine'] === 'internal') {
                                $album_e = template_escape($ph[0]['album']);
                                $caption_e = template_escape($ph[0]['desc']);
@@ -1400,7 +1496,17 @@ function photos_content(&$a) {
                                '$help_tags' => t('Example: @bob, @Barbara_Jensen, @jim@example.com, #California, #camping'),
                                '$item_id' => ((count($linked_items)) ? $link_item['id'] : 0),
                                '$submit' => t('Submit'),
-                               '$delete' => t('Delete Photo')
+                               '$delete' => t('Delete Photo'),
+
+                               // ACL permissions box
+                               '$acl_data' => construct_acl_data($a, $ph[0]), // For non-Javascript ACL selector
+                               '$group_perms' => t('Show to Groups'),
+                               '$contact_perms' => t('Show to Contacts'),
+                               '$private' => t('Private photo'),
+                               '$public' => t('Public photo'),
+                               '$is_private' => $private_post,
+                               '$return_path' => $query_str,
+                               '$public_link' => $public_post_link,
                        ));
                }
 
@@ -1418,9 +1524,10 @@ function photos_content(&$a) {
                                $likebuttons = replace_macros($like_tpl,array(
                                        '$id' => $link_item['id'],
                                        '$likethis' => t("I like this \x28toggle\x29"),
-                                       '$nolike' => t("I don't like this \x28toggle\x29"),
+                                       '$nolike' => (feature_enabled(local_user(), 'dislike') ? t("I don't like this \x28toggle\x29") : ''),
                                        '$share' => t('Share'),
-                                       '$wait' => t('Please wait')
+                                       '$wait' => t('Please wait'),
+                                       '$return_path' => $a->query_string,
                                ));
                        }
 
index 25871c24059d3c77cf3dd0062eeed152014dd668..eea5dc7e4b555bf558d7a3c77f7c10d3b05e894b 100644 (file)
@@ -198,7 +198,8 @@ function profile_content(&$a, $update = 0) {
                'acl' => (($is_owner) ? populate_acl($a->user, $celeb) : ''),
                    'bang' => '',
                'visitor' => (($is_owner || $commvisitor) ? 'block' : 'none'),
-                   'profile_uid' => $a->profile['profile_uid']
+                   'profile_uid' => $a->profile['profile_uid'],
+                               'acl_data' => ( $is_owner ? construct_acl_data($a, $a->user) : '' ), // For non-Javascript ACL selector
                );
 
                $o .= status_editor($a,$x);
index dbdd40bc369294c045ac28f88351301e1205185d..8b3cebfa35dd642c6b21a27fe66d9f0116dd134f 100644 (file)
@@ -1012,6 +1012,25 @@ function settings_content(&$a) {
        require_once('include/group.php');
        $group_select = mini_group_select(local_user(),$a->user['def_gid']);
 
+
+       // Private/public post links for the non-JS ACL form
+       $private_post = 1;
+       if($_REQUEST['public'])
+               $private_post = 0;
+
+       $query_str = $a->query_string;
+       if(strpos($query_str, 'public=1') !== false)
+               $query_str = str_replace(array('?public=1', '&public=1'), array('', ''), $query_str);
+
+       // I think $a->query_string may never have ? in it, but I could be wrong
+       // It looks like it's from the index.php?q=[etc] rewrite that the web
+       // server does, which converts any ? to &, e.g. suggest&ignore=61 for suggest?ignore=61
+       if(strpos($query_str, '?') === false)
+               $public_post_link = '?public=1';
+       else
+               $public_post_link = '&public=1';
+
+
        $o .= replace_macros($stpl, array(
                '$ptitle'       => t('Account Settings'),
 
@@ -1046,6 +1065,17 @@ function settings_content(&$a) {
                '$blockwall'=> $blockwall, // array('blockwall', t('Allow friends to post to your profile page:'), !$blockwall, ''),
                '$blocktags'=> $blocktags, // array('blocktags', t('Allow friends to tag your posts:'), !$blocktags, ''),
 
+               // ACL permissions box
+               '$acl_data' => construct_acl_data($a, $a->user), // For non-Javascript ACL selector
+               '$group_perms' => t('Show to Groups'),
+               '$contact_perms' => t('Show to Contacts'),
+               '$private' => t('Default Private Post'),
+               '$public' => t('Default Public Post'),
+               '$is_private' => $private_post,
+               '$return_path' => $query_str,
+               '$public_link' => $public_post_link,
+               '$settings_perms' => t('Default Permissions for New Posts'),
+
                '$group_select' => $group_select,
 
 
index 035b81e764c26494cdab26239e1fa1897e078ec0..4fbfd1a9537b09a724ec239d0f129e898eb2dea5 100644 (file)
@@ -28,6 +28,16 @@ function starred_init(&$a) {
                intval($message_id)
        );
  
+       // See if we've been passed a return path to redirect to
+       $return_path = ((x($_REQUEST,'return')) ? $_REQUEST['return'] : '');
+       if($return_path) {
+               $rand = '_=' . time();
+               if(strpos($return_path, '?')) $rand = "&$rand";
+               else $rand = "?$rand";
+
+               goaway($a->get_baseurl() . "/" . $return_path . $rand);
+       }
+
        // the json doesn't really matter, it will either be 0 or 1
 
        echo json_encode($starred);
index 7a86d53a1dbccd533d2f505a24cd089c3dc70c85..a86b412b3235e7484d9a6fe9f92e412e84b64bb7 100644 (file)
@@ -9,10 +9,38 @@ function suggest_init(&$a) {
                return;
 
        if(x($_GET,'ignore') && intval($_GET['ignore'])) {
-               q("insert into gcign ( uid, gcid ) values ( %d, %d ) ",
-                       intval(local_user()),
-                       intval($_GET['ignore'])
-               );
+               // Check if we should do HTML-based delete confirmation
+               if($_REQUEST['confirm']) {
+                       // <form> can't take arguments in its "action" parameter
+                       // so add any arguments as hidden inputs
+                       $query = explode_querystring($a->query_string);
+                       $inputs = array();
+                       foreach($query['args'] as $arg) {
+                               if(strpos($arg, 'confirm=') === false) {
+                                       $arg_parts = explode('=', $arg);
+                                       $inputs[] = array('name' => $arg_parts[0], 'value' => $arg_parts[1]);
+                               }
+                       }
+
+                       $a->page['content'] = replace_macros(get_markup_template('confirm.tpl'), array(
+                               '$method' => 'get',
+                               '$message' => t('Do you really want to delete this suggestion?'),
+                               '$extra_inputs' => $inputs,
+                               '$confirm' => t('Yes'),
+                               '$confirm_url' => $query['base'],
+                               '$confirm_name' => 'confirmed',
+                               '$cancel' => t('Cancel'),
+                       ));
+                       $a->error = 1; // Set $a->error so the other module functions don't execute
+                       return;
+               }
+               // Now check how the user responded to the confirmation query
+               if(!$_REQUEST['canceled']) {
+                       q("insert into gcign ( uid, gcid ) values ( %d, %d ) ",
+                               intval(local_user()),
+                               intval($_GET['ignore'])
+                       );
+               }
        }
 
 }
@@ -56,6 +84,7 @@ function suggest_content(&$a) {
                        '$name' => $rr['name'],
                        '$photo' => $rr['photo'],
                        '$ignlnk' => $a->get_baseurl() . '/suggest?ignore=' . $rr['id'],
+                       '$ignid' => $rr['id'],
                        '$conntxt' => t('Connect'),
                        '$connlnk' => $connlnk,
                        '$ignore' => t('Ignore/Hide')
index 9c06fc8cf7b341efb7374dde80a8c4ddcc08de52..cd42c4008c8c43dee3405b08b4e3940922a93815 100644 (file)
@@ -588,7 +588,7 @@ class Item extends BaseObject {
                                $qcomment = (($qc) ? explode("\n",$qc) : null);
                        }
                        $comment_box = replace_macros($template,array(
-                               '$return_path' => '',
+                               '$return_path' => $a->query_string,
                                '$threaded' => $this->is_threaded(),
 //                             '$jsreload' => (($conv->get_mode() === 'display') ? $_SESSION['return_url'] : ''),
                                '$jsreload' => '',
index 5783a409c5a8a794d371a03e0aaf9a6ef84a1539..1764f99d891ef5366db049dcf6f9d44492d6f2d5 100644 (file)
@@ -7,7 +7,7 @@
                                <input type="hidden" name="type" value="$type" />
                                <input type="hidden" name="profile_uid" value="$profile_uid" />
                                <input type="hidden" name="parent" value="$parent" />
-                               <input type="hidden" name="return" value="$return_path" />
+                               {#<!--<input type="hidden" name="return" value="$return_path" />-->#}
                                <input type="hidden" name="jsreload" value="$jsreload" />
                                <input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
                                <input type="hidden" name="post_id_random" value="$rand_num" />
diff --git a/view/confirm.tpl b/view/confirm.tpl
new file mode 100644 (file)
index 0000000..5e7e641
--- /dev/null
@@ -0,0 +1,14 @@
+<center>
+<form action="$confirm_url" id="confirm-form" method="$method">
+
+       <span id="confirm-message">$message</span>
+       {{ for $extra_inputs as $input }}
+       <input type="hidden" name="$input.name" value="$input.value" />
+       {{ endfor }}
+
+       <input class="confirm-button" id="confirm-submit-button" type="submit" name="$confirm_name" value="$confirm" />
+       <input class="confirm-button" id="confirm-cancel-button" type="submit" name="canceled" value="$cancel" />
+
+</form>
+</center>
+
index 48930b48aba19923041570aef1e9e061f0d5cc8b..f7ed1075098e68e925a8e53986a1d11d560b8040 100644 (file)
                        <span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">menu</span>
                 <div class="contact-photo-menu" id="contact-photo-menu-$contact.id">
                     <ul>
-                        $contact.photo_menu
+                                               {{ for $contact.photo_menu as $c }}
+                                               {{ if $c.2 }}
+                                               <li><a target="redir" href="$c.1">$c.0</a></li>
+                                               {{ else }}
+                                               <li><a href="$c.1">$c.0</a></li>
+                                               {{ endif }}
+                                               {{ endfor }}
                     </ul>
                 </div>
                        {{ endif }}
index 2651ea1f89e7f7649db109f397e1f8bc69dbb0c8..777b2e3594afd67f933c9940a20ff8a7b7a827bc 100644 (file)
@@ -1,5 +1,7 @@
 <div class="wall-item-like-buttons" id="wall-item-like-buttons-$id">
        <a href="#" class="icon like" title="$likethis" onclick="dolike($id,'like'); return false"></a>
+       {{ if $nolike }}
        <a href="#" class="icon dislike" title="$nolike" onclick="dolike($id,'dislike'); return false"></a>
+       {{ endif }}
        <img id="like-rotator-$id" class="like-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
 </div>
diff --git a/view/manage.tpl b/view/manage.tpl
new file mode 100644 (file)
index 0000000..24497b4
--- /dev/null
@@ -0,0 +1,17 @@
+<h3>$title</h3>
+<div id="identity-manage-desc">$desc</div>
+<div id="identity-manage-choose">$choose</div>
+<div id="identity-selector-wrapper">
+       <form action="manage" method="post" >
+       <select name="identity" size="4" onchange="this.form.submit();" >
+
+       {{ for $identities as $id }}
+               <option $id.selected value="$id.uid">$id.username ($id.nickname)</option>
+       {{ endfor }}
+
+       </select>
+       <div id="identity-select-break"></div>
+
+       {#<!--<input id="identity-submit" type="submit" name="submit" value="$submit" />-->#}
+</div></form>
+
diff --git a/view/navigation.tpl b/view/navigation.tpl
new file mode 100644 (file)
index 0000000..3e03efa
--- /dev/null
@@ -0,0 +1,103 @@
+{#
+ # LOGIN/REGISTER
+ #}
+<center>
+{# Use nested if's since the Friendica template engine doesn't support AND or OR in if statements #}
+{{ if $nav.login }}
+<div id="navigation-login-wrapper" >
+{{ else }}
+{{ if $nav.register }}
+<div id="navigation-login-wrapper" >
+{{ endif }}
+{{ endif }}
+{{ if $nav.login }}<a id="navigation-login-link" class="navigation-link $nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a><br/> {{ endif }}
+{{ if $nav.register }}<a id="navigation-register-link" class="navigation-link $nav.register.2 $sel.register" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a><br/>{{ endif }}
+{{ if $nav.login }}
+</div>
+{{ else }}
+{{ if $nav.register }}
+</div>
+{{ endif }}
+{{ endif }}
+
+{#
+ # NETWORK/HOME
+ #}
+{{ if $nav.network }}
+<div id="navigation-network-wrapper" >
+{{ else }}
+{{ if $nav.home }}
+<div id="navigation-network-wrapper" >
+{{ else }}
+{{ if $nav.community }}
+<div id="navigation-network-wrapper" >
+{{ endif }}
+{{ endif }}
+{{ endif }}
+{{ if $nav.network }}
+<a id="navigation-network-link" class="navigation-link navigation-commlink $nav.network.2 $sel.network" href="$nav.network.0" title="$nav.network.3" >$nav.network.1</a><br/>
+<a class="navigation-link navigation-commlink" href="$nav.net_reset.0" title="$nav.net_reset.3">$nav.net_reset.1</a><br/>
+{{ endif }}
+{{ if $nav.home }}
+<a id="navigation-home-link" class="navigation-link navigation-commlink $nav.home.2 $sel.home" href="$nav.home.0" title="$nav.home.3" >$nav.home.1</a><br/>
+{{ endif }}
+{{ if $nav.community }}
+<a id="navigation-community-link" class="navigation-link navigation-commlink $nav.community.2 $sel.community" href="$nav.community.0" title="$nav.community.3" >$nav.community.1</a><br/>
+{{ endif }}
+{{ if $nav.network }}
+</div>
+{{ else }}
+{{ if $nav.home }}
+</div>
+{{ else }}
+{{ if $nav.community }}
+</div>
+{{ endif }}
+{{ endif }}
+{{ endif }}
+
+{#
+ # PRIVATE MESSAGES
+ #}
+{{ if $nav.messages }}
+<div id="navigation-messages-wrapper">
+<a id="navigation-messages-link" class="navigation-link navigation-commlink $nav.messages.2 $sel.messages" href="$nav.messages.0" title="$nav.messages.3" >$nav.messages.1</a><br/>
+</div>
+{{ endif }}
+
+       
+{#
+ # CONTACTS
+ #}
+<div id="navigation-contacts-wrapper">
+{{ if $nav.contacts }}<a id="navigation-contacts-link" class="navigation-link $nav.contacts.2" href="$nav.contacts.0" title="$nav.contacts.3" >$nav.contacts.1</a><br/>{{ endif }}
+<a id="navigation-directory-link" class="navigation-link $nav.directory.2" href="$nav.directory.0" title="$nav.directory.3" >$nav.directory.1</a><br/>
+{{ if $nav.introductions }}
+<a id="navigation-notify-link" class="navigation-link navigation-commlink $nav.introductions.2 $sel.introductions" href="$nav.introductions.0" title="$nav.introductions.3" >$nav.introductions.1</a><br/>
+{{ endif }}
+</div>
+
+{#
+ # NOTIFICATIONS
+ #}
+{{ if $nav.notifications }}
+<div id="navigation-notifications-wrapper">
+<a id="navigation-notifications-link" class="navigation-link navigation-commlink" href="$nav.notifications.0" rel="#navigation-notifications-menu" title="$nav.notifications.1">$nav.notifications.1</a><br/>
+</div>
+{{ endif }}            
+
+{#
+ # MISCELLANEOUS
+ #}
+<div id="navigation-misc-wrapper">
+{{ if $nav.settings }}<a id="navigation-settings-link" class="navigation-link $nav.settings.2" href="$nav.settings.0" title="$nav.settings.3">$nav.settings.1</a><br/>{{ endif }}
+{{ if $nav.manage }}<a id="navigation-manage-link" class="navigation-link navigation-commlink $nav.manage.2 $sel.manage" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a><br/>{{ endif }}
+{{ if $nav.profiles }}<a id="navigation-profiles-link" class="navigation-link $nav.profiles.2" href="$nav.profiles.0" title="$nav.profiles.3" >$nav.profiles.1</a><br/>{{ endif }}
+{{ if $nav.admin }}<a id="navigation-admin-link" class="navigation-link $nav.admin.2" href="$nav.admin.0" title="$nav.admin.3" >$nav.admin.1</a><br/>{{ endif }}
+<a id="navigation-search-link" class="navigation-link $nav.search.2" href="$nav.search.0" title="$nav.search.3" >$nav.search.1</a><br/>
+{{ if $nav.apps }}<a id="navigation-apps-link" class="navigation-link $nav.apps.2" href="$nav.apps.0" title="$nav.apps.3" >$nav.apps.1</a><br/>{{ endif }}
+{{ if $nav.help }} <a id="navigation-help-link" class="navigation-link $nav.help.2" target="friendica-help" href="$nav.help.0" title="$nav.help.3" >$nav.help.1</a><br/>{{ endif }}
+</div>
+
+{{ if $nav.logout }}<a id="navigation-logout-link" class="navigation-link $nav.logout.2" href="$nav.logout.0" title="$nav.logout.3" >$nav.logout.1</a><br/>{{ endif }}
+</center>
diff --git a/view/photos_default_uploader_box.tpl b/view/photos_default_uploader_box.tpl
new file mode 100644 (file)
index 0000000..2f1f69a
--- /dev/null
@@ -0,0 +1 @@
+<input id="photos-upload-choose" type="file" name="userfile" />
diff --git a/view/photos_default_uploader_submit.tpl b/view/photos_default_uploader_submit.tpl
new file mode 100644 (file)
index 0000000..cacb416
--- /dev/null
@@ -0,0 +1,3 @@
+<div class="photos-upload-submit-wrapper" >
+       <input type="submit" name="submit" value="$submit" id="photos-upload-submit" />
+</div>
index 2a820d9c7dc8922e3e27269474d0d6d10c9de74b..7de8d8ab747f41558b56f31629fcd88ce783020d 100644 (file)
 
        <div id="photos-upload-spacer"></div>
 
-       $uploader
+       $alt_uploader
 
-       $default
+       $default_upload_box
+       $default_upload_submit
 
        <div class="photos-upload-end" ></div>
 </form>
index e3c686f052dcab94a21f31699bcb834315c346f9..045a350f6d984f7eef849d1f36732a8a148eefe3 100644 (file)
@@ -3,7 +3,7 @@
                                <input type="hidden" name="type" value="$type" />
                                <input type="hidden" name="profile_uid" value="$profile_uid" />
                                <input type="hidden" name="parent" value="$parent" />
-                               <input type="hidden" name="return" value="$return_path" />
+                               {#<!--<input type="hidden" name="return" value="$return_path" />-->#}
                                <input type="hidden" name="jsreload" value="$jsreload" />
                                <input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
                                <input type="hidden" name="post_id_random" value="$rand_num" />
index e3c686f052dcab94a21f31699bcb834315c346f9..045a350f6d984f7eef849d1f36732a8a148eefe3 100644 (file)
@@ -3,7 +3,7 @@
                                <input type="hidden" name="type" value="$type" />
                                <input type="hidden" name="profile_uid" value="$profile_uid" />
                                <input type="hidden" name="parent" value="$parent" />
-                               <input type="hidden" name="return" value="$return_path" />
+                               {#<!--<input type="hidden" name="return" value="$return_path" />-->#}
                                <input type="hidden" name="jsreload" value="$jsreload" />
                                <input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
                                <input type="hidden" name="post_id_random" value="$rand_num" />
diff --git a/view/theme/decaf-mobile/TODO b/view/theme/decaf-mobile/TODO
new file mode 100644 (file)
index 0000000..735f6bd
--- /dev/null
@@ -0,0 +1,31 @@
+Photo album display?
+
+- The "lock" icon for private items
+       - change it to black?
+       - when clicked, the popup window displays poorly
+
+- Edit photo page: bottom buttons are off-center in Dolphin Mini
+
+- BB code buttons for status updates
+
+- Get "add contact" back on contacts page
+
+- Allow creating a new private message
+
+- Admin: access to more pages than summary?
+
+- Find a way to show embedded videos at the normal size for tablets that can handle it
+
+- Need to find a way to deal with freakin annoying elements that don't respect screen width limits.
+  Specifically, need to find a way to keep them from forcing a horizontal scroll bar to show up and
+  making the rest of the body text overflow the item's borders that is screen-width sensitive (it's
+  annoying to have a 300px truncated code block on a 1024px wide screen). At least the following cause problems:
+       - code blocks
+       - blockquote blocks
+       - #reallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallylongtags
+
+- Needs to be faster!
+       - Reduce DOM elements (~2400 for 10 items, ~8400 for 40 items)
+
+
+- Sometimes, when "Permission denied", wrong login page is shown
diff --git a/view/theme/decaf-mobile/acl_html_selector.tpl b/view/theme/decaf-mobile/acl_html_selector.tpl
new file mode 100644 (file)
index 0000000..e84b0ee
--- /dev/null
@@ -0,0 +1,29 @@
+<a name="acl-wrapper-target"></a>
+<div id="acl-wrapper">
+       <div id="acl-public-switch">
+               <a href="$return_path#acl-wrapper-target" {{ if $is_private == 1 }}class="acl-public-switch-selected"{{ endif }} >$private</a>
+               <a href="$return_path$public_link#acl-wrapper-target" {{ if $is_private == 0 }}class="acl-public-switch-selected"{{ endif }} >$public</a>
+       </div>
+       <div id="acl-list">
+               <div id="acl-list-content">
+                       <div id="acl-html-groups" class="acl-html-select-wrapper">
+                       $group_perms<br />
+                       <select name="group_allow[]" multiple {{ if $is_private == 0 }}disabled{{ endif }} id="acl-html-group-select" class="acl-html-select" size=7>
+                               {{ for $acl_data.groups as $group }}
+                               <option value="$group.id" {{ if $is_private == 1 }}{{ if $group.selected }}selected{{ endif }}{{ endif }}>$group.name</option>
+                               {{ endfor }}
+                       </select>
+                       </div>
+                       <div id="acl-html-contacts" class="acl-html-select-wrapper">
+                       $contact_perms<br />
+                       <select name="contact_allow[]" multiple {{ if $is_private == 0 }}disabled{{ endif }} id="acl-html-contact-select" class="acl-html-select" size=7>
+                               {{ for $acl_data.contacts as $contact }}
+                               <option value="$contact.id" {{ if $is_private == 1 }}{{ if $contact.selected }}selected{{ endif }}{{ endif }}>$contact.name ($contact.networkName)</option>
+                               {{ endfor }}
+                       </select>
+                       </div>
+               </div>
+       </div>
+       <span id="acl-fields"></span>
+</div>
+
diff --git a/view/theme/decaf-mobile/acl_selector.tpl b/view/theme/decaf-mobile/acl_selector.tpl
new file mode 100644 (file)
index 0000000..8e9916c
--- /dev/null
@@ -0,0 +1,23 @@
+<div id="acl-wrapper">
+       <input id="acl-search">
+       <a href="#" id="acl-showall">$showall</a>
+       <div id="acl-list">
+               <div id="acl-list-content">
+               </div>
+       </div>
+       <span id="acl-fields"></span>
+</div>
+
+<div class="acl-list-item" rel="acl-template" style="display:none">
+       <img data-src="{0}"><p>{1}</p>
+       <a href="#" class='acl-button-show'>$show</a>
+       <a href="#" class='acl-button-hide'>$hide</a>
+</div>
+
+{#<!--<script>
+       window.allowCID = $allowcid;
+       window.allowGID = $allowgid;
+       window.denyCID = $denycid;
+       window.denyGID = $denygid;
+       window.aclInit = "true";
+</script>-->#}
diff --git a/view/theme/decaf-mobile/admin_aside.tpl b/view/theme/decaf-mobile/admin_aside.tpl
new file mode 100644 (file)
index 0000000..da3ed23
--- /dev/null
@@ -0,0 +1,31 @@
+
+<h4><a href="$admurl">$admtxt</a></h4>
+<ul class='admin linklist'>
+       <li class='admin button $admin.site.2'><a href='$admin.site.0'>$admin.site.1</a></li>
+       <li class='admin button $admin.users.2'><a href='$admin.users.0'>$admin.users.1</a><span id='pending-update' title='$h_pending'></span></li>
+       <li class='admin button $admin.plugins.2'><a href='$admin.plugins.0'>$admin.plugins.1</a></li>
+       <li class='admin button $admin.themes.2'><a href='$admin.themes.0'>$admin.themes.1</a></li>
+       <li class='admin button $admin.dbsync.2'><a href='$admin.dbsync.0'>$admin.dbsync.1</a></li>
+</ul>
+
+{{ if $admin.update }}
+<ul class='admin linklist'>
+       <li class='admin button $admin.update.2'><a href='$admin.update.0'>$admin.update.1</a></li>
+       <li class='admin button $admin.update.2'><a href='https://kakste.com/profile/inthegit'>Important Changes</a></li>
+</ul>
+{{ endif }}
+
+
+{{ if $admin.plugins_admin }}<h4>$plugadmtxt</h4>{{ endif }}
+<ul class='admin linklist'>
+       {{ for $admin.plugins_admin as $l }}
+       <li class='admin button $l.2'><a href='$l.0'>$l.1</a></li>
+       {{ endfor }}
+</ul>
+       
+       
+<h4>$logtxt</h4>
+<ul class='admin linklist'>
+       <li class='admin button $admin.logs.2'><a href='$admin.logs.0'>$admin.logs.1</a></li>
+</ul>
+
diff --git a/view/theme/decaf-mobile/admin_site.tpl b/view/theme/decaf-mobile/admin_site.tpl
new file mode 100644 (file)
index 0000000..087de4f
--- /dev/null
@@ -0,0 +1,61 @@
+
+<div id='adminpage'>
+       <h1>$title - $page</h1>
+       
+       <form action="$baseurl/admin/site" method="post">
+    <input type='hidden' name='form_security_token' value='$form_security_token'>
+
+       {{ inc field_input.tpl with $field=$sitename }}{{ endinc }}
+       {{ inc field_textarea.tpl with $field=$banner }}{{ endinc }}
+       {{ inc field_select.tpl with $field=$language }}{{ endinc }}
+       {{ inc field_select.tpl with $field=$theme }}{{ endinc }}
+       {{ inc field_select.tpl with $field=$theme_mobile }}{{ endinc }}
+       {{ inc field_select.tpl with $field=$ssl_policy }}{{ endinc }}
+       
+       <div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
+       
+       <h3>$registration</h3>
+       {{ inc field_input.tpl with $field=$register_text }}{{ endinc }}
+       {{ inc field_select.tpl with $field=$register_policy }}{{ endinc }}
+       
+       {{ inc field_checkbox.tpl with $field=$no_multi_reg }}{{ endinc }}
+       {{ inc field_checkbox.tpl with $field=$no_openid }}{{ endinc }}
+       {{ inc field_checkbox.tpl with $field=$no_regfullname }}{{ endinc }}
+       
+       <div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
+
+       <h3>$upload</h3>
+       {{ inc field_input.tpl with $field=$maximagesize }}{{ endinc }}
+       {{ inc field_input.tpl with $field=$maximagelength }}{{ endinc }}
+       {{ inc field_input.tpl with $field=$jpegimagequality }}{{ endinc }}
+       
+       <h3>$corporate</h3>
+       {{ inc field_input.tpl with $field=$allowed_sites }}{{ endinc }}
+       {{ inc field_input.tpl with $field=$allowed_email }}{{ endinc }}
+       {{ inc field_checkbox.tpl with $field=$block_public }}{{ endinc }}
+       {{ inc field_checkbox.tpl with $field=$force_publish }}{{ endinc }}
+       {{ inc field_checkbox.tpl with $field=$no_community_page }}{{ endinc }}
+       {{ inc field_checkbox.tpl with $field=$ostatus_disabled }}{{ endinc }}
+       {{ inc field_checkbox.tpl with $field=$diaspora_enabled }}{{ endinc }}
+       {{ inc field_checkbox.tpl with $field=$dfrn_only }}{{ endinc }}
+       {{ inc field_input.tpl with $field=$global_directory }}{{ endinc }}
+       {{ inc field_checkbox.tpl with $field=$thread_allow }}{{ endinc }}
+       {{ inc field_checkbox.tpl with $field=$newuser_private }}{{ endinc }}
+       
+       <div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
+       
+       <h3>$advanced</h3>
+       {{ inc field_checkbox.tpl with $field=$no_utf }}{{ endinc }}
+       {{ inc field_checkbox.tpl with $field=$verifyssl }}{{ endinc }}
+       {{ inc field_input.tpl with $field=$proxy }}{{ endinc }}
+       {{ inc field_input.tpl with $field=$proxyuser }}{{ endinc }}
+       {{ inc field_input.tpl with $field=$timeout }}{{ endinc }}
+       {{ inc field_input.tpl with $field=$delivery_interval }}{{ endinc }}
+       {{ inc field_input.tpl with $field=$poll_interval }}{{ endinc }}
+       {{ inc field_input.tpl with $field=$maxloadavg }}{{ endinc }}
+       {{ inc field_input.tpl with $field=$abandon_days }}{{ endinc }}
+       
+       <div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
+       
+       </form>
+</div>
diff --git a/view/theme/decaf-mobile/admin_users.tpl b/view/theme/decaf-mobile/admin_users.tpl
new file mode 100644 (file)
index 0000000..3364679
--- /dev/null
@@ -0,0 +1,98 @@
+<script>
+       function confirm_delete(uname){
+               return confirm( "$confirm_delete".format(uname));
+       }
+       function confirm_delete_multi(){
+               return confirm("$confirm_delete_multi");
+       }
+       {#/*function selectall(cls){
+               $j("."+cls).attr('checked','checked');
+               return false;
+       }*/#}
+</script>
+<div id='adminpage'>
+       <h1>$title - $page</h1>
+       
+       <form action="$baseurl/admin/users" method="post">
+        <input type='hidden' name='form_security_token' value='$form_security_token'>
+               
+               <h3>$h_pending</h3>
+               {{ if $pending }}
+                       <table id='pending'>
+                               <thead>
+                               <tr>
+                                       {{ for $th_pending as $th }}<th>$th</th>{{ endfor }}
+                                       <th></th>
+                                       <th></th>
+                               </tr>
+                               </thead>
+                               <tbody>
+                       {{ for $pending as $u }}
+                               <tr>
+                                       <td class="created">$u.created</td>
+                                       <td class="name">$u.name</td>
+                                       <td class="email">$u.email</td>
+                                       <td class="checkbox"><input type="checkbox" class="pending_ckbx" id="id_pending_$u.hash" name="pending[]" value="$u.hash" /></td>
+                                       <td class="tools">
+                                               <a href="$baseurl/regmod/allow/$u.hash" title='$approve'><span class='tool like'></span></a>
+                                               <a href="$baseurl/regmod/deny/$u.hash" title='$deny'><span class='tool dislike'></span></a>
+                                       </td>
+                               </tr>
+                       {{ endfor }}
+                               </tbody>
+                       </table>
+                       {#<!--<div class='selectall'><a href='#' onclick="return selectall('pending_ckbx');">$select_all</a></div>-->#}
+                       <div class="submit"><input type="submit" name="page_users_deny" value="$deny"/> <input type="submit" name="page_users_approve" value="$approve" /></div>                        
+               {{ else }}
+                       <p>$no_pending</p>
+               {{ endif }}
+       
+       
+               
+       
+               <h3>$h_users</h3>
+               {{ if $users }}
+                       <table id='users'>
+                               <thead>
+                               <tr>
+                                       <th></th>
+                                       {{ for $th_users as $th }}<th>$th</th>{{ endfor }}
+                                       <th></th>
+                                       <th></th>
+                               </tr>
+                               </thead>
+                               <tbody>
+                               {{ for $users as $u }}
+                                       <tr>
+                                               <td><img src="$u.micro" alt="$u.nickname" title="$u.nickname"></td>
+                                               <td class='name'><a href="$u.url" title="$u.nickname" >$u.name</a></td>
+                                               <td class='email'>$u.email</td>
+                                               <td class='register_date'>$u.register_date</td>
+                                               <td class='login_date'>$u.login_date</td>
+                                               <td class='lastitem_date'>$u.lastitem_date</td>
+                                               <td class='login_date'>$u.page_flags {{ if $u.is_admin }}($siteadmin){{ endif }}</td>
+                                               <td class="checkbox"> 
+                                    {{ if $u.is_admin }}
+                                        &nbsp;
+                                    {{ else }}
+                                        <input type="checkbox" class="users_ckbx" id="id_user_$u.uid" name="user[]" value="$u.uid"/></td>
+                                    {{ endif }}
+                                               <td class="tools">
+                                    {{ if $u.is_admin }}
+                                        &nbsp;
+                                    {{ else }}
+                                        <a href="$baseurl/admin/users/block/$u.uid?t=$form_security_token" title='{{ if $u.blocked }}$unblock{{ else }}$block{{ endif }}'><span class='icon block {{ if $u.blocked==0 }}dim{{ endif }}'></span></a>
+                                        <a href="$baseurl/admin/users/delete/$u.uid?t=$form_security_token" title='$delete' onclick="return confirm_delete('$u.name')"><span class='icon drop'></span></a>
+                                    {{ endif }}
+                                               </td>
+                                       </tr>
+                               {{ endfor }}
+                               </tbody>
+                       </table>
+                       {#<!--<div class='selectall'><a href='#' onclick="return selectall('users_ckbx');">$select_all</a></div>-->#}
+                       <div class="submit"><input type="submit" name="page_users_block" value="$block/$unblock" /> <input type="submit" name="page_users_delete" value="$delete" onclick="return confirm_delete_multi()" /></div>                                              
+               {{ else }}
+                       NO USERS?!?
+               {{ endif }}
+       </form>
+</div>
diff --git a/view/theme/decaf-mobile/album_edit.tpl b/view/theme/decaf-mobile/album_edit.tpl
new file mode 100644 (file)
index 0000000..3fe2d9f
--- /dev/null
@@ -0,0 +1,15 @@
+<div id="photo-album-edit-wrapper">
+<form name="photo-album-edit-form" id="photo-album-edit-form" action="photos/$nickname/album/$hexalbum" method="post" >
+       <input id="photo-album-edit-form-confirm" type="hidden" name="confirm" value="1" />
+
+       <label id="photo-album-edit-name-label" for="photo-album-edit-name" >$nametext</label>
+       <input type="text" size="64" name="albumname" value="$album" >
+
+       <div id="photo-album-edit-name-end"></div>
+
+       <input id="photo-album-edit-submit" type="submit" name="submit" value="$submit" />
+       <input id="photo-album-edit-drop" type="submit" name="dropalbum" value="$dropsubmit" onclick="return confirmDelete(function(){remove('photo-album-edit-form-confirm');});" />
+
+</form>
+</div>
+<div id="photo-album-edit-end" ></div>
diff --git a/view/theme/decaf-mobile/border.jpg b/view/theme/decaf-mobile/border.jpg
new file mode 100644 (file)
index 0000000..034a1cb
Binary files /dev/null and b/view/theme/decaf-mobile/border.jpg differ
diff --git a/view/theme/decaf-mobile/categories_widget.tpl b/view/theme/decaf-mobile/categories_widget.tpl
new file mode 100644 (file)
index 0000000..ebc6240
--- /dev/null
@@ -0,0 +1,12 @@
+{#<!--<div id="categories-sidebar" class="widget">
+       <h3>$title</h3>
+       <div id="nets-desc">$desc</div>
+       
+       <ul class="categories-ul">
+               <li class="tool"><a href="$base" class="categories-link categories-all{{ if $sel_all }} categories-selected{{ endif }}">$all</a></li>
+               {{ for $terms as $term }}
+                       <li class="tool"><a href="$base?f=&category=$term.name" class="categories-link{{ if $term.selected }} categories-selected{{ endif }}">$term.name</a></li>
+               {{ endfor }}
+       </ul>
+       
+</div>-->#}
diff --git a/view/theme/decaf-mobile/comment_item.tpl b/view/theme/decaf-mobile/comment_item.tpl
new file mode 100755 (executable)
index 0000000..ee0e8c7
--- /dev/null
@@ -0,0 +1,79 @@
+{#<!--         <script>
+               $(document).ready( function () {
+                       $(document).mouseup(function(e) {
+                               var container = $("#comment-edit-wrapper-$id");
+                               if( container.has(e.target).length === 0) {
+                                       commentClose(document.getElementById('comment-edit-text-$id'),$id);
+                                       cmtBbClose($id);
+                               }
+                       });
+               });
+               </script>-->#}
+
+               <div class="comment-wwedit-wrapper $indent" id="comment-edit-wrapper-$id" style="display: block;" >
+                       <a name="comment-wwedit-wrapper-pos"></a>
+                       <form class="comment-edit-form $indent" id="comment-edit-form-$id" action="item" method="post" >
+{#<!--                 <span id="hide-commentbox-$id" class="hide-commentbox fakelink" onclick="showHideCommentBox($id);">$comment</span>
+                       <form class="comment-edit-form" style="display: none;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">-->#}
+                               <input type="hidden" name="type" value="$type" />
+                               <input type="hidden" name="source" value="$sourceapp" />
+                               <input type="hidden" name="profile_uid" value="$profile_uid" />
+                               <input type="hidden" name="parent" value="$parent" />
+                               <input type="hidden" name="return" value="$return_path#comment-wwedit-wrapper-pos" />
+                               <input type="hidden" name="jsreload" value="$jsreload" />
+                               <input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
+                               <input type="hidden" name="post_id_random" value="$rand_num" />
+
+                               {#<!--<div class="comment-edit-photo" id="comment-edit-photo-$id" >-->#}
+                                       <a class="comment-edit-photo comment-edit-photo-link" id="comment-edit-photo-$id" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
+                               {#<!--</div>-->#}
+                               {#<!--<div class="comment-edit-photo-end"></div>-->#}
+                               {#<!--<ul class="comment-edit-bb-$id">
+                                       <li><a class="editicon boldbb shadow"
+                                               style="cursor: pointer;" title="$edbold"
+                                               onclick="insertFormatting('$comment','b', $id);"></a></li>
+                                       <li><a class="editicon italicbb shadow"
+                                               style="cursor: pointer;" title="$editalic"
+                                               onclick="insertFormatting('$comment','i', $id);"></a></li>
+                                       <li><a class="editicon underlinebb shadow"
+                                               style="cursor: pointer;" title="$eduline"
+                                               onclick="insertFormatting('$comment','u', $id);"></a></li>
+                                       <li><a class="editicon quotebb shadow"
+                                               style="cursor: pointer;" title="$edquote"
+                                               onclick="insertFormatting('$comment','quote', $id);"></a></li>
+                                       <li><a class="editicon codebb shadow"
+                                               style="cursor: pointer;" title="$edcode"
+                                               onclick="insertFormatting('$comment','code', $id);"></a></li>-->#}
+{#<!--                                 <li><a class="editicon imagebb shadow"
+                                               style="cursor: pointer;" title="$edimg"
+                                               onclick="insertFormatting('$comment','img', $id);"></a></li>
+                                       <li><a class="editicon urlbb shadow"
+                                               style="cursor: pointer;" title="$edurl"
+                                               onclick="insertFormatting('$comment','url', $id);"></a></li>
+                                       <li><a class="editicon videobb shadow"
+                                               style="cursor: pointer;" title="$edvideo"
+                                               onclick="insertFormatting('$comment','video', $id);"></a></li>-->#}
+                               {#<!--</ul>     -->#}
+                               {#<!--<div class="comment-edit-bb-end"></div>-->#}
+{#<!--                         <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);cmtBbClose($id);" >$comment</textarea>-->#}
+                               <textarea id="comment-edit-text-$id" class="comment-edit-text-full" name="body" ></textarea>
+                               {#<!--{{ if $qcomment }}
+                                       <select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" >
+                                       <option value=""></option>
+                               {{ for $qcomment as $qc }}
+                                       <option value="$qc">$qc</option>                                
+                               {{ endfor }}
+                                       </select>
+                               {{ endif }}-->#}
+
+                               <div class="comment-edit-text-end"></div>
+                               <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" >
+                                       <input type="submit" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="$submit" />
+                                       {#<!--<span onclick="preview_comment($id);" id="comment-edit-preview-link-$id" class="preview-link fakelink">$preview</span>
+                                       <div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div>-->#}
+                               </div>
+
+                               {#<!--<div class="comment-edit-end"></div>-->#}
+                       </form>
+
+               </div>
diff --git a/view/theme/decaf-mobile/common_tabs.tpl b/view/theme/decaf-mobile/common_tabs.tpl
new file mode 100644 (file)
index 0000000..940e5ae
--- /dev/null
@@ -0,0 +1,6 @@
+<ul class="tabs">
+       {{ for $tabs as $tab }}
+               <li id="$tab.id"><a href="$tab.url" class="tab button $tab.sel"{{ if $tab.title }} title="$tab.title"{{ endif }}>$tab.label</a></li>
+       {{ endfor }}
+       <div id="tabs-end"></div>
+</ul>
diff --git a/view/theme/decaf-mobile/contact_block.tpl b/view/theme/decaf-mobile/contact_block.tpl
new file mode 100644 (file)
index 0000000..a8e34fc
--- /dev/null
@@ -0,0 +1,12 @@
+{#<!--<div id="contact-block">
+<h4 class="contact-block-h4">$contacts</h4>
+{{ if $micropro }}
+               <a class="allcontact-link" href="viewcontacts/$nickname">$viewcontacts</a>
+               <div class='contact-block-content'>
+               {{ for $micropro as $m }}
+                       $m
+               {{ endfor }}
+               </div>
+{{ endif }}
+</div>
+<div class="clear"></div>-->#}
diff --git a/view/theme/decaf-mobile/contact_edit.tpl b/view/theme/decaf-mobile/contact_edit.tpl
new file mode 100644 (file)
index 0000000..908212b
--- /dev/null
@@ -0,0 +1,93 @@
+
+<h2>$header</h2>
+
+<div id="contact-edit-wrapper" >
+
+       $tab_str
+
+       <div id="contact-edit-drop-link-wrapper" >
+               <a href="contacts/$contact_id/drop?confirm=1" class="icon drophide" id="contact-edit-drop-link" onclick="id=this.id;return confirmDelete(function(){changeHref(id, 'contacts/$contact_id/drop')});"  title="$delete" {#onmouseover="imgbright(this);" onmouseout="imgdull(this);"#}></a>
+       </div>
+
+       <div id="contact-edit-drop-link-end"></div>
+
+       <div class="vcard">
+               <div class="fn">$name</div>
+               <div id="profile-photo-wrapper"><img class="photo" style="width: 175px; height: 175px;" src="$photo" alt="$name" /></div>
+       </div>
+
+
+       <div id="contact-edit-nav-wrapper" >
+               <div id="contact-edit-links">
+                       <ul>
+                               <li><div id="contact-edit-rel">$relation_text</div></li>
+                               <li><div id="contact-edit-nettype">$nettype</div></li>
+                               {{ if $lost_contact }}
+                                       <li><div id="lost-contact-message">$lost_contact</div></li>
+                               {{ endif }}
+                               {{ if $insecure }}
+                                       <li><div id="insecure-message">$insecure</div></li>
+                               {{ endif }}
+                               {{ if $blocked }}
+                                       <li><div id="block-message">$blocked</div></li>
+                               {{ endif }}
+                               {{ if $ignored }}
+                                       <li><div id="ignore-message">$ignored</div></li>
+                               {{ endif }}
+                               {{ if $archived }}
+                                       <li><div id="archive-message">$archived</div></li>
+                               {{ endif }}
+
+                               <li>&nbsp;</li>
+
+                               {{ if $common_text }}
+                                       <li><div id="contact-edit-common"><a href="$common_link">$common_text</a></div></li>
+                               {{ endif }}
+                               {{ if $all_friends }}
+                                       <li><div id="contact-edit-allfriends"><a href="allfriends/$contact_id">$all_friends</a></div></li>
+                               {{ endif }}
+
+
+                               <li><a href="network/?cid=$contact_id" id="contact-edit-view-recent">$lblrecent</a></li>
+                               {{ if $lblsuggest }}
+                                       <li><a href="fsuggest/$contact_id" id="contact-edit-suggest">$lblsuggest</a></li>
+                               {{ endif }}
+
+                       </ul>
+               </div>
+       </div>
+       <div id="contact-edit-nav-end"></div>
+
+
+<form action="contacts/$contact_id" method="post" >
+<input type="hidden" name="contact_id" value="$contact_id">
+
+       {{ if $poll_enabled }}
+               <div id="contact-edit-poll-wrapper">
+                       <div id="contact-edit-last-update-text">$lastupdtext <span id="contact-edit-last-updated">$last_update</span></div>
+                       <span id="contact-edit-poll-text">$updpub $poll_interval</span> <span id="contact-edit-update-now" class="button"><a id="update_now_link" href="contacts/$contact_id/update" >$udnow</a></span>
+               </div>
+       {{ endif }}
+       <div id="contact-edit-end" ></div>
+
+       {{inc field_checkbox.tpl with $field=$hidden }}{{endinc}}
+
+<div id="contact-edit-info-wrapper">
+<h4>$lbl_info1</h4>
+       <textarea id="contact-edit-info" rows="8"{# cols="35"#} name="info">$info</textarea>
+       <input class="contact-edit-submit" type="submit" name="submit" value="$submit" />
+</div>
+<div id="contact-edit-info-end"></div>
+
+
+<div id="contact-edit-profile-select-text">
+<h4>$lbl_vis1</h4>
+<p>$lbl_vis2</p> 
+</div>
+$profile_select
+<div id="contact-edit-profile-select-end"></div>
+
+<input class="contact-edit-submit" type="submit" name="submit" value="$submit" />
+
+</form>
+</div>
diff --git a/view/theme/decaf-mobile/contact_head.tpl b/view/theme/decaf-mobile/contact_head.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/theme/decaf-mobile/contact_template.tpl b/view/theme/decaf-mobile/contact_template.tpl
new file mode 100644 (file)
index 0000000..4ef0405
--- /dev/null
@@ -0,0 +1,38 @@
+
+<div class="contact-entry-wrapper" id="contact-entry-wrapper-$contact.id" >
+       <div class="contact-entry-photo-wrapper" >
+               <div class="contact-entry-photo mframe" id="contact-entry-photo-$contact.id"
+               {#onmouseover="if (typeof t$contact.id != 'undefined') clearTimeout(t$contact.id);" 
+               onmouseout="t$contact.id=setTimeout('closeMenu(\'contact-photo-menu-$contact.id\');',200)"#} >
+
+{#<!--                 <a href="$contact.url" title="$contact.img_hover" /><img src="$contact.thumb" $contact.sparkle alt="$contact.name" /></a>-->#}
+                       {#<!--<span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">-->#}
+                       <a href="$contact.photo_menu.edit.1" title="$contact.photo_menu.edit.0">
+                       <img src="$contact.thumb" $contact.sparkle alt="$contact.name" />
+                       </a>
+                       {#<!--</span>-->#}
+
+{#<!--                 {{ if $contact.photo_menu }}
+                       <span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">menu</span>
+                <div class="contact-photo-menu" id="contact-photo-menu-$contact.id">
+                    <ul>
+                                               {{ for $contact.photo_menu as $c }}
+                                               {{ if $c.2 }}
+                                               <li><a target="redir" href="$c.1">$c.0</a></li>
+                                               {{ else }}
+                                               <li><a href="$c.1">$c.0</a></li>
+                                               {{ endif }}
+                                               {{ endfor }}
+                    </ul>
+                </div>
+                       {{ endif }}-->#}
+               </div>
+                       
+       </div>
+       <div class="contact-entry-photo-end" ></div>
+               <div class="contact-entry-name" id="contact-entry-name-$contact.id" >$contact.name</div><br />
+{{ if $contact.alt_text }}<div class="contact-entry-details" id="contact-entry-rel-$contact.id" >$contact.alt_text</div>{{ endif }}
+       <div class="contact-entry-network" id="contact-entry-network-$contact.id" >$contact.network</div>
+
+       <div class="contact-entry-end" ></div>
+</div>
diff --git a/view/theme/decaf-mobile/contacts-end.tpl b/view/theme/decaf-mobile/contacts-end.tpl
new file mode 100644 (file)
index 0000000..fea5963
--- /dev/null
@@ -0,0 +1,4 @@
+{#<!--
+<script src="$baseurl/library/jquery_ac/friendica.complete.min.js" ></script>
+
+-->#}
diff --git a/view/theme/decaf-mobile/contacts-head.tpl b/view/theme/decaf-mobile/contacts-head.tpl
new file mode 100644 (file)
index 0000000..6c7355f
--- /dev/null
@@ -0,0 +1,5 @@
+{#<!--
+<script>
+       window.autocompleteType = 'contacts-head';
+</script>
+-->#}
diff --git a/view/theme/decaf-mobile/contacts-template.tpl b/view/theme/decaf-mobile/contacts-template.tpl
new file mode 100644 (file)
index 0000000..76254c1
--- /dev/null
@@ -0,0 +1,28 @@
+<h1>$header{{ if $total }} ($total){{ endif }}</h1>
+
+{{ if $finding }}<h4>$finding</h4>{{ endif }}
+
+<div id="contacts-search-wrapper">
+<form id="contacts-search-form" action="$cmd" method="get" >
+<span class="contacts-search-desc">$desc</span>
+<input type="text" name="search" id="contacts-search" class="search-input" onfocus="this.select();" value="$search" />
+<input type="submit" name="submit" id="contacts-search-submit" value="$submit" />
+</form>
+</div>
+<div id="contacts-search-end"></div>
+
+$tabs
+
+
+<div id="contacts-display-wrapper">
+{{ for $contacts as $contact }}
+       {{ inc contact_template.tpl }}{{ endinc }}
+{{ endfor }}
+</div>
+<div id="contact-edit-end"></div>
+
+$paginate
+
+
+
+
diff --git a/view/theme/decaf-mobile/contacts-widget-sidebar.tpl b/view/theme/decaf-mobile/contacts-widget-sidebar.tpl
new file mode 100644 (file)
index 0000000..1c63f9e
--- /dev/null
@@ -0,0 +1,2 @@
+$follow_widget
+
diff --git a/view/theme/decaf-mobile/conversation.tpl b/view/theme/decaf-mobile/conversation.tpl
new file mode 100644 (file)
index 0000000..d39976f
--- /dev/null
@@ -0,0 +1,29 @@
+$live_update
+
+{{ for $threads as $thread }}
+<div id="tread-wrapper-$thread.id" class="tread-wrapper">
+       {{ for $thread.items as $item }}
+               {{if $item.comment_firstcollapsed}}
+                       <div class="hide-comments-outer">
+                       <span id="hide-comments-total-$thread.id" class="hide-comments-total">$thread.num_comments</span> <span id="hide-comments-$thread.id" class="hide-comments fakelink" onclick="showHideComments($thread.id);">$thread.hide_text</span>
+                       </div>
+                       <div id="collapsed-comments-$thread.id" class="collapsed-comments" style="display: none;">
+               {{endif}}
+               {{if $item.comment_lastcollapsed}}</div>{{endif}}
+               
+               {{ inc $item.template }}{{ endinc }}
+               
+               
+       {{ endfor }}
+</div>
+{{ endfor }}
+
+<div id="conversation-end"></div>
+
+{#<!--{{ if $dropping }}
+<div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems();">
+  <div id="item-delete-selected-icon" class="icon drophide" title="$dropping" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div>
+  <div id="item-delete-selected-desc" >$dropping</div>
+</div>
+<div id="item-delete-selected-end"></div>
+{{ endif }}-->#}
diff --git a/view/theme/decaf-mobile/cropbody.tpl b/view/theme/decaf-mobile/cropbody.tpl
new file mode 100644 (file)
index 0000000..3283084
--- /dev/null
@@ -0,0 +1,27 @@
+<h1>$title</h1>
+<p id="cropimage-desc">
+$desc
+</p>
+<div id="cropimage-wrapper">
+<img src="$image_url" id="croppa" class="imgCrop" alt="$title" />
+</div>
+<div id="cropimage-preview-wrapper" >
+<div id="previewWrap" ></div>
+</div>
+
+<form action="profile_photo/$resource" id="crop-image-form" method="post" />
+<input type='hidden' name='form_security_token' value='$form_security_token'>
+
+<input type="hidden" name="cropfinal" value="1" />
+<input type="hidden" name="xstart" id="x1" />
+<input type="hidden" name="ystart" id="y1" />
+<input type="hidden" name="xfinal" id="x2" />
+<input type="hidden" name="yfinal" id="y2" />
+<input type="hidden" name="height" id="height" />
+<input type="hidden" name="width"  id="width" />
+
+<div id="crop-image-submit-wrapper" >
+<input type="submit" name="submit" value="$done" />
+</div>
+
+</form>
diff --git a/view/theme/decaf-mobile/cropend.tpl b/view/theme/decaf-mobile/cropend.tpl
new file mode 100644 (file)
index 0000000..a27de0e
--- /dev/null
@@ -0,0 +1,4 @@
+{#<!--      <script type="text/javascript" src="library/cropper/lib/prototype.js" language="javascript"></script>
+      <script type="text/javascript" src="library/cropper/lib/scriptaculous.js?load=effects,builder,dragdrop" language="javascript"></script>
+      <script type="text/javascript" src="library/cropper/cropper.js" language="javascript"></script>
+      <script type="text/javascript" language="javascript">initCrop();</script>-->#}
diff --git a/view/theme/decaf-mobile/crophead.tpl b/view/theme/decaf-mobile/crophead.tpl
new file mode 100644 (file)
index 0000000..56e941e
--- /dev/null
@@ -0,0 +1 @@
+      <link rel="stylesheet" href="library/cropper/cropper.css" type="text/css" />
diff --git a/view/theme/decaf-mobile/default.php b/view/theme/decaf-mobile/default.php
new file mode 100644 (file)
index 0000000..ad46476
--- /dev/null
@@ -0,0 +1,44 @@
+<!DOCTYPE html >\r
+<html>\r
+<head>\r
+  <title><?php if(x($page,'title')) echo $page['title'] ?></title>\r
+  <script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>\r
+  <?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>\r
+</head>\r
+<body <?php if($a->module === 'home') echo 'onLoad="setTimeout(\'homeRedirect()\', 1500)"'?>>\r
+       <?php if(x($page,'nav')) echo $page['nav']; ?>\r
+\r
+       <?php if( $a->module === 'home' ) { ?>\r
+       <center>\r
+       <div class="login-button">\r
+       <a href="login" class="login-button-link"><img class="login-button-image" src="images/friendica-1600.png" title="Click to log in"></a>\r
+       </div>\r
+       </center>\r
+\r
+       <?php } elseif ( $a->module === 'login' || $a->module === 'register' || $a->module === 'lostpass' ) {\r
+       ?>\r
+       <div class='section-wrapper'>\r
+       <section><?php if(x($page,'content')) echo $page['content']; ?>\r
+       </section>\r
+       </div>\r
+       <footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>\r
+\r
+       <?php } else { ?>\r
+       <div class='main-container'>\r
+<!--           <div class='main-content-container'>-->\r
+               <div class='section-wrapper'>\r
+               <?php if( ($a->module === 'settings' || $a->module === 'message' || $a->module === 'profile') && x($page,'aside')) echo $page['aside']; ?>\r
+               <section><?php if(x($page,'content')) echo $page['content']; ?>\r
+                       <div id="page-footer"></div>\r
+               </section>\r
+               </div>\r
+               <right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>\r
+               <?php if( ($a->module === 'contacts') && x($page,'aside')) echo $page['aside']; ?>\r
+               <footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>\r
+<!--           </div>-->\r
+       </div>\r
+       <?php } ?>\r
+       <?php if(x($page,'end')) echo $page['end']; ?>\r
+</body>\r
+</html>\r
+\r
diff --git a/view/theme/decaf-mobile/display-head.tpl b/view/theme/decaf-mobile/display-head.tpl
new file mode 100644 (file)
index 0000000..1c99065
--- /dev/null
@@ -0,0 +1,4 @@
+{#<!--<script>
+       window.autoCompleteType = 'display-head';
+</script>
+-->#}
diff --git a/view/theme/decaf-mobile/editicons.png b/view/theme/decaf-mobile/editicons.png
new file mode 100644 (file)
index 0000000..171a408
Binary files /dev/null and b/view/theme/decaf-mobile/editicons.png differ
diff --git a/view/theme/decaf-mobile/end.tpl b/view/theme/decaf-mobile/end.tpl
new file mode 100644 (file)
index 0000000..cb3824d
--- /dev/null
@@ -0,0 +1,24 @@
+<!--[if IE]>
+<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+<![endif]-->
+{#<!--<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce.js" ></script>
+<script type="text/javascript">
+  tinyMCE.init({ mode : "none"});
+</script>-->#}
+{#<!--<script type="text/javascript" src="$baseurl/js/jquery.js" ></script>
+<script type="text/javascript">var $j = jQuery.noConflict();</script>
+<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/jquery.divgrow-1.3.1.f1.js" ></script>
+<script type="text/javascript" src="$baseurl/js/jquery.textinputs.js" ></script>
+<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/fk.autocomplete.js" ></script>-->#}
+{#<!--<script type="text/javascript" src="$baseurl/library/fancybox/jquery.fancybox-1.3.4.pack.js"></script>-->#}
+{#<!--<script type="text/javascript" src="$baseurl/library/tiptip/jquery.tipTip.minified.js"></script>-->#}
+{#<!--<script type="text/javascript" src="$baseurl/library/jgrowl/jquery.jgrowl_minimized.js"></script>
+<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/acl.js" ></script>
+<script type="text/javascript" src="$baseurl/js/webtoolkit.base64.js" ></script>
+<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/main.js" ></script>-->#}
+<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/theme.js"></script>
+
+<!--<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/jquery.package.js" ></script>
+<script type="text/javascript">var $j = jQuery.noConflict();</script>
+<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/decaf-mobile.package.js" ></script>-->
+
diff --git a/view/theme/decaf-mobile/event_end.tpl b/view/theme/decaf-mobile/event_end.tpl
new file mode 100644 (file)
index 0000000..3e4be6e
--- /dev/null
@@ -0,0 +1,4 @@
+{#<!--<script language="javascript" type="text/javascript"
+          src="$baseurl/library/fullcalendar/fullcalendar.min.js"></script>
+
+-->#}
diff --git a/view/theme/decaf-mobile/event_head.tpl b/view/theme/decaf-mobile/event_head.tpl
new file mode 100644 (file)
index 0000000..63a1135
--- /dev/null
@@ -0,0 +1,6 @@
+<link rel='stylesheet' type='text/css' href='$baseurl/library/fullcalendar/fullcalendar.css' />
+{#<!--
+<script language="javascript" type="text/javascript">
+window.aclType = 'event_head';
+</script>
+-->#}
diff --git a/view/theme/decaf-mobile/field_checkbox.tpl b/view/theme/decaf-mobile/field_checkbox.tpl
new file mode 100644 (file)
index 0000000..9fbf84e
--- /dev/null
@@ -0,0 +1,6 @@
+       
+       <div class='field checkbox' id='div_id_$field.0'>
+               <label id='label_id_$field.0' for='id_$field.0'>$field.1</label>
+               <input type="checkbox" name='$field.0' id='id_$field.0' value="1" {{ if $field.2 }}checked="checked"{{ endif }}><br />
+               <span class='field_help' id='help_id_$field.0'>$field.3</span>
+       </div>
diff --git a/view/theme/decaf-mobile/field_input.tpl b/view/theme/decaf-mobile/field_input.tpl
new file mode 100644 (file)
index 0000000..58e1740
--- /dev/null
@@ -0,0 +1,6 @@
+       
+       <div class='field input' id='wrapper_$field.0'>
+               <label for='id_$field.0'>$field.1</label><br />
+               <input name='$field.0' id='id_$field.0' value="$field.2">
+               <span class='field_help'>$field.3</span>
+       </div>
diff --git a/view/theme/decaf-mobile/field_openid.tpl b/view/theme/decaf-mobile/field_openid.tpl
new file mode 100644 (file)
index 0000000..8d330a3
--- /dev/null
@@ -0,0 +1,6 @@
+       
+       <div class='field input openid' id='wrapper_$field.0'>
+               <label for='id_$field.0'>$field.1</label><br />
+               <input name='$field.0' id='id_$field.0' value="$field.2">
+               <span class='field_help'>$field.3</span>
+       </div>
diff --git a/view/theme/decaf-mobile/field_password.tpl b/view/theme/decaf-mobile/field_password.tpl
new file mode 100644 (file)
index 0000000..7a0d3fe
--- /dev/null
@@ -0,0 +1,6 @@
+       
+       <div class='field password' id='wrapper_$field.0'>
+               <label for='id_$field.0'>$field.1</label><br />
+               <input type='password' name='$field.0' id='id_$field.0' value="$field.2">
+               <span class='field_help'>$field.3</span>
+       </div>
diff --git a/view/theme/decaf-mobile/field_themeselect.tpl b/view/theme/decaf-mobile/field_themeselect.tpl
new file mode 100644 (file)
index 0000000..5ac310f
--- /dev/null
@@ -0,0 +1,9 @@
+
+       <div class='field select'>
+               <label for='id_$field.0'>$field.1</label>
+               <select name='$field.0' id='id_$field.0' {#{{ if $field.5 }}onchange="previewTheme(this);"{{ endif }}#} >
+                       {{ for $field.4 as $opt=>$val }}<option value="$opt" {{ if $opt==$field.2 }}selected="selected"{{ endif }}>$val</option>{{ endfor }}
+               </select>
+               <span class='field_help'>$field.3</span>
+               <div id="theme-preview"></div>
+       </div>
diff --git a/view/theme/decaf-mobile/field_yesno.tpl b/view/theme/decaf-mobile/field_yesno.tpl
new file mode 100644 (file)
index 0000000..c399579
--- /dev/null
@@ -0,0 +1,14 @@
+{#<!-- <div class='field yesno'>
+               <label for='id_$field.0'>$field.1</label>
+               <div class='onoff' id="id_$field.0_onoff">
+                       <input  type="hidden" name='$field.0' id='id_$field.0' value="$field.2">
+                       <a href="#" class='off'>
+                               {{ if $field.4 }}$field.4.0{{ else }}OFF{{ endif }}
+                       </a>
+                       <a href="#" class='on'>
+                               {{ if $field.4 }}$field.4.1{{ else }}ON{{ endif }}
+                       </a>
+               </div>
+               <span class='field_help'>$field.3</span>
+       </div>-->#}
+{{ inc field_checkbox.tpl }}{{ endinc }}
diff --git a/view/theme/decaf-mobile/file.gif b/view/theme/decaf-mobile/file.gif
new file mode 100644 (file)
index 0000000..7885b99
Binary files /dev/null and b/view/theme/decaf-mobile/file.gif differ
diff --git a/view/theme/decaf-mobile/friendica-16.png b/view/theme/decaf-mobile/friendica-16.png
new file mode 100644 (file)
index 0000000..1a742ec
Binary files /dev/null and b/view/theme/decaf-mobile/friendica-16.png differ
diff --git a/view/theme/decaf-mobile/generic_links_widget.tpl b/view/theme/decaf-mobile/generic_links_widget.tpl
new file mode 100644 (file)
index 0000000..a976d45
--- /dev/null
@@ -0,0 +1,12 @@
+<div class="widget{{ if $class }} $class{{ endif }}">
+{#<!-- {{if $title}}<h3>$title</h3>{{endif}}-->#}
+       {{if $desc}}<div class="desc">$desc</div>{{endif}}
+       
+       <ul class="tabs links-widget">
+               {{ for $items as $item }}
+                       <li class="tool"><a href="$item.url" class="tab {{ if $item.selected }}selected{{ endif }}">$item.label</a></li>
+               {{ endfor }}
+               <div id="tabs-end"></div>
+       </ul>
+       
+</div>
diff --git a/view/theme/decaf-mobile/group_drop.tpl b/view/theme/decaf-mobile/group_drop.tpl
new file mode 100644 (file)
index 0000000..959b77b
--- /dev/null
@@ -0,0 +1,9 @@
+<div class="group-delete-wrapper button" id="group-delete-wrapper-$id" >
+       <a href="group/drop/$id?t=$form_security_token" 
+               onclick="return confirmDelete();" 
+               id="group-delete-icon-$id" 
+               class="icon drophide group-delete-icon" 
+               {#onmouseover="imgbright(this);" 
+               onmouseout="imgdull(this);"#} ></a>
+</div>
+<div class="group-delete-end"></div>
diff --git a/view/theme/decaf-mobile/group_side.tpl b/view/theme/decaf-mobile/group_side.tpl
new file mode 100644 (file)
index 0000000..0b45640
--- /dev/null
@@ -0,0 +1,33 @@
+<div class="widget" id="group-sidebar">
+<h3>$title</h3>
+
+<div id="sidebar-group-list">
+       <ul id="sidebar-group-ul">
+               {{ for $groups as $group }}
+                       <li class="sidebar-group-li">
+                               {{ if $group.cid }}
+                                       <input type="checkbox" 
+                                               class="{{ if $group.selected }}ticked{{ else }}unticked {{ endif }} action" 
+                                               {#onclick="contactgroupChangeMember('$group.id','$group.cid');return true;"#}
+                                               {{ if $group.ismember }}checked="checked"{{ endif }}
+                                       />
+                               {{ endif }}                     
+                               {{ if $group.edit }}
+                                       <a class="groupsideedit" href="$group.edit.href" title="$edittext"><span id="edit-sidebar-group-element-$group.id" class="group-edit-icon iconspacer small-pencil"></span></a>
+                               {{ endif }}
+                               <a id="sidebar-group-element-$group.id" class="sidebar-group-element {{ if $group.selected }}group-selected{{ endif }}" href="$group.href">$group.text</a>
+                       </li>
+               {{ endfor }}
+       </ul>
+       </div>
+  <div id="sidebar-new-group">
+  <a href="group/new">$createtext</a>
+  </div>
+  {{ if $ungrouped }}
+  <div id="sidebar-ungrouped">
+  <a href="nogroup">$ungrouped</a>
+  </div>
+  {{ endif }}
+</div>
+
+
diff --git a/view/theme/decaf-mobile/head.jpg b/view/theme/decaf-mobile/head.jpg
new file mode 100644 (file)
index 0000000..6210b76
Binary files /dev/null and b/view/theme/decaf-mobile/head.jpg differ
diff --git a/view/theme/decaf-mobile/head.tpl b/view/theme/decaf-mobile/head.tpl
new file mode 100644 (file)
index 0000000..5ad82b4
--- /dev/null
@@ -0,0 +1,29 @@
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+{#<!--<meta content='width=device-width, minimum-scale=1 maximum-scale=1' name='viewport'>
+<meta content='True' name='HandheldFriendly'>
+<meta content='320' name='MobileOptimized'>-->#}
+<meta name="viewport" content="width=device-width; initial-scale = 1.0; maximum-scale=1.0; user-scalable=no" />
+{#<!--<meta name="viewport" content="width=100%;  initial-scale=1; maximum-scale=1; minimum-scale=1; user-scalable=no;" />-->#}
+
+<base href="$baseurl/" />
+<meta name="generator" content="$generator" />
+{#<!--<link rel="stylesheet" href="$baseurl/library/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="$baseurl/library/tiptip/tipTip.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="$baseurl/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />-->#}
+
+<link rel="stylesheet" type="text/css" href="$stylesheet" media="all" />
+
+<link rel="shortcut icon" href="$baseurl/images/friendica-32.png" />
+<link rel="search"
+         href="$baseurl/opensearch" 
+         type="application/opensearchdescription+xml" 
+         title="Search in Friendica" />
+
+<script>
+       window.delItem = "$delitem";
+{#/*   window.commentEmptyText = "$comment";
+       window.showMore = "$showmore";
+       window.showFewer = "$showfewer";
+       var updateInterval = $update_interval;
+       var localUser = {{ if $local_user }}$local_user{{ else }}false{{ endif }};*/#}
+</script>
diff --git a/view/theme/decaf-mobile/images/approve-blue.png b/view/theme/decaf-mobile/images/approve-blue.png
new file mode 100644 (file)
index 0000000..a13668a
Binary files /dev/null and b/view/theme/decaf-mobile/images/approve-blue.png differ
diff --git a/view/theme/decaf-mobile/images/approve.png b/view/theme/decaf-mobile/images/approve.png
new file mode 100644 (file)
index 0000000..473c646
Binary files /dev/null and b/view/theme/decaf-mobile/images/approve.png differ
diff --git a/view/theme/decaf-mobile/images/arrow-left.png b/view/theme/decaf-mobile/images/arrow-left.png
new file mode 100644 (file)
index 0000000..a312cfa
Binary files /dev/null and b/view/theme/decaf-mobile/images/arrow-left.png differ
diff --git a/view/theme/decaf-mobile/images/arrow-right.png b/view/theme/decaf-mobile/images/arrow-right.png
new file mode 100644 (file)
index 0000000..2be9bd7
Binary files /dev/null and b/view/theme/decaf-mobile/images/arrow-right.png differ
diff --git a/view/theme/decaf-mobile/images/boldB-serif.png b/view/theme/decaf-mobile/images/boldB-serif.png
new file mode 100644 (file)
index 0000000..78ce59a
Binary files /dev/null and b/view/theme/decaf-mobile/images/boldB-serif.png differ
diff --git a/view/theme/decaf-mobile/images/camera.png b/view/theme/decaf-mobile/images/camera.png
new file mode 100644 (file)
index 0000000..aa5935b
Binary files /dev/null and b/view/theme/decaf-mobile/images/camera.png differ
diff --git a/view/theme/decaf-mobile/images/code.png b/view/theme/decaf-mobile/images/code.png
new file mode 100644 (file)
index 0000000..d490cea
Binary files /dev/null and b/view/theme/decaf-mobile/images/code.png differ
diff --git a/view/theme/decaf-mobile/images/contacts.png b/view/theme/decaf-mobile/images/contacts.png
new file mode 100644 (file)
index 0000000..e870470
Binary files /dev/null and b/view/theme/decaf-mobile/images/contacts.png differ
diff --git a/view/theme/decaf-mobile/images/disapprove-blue.png b/view/theme/decaf-mobile/images/disapprove-blue.png
new file mode 100644 (file)
index 0000000..ebbc7e4
Binary files /dev/null and b/view/theme/decaf-mobile/images/disapprove-blue.png differ
diff --git a/view/theme/decaf-mobile/images/disapprove.png b/view/theme/decaf-mobile/images/disapprove.png
new file mode 100644 (file)
index 0000000..fa58d02
Binary files /dev/null and b/view/theme/decaf-mobile/images/disapprove.png differ
diff --git a/view/theme/decaf-mobile/images/drop-blue.png b/view/theme/decaf-mobile/images/drop-blue.png
new file mode 100644 (file)
index 0000000..a8b6c53
Binary files /dev/null and b/view/theme/decaf-mobile/images/drop-blue.png differ
diff --git a/view/theme/decaf-mobile/images/drop-darkred.png b/view/theme/decaf-mobile/images/drop-darkred.png
new file mode 100644 (file)
index 0000000..9657d11
Binary files /dev/null and b/view/theme/decaf-mobile/images/drop-darkred.png differ
diff --git a/view/theme/decaf-mobile/images/drop-red.png b/view/theme/decaf-mobile/images/drop-red.png
new file mode 100644 (file)
index 0000000..91b0260
Binary files /dev/null and b/view/theme/decaf-mobile/images/drop-red.png differ
diff --git a/view/theme/decaf-mobile/images/drop.png b/view/theme/decaf-mobile/images/drop.png
new file mode 100644 (file)
index 0000000..af38adf
Binary files /dev/null and b/view/theme/decaf-mobile/images/drop.png differ
diff --git a/view/theme/decaf-mobile/images/folder-blue.png b/view/theme/decaf-mobile/images/folder-blue.png
new file mode 100644 (file)
index 0000000..6af9bbe
Binary files /dev/null and b/view/theme/decaf-mobile/images/folder-blue.png differ
diff --git a/view/theme/decaf-mobile/images/folder.png b/view/theme/decaf-mobile/images/folder.png
new file mode 100644 (file)
index 0000000..86dd210
Binary files /dev/null and b/view/theme/decaf-mobile/images/folder.png differ
diff --git a/view/theme/decaf-mobile/images/globe.png b/view/theme/decaf-mobile/images/globe.png
new file mode 100644 (file)
index 0000000..f84632b
Binary files /dev/null and b/view/theme/decaf-mobile/images/globe.png differ
diff --git a/view/theme/decaf-mobile/images/italicI-serif.png b/view/theme/decaf-mobile/images/italicI-serif.png
new file mode 100644 (file)
index 0000000..86fa40f
Binary files /dev/null and b/view/theme/decaf-mobile/images/italicI-serif.png differ
diff --git a/view/theme/decaf-mobile/images/lock.png b/view/theme/decaf-mobile/images/lock.png
new file mode 100644 (file)
index 0000000..b8b8cd2
Binary files /dev/null and b/view/theme/decaf-mobile/images/lock.png differ
diff --git a/view/theme/decaf-mobile/images/menu.png b/view/theme/decaf-mobile/images/menu.png
new file mode 100644 (file)
index 0000000..44d5285
Binary files /dev/null and b/view/theme/decaf-mobile/images/menu.png differ
diff --git a/view/theme/decaf-mobile/images/message.png b/view/theme/decaf-mobile/images/message.png
new file mode 100644 (file)
index 0000000..8f735ae
Binary files /dev/null and b/view/theme/decaf-mobile/images/message.png differ
diff --git a/view/theme/decaf-mobile/images/network.png b/view/theme/decaf-mobile/images/network.png
new file mode 100644 (file)
index 0000000..943e325
Binary files /dev/null and b/view/theme/decaf-mobile/images/network.png differ
diff --git a/view/theme/decaf-mobile/images/noglobe.png b/view/theme/decaf-mobile/images/noglobe.png
new file mode 100644 (file)
index 0000000..b5aceb6
Binary files /dev/null and b/view/theme/decaf-mobile/images/noglobe.png differ
diff --git a/view/theme/decaf-mobile/images/notifications.png b/view/theme/decaf-mobile/images/notifications.png
new file mode 100644 (file)
index 0000000..27bacc6
Binary files /dev/null and b/view/theme/decaf-mobile/images/notifications.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/LICENSE b/view/theme/decaf-mobile/images/oxygen/LICENSE
new file mode 100644 (file)
index 0000000..65c5ca8
--- /dev/null
@@ -0,0 +1,165 @@
+                   GNU LESSER GENERAL PUBLIC LICENSE
+                       Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+
+  This version of the GNU Lesser General Public License incorporates
+the terms and conditions of version 3 of the GNU General Public
+License, supplemented by the additional permissions listed below.
+
+  0. Additional Definitions.
+
+  As used herein, "this License" refers to version 3 of the GNU Lesser
+General Public License, and the "GNU GPL" refers to version 3 of the GNU
+General Public License.
+
+  "The Library" refers to a covered work governed by this License,
+other than an Application or a Combined Work as defined below.
+
+  An "Application" is any work that makes use of an interface provided
+by the Library, but which is not otherwise based on the Library.
+Defining a subclass of a class defined by the Library is deemed a mode
+of using an interface provided by the Library.
+
+  A "Combined Work" is a work produced by combining or linking an
+Application with the Library.  The particular version of the Library
+with which the Combined Work was made is also called the "Linked
+Version".
+
+  The "Minimal Corresponding Source" for a Combined Work means the
+Corresponding Source for the Combined Work, excluding any source code
+for portions of the Combined Work that, considered in isolation, are
+based on the Application, and not on the Linked Version.
+
+  The "Corresponding Application Code" for a Combined Work means the
+object code and/or source code for the Application, including any data
+and utility programs needed for reproducing the Combined Work from the
+Application, but excluding the System Libraries of the Combined Work.
+
+  1. Exception to Section 3 of the GNU GPL.
+
+  You may convey a covered work under sections 3 and 4 of this License
+without being bound by section 3 of the GNU GPL.
+
+  2. Conveying Modified Versions.
+
+  If you modify a copy of the Library, and, in your modifications, a
+facility refers to a function or data to be supplied by an Application
+that uses the facility (other than as an argument passed when the
+facility is invoked), then you may convey a copy of the modified
+version:
+
+   a) under this License, provided that you make a good faith effort to
+   ensure that, in the event an Application does not supply the
+   function or data, the facility still operates, and performs
+   whatever part of its purpose remains meaningful, or
+
+   b) under the GNU GPL, with none of the additional permissions of
+   this License applicable to that copy.
+
+  3. Object Code Incorporating Material from Library Header Files.
+
+  The object code form of an Application may incorporate material from
+a header file that is part of the Library.  You may convey such object
+code under terms of your choice, provided that, if the incorporated
+material is not limited to numerical parameters, data structure
+layouts and accessors, or small macros, inline functions and templates
+(ten or fewer lines in length), you do both of the following:
+
+   a) Give prominent notice with each copy of the object code that the
+   Library is used in it and that the Library and its use are
+   covered by this License.
+
+   b) Accompany the object code with a copy of the GNU GPL and this license
+   document.
+
+  4. Combined Works.
+
+  You may convey a Combined Work under terms of your choice that,
+taken together, effectively do not restrict modification of the
+portions of the Library contained in the Combined Work and reverse
+engineering for debugging such modifications, if you also do each of
+the following:
+
+   a) Give prominent notice with each copy of the Combined Work that
+   the Library is used in it and that the Library and its use are
+   covered by this License.
+
+   b) Accompany the Combined Work with a copy of the GNU GPL and this license
+   document.
+
+   c) For a Combined Work that displays copyright notices during
+   execution, include the copyright notice for the Library among
+   these notices, as well as a reference directing the user to the
+   copies of the GNU GPL and this license document.
+
+   d) Do one of the following:
+
+       0) Convey the Minimal Corresponding Source under the terms of this
+       License, and the Corresponding Application Code in a form
+       suitable for, and under terms that permit, the user to
+       recombine or relink the Application with a modified version of
+       the Linked Version to produce a modified Combined Work, in the
+       manner specified by section 6 of the GNU GPL for conveying
+       Corresponding Source.
+
+       1) Use a suitable shared library mechanism for linking with the
+       Library.  A suitable mechanism is one that (a) uses at run time
+       a copy of the Library already present on the user's computer
+       system, and (b) will operate properly with a modified version
+       of the Library that is interface-compatible with the Linked
+       Version.
+
+   e) Provide Installation Information, but only if you would otherwise
+   be required to provide such information under section 6 of the
+   GNU GPL, and only to the extent that such information is
+   necessary to install and execute a modified version of the
+   Combined Work produced by recombining or relinking the
+   Application with a modified version of the Linked Version. (If
+   you use option 4d0, the Installation Information must accompany
+   the Minimal Corresponding Source and Corresponding Application
+   Code. If you use option 4d1, you must provide the Installation
+   Information in the manner specified by section 6 of the GNU GPL
+   for conveying Corresponding Source.)
+
+  5. Combined Libraries.
+
+  You may place library facilities that are a work based on the
+Library side by side in a single library together with other library
+facilities that are not Applications and are not covered by this
+License, and convey such a combined library under terms of your
+choice, if you do both of the following:
+
+   a) Accompany the combined library with a copy of the same work based
+   on the Library, uncombined with any other library facilities,
+   conveyed under the terms of this License.
+
+   b) Give prominent notice with the combined library that part of it
+   is a work based on the Library, and explaining where to find the
+   accompanying uncombined form of the same work.
+
+  6. Revised Versions of the GNU Lesser General Public License.
+
+  The Free Software Foundation may publish revised and/or new versions
+of the GNU Lesser General Public License from time to time. Such new
+versions will be similar in spirit to the present version, but may
+differ in detail to address new problems or concerns.
+
+  Each version is given a distinguishing version number. If the
+Library as you received it specifies that a certain numbered version
+of the GNU Lesser General Public License "or any later version"
+applies to it, you have the option of following the terms and
+conditions either of that published version or of any later version
+published by the Free Software Foundation. If the Library as you
+received it does not specify a version number of the GNU Lesser
+General Public License, you may choose any version of the GNU Lesser
+General Public License ever published by the Free Software Foundation.
+
+  If the Library as you received it specifies that a proxy can decide
+whether future versions of the GNU Lesser General Public License shall
+apply, that proxy's public statement of acceptance of any version is
+permanent authorization for you to choose that version for the
+Library.
diff --git a/view/theme/decaf-mobile/images/oxygen/application-msword.png b/view/theme/decaf-mobile/images/oxygen/application-msword.png
new file mode 100644 (file)
index 0000000..aa5aaf3
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-msword.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-pdf.png b/view/theme/decaf-mobile/images/oxygen/application-pdf.png
new file mode 100644 (file)
index 0000000..bc954ff
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-pdf.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-vnd.ms-excel.png b/view/theme/decaf-mobile/images/oxygen/application-vnd.ms-excel.png
new file mode 100644 (file)
index 0000000..aa0d995
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-vnd.ms-excel.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-vnd.ms-powerpoint.png b/view/theme/decaf-mobile/images/oxygen/application-vnd.ms-powerpoint.png
new file mode 100644 (file)
index 0000000..022b515
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-vnd.ms-powerpoint.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-vnd.oasis.opendocument.presentation.png b/view/theme/decaf-mobile/images/oxygen/application-vnd.oasis.opendocument.presentation.png
new file mode 100644 (file)
index 0000000..cb573b5
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-vnd.oasis.opendocument.presentation.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-vnd.oasis.opendocument.spreadsheet.png b/view/theme/decaf-mobile/images/oxygen/application-vnd.oasis.opendocument.spreadsheet.png
new file mode 100644 (file)
index 0000000..6b8030e
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-vnd.oasis.opendocument.spreadsheet.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-vnd.oasis.opendocument.text.png b/view/theme/decaf-mobile/images/oxygen/application-vnd.oasis.opendocument.text.png
new file mode 100644 (file)
index 0000000..1adb56e
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-vnd.oasis.opendocument.text.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-x-bzip-compressed-tar.png b/view/theme/decaf-mobile/images/oxygen/application-x-bzip-compressed-tar.png
new file mode 100644 (file)
index 0000000..d7dd1d1
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-x-bzip-compressed-tar.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-x-compressed-tar.png b/view/theme/decaf-mobile/images/oxygen/application-x-compressed-tar.png
new file mode 100644 (file)
index 0000000..adda685
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-x-compressed-tar.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-x-deb.png b/view/theme/decaf-mobile/images/oxygen/application-x-deb.png
new file mode 100644 (file)
index 0000000..1832d3b
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-x-deb.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-x-font-otf.png b/view/theme/decaf-mobile/images/oxygen/application-x-font-otf.png
new file mode 100644 (file)
index 0000000..68fb5dd
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-x-font-otf.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-x-font-ttf.png b/view/theme/decaf-mobile/images/oxygen/application-x-font-ttf.png
new file mode 100644 (file)
index 0000000..93b92fb
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-x-font-ttf.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-x-java-archive.png b/view/theme/decaf-mobile/images/oxygen/application-x-java-archive.png
new file mode 100644 (file)
index 0000000..4883b2d
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-x-java-archive.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-x-lzma-compressed-tar.png b/view/theme/decaf-mobile/images/oxygen/application-x-lzma-compressed-tar.png
new file mode 100644 (file)
index 0000000..6092aed
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-x-lzma-compressed-tar.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-x-php.png b/view/theme/decaf-mobile/images/oxygen/application-x-php.png
new file mode 100644 (file)
index 0000000..f133c87
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-x-php.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-x-rar.png b/view/theme/decaf-mobile/images/oxygen/application-x-rar.png
new file mode 100644 (file)
index 0000000..a9b1b12
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-x-rar.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-x-rpm.png b/view/theme/decaf-mobile/images/oxygen/application-x-rpm.png
new file mode 100644 (file)
index 0000000..43149f1
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-x-rpm.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-x-ruby.png b/view/theme/decaf-mobile/images/oxygen/application-x-ruby.png
new file mode 100644 (file)
index 0000000..e640ead
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-x-ruby.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-x-shellscript.png b/view/theme/decaf-mobile/images/oxygen/application-x-shellscript.png
new file mode 100644 (file)
index 0000000..11e2754
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-x-shellscript.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-x-shockwave-flash.png b/view/theme/decaf-mobile/images/oxygen/application-x-shockwave-flash.png
new file mode 100644 (file)
index 0000000..ea9ca59
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-x-shockwave-flash.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-x-tar.png b/view/theme/decaf-mobile/images/oxygen/application-x-tar.png
new file mode 100644 (file)
index 0000000..4b7d023
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-x-tar.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-xml.png b/view/theme/decaf-mobile/images/oxygen/application-xml.png
new file mode 100644 (file)
index 0000000..58d32e4
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-xml.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/application-zip.png b/view/theme/decaf-mobile/images/oxygen/application-zip.png
new file mode 100644 (file)
index 0000000..9d349a8
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/application-zip.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/audio-aac.png b/view/theme/decaf-mobile/images/oxygen/audio-aac.png
new file mode 100644 (file)
index 0000000..a2d5177
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/audio-aac.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/audio-mp4.png b/view/theme/decaf-mobile/images/oxygen/audio-mp4.png
new file mode 100644 (file)
index 0000000..ae5fd74
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/audio-mp4.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/audio-mpeg.png b/view/theme/decaf-mobile/images/oxygen/audio-mpeg.png
new file mode 100644 (file)
index 0000000..5fe3a23
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/audio-mpeg.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/audio-x-flac.png b/view/theme/decaf-mobile/images/oxygen/audio-x-flac.png
new file mode 100644 (file)
index 0000000..f2f11e8
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/audio-x-flac.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/audio-x-generic.png b/view/theme/decaf-mobile/images/oxygen/audio-x-generic.png
new file mode 100644 (file)
index 0000000..fe7b052
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/audio-x-generic.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/audio-x-mp2.png b/view/theme/decaf-mobile/images/oxygen/audio-x-mp2.png
new file mode 100644 (file)
index 0000000..5ac7909
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/audio-x-mp2.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/audio-x-ms-wma.png b/view/theme/decaf-mobile/images/oxygen/audio-x-ms-wma.png
new file mode 100644 (file)
index 0000000..86cb3e5
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/audio-x-ms-wma.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/audio-x-vorbis+ogg.png b/view/theme/decaf-mobile/images/oxygen/audio-x-vorbis+ogg.png
new file mode 100644 (file)
index 0000000..5ac7909
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/audio-x-vorbis+ogg.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/audio-x-wav.png b/view/theme/decaf-mobile/images/oxygen/audio-x-wav.png
new file mode 100644 (file)
index 0000000..101f8fe
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/audio-x-wav.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/image-x-generic.png b/view/theme/decaf-mobile/images/oxygen/image-x-generic.png
new file mode 100644 (file)
index 0000000..d1d4e25
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/image-x-generic.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/text-css.png b/view/theme/decaf-mobile/images/oxygen/text-css.png
new file mode 100644 (file)
index 0000000..119aec5
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/text-css.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/text-html.png b/view/theme/decaf-mobile/images/oxygen/text-html.png
new file mode 100644 (file)
index 0000000..34768bf
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/text-html.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/text-x-generic-2.png b/view/theme/decaf-mobile/images/oxygen/text-x-generic-2.png
new file mode 100644 (file)
index 0000000..70be9bf
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/text-x-generic-2.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/text-x-tex.png b/view/theme/decaf-mobile/images/oxygen/text-x-tex.png
new file mode 100644 (file)
index 0000000..23d8bf7
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/text-x-tex.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/unknown.png b/view/theme/decaf-mobile/images/oxygen/unknown.png
new file mode 100644 (file)
index 0000000..eb1758a
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/unknown.png differ
diff --git a/view/theme/decaf-mobile/images/oxygen/video-x-generic.png b/view/theme/decaf-mobile/images/oxygen/video-x-generic.png
new file mode 100644 (file)
index 0000000..81fe23e
Binary files /dev/null and b/view/theme/decaf-mobile/images/oxygen/video-x-generic.png differ
diff --git a/view/theme/decaf-mobile/images/paperclip.png b/view/theme/decaf-mobile/images/paperclip.png
new file mode 100644 (file)
index 0000000..3a2ee26
Binary files /dev/null and b/view/theme/decaf-mobile/images/paperclip.png differ
diff --git a/view/theme/decaf-mobile/images/pencil-blue.png b/view/theme/decaf-mobile/images/pencil-blue.png
new file mode 100644 (file)
index 0000000..f51ddd4
Binary files /dev/null and b/view/theme/decaf-mobile/images/pencil-blue.png differ
diff --git a/view/theme/decaf-mobile/images/pencil.png b/view/theme/decaf-mobile/images/pencil.png
new file mode 100644 (file)
index 0000000..8078d30
Binary files /dev/null and b/view/theme/decaf-mobile/images/pencil.png differ
diff --git a/view/theme/decaf-mobile/images/quote.png b/view/theme/decaf-mobile/images/quote.png
new file mode 100644 (file)
index 0000000..93127c5
Binary files /dev/null and b/view/theme/decaf-mobile/images/quote.png differ
diff --git a/view/theme/decaf-mobile/images/recycle-blue.png b/view/theme/decaf-mobile/images/recycle-blue.png
new file mode 100644 (file)
index 0000000..4129f05
Binary files /dev/null and b/view/theme/decaf-mobile/images/recycle-blue.png differ
diff --git a/view/theme/decaf-mobile/images/recycle.png b/view/theme/decaf-mobile/images/recycle.png
new file mode 100644 (file)
index 0000000..e5d8e11
Binary files /dev/null and b/view/theme/decaf-mobile/images/recycle.png differ
diff --git a/view/theme/decaf-mobile/images/remote-link-blue.png b/view/theme/decaf-mobile/images/remote-link-blue.png
new file mode 100644 (file)
index 0000000..de8d21d
Binary files /dev/null and b/view/theme/decaf-mobile/images/remote-link-blue.png differ
diff --git a/view/theme/decaf-mobile/images/remote-link.png b/view/theme/decaf-mobile/images/remote-link.png
new file mode 100644 (file)
index 0000000..1f65741
Binary files /dev/null and b/view/theme/decaf-mobile/images/remote-link.png differ
diff --git a/view/theme/decaf-mobile/images/star-blue.png b/view/theme/decaf-mobile/images/star-blue.png
new file mode 100644 (file)
index 0000000..f8783fc
Binary files /dev/null and b/view/theme/decaf-mobile/images/star-blue.png differ
diff --git a/view/theme/decaf-mobile/images/star-yellow.png b/view/theme/decaf-mobile/images/star-yellow.png
new file mode 100644 (file)
index 0000000..cc2b884
Binary files /dev/null and b/view/theme/decaf-mobile/images/star-yellow.png differ
diff --git a/view/theme/decaf-mobile/images/star.png b/view/theme/decaf-mobile/images/star.png
new file mode 100644 (file)
index 0000000..f8a61a4
Binary files /dev/null and b/view/theme/decaf-mobile/images/star.png differ
diff --git a/view/theme/decaf-mobile/images/tag-blue.png b/view/theme/decaf-mobile/images/tag-blue.png
new file mode 100644 (file)
index 0000000..6e5cec8
Binary files /dev/null and b/view/theme/decaf-mobile/images/tag-blue.png differ
diff --git a/view/theme/decaf-mobile/images/tag.png b/view/theme/decaf-mobile/images/tag.png
new file mode 100644 (file)
index 0000000..9c644b8
Binary files /dev/null and b/view/theme/decaf-mobile/images/tag.png differ
diff --git a/view/theme/decaf-mobile/images/underlineU-serif.png b/view/theme/decaf-mobile/images/underlineU-serif.png
new file mode 100644 (file)
index 0000000..745ca2c
Binary files /dev/null and b/view/theme/decaf-mobile/images/underlineU-serif.png differ
diff --git a/view/theme/decaf-mobile/images/unlock.png b/view/theme/decaf-mobile/images/unlock.png
new file mode 100644 (file)
index 0000000..81d9740
Binary files /dev/null and b/view/theme/decaf-mobile/images/unlock.png differ
diff --git a/view/theme/decaf-mobile/jot-end.tpl b/view/theme/decaf-mobile/jot-end.tpl
new file mode 100644 (file)
index 0000000..59585d0
--- /dev/null
@@ -0,0 +1,5 @@
+
+<script type="text/javascript" src="$baseurl/js/ajaxupload.min.js" ></script>
+{#<!--
+<script>if(typeof window.jotInit != 'undefined') initEditor();</script>
+-->#}
diff --git a/view/theme/decaf-mobile/jot-header.tpl b/view/theme/decaf-mobile/jot-header.tpl
new file mode 100644 (file)
index 0000000..c239aee
--- /dev/null
@@ -0,0 +1,17 @@
+
+<script>
+{#/*   var none = "none"; // ugly hack: $editselect shouldn't be a string if TinyMCE is enabled, but should if it isn't
+       window.editSelect = $editselect;
+       window.isPublic = "$ispublic";
+       window.nickname = "$nickname";
+       window.linkURL = "$linkurl";
+       window.vidURL = "$vidurl";
+       window.audURL = "$audurl";
+       window.whereAreU = "$whereareu";
+       window.term = "$term";
+       window.baseURL = "$baseurl";
+       window.geoTag = function () { $geotag }*/#}
+       window.jotId = "#profile-jot-text";
+       window.imageUploadButton = 'wall-image-upload';
+</script>
+
diff --git a/view/theme/decaf-mobile/jot.tpl b/view/theme/decaf-mobile/jot.tpl
new file mode 100644 (file)
index 0000000..697a7c8
--- /dev/null
@@ -0,0 +1,99 @@
+
+<div id="profile-jot-wrapper" >
+       <div id="profile-jot-banner-wrapper">
+               <div id="profile-jot-desc" >&nbsp;</div>
+               <div id="character-counter" class="grey"></div>
+       </div>
+       <div id="profile-jot-banner-end"></div>
+
+       <form id="profile-jot-form" action="$action" method="post" >
+               <input type="hidden" name="type" value="$ptyp" />
+               <input type="hidden" name="profile_uid" value="$profile_uid" />
+               <input type="hidden" name="return" value="$return_path" />
+               <input type="hidden" name="location" id="jot-location" value="$defloc" />
+               <input type="hidden" name="coord" id="jot-coord" value="" />
+               <input type="hidden" name="post_id" value="$post_id" />
+               <input type="hidden" name="source" value="$sourceapp" />
+               <input type="hidden" name="preview" id="jot-preview" value="0" />
+               <input type="hidden" name="post_id_random" value="$rand_num" />
+               <div id="jot-title-wrap"><input name="title" id="jot-title" type="text" placeholder="$placeholdertitle" value="$title" class="jothidden" ></div>
+               {{ if $placeholdercategory }}
+               <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="$placeholdercategory" value="$category" class="jothidden" /></div>
+               {{ endif }}
+               <div id="jot-text-wrap">
+               {#<!--<img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />-->#}
+               <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" placeholder=$share >{{ if $content }}$content{{ endif }}</textarea>
+               </div>
+
+<div id="profile-jot-submit-wrapper" class="jothidden">
+       <input type="submit" id="profile-jot-submit" name="submit" value="$share" />
+
+       <div id="profile-rotator-wrapper" style="display: $visitor;" >
+               <img id="profile-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
+       </div> 
+       
+       <div id="profile-upload-wrapper" style="display: $visitor;" >
+               <div id="wall-image-upload-div" style="display: none;" ><a href="#" onclick="return false;" id="wall-image-upload" class="icon camera" title="$upload"></a></div>
+       </div> 
+       <div id="profile-attach-wrapper" style="display: $visitor;" >
+               <div id="wall-file-upload-div" style="display: none;" ><a href="#" onclick="return false;" id="wall-file-upload" class="icon attach" title="$attach"></a></div>
+       </div> 
+
+       {#<!--<div id="profile-link-wrapper" style="display: $visitor;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
+               <a id="profile-link" class="icon link" title="$weblink" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;"></a>-->#}
+       {#<!--<div id="profile-link-wrapper" style="display: $visitor;" >
+               <a id="profile-link" class="icon link" title="$weblink" onclick="jotGetLink(); return false;"></a>
+       </div> 
+       <div id="profile-video-wrapper" style="display: $visitor;" >
+               <a id="profile-video" class="icon video" title="$video" onclick="jotVideoURL();return false;"></a>
+       </div> 
+       <div id="profile-audio-wrapper" style="display: $visitor;" >
+               <a id="profile-audio" class="icon audio" title="$audio" onclick="jotAudioURL();return false;"></a>
+       </div> 
+       <div id="profile-location-wrapper" style="display: $visitor;" >
+               <a id="profile-location" class="icon globe" title="$setloc" onclick="jotGetLocation();return false;"></a>
+       </div> 
+       <div id="profile-nolocation-wrapper" style="display: none;" >
+               <a id="profile-nolocation" class="icon noglobe" title="$noloc" onclick="jotClearLocation();return false;"></a>
+       </div> -->#}
+
+       {#<!--<div id="profile-jot-perms" class="profile-jot-perms" style="display: $pvisit;" >
+               <a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate"  title="$permset" ></a>$bang
+       </div>
+
+       <span onclick="preview_post();" id="jot-preview-link" class="fakelink">$preview</span>-->#}
+
+       <div id="profile-jot-perms-end"></div>
+
+
+       <div id="profile-jot-plugin-wrapper">
+       $jotplugins
+       </div>
+
+       <div id="jot-preview-content" style="display:none;"></div>
+
+       {#<!--<div style="display: none;">-->#}
+               <div id="profile-jot-acl-wrapper">
+                       {#<!--$acl
+                       <hr style="clear:both"/>
+                       <div id="profile-jot-email-label">$emailcc</div><input type="text" name="emailcc" id="profile-jot-email" title="$emtitle" />
+                       $jotnets
+                       <div id="profile-jot-networks-end"></div>-->#}
+                       {{ if $acl_data }}
+                       {{ inc acl_html_selector.tpl }}{{ endinc }}
+                       {{ endif }}
+                       $jotnets
+               </div>
+       {#<!--</div>-->#}
+
+
+</div>
+
+<div id="profile-jot-end"></div>
+</form>
+</div>
+               {#<!--{{ if $content }}<script>window.jotInit = true;</script>{{ endif }}-->#}
+<script>
+document.getElementById('wall-image-upload-div').style.display = "inherit";
+document.getElementById('wall-file-upload-div').style.display = "inherit";
+</script>
diff --git a/view/theme/decaf-mobile/jot_geotag.tpl b/view/theme/decaf-mobile/jot_geotag.tpl
new file mode 100644 (file)
index 0000000..3f8bee9
--- /dev/null
@@ -0,0 +1,11 @@
+
+       if(navigator.geolocation) {
+               navigator.geolocation.getCurrentPosition(function(position) {
+                       var lat = position.coords.latitude.toFixed(4);
+                       var lon = position.coords.longitude.toFixed(4);
+
+                       $j('#jot-coord').val(lat + ', ' + lon);
+                       $j('#profile-nolocation-wrapper').show();
+               });
+       }
+
diff --git a/view/theme/decaf-mobile/js/theme.js b/view/theme/decaf-mobile/js/theme.js
new file mode 100644 (file)
index 0000000..cd9a17f
--- /dev/null
@@ -0,0 +1,77 @@
+// For Firefox < 3.6, which doesn't support document.readyState
+// verify that document.readyState is undefined
+// verify that document.addEventListener is there
+// these two conditions are basically telling us
+// we are using Firefox < 3.6
+/*if(document.readyState == null && document.addEventListener){
+    // on DOMContentLoaded event, supported since ages
+    document.addEventListener("DOMContentLoaded", function DOMContentLoaded(){
+        // remove the listener itself
+        document.removeEventListener("DOMContentLoaded", DOMContentLoaded, false);
+        // assign readyState as complete
+        document.readyState = "complete";
+    }, false);
+    // set readyState = loading or interactive
+    // it does not really matter for this purpose
+    document.readyState = "loading";
+}*/
+
+document.addEventListener('DOMContentLoaded', function(){
+
+       if(typeof window.AjaxUpload != "undefined") {
+               var uploader = new window.AjaxUpload(
+                       window.imageUploadButton,
+                       { action: 'wall_upload/'+window.nickname,
+                               name: 'userfile',
+                               onSubmit: function(file,ext) { $j('#profile-rotator').show(); },
+                               onComplete: function(file,response) {
+                                       var currentText = $j(window.jotId).val();
+                                       $j(window.jotId).val(currentText + response);
+                                       $j('#profile-rotator').hide();
+                               }                                
+                       }
+               );
+
+               if(document.getElementById('wall-file-upload') != null) {
+                       var file_uploader = new window.AjaxUpload(
+                               'wall-file-upload',
+                               { action: 'wall_attach/'+window.nickname,
+                                       name: 'userfile',
+                                       onSubmit: function(file,ext) { $j('#profile-rotator').show(); },
+                                       onComplete: function(file,response) {
+                                               var currentText = $j(window.jotId).val();
+                                               $j(window.jotId).val(currentText + response);
+                                               $j('#profile-rotator').hide();
+                                       }                                
+                               }
+                       );
+               }
+       }
+
+});
+
+function confirmDelete(f) {
+       response = confirm(window.delItem);
+       if(response && typeof f == 'function') {
+               f();
+       }
+       return response;
+}
+
+function changeHref(elemId, url) {
+       elem = document.getElementById(elemId);
+       elem.href = url;
+}
+
+function remove(elemId) {
+       elem = document.getElementById(elemId);
+       elem.parentNode.removeChild(elem);
+}
+
+function openClose(el) {}
+
+// It's better to separate Javascript from the HTML, but the wall_thread
+// items require more work to find since they contain the item ID in the id field
+//document.getElementById('photo-album-edit-drop').onclick = function(){return confirmDelete(function(){remove('photo-album-edit-form-confirm');});}
+//document.getElementById('photo-edit-delete-button').onclick = function(){return confirmDelete(function(){remove('photo-edit-form-confirm');});}
+
diff --git a/view/theme/decaf-mobile/lang_selector.tpl b/view/theme/decaf-mobile/lang_selector.tpl
new file mode 100644 (file)
index 0000000..e777a0a
--- /dev/null
@@ -0,0 +1,10 @@
+<div id="lang-select-icon" class="icon s22 language" title="$title" onclick="openClose('language-selector');" ></div>
+<div id="language-selector" style="display: none;" >
+       <form action="#" method="post" >
+               <select name="system_language" onchange="this.form.submit();" >
+                       {{ for $langs.0 as $v=>$l }}
+                               <option value="$v" {{if $v==$langs.1}}selected="selected"{{endif}}>$l</option>
+                       {{ endfor }}
+               </select>
+       </form>
+</div>
diff --git a/view/theme/decaf-mobile/like_noshare.tpl b/view/theme/decaf-mobile/like_noshare.tpl
new file mode 100644 (file)
index 0000000..5e74850
--- /dev/null
@@ -0,0 +1,7 @@
+<div class="wall-item-like-buttons" id="wall-item-like-buttons-$id">
+       <a href="like/$id?verb=like&return=$return_path#$item.id" class="icon like" title="$likethis" ></a>
+       {{ if $nolike }}
+       <a href="like/$id?verb=dislike&return=$return_path#$item.id" class="icon dislike" title="$nolike" ></a>
+       {{ endif }}
+       <img id="like-rotator-$id" class="like-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
+</div>
diff --git a/view/theme/decaf-mobile/lock.cur b/view/theme/decaf-mobile/lock.cur
new file mode 100644 (file)
index 0000000..892c5e8
Binary files /dev/null and b/view/theme/decaf-mobile/lock.cur differ
diff --git a/view/theme/decaf-mobile/login-bg.gif b/view/theme/decaf-mobile/login-bg.gif
new file mode 100644 (file)
index 0000000..cde836c
Binary files /dev/null and b/view/theme/decaf-mobile/login-bg.gif differ
diff --git a/view/theme/decaf-mobile/login-style.css b/view/theme/decaf-mobile/login-style.css
new file mode 100644 (file)
index 0000000..bbb60eb
--- /dev/null
@@ -0,0 +1,180 @@
+html {
+       width: 100%;
+}
+
+body {
+       font-family: helvetica,arial,freesans,clean,sans-serif;
+       font-size: 16px;
+       background-color: #ffffff;
+       color: #505050;/* ZP Change*/
+       margin: 0px;
+}
+
+a, a:visited, a:link { color: #3465a4; text-decoration: none; }
+a:hover {text-decoration: underline; }
+
+img { border :0px; }
+
+nav {
+       display: none;
+}
+
+/* popup notifications */
+div.jGrowl div.notice {
+  background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;
+  color: #ffffff;
+  padding-left: 58px;
+  margin: 0px;
+}
+div.jGrowl div.info {
+  background: #364e59 url("../../../images/icons/48/info.png") no-repeat 5px center;
+  color: #ffffff;
+  padding-left: 58px;
+  margin: 0px;
+}
+#jGrowl.top-right {
+       top: 15px;
+       right: 10px;
+}
+div.jGrowl-notification {
+  border-radius: 7px;
+}
+
+.login-button {
+       margin-top: 90px;
+       margin-left: auto;
+       margin-right: auto;
+       
+}
+
+img.login-button-image {
+       max-width: 300px;
+}
+
+div.section-wrapper {
+       position: relative;
+       width: 300px;
+       margin-left: auto;
+       margin-right: auto;
+}
+
+.login-form {
+       margin-top: 40px;
+}
+
+.field {
+       position: relative;
+       margin-bottom: 15px;
+}
+
+.field label {
+       margin-left: 25px;
+       font-weight: 700;
+       float: none;
+       width: auto;
+}
+
+.field input {
+       font-size: 18px;
+       width: 200px;
+       margin-left: 50px;
+}
+
+.field.checkbox label {
+       margin-left: auto;
+       float: auto;
+       /*margin-left: 100px;*/
+}
+.field.checkbox input {
+       width: auto;
+       margin-left: 30px;
+}
+
+#div_id_remember {
+       margin-top: 10px;
+       margin-bottom: 10px;
+}
+
+#login_openid {
+       margin-top: 50px;
+}
+
+#login_openid input {
+       background: url(login-bg.gif) no-repeat;
+       background-position: 0 50%;
+       width: 182px;
+       padding-left: 18px;
+       margin-left: 50px;
+}
+
+#login-footer {
+       margin-top: 10px;
+       text-align: center;
+}
+
+.login-extra-links, .agreement {
+       font-size: 14px;
+}
+
+#login-submit-button, #register-submit-button, #lostpass-submit-button {
+       font-size: 20px;
+       padding: 0.5em 1em;
+}
+
+#register-link {
+       margin-right: 100px;
+}
+
+.register-form {
+       margin-top: 15px;
+}
+
+.register-form h2, .lostpass-form h2 {
+       text-align: center;
+}
+
+.error-message {
+       width: 270px;
+       color: #FF0000;
+       font-size: 1.1em;
+       text-align: justify;
+       border: 1px solid #FF8888;
+       background-color: #FFEEEE;
+       padding: 10px;
+       margin-left: auto;
+       margin-right: auto;
+}
+
+.register-explain-wrapper {
+       width: 290px;
+       text-align: justify;
+       font-size: 14px;
+       margin-left: 5px;
+}
+
+#register-footer {
+       margin-top: 60px;
+       text-align: center;
+}
+
+.lostpass-form {
+       margin-top: 100px;
+}
+
+#lostpass-desc {
+       width: 290px;
+       margin-left: 5px;
+       margin-bottom: 30px;
+       text-align: justify;
+       font-size: 14px;
+}
+
+#login-submit-wrapper {
+       text-align: center;
+}
+
+footer {
+       text-align: center;
+       padding-top: 3em;
+       padding-bottom: 1em;
+}
diff --git a/view/theme/decaf-mobile/login.tpl b/view/theme/decaf-mobile/login.tpl
new file mode 100644 (file)
index 0000000..926ab76
--- /dev/null
@@ -0,0 +1,45 @@
+
+<div class="login-form">
+<form action="$dest_url" method="post" >
+       <input type="hidden" name="auth-params" value="login" />
+
+       <div id="login_standard">
+       {{ inc field_input.tpl with $field=$lname }}{{ endinc }}
+       {{ inc field_password.tpl with $field=$lpassword }}{{ endinc }}
+       </div>
+       
+       {{ if $openid }}
+                       <div id="login_openid">
+                       {{ inc field_openid.tpl with $field=$lopenid }}{{ endinc }}
+                       </div>
+       {{ endif }}
+
+       <br />
+       <div id='login-footer'>
+       {#<!--<div class="login-extra-links">
+       By signing in you agree to the latest <a href="tos.html" title="$tostitle" id="terms-of-service-link" >$toslink</a> and <a href="privacy.html" title="$privacytitle" id="privacy-link" >$privacylink</a>
+       </div>-->#}
+
+       <br />
+       {{ inc field_checkbox.tpl with $field=$lremember }}{{ endinc }}
+
+       <div id="login-submit-wrapper" >
+               <input type="submit" name="submit" id="login-submit-button" value="$login" />
+       </div>
+
+       <br /><br />
+       <div class="login-extra-links">
+               {{ if $register }}<a href="register" title="$register.title" id="register-link">$register.desc</a>{{ endif }}
+        <a href="lostpass" title="$lostpass" id="lost-password-link" >$lostlink</a>
+       </div>
+       </div>
+       
+       {{ for $hiddens as $k=>$v }}
+               <input type="hidden" name="$k" value="$v" />
+       {{ endfor }}
+       
+       
+</form>
+</div>
+
+{#<!--<script type="text/javascript">window.loginName = "$lname.0";</script>-->#}
diff --git a/view/theme/decaf-mobile/login_head.tpl b/view/theme/decaf-mobile/login_head.tpl
new file mode 100644 (file)
index 0000000..1473482
--- /dev/null
@@ -0,0 +1,2 @@
+{#<!--<link rel="stylesheet" href="$baseurl/view/theme/frost-mobile/login-style.css" type="text/css" media="all" />-->#}
+
diff --git a/view/theme/decaf-mobile/lostpass.tpl b/view/theme/decaf-mobile/lostpass.tpl
new file mode 100644 (file)
index 0000000..583e3db
--- /dev/null
@@ -0,0 +1,21 @@
+<div class="lostpass-form">
+<h2>$title</h2>
+<br /><br /><br />
+
+<form action="lostpass" method="post" >
+<div id="login-name-wrapper" class="field input">
+        <label for="login-name" id="label-login-name">$name</label><br />
+        <input type="text" maxlength="60" name="login-name" id="login-name" value="" />
+</div>
+<div id="login-extra-end"></div>
+<p id="lostpass-desc">
+$desc
+</p>
+<br />
+
+<div id="login-submit-wrapper" >
+        <input type="submit" name="submit" id="lostpass-submit-button" value="$submit" />
+</div>
+<div id="login-submit-end"></div>
+</form>
+</div>
diff --git a/view/theme/decaf-mobile/mail_conv.tpl b/view/theme/decaf-mobile/mail_conv.tpl
new file mode 100644 (file)
index 0000000..7aac837
--- /dev/null
@@ -0,0 +1,18 @@
+<div class="mail-conv-outside-wrapper">
+       <div class="mail-conv-sender" >
+               <a href="$mail.from_url" class="mail-conv-sender-url" ><img class="mframe mail-conv-sender-photo$mail.sparkle" src="$mail.from_photo" heigth="80" width="80" alt="$mail.from_name" /></a>
+       </div>
+       <div class="mail-conv-detail" >
+               <div class="mail-conv-sender-name" >$mail.from_name</div>
+               <div class="mail-conv-date">$mail.date</div>
+               <div class="mail-conv-subject">$mail.subject</div>
+       </div>
+       <div class="mail-conv-body">$mail.body</div>
+</div>
+<div class="mail-conv-outside-wrapper-end"></div>
+
+
+<div class="mail-conv-delete-wrapper" id="mail-conv-delete-wrapper-$mail.id" ><a href="message/drop/$mail.id?confirm=1" class="icon drophide delete-icon mail-list-delete-icon" onclick="id=this.id;return confirmDelete(function(){changeHref(id, 'message/drop/$mail.id')});" title="$mail.delete" id="mail-conv-delete-icon-$mail.id" class="mail-conv-delete-icon" {#onmouseover="imgbright(this);" onmouseout="imgdull(this);#}" ></a></div>
+<div class="mail-conv-delete-end"></div>
+
+<hr class="mail-conv-break" />
diff --git a/view/theme/decaf-mobile/mail_list.tpl b/view/theme/decaf-mobile/mail_list.tpl
new file mode 100644 (file)
index 0000000..74274a2
--- /dev/null
@@ -0,0 +1,16 @@
+<div class="mail-list-outside-wrapper">
+       <div class="mail-list-sender" >
+               <a href="$from_url" class="mail-list-sender-url" ><img class="mail-list-sender-photo$sparkle" src="$from_photo" height="80" width="80" alt="$from_name" /></a>
+       </div>
+       <div class="mail-list-detail">
+               <div class="mail-list-sender-name" >$from_name</div>
+               <div class="mail-list-date">$date</div>
+               <div class="mail-list-subject"><a href="message/$id" class="mail-list-link">$subject</a></div>
+       <div class="mail-list-delete-wrapper" id="mail-list-delete-wrapper-$id" >
+               <a href="message/dropconv/$id?confirm=1" onclick="id=this.id;return confirmDelete(function(){changeHref(id, 'message/dropconv/$id')});"  title="$delete" class="icon drophide mail-list-delete  delete-icon" id="mail-list-delete-$id" {#onmouseover="imgbright(this);" onmouseout="imgdull(this);"#} ></a>
+       </div>
+</div>
+</div>
+<div class="mail-list-delete-end"></div>
+
+<div class="mail-list-outside-wrapper-end"></div>
diff --git a/view/theme/decaf-mobile/manage.tpl b/view/theme/decaf-mobile/manage.tpl
new file mode 100644 (file)
index 0000000..fec30db
--- /dev/null
@@ -0,0 +1,18 @@
+<h3>$title</h3>
+<div id="identity-manage-desc">$desc</div>
+<div id="identity-manage-choose">$choose</div>
+<div id="identity-selector-wrapper">
+       <form action="manage" method="post" >
+       <select name="identity" size="4" onchange="this.form.submit();" >
+
+       {{ for $identities as $id }}
+               <option $id.selected value="$id.uid">$id.username ($id.nickname)</option>
+       {{ endfor }}
+
+       </select>
+       <div id="identity-select-break"></div>
+
+       {# name="submit" interferes with this.form.submit() #}
+       <input id="identity-submit" type="submit" {#name="submit"#} value="$submit" />
+</div></form>
+
diff --git a/view/theme/decaf-mobile/message-end.tpl b/view/theme/decaf-mobile/message-end.tpl
new file mode 100644 (file)
index 0000000..fea5963
--- /dev/null
@@ -0,0 +1,4 @@
+{#<!--
+<script src="$baseurl/library/jquery_ac/friendica.complete.min.js" ></script>
+
+-->#}
diff --git a/view/theme/decaf-mobile/message-head.tpl b/view/theme/decaf-mobile/message-head.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/theme/decaf-mobile/mobile b/view/theme/decaf-mobile/mobile
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/theme/decaf-mobile/msg-end.tpl b/view/theme/decaf-mobile/msg-end.tpl
new file mode 100644 (file)
index 0000000..6074133
--- /dev/null
@@ -0,0 +1,2 @@
+<script type="text/javascript" src="$baseurl/js/ajaxupload.min.js" ></script>
+
diff --git a/view/theme/decaf-mobile/msg-header.tpl b/view/theme/decaf-mobile/msg-header.tpl
new file mode 100644 (file)
index 0000000..9ccf5d6
--- /dev/null
@@ -0,0 +1,10 @@
+
+<script language="javascript" type="text/javascript">
+{#/*   window.nickname = "$nickname";
+       window.linkURL = "$linkurl";
+       var plaintext = "none";
+       window.autocompleteType = 'msg-header';*/#}
+       window.jotId = "#prvmail-text";
+       window.imageUploadButton = 'prvmail-upload';
+</script>
+
diff --git a/view/theme/decaf-mobile/nav.tpl b/view/theme/decaf-mobile/nav.tpl
new file mode 100644 (file)
index 0000000..45b7bee
--- /dev/null
@@ -0,0 +1,155 @@
+<nav>
+{#<!-- $langselector -->#}
+
+{#<!-- <div id="site-location">$sitelocation</div> -->#}
+
+       <span id="nav-link-wrapper" >
+
+{#<!-- <a id="system-menu-link" class="nav-link" href="#system-menu" title="Menu">Menu</a>-->#}
+       <div class="nav-button-container">
+{#<!-- <a class="system-menu-link nav-link" href="#system-menu" title="Menu">-->#}
+       <a href="$nav.navigation.0" title="$nav.navigation.3" >
+       <img rel="#system-menu-list" class="nav-link" src="view/theme/decaf-mobile/images/menu.png">
+       </a>
+{#<!-- </a>-->#}
+       {#<!--<ul id="system-menu-list" class="nav-menu-list">
+               {{ if $nav.login }}
+               <a id="nav-login-link" class="nav-load-page-link $nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a>
+               {{ endif }}
+
+               {{ if $nav.register }}
+               <a id="nav-register-link" class="nav-load-page-link $nav.register.2 $sel.register" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a>
+               {{ endif }}
+
+               {{ if $nav.settings }}
+               <li><a id="nav-settings-link" class="$nav.settings.2 nav-load-page-link" href="$nav.settings.0" title="$nav.settings.3">$nav.settings.1</a></li>
+               {{ endif }}
+
+               {{ if $nav.manage }}
+               <li>
+               <a id="nav-manage-link" class="nav-load-page-link $nav.manage.2 $sel.manage" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a>
+               </li>
+               {{ endif }}
+
+               {{ if $nav.profiles }}
+               <li><a id="nav-profiles-link" class="$nav.profiles.2 nav-load-page-link" href="$nav.profiles.0" title="$nav.profiles.3" >$nav.profiles.1</a></li>
+               {{ endif }}
+
+               {{ if $nav.admin }}
+               <li><a id="nav-admin-link" class="$nav.admin.2 nav-load-page-link" href="$nav.admin.0" title="$nav.admin.3" >$nav.admin.1</a></li>
+               {{ endif }}
+
+               <li><a id="nav-search-link" class="$nav.search.2 nav-load-page-link" href="$nav.search.0" title="$nav.search.3" >$nav.search.1</a></li>
+
+               {{ if $nav.apps }}
+               <li><a id="nav-apps-link" class="$nav.apps.2 nav-load-page-link" href="$nav.apps.0" title="$nav.apps.3" >$nav.apps.1</a></li>
+               {{ endif }}
+
+               {{ if $nav.help }}
+               <li><a id="nav-help-link" class="$nav.help.2 nav-load-page-link" target="friendica-help" href="$nav.help.0" title="$nav.help.3" >$nav.help.1</a></li>
+               {{ endif }}
+               
+               {{ if $nav.logout }}
+               <li><a id="nav-logout-link" class="$nav.logout.2" href="$nav.logout.0" title="$nav.logout.3" >$nav.logout.1</a></li>
+               {{ endif }}
+       </ul>-->#}
+       </div>
+
+       {{ if $nav.notifications }}
+{#<!-- <a id="nav-notifications-linkmenu" class="nav-link" href="$nav.notifications.0" rel="#nav-notifications-menu" title="$nav.notifications.1">$nav.notifications.1</a>-->#}
+       <div class="nav-button-container">
+{#<!-- <a id="nav-notifications-linkmenu" class="nav-link" href="$nav.notifications.0" rel="#nav-notifications-menu" title="$nav.notifications.1">-->#}
+       <a href="$nav.notifications.all.0">
+       <img rel="#nav-notifications-menu" class="nav-link" src="view/theme/decaf-mobile/images/notifications.png">
+       </a>
+{#<!-- </a>-->#}
+       {#<!--<span id="notify-update" class="nav-ajax-left"></span>
+       <ul id="nav-notifications-menu" class="notifications-menu-popup">
+               <li id="nav-notifications-see-all"><a href="$nav.notifications.all.0">$nav.notifications.all.1</a></li>
+               <li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">$nav.notifications.mark.1</a></li>
+               <li class="empty">$emptynotifications</li>
+       </ul>-->#}
+       </div>
+       {{ endif }}             
+
+{#<!-- <a id="contacts-menu-link" class="nav-link" href="#contacts-menu" title="Contacts">Contacts</a>-->#}
+       {{ if $nav.contacts }}
+       <div class="nav-button-container">
+{#<!-- <a class="contacts-menu-link nav-link" href="#contacts-menu" title="Contacts">-->#}
+       <a id="nav-contacts-link" class="$nav.contacts.2 nav-load-page-link" href="$nav.contacts.0" title="$nav.contacts.3" >
+       <img rel="#contacts-menu-list"  class="nav-link" src="view/theme/decaf-mobile/images/contacts.png">
+       </a>
+       {#<!--</a>-->#}
+       {{ if $nav.introductions }}
+       <span id="intro-update" class="nav-ajax-left"></span>
+       {{ endif }}
+       {#<!--<ul id="contacts-menu-list" class="nav-menu-list">
+               {{ if $nav.contacts }}
+               <li><a id="nav-contacts-link" class="$nav.contacts.2 nav-load-page-link" href="$nav.contacts.0" title="$nav.contacts.3" >$nav.contacts.1</a><li>
+               {{ endif }}
+
+               <li><a id="nav-directory-link" class="$nav.directory.2 nav-load-page-link" href="$nav.directory.0" title="$nav.directory.3" >$nav.directory.1</a><li>
+
+               {{ if $nav.introductions }}
+               <li>
+               <a id="nav-notify-link" class="$nav.introductions.2 $sel.introductions nav-load-page-link" href="$nav.introductions.0" title="$nav.introductions.3" >$nav.introductions.1</a>
+               </li>
+               {{ endif }}
+       </ul>-->#}
+       </div>
+       {{ endif }}
+
+       {{ if $nav.messages }}
+{#<!-- <a id="nav-messages-link" class="nav-link $nav.messages.2 $sel.messages nav-load-page-link" href="$nav.messages.0" title="$nav.messages.3" >$nav.messages.1</a>-->#}
+       <div class="nav-button-container">
+       <a id="nav-messages-link" class="$nav.messages.2 $sel.messages nav-load-page-link" href="$nav.messages.0" title="$nav.messages.3" >
+       <img src="view/theme/decaf-mobile/images/message.png" class="nav-link">
+       </a>
+       <span id="mail-update" class="nav-ajax-left"></span>
+       </div>
+       {{ endif }}
+
+{#<!-- <a id="network-menu-link" class="nav-link" href="#network-menu" title="Network">Network</a>-->#}
+       {{ if $nav.network }}
+       <div class="nav-button-container">
+{#<!-- <a class="network-menu-link nav-link" href="#network-menu" title="Network">-->#}
+       <a id="nav-network-link" class="$nav.network.2 $sel.network nav-load-page-link" href="/" >
+       <img rel="#network-menu-list" class="nav-link" src="view/theme/decaf-mobile/images/network.png">
+       </a>
+{#<!-- </a>-->#}
+       <span id="net-update" class="nav-ajax-left"></span>
+       </div>
+       {{ endif }}
+<!--   <ul id="network-menu-list" class="nav-menu-list">
+               {{ if $nav.network }}
+               <li>
+               <a id="nav-network-link" class="$nav.network.2 $sel.network nav-load-page-link" href="$nav.network.0" title="$nav.network.3" >$nav.network.1</a>
+               </li>
+               {{ endif }}
+
+               {{ if $nav.network }}
+               <li>
+               <a class="nav-menu-icon network-reset-link nav-link" href="$nav.net_reset.0" title="$nav.net_reset.3">$nav.net_reset.1</a>
+               </li>
+               {{ endif }}
+
+               {{ if $nav.home }}
+               <li><a id="nav-home-link" class="$nav.home.2 $sel.home nav-load-page-link" href="$nav.home.0" title="$nav.home.3" >$nav.home.1</a></li>
+               {{ endif }}
+
+               {{ if $nav.community }}
+               <li>
+               <a id="nav-community-link" class="$nav.community.2 $sel.community nav-load-page-link" href="$nav.community.0" title="$nav.community.3" >$nav.community.1</a>
+               </li>
+               {{ endif }}
+       </ul>
+       </div>-->
+
+       </span>
+       {#<!--<span id="nav-end"></span>-->#}
+       <span id="banner">$banner</span>
+</nav>
+
+{#<!--<ul id="nav-notifications-template" style="display:none;" rel="template">
+       <li class="{4}"><a href="{0}"><img data-src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
+</ul>-->#}
diff --git a/view/theme/decaf-mobile/photo_drop.tpl b/view/theme/decaf-mobile/photo_drop.tpl
new file mode 100644 (file)
index 0000000..296b829
--- /dev/null
@@ -0,0 +1,4 @@
+<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$id" >
+       <a href="item/drop/$id?confirm=1" onclick="return confirmDelete(function(){this.href='item/drop/$id'});" class="icon drophide" title="$delete" {#onmouseover="imgbright(this);" onmouseout="imgdull(this);"#} ></a>
+</div>
+<div class="wall-item-delete-end"></div>
diff --git a/view/theme/decaf-mobile/photo_edit.tpl b/view/theme/decaf-mobile/photo_edit.tpl
new file mode 100644 (file)
index 0000000..5bfa37c
--- /dev/null
@@ -0,0 +1,60 @@
+
+<form action="photos/$nickname/$resource_id" method="post" id="photo_edit_form" >
+
+       <input type="hidden" name="item_id" value="$item_id" />
+       <input id="photo-edit-form-confirm" type="hidden" name="confirm" value="1" />
+
+       <div class="photo-edit-input-text">
+       <label id="photo-edit-albumname-label" for="photo-edit-albumname">$newalbum</label>
+       <input id="photo-edit-albumname" type="text" size="32" name="albname" value="$album" />
+       </div>
+
+       <div id="photo-edit-albumname-end"></div>
+
+       <div class="photo-edit-input-text">
+       <label id="photo-edit-caption-label" for="photo-edit-caption">$capt_label</label>
+       <input id="photo-edit-caption" type="text" size="32" name="desc" value="$caption" />
+       </div>
+
+       <div id="photo-edit-caption-end"></div>
+
+       <div class="photo-edit-input-text">
+       <label id="photo-edit-tags-label" for="photo-edit-newtag" >$tag_label</label>
+       <input name="newtag" id="photo-edit-newtag" size="32" title="$help_tags" type="text" />
+       </div>
+
+       <div id="photo-edit-tags-end"></div>
+
+       <div class="photo-edit-rotate-choice">
+       <label id="photo-edit-rotate-cw-label" for="photo-edit-rotate-cw">$rotatecw</label>
+       <input id="photo-edit-rotate-cw" class="photo-edit-rotate" type="radio" name="rotate" value="1" /><br />
+       </div>
+
+       <div class="photo-edit-rotate-choice">
+       <label id="photo-edit-rotate-ccw-label" for="photo-edit-rotate-ccw">$rotateccw</label>
+       <input id="photo-edit-rotate-ccw" class="photo-edit-rotate" type="radio" name="rotate" value="2" />
+       </div>
+       <div id="photo-edit-rotate-end"></div>
+
+       <div id="photo-edit-perms" class="photo-edit-perms" >
+               {#<!--<a href="#photo-edit-perms-select" id="photo-edit-perms-menu" class="popupbox button" title="$permissions"/>
+                       <span id="jot-perms-icon" class="icon $lockstate photo-perms-icon" ></span><div class="photo-jot-perms-text">$permissions</div>
+               </a>
+               <div id="photo-edit-perms-menu-end"></div>
+               
+               <div style="display: none;">-->#}
+                       <div id="photo-edit-perms-select" >
+                               {#<!--$aclselect-->#}
+                               {{ inc acl_html_selector.tpl }}{{ endinc }}
+                       </div>
+               {#<!--</div>-->#}
+       </div>
+       <div id="photo-edit-perms-end"></div>
+
+       <input id="photo-edit-submit-button" type="submit" name="submit" value="$submit" />
+       <input id="photo-edit-delete-button" type="submit" name="delete" value="$delete" onclick="return confirmDelete(function(){remove('photo-edit-form-confirm');});" />
+
+       <div id="photo-edit-end"></div>
+</form>
+
+
diff --git a/view/theme/decaf-mobile/photo_edit_head.tpl b/view/theme/decaf-mobile/photo_edit_head.tpl
new file mode 100644 (file)
index 0000000..c819e24
--- /dev/null
@@ -0,0 +1,7 @@
+{#<!--
+<script>
+       window.prevLink = "$prevlink";
+       window.nextLink = "$nextlink";
+       window.photoEdit = true;
+
+</script>-->#}
diff --git a/view/theme/decaf-mobile/photo_view.tpl b/view/theme/decaf-mobile/photo_view.tpl
new file mode 100644 (file)
index 0000000..329e0a4
--- /dev/null
@@ -0,0 +1,42 @@
+<div id="live-display"></div>
+<h3><a href="$album.0">$album.1</a></h3>
+
+<div id="photo-edit-link-wrap">
+{{ if $tools }}
+<a id="photo-edit-link" href="$tools.edit.0">$tools.edit.1</a>
+|
+<a id="photo-toprofile-link" href="$tools.profile.0">$tools.profile.1</a>
+{{ endif }}
+{{ if $lock }} | <img src="images/lock_icon.gif" class="lockview" alt="$lock" {#onclick="lockview(event,'photo/$id');"#} /> {{ endif }}
+</div>
+
+<div id="photo-nav">
+       {{ if $prevlink }}<div id="photo-prev-link"><a href="$prevlink.0"><img src="view/theme/decaf-mobile/images/arrow-left.png"></a></div>{{ endif }}
+       {{ if $nextlink }}<div id="photo-next-link"><a href="$nextlink.0"><img src="view/theme/decaf-mobile/images/arrow-right.png"></a></div>{{ endif }}
+</div>
+<div id="photo-photo"><a href="$photo.href" title="$photo.title"><img src="$photo.src" /></a></div>
+<div id="photo-photo-end"></div>
+<div id="photo-caption">$desc</div>
+{{ if $tags }}
+<div id="in-this-photo-text">$tags.0</div>
+<div id="in-this-photo">$tags.1</div>
+{{ endif }}
+{{ if $tags.2 }}<div id="tag-remove"><a href="$tags.2">$tags.3</a></div>{{ endif }}
+
+{{ if $edit }}
+$edit
+{{ else }}
+
+{{ if $likebuttons }}
+<div id="photo-like-div">
+       $likebuttons
+       $like
+       $dislike        
+</div>
+{{ endif }}
+
+$comments
+
+$paginate
+{{ endif }}
+
diff --git a/view/theme/decaf-mobile/photos_head.tpl b/view/theme/decaf-mobile/photos_head.tpl
new file mode 100644 (file)
index 0000000..5c13a0a
--- /dev/null
@@ -0,0 +1,5 @@
+{#<!--
+<script>
+       window.isPublic = "$ispublic";
+</script>
+-->#}
diff --git a/view/theme/decaf-mobile/photos_upload.tpl b/view/theme/decaf-mobile/photos_upload.tpl
new file mode 100644 (file)
index 0000000..31ad468
--- /dev/null
@@ -0,0 +1,51 @@
+<h3>$pagename</h3>
+
+<div id="photos-usage-message">$usage</div>
+
+<form action="photos/$nickname" enctype="multipart/form-data" method="post" name="photos-upload-form" id="photos-upload-form" >
+       <div id="photos-upload-new-wrapper" >
+               <div id="photos-upload-newalbum-div">
+                       <label id="photos-upload-newalbum-text" for="photos-upload-newalbum" >$newalbum</label>
+               </div>
+               <input id="photos-upload-newalbum" type="text" name="newalbum" />
+       </div>
+       <div id="photos-upload-new-end"></div>
+       <div id="photos-upload-exist-wrapper">
+               <div id="photos-upload-existing-album-text">$existalbumtext</div>
+               <select id="photos-upload-album-select" name="album">
+               $albumselect
+               </select>
+       </div>
+       <div id="photos-upload-exist-end"></div>
+
+       $default_upload_box
+
+       <div id="photos-upload-noshare-div" class="photos-upload-noshare-div" >
+               <input id="photos-upload-noshare" type="checkbox" name="not_visible" value="1" checked />
+               <label id="photos-upload-noshare-text" for="photos-upload-noshare" >$nosharetext</label>
+       </div>
+
+
+       {#<!--<div id="photos-upload-perms" class="photos-upload-perms" >
+               <a href="#photos-upload-permissions-wrapper" id="photos-upload-perms-menu" class="button popupbox" />
+               <span id="jot-perms-icon" class="icon $lockstate" ></span>$permissions
+               </a>
+       </div>
+       <div id="photos-upload-perms-end"></div>
+
+       <div style="display: none;">-->#}
+               <div id="photos-upload-permissions-wrapper">
+                       {#<!--$aclselect-->#}
+                       {{ inc acl_html_selector.tpl }}{{ endinc }}
+               </div>
+       {#<!--</div>-->#}
+
+       <div id="photos-upload-spacer"></div>
+
+       $alt_uploader
+
+       $default_upload_submit
+
+       <div class="photos-upload-end" ></div>
+</form>
+
diff --git a/view/theme/decaf-mobile/profed_end.tpl b/view/theme/decaf-mobile/profed_end.tpl
new file mode 100644 (file)
index 0000000..ff56fda
--- /dev/null
@@ -0,0 +1,8 @@
+{#<!--
+<script type="text/javascript" src="js/country.min.js" ></script>
+
+<script language="javascript" type="text/javascript">
+       Fill_Country('$country_name');
+       Fill_States('$region');
+</script>
+-->#}
diff --git a/view/theme/decaf-mobile/profed_head.tpl b/view/theme/decaf-mobile/profed_head.tpl
new file mode 100644 (file)
index 0000000..02fd46a
--- /dev/null
@@ -0,0 +1,5 @@
+{#<!--
+<script language="javascript" type="text/javascript">
+       window.editSelect = "none";
+</script>
+-->#}
diff --git a/view/theme/decaf-mobile/profile_edit.tpl b/view/theme/decaf-mobile/profile_edit.tpl
new file mode 100644 (file)
index 0000000..bed1de3
--- /dev/null
@@ -0,0 +1,324 @@
+$default
+
+<h1>$banner</h1>
+
+<div id="profile-edit-links">
+<ul>
+<li><a href="profile/$profile_id/view?tab=profile" id="profile-edit-view-link" title="$viewprof">$viewprof</a></li>
+<li><a href="$profile_clone_link" id="profile-edit-clone-link" title="$cr_prof">$cl_prof</a></li>
+<li></li>
+<li><a href="$profile_drop_link" id="profile-edit-drop-link" title="$del_prof" $disabled >$del_prof</a></li>
+
+</ul>
+</div>
+
+<div id="profile-edit-links-end"></div>
+
+
+<div id="profile-edit-wrapper" >
+<form id="profile-edit-form" name="form1" action="profiles/$profile_id" method="post" >
+<input type='hidden' name='form_security_token' value='$form_security_token'>
+
+<div id="profile-edit-profile-name-wrapper" >
+<label id="profile-edit-profile-name-label" for="profile-edit-profile-name" >$lbl_profname </label>
+<input type="text" size="28" name="profile_name" id="profile-edit-profile-name" value="$profile_name" /><div class="required">*</div>
+</div>
+<div id="profile-edit-profile-name-end"></div>
+
+<div id="profile-edit-name-wrapper" >
+<label id="profile-edit-name-label" for="profile-edit-name" >$lbl_fullname </label>
+<input type="text" size="28" name="name" id="profile-edit-name" value="$name" />
+</div>
+<div id="profile-edit-name-end"></div>
+
+<div id="profile-edit-pdesc-wrapper" >
+<label id="profile-edit-pdesc-label" for="profile-edit-pdesc" >$lbl_title </label>
+<input type="text" size="28" name="pdesc" id="profile-edit-pdesc" value="$pdesc" />
+</div>
+<div id="profile-edit-pdesc-end"></div>
+
+
+<div id="profile-edit-gender-wrapper" >
+<label id="profile-edit-gender-label" for="gender-select" >$lbl_gender </label>
+$gender
+</div>
+<div id="profile-edit-gender-end"></div>
+
+<div id="profile-edit-dob-wrapper" >
+<label id="profile-edit-dob-label" for="dob-select" >$lbl_bd </label>
+<div id="profile-edit-dob" >
+$dob $age
+</div>
+</div>
+<div id="profile-edit-dob-end"></div>
+
+$hide_friends
+
+<div class="profile-edit-submit-wrapper" >
+<input type="submit" name="submit" class="profile-edit-submit-button" value="$submit" />
+</div>
+<div class="profile-edit-submit-end"></div>
+
+
+<div id="profile-edit-address-wrapper" >
+<label id="profile-edit-address-label" for="profile-edit-address" >$lbl_address </label>
+<input type="text" size="28" name="address" id="profile-edit-address" value="$address" />
+</div>
+<div id="profile-edit-address-end"></div>
+
+<div id="profile-edit-locality-wrapper" >
+<label id="profile-edit-locality-label" for="profile-edit-locality" >$lbl_city </label>
+<input type="text" size="28" name="locality" id="profile-edit-locality" value="$locality" />
+</div>
+<div id="profile-edit-locality-end"></div>
+
+
+<div id="profile-edit-postal-code-wrapper" >
+<label id="profile-edit-postal-code-label" for="profile-edit-postal-code" >$lbl_zip </label>
+<input type="text" size="28" name="postal_code" id="profile-edit-postal-code" value="$postal_code" />
+</div>
+<div id="profile-edit-postal-code-end"></div>
+
+<div id="profile-edit-country-name-wrapper" >
+<label id="profile-edit-country-name-label" for="profile-edit-country-name" >$lbl_country </label>
+<input type="text" size="28" name="country_name" id="profile-edit-country-name" value="$country_name" />
+{#<!--<select name="country_name" id="profile-edit-country-name" onChange="Fill_States('$region');">
+<option selected="selected" >$country_name</option>
+<option>temp</option>
+</select>-->#}
+</div>
+<div id="profile-edit-country-name-end"></div>
+
+<div id="profile-edit-region-wrapper" >
+<label id="profile-edit-region-label" for="profile-edit-region" >$lbl_region </label>
+<input type="text" size="28" name="region" id="profile-edit-region" value="$region" />
+{#<!--<select name="region" id="profile-edit-region" onChange="Update_Globals();" >
+<option selected="selected" >$region</option>
+<option>temp</option>
+</select>-->#}
+</div>
+<div id="profile-edit-region-end"></div>
+
+<div id="profile-edit-hometown-wrapper" >
+<label id="profile-edit-hometown-label" for="profile-edit-hometown" >$lbl_hometown </label>
+<input type="text" size="28" name="hometown" id="profile-edit-hometown" value="$hometown" />
+</div>
+<div id="profile-edit-hometown-end"></div>
+
+<div class="profile-edit-submit-wrapper" >
+<input type="submit" name="submit" class="profile-edit-submit-button" value="$submit" />
+</div>
+<div class="profile-edit-submit-end"></div>
+
+<div id="profile-edit-marital-wrapper" >
+<label id="profile-edit-marital-label" for="profile-edit-marital" >$lbl_marital </label>
+$marital
+</div>
+<label id="profile-edit-with-label" for="profile-edit-with" > $lbl_with </label>
+<input type="text" size="28" name="with" id="profile-edit-with" title="$lbl_ex1" value="$with" />
+<label id="profile-edit-howlong-label" for="profile-edit-howlong" > $lbl_howlong </label>
+<input type="text" size="28" name="howlong" id="profile-edit-howlong" title="$lbl_howlong" value="$howlong" />
+
+<div id="profile-edit-marital-end"></div>
+
+<div id="profile-edit-sexual-wrapper" >
+<label id="profile-edit-sexual-label" for="sexual-select" >$lbl_sexual </label>
+$sexual
+</div>
+<div id="profile-edit-sexual-end"></div>
+
+
+
+<div id="profile-edit-homepage-wrapper" >
+<label id="profile-edit-homepage-label" for="profile-edit-homepage" >$lbl_homepage </label>
+<input type="text" size="28" name="homepage" id="profile-edit-homepage" value="$homepage" />
+</div>
+<div id="profile-edit-homepage-end"></div>
+
+<div id="profile-edit-politic-wrapper" >
+<label id="profile-edit-politic-label" for="profile-edit-politic" >$lbl_politic </label>
+<input type="text" size="28" name="politic" id="profile-edit-politic" value="$politic" />
+</div>
+<div id="profile-edit-politic-end"></div>
+
+<div id="profile-edit-religion-wrapper" >
+<label id="profile-edit-religion-label" for="profile-edit-religion" >$lbl_religion </label>
+<input type="text" size="28" name="religion" id="profile-edit-religion" value="$religion" />
+</div>
+<div id="profile-edit-religion-end"></div>
+
+<div id="profile-edit-pubkeywords-wrapper" >
+<label id="profile-edit-pubkeywords-label" for="profile-edit-pubkeywords" >$lbl_pubkey </label>
+<input type="text" size="28" name="pub_keywords" id="profile-edit-pubkeywords" title="$lbl_ex2" value="$pub_keywords" />
+</div><div id="profile-edit-pubkeywords-desc">$lbl_pubdsc</div>
+<div id="profile-edit-pubkeywords-end"></div>
+
+<div id="profile-edit-prvkeywords-wrapper" >
+<label id="profile-edit-prvkeywords-label" for="profile-edit-prvkeywords" >$lbl_prvkey </label>
+<input type="text" size="28" name="prv_keywords" id="profile-edit-prvkeywords" title="$lbl_ex2" value="$prv_keywords" />
+</div><div id="profile-edit-prvkeywords-desc">$lbl_prvdsc</div>
+<div id="profile-edit-prvkeywords-end"></div>
+
+
+<div class="profile-edit-submit-wrapper" >
+<input type="submit" name="submit" class="profile-edit-submit-button" value="$submit" />
+</div>
+<div class="profile-edit-submit-end"></div>
+
+<div id="about-jot-wrapper" class="profile-jot-box">
+<p id="about-jot-desc" >
+$lbl_about
+</p>
+
+<textarea rows="10" cols="30" id="profile-about-text" class="profile-edit-textarea" name="about" >$about</textarea>
+
+</div>
+<div id="about-jot-end"></div>
+
+
+<div id="interest-jot-wrapper" class="profile-jot-box" >
+<p id="interest-jot-desc" >
+$lbl_hobbies
+</p>
+
+<textarea rows="10" cols="30" id="interest-jot-text" class="profile-edit-textarea" name="interest" >$interest</textarea>
+
+</div>
+<div id="interest-jot-end"></div>
+
+
+<div id="likes-jot-wrapper" class="profile-jot-box" >
+<p id="likes-jot-desc" >
+$lbl_likes
+</p>
+
+<textarea rows="10" cols="30" id="likes-jot-text" class="profile-edit-textarea" name="likes" >$likes</textarea>
+
+</div>
+<div id="likes-jot-end"></div>
+
+
+<div id="dislikes-jot-wrapper" class="profile-jot-box" >
+<p id="dislikes-jot-desc" >
+$lbl_dislikes
+</p>
+
+<textarea rows="10" cols="30" id="dislikes-jot-text" class="profile-edit-textarea" name="dislikes" >$dislikes</textarea>
+
+</div>
+<div id="dislikes-jot-end"></div>
+
+
+<div id="contact-jot-wrapper" class="profile-jot-box" >
+<p id="contact-jot-desc" >
+$lbl_social
+</p>
+
+<textarea rows="10" cols="30" id="contact-jot-text" class="profile-edit-textarea" name="contact" >$contact</textarea>
+
+</div>
+<div id="contact-jot-end"></div>
+
+
+<div class="profile-edit-submit-wrapper" >
+<input type="submit" name="submit" class="profile-edit-submit-button" value="$submit" />
+</div>
+<div class="profile-edit-submit-end"></div>
+
+
+<div id="music-jot-wrapper" class="profile-jot-box" >
+<p id="music-jot-desc" >
+$lbl_music
+</p>
+
+<textarea rows="10" cols="30" id="music-jot-text" class="profile-edit-textarea" name="music" >$music</textarea>
+
+</div>
+<div id="music-jot-end"></div>
+
+<div id="book-jot-wrapper" class="profile-jot-box" >
+<p id="book-jot-desc" >
+$lbl_book
+</p>
+
+<textarea rows="10" cols="30" id="book-jot-text" class="profile-edit-textarea" name="book" >$book</textarea>
+
+</div>
+<div id="book-jot-end"></div>
+
+
+
+<div id="tv-jot-wrapper" class="profile-jot-box" >
+<p id="tv-jot-desc" >
+$lbl_tv 
+</p>
+
+<textarea rows="10" cols="30" id="tv-jot-text" class="profile-edit-textarea" name="tv" >$tv</textarea>
+
+</div>
+<div id="tv-jot-end"></div>
+
+
+
+<div id="film-jot-wrapper" class="profile-jot-box" >
+<p id="film-jot-desc" >
+$lbl_film
+</p>
+
+<textarea rows="10" cols="30" id="film-jot-text" class="profile-edit-textarea" name="film" >$film</textarea>
+
+</div>
+<div id="film-jot-end"></div>
+
+
+<div class="profile-edit-submit-wrapper" >
+<input type="submit" name="submit" class="profile-edit-submit-button" value="$submit" />
+</div>
+<div class="profile-edit-submit-end"></div>
+
+
+<div id="romance-jot-wrapper" class="profile-jot-box" >
+<p id="romance-jot-desc" >
+$lbl_love
+</p>
+
+<textarea rows="10" cols="30" id="romance-jot-text" class="profile-edit-textarea" name="romance" >$romance</textarea>
+
+</div>
+<div id="romance-jot-end"></div>
+
+
+
+<div id="work-jot-wrapper" class="profile-jot-box" >
+<p id="work-jot-desc" >
+$lbl_work
+</p>
+
+<textarea rows="10" cols="30" id="work-jot-text" class="profile-edit-textarea" name="work" >$work</textarea>
+
+</div>
+<div id="work-jot-end"></div>
+
+
+
+<div id="education-jot-wrapper" class="profile-jot-box" >
+<p id="education-jot-desc" >
+$lbl_school 
+</p>
+
+<textarea rows="10" cols="30" id="education-jot-text" class="profile-edit-textarea" name="education" >$education</textarea>
+
+</div>
+<div id="education-jot-end"></div>
+
+
+
+<div class="profile-edit-submit-wrapper" >
+<input type="submit" name="submit" class="profile-edit-submit-button" value="$submit" />
+</div>
+<div class="profile-edit-submit-end"></div>
+
+
+</form>
+</div>
+
diff --git a/view/theme/decaf-mobile/profile_photo.tpl b/view/theme/decaf-mobile/profile_photo.tpl
new file mode 100644 (file)
index 0000000..42fc139
--- /dev/null
@@ -0,0 +1,19 @@
+<h1>$title</h1>
+
+<form enctype="multipart/form-data" action="profile_photo" method="post">
+<input type='hidden' name='form_security_token' value='$form_security_token'>
+
+<div id="profile-photo-upload-wrapper">
+<label id="profile-photo-upload-label" for="profile-photo-upload">$lbl_upfile </label>
+<input name="userfile" type="file" id="profile-photo-upload" size="25" />
+</div>
+
+<div id="profile-photo-submit-wrapper">
+<input type="submit" name="submit" id="profile-photo-submit" value="$submit">
+</div>
+
+</form>
+
+<div id="profile-photo-link-select-wrapper">
+$select
+</div>
diff --git a/view/theme/decaf-mobile/profile_vcard.tpl b/view/theme/decaf-mobile/profile_vcard.tpl
new file mode 100644 (file)
index 0000000..e91e612
--- /dev/null
@@ -0,0 +1,51 @@
+<div class="vcard">
+
+       <div class="fn label">$profile.name</div>
+       
+                               
+       
+       {{ if $pdesc }}<div class="title">$profile.pdesc</div>{{ endif }}
+       <div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="$profile.photo?rev=$profile.picdate" alt="$profile.name"></div>
+
+
+
+       {{ if $location }}
+               <dl class="location"><dt class="location-label">$location</dt> 
+               <dd class="adr">
+                       {{ if $profile.address }}<div class="street-address">$profile.address</div>{{ endif }}
+                       <span class="city-state-zip">
+                               <span class="locality">$profile.locality</span>{{ if $profile.locality }}, {{ endif }}
+                               <span class="region">$profile.region</span>
+                               <span class="postal-code">$profile.postal_code</span>
+                       </span>
+                       {{ if $profile.country_name }}<span class="country-name">$profile.country_name</span>{{ endif }}
+               </dd>
+               </dl>
+       {{ endif }}
+
+       {{ if $gender }}<dl class="mf"><dt class="gender-label">$gender</dt> <dd class="x-gender">$profile.gender</dd></dl>{{ endif }}
+       
+       {{ if $profile.pubkey }}<div class="key" style="display:none;">$profile.pubkey</div>{{ endif }}
+
+       {{ if $marital }}<dl class="marital"><dt class="marital-label"><span class="heart">&hearts;</span>$marital</dt><dd class="marital-text">$profile.marital</dd></dl>{{ endif }}
+
+       {{ if $homepage }}<dl class="homepage"><dt class="homepage-label">$homepage</dt><dd class="homepage-url"><a href="$profile.homepage" target="external-link">$profile.homepage</a></dd></dl>{{ endif }}
+
+       {{ inc diaspora_vcard.tpl }}{{ endinc }}
+
+       <div id="profile-vcard-break"></div>    
+       <div id="profile-extra-links">
+               <ul>
+                       {{ if $connect }}
+                               <li><a id="dfrn-request-link" href="dfrn_request/$profile.nickname">$connect</a></li>
+                       {{ endif }}
+                       {{ if $wallmessage }}
+                               <li><a id="wallmessage-link" href="wallmessage/$profile.nickname">$wallmessage</a></li>
+                       {{ endif }}
+               </ul>
+       </div>
+</div>
+
+$contact_block
+
+
diff --git a/view/theme/decaf-mobile/prv_message.tpl b/view/theme/decaf-mobile/prv_message.tpl
new file mode 100644 (file)
index 0000000..5d99252
--- /dev/null
@@ -0,0 +1,43 @@
+
+<h3>$header</h3>
+
+<div id="prvmail-wrapper" >
+<form id="prvmail-form" action="message" method="post" >
+
+$parent
+
+<div id="prvmail-to-label">$to</div>
+
+{{ if $showinputs }}
+<input type="text" id="recip" name="messageto" value="$prefill" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="$preid">
+{{ else }}
+$select
+{{ endif }}
+
+<div id="prvmail-subject-label">$subject</div>
+<input type="text" size="28" maxlength="255" id="prvmail-subject" name="subject" value="$subjtxt" $readonly tabindex="11" />
+
+<div id="prvmail-message-label">$yourmessage</div>
+<textarea rows="8" cols="32" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$text</textarea>
+
+
+<div id="prvmail-submit-wrapper" >
+       <input type="submit" id="prvmail-submit" name="submit" value="$submit" tabindex="13" />
+       <div id="prvmail-upload-wrapper"  style="display: none;">
+               <div id="prvmail-upload" class="icon border camera" title="$upload" ></div>
+       </div> 
+       {#<!--<div id="prvmail-link-wrapper" >
+               <div id="prvmail-link" class="icon border link" title="$insert" onclick="jotGetLink();" ></div>
+       </div>-->#} 
+       <div id="prvmail-rotator-wrapper" >
+               <img id="prvmail-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
+       </div> 
+</div>
+<div id="prvmail-end"></div>
+</form>
+</div>
+
+<script>
+document.getElementById('prvmail-upload-wrapper').style.display = "inherit";
+</script>
diff --git a/view/theme/decaf-mobile/register.tpl b/view/theme/decaf-mobile/register.tpl
new file mode 100644 (file)
index 0000000..b1f3904
--- /dev/null
@@ -0,0 +1,80 @@
+<div class='register-form'>
+<h2>$regtitle</h2>
+<br />
+
+<form action="register" method="post" id="register-form">
+
+       <input type="hidden" name="photo" value="$photo" />
+
+       $registertext
+
+       <p id="register-realpeople">$realpeople</p>
+
+       <br />
+{{ if $oidlabel }}
+       <div id="register-openid-wrapper" >
+       <label for="register-openid" id="label-register-openid" >$oidlabel</label><input        type="text" maxlength="60" size="32" name="openid_url" class="openid" id="register-openid" value="$openid" >
+       </div>
+       <div id="register-openid-end" ></div>
+{{ endif }}
+
+       <div class="register-explain-wrapper">
+       <p id="register-fill-desc">$fillwith $fillext</p>
+       </div>
+
+       <br /><br />
+
+{{ if $invitations }}
+
+       <p id="register-invite-desc">$invite_desc</p>
+       <div id="register-invite-wrapper" >
+               <label for="register-invite" id="label-register-invite" >$invite_label</label>
+               <input type="text" maxlength="60" size="32" name="invite_id" id="register-invite" value="$invite_id" >
+       </div>
+       <div id="register-name-end" ></div>
+
+{{ endif }}
+
+
+       <div id="register-name-wrapper" class="field input" >
+               <label for="register-name" id="label-register-name" >$namelabel</label><br />
+               <input type="text" maxlength="60" size="32" name="username" id="register-name" value="$username" >
+       </div>
+       <div id="register-name-end" ></div>
+
+
+       <div id="register-email-wrapper"  class="field input" >
+               <label for="register-email" id="label-register-email" >$addrlabel</label><br />
+               <input type="text" maxlength="60" size="32" name="email" id="register-email" value="$email" >
+       </div>
+       <div id="register-email-end" ></div>
+
+       <div id="register-nickname-wrapper" class="field input" >
+               <label for="register-nickname" id="label-register-nickname" >$nicklabel</label><br />
+               <input type="text" maxlength="60" size="32" name="nickname" id="register-nickname" value="$nickname" >
+       </div>
+       <div id="register-nickname-end" ></div>
+
+       <div class="register-explain-wrapper">
+       <p id="register-nickname-desc" >$nickdesc</p>
+       </div>
+
+       $publish
+
+       <div id="register-footer">
+       {#<!--<div class="agreement">
+       By clicking '$regbutt' you are agreeing to the latest <a href="tos.html" title="$tostitle" id="terms-of-service-link" >$toslink</a> and <a href="privacy.html" title="$privacytitle" id="privacy-link" >$privacylink</a>
+       </div>-->#}
+       <br />
+
+       <div id="register-submit-wrapper">
+               <input type="submit" name="submit" id="register-submit-button" value="$regbutt" />
+       </div>
+       <div id="register-submit-end" ></div>
+       </div>
+</form>
+<br /><br /><br />
+
+$license
+
+</div>
diff --git a/view/theme/decaf-mobile/screenshot.jpg b/view/theme/decaf-mobile/screenshot.jpg
new file mode 100644 (file)
index 0000000..1b18c3a
Binary files /dev/null and b/view/theme/decaf-mobile/screenshot.jpg differ
diff --git a/view/theme/decaf-mobile/search_item.tpl b/view/theme/decaf-mobile/search_item.tpl
new file mode 100644 (file)
index 0000000..3e14b64
--- /dev/null
@@ -0,0 +1,64 @@
+<a name="$item.id" ></a>
+{#<!--<div class="wall-item-outside-wrapper $item.indent$item.previewing" 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-info" id="wall-item-info-$item.id">
+                       {#<!--<div class="wall-item-photo-wrapper" 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-wrapper" id="wall-item-wrapper-$item.id" >
+                               {{ if $item.lock }}{#<!--<div class="wall-item-lock">-->#}<img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="$item.lock" {#onclick="lockview(event,$item.id);" #}/>{#<!--</div>-->#}
+                               {{ else }}<div class="wall-item-lock"></div>{{ endif }} 
+                               <div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div>
+                       </div>
+               </div>
+               {#<!--<div class="wall-item-author">-->#}
+                               <a href="$item.profile_url" target="redir" 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" title="$item.localtime">$item.ago</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>
+                       {{ if $item.has_cats }}
+                       <div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name{{ if $cat.removeurl }} <a href="$cat.removeurl" title="$remove">[$remove]</a>{{ endif }} {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+                       </div>
+                       {{ endif }}
+
+                       {{ if $item.has_folders }}
+                       <div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name{{ if $cat.removeurl }} <a href="$cat.removeurl" title="$remove">[$remove]</a>{{ endif }}{{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+                       </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?confirm=1" onclick="id=this.id;return confirmDelete(function(){changeHref(id, 'item/drop/$item.id')});" class="wall-item-delete-wrapper icon drophide" title="$item.drop.delete" id="wall-item-delete-wrapper-$item.id" {#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>
+       {#<!--<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-outside-wrapper-end $item.indent" ></div>-->#}
+
+{#<!--</div>-->#}
+
+
diff --git a/view/theme/decaf-mobile/settings-head.tpl b/view/theme/decaf-mobile/settings-head.tpl
new file mode 100644 (file)
index 0000000..5c13a0a
--- /dev/null
@@ -0,0 +1,5 @@
+{#<!--
+<script>
+       window.isPublic = "$ispublic";
+</script>
+-->#}
diff --git a/view/theme/decaf-mobile/settings.tpl b/view/theme/decaf-mobile/settings.tpl
new file mode 100644 (file)
index 0000000..3ab464b
--- /dev/null
@@ -0,0 +1,148 @@
+<h1>$ptitle</h1>
+
+$nickname_block
+
+<form action="settings" id="settings-form" method="post" autocomplete="off" >
+<input type='hidden' name='form_security_token' value='$form_security_token'>
+
+<h3 class="settings-heading">$h_pass</h3>
+
+{{inc field_password.tpl with $field=$password1 }}{{endinc}}
+{{inc field_password.tpl with $field=$password2 }}{{endinc}}
+
+{{ if $oid_enable }}
+{{inc field_input.tpl with $field=$openid }}{{endinc}}
+{{ endif }}
+
+<div class="settings-submit-wrapper" >
+<input type="submit" name="submit" class="settings-submit" value="$submit" />
+</div>
+
+
+<h3 class="settings-heading">$h_basic</h3>
+
+{{inc field_input.tpl with $field=$username }}{{endinc}}
+{{inc field_input.tpl with $field=$email }}{{endinc}}
+{{inc field_custom.tpl with $field=$timezone }}{{endinc}}
+{{inc field_input.tpl with $field=$defloc }}{{endinc}}
+{{inc field_checkbox.tpl with $field=$allowloc }}{{endinc}}
+
+
+<div class="settings-submit-wrapper" >
+<input type="submit" name="submit" class="settings-submit" value="$submit" />
+</div>
+
+
+<h3 class="settings-heading">$h_prv</h3>
+
+
+<input type="hidden" name="visibility" value="$visibility" />
+
+{{inc field_input.tpl with $field=$maxreq }}{{endinc}}
+
+$profile_in_dir
+
+$profile_in_net_dir
+
+$hide_friends
+
+$hide_wall
+
+$blockwall
+
+$blocktags
+
+$suggestme
+
+$unkmail
+
+
+{{inc field_input.tpl with $field=$cntunkmail }}{{endinc}}
+
+{{inc field_input.tpl with $field=$expire.days }}{{endinc}}
+
+
+<div class="field input">
+       <span class="field_help"><a href="#advanced-expire-popup" id="advanced-expire" class='popupbox' title="$expire.advanced">$expire.label</a></span>
+       <div style="display: none;">
+               <div id="advanced-expire-popup" style="width:auto;height:auto;overflow:auto;">
+                       <h3>$expire.advanced</h3>
+                       {{ inc field_yesno.tpl with $field=$expire.items }}{{endinc}}
+                       {{ inc field_yesno.tpl with $field=$expire.notes }}{{endinc}}
+                       {{ inc field_yesno.tpl with $field=$expire.starred }}{{endinc}}
+                       {{ inc field_yesno.tpl with $field=$expire.network_only }}{{endinc}}
+               </div>
+       </div>
+
+</div>
+
+
+<div id="settings-perms-wrapper" class="field">
+<label for="settings-default-perms">$settings_perms</label><br/>
+<div id="settings-default-perms" class="settings-default-perms" >
+{#<!-- <a href="#settings-jot-acl-wrapper" id="settings-default-perms-menu" class='popupbox'>$permissions $permdesc</a>
+       <div id="settings-default-perms-menu-end"></div>
+
+       <div id="settings-default-perms-select" style="display: none; margin-bottom: 20px" >
+       
+       <div style="display: none;">-->#}
+               <div id="settings-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;margin-bottom: 20px">
+                       {#<!--$aclselect-->#}
+                       {{ inc acl_html_selector.tpl }}{{ endinc }}
+               </div>
+{#<!-- </div>
+
+       </div>-->#}
+</div>
+</div>
+<br/>
+<div id="settings-default-perms-end"></div>
+
+$group_select
+
+
+<div class="settings-submit-wrapper" >
+<input type="submit" name="submit" class="settings-submit" value="$submit" />
+</div>
+
+
+
+<h3 class="settings-heading">$h_not</h3>
+<div id="settings-notifications">
+
+<div id="settings-activity-desc">$activity_options</div>
+
+{{inc field_checkbox.tpl with $field=$post_newfriend }}{{endinc}}
+{{inc field_checkbox.tpl with $field=$post_joingroup }}{{endinc}}
+{{inc field_checkbox.tpl with $field=$post_profilechange }}{{endinc}}
+
+
+<div id="settings-notify-desc">$lbl_not</div>
+
+<div class="group">
+{{inc field_intcheckbox.tpl with $field=$notify1 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify2 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify3 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify4 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify5 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify6 }}{{endinc}}
+{{inc field_intcheckbox.tpl with $field=$notify7 }}{{endinc}}
+</div>
+
+</div>
+
+<div class="settings-submit-wrapper" >
+<input type="submit" name="submit" class="settings-submit" value="$submit" />
+</div>
+
+
+<h3 class="settings-heading">$h_advn</h3>
+<div id="settings-pagetype-desc">$h_descadvn</div>
+
+$pagetype
+
+<div class="settings-submit-wrapper" >
+<input type="submit" name="submit" class="settings-submit" value="$submit" />
+</div>
+
+
diff --git a/view/theme/decaf-mobile/settings_display_end.tpl b/view/theme/decaf-mobile/settings_display_end.tpl
new file mode 100644 (file)
index 0000000..739c43b
--- /dev/null
@@ -0,0 +1,2 @@
+       <script>$j(function(){ previewTheme($j("#id_$theme.0")[0]); });</script>
+
diff --git a/view/theme/decaf-mobile/smarty3/acl_html_selector.tpl b/view/theme/decaf-mobile/smarty3/acl_html_selector.tpl
new file mode 100644 (file)
index 0000000..05e82f2
--- /dev/null
@@ -0,0 +1,34 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<a name="acl-wrapper-target"></a>
+<div id="acl-wrapper">
+       <div id="acl-public-switch">
+               <a href="{{$return_path}}#acl-wrapper-target" {{if $is_private == 1}}class="acl-public-switch-selected"{{/if}} >{{$private}}</a>
+               <a href="{{$return_path}}{{$public_link}}#acl-wrapper-target" {{if $is_private == 0}}class="acl-public-switch-selected"{{/if}} >{{$public}}</a>
+       </div>
+       <div id="acl-list">
+               <div id="acl-list-content">
+                       <div id="acl-html-groups" class="acl-html-select-wrapper">
+                       {{$group_perms}}<br />
+                       <select name="group_allow[]" multiple {{if $is_private == 0}}disabled{{/if}} id="acl-html-group-select" class="acl-html-select" size=7>
+                               {{foreach $acl_data.groups as $group}}
+                               <option value="{{$group.id}}" {{if $is_private == 1}}{{if $group.selected}}selected{{/if}}{{/if}}>{{$group.name}}</option>
+                               {{/foreach}}
+                       </select>
+                       </div>
+                       <div id="acl-html-contacts" class="acl-html-select-wrapper">
+                       {{$contact_perms}}<br />
+                       <select name="contact_allow[]" multiple {{if $is_private == 0}}disabled{{/if}} id="acl-html-contact-select" class="acl-html-select" size=7>
+                               {{foreach $acl_data.contacts as $contact}}
+                               <option value="{{$contact.id}}" {{if $is_private == 1}}{{if $contact.selected}}selected{{/if}}{{/if}}>{{$contact.name}} ({{$contact.networkName}})</option>
+                               {{/foreach}}
+                       </select>
+                       </div>
+               </div>
+       </div>
+       <span id="acl-fields"></span>
+</div>
+
diff --git a/view/theme/decaf-mobile/smarty3/acl_selector.tpl b/view/theme/decaf-mobile/smarty3/acl_selector.tpl
new file mode 100644 (file)
index 0000000..49f22ef
--- /dev/null
@@ -0,0 +1,28 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div id="acl-wrapper">
+       <input id="acl-search">
+       <a href="#" id="acl-showall">{{$showall}}</a>
+       <div id="acl-list">
+               <div id="acl-list-content">
+               </div>
+       </div>
+       <span id="acl-fields"></span>
+</div>
+
+<div class="acl-list-item" rel="acl-template" style="display:none">
+       <img data-src="{0}"><p>{1}{7}</p>
+       <a href="#" class='acl-button-show'>{{$show}}</a>
+       <a href="#" class='acl-button-hide'>{{$hide}}</a>
+</div>
+
+{{*<!--<script>
+       window.allowCID = {{$allowcid}};
+       window.allowGID = {{$allowgid}};
+       window.denyCID = {{$denycid}};
+       window.denyGID = {{$denygid}};
+       window.aclInit = "true";
+</script>-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/admin_aside.tpl b/view/theme/decaf-mobile/smarty3/admin_aside.tpl
new file mode 100644 (file)
index 0000000..024d619
--- /dev/null
@@ -0,0 +1,36 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+
+<h4><a href="{{$admurl}}">{{$admtxt}}</a></h4>
+<ul class='admin linklist'>
+       <li class='admin button {{$admin.site.2}}'><a href='{{$admin.site.0}}'>{{$admin.site.1}}</a></li>
+       <li class='admin button {{$admin.users.2}}'><a href='{{$admin.users.0}}'>{{$admin.users.1}}</a><span id='pending-update' title='{{$h_pending}}'></span></li>
+       <li class='admin button {{$admin.plugins.2}}'><a href='{{$admin.plugins.0}}'>{{$admin.plugins.1}}</a></li>
+       <li class='admin button {{$admin.themes.2}}'><a href='{{$admin.themes.0}}'>{{$admin.themes.1}}</a></li>
+       <li class='admin button {{$admin.dbsync.2}}'><a href='{{$admin.dbsync.0}}'>{{$admin.dbsync.1}}</a></li>
+</ul>
+
+{{if $admin.update}}
+<ul class='admin linklist'>
+       <li class='admin button {{$admin.update.2}}'><a href='{{$admin.update.0}}'>{{$admin.update.1}}</a></li>
+       <li class='admin button {{$admin.update.2}}'><a href='https://kakste.com/profile/inthegit'>Important Changes</a></li>
+</ul>
+{{/if}}
+
+
+{{if $admin.plugins_admin}}<h4>{{$plugadmtxt}}</h4>{{/if}}
+<ul class='admin linklist'>
+       {{foreach $admin.plugins_admin as $l}}
+       <li class='admin button {{$l.2}}'><a href='{{$l.0}}'>{{$l.1}}</a></li>
+       {{/foreach}}
+</ul>
+       
+       
+<h4>{{$logtxt}}</h4>
+<ul class='admin linklist'>
+       <li class='admin button {{$admin.logs.2}}'><a href='{{$admin.logs.0}}'>{{$admin.logs.1}}</a></li>
+</ul>
+
diff --git a/view/theme/decaf-mobile/smarty3/admin_site.tpl b/view/theme/decaf-mobile/smarty3/admin_site.tpl
new file mode 100644 (file)
index 0000000..27773da
--- /dev/null
@@ -0,0 +1,66 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+
+<div id='adminpage'>
+       <h1>{{$title}} - {{$page}}</h1>
+       
+       <form action="{{$baseurl}}/admin/site" method="post">
+    <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+
+       {{include file="field_input.tpl" field=$sitename}}
+       {{include file="field_textarea.tpl" field=$banner}}
+       {{include file="field_select.tpl" field=$language}}
+       {{include file="field_select.tpl" field=$theme}}
+       {{include file="field_select.tpl" field=$theme_mobile}}
+       {{include file="field_select.tpl" field=$ssl_policy}}
+       
+       <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
+       
+       <h3>{{$registration}}</h3>
+       {{include file="field_input.tpl" field=$register_text}}
+       {{include file="field_select.tpl" field=$register_policy}}
+       
+       {{include file="field_checkbox.tpl" field=$no_multi_reg}}
+       {{include file="field_checkbox.tpl" field=$no_openid}}
+       {{include file="field_checkbox.tpl" field=$no_regfullname}}
+       
+       <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
+
+       <h3>{{$upload}}</h3>
+       {{include file="field_input.tpl" field=$maximagesize}}
+       {{include file="field_input.tpl" field=$maximagelength}}
+       {{include file="field_input.tpl" field=$jpegimagequality}}
+       
+       <h3>{{$corporate}}</h3>
+       {{include file="field_input.tpl" field=$allowed_sites}}
+       {{include file="field_input.tpl" field=$allowed_email}}
+       {{include file="field_checkbox.tpl" field=$block_public}}
+       {{include file="field_checkbox.tpl" field=$force_publish}}
+       {{include file="field_checkbox.tpl" field=$no_community_page}}
+       {{include file="field_checkbox.tpl" field=$ostatus_disabled}}
+       {{include file="field_checkbox.tpl" field=$diaspora_enabled}}
+       {{include file="field_checkbox.tpl" field=$dfrn_only}}
+       {{include file="field_input.tpl" field=$global_directory}}
+       {{include file="field_checkbox.tpl" field=$thread_allow}}
+       {{include file="field_checkbox.tpl" field=$newuser_private}}
+       
+       <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
+       
+       <h3>{{$advanced}}</h3>
+       {{include file="field_checkbox.tpl" field=$no_utf}}
+       {{include file="field_checkbox.tpl" field=$verifyssl}}
+       {{include file="field_input.tpl" field=$proxy}}
+       {{include file="field_input.tpl" field=$proxyuser}}
+       {{include file="field_input.tpl" field=$timeout}}
+       {{include file="field_input.tpl" field=$delivery_interval}}
+       {{include file="field_input.tpl" field=$poll_interval}}
+       {{include file="field_input.tpl" field=$maxloadavg}}
+       {{include file="field_input.tpl" field=$abandon_days}}
+       
+       <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
+       
+       </form>
+</div>
diff --git a/view/theme/decaf-mobile/smarty3/admin_users.tpl b/view/theme/decaf-mobile/smarty3/admin_users.tpl
new file mode 100644 (file)
index 0000000..886b67d
--- /dev/null
@@ -0,0 +1,103 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<script>
+       function confirm_delete(uname){
+               return confirm( "{{$confirm_delete}}".format(uname));
+       }
+       function confirm_delete_multi(){
+               return confirm("{{$confirm_delete_multi}}");
+       }
+       {{*/*function selectall(cls){
+               $j("."+cls).attr('checked','checked');
+               return false;
+       }*/*}}
+</script>
+<div id='adminpage'>
+       <h1>{{$title}} - {{$page}}</h1>
+       
+       <form action="{{$baseurl}}/admin/users" method="post">
+        <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+               
+               <h3>{{$h_pending}}</h3>
+               {{if $pending}}
+                       <table id='pending'>
+                               <thead>
+                               <tr>
+                                       {{foreach $th_pending as $th}}<th>{{$th}}</th>{{/foreach}}
+                                       <th></th>
+                                       <th></th>
+                               </tr>
+                               </thead>
+                               <tbody>
+                       {{foreach $pending as $u}}
+                               <tr>
+                                       <td class="created">{{$u.created}}</td>
+                                       <td class="name">{{$u.name}}</td>
+                                       <td class="email">{{$u.email}}</td>
+                                       <td class="checkbox"><input type="checkbox" class="pending_ckbx" id="id_pending_{{$u.hash}}" name="pending[]" value="{{$u.hash}}" /></td>
+                                       <td class="tools">
+                                               <a href="{{$baseurl}}/regmod/allow/{{$u.hash}}" title='{{$approve}}'><span class='tool like'></span></a>
+                                               <a href="{{$baseurl}}/regmod/deny/{{$u.hash}}" title='{{$deny}}'><span class='tool dislike'></span></a>
+                                       </td>
+                               </tr>
+                       {{/foreach}}
+                               </tbody>
+                       </table>
+                       {{*<!--<div class='selectall'><a href='#' onclick="return selectall('pending_ckbx');">{{$select_all}}</a></div>-->*}}
+                       <div class="submit"><input type="submit" name="page_users_deny" value="{{$deny}}"/> <input type="submit" name="page_users_approve" value="{{$approve}}" /></div>                        
+               {{else}}
+                       <p>{{$no_pending}}</p>
+               {{/if}}
+       
+       
+               
+       
+               <h3>{{$h_users}}</h3>
+               {{if $users}}
+                       <table id='users'>
+                               <thead>
+                               <tr>
+                                       <th></th>
+                                       {{foreach $th_users as $th}}<th>{{$th}}</th>{{/foreach}}
+                                       <th></th>
+                                       <th></th>
+                               </tr>
+                               </thead>
+                               <tbody>
+                               {{foreach $users as $u}}
+                                       <tr>
+                                               <td><img src="{{$u.micro}}" alt="{{$u.nickname}}" title="{{$u.nickname}}"></td>
+                                               <td class='name'><a href="{{$u.url}}" title="{{$u.nickname}}" >{{$u.name}}</a></td>
+                                               <td class='email'>{{$u.email}}</td>
+                                               <td class='register_date'>{{$u.register_date}}</td>
+                                               <td class='login_date'>{{$u.login_date}}</td>
+                                               <td class='lastitem_date'>{{$u.lastitem_date}}</td>
+                                               <td class='login_date'>{{$u.page_flags}} {{if $u.is_admin}}({{$siteadmin}}){{/if}}</td>
+                                               <td class="checkbox"> 
+                                    {{if $u.is_admin}}
+                                        &nbsp;
+                                    {{else}}
+                                        <input type="checkbox" class="users_ckbx" id="id_user_{{$u.uid}}" name="user[]" value="{{$u.uid}}"/></td>
+                                    {{/if}}
+                                               <td class="tools">
+                                    {{if $u.is_admin}}
+                                        &nbsp;
+                                    {{else}}
+                                        <a href="{{$baseurl}}/admin/users/block/{{$u.uid}}?t={{$form_security_token}}" title='{{if $u.blocked}}{{$unblock}}{{else}}{{$block}}{{/if}}'><span class='icon block {{if $u.blocked==0}}dim{{/if}}'></span></a>
+                                        <a href="{{$baseurl}}/admin/users/delete/{{$u.uid}}?t={{$form_security_token}}" title='{{$delete}}' onclick="return confirm_delete('{{$u.name}}')"><span class='icon drop'></span></a>
+                                    {{/if}}
+                                               </td>
+                                       </tr>
+                               {{/foreach}}
+                               </tbody>
+                       </table>
+                       {{*<!--<div class='selectall'><a href='#' onclick="return selectall('users_ckbx');">{{$select_all}}</a></div>-->*}}
+                       <div class="submit"><input type="submit" name="page_users_block" value="{{$block}}/{{$unblock}}" /> <input type="submit" name="page_users_delete" value="{{$delete}}" onclick="return confirm_delete_multi()" /></div>                                          
+               {{else}}
+                       NO USERS?!?
+               {{/if}}
+       </form>
+</div>
diff --git a/view/theme/decaf-mobile/smarty3/album_edit.tpl b/view/theme/decaf-mobile/smarty3/album_edit.tpl
new file mode 100644 (file)
index 0000000..094da70
--- /dev/null
@@ -0,0 +1,20 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div id="photo-album-edit-wrapper">
+<form name="photo-album-edit-form" id="photo-album-edit-form" action="photos/{{$nickname}}/album/{{$hexalbum}}" method="post" >
+       <input id="photo-album-edit-form-confirm" type="hidden" name="confirm" value="1" />
+
+       <label id="photo-album-edit-name-label" for="photo-album-edit-name" >{{$nametext}}</label>
+       <input type="text" size="64" name="albumname" value="{{$album}}" >
+
+       <div id="photo-album-edit-name-end"></div>
+
+       <input id="photo-album-edit-submit" type="submit" name="submit" value="{{$submit}}" />
+       <input id="photo-album-edit-drop" type="submit" name="dropalbum" value="{{$dropsubmit}}" onclick="return confirmDelete(function(){remove('photo-album-edit-form-confirm');});" />
+
+</form>
+</div>
+<div id="photo-album-edit-end" ></div>
diff --git a/view/theme/decaf-mobile/smarty3/categories_widget.tpl b/view/theme/decaf-mobile/smarty3/categories_widget.tpl
new file mode 100644 (file)
index 0000000..1749fce
--- /dev/null
@@ -0,0 +1,17 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--<div id="categories-sidebar" class="widget">
+       <h3>{{$title}}</h3>
+       <div id="nets-desc">{{$desc}}</div>
+       
+       <ul class="categories-ul">
+               <li class="tool"><a href="{{$base}}" class="categories-link categories-all{{if $sel_all}} categories-selected{{/if}}">{{$all}}</a></li>
+               {{foreach $terms as $term}}
+                       <li class="tool"><a href="{{$base}}?f=&category={{$term.name}}" class="categories-link{{if $term.selected}} categories-selected{{/if}}">{{$term.name}}</a></li>
+               {{/foreach}}
+       </ul>
+       
+</div>-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/comment_item.tpl b/view/theme/decaf-mobile/smarty3/comment_item.tpl
new file mode 100644 (file)
index 0000000..63c70aa
--- /dev/null
@@ -0,0 +1,84 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--                <script>
+               $(document).ready( function () {
+                       $(document).mouseup(function(e) {
+                               var container = $("#comment-edit-wrapper-{{$id}}");
+                               if( container.has(e.target).length === 0) {
+                                       commentClose(document.getElementById('comment-edit-text-{{$id}}'),{{$id}});
+                                       cmtBbClose({{$id}});
+                               }
+                       });
+               });
+               </script>-->*}}
+
+               <div class="comment-wwedit-wrapper {{$indent}}" id="comment-edit-wrapper-{{$id}}" style="display: block;" >
+                       <a name="comment-wwedit-wrapper-pos"></a>
+                       <form class="comment-edit-form {{$indent}}" id="comment-edit-form-{{$id}}" action="item" method="post" >
+{{*<!--                        <span id="hide-commentbox-{{$id}}" class="hide-commentbox fakelink" onclick="showHideCommentBox({{$id}});">{{$comment}}</span>
+                       <form class="comment-edit-form" style="display: none;" id="comment-edit-form-{{$id}}" action="item" method="post" onsubmit="post_comment({{$id}}); return false;">-->*}}
+                               <input type="hidden" name="type" value="{{$type}}" />
+                               <input type="hidden" name="source" value="{{$sourceapp}}" />
+                               <input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
+                               <input type="hidden" name="parent" value="{{$parent}}" />
+                               <input type="hidden" name="return" value="{{$return_path}}#comment-wwedit-wrapper-pos" />
+                               <input type="hidden" name="jsreload" value="{{$jsreload}}" />
+                               <input type="hidden" name="preview" id="comment-preview-inp-{{$id}}" value="0" />
+                               <input type="hidden" name="post_id_random" value="{{$rand_num}}" />
+
+                               {{*<!--<div class="comment-edit-photo" id="comment-edit-photo-{{$id}}" >-->*}}
+                                       <a class="comment-edit-photo comment-edit-photo-link" id="comment-edit-photo-{{$id}}" href="{{$mylink}}" title="{{$mytitle}}"><img class="my-comment-photo" src="{{$myphoto}}" alt="{{$mytitle}}" title="{{$mytitle}}" /></a>
+                               {{*<!--</div>-->*}}
+                               {{*<!--<div class="comment-edit-photo-end"></div>-->*}}
+                               {{*<!--<ul class="comment-edit-bb-{{$id}}">
+                                       <li><a class="editicon boldbb shadow"
+                                               style="cursor: pointer;" title="{{$edbold}}"
+                                               onclick="insertFormatting('{{$comment}}','b', {{$id}});"></a></li>
+                                       <li><a class="editicon italicbb shadow"
+                                               style="cursor: pointer;" title="{{$editalic}}"
+                                               onclick="insertFormatting('{{$comment}}','i', {{$id}});"></a></li>
+                                       <li><a class="editicon underlinebb shadow"
+                                               style="cursor: pointer;" title="{{$eduline}}"
+                                               onclick="insertFormatting('{{$comment}}','u', {{$id}});"></a></li>
+                                       <li><a class="editicon quotebb shadow"
+                                               style="cursor: pointer;" title="{{$edquote}}"
+                                               onclick="insertFormatting('{{$comment}}','quote', {{$id}});"></a></li>
+                                       <li><a class="editicon codebb shadow"
+                                               style="cursor: pointer;" title="{{$edcode}}"
+                                               onclick="insertFormatting('{{$comment}}','code', {{$id}});"></a></li>-->*}}
+{{*<!--                                        <li><a class="editicon imagebb shadow"
+                                               style="cursor: pointer;" title="{{$edimg}}"
+                                               onclick="insertFormatting('{{$comment}}','img', {{$id}});"></a></li>
+                                       <li><a class="editicon urlbb shadow"
+                                               style="cursor: pointer;" title="{{$edurl}}"
+                                               onclick="insertFormatting('{{$comment}}','url', {{$id}});"></a></li>
+                                       <li><a class="editicon videobb shadow"
+                                               style="cursor: pointer;" title="{{$edvideo}}"
+                                               onclick="insertFormatting('{{$comment}}','video', {{$id}});"></a></li>-->*}}
+                               {{*<!--</ul>    -->*}}
+                               {{*<!--<div class="comment-edit-bb-end"></div>-->*}}
+{{*<!--                                <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$id}});cmtBbOpen({{$id}});" onBlur="commentClose(this,{{$id}});cmtBbClose({{$id}});" >{{$comment}}</textarea>-->*}}
+                               <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-full" name="body" ></textarea>
+                               {{*<!--{{if $qcomment}}
+                                       <select id="qcomment-select-{{$id}}" name="qcomment-{{$id}}" class="qcomment" onchange="qCommentInsert(this,{{$id}});" >
+                                       <option value=""></option>
+                               {{foreach $qcomment as $qc}}
+                                       <option value="{{$qc}}">{{$qc}}</option>                                
+                               {{/foreach}}
+                                       </select>
+                               {{/if}}-->*}}
+
+                               <div class="comment-edit-text-end"></div>
+                               <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-{{$id}}" >
+                                       <input type="submit" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" />
+                                       {{*<!--<span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="preview-link fakelink">{{$preview}}</span>
+                                       <div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div>-->*}}
+                               </div>
+
+                               {{*<!--<div class="comment-edit-end"></div>-->*}}
+                       </form>
+
+               </div>
diff --git a/view/theme/decaf-mobile/smarty3/common_tabs.tpl b/view/theme/decaf-mobile/smarty3/common_tabs.tpl
new file mode 100644 (file)
index 0000000..9fa4ed4
--- /dev/null
@@ -0,0 +1,11 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<ul class="tabs">
+       {{foreach $tabs as $tab}}
+               <li id="{{$tab.id}}"><a href="{{$tab.url}}" class="tab button {{$tab.sel}}"{{if $tab.title}} title="{{$tab.title}}"{{/if}}>{{$tab.label}}</a></li>
+       {{/foreach}}
+       <div id="tabs-end"></div>
+</ul>
diff --git a/view/theme/decaf-mobile/smarty3/contact_block.tpl b/view/theme/decaf-mobile/smarty3/contact_block.tpl
new file mode 100644 (file)
index 0000000..5a0a26b
--- /dev/null
@@ -0,0 +1,17 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--<div id="contact-block">
+<h4 class="contact-block-h4">{{$contacts}}</h4>
+{{if $micropro}}
+               <a class="allcontact-link" href="viewcontacts/{{$nickname}}">{{$viewcontacts}}</a>
+               <div class='contact-block-content'>
+               {{foreach $micropro as $m}}
+                       {{$m}}
+               {{/foreach}}
+               </div>
+{{/if}}
+</div>
+<div class="clear"></div>-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/contact_edit.tpl b/view/theme/decaf-mobile/smarty3/contact_edit.tpl
new file mode 100644 (file)
index 0000000..bced55a
--- /dev/null
@@ -0,0 +1,98 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+
+<h2>{{$header}}</h2>
+
+<div id="contact-edit-wrapper" >
+
+       {{$tab_str}}
+
+       <div id="contact-edit-drop-link-wrapper" >
+               <a href="contacts/{{$contact_id}}/drop?confirm=1" class="icon drophide" id="contact-edit-drop-link" onclick="id=this.id;return confirmDelete(function(){changeHref(id, 'contacts/{{$contact_id}}/drop')});"  title="{{$delete}}" {{*onmouseover="imgbright(this);" onmouseout="imgdull(this);"*}}></a>
+       </div>
+
+       <div id="contact-edit-drop-link-end"></div>
+
+       <div class="vcard">
+               <div class="fn">{{$name}}</div>
+               <div id="profile-photo-wrapper"><img class="photo" style="width: 175px; height: 175px;" src="{{$photo}}" alt="{{$name}}" /></div>
+       </div>
+
+
+       <div id="contact-edit-nav-wrapper" >
+               <div id="contact-edit-links">
+                       <ul>
+                               <li><div id="contact-edit-rel">{{$relation_text}}</div></li>
+                               <li><div id="contact-edit-nettype">{{$nettype}}</div></li>
+                               {{if $lost_contact}}
+                                       <li><div id="lost-contact-message">{{$lost_contact}}</div></li>
+                               {{/if}}
+                               {{if $insecure}}
+                                       <li><div id="insecure-message">{{$insecure}}</div></li>
+                               {{/if}}
+                               {{if $blocked}}
+                                       <li><div id="block-message">{{$blocked}}</div></li>
+                               {{/if}}
+                               {{if $ignored}}
+                                       <li><div id="ignore-message">{{$ignored}}</div></li>
+                               {{/if}}
+                               {{if $archived}}
+                                       <li><div id="archive-message">{{$archived}}</div></li>
+                               {{/if}}
+
+                               <li>&nbsp;</li>
+
+                               {{if $common_text}}
+                                       <li><div id="contact-edit-common"><a href="{{$common_link}}">{{$common_text}}</a></div></li>
+                               {{/if}}
+                               {{if $all_friends}}
+                                       <li><div id="contact-edit-allfriends"><a href="allfriends/{{$contact_id}}">{{$all_friends}}</a></div></li>
+                               {{/if}}
+
+
+                               <li><a href="network/?cid={{$contact_id}}" id="contact-edit-view-recent">{{$lblrecent}}</a></li>
+                               {{if $lblsuggest}}
+                                       <li><a href="fsuggest/{{$contact_id}}" id="contact-edit-suggest">{{$lblsuggest}}</a></li>
+                               {{/if}}
+
+                       </ul>
+               </div>
+       </div>
+       <div id="contact-edit-nav-end"></div>
+
+
+<form action="contacts/{{$contact_id}}" method="post" >
+<input type="hidden" name="contact_id" value="{{$contact_id}}">
+
+       {{if $poll_enabled}}
+               <div id="contact-edit-poll-wrapper">
+                       <div id="contact-edit-last-update-text">{{$lastupdtext}} <span id="contact-edit-last-updated">{{$last_update}}</span></div>
+                       <span id="contact-edit-poll-text">{{$updpub}} {{$poll_interval}}</span> <span id="contact-edit-update-now" class="button"><a id="update_now_link" href="contacts/{{$contact_id}}/update" >{{$udnow}}</a></span>
+               </div>
+       {{/if}}
+       <div id="contact-edit-end" ></div>
+
+       {{include file="field_checkbox.tpl" field=$hidden}}
+
+<div id="contact-edit-info-wrapper">
+<h4>{{$lbl_info1}}</h4>
+       <textarea id="contact-edit-info" rows="8"{{* cols="35"*}} name="info">{{$info}}</textarea>
+       <input class="contact-edit-submit" type="submit" name="submit" value="{{$submit}}" />
+</div>
+<div id="contact-edit-info-end"></div>
+
+
+<div id="contact-edit-profile-select-text">
+<h4>{{$lbl_vis1}}</h4>
+<p>{{$lbl_vis2}}</p> 
+</div>
+{{$profile_select}}
+<div id="contact-edit-profile-select-end"></div>
+
+<input class="contact-edit-submit" type="submit" name="submit" value="{{$submit}}" />
+
+</form>
+</div>
diff --git a/view/theme/decaf-mobile/smarty3/contact_head.tpl b/view/theme/decaf-mobile/smarty3/contact_head.tpl
new file mode 100644 (file)
index 0000000..a7fb961
--- /dev/null
@@ -0,0 +1,5 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
diff --git a/view/theme/decaf-mobile/smarty3/contact_template.tpl b/view/theme/decaf-mobile/smarty3/contact_template.tpl
new file mode 100644 (file)
index 0000000..f017744
--- /dev/null
@@ -0,0 +1,43 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+
+<div class="contact-entry-wrapper" id="contact-entry-wrapper-{{$contact.id}}" >
+       <div class="contact-entry-photo-wrapper" >
+               <div class="contact-entry-photo mframe" id="contact-entry-photo-{{$contact.id}}"
+               {{*onmouseover="if (typeof t{{$contact.id}} != 'undefined') clearTimeout(t{{$contact.id}});" 
+               onmouseout="t{{$contact.id}}=setTimeout('closeMenu(\'contact-photo-menu-{{$contact.id}}\');',200)"*}} >
+
+{{*<!--                        <a href="{{$contact.url}}" title="{{$contact.img_hover}}" /><img src="{{$contact.thumb}}" {{$contact.sparkle}} alt="{{$contact.name}}" /></a>-->*}}
+                       {{*<!--<span onclick="openClose('contact-photo-menu-{{$contact.id}}');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-{{$contact.id}}">-->*}}
+                       <a href="{{$contact.photo_menu.edit.1}}" title="{{$contact.photo_menu.edit.0}}">
+                       <img src="{{$contact.thumb}}" {{$contact.sparkle}} alt="{{$contact.name}}" />
+                       </a>
+                       {{*<!--</span>-->*}}
+
+{{*<!--                        {{if $contact.photo_menu}}
+                       <span onclick="openClose('contact-photo-menu-{{$contact.id}}');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-{{$contact.id}}">menu</span>
+                <div class="contact-photo-menu" id="contact-photo-menu-{{$contact.id}}">
+                    <ul>
+                                               {{foreach $contact.photo_menu as $c}}
+                                               {{if $c.2}}
+                                               <li><a target="redir" href="{{$c.1}}">{{$c.0}}</a></li>
+                                               {{else}}
+                                               <li><a href="{{$c.1}}">{{$c.0}}</a></li>
+                                               {{/if}}
+                                               {{/foreach}}
+                    </ul>
+                </div>
+                       {{/if}}-->*}}
+               </div>
+                       
+       </div>
+       <div class="contact-entry-photo-end" ></div>
+               <div class="contact-entry-name" id="contact-entry-name-{{$contact.id}}" >{{$contact.name}}</div><br />
+{{if $contact.alt_text}}<div class="contact-entry-details" id="contact-entry-rel-{{$contact.id}}" >{{$contact.alt_text}}</div>{{/if}}
+       <div class="contact-entry-network" id="contact-entry-network-{{$contact.id}}" >{{$contact.network}}</div>
+
+       <div class="contact-entry-end" ></div>
+</div>
diff --git a/view/theme/decaf-mobile/smarty3/contacts-end.tpl b/view/theme/decaf-mobile/smarty3/contacts-end.tpl
new file mode 100644 (file)
index 0000000..adeea28
--- /dev/null
@@ -0,0 +1,9 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--
+<script src="{{$baseurl}}/library/jquery_ac/friendica.complete.min.js" ></script>
+
+-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/contacts-head.tpl b/view/theme/decaf-mobile/smarty3/contacts-head.tpl
new file mode 100644 (file)
index 0000000..7fa1411
--- /dev/null
@@ -0,0 +1,10 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--
+<script>
+       window.autocompleteType = 'contacts-head';
+</script>
+-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/contacts-template.tpl b/view/theme/decaf-mobile/smarty3/contacts-template.tpl
new file mode 100644 (file)
index 0000000..b9162c2
--- /dev/null
@@ -0,0 +1,33 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<h1>{{$header}}{{if $total}} ({{$total}}){{/if}}</h1>
+
+{{if $finding}}<h4>{{$finding}}</h4>{{/if}}
+
+<div id="contacts-search-wrapper">
+<form id="contacts-search-form" action="{{$cmd}}" method="get" >
+<span class="contacts-search-desc">{{$desc}}</span>
+<input type="text" name="search" id="contacts-search" class="search-input" onfocus="this.select();" value="{{$search}}" />
+<input type="submit" name="submit" id="contacts-search-submit" value="{{$submit}}" />
+</form>
+</div>
+<div id="contacts-search-end"></div>
+
+{{$tabs}}
+
+
+<div id="contacts-display-wrapper">
+{{foreach $contacts as $contact}}
+       {{include file="contact_template.tpl"}}
+{{/foreach}}
+</div>
+<div id="contact-edit-end"></div>
+
+{{$paginate}}
+
+
+
+
diff --git a/view/theme/decaf-mobile/smarty3/contacts-widget-sidebar.tpl b/view/theme/decaf-mobile/smarty3/contacts-widget-sidebar.tpl
new file mode 100644 (file)
index 0000000..bda3218
--- /dev/null
@@ -0,0 +1,7 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{$follow_widget}}
+
diff --git a/view/theme/decaf-mobile/smarty3/conversation.tpl b/view/theme/decaf-mobile/smarty3/conversation.tpl
new file mode 100644 (file)
index 0000000..f6810bb
--- /dev/null
@@ -0,0 +1,34 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{$live_update}}
+
+{{foreach $threads as $thread}}
+<div id="tread-wrapper-{{$thread.id}}" class="tread-wrapper">
+       {{foreach $thread.items as $item}}
+               {{if $item.comment_firstcollapsed}}
+                       <div class="hide-comments-outer">
+                       <span id="hide-comments-total-{{$thread.id}}" class="hide-comments-total">{{$thread.num_comments}}</span> <span id="hide-comments-{{$thread.id}}" class="hide-comments fakelink" onclick="showHideComments({{$thread.id}});">{{$thread.hide_text}}</span>
+                       </div>
+                       <div id="collapsed-comments-{{$thread.id}}" class="collapsed-comments" style="display: none;">
+               {{/if}}
+               {{if $item.comment_lastcollapsed}}</div>{{/if}}
+               
+               {{include file="{{$item.template}}"}}
+               
+               
+       {{/foreach}}
+</div>
+{{/foreach}}
+
+<div id="conversation-end"></div>
+
+{{*<!--{{if $dropping}}
+<div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems();">
+  <div id="item-delete-selected-icon" class="icon drophide" title="{{$dropping}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div>
+  <div id="item-delete-selected-desc" >{{$dropping}}</div>
+</div>
+<div id="item-delete-selected-end"></div>
+{{/if}}-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/cropbody.tpl b/view/theme/decaf-mobile/smarty3/cropbody.tpl
new file mode 100644 (file)
index 0000000..5ace9a1
--- /dev/null
@@ -0,0 +1,32 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<h1>{{$title}}</h1>
+<p id="cropimage-desc">
+{{$desc}}
+</p>
+<div id="cropimage-wrapper">
+<img src="{{$image_url}}" id="croppa" class="imgCrop" alt="{{$title}}" />
+</div>
+<div id="cropimage-preview-wrapper" >
+<div id="previewWrap" ></div>
+</div>
+
+<form action="profile_photo/{{$resource}}" id="crop-image-form" method="post" />
+<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+
+<input type="hidden" name="cropfinal" value="1" />
+<input type="hidden" name="xstart" id="x1" />
+<input type="hidden" name="ystart" id="y1" />
+<input type="hidden" name="xfinal" id="x2" />
+<input type="hidden" name="yfinal" id="y2" />
+<input type="hidden" name="height" id="height" />
+<input type="hidden" name="width"  id="width" />
+
+<div id="crop-image-submit-wrapper" >
+<input type="submit" name="submit" value="{{$done}}" />
+</div>
+
+</form>
diff --git a/view/theme/decaf-mobile/smarty3/cropend.tpl b/view/theme/decaf-mobile/smarty3/cropend.tpl
new file mode 100644 (file)
index 0000000..e75083f
--- /dev/null
@@ -0,0 +1,9 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--      <script type="text/javascript" src="library/cropper/lib/prototype.js" language="javascript"></script>
+      <script type="text/javascript" src="library/cropper/lib/scriptaculous.js?load=effects,builder,dragdrop" language="javascript"></script>
+      <script type="text/javascript" src="library/cropper/cropper.js" language="javascript"></script>
+      <script type="text/javascript" language="javascript">initCrop();</script>-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/crophead.tpl b/view/theme/decaf-mobile/smarty3/crophead.tpl
new file mode 100644 (file)
index 0000000..6438cfb
--- /dev/null
@@ -0,0 +1,6 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+      <link rel="stylesheet" href="library/cropper/cropper.css" type="text/css" />
diff --git a/view/theme/decaf-mobile/smarty3/display-head.tpl b/view/theme/decaf-mobile/smarty3/display-head.tpl
new file mode 100644 (file)
index 0000000..2943201
--- /dev/null
@@ -0,0 +1,9 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--<script>
+       window.autoCompleteType = 'display-head';
+</script>
+-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/end.tpl b/view/theme/decaf-mobile/smarty3/end.tpl
new file mode 100644 (file)
index 0000000..e75845b
--- /dev/null
@@ -0,0 +1,29 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<!--[if IE]>
+<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+<![endif]-->
+{{*<!--<script type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce.js" ></script>
+<script type="text/javascript">
+  tinyMCE.init({ mode : "none"});
+</script>-->*}}
+{{*<!--<script type="text/javascript" src="{{$baseurl}}/js/jquery.js" ></script>
+<script type="text/javascript">var $j = jQuery.noConflict();</script>
+<script type="text/javascript" src="{{$baseurl}}/view/theme/decaf-mobile/js/jquery.divgrow-1.3.1.f1.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/js/jquery.textinputs.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/view/theme/decaf-mobile/js/fk.autocomplete.js" ></script>-->*}}
+{{*<!--<script type="text/javascript" src="{{$baseurl}}/library/fancybox/jquery.fancybox-1.3.4.pack.js"></script>-->*}}
+{{*<!--<script type="text/javascript" src="{{$baseurl}}/library/tiptip/jquery.tipTip.minified.js"></script>-->*}}
+{{*<!--<script type="text/javascript" src="{{$baseurl}}/library/jgrowl/jquery.jgrowl_minimized.js"></script>
+<script type="text/javascript" src="{{$baseurl}}/view/theme/decaf-mobile/js/acl.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/js/webtoolkit.base64.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/view/theme/decaf-mobile/js/main.js" ></script>-->*}}
+<script type="text/javascript" src="{{$baseurl}}/view/theme/decaf-mobile/js/theme.js"></script>
+
+<!--<script type="text/javascript" src="{{$baseurl}}/view/theme/decaf-mobile/js/jquery.package.js" ></script>
+<script type="text/javascript">var $j = jQuery.noConflict();</script>
+<script type="text/javascript" src="{{$baseurl}}/view/theme/decaf-mobile/js/decaf-mobile.package.js" ></script>-->
+
diff --git a/view/theme/decaf-mobile/smarty3/event_end.tpl b/view/theme/decaf-mobile/smarty3/event_end.tpl
new file mode 100644 (file)
index 0000000..63dbec4
--- /dev/null
@@ -0,0 +1,9 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--<script language="javascript" type="text/javascript"
+          src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script>
+
+-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/event_head.tpl b/view/theme/decaf-mobile/smarty3/event_head.tpl
new file mode 100644 (file)
index 0000000..bd72758
--- /dev/null
@@ -0,0 +1,11 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<link rel='stylesheet' type='text/css' href='{{$baseurl}}/library/fullcalendar/fullcalendar.css' />
+{{*<!--
+<script language="javascript" type="text/javascript">
+window.aclType = 'event_head';
+</script>
+-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/field_checkbox.tpl b/view/theme/decaf-mobile/smarty3/field_checkbox.tpl
new file mode 100644 (file)
index 0000000..f7f857f
--- /dev/null
@@ -0,0 +1,11 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+       
+       <div class='field checkbox' id='div_id_{{$field.0}}'>
+               <label id='label_id_{{$field.0}}' for='id_{{$field.0}}'>{{$field.1}}</label>
+               <input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="1" {{if $field.2}}checked="checked"{{/if}}><br />
+               <span class='field_help' id='help_id_{{$field.0}}'>{{$field.3}}</span>
+       </div>
diff --git a/view/theme/decaf-mobile/smarty3/field_input.tpl b/view/theme/decaf-mobile/smarty3/field_input.tpl
new file mode 100644 (file)
index 0000000..240bed2
--- /dev/null
@@ -0,0 +1,11 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+       
+       <div class='field input' id='wrapper_{{$field.0}}'>
+               <label for='id_{{$field.0}}'>{{$field.1}}</label><br />
+               <input name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
+               <span class='field_help'>{{$field.3}}</span>
+       </div>
diff --git a/view/theme/decaf-mobile/smarty3/field_openid.tpl b/view/theme/decaf-mobile/smarty3/field_openid.tpl
new file mode 100644 (file)
index 0000000..d5ebd9a
--- /dev/null
@@ -0,0 +1,11 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+       
+       <div class='field input openid' id='wrapper_{{$field.0}}'>
+               <label for='id_{{$field.0}}'>{{$field.1}}</label><br />
+               <input name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
+               <span class='field_help'>{{$field.3}}</span>
+       </div>
diff --git a/view/theme/decaf-mobile/smarty3/field_password.tpl b/view/theme/decaf-mobile/smarty3/field_password.tpl
new file mode 100644 (file)
index 0000000..f1352f2
--- /dev/null
@@ -0,0 +1,11 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+       
+       <div class='field password' id='wrapper_{{$field.0}}'>
+               <label for='id_{{$field.0}}'>{{$field.1}}</label><br />
+               <input type='password' name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
+               <span class='field_help'>{{$field.3}}</span>
+       </div>
diff --git a/view/theme/decaf-mobile/smarty3/field_themeselect.tpl b/view/theme/decaf-mobile/smarty3/field_themeselect.tpl
new file mode 100644 (file)
index 0000000..95cfd6b
--- /dev/null
@@ -0,0 +1,14 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+
+       <div class='field select'>
+               <label for='id_{{$field.0}}'>{{$field.1}}</label>
+               <select name='{{$field.0}}' id='id_{{$field.0}}' {{*{{if $field.5}}onchange="previewTheme(this);"{{/if}}*}} >
+                       {{foreach $field.4 as $opt=>$val}}<option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}}
+               </select>
+               <span class='field_help'>{{$field.3}}</span>
+               <div id="theme-preview"></div>
+       </div>
diff --git a/view/theme/decaf-mobile/smarty3/field_yesno.tpl b/view/theme/decaf-mobile/smarty3/field_yesno.tpl
new file mode 100644 (file)
index 0000000..9cdb95e
--- /dev/null
@@ -0,0 +1,19 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--        <div class='field yesno'>
+               <label for='id_{{$field.0}}'>{{$field.1}}</label>
+               <div class='onoff' id="id_{{$field.0}}_onoff">
+                       <input  type="hidden" name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
+                       <a href="#" class='off'>
+                               {{if $field.4}}{{$field.4.0}}{{else}}OFF{{/if}}
+                       </a>
+                       <a href="#" class='on'>
+                               {{if $field.4}}{{$field.4.1}}{{else}}ON{{/if}}
+                       </a>
+               </div>
+               <span class='field_help'>{{$field.3}}</span>
+       </div>-->*}}
+{{include file="field_checkbox.tpl"}}
diff --git a/view/theme/decaf-mobile/smarty3/generic_links_widget.tpl b/view/theme/decaf-mobile/smarty3/generic_links_widget.tpl
new file mode 100644 (file)
index 0000000..705ddb5
--- /dev/null
@@ -0,0 +1,17 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div class="widget{{if $class}} {{$class}}{{/if}}">
+{{*<!--        {{if $title}}<h3>{{$title}}</h3>{{/if}}-->*}}
+       {{if $desc}}<div class="desc">{{$desc}}</div>{{/if}}
+       
+       <ul class="tabs links-widget">
+               {{foreach $items as $item}}
+                       <li class="tool"><a href="{{$item.url}}" class="tab {{if $item.selected}}selected{{/if}}">{{$item.label}}</a></li>
+               {{/foreach}}
+               <div id="tabs-end"></div>
+       </ul>
+       
+</div>
diff --git a/view/theme/decaf-mobile/smarty3/group_drop.tpl b/view/theme/decaf-mobile/smarty3/group_drop.tpl
new file mode 100644 (file)
index 0000000..2693228
--- /dev/null
@@ -0,0 +1,14 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div class="group-delete-wrapper button" id="group-delete-wrapper-{{$id}}" >
+       <a href="group/drop/{{$id}}?t={{$form_security_token}}" 
+               onclick="return confirmDelete();" 
+               id="group-delete-icon-{{$id}}" 
+               class="icon drophide group-delete-icon" 
+               {{*onmouseover="imgbright(this);" 
+               onmouseout="imgdull(this);"*}} ></a>
+</div>
+<div class="group-delete-end"></div>
diff --git a/view/theme/decaf-mobile/smarty3/group_side.tpl b/view/theme/decaf-mobile/smarty3/group_side.tpl
new file mode 100644 (file)
index 0000000..7d9d23e
--- /dev/null
@@ -0,0 +1,38 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div class="widget" id="group-sidebar">
+<h3>{{$title}}</h3>
+
+<div id="sidebar-group-list">
+       <ul id="sidebar-group-ul">
+               {{foreach $groups as $group}}
+                       <li class="sidebar-group-li">
+                               {{if $group.cid}}
+                                       <input type="checkbox" 
+                                               class="{{if $group.selected}}ticked{{else}}unticked {{/if}} action" 
+                                               {{*onclick="contactgroupChangeMember('{{$group.id}}','{{$group.cid}}');return true;"*}}
+                                               {{if $group.ismember}}checked="checked"{{/if}}
+                                       />
+                               {{/if}}                 
+                               {{if $group.edit}}
+                                       <a class="groupsideedit" href="{{$group.edit.href}}" title="{{$edittext}}"><span id="edit-sidebar-group-element-{{$group.id}}" class="group-edit-icon iconspacer small-pencil"></span></a>
+                               {{/if}}
+                               <a id="sidebar-group-element-{{$group.id}}" class="sidebar-group-element {{if $group.selected}}group-selected{{/if}}" href="{{$group.href}}">{{$group.text}}</a>
+                       </li>
+               {{/foreach}}
+       </ul>
+       </div>
+  <div id="sidebar-new-group">
+  <a href="group/new">{{$createtext}}</a>
+  </div>
+  {{if $ungrouped}}
+  <div id="sidebar-ungrouped">
+  <a href="nogroup">{{$ungrouped}}</a>
+  </div>
+  {{/if}}
+</div>
+
+
diff --git a/view/theme/decaf-mobile/smarty3/head.tpl b/view/theme/decaf-mobile/smarty3/head.tpl
new file mode 100644 (file)
index 0000000..ad9e1ad
--- /dev/null
@@ -0,0 +1,34 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+{{*<!--<meta content='width=device-width, minimum-scale=1 maximum-scale=1' name='viewport'>
+<meta content='True' name='HandheldFriendly'>
+<meta content='320' name='MobileOptimized'>-->*}}
+<meta name="viewport" content="width=device-width; initial-scale = 1.0; maximum-scale=1.0; user-scalable=no" />
+{{*<!--<meta name="viewport" content="width=100%;  initial-scale=1; maximum-scale=1; minimum-scale=1; user-scalable=no;" />-->*}}
+
+<base href="{{$baseurl}}/" />
+<meta name="generator" content="{{$generator}}" />
+{{*<!--<link rel="stylesheet" href="{{$baseurl}}/library/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="{{$baseurl}}/library/tiptip/tipTip.css" type="text/css" media="screen" />
+<link rel="stylesheet" href="{{$baseurl}}/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />-->*}}
+
+<link rel="stylesheet" type="text/css" href="{{$stylesheet}}" media="all" />
+
+<link rel="shortcut icon" href="{{$baseurl}}/images/friendica-32.png" />
+<link rel="search"
+         href="{{$baseurl}}/opensearch" 
+         type="application/opensearchdescription+xml" 
+         title="Search in Friendica" />
+
+<script>
+       window.delItem = "{{$delitem}}";
+{{*/*  window.commentEmptyText = "{{$comment}}";
+       window.showMore = "{{$showmore}}";
+       window.showFewer = "{{$showfewer}}";
+       var updateInterval = {{$update_interval}};
+       var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};*/*}}
+</script>
diff --git a/view/theme/decaf-mobile/smarty3/jot-end.tpl b/view/theme/decaf-mobile/smarty3/jot-end.tpl
new file mode 100644 (file)
index 0000000..88c8e59
--- /dev/null
@@ -0,0 +1,10 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+
+<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.min.js" ></script>
+{{*<!--
+<script>if(typeof window.jotInit != 'undefined') initEditor();</script>
+-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/jot-header.tpl b/view/theme/decaf-mobile/smarty3/jot-header.tpl
new file mode 100644 (file)
index 0000000..b0bf789
--- /dev/null
@@ -0,0 +1,22 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+
+<script>
+{{*/*  var none = "none"; // ugly hack: {{$editselect}} shouldn't be a string if TinyMCE is enabled, but should if it isn't
+       window.editSelect = {{$editselect}};
+       window.isPublic = "{{$ispublic}}";
+       window.nickname = "{{$nickname}}";
+       window.linkURL = "{{$linkurl}}";
+       window.vidURL = "{{$vidurl}}";
+       window.audURL = "{{$audurl}}";
+       window.whereAreU = "{{$whereareu}}";
+       window.term = "{{$term}}";
+       window.baseURL = "{{$baseurl}}";
+       window.geoTag = function () { {{$geotag}} }*/*}}
+       window.jotId = "#profile-jot-text";
+       window.imageUploadButton = 'wall-image-upload';
+</script>
+
diff --git a/view/theme/decaf-mobile/smarty3/jot.tpl b/view/theme/decaf-mobile/smarty3/jot.tpl
new file mode 100644 (file)
index 0000000..61a7215
--- /dev/null
@@ -0,0 +1,104 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+
+<div id="profile-jot-wrapper" >
+       <div id="profile-jot-banner-wrapper">
+               <div id="profile-jot-desc" >&nbsp;</div>
+               <div id="character-counter" class="grey"></div>
+       </div>
+       <div id="profile-jot-banner-end"></div>
+
+       <form id="profile-jot-form" action="{{$action}}" method="post" >
+               <input type="hidden" name="type" value="{{$ptyp}}" />
+               <input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
+               <input type="hidden" name="return" value="{{$return_path}}" />
+               <input type="hidden" name="location" id="jot-location" value="{{$defloc}}" />
+               <input type="hidden" name="coord" id="jot-coord" value="" />
+               <input type="hidden" name="post_id" value="{{$post_id}}" />
+               <input type="hidden" name="source" value="{{$sourceapp}}" />
+               <input type="hidden" name="preview" id="jot-preview" value="0" />
+               <input type="hidden" name="post_id_random" value="{{$rand_num}}" />
+               <div id="jot-title-wrap"><input name="title" id="jot-title" type="text" placeholder="{{$placeholdertitle}}" value="{{$title}}" class="jothidden" ></div>
+               {{if $placeholdercategory}}
+               <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" /></div>
+               {{/if}}
+               <div id="jot-text-wrap">
+               {{*<!--<img id="profile-jot-text-loading" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />-->*}}
+               <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" placeholder={{$share}} >{{if $content}}{{$content}}{{/if}}</textarea>
+               </div>
+
+<div id="profile-jot-submit-wrapper" class="jothidden">
+       <input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" />
+
+       <div id="profile-rotator-wrapper" style="display: {{$visitor}};" >
+               <img id="profile-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
+       </div> 
+       
+       <div id="profile-upload-wrapper" style="display: {{$visitor}};" >
+               <div id="wall-image-upload-div" style="display: none;" ><a href="#" onclick="return false;" id="wall-image-upload" class="icon camera" title="{{$upload}}"></a></div>
+       </div> 
+       <div id="profile-attach-wrapper" style="display: {{$visitor}};" >
+               <div id="wall-file-upload-div" style="display: none;" ><a href="#" onclick="return false;" id="wall-file-upload" class="icon attach" title="{{$attach}}"></a></div>
+       </div> 
+
+       {{*<!--<div id="profile-link-wrapper" style="display: {{$visitor}};" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
+               <a id="profile-link" class="icon link" title="{{$weblink}}" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;"></a>-->*}}
+       {{*<!--<div id="profile-link-wrapper" style="display: {{$visitor}};" >
+               <a id="profile-link" class="icon link" title="{{$weblink}}" onclick="jotGetLink(); return false;"></a>
+       </div> 
+       <div id="profile-video-wrapper" style="display: {{$visitor}};" >
+               <a id="profile-video" class="icon video" title="{{$video}}" onclick="jotVideoURL();return false;"></a>
+       </div> 
+       <div id="profile-audio-wrapper" style="display: {{$visitor}};" >
+               <a id="profile-audio" class="icon audio" title="{{$audio}}" onclick="jotAudioURL();return false;"></a>
+       </div> 
+       <div id="profile-location-wrapper" style="display: {{$visitor}};" >
+               <a id="profile-location" class="icon globe" title="{{$setloc}}" onclick="jotGetLocation();return false;"></a>
+       </div> 
+       <div id="profile-nolocation-wrapper" style="display: none;" >
+               <a id="profile-nolocation" class="icon noglobe" title="{{$noloc}}" onclick="jotClearLocation();return false;"></a>
+       </div> -->*}}
+
+       {{*<!--<div id="profile-jot-perms" class="profile-jot-perms" style="display: {{$pvisit}};" >
+               <a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon {{$lockstate}}"  title="{{$permset}}" ></a>{{$bang}}
+       </div>
+
+       <span onclick="preview_post();" id="jot-preview-link" class="fakelink">{{$preview}}</span>-->*}}
+
+       <div id="profile-jot-perms-end"></div>
+
+
+       <div id="profile-jot-plugin-wrapper">
+       {{$jotplugins}}
+       </div>
+
+       <div id="jot-preview-content" style="display:none;"></div>
+
+       {{*<!--<div style="display: none;">-->*}}
+               <div id="profile-jot-acl-wrapper">
+                       {{*<!--{{$acl}}
+                       <hr style="clear:both"/>
+                       <div id="profile-jot-email-label">{{$emailcc}}</div><input type="text" name="emailcc" id="profile-jot-email" title="{{$emtitle}}" />
+                       {{$jotnets}}
+                       <div id="profile-jot-networks-end"></div>-->*}}
+                       {{if $acl_data}}
+                       {{include file="acl_html_selector.tpl"}}
+                       {{/if}}
+                       {{$jotnets}}
+               </div>
+       {{*<!--</div>-->*}}
+
+
+</div>
+
+<div id="profile-jot-end"></div>
+</form>
+</div>
+               {{*<!--{{if $content}}<script>window.jotInit = true;</script>{{/if}}-->*}}
+<script>
+document.getElementById('wall-image-upload-div').style.display = "inherit";
+document.getElementById('wall-file-upload-div').style.display = "inherit";
+</script>
diff --git a/view/theme/decaf-mobile/smarty3/jot_geotag.tpl b/view/theme/decaf-mobile/smarty3/jot_geotag.tpl
new file mode 100644 (file)
index 0000000..d828980
--- /dev/null
@@ -0,0 +1,16 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+
+       if(navigator.geolocation) {
+               navigator.geolocation.getCurrentPosition(function(position) {
+                       var lat = position.coords.latitude.toFixed(4);
+                       var lon = position.coords.longitude.toFixed(4);
+
+                       $j('#jot-coord').val(lat + ', ' + lon);
+                       $j('#profile-nolocation-wrapper').show();
+               });
+       }
+
diff --git a/view/theme/decaf-mobile/smarty3/lang_selector.tpl b/view/theme/decaf-mobile/smarty3/lang_selector.tpl
new file mode 100644 (file)
index 0000000..a1aee82
--- /dev/null
@@ -0,0 +1,15 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div id="lang-select-icon" class="icon s22 language" title="{{$title}}" onclick="openClose('language-selector');" ></div>
+<div id="language-selector" style="display: none;" >
+       <form action="#" method="post" >
+               <select name="system_language" onchange="this.form.submit();" >
+                       {{foreach $langs.0 as $v=>$l}}
+                               <option value="{{$v}}" {{if $v==$langs.1}}selected="selected"{{/if}}>{{$l}}</option>
+                       {{/foreach}}
+               </select>
+       </form>
+</div>
diff --git a/view/theme/decaf-mobile/smarty3/like_noshare.tpl b/view/theme/decaf-mobile/smarty3/like_noshare.tpl
new file mode 100644 (file)
index 0000000..9d6a58e
--- /dev/null
@@ -0,0 +1,12 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div class="wall-item-like-buttons" id="wall-item-like-buttons-{{$id}}">
+       <a href="like/{{$id}}?verb=like&return={{$return_path}}#{{$item.id}}" class="icon like" title="{{$likethis}}" ></a>
+       {{if $nolike}}
+       <a href="like/{{$id}}?verb=dislike&return={{$return_path}}#{{$item.id}}" class="icon dislike" title="{{$nolike}}" ></a>
+       {{/if}}
+       <img id="like-rotator-{{$id}}" class="like-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
+</div>
diff --git a/view/theme/decaf-mobile/smarty3/login.tpl b/view/theme/decaf-mobile/smarty3/login.tpl
new file mode 100644 (file)
index 0000000..d220321
--- /dev/null
@@ -0,0 +1,50 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+
+<div class="login-form">
+<form action="{{$dest_url}}" method="post" >
+       <input type="hidden" name="auth-params" value="login" />
+
+       <div id="login_standard">
+       {{include file="field_input.tpl" field=$lname}}
+       {{include file="field_password.tpl" field=$lpassword}}
+       </div>
+       
+       {{if $openid}}
+                       <div id="login_openid">
+                       {{include file="field_openid.tpl" field=$lopenid}}
+                       </div>
+       {{/if}}
+
+       <br />
+       <div id='login-footer'>
+       <div class="login-extra-links">
+       By signing in you agree to the latest <a href="tos.html" title="{{$tostitle}}" id="terms-of-service-link" >{{$toslink}}</a> and <a href="privacy.html" title="{{$privacytitle}}" id="privacy-link" >{{$privacylink}}</a>
+       </div>
+
+       <br />
+       {{include file="field_checkbox.tpl" field=$lremember}}
+
+       <div id="login-submit-wrapper" >
+               <input type="submit" name="submit" id="login-submit-button" value="{{$login}}" />
+       </div>
+
+       <br /><br />
+       <div class="login-extra-links">
+               {{if $register}}<a href="register" title="{{$register.title}}" id="register-link">{{$register.desc}}</a>{{/if}}
+        <a href="lostpass" title="{{$lostpass}}" id="lost-password-link" >{{$lostlink}}</a>
+       </div>
+       </div>
+       
+       {{foreach $hiddens as $k=>$v}}
+               <input type="hidden" name="{{$k}}" value="{{$v}}" />
+       {{/foreach}}
+       
+       
+</form>
+</div>
+
+{{*<!--<script type="text/javascript">window.loginName = "{{$lname.0}}";</script>-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/login_head.tpl b/view/theme/decaf-mobile/smarty3/login_head.tpl
new file mode 100644 (file)
index 0000000..c2d9504
--- /dev/null
@@ -0,0 +1,7 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--<link rel="stylesheet" href="{{$baseurl}}/view/theme/frost-mobile/login-style.css" type="text/css" media="all" />-->*}}
+
diff --git a/view/theme/decaf-mobile/smarty3/lostpass.tpl b/view/theme/decaf-mobile/smarty3/lostpass.tpl
new file mode 100644 (file)
index 0000000..5a22c24
--- /dev/null
@@ -0,0 +1,26 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div class="lostpass-form">
+<h2>{{$title}}</h2>
+<br /><br /><br />
+
+<form action="lostpass" method="post" >
+<div id="login-name-wrapper" class="field input">
+        <label for="login-name" id="label-login-name">{{$name}}</label><br />
+        <input type="text" maxlength="60" name="login-name" id="login-name" value="" />
+</div>
+<div id="login-extra-end"></div>
+<p id="lostpass-desc">
+{{$desc}}
+</p>
+<br />
+
+<div id="login-submit-wrapper" >
+        <input type="submit" name="submit" id="lostpass-submit-button" value="{{$submit}}" />
+</div>
+<div id="login-submit-end"></div>
+</form>
+</div>
diff --git a/view/theme/decaf-mobile/smarty3/mail_conv.tpl b/view/theme/decaf-mobile/smarty3/mail_conv.tpl
new file mode 100644 (file)
index 0000000..c2b43c5
--- /dev/null
@@ -0,0 +1,23 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div class="mail-conv-outside-wrapper">
+       <div class="mail-conv-sender" >
+               <a href="{{$mail.from_url}}" class="mail-conv-sender-url" ><img class="mframe mail-conv-sender-photo{{$mail.sparkle}}" src="{{$mail.from_photo}}" heigth="80" width="80" alt="{{$mail.from_name}}" /></a>
+       </div>
+       <div class="mail-conv-detail" >
+               <div class="mail-conv-sender-name" >{{$mail.from_name}}</div>
+               <div class="mail-conv-date">{{$mail.date}}</div>
+               <div class="mail-conv-subject">{{$mail.subject}}</div>
+       </div>
+       <div class="mail-conv-body">{{$mail.body}}</div>
+</div>
+<div class="mail-conv-outside-wrapper-end"></div>
+
+
+<div class="mail-conv-delete-wrapper" id="mail-conv-delete-wrapper-{{$mail.id}}" ><a href="message/drop/{{$mail.id}}?confirm=1" class="icon drophide delete-icon mail-list-delete-icon" onclick="id=this.id;return confirmDelete(function(){changeHref(id, 'message/drop/{{$mail.id}}')});" title="{{$mail.delete}}" id="mail-conv-delete-icon-{{$mail.id}}" class="mail-conv-delete-icon" {{*onmouseover="imgbright(this);" onmouseout="imgdull(this);*}}" ></a></div>
+<div class="mail-conv-delete-end"></div>
+
+<hr class="mail-conv-break" />
diff --git a/view/theme/decaf-mobile/smarty3/mail_list.tpl b/view/theme/decaf-mobile/smarty3/mail_list.tpl
new file mode 100644 (file)
index 0000000..538f6af
--- /dev/null
@@ -0,0 +1,21 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div class="mail-list-outside-wrapper">
+       <div class="mail-list-sender" >
+               <a href="{{$from_url}}" class="mail-list-sender-url" ><img class="mail-list-sender-photo{{$sparkle}}" src="{{$from_photo}}" height="80" width="80" alt="{{$from_name}}" /></a>
+       </div>
+       <div class="mail-list-detail">
+               <div class="mail-list-sender-name" >{{$from_name}}</div>
+               <div class="mail-list-date">{{$date}}</div>
+               <div class="mail-list-subject"><a href="message/{{$id}}" class="mail-list-link">{{$subject}}</a></div>
+       <div class="mail-list-delete-wrapper" id="mail-list-delete-wrapper-{{$id}}" >
+               <a href="message/dropconv/{{$id}}?confirm=1" onclick="id=this.id;return confirmDelete(function(){changeHref(id, 'message/dropconv/{{$id}}')});"  title="{{$delete}}" class="icon drophide mail-list-delete      delete-icon" id="mail-list-delete-{{$id}}" {{*onmouseover="imgbright(this);" onmouseout="imgdull(this);"*}} ></a>
+       </div>
+</div>
+</div>
+<div class="mail-list-delete-end"></div>
+
+<div class="mail-list-outside-wrapper-end"></div>
diff --git a/view/theme/decaf-mobile/smarty3/manage.tpl b/view/theme/decaf-mobile/smarty3/manage.tpl
new file mode 100644 (file)
index 0000000..f7d72f6
--- /dev/null
@@ -0,0 +1,23 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<h3>{{$title}}</h3>
+<div id="identity-manage-desc">{{$desc}}</div>
+<div id="identity-manage-choose">{{$choose}}</div>
+<div id="identity-selector-wrapper">
+       <form action="manage" method="post" >
+       <select name="identity" size="4" onchange="this.form.submit();" >
+
+       {{foreach $identities as $id}}
+               <option {{$id.selected}} value="{{$id.uid}}">{{$id.username}} ({{$id.nickname}})</option>
+       {{/foreach}}
+
+       </select>
+       <div id="identity-select-break"></div>
+
+       {{* name="submit" interferes with this.form.submit() *}}
+       <input id="identity-submit" type="submit" {{*name="submit"*}} value="{{$submit}}" />
+</div></form>
+
diff --git a/view/theme/decaf-mobile/smarty3/message-end.tpl b/view/theme/decaf-mobile/smarty3/message-end.tpl
new file mode 100644 (file)
index 0000000..adeea28
--- /dev/null
@@ -0,0 +1,9 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--
+<script src="{{$baseurl}}/library/jquery_ac/friendica.complete.min.js" ></script>
+
+-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/message-head.tpl b/view/theme/decaf-mobile/smarty3/message-head.tpl
new file mode 100644 (file)
index 0000000..a7fb961
--- /dev/null
@@ -0,0 +1,5 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
diff --git a/view/theme/decaf-mobile/smarty3/moderated_comment.tpl b/view/theme/decaf-mobile/smarty3/moderated_comment.tpl
new file mode 100644 (file)
index 0000000..b2401ca
--- /dev/null
@@ -0,0 +1,66 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+               <div class="comment-wwedit-wrapper" id="comment-edit-wrapper-{{$id}}" style="display: block;">
+                       <form class="comment-edit-form" id="comment-edit-form-{{$id}}" action="item" method="post" onsubmit="post_comment({{$id}}); return false;">
+                               <input type="hidden" name="type" value="{{$type}}" />
+                               <input type="hidden" name="profile_uid" value="{{$profile_uid}}" />
+                               <input type="hidden" name="parent" value="{{$parent}}" />
+                               <input type="hidden" name="return" value="{{$return_path}}" />
+                               <input type="hidden" name="jsreload" value="{{$jsreload}}" />
+                               <input type="hidden" name="preview" id="comment-preview-inp-{{$id}}" value="0" />
+
+                               <div class="comment-edit-photo" id="comment-edit-photo-{{$id}}" >
+                                       <a class="comment-edit-photo-link" href="{{$mylink}}" title="{{$mytitle}}"><img class="my-comment-photo" src="{{$myphoto}}" alt="{{$mytitle}}" title="{{$mytitle}}" /></a>
+                               </div>
+                               <div class="comment-edit-photo-end"></div>
+                               <div id="mod-cmnt-wrap-{{$id}}" class="mod-cmnt-wrap" style="display:none">
+                                       <div id="mod-cmnt-name-lbl-{{$id}}" class="mod-cmnt-name-lbl">{{$lbl_modname}}</div>
+                                       <input type="text" id="mod-cmnt-name-{{$id}}" class="mod-cmnt-name" name="mod-cmnt-name" value="{{$modname}}" />
+                                       <div id="mod-cmnt-email-lbl-{{$id}}" class="mod-cmnt-email-lbl">{{$lbl_modemail}}</div>
+                                       <input type="text" id="mod-cmnt-email-{{$id}}" class="mod-cmnt-email" name="mod-cmnt-email" value="{{$modemail}}" />
+                                       <div id="mod-cmnt-url-lbl-{{$id}}" class="mod-cmnt-url-lbl">{{$lbl_modurl}}</div>
+                                       <input type="text" id="mod-cmnt-url-{{$id}}" class="mod-cmnt-url" name="mod-cmnt-url" value="{{$modurl}}" />
+                               </div>
+                               <ul class="comment-edit-bb-{{$id}}">
+                                       <li><a class="editicon boldbb shadow"
+                                               style="cursor: pointer;" title="{{$edbold}}"
+                                               onclick="insertFormatting('{{$comment}}','b', {{$id}});"></a></li>
+                                       <li><a class="editicon italicbb shadow"
+                                               style="cursor: pointer;" title="{{$editalic}}"
+                                               onclick="insertFormatting('{{$comment}}','i', {{$id}});"></a></li>
+                                       <li><a class="editicon underlinebb shadow"
+                                               style="cursor: pointer;" title="{{$eduline}}"
+                                               onclick="insertFormatting('{{$comment}}','u', {{$id}});"></a></li>
+                                       <li><a class="editicon quotebb shadow"
+                                               style="cursor: pointer;" title="{{$edquote}}"
+                                               onclick="insertFormatting('{{$comment}}','quote', {{$id}});"></a></li>
+                                       <li><a class="editicon codebb shadow"
+                                               style="cursor: pointer;" title="{{$edcode}}"
+                                               onclick="insertFormatting('{{$comment}}','code', {{$id}});"></a></li>
+                                       <li><a class="editicon imagebb shadow"
+                                               style="cursor: pointer;" title="{{$edimg}}"
+                                               onclick="insertFormatting('{{$comment}}','img', {{$id}});"></a></li>
+                                       <li><a class="editicon urlbb shadow"
+                                               style="cursor: pointer;" title="{{$edurl}}"
+                                               onclick="insertFormatting('{{$comment}}','url', {{$id}});"></a></li>
+                                       <li><a class="editicon videobb shadow"
+                                               style="cursor: pointer;" title="{{$edvideo}}"
+                                               onclick="insertFormatting('{{$comment}}','video', {{$id}});"></a></li>
+                               </ul>   
+                               <div class="comment-edit-bb-end"></div>
+                               <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$id}});cmtBbOpen({{$id}});" onBlur="commentClose(this,{{$id}});" >{{$comment}}</textarea>                      
+
+                               <div class="comment-edit-text-end"></div>
+                               <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-{{$id}}" style="display: none;" >
+                                       <input type="submit" onclick="post_comment({{$id}}); return false;" id="comment-edit-submit-{{$id}}" class="comment-edit-submit" name="submit" value="{{$submit}}" />
+                                       <span onclick="preview_comment({{$id}});" id="comment-edit-preview-link-{{$id}}" class="fakelink">{{$preview}}</span>
+                                       <div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div>
+                               </div>
+
+                               <div class="comment-edit-end"></div>
+                       </form>
+
+               </div>
diff --git a/view/theme/decaf-mobile/smarty3/msg-end.tpl b/view/theme/decaf-mobile/smarty3/msg-end.tpl
new file mode 100644 (file)
index 0000000..594f3f7
--- /dev/null
@@ -0,0 +1,7 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.min.js" ></script>
+
diff --git a/view/theme/decaf-mobile/smarty3/msg-header.tpl b/view/theme/decaf-mobile/smarty3/msg-header.tpl
new file mode 100644 (file)
index 0000000..8447bb3
--- /dev/null
@@ -0,0 +1,15 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+
+<script language="javascript" type="text/javascript">
+{{*/*  window.nickname = "{{$nickname}}";
+       window.linkURL = "{{$linkurl}}";
+       var plaintext = "none";
+       window.autocompleteType = 'msg-header';*/*}}
+       window.jotId = "#prvmail-text";
+       window.imageUploadButton = 'prvmail-upload';
+</script>
+
diff --git a/view/theme/decaf-mobile/smarty3/nav.tpl b/view/theme/decaf-mobile/smarty3/nav.tpl
new file mode 100644 (file)
index 0000000..87d0bde
--- /dev/null
@@ -0,0 +1,160 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<nav>
+{{*<!--        {{$langselector}} -->*}}
+
+{{*<!--        <div id="site-location">{{$sitelocation}}</div> -->*}}
+
+       <span id="nav-link-wrapper" >
+
+{{*<!--        <a id="system-menu-link" class="nav-link" href="#system-menu" title="Menu">Menu</a>-->*}}
+       <div class="nav-button-container">
+{{*<!--        <a class="system-menu-link nav-link" href="#system-menu" title="Menu">-->*}}
+       <a href="{{$nav.navigation.0}}" title="{{$nav.navigation.3}}" >
+       <img rel="#system-menu-list" class="nav-link" src="view/theme/decaf-mobile/images/menu.png">
+       </a>
+{{*<!--        </a>-->*}}
+       {{*<!--<ul id="system-menu-list" class="nav-menu-list">
+               {{if $nav.login}}
+               <a id="nav-login-link" class="nav-load-page-link {{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a>
+               {{/if}}
+
+               {{if $nav.register}}
+               <a id="nav-register-link" class="nav-load-page-link {{$nav.register.2}} {{$sel.register}}" href="{{$nav.register.0}}" title="{{$nav.register.3}}" >{{$nav.register.1}}</a>
+               {{/if}}
+
+               {{if $nav.settings}}
+               <li><a id="nav-settings-link" class="{{$nav.settings.2}} nav-load-page-link" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a></li>
+               {{/if}}
+
+               {{if $nav.manage}}
+               <li>
+               <a id="nav-manage-link" class="nav-load-page-link {{$nav.manage.2}} {{$sel.manage}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a>
+               </li>
+               {{/if}}
+
+               {{if $nav.profiles}}
+               <li><a id="nav-profiles-link" class="{{$nav.profiles.2}} nav-load-page-link" href="{{$nav.profiles.0}}" title="{{$nav.profiles.3}}" >{{$nav.profiles.1}}</a></li>
+               {{/if}}
+
+               {{if $nav.admin}}
+               <li><a id="nav-admin-link" class="{{$nav.admin.2}} nav-load-page-link" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a></li>
+               {{/if}}
+
+               <li><a id="nav-search-link" class="{{$nav.search.2}} nav-load-page-link" href="{{$nav.search.0}}" title="{{$nav.search.3}}" >{{$nav.search.1}}</a></li>
+
+               {{if $nav.apps}}
+               <li><a id="nav-apps-link" class="{{$nav.apps.2}} nav-load-page-link" href="{{$nav.apps.0}}" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a></li>
+               {{/if}}
+
+               {{if $nav.help}}
+               <li><a id="nav-help-link" class="{{$nav.help.2}} nav-load-page-link" target="friendica-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a></li>
+               {{/if}}
+               
+               {{if $nav.logout}}
+               <li><a id="nav-logout-link" class="{{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a></li>
+               {{/if}}
+       </ul>-->*}}
+       </div>
+
+       {{if $nav.notifications}}
+{{*<!--        <a id="nav-notifications-linkmenu" class="nav-link" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}">{{$nav.notifications.1}}</a>-->*}}
+       <div class="nav-button-container">
+{{*<!--        <a id="nav-notifications-linkmenu" class="nav-link" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}">-->*}}
+       <a href="{{$nav.notifications.all.0}}">
+       <img rel="#nav-notifications-menu" class="nav-link" src="view/theme/decaf-mobile/images/notifications.png">
+       </a>
+{{*<!--        </a>-->*}}
+       {{*<!--<span id="notify-update" class="nav-ajax-left"></span>
+       <ul id="nav-notifications-menu" class="notifications-menu-popup">
+               <li id="nav-notifications-see-all"><a href="{{$nav.notifications.all.0}}">{{$nav.notifications.all.1}}</a></li>
+               <li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">{{$nav.notifications.mark.1}}</a></li>
+               <li class="empty">{{$emptynotifications}}</li>
+       </ul>-->*}}
+       </div>
+       {{/if}}         
+
+{{*<!--        <a id="contacts-menu-link" class="nav-link" href="#contacts-menu" title="Contacts">Contacts</a>-->*}}
+       {{if $nav.contacts}}
+       <div class="nav-button-container">
+{{*<!--        <a class="contacts-menu-link nav-link" href="#contacts-menu" title="Contacts">-->*}}
+       <a id="nav-contacts-link" class="{{$nav.contacts.2}} nav-load-page-link" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}" >
+       <img rel="#contacts-menu-list"  class="nav-link" src="view/theme/decaf-mobile/images/contacts.png">
+       </a>
+       {{*<!--</a>-->*}}
+       {{if $nav.introductions}}
+       <span id="intro-update" class="nav-ajax-left"></span>
+       {{/if}}
+       {{*<!--<ul id="contacts-menu-list" class="nav-menu-list">
+               {{if $nav.contacts}}
+               <li><a id="nav-contacts-link" class="{{$nav.contacts.2}} nav-load-page-link" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}" >{{$nav.contacts.1}}</a><li>
+               {{/if}}
+
+               <li><a id="nav-directory-link" class="{{$nav.directory.2}} nav-load-page-link" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a><li>
+
+               {{if $nav.introductions}}
+               <li>
+               <a id="nav-notify-link" class="{{$nav.introductions.2}} {{$sel.introductions}} nav-load-page-link" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}" >{{$nav.introductions.1}}</a>
+               </li>
+               {{/if}}
+       </ul>-->*}}
+       </div>
+       {{/if}}
+
+       {{if $nav.messages}}
+{{*<!--        <a id="nav-messages-link" class="nav-link {{$nav.messages.2}} {{$sel.messages}} nav-load-page-link" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}}</a>-->*}}
+       <div class="nav-button-container">
+       <a id="nav-messages-link" class="{{$nav.messages.2}} {{$sel.messages}} nav-load-page-link" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >
+       <img src="view/theme/decaf-mobile/images/message.png" class="nav-link">
+       </a>
+       <span id="mail-update" class="nav-ajax-left"></span>
+       </div>
+       {{/if}}
+
+{{*<!--        <a id="network-menu-link" class="nav-link" href="#network-menu" title="Network">Network</a>-->*}}
+       {{if $nav.network}}
+       <div class="nav-button-container">
+{{*<!--        <a class="network-menu-link nav-link" href="#network-menu" title="Network">-->*}}
+       <a id="nav-network-link" class="{{$nav.network.2}} {{$sel.network}} nav-load-page-link" href="/" >
+       <img rel="#network-menu-list" class="nav-link" src="view/theme/decaf-mobile/images/network.png">
+       </a>
+{{*<!--        </a>-->*}}
+       <span id="net-update" class="nav-ajax-left"></span>
+       </div>
+       {{/if}}
+<!--   <ul id="network-menu-list" class="nav-menu-list">
+               {{if $nav.network}}
+               <li>
+               <a id="nav-network-link" class="{{$nav.network.2}} {{$sel.network}} nav-load-page-link" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
+               </li>
+               {{/if}}
+
+               {{if $nav.network}}
+               <li>
+               <a class="nav-menu-icon network-reset-link nav-link" href="{{$nav.net_reset.0}}" title="{{$nav.net_reset.3}}">{{$nav.net_reset.1}}</a>
+               </li>
+               {{/if}}
+
+               {{if $nav.home}}
+               <li><a id="nav-home-link" class="{{$nav.home.2}} {{$sel.home}} nav-load-page-link" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a></li>
+               {{/if}}
+
+               {{if $nav.community}}
+               <li>
+               <a id="nav-community-link" class="{{$nav.community.2}} {{$sel.community}} nav-load-page-link" href="{{$nav.community.0}}" title="{{$nav.community.3}}" >{{$nav.community.1}}</a>
+               </li>
+               {{/if}}
+       </ul>
+       </div>-->
+
+       </span>
+       {{*<!--<span id="nav-end"></span>-->*}}
+       <span id="banner">{{$banner}}</span>
+</nav>
+
+{{*<!--<ul id="nav-notifications-template" style="display:none;" rel="template">
+       <li class="{4}"><a href="{0}"><img data-src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
+</ul>-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/photo_drop.tpl b/view/theme/decaf-mobile/smarty3/photo_drop.tpl
new file mode 100644 (file)
index 0000000..57f26cf
--- /dev/null
@@ -0,0 +1,9 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$id}}" >
+       <a href="item/drop/{{$id}}?confirm=1" onclick="return confirmDelete(function(){this.href='item/drop/{{$id}}'});" class="icon drophide" title="{{$delete}}" {{*onmouseover="imgbright(this);" onmouseout="imgdull(this);"*}} ></a>
+</div>
+<div class="wall-item-delete-end"></div>
diff --git a/view/theme/decaf-mobile/smarty3/photo_edit.tpl b/view/theme/decaf-mobile/smarty3/photo_edit.tpl
new file mode 100644 (file)
index 0000000..1cff8f0
--- /dev/null
@@ -0,0 +1,65 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+
+<form action="photos/{{$nickname}}/{{$resource_id}}" method="post" id="photo_edit_form" >
+
+       <input type="hidden" name="item_id" value="{{$item_id}}" />
+       <input id="photo-edit-form-confirm" type="hidden" name="confirm" value="1" />
+
+       <div class="photo-edit-input-text">
+       <label id="photo-edit-albumname-label" for="photo-edit-albumname">{{$newalbum}}</label>
+       <input id="photo-edit-albumname" type="text" size="32" name="albname" value="{{$album}}" />
+       </div>
+
+       <div id="photo-edit-albumname-end"></div>
+
+       <div class="photo-edit-input-text">
+       <label id="photo-edit-caption-label" for="photo-edit-caption">{{$capt_label}}</label>
+       <input id="photo-edit-caption" type="text" size="32" name="desc" value="{{$caption}}" />
+       </div>
+
+       <div id="photo-edit-caption-end"></div>
+
+       <div class="photo-edit-input-text">
+       <label id="photo-edit-tags-label" for="photo-edit-newtag" >{{$tag_label}}</label>
+       <input name="newtag" id="photo-edit-newtag" size="32" title="{{$help_tags}}" type="text" />
+       </div>
+
+       <div id="photo-edit-tags-end"></div>
+
+       <div class="photo-edit-rotate-choice">
+       <label id="photo-edit-rotate-cw-label" for="photo-edit-rotate-cw">{{$rotatecw}}</label>
+       <input id="photo-edit-rotate-cw" class="photo-edit-rotate" type="radio" name="rotate" value="1" /><br />
+       </div>
+
+       <div class="photo-edit-rotate-choice">
+       <label id="photo-edit-rotate-ccw-label" for="photo-edit-rotate-ccw">{{$rotateccw}}</label>
+       <input id="photo-edit-rotate-ccw" class="photo-edit-rotate" type="radio" name="rotate" value="2" />
+       </div>
+       <div id="photo-edit-rotate-end"></div>
+
+       <div id="photo-edit-perms" class="photo-edit-perms" >
+               {{*<!--<a href="#photo-edit-perms-select" id="photo-edit-perms-menu" class="popupbox button" title="{{$permissions}}"/>
+                       <span id="jot-perms-icon" class="icon {{$lockstate}} photo-perms-icon" ></span><div class="photo-jot-perms-text">{{$permissions}}</div>
+               </a>
+               <div id="photo-edit-perms-menu-end"></div>
+               
+               <div style="display: none;">-->*}}
+                       <div id="photo-edit-perms-select" >
+                               {{*<!--{{$aclselect}}-->*}}
+                               {{include file="acl_html_selector.tpl"}}
+                       </div>
+               {{*<!--</div>-->*}}
+       </div>
+       <div id="photo-edit-perms-end"></div>
+
+       <input id="photo-edit-submit-button" type="submit" name="submit" value="{{$submit}}" />
+       <input id="photo-edit-delete-button" type="submit" name="delete" value="{{$delete}}" onclick="return confirmDelete(function(){remove('photo-edit-form-confirm');});" />
+
+       <div id="photo-edit-end"></div>
+</form>
+
+
diff --git a/view/theme/decaf-mobile/smarty3/photo_edit_head.tpl b/view/theme/decaf-mobile/smarty3/photo_edit_head.tpl
new file mode 100644 (file)
index 0000000..740c3b4
--- /dev/null
@@ -0,0 +1,12 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--
+<script>
+       window.prevLink = "{{$prevlink}}";
+       window.nextLink = "{{$nextlink}}";
+       window.photoEdit = true;
+
+</script>-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/photo_view.tpl b/view/theme/decaf-mobile/smarty3/photo_view.tpl
new file mode 100644 (file)
index 0000000..5ccb5fb
--- /dev/null
@@ -0,0 +1,47 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div id="live-display"></div>
+<h3><a href="{{$album.0}}">{{$album.1}}</a></h3>
+
+<div id="photo-edit-link-wrap">
+{{if $tools}}
+<a id="photo-edit-link" href="{{$tools.edit.0}}">{{$tools.edit.1}}</a>
+|
+<a id="photo-toprofile-link" href="{{$tools.profile.0}}">{{$tools.profile.1}}</a>
+{{/if}}
+{{if $lock}} | <img src="images/lock_icon.gif" class="lockview" alt="{{$lock}}" {{*onclick="lockview(event,'photo/{{$id}}');"*}} /> {{/if}}
+</div>
+
+<div id="photo-nav">
+       {{if $prevlink}}<div id="photo-prev-link"><a href="{{$prevlink.0}}"><img src="view/theme/decaf-mobile/images/arrow-left.png"></a></div>{{/if}}
+       {{if $nextlink}}<div id="photo-next-link"><a href="{{$nextlink.0}}"><img src="view/theme/decaf-mobile/images/arrow-right.png"></a></div>{{/if}}
+</div>
+<div id="photo-photo"><a href="{{$photo.href}}" title="{{$photo.title}}"><img src="{{$photo.src}}" /></a></div>
+<div id="photo-photo-end"></div>
+<div id="photo-caption">{{$desc}}</div>
+{{if $tags}}
+<div id="in-this-photo-text">{{$tags.0}}</div>
+<div id="in-this-photo">{{$tags.1}}</div>
+{{/if}}
+{{if $tags.2}}<div id="tag-remove"><a href="{{$tags.2}}">{{$tags.3}}</a></div>{{/if}}
+
+{{if $edit}}
+{{$edit}}
+{{else}}
+
+{{if $likebuttons}}
+<div id="photo-like-div">
+       {{$likebuttons}}
+       {{$like}}
+       {{$dislike}}    
+</div>
+{{/if}}
+
+{{$comments}}
+
+{{$paginate}}
+{{/if}}
+
diff --git a/view/theme/decaf-mobile/smarty3/photos_head.tpl b/view/theme/decaf-mobile/smarty3/photos_head.tpl
new file mode 100644 (file)
index 0000000..c8bfa62
--- /dev/null
@@ -0,0 +1,10 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--
+<script>
+       window.isPublic = "{{$ispublic}}";
+</script>
+-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/photos_upload.tpl b/view/theme/decaf-mobile/smarty3/photos_upload.tpl
new file mode 100644 (file)
index 0000000..9c22448
--- /dev/null
@@ -0,0 +1,56 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<h3>{{$pagename}}</h3>
+
+<div id="photos-usage-message">{{$usage}}</div>
+
+<form action="photos/{{$nickname}}" enctype="multipart/form-data" method="post" name="photos-upload-form" id="photos-upload-form" >
+       <div id="photos-upload-new-wrapper" >
+               <div id="photos-upload-newalbum-div">
+                       <label id="photos-upload-newalbum-text" for="photos-upload-newalbum" >{{$newalbum}}</label>
+               </div>
+               <input id="photos-upload-newalbum" type="text" name="newalbum" />
+       </div>
+       <div id="photos-upload-new-end"></div>
+       <div id="photos-upload-exist-wrapper">
+               <div id="photos-upload-existing-album-text">{{$existalbumtext}}</div>
+               <select id="photos-upload-album-select" name="album">
+               {{$albumselect}}
+               </select>
+       </div>
+       <div id="photos-upload-exist-end"></div>
+
+       {{$default_upload_box}}
+
+       <div id="photos-upload-noshare-div" class="photos-upload-noshare-div" >
+               <input id="photos-upload-noshare" type="checkbox" name="not_visible" value="1" checked />
+               <label id="photos-upload-noshare-text" for="photos-upload-noshare" >{{$nosharetext}}</label>
+       </div>
+
+
+       {{*<!--<div id="photos-upload-perms" class="photos-upload-perms" >
+               <a href="#photos-upload-permissions-wrapper" id="photos-upload-perms-menu" class="button popupbox" />
+               <span id="jot-perms-icon" class="icon {{$lockstate}}" ></span>{{$permissions}}
+               </a>
+       </div>
+       <div id="photos-upload-perms-end"></div>
+
+       <div style="display: none;">-->*}}
+               <div id="photos-upload-permissions-wrapper">
+                       {{*<!--{{$aclselect}}-->*}}
+                       {{include file="acl_html_selector.tpl"}}
+               </div>
+       {{*<!--</div>-->*}}
+
+       <div id="photos-upload-spacer"></div>
+
+       {{$alt_uploader}}
+
+       {{$default_upload_submit}}
+
+       <div class="photos-upload-end" ></div>
+</form>
+
diff --git a/view/theme/decaf-mobile/smarty3/profed_end.tpl b/view/theme/decaf-mobile/smarty3/profed_end.tpl
new file mode 100644 (file)
index 0000000..e9c0354
--- /dev/null
@@ -0,0 +1,13 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--
+<script type="text/javascript" src="js/country.min.js" ></script>
+
+<script language="javascript" type="text/javascript">
+       Fill_Country('{{$country_name}}');
+       Fill_States('{{$region}}');
+</script>
+-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/profed_head.tpl b/view/theme/decaf-mobile/smarty3/profed_head.tpl
new file mode 100644 (file)
index 0000000..c8ce27b
--- /dev/null
@@ -0,0 +1,10 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--
+<script language="javascript" type="text/javascript">
+       window.editSelect = "none";
+</script>
+-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/profile_edit.tpl b/view/theme/decaf-mobile/smarty3/profile_edit.tpl
new file mode 100644 (file)
index 0000000..7583784
--- /dev/null
@@ -0,0 +1,329 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{$default}}
+
+<h1>{{$banner}}</h1>
+
+<div id="profile-edit-links">
+<ul>
+<li><a href="profile/{{$profile_id}}/view?tab=profile" id="profile-edit-view-link" title="{{$viewprof}}">{{$viewprof}}</a></li>
+<li><a href="{{$profile_clone_link}}" id="profile-edit-clone-link" title="{{$cr_prof}}">{{$cl_prof}}</a></li>
+<li></li>
+<li><a href="{{$profile_drop_link}}" id="profile-edit-drop-link" title="{{$del_prof}}" {{$disabled}} >{{$del_prof}}</a></li>
+
+</ul>
+</div>
+
+<div id="profile-edit-links-end"></div>
+
+
+<div id="profile-edit-wrapper" >
+<form id="profile-edit-form" name="form1" action="profiles/{{$profile_id}}" method="post" >
+<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+
+<div id="profile-edit-profile-name-wrapper" >
+<label id="profile-edit-profile-name-label" for="profile-edit-profile-name" >{{$lbl_profname}} </label>
+<input type="text" size="28" name="profile_name" id="profile-edit-profile-name" value="{{$profile_name}}" /><div class="required">*</div>
+</div>
+<div id="profile-edit-profile-name-end"></div>
+
+<div id="profile-edit-name-wrapper" >
+<label id="profile-edit-name-label" for="profile-edit-name" >{{$lbl_fullname}} </label>
+<input type="text" size="28" name="name" id="profile-edit-name" value="{{$name}}" />
+</div>
+<div id="profile-edit-name-end"></div>
+
+<div id="profile-edit-pdesc-wrapper" >
+<label id="profile-edit-pdesc-label" for="profile-edit-pdesc" >{{$lbl_title}} </label>
+<input type="text" size="28" name="pdesc" id="profile-edit-pdesc" value="{{$pdesc}}" />
+</div>
+<div id="profile-edit-pdesc-end"></div>
+
+
+<div id="profile-edit-gender-wrapper" >
+<label id="profile-edit-gender-label" for="gender-select" >{{$lbl_gender}} </label>
+{{$gender}}
+</div>
+<div id="profile-edit-gender-end"></div>
+
+<div id="profile-edit-dob-wrapper" >
+<label id="profile-edit-dob-label" for="dob-select" >{{$lbl_bd}} </label>
+<div id="profile-edit-dob" >
+{{$dob}} {{$age}}
+</div>
+</div>
+<div id="profile-edit-dob-end"></div>
+
+{{$hide_friends}}
+
+<div class="profile-edit-submit-wrapper" >
+<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
+</div>
+<div class="profile-edit-submit-end"></div>
+
+
+<div id="profile-edit-address-wrapper" >
+<label id="profile-edit-address-label" for="profile-edit-address" >{{$lbl_address}} </label>
+<input type="text" size="28" name="address" id="profile-edit-address" value="{{$address}}" />
+</div>
+<div id="profile-edit-address-end"></div>
+
+<div id="profile-edit-locality-wrapper" >
+<label id="profile-edit-locality-label" for="profile-edit-locality" >{{$lbl_city}} </label>
+<input type="text" size="28" name="locality" id="profile-edit-locality" value="{{$locality}}" />
+</div>
+<div id="profile-edit-locality-end"></div>
+
+
+<div id="profile-edit-postal-code-wrapper" >
+<label id="profile-edit-postal-code-label" for="profile-edit-postal-code" >{{$lbl_zip}} </label>
+<input type="text" size="28" name="postal_code" id="profile-edit-postal-code" value="{{$postal_code}}" />
+</div>
+<div id="profile-edit-postal-code-end"></div>
+
+<div id="profile-edit-country-name-wrapper" >
+<label id="profile-edit-country-name-label" for="profile-edit-country-name" >{{$lbl_country}} </label>
+<input type="text" size="28" name="country_name" id="profile-edit-country-name" value="{{$country_name}}" />
+{{*<!--<select name="country_name" id="profile-edit-country-name" onChange="Fill_States('{{$region}}');">
+<option selected="selected" >{{$country_name}}</option>
+<option>temp</option>
+</select>-->*}}
+</div>
+<div id="profile-edit-country-name-end"></div>
+
+<div id="profile-edit-region-wrapper" >
+<label id="profile-edit-region-label" for="profile-edit-region" >{{$lbl_region}} </label>
+<input type="text" size="28" name="region" id="profile-edit-region" value="{{$region}}" />
+{{*<!--<select name="region" id="profile-edit-region" onChange="Update_Globals();" >
+<option selected="selected" >{{$region}}</option>
+<option>temp</option>
+</select>-->*}}
+</div>
+<div id="profile-edit-region-end"></div>
+
+<div id="profile-edit-hometown-wrapper" >
+<label id="profile-edit-hometown-label" for="profile-edit-hometown" >{{$lbl_hometown}} </label>
+<input type="text" size="28" name="hometown" id="profile-edit-hometown" value="{{$hometown}}" />
+</div>
+<div id="profile-edit-hometown-end"></div>
+
+<div class="profile-edit-submit-wrapper" >
+<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
+</div>
+<div class="profile-edit-submit-end"></div>
+
+<div id="profile-edit-marital-wrapper" >
+<label id="profile-edit-marital-label" for="profile-edit-marital" >{{$lbl_marital}} </label>
+{{$marital}}
+</div>
+<label id="profile-edit-with-label" for="profile-edit-with" > {{$lbl_with}} </label>
+<input type="text" size="28" name="with" id="profile-edit-with" title="{{$lbl_ex1}}" value="{{$with}}" />
+<label id="profile-edit-howlong-label" for="profile-edit-howlong" > {{$lbl_howlong}} </label>
+<input type="text" size="28" name="howlong" id="profile-edit-howlong" title="{{$lbl_howlong}}" value="{{$howlong}}" />
+
+<div id="profile-edit-marital-end"></div>
+
+<div id="profile-edit-sexual-wrapper" >
+<label id="profile-edit-sexual-label" for="sexual-select" >{{$lbl_sexual}} </label>
+{{$sexual}}
+</div>
+<div id="profile-edit-sexual-end"></div>
+
+
+
+<div id="profile-edit-homepage-wrapper" >
+<label id="profile-edit-homepage-label" for="profile-edit-homepage" >{{$lbl_homepage}} </label>
+<input type="text" size="28" name="homepage" id="profile-edit-homepage" value="{{$homepage}}" />
+</div>
+<div id="profile-edit-homepage-end"></div>
+
+<div id="profile-edit-politic-wrapper" >
+<label id="profile-edit-politic-label" for="profile-edit-politic" >{{$lbl_politic}} </label>
+<input type="text" size="28" name="politic" id="profile-edit-politic" value="{{$politic}}" />
+</div>
+<div id="profile-edit-politic-end"></div>
+
+<div id="profile-edit-religion-wrapper" >
+<label id="profile-edit-religion-label" for="profile-edit-religion" >{{$lbl_religion}} </label>
+<input type="text" size="28" name="religion" id="profile-edit-religion" value="{{$religion}}" />
+</div>
+<div id="profile-edit-religion-end"></div>
+
+<div id="profile-edit-pubkeywords-wrapper" >
+<label id="profile-edit-pubkeywords-label" for="profile-edit-pubkeywords" >{{$lbl_pubkey}} </label>
+<input type="text" size="28" name="pub_keywords" id="profile-edit-pubkeywords" title="{{$lbl_ex2}}" value="{{$pub_keywords}}" />
+</div><div id="profile-edit-pubkeywords-desc">{{$lbl_pubdsc}}</div>
+<div id="profile-edit-pubkeywords-end"></div>
+
+<div id="profile-edit-prvkeywords-wrapper" >
+<label id="profile-edit-prvkeywords-label" for="profile-edit-prvkeywords" >{{$lbl_prvkey}} </label>
+<input type="text" size="28" name="prv_keywords" id="profile-edit-prvkeywords" title="{{$lbl_ex2}}" value="{{$prv_keywords}}" />
+</div><div id="profile-edit-prvkeywords-desc">{{$lbl_prvdsc}}</div>
+<div id="profile-edit-prvkeywords-end"></div>
+
+
+<div class="profile-edit-submit-wrapper" >
+<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
+</div>
+<div class="profile-edit-submit-end"></div>
+
+<div id="about-jot-wrapper" class="profile-jot-box">
+<p id="about-jot-desc" >
+{{$lbl_about}}
+</p>
+
+<textarea rows="10" cols="30" id="profile-about-text" class="profile-edit-textarea" name="about" >{{$about}}</textarea>
+
+</div>
+<div id="about-jot-end"></div>
+
+
+<div id="interest-jot-wrapper" class="profile-jot-box" >
+<p id="interest-jot-desc" >
+{{$lbl_hobbies}}
+</p>
+
+<textarea rows="10" cols="30" id="interest-jot-text" class="profile-edit-textarea" name="interest" >{{$interest}}</textarea>
+
+</div>
+<div id="interest-jot-end"></div>
+
+
+<div id="likes-jot-wrapper" class="profile-jot-box" >
+<p id="likes-jot-desc" >
+{{$lbl_likes}}
+</p>
+
+<textarea rows="10" cols="30" id="likes-jot-text" class="profile-edit-textarea" name="likes" >{{$likes}}</textarea>
+
+</div>
+<div id="likes-jot-end"></div>
+
+
+<div id="dislikes-jot-wrapper" class="profile-jot-box" >
+<p id="dislikes-jot-desc" >
+{{$lbl_dislikes}}
+</p>
+
+<textarea rows="10" cols="30" id="dislikes-jot-text" class="profile-edit-textarea" name="dislikes" >{{$dislikes}}</textarea>
+
+</div>
+<div id="dislikes-jot-end"></div>
+
+
+<div id="contact-jot-wrapper" class="profile-jot-box" >
+<p id="contact-jot-desc" >
+{{$lbl_social}}
+</p>
+
+<textarea rows="10" cols="30" id="contact-jot-text" class="profile-edit-textarea" name="contact" >{{$contact}}</textarea>
+
+</div>
+<div id="contact-jot-end"></div>
+
+
+<div class="profile-edit-submit-wrapper" >
+<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
+</div>
+<div class="profile-edit-submit-end"></div>
+
+
+<div id="music-jot-wrapper" class="profile-jot-box" >
+<p id="music-jot-desc" >
+{{$lbl_music}}
+</p>
+
+<textarea rows="10" cols="30" id="music-jot-text" class="profile-edit-textarea" name="music" >{{$music}}</textarea>
+
+</div>
+<div id="music-jot-end"></div>
+
+<div id="book-jot-wrapper" class="profile-jot-box" >
+<p id="book-jot-desc" >
+{{$lbl_book}}
+</p>
+
+<textarea rows="10" cols="30" id="book-jot-text" class="profile-edit-textarea" name="book" >{{$book}}</textarea>
+
+</div>
+<div id="book-jot-end"></div>
+
+
+
+<div id="tv-jot-wrapper" class="profile-jot-box" >
+<p id="tv-jot-desc" >
+{{$lbl_tv}} 
+</p>
+
+<textarea rows="10" cols="30" id="tv-jot-text" class="profile-edit-textarea" name="tv" >{{$tv}}</textarea>
+
+</div>
+<div id="tv-jot-end"></div>
+
+
+
+<div id="film-jot-wrapper" class="profile-jot-box" >
+<p id="film-jot-desc" >
+{{$lbl_film}}
+</p>
+
+<textarea rows="10" cols="30" id="film-jot-text" class="profile-edit-textarea" name="film" >{{$film}}</textarea>
+
+</div>
+<div id="film-jot-end"></div>
+
+
+<div class="profile-edit-submit-wrapper" >
+<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
+</div>
+<div class="profile-edit-submit-end"></div>
+
+
+<div id="romance-jot-wrapper" class="profile-jot-box" >
+<p id="romance-jot-desc" >
+{{$lbl_love}}
+</p>
+
+<textarea rows="10" cols="30" id="romance-jot-text" class="profile-edit-textarea" name="romance" >{{$romance}}</textarea>
+
+</div>
+<div id="romance-jot-end"></div>
+
+
+
+<div id="work-jot-wrapper" class="profile-jot-box" >
+<p id="work-jot-desc" >
+{{$lbl_work}}
+</p>
+
+<textarea rows="10" cols="30" id="work-jot-text" class="profile-edit-textarea" name="work" >{{$work}}</textarea>
+
+</div>
+<div id="work-jot-end"></div>
+
+
+
+<div id="education-jot-wrapper" class="profile-jot-box" >
+<p id="education-jot-desc" >
+{{$lbl_school}} 
+</p>
+
+<textarea rows="10" cols="30" id="education-jot-text" class="profile-edit-textarea" name="education" >{{$education}}</textarea>
+
+</div>
+<div id="education-jot-end"></div>
+
+
+
+<div class="profile-edit-submit-wrapper" >
+<input type="submit" name="submit" class="profile-edit-submit-button" value="{{$submit}}" />
+</div>
+<div class="profile-edit-submit-end"></div>
+
+
+</form>
+</div>
+
diff --git a/view/theme/decaf-mobile/smarty3/profile_photo.tpl b/view/theme/decaf-mobile/smarty3/profile_photo.tpl
new file mode 100644 (file)
index 0000000..6bcb3cf
--- /dev/null
@@ -0,0 +1,24 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<h1>{{$title}}</h1>
+
+<form enctype="multipart/form-data" action="profile_photo" method="post">
+<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+
+<div id="profile-photo-upload-wrapper">
+<label id="profile-photo-upload-label" for="profile-photo-upload">{{$lbl_upfile}} </label>
+<input name="userfile" type="file" id="profile-photo-upload" size="25" />
+</div>
+
+<div id="profile-photo-submit-wrapper">
+<input type="submit" name="submit" id="profile-photo-submit" value="{{$submit}}">
+</div>
+
+</form>
+
+<div id="profile-photo-link-select-wrapper">
+{{$select}}
+</div>
diff --git a/view/theme/decaf-mobile/smarty3/profile_vcard.tpl b/view/theme/decaf-mobile/smarty3/profile_vcard.tpl
new file mode 100644 (file)
index 0000000..85c6345
--- /dev/null
@@ -0,0 +1,56 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div class="vcard">
+
+       <div class="fn label">{{$profile.name}}</div>
+       
+                               
+       
+       {{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
+       <div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}"></div>
+
+
+
+       {{if $location}}
+               <dl class="location"><dt class="location-label">{{$location}}</dt> 
+               <dd class="adr">
+                       {{if $profile.address}}<div class="street-address">{{$profile.address}}</div>{{/if}}
+                       <span class="city-state-zip">
+                               <span class="locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
+                               <span class="region">{{$profile.region}}</span>
+                               <span class="postal-code">{{$profile.postal_code}}</span>
+                       </span>
+                       {{if $profile.country_name}}<span class="country-name">{{$profile.country_name}}</span>{{/if}}
+               </dd>
+               </dl>
+       {{/if}}
+
+       {{if $gender}}<dl class="mf"><dt class="gender-label">{{$gender}}</dt> <dd class="x-gender">{{$profile.gender}}</dd></dl>{{/if}}
+       
+       {{if $profile.pubkey}}<div class="key" style="display:none;">{{$profile.pubkey}}</div>{{/if}}
+
+       {{if $marital}}<dl class="marital"><dt class="marital-label"><span class="heart">&hearts;</span>{{$marital}}</dt><dd class="marital-text">{{$profile.marital}}</dd></dl>{{/if}}
+
+       {{if $homepage}}<dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt><dd class="homepage-url"><a href="{{$profile.homepage}}" target="external-link">{{$profile.homepage}}</a></dd></dl>{{/if}}
+
+       {{include file="diaspora_vcard.tpl"}}
+
+       <div id="profile-vcard-break"></div>    
+       <div id="profile-extra-links">
+               <ul>
+                       {{if $connect}}
+                               <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
+                       {{/if}}
+                       {{if $wallmessage}}
+                               <li><a id="wallmessage-link" href="wallmessage/{{$profile.nickname}}">{{$wallmessage}}</a></li>
+                       {{/if}}
+               </ul>
+       </div>
+</div>
+
+{{$contact_block}}
+
+
diff --git a/view/theme/decaf-mobile/smarty3/prv_message.tpl b/view/theme/decaf-mobile/smarty3/prv_message.tpl
new file mode 100644 (file)
index 0000000..6372d30
--- /dev/null
@@ -0,0 +1,48 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+
+<h3>{{$header}}</h3>
+
+<div id="prvmail-wrapper" >
+<form id="prvmail-form" action="message" method="post" >
+
+{{$parent}}
+
+<div id="prvmail-to-label">{{$to}}</div>
+
+{{if $showinputs}}
+<input type="text" id="recip" name="messageto" value="{{$prefill}}" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="{{$preid}}">
+{{else}}
+{{$select}}
+{{/if}}
+
+<div id="prvmail-subject-label">{{$subject}}</div>
+<input type="text" size="28" maxlength="255" id="prvmail-subject" name="subject" value="{{$subjtxt}}" {{$readonly}} tabindex="11" />
+
+<div id="prvmail-message-label">{{$yourmessage}}</div>
+<textarea rows="8" cols="32" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$text}}</textarea>
+
+
+<div id="prvmail-submit-wrapper" >
+       <input type="submit" id="prvmail-submit" name="submit" value="{{$submit}}" tabindex="13" />
+       <div id="prvmail-upload-wrapper"  style="display: none;">
+               <div id="prvmail-upload" class="icon border camera" title="{{$upload}}" ></div>
+       </div> 
+       {{*<!--<div id="prvmail-link-wrapper" >
+               <div id="prvmail-link" class="icon border link" title="{{$insert}}" onclick="jotGetLink();" ></div>
+       </div>-->*}} 
+       <div id="prvmail-rotator-wrapper" >
+               <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
+       </div> 
+</div>
+<div id="prvmail-end"></div>
+</form>
+</div>
+
+<script>
+document.getElementById('prvmail-upload-wrapper').style.display = "inherit";
+</script>
diff --git a/view/theme/decaf-mobile/smarty3/register.tpl b/view/theme/decaf-mobile/smarty3/register.tpl
new file mode 100644 (file)
index 0000000..7dd8c77
--- /dev/null
@@ -0,0 +1,85 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div class='register-form'>
+<h2>{{$regtitle}}</h2>
+<br />
+
+<form action="register" method="post" id="register-form">
+
+       <input type="hidden" name="photo" value="{{$photo}}" />
+
+       {{$registertext}}
+
+       <p id="register-realpeople">{{$realpeople}}</p>
+
+       <br />
+{{if $oidlabel}}
+       <div id="register-openid-wrapper" >
+       <label for="register-openid" id="label-register-openid" >{{$oidlabel}}</label><input    type="text" maxlength="60" size="32" name="openid_url" class="openid" id="register-openid" value="{{$openid}}" >
+       </div>
+       <div id="register-openid-end" ></div>
+{{/if}}
+
+       <div class="register-explain-wrapper">
+       <p id="register-fill-desc">{{$fillwith}} {{$fillext}}</p>
+       </div>
+
+       <br /><br />
+
+{{if $invitations}}
+
+       <p id="register-invite-desc">{{$invite_desc}}</p>
+       <div id="register-invite-wrapper" >
+               <label for="register-invite" id="label-register-invite" >{{$invite_label}}</label>
+               <input type="text" maxlength="60" size="32" name="invite_id" id="register-invite" value="{{$invite_id}}" >
+       </div>
+       <div id="register-name-end" ></div>
+
+{{/if}}
+
+
+       <div id="register-name-wrapper" class="field input" >
+               <label for="register-name" id="label-register-name" >{{$namelabel}}</label><br />
+               <input type="text" maxlength="60" size="32" name="username" id="register-name" value="{{$username}}" >
+       </div>
+       <div id="register-name-end" ></div>
+
+
+       <div id="register-email-wrapper"  class="field input" >
+               <label for="register-email" id="label-register-email" >{{$addrlabel}}</label><br />
+               <input type="text" maxlength="60" size="32" name="email" id="register-email" value="{{$email}}" >
+       </div>
+       <div id="register-email-end" ></div>
+
+       <div id="register-nickname-wrapper" class="field input" >
+               <label for="register-nickname" id="label-register-nickname" >{{$nicklabel}}</label><br />
+               <input type="text" maxlength="60" size="32" name="nickname" id="register-nickname" value="{{$nickname}}" >
+       </div>
+       <div id="register-nickname-end" ></div>
+
+       <div class="register-explain-wrapper">
+       <p id="register-nickname-desc" >{{$nickdesc}}</p>
+       </div>
+
+       {{$publish}}
+
+       <div id="register-footer">
+       <div class="agreement">
+       By clicking '{{$regbutt}}' you are agreeing to the latest <a href="tos.html" title="{{$tostitle}}" id="terms-of-service-link" >{{$toslink}}</a> and <a href="privacy.html" title="{{$privacytitle}}" id="privacy-link" >{{$privacylink}}</a>
+       </div>
+       <br />
+
+       <div id="register-submit-wrapper">
+               <input type="submit" name="submit" id="register-submit-button" value="{{$regbutt}}" />
+       </div>
+       <div id="register-submit-end" ></div>
+       </div>
+</form>
+<br /><br /><br />
+
+{{$license}}
+
+</div>
diff --git a/view/theme/decaf-mobile/smarty3/search_item.tpl b/view/theme/decaf-mobile/smarty3/search_item.tpl
new file mode 100644 (file)
index 0000000..a6da44d
--- /dev/null
@@ -0,0 +1,69 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<a name="{{$item.id}}" ></a>
+{{*<!--<div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}}" 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-info" id="wall-item-info-{{$item.id}}">
+                       {{*<!--<div class="wall-item-photo-wrapper" 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-wrapper" id="wall-item-wrapper-{{$item.id}}" >
+                               {{if $item.lock}}{{*<!--<div class="wall-item-lock">-->*}}<img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="{{$item.lock}}" {{*onclick="lockview(event,{{$item.id}});" *}}/>{{*<!--</div>-->*}}
+                               {{else}}<div class="wall-item-lock"></div>{{/if}}       
+                               <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div>
+                       </div>
+               </div>
+               {{*<!--<div class="wall-item-author">-->*}}
+                               <a href="{{$item.profile_url}}" target="redir" 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}}" title="{{$item.localtime}}">{{$item.ago}}</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>
+                       {{if $item.has_cats}}
+                       <div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}}{{if $cat.removeurl}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a>{{/if}} {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
+                       </div>
+                       {{/if}}
+
+                       {{if $item.has_folders}}
+                       <div class="filesavetags"><span>{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}}{{if $cat.removeurl}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a>{{/if}}{{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
+                       </div>
+                       {{/if}}
+               </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}}?confirm=1" onclick="id=this.id;return confirmDelete(function(){changeHref(id, 'item/drop/{{$item.id}}')});" class="wall-item-delete-wrapper icon drophide" title="{{$item.drop.delete}}" id="wall-item-delete-wrapper-{{$item.id}}" {{*onmouseover="imgbright(this);" onmouseout="imgdull(this);"*}} ></a>{{/if}}
+                       {{*<!--</div>-->*}}
+                               {{*<!--{{if $item.drop.pagedrop}}<input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}}-->*}}
+                       {{*<!--<div class="wall-item-delete-end"></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>
+       {{/if}}
+       </div>
+
+{{*<!--<div class="wall-item-outside-wrapper-end {{$item.indent}}" ></div>-->*}}
+
+{{*<!--</div>-->*}}
+
+
diff --git a/view/theme/decaf-mobile/smarty3/settings-head.tpl b/view/theme/decaf-mobile/smarty3/settings-head.tpl
new file mode 100644 (file)
index 0000000..c8bfa62
--- /dev/null
@@ -0,0 +1,10 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{*<!--
+<script>
+       window.isPublic = "{{$ispublic}}";
+</script>
+-->*}}
diff --git a/view/theme/decaf-mobile/smarty3/settings.tpl b/view/theme/decaf-mobile/smarty3/settings.tpl
new file mode 100644 (file)
index 0000000..d702cd7
--- /dev/null
@@ -0,0 +1,153 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<h1>{{$ptitle}}</h1>
+
+{{$nickname_block}}
+
+<form action="settings" id="settings-form" method="post" autocomplete="off" >
+<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+
+<h3 class="settings-heading">{{$h_pass}}</h3>
+
+{{include file="field_password.tpl" field=$password1}}
+{{include file="field_password.tpl" field=$password2}}
+
+{{if $oid_enable}}
+{{include file="field_input.tpl" field=$openid}}
+{{/if}}
+
+<div class="settings-submit-wrapper" >
+<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" />
+</div>
+
+
+<h3 class="settings-heading">{{$h_basic}}</h3>
+
+{{include file="field_input.tpl" field=$username}}
+{{include file="field_input.tpl" field=$email}}
+{{include file="field_custom.tpl" field=$timezone}}
+{{include file="field_input.tpl" field=$defloc}}
+{{include file="field_checkbox.tpl" field=$allowloc}}
+
+
+<div class="settings-submit-wrapper" >
+<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" />
+</div>
+
+
+<h3 class="settings-heading">{{$h_prv}}</h3>
+
+
+<input type="hidden" name="visibility" value="{{$visibility}}" />
+
+{{include file="field_input.tpl" field=$maxreq}}
+
+{{$profile_in_dir}}
+
+{{$profile_in_net_dir}}
+
+{{$hide_friends}}
+
+{{$hide_wall}}
+
+{{$blockwall}}
+
+{{$blocktags}}
+
+{{$suggestme}}
+
+{{$unkmail}}
+
+
+{{include file="field_input.tpl" field=$cntunkmail}}
+
+{{include file="field_input.tpl" field=$expire.days}}
+
+
+<div class="field input">
+       <span class="field_help"><a href="#advanced-expire-popup" id="advanced-expire" class='popupbox' title="{{$expire.advanced}}">{{$expire.label}}</a></span>
+       <div style="display: none;">
+               <div id="advanced-expire-popup" style="width:auto;height:auto;overflow:auto;">
+                       <h3>{{$expire.advanced}}</h3>
+                       {{include file="field_yesno.tpl" field=$expire.items}}
+                       {{include file="field_yesno.tpl" field=$expire.notes}}
+                       {{include file="field_yesno.tpl" field=$expire.starred}}
+                       {{include file="field_yesno.tpl" field=$expire.network_only}}
+               </div>
+       </div>
+
+</div>
+
+
+<div id="settings-perms-wrapper" class="field">
+<label for="settings-default-perms">{{$settings_perms}}</label><br/>
+<div id="settings-default-perms" class="settings-default-perms" >
+{{*<!--        <a href="#settings-jot-acl-wrapper" id="settings-default-perms-menu" class='popupbox'>{{$permissions}} {{$permdesc}}</a>
+       <div id="settings-default-perms-menu-end"></div>
+
+       <div id="settings-default-perms-select" style="display: none; margin-bottom: 20px" >
+       
+       <div style="display: none;">-->*}}
+               <div id="settings-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;margin-bottom: 20px">
+                       {{*<!--{{$aclselect}}-->*}}
+                       {{include file="acl_html_selector.tpl"}}
+               </div>
+{{*<!--        </div>
+
+       </div>-->*}}
+</div>
+</div>
+<br/>
+<div id="settings-default-perms-end"></div>
+
+{{$group_select}}
+
+
+<div class="settings-submit-wrapper" >
+<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" />
+</div>
+
+
+
+<h3 class="settings-heading">{{$h_not}}</h3>
+<div id="settings-notifications">
+
+<div id="settings-activity-desc">{{$activity_options}}</div>
+
+{{include file="field_checkbox.tpl" field=$post_newfriend}}
+{{include file="field_checkbox.tpl" field=$post_joingroup}}
+{{include file="field_checkbox.tpl" field=$post_profilechange}}
+
+
+<div id="settings-notify-desc">{{$lbl_not}}</div>
+
+<div class="group">
+{{include file="field_intcheckbox.tpl" field=$notify1}}
+{{include file="field_intcheckbox.tpl" field=$notify2}}
+{{include file="field_intcheckbox.tpl" field=$notify3}}
+{{include file="field_intcheckbox.tpl" field=$notify4}}
+{{include file="field_intcheckbox.tpl" field=$notify5}}
+{{include file="field_intcheckbox.tpl" field=$notify6}}
+{{include file="field_intcheckbox.tpl" field=$notify7}}
+</div>
+
+</div>
+
+<div class="settings-submit-wrapper" >
+<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" />
+</div>
+
+
+<h3 class="settings-heading">{{$h_advn}}</h3>
+<div id="settings-pagetype-desc">{{$h_descadvn}}</div>
+
+{{$pagetype}}
+
+<div class="settings-submit-wrapper" >
+<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" />
+</div>
+
+
diff --git a/view/theme/decaf-mobile/smarty3/settings_display_end.tpl b/view/theme/decaf-mobile/smarty3/settings_display_end.tpl
new file mode 100644 (file)
index 0000000..4b3db00
--- /dev/null
@@ -0,0 +1,7 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+       <script>$j(function(){ previewTheme($j("#id_{{$theme.0}}")[0]); });</script>
+
diff --git a/view/theme/decaf-mobile/smarty3/suggest_friends.tpl b/view/theme/decaf-mobile/smarty3/suggest_friends.tpl
new file mode 100644 (file)
index 0000000..7221dc6
--- /dev/null
@@ -0,0 +1,21 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div class="profile-match-wrapper">
+       <div class="profile-match-photo">
+               <a href="{{$url}}">
+                       <img src="{{$photo}}" alt="{{$name}}" width="80" height="80" title="{{$name}} [{{$url}}]" onError="this.src='../../../images/person-48.jpg';" />
+               </a>
+       </div>
+       <div class="profile-match-break"></div>
+       <div class="profile-match-name">
+               <a href="{{$url}}" title="{{$name}}">{{$name}}</a>
+       </div>
+       <div class="profile-match-end"></div>
+       {{if $connlnk}}
+       <div class="profile-match-connect"><a href="{{$connlnk}}" title="{{$conntxt}}">{{$conntxt}}</a></div>
+       {{/if}}
+       <a href="{{$ignlnk}}&confirm=1" title="{{$ignore}}" class="icon drophide profile-match-ignore" id="profile-match-drop-{{$ignid}}" {{*onmouseout="imgdull(this);" onmouseover="imgbright(this);"*}} onclick="id=this.id;return confirmDelete(function(){changeHref(id, '{{$ignlnk}}')});" ></a>
+</div>
diff --git a/view/theme/decaf-mobile/smarty3/threaded_conversation.tpl b/view/theme/decaf-mobile/smarty3/threaded_conversation.tpl
new file mode 100644 (file)
index 0000000..e90caf5
--- /dev/null
@@ -0,0 +1,17 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+{{$live_update}}
+
+{{foreach $threads as $thread}}
+{{if $mode == display}}
+{{include file="{{$thread.template}}" item=$thread}}
+{{else}}
+{{include file="wall_thread_toponly.tpl" item=$thread}}
+{{/if}}
+{{/foreach}}
+
+<div id="conversation-end"></div>
+
diff --git a/view/theme/decaf-mobile/smarty3/voting_fakelink.tpl b/view/theme/decaf-mobile/smarty3/voting_fakelink.tpl
new file mode 100644 (file)
index 0000000..1e07391
--- /dev/null
@@ -0,0 +1,6 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<span class="fakelink-wrapper"  id="{{$type}}list-{{$id}}-wrapper">{{$phrase}}</span>
diff --git a/view/theme/decaf-mobile/smarty3/wall_thread.tpl b/view/theme/decaf-mobile/smarty3/wall_thread.tpl
new file mode 100644 (file)
index 0000000..97769f3
--- /dev/null
@@ -0,0 +1,125 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<div id="tread-wrapper-{{$item.id}}" class="tread-wrapper {{$item.toplevel}}">
+<a name="{{$item.id}}" ></a>
+{{*<!--<div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}} wallwall" 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-info{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-info-{{$item.id}}">
+                       {{if $item.owner_url}}
+                       <div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" >
+                               <a href="{{$item.owner_url}}" target="redir" title="{{$item.olinktitle}}" class="wall-item-photo-link" id="wall-item-ownerphoto-link-{{$item.id}}">
+                               <img src="{{$item.owner_photo}}" class="wall-item-photo{{$item.osparkle}}" id="wall-item-ownerphoto-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.owner_name}}" onError="this.src='../../../images/person-48.jpg';" />
+                               </a>
+                       </div>
+                       <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="{{$item.wall}}" /></div>
+                       {{/if}}
+                       {{*<!--<div class="wall-item-photo-wrapper wwfrom" 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)">-->*}}
+                       {{*<!--<div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}}" id="wall-item-photo-wrapper-{{$item.id}}">-->*}}
+                               <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}}" onError="this.src='../../../images/person-48.jpg';" />
+                               </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 class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}">
+                        {{$item.item_photo_menu}}
+                    </ul>
+                </div>-->*}}
+
+                       {{*<!--</div>-->*}}
+                       {{*<!--<div class="wall-item-photo-end"></div>-->*}}
+                       <div class="wall-item-wrapper" id="wall-item-wrapper-{{$item.id}}" >
+                               {{if $item.lock}}{{*<!--<div class="wall-item-lock">-->*}}<img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="{{$item.lock}}" {{*onclick="lockview(event,{{$item.id}});"*}} />{{*<!--</div>-->*}}
+                               {{else}}<div class="wall-item-lock"></div>{{/if}}       
+                               <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div>
+                       </div>
+               </div>
+               {{*<!--<div class="wall-item-author">-->*}}
+                               <a href="{{$item.profile_url}}" target="redir" 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>{{if $item.owner_url}} {{$item.to}} <a href="{{$item.owner_url}}" target="redir" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span></a> {{$item.vwall}}{{/if}}<br />
+                               <div class="wall-item-ago"  id="wall-item-ago-{{$item.id}}">{{$item.ago}}</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 class="body-tag">-->*}}
+                                               {{foreach $item.tags as $tag}}
+                                                       <span class='body-tag tag'>{{$tag}}</span>
+                                               {{/foreach}}
+                                       {{*<!--</div>-->*}}
+                       {{if $item.has_cats}}
+                       <div class="categorytags">{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
+                       </div>
+                       {{/if}}
+
+                       {{if $item.has_folders}}
+                       <div class="filesavetags">{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
+                       </div>
+                       {{/if}}
+                       </div>
+               </div>
+               <div class="wall-item-tools" id="wall-item-tools-{{$item.id}}">
+                       {{if $item.vote}}
+                       <div class="wall-item-like-buttons" id="wall-item-like-buttons-{{$item.id}}">
+                               <a href="like/{{$item.id}}?verb=like&return={{$return_path}}#{{$item.id}}" class="icon like" title="{{$item.vote.like.0}}" ></a>
+                               {{if $item.vote.dislike}}
+                               <a href="like/{{$item.id}}?verb=dislike&return={{$return_path}}#{{$item.id}}" class="icon dislike" title="{{$item.vote.dislike.0}}" ></a>
+                               {{/if}}
+                               {{*<!--{{if $item.vote.share}}<a href="#" class="icon recycle wall-item-share-buttons" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"></a>{{/if}}-->*}}
+                               <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
+                       </div>
+                       {{/if}}
+                       {{if $item.plink}}
+                               {{*<!--<div class="wall-item-links-wrapper">-->*}}<a href="{{$item.plink.href}}" title="{{$item.plink.title}}" target="external-link" class="wall-item-links-wrapper icon remote-link{{$item.sparkle}}"></a>{{*<!--</div>-->*}}
+                       {{/if}}
+                       {{if $item.edpost}}
+                               <a class="editpost icon pencil" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a>
+                       {{/if}}
+                        
+                       {{if $item.star}}
+                       <a href="starred/{{$item.id}}?return={{$return_path}}#{{$item.id}}" id="starred-{{$item.id}}" class="star-item icon {{$item.isstarred}}" title="{{$item.star.toggle}}"></a>
+                       {{/if}}
+                       {{*<!--{{if $item.tagger}}
+                       <a href="#" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="tag-item icon tagged" title="{{$item.tagger.add}}"></a>
+                       {{/if}}-->*}}
+                       {{*<!--{{if $item.filer}}
+                       <a href="#" id="filer-{{$item.id}}" onclick="itemFiler({{$item.id}}); return false;" class="filer-item filer-icon" title="{{$item.filer}}"></a>
+                       {{/if}}                 -->*}}
+                       
+                       {{*<!--<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" >-->*}}
+                               {{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}?confirm=1" onclick="id=this.id;return confirmDelete(function(){changeHref(id, 'item/drop/{{$item.id}}')});" class="wall-item-delete-wrapper icon drophide" title="{{$item.drop.delete}}" id="wall-item-delete-wrapper-{{$item.id}}" {{*onmouseover="imgbright(this);" onmouseout="imgdull(this);"*}} ></a>{{/if}}
+                       {{*<!--</div>-->*}}
+                               {{*<!--{{if $item.drop.pagedrop}}<input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}}-->*}}
+                       {{*<!--<div class="wall-item-delete-end"></div>-->*}}
+               </div>
+       </div>  
+       {{*<!--<div class="wall-item-wrapper-end"></div>-->*}}
+       <div class="wall-item-like wall-item-like-full {{$item.indent}}" id="wall-item-like-{{$item.id}}">{{$item.like}}</div>
+       <div class="wall-item-dislike wall-item-dislike-full {{$item.indent}}" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div>
+       <div class="wall-item-boring wall-item-boring-full {{$item.indent}}" id="wall-item-boring-{{$item.id}}">{{$item.boring}}</div>
+
+       {{if $item.threaded}}
+       {{if $item.comment}}
+       {{*<!--<div class="wall-item-comment-wrapper {{$item.indent}}" >-->*}}
+               {{$item.comment}}
+       {{*<!--</div>-->*}}
+       {{/if}}
+       {{/if}}
+
+{{*<!--<div class="wall-item-outside-wrapper-end {{$item.indent}}" ></div>-->*}}
+{{*<!--</div>-->*}}
+{{foreach $item.children as $child}}
+       {{include file="{{$child.template}}" item=$child}}
+{{/foreach}}
+
+{{if $item.flatten}}
+{{*<!--<div class="wall-item-comment-wrapper" >-->*}}
+       {{$item.comment}}
+{{*<!--</div>-->*}}
+{{/if}}
+</div>
+
diff --git a/view/theme/decaf-mobile/smarty3/wall_thread_toponly.tpl b/view/theme/decaf-mobile/smarty3/wall_thread_toponly.tpl
new file mode 100644 (file)
index 0000000..6a4da1a
--- /dev/null
@@ -0,0 +1,107 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<!--{{if $item.comment_firstcollapsed}}
+       <div class="hide-comments-outer">
+       <span id="hide-comments-total-{{$item.id}}" class="hide-comments-total">{{$item.num_comments}}</span> <span id="hide-comments-{{$item.id}}" class="hide-comments fakelink" onclick="showHideComments({{$item.id}});">{{$item.hide_text}}</span>
+       </div>
+       <div id="collapsed-comments-{{$item.id}}" class="collapsed-comments" style="display: none;">
+{{/if}}-->
+<div id="tread-wrapper-{{$item.id}}" class="tread-wrapper {{$item.toplevel}}">
+<a name="{{$item.id}}" ></a>
+       <div class="wall-item-content-wrapper {{$item.indent}}" id="wall-item-content-wrapper-{{$item.id}}" >
+               <div class="wall-item-info{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-info-{{$item.id}}">
+                       {{if $item.owner_url}}
+                       <div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" >
+                               <a href="{{$item.owner_url}}" target="redir" title="{{$item.olinktitle}}" class="wall-item-photo-link" id="wall-item-ownerphoto-link-{{$item.id}}">
+                               <img src="{{$item.owner_photo}}" class="wall-item-photo{{$item.osparkle}}" id="wall-item-ownerphoto-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.owner_name}}" onError="this.src='../../../images/person-48.jpg';" />
+                               </a>
+                       </div>
+                       <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="{{$item.wall}}" /></div>
+                       {{/if}}
+                               <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}}" onError="this.src='../../../images/person-48.jpg';" />
+                               </a>
+
+                       <div class="wall-item-wrapper" id="wall-item-wrapper-{{$item.id}}" >
+                               {{if $item.lock}}<img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="{{$item.lock}}" {{*onclick="lockview(event,{{$item.id}});"*}} />
+                               {{else}}<div class="wall-item-lock"></div>{{/if}}       
+                               <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{$item.location}}</div>
+                       </div>
+               </div>
+                               <a href="{{$item.profile_url}}" target="redir" 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>{{if $item.owner_url}} {{$item.to}} <a href="{{$item.owner_url}}" target="redir" title="{{$item.olinktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.osparkle}}" id="wall-item-ownername-{{$item.id}}">{{$item.owner_name}}</span></a> {{$item.vwall}}{{/if}}<br />
+                               <div class="wall-item-ago"  id="wall-item-ago-{{$item.id}}">{{$item.ago}}</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-body" id="wall-item-body-{{$item.id}}" >{{$item.body}}
+                                               {{foreach $item.tags as $tag}}
+                                                       <span class='body-tag tag'>{{$tag}}</span>
+                                               {{/foreach}}
+                       {{if $item.has_cats}}
+                       <div class="categorytags">{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
+                       </div>
+                       {{/if}}
+
+                       {{if $item.has_folders}}
+                       <div class="filesavetags">{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
+                       </div>
+                       {{/if}}
+                       </div>
+               </div>
+               <div class="wall-item-tools" id="wall-item-tools-{{$item.id}}">
+                       {{if $item.vote}}
+                       <div class="wall-item-like-buttons" id="wall-item-like-buttons-{{$item.id}}">
+                               <a href="like/{{$item.id}}?verb=like&return={{$return_path}}#{{$item.id}}" class="icon like" title="{{$item.vote.like.0}}" ></a>
+                               {{if $item.vote.dislike}}
+                               <a href="like/{{$item.id}}?verb=dislike&return={{$return_path}}#{{$item.id}}" class="icon dislike" title="{{$item.vote.dislike.0}}" ></a>
+                               {{/if}}
+                               {{*<!--{{if $item.vote.share}}<a href="#" class="icon recycle wall-item-share-buttons" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"></a>{{/if}}-->*}}
+                               <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
+                       </div>
+                       {{/if}}
+                       {{if $item.plink}}
+                               <a href="{{$item.plink.href}}" title="{{$item.plink.title}}" target="external-link" class="wall-item-links-wrapper icon remote-link{{$item.sparkle}}"></a>
+                       {{/if}}
+                       {{if $item.edpost}}
+                               <a class="editpost icon pencil" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a>
+                       {{/if}}
+                        
+                       {{if $item.star}}
+                       <a href="starred/{{$item.id}}?return={{$return_path}}#{{$item.id}}" id="starred-{{$item.id}}" class="star-item icon {{$item.isstarred}}" title="{{$item.star.toggle}}"></a>
+                       {{/if}}
+                       {{*<!--{{if $item.tagger}}
+                       <a href="#" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="tag-item icon tagged" title="{{$item.tagger.add}}"></a>
+                       {{/if}}
+                       {{if $item.filer}}
+                       <a href="#" id="filer-{{$item.id}}" onclick="itemFiler({{$item.id}}); return false;" class="filer-item filer-icon" title="{{$item.filer}}"></a>
+                       {{/if}}                 -->*}}
+                       
+                               {{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}?confirm=1" onclick="id=this.id;return confirmDelete(function(){changeHref(id, 'item/drop/{{$item.id}}')});" class="wall-item-delete-wrapper icon drophide" title="{{$item.drop.delete}}" id="wall-item-delete-wrapper-{{$item.id}}" {{*onmouseover="imgbright(this);" onmouseout="imgdull(this);"*}} ></a>{{/if}}
+                               {{*<!--{{if $item.drop.pagedrop}}<input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}}-->*}}
+               </div>
+       </div>  
+       <div class="wall-item-like {{$item.indent}}" id="wall-item-like-{{$item.id}}">{{$item.like}}</div>
+       <div class="wall-item-dislike {{$item.indent}}" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div>
+       <div class="wall-item-boring {{$item.indent}}" id="wall-item-boring-{{$item.id}}">{{$item.boring}}</div>
+
+       <div class="hide-comments-outer">
+       <a href="display/{{$user.nickname}}/{{$item.id}}"><span id="hide-comments-total-{{$item.id}}" class="hide-comments-total">{{$item.total_comments_num}} {{$item.total_comments_text}}</span></a>
+       </div>
+<!--   {{if $item.threaded}}
+       {{if $item.comment}}
+               {{$item.comment}}
+       {{/if}}
+       {{/if}}
+
+{{foreach $item.children as $child}}
+       {{include file="{{$child.template}}" item=$child}}
+{{/foreach}}
+
+{{if $item.flatten}}
+       {{$item.comment}}
+{{/if}}-->
+</div>
+<!--{{if $item.comment_lastcollapsed}}</div>{{/if}}-->
+
diff --git a/view/theme/decaf-mobile/smarty3/wallmessage.tpl b/view/theme/decaf-mobile/smarty3/wallmessage.tpl
new file mode 100644 (file)
index 0000000..4cba900
--- /dev/null
@@ -0,0 +1,37 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+
+<h3>{{$header}}</h3>
+
+<h4>{{$subheader}}</h4>
+
+<div id="prvmail-wrapper" >
+<form id="prvmail-form" action="wallmessage/{{$nickname}}" method="post" >
+
+{{$parent}}
+
+<div id="prvmail-to-label">{{$to}}</div>
+{{$recipname}}
+
+<div id="prvmail-subject-label">{{$subject}}</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$subjtxt}}" {{$readonly}} tabindex="11" />
+
+<div id="prvmail-message-label">{{$yourmessage}}</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$text}}</textarea>
+
+
+<div id="prvmail-submit-wrapper" >
+       <input type="submit" id="prvmail-submit" name="submit" value="Submit" tabindex="13" />
+       {{*<!--<div id="prvmail-link-wrapper" >
+               <div id="prvmail-link" class="icon border link" title="{{$insert}}" onclick="jotGetLink();" ></div>
+       </div> -->*}}
+       <div id="prvmail-rotator-wrapper" >
+               <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
+       </div> 
+</div>
+<div id="prvmail-end"></div>
+</form>
+</div>
diff --git a/view/theme/decaf-mobile/smarty3/wallmsg-end.tpl b/view/theme/decaf-mobile/smarty3/wallmsg-end.tpl
new file mode 100644 (file)
index 0000000..594f3f7
--- /dev/null
@@ -0,0 +1,7 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.min.js" ></script>
+
diff --git a/view/theme/decaf-mobile/smarty3/wallmsg-header.tpl b/view/theme/decaf-mobile/smarty3/wallmsg-header.tpl
new file mode 100644 (file)
index 0000000..e6f1c67
--- /dev/null
@@ -0,0 +1,12 @@
+{{*
+ *     AUTOMATICALLY GENERATED TEMPLATE
+ *     DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
+ *
+ *}}
+
+<script language="javascript" type="text/javascript">
+{{*//window.editSelect = "none";*}}
+window.jotId = "#prvmail-text";
+window.imageUploadButton = 'prvmail-upload';
+</script>
+
diff --git a/view/theme/decaf-mobile/style.css b/view/theme/decaf-mobile/style.css
new file mode 100644 (file)
index 0000000..4cfdd80
--- /dev/null
@@ -0,0 +1,4317 @@
+/**\r
+ * duepuntozero Frindika style\r
+ * Fabio Comuni <fabrix.xm@gmail.com>\r
+ *\r
+ * Heavily modified for Frost Mobile\r
+ * Zach P\r
+ */\r
+\r
+\r
+/* generals */\r
+html {\r
+/*     width: 320px;*/\r
+       margin-left: auto;\r
+       margin-right: auto;\r
+/*     overflow-x:hidden;*/\r
+}\r
+\r
+body {\r
+       font-family: helvetica,arial,freesans,clean,sans-serif;\r
+       font-size: 16px;\r
+/*     line-height: 24px;*/\r
+       background-color: #ffffff;\r
+       background-image: url(head.jpg);\r
+       background-repeat: repeat-x;\r
+       color: #505050;\r
+       margin: 0px;\r
+       overflow-x:hidden;\r
+}\r
+\r
+div.container {\r
+       display: block;\r
+/*     width: 100%;*/\r
+       margin-top: 0px;\r
+       margin-bottom: 0px;\r
+       margin-left: auto;\r
+       margin-right: auto;\r
+       overflow-x:hidden;\r
+}\r
+\r
+a, a:visited, a:link { color: #3465a4; text-decoration: none; }\r
+a:hover {text-decoration: underline; }\r
+\r
+input {\r
+       border: 1px solid #666666;\r
+       -moz-border-radius: 3px;\r
+       -webkit-border-radius: 3px;\r
+       border-radius: 3px;     \r
+       padding: 3px;\r
+}\r
+\r
+img { border :0px; }\r
+\r
+#id_openid_url, .openid input {\r
+   background: url(login-bg.gif) no-repeat;\r
+   background-position: 0 50%;\r
+   padding-left: 18px;\r
+   width: 212px;\r
+   margin-left: 20px;\r
+}\r
+.openid:hover {\r
+\r
+}\r
+\r
+/*#id_openid_url {\r
+       width: 384px;\r
+}*/\r
+\r
+/*code {\r
+       font-family: Courier, monospace;\r
+       white-space: pre;\r
+       display: block;\r
+       overflow: auto;\r
+       border: 1px solid #444;\r
+       background: #EEE;\r
+       color: #444;\r
+       padding: 10px;\r
+       margin-top: 20px; \r
+}\r
+\r
+blockquote {\r
+       background-color: #f4f8f9;\r
+       border-left: 4px solid #dae4ee;\r
+       padding: 0.4em;\r
+       margin-left: 20px;\r
+       margin-right: 0px;\r
+       width: 260px;\r
+       overflow: hidden;\r
+}*/\r
+\r
+code {\r
+       font-family: Courier, monospace;\r
+       white-space: pre;\r
+       display: block;\r
+       overflow: auto;\r
+       border: 1px solid #444;\r
+       background: #EEE;\r
+       color: #444;\r
+       padding: 10px;\r
+       margin-top: 20px; \r
+}\r
+\r
+blockquote {\r
+       background-color: #f4f8f9;\r
+       border-left: 4px solid #dae4ee;\r
+       padding: 0.4em;\r
+}\r
+\r
+.icollapse-wrapper, .ccollapse-wrapper {\r
+       border: 1px solid #CCC;\r
+       padding: 5px;\r
+}\r
+\r
+.hide-comments-outer {\r
+       margin-left: 0px;\r
+       font-weight: 700;\r
+       opacity: 0.6;\r
+}\r
+.hide-comments {\r
+       margin-left: 5px;\r
+}\r
+\r
+#panel {\r
+       background-color: ivory;\r
+       position: absolute;\r
+/*     z-index: 2;*/\r
+       width: 30%;\r
+       padding: 25px;\r
+       border: 1px solid #444;\r
+}\r
+\r
+.heart {\r
+       color: #FF0000;\r
+       font-size: 100%;\r
+       margin-right: 5px;\r
+}\r
+\r
+\r
+\r
+/* nav */\r
+nav {\r
+       height: 94px;\r
+/*     width: 100%;*/\r
+       width: 320px;\r
+       display: block;\r
+       margin-top: 0px;\r
+       margin-bottom: 0px;\r
+       margin-left: auto;\r
+       margin-right: auto;\r
+}\r
+nav #site-location {\r
+       color: #888a85;\r
+       font-size: 0.8em;\r
+       position: absolute;\r
+}\r
+\r
+.error-message {\r
+       color: #FF0000;\r
+       font-size: 1.1em;\r
+       border: 1px solid #FF8888;\r
+       background-color: #FFEEEE;\r
+       padding: 10px;\r
+}\r
+\r
+.info-message {\r
+       color: #204a87;\r
+       font-size: 1.1em;\r
+       border: 1px solid #3465a4;\r
+       background-color: #d7e3f1;\r
+       padding: 10px;\r
+}\r
+\r
+\r
+nav #banner {\r
+/*     display: block;*/\r
+       display: none;\r
+       margin-top: 14px;\r
+       position: absolute;\r
+}\r
+nav #banner #logo-text a {\r
+       display: none;\r
+       font-size: 40px;\r
+       font-weight: bold;\r
+       margin-left: 3px;\r
+       color: #000000;\r
+\r
+}\r
+nav #banner #logo-text a:hover { text-decoration: none; }\r
+\r
+\r
+/* ZP REMOVE? nav-commlink */\r
+.nav-commlink, .nav-login-link {\r
+       display: block;\r
+       height: 15px;\r
+       margin-top: 67px;\r
+       margin-right: 2px;\r
+       /*padding: 6px 10px;*/\r
+       padding: 6px 3px;\r
+       float: left;\r
+       bottom: 140px;\r
+       border: 1px solid #babdb6;\r
+       border-bottom: 0px;\r
+       background-color: #aec0d3;\r
+       color: #565854;         \r
+       -moz-border-radius: 3px 3px 0px 0px;\r
+       -webkit-border-radius: 3px 3px 0px 0px;\r
+       border-radius: 3px 3px 0px 0px; \r
+}\r
+\r
+.nav-commlink.selected {\r
+       background-color: #ffffff;\r
+       border-bottom: 1px solid #ffffff;\r
+       color: #000000 !important;\r
+       margin-top: 64px;\r
+       padding-top: 6px;\r
+       padding-bottom: 8px;\r
+}\r
+\r
+.nav-ajax-left.show {\r
+       position: absolute;\r
+       font-size: 0.8em;\r
+       top: 22px;\r
+       right: 2px;\r
+       padding: 1px 2px;\r
+       border-radius: 4px;\r
+       -moz-border-radius: 4px;\r
+       -webkit-border-radius: 4px;\r
+       background-color: gold !important;\r
+}\r
+\r
+\r
+\r
+nav #nav-link-wrapper .nav-link {\r
+       /*border-right: 1px solid #babdb6;*/\r
+}\r
+\r
+nav .nav-link {\r
+       margin-top: 24px;\r
+       margin-bottom: 0.2em;\r
+       margin-right: 1em;\r
+       margin-left: 1em;\r
+       background-color: transparent !important;\r
+}\r
+\r
+.nav-button-container {\r
+       float: right;\r
+       position: relative;\r
+}\r
+\r
+.nav-button-container .nav-ajax-left {\r
+}\r
+\r
+.nav-button-container a {\r
+       padding-top: 1.4em;\r
+}\r
+\r
+.nav-menu-list {\r
+       text-align: center;\r
+       text-size: 18px;\r
+       line-height: 24px;\r
+\r
+       border-left: 1px solid #aaa;/*#444444;*/\r
+       border-right: 1px solid #aaa;\r
+       border-top: 1px solid #aaa;\r
+       border-bottom: 1px solid #aaa;\r
+\r
+       background: #FFFFFF;\r
+\r
+       display: none;\r
+       list-style: none;\r
+\r
+       width: 8em;\r
+       position: absolute;\r
+       margin: 0px;\r
+/*     right: -33px;*/\r
+       padding: 1em 0px;\r
+\r
+       -moz-box-shadow: 3px 3px 5px #555;\r
+       -webkit-box-shadow: 3px 3px 5px #555;\r
+       box-shadow: 3px 3px 5px #555;\r
+\r
+       z-index: 100;\r
+}\r
+\r
+#network-menu-list {\r
+       width: 9em;\r
+       left: 3px;\r
+}\r
+\r
+#contacts-menu-list {\r
+       right: -30px;\r
+}\r
+\r
+#system-menu-list {\r
+       right: 3px;\r
+}\r
+\r
+\r
+div.main-container {\r
+/*     width: 100%;*/\r
+       margin: 0px auto;\r
+       display: block;\r
+       position: relative;\r
+}\r
+\r
+/*div.main-content-loading {\r
+       position: absolute;\r
+       top: 200px;\r
+       left: 50%;\r
+       display: none;\r
+}*/\r
+\r
+\r
+/* aside */\r
+/*aside {\r
+       display: block;\r
+       min-height: 112px;\r
+\r
+       width: 250px;\r
+\r
+       padding: 1em;\r
+       margin: 1em 0px 0px 0px;\r
+\r
+       position: absolute;\r
+}*/\r
+\r
+#dfrn-request-link {\r
+       display: block;\r
+       color: #FFFFFF;\r
+       -webkit-border-radius: 5px ;\r
+       -moz-border-radius: 5px;\r
+       border-radius: 5px;\r
+       padding: 5px;\r
+       font-weight: bold;\r
+       background: #3465a4 url('friendica-16.png') no-repeat 95% center;\r
+}\r
+#wallmessage-link {\r
+       display: block;\r
+       color: #FFFFFF;\r
+       -webkit-border-radius: 5px ;\r
+       -moz-border-radius: 5px;\r
+       border-radius: 5px;\r
+       padding: 5px;\r
+       font-weight: bold;\r
+       background-color: #3465a4;\r
+}\r
+\r
+/* section */\r
+div.section-wrapper {\r
+/*     width: 100%;*/\r
+/*     width: 320px;\r
+\r
+       margin-left: auto;\r
+       margin-right: auto;*/\r
+       margin-left: 0px;\r
+\r
+       /*padding-right:2em;*/\r
+\r
+       display: block;\r
+\r
+       background-color: #ffffff;\r
+       background-image: url(border.jpg);\r
+       background-position: top right;\r
+       background-repeat: no-repeat;\r
+}\r
+\r
+section {\r
+       margin: 0px 0px 0px 0px;\r
+\r
+       padding-left: 5px;\r
+       padding-right: 5px;\r
+       padding-top: 1em;\r
+       padding-bottom: 3em;\r
+\r
+       background-image: url(border.jpg);\r
+       background-position: top left;\r
+       background-repeat: no-repeat;\r
+\r
+       min-height: 112px;\r
+       border-top: 1px solid #babdb6;  \r
+       overflow-x:hidden;\r
+}\r
+\r
+/* footer */\r
+footer {\r
+       text-align: center;\r
+       padding-bottom: 1em;\r
+}\r
+\r
+.tabs {\r
+       /*background-image: url(head.jpg);\r
+       background-repeat: repeat-x;    \r
+       background-position: 0px -20px;*/\r
+       border-bottom: 1px solid #babdb6;\r
+       padding:0px;\r
+}\r
+.tabs.links-widget {\r
+       border: none;\r
+}\r
+.tabs li { margin: 0px 0px 20px 0px; padding-left: 1em; list-style: none; }\r
+.tabs a {\r
+       padding: 0.4em 2em;\r
+       border: 1px solid #aaa;\r
+       border-radius: 8px;\r
+       -moz-border-radius: 8px;\r
+       -webkit-border-radius: 8px;\r
+}\r
+.tab {\r
+       /*display:block;*/\r
+       float:left;\r
+       padding-left: 1em;\r
+       padding-right: 0.4em;\r
+       padding-top: 0.4em;\r
+       padding-bottom: 0.4em;\r
+       margin-right: 0.5em;\r
+       margin-bottom: 0.4em;\r
+}\r
+.tab.active {\r
+       font-weight: bold;\r
+       \r
+}\r
+#events-tab {\r
+       display: none;\r
+}\r
+#tabs-end {\r
+       padding-top: 0.3em;\r
+       clear: both;\r
+}\r
+\r
+\r
+/* Navigation page */\r
+.navigation-link {\r
+/*     display: block;\r
+       clear: both;\r
+       text-align: center;*/\r
+       font-size: 24px;\r
+}\r
+#navigation-login-wrapper,\r
+#navigation-network-wrapper,\r
+navigation-messages-wrapper,\r
+#navigation-contacts-wrapper,\r
+#navigation-notifications-wrapper,\r
+#navigation-misc-wrapper {\r
+       margin-bottom: 1em;\r
+}\r
+\r
+\r
+.birthday-today, .event-today {\r
+       font-weight: bold;\r
+}\r
+\r
+.preview {\r
+       background: #FFFFC8;\r
+}\r
+\r
+#theme-preview {\r
+       margin: 15px 0 15px 15px;\r
+}\r
+#theme-version {\r
+       display: block;\r
+       font-weight: bold;\r
+}\r
+#theme-credits {\r
+       margin-top: 15px;\r
+       margin-bottom: 15px;\r
+}\r
+\r
+/* from default */\r
+#jot-perms-icon, \r
+#profile-location,\r
+#profile-nolocation,\r
+#profile-youtube, \r
+#profile-video, \r
+#profile-audio,\r
+#profile-link,\r
+#profile-title, \r
+#wall-image-upload,\r
+#wall-file-upload,\r
+#profile-upload-wrapper,\r
+#wall-image-upload-div,\r
+#wall-file-upload-div,\r
+.hover, .focus {\r
+       cursor: pointer;\r
+}\r
+\r
+#jot-perms-icon {\r
+       float: left;\r
+}\r
+\r
+#jot-title, #jot-category {\r
+       border: 0px;\r
+       margin: 0px;\r
+       height: 20px;\r
+       width: 270px;\r
+       margin-bottom: 5px;\r
+       font-weight: bold;\r
+       border: 1px solid #ffffff;\r
+}\r
+\r
+/*#jot-title::-webkit-input-placeholder{font-weight: normal;}\r
+#jot-title:-moz-placeholder{font-weight: normal;}\r
+#jot-category::-webkit-input-placeholder{font-weight: normal;}\r
+#jot-category:-moz-placeholder{font-weight: normal;}*/\r
+#profile-jot-text::-webkit-input-placeholder{font-weight: bold;}\r
+#profile-jot-text:-moz-placeholder{font-weight: bold; font-size:18px; color: graytext}\r
+       \r
+#jot-title:hover,\r
+#jot-title:focus,\r
+#jot-category:hover,\r
+#jot-category:focus {\r
+       border: 1px solid #cccccc; \r
+}\r
+\r
+/*.jothidden { display:none; }*/\r
+\r
+\r
+/*.fakelink, .fakelink:visited, .fakelink:link {\r
+       color: #3465a4;\r
+       text-decoration: none;\r
+       cursor: pointer;\r
+       margin-top: 15px;\r
+       margin-bottom: 15px;\r
+}*/\r
+.lockview {\r
+       cursor: pointer;\r
+}\r
+\r
+#group-sidebar {\r
+       margin-bottom: 10px;\r
+}\r
+\r
+.group-selected, .nets-selected, .fileas-selected, .categories-selected {\r
+       padding: 3px;\r
+       -moz-border-radius: 3px;\r
+       -webkit-border-radius: 3px;\r
+       border-radius: 3px;     \r
+       border: 1px solid #CCCCCC;\r
+       background: #F8F8F8;\r
+       font-weight: bold;\r
+}\r
+\r
+.settings-widget .selected {\r
+/*     padding: 3px;\r
+       -moz-border-radius: 3px;\r
+       -webkit-border-radius: 3px;\r
+       border-radius: 3px;     \r
+       border: 1px solid #CCCCCC;*/\r
+       background: #F8F8F8;\r
+       font-weight: bold;\r
+}\r
+\r
+/*.fakelink:hover {\r
+       color: #3465a4;\r
+       text-decoration: underline;\r
+       cursor: pointer;\r
+}*/\r
+.smalltext {\r
+       font-size: 0.7em;\r
+}\r
+#sysmsg {\r
+       /*width: 600px;*/\r
+       margin-bottom: 10px;\r
+}\r
+\r
+#register-fill-ext {\r
+       margin-bottom: 25px;\r
+}\r
+\r
+#label-register-name, #label-register-email, #label-register-nickname, #label-register-openid {\r
+       float: left;\r
+       width: 350px;\r
+       margin-top: 10px;\r
+}\r
+\r
+#register-name, #register-email, #register-nickname {\r
+       float: left;\r
+       margin-top: 10px;\r
+       width: 150px;\r
+}\r
+\r
+#register-openid {\r
+       float: left;\r
+       margin-top: 10px;\r
+       width: 130px;\r
+}\r
+\r
+#register-name-end, #register-email-end, #register-nickname-end, #register-submit-end, #register-openid-end {\r
+       clear: both;\r
+}\r
+\r
+#register-nickname-desc {\r
+       margin-top: 30px;\r
+       width: 650px;\r
+}\r
+#register-sitename {\r
+       float: left;\r
+       margin-top: 10px;\r
+}\r
+\r
+#register-submit-button {\r
+       margin-top: 10px;\r
+}\r
+\r
+/*\r
+#login_standard {\r
+       width: 210px;\r
+       float: left;\r
+}\r
+#login_openid {\r
+       width: 210px;\r
+       margin-left: 250px;\r
+}\r
+\r
+#login_standard input,\r
+#login_openid input {\r
+       width: 180px;\r
+}\r
+\r
+#login-extra-links {\r
+       clear: both;\r
+}\r
+\r
+#register-link, #lost-password-link {\r
+       float: left;\r
+       font-size: 80%;\r
+       margin-right: 15px;\r
+}\r
+\r
+#login-name-end, #login-password-end, #login-extra-end, #login-submit-end {\r
+       height: 50px;\r
+}\r
+\r
+#login-submit-button {\r
+       margin-top: 10px; \r
+       margin-left: 200px;\r
+}*/\r
+\r
+\r
+input#dfrn-url {\r
+       float: left;\r
+       background: url(friendica-16.png) no-repeat;\r
+       background-position: 2px center;\r
+       font-size: 17px;\r
+       padding-left: 21px;\r
+       height: 21px;\r
+       background-color: #FFFFFF;\r
+       color: #000000;\r
+       margin-bottom: 20px;\r
+       max-width: 90%;\r
+}\r
+\r
+#dfrn-url-label {\r
+       float: left;\r
+       width: 250px;\r
+}\r
+\r
+#dfrn-request-url-end {\r
+       clear: both;\r
+}\r
+\r
+#knowyouyes, #knowyouno {\r
+       float: left;\r
+}\r
+\r
+#dfrn-request-knowyou-yes-wrapper, #dfrn-request-knowyou-no-wrapper {\r
+\r
+       float: none;\r
+}\r
+#dfrn-request-knowyou-yes-label, #dfrn-request-knowyou-no-label {\r
+       float: left;\r
+       width: 75px;\r
+       margin-left: 50px;\r
+       margin-bottom: 7px;\r
+}\r
+#dfrn-request-knowyou-break, #dfrn-request-knowyou-end {\r
+       clear: both;\r
+}\r
+\r
+#dfrn-request-message-wrapper {\r
+       margin-bottom: 50px;\r
+}\r
+#dfrn-request-message-wrapper textarea {\r
+       max-width: 90%;\r
+}\r
+#dfrn-request-submit-wrapper {\r
+       clear: both;\r
+       /*margin-left: 50px;*/\r
+}\r
+#dfrn-request-submit-wrapper input {\r
+       font-size: 18px;\r
+       padding: 5px 10px;\r
+}\r
+\r
+#dfrn-request-info-wrapper {\r
+       margin-left: 50px;\r
+}\r
+\r
+\r
+\r
+#cropimage-wrapper, #cropimage-preview-wrapper {\r
+       float: left;\r
+       padding: 10px;\r
+}\r
+.imgCrop {\r
+       max-width: 280px;\r
+}\r
+#crop-image-form {\r
+       margin-top: 30px;\r
+       clear: both;\r
+}\r
+\r
+.intro-wrapper {\r
+       margin-top: 20px;\r
+}\r
+\r
+.intro-fullname {\r
+       font-size: 1.1em;\r
+       font-weight: bold;\r
+\r
+}\r
+.intro-desc {\r
+       margin-bottom: 20px;\r
+       font-weight: bold;\r
+}\r
+\r
+.intro-note {\r
+       padding: 10px;\r
+}\r
+\r
+.intro-end {\r
+       padding: 30px;\r
+}\r
+\r
+.intro-form {\r
+       float: left;\r
+}\r
+.intro-approve-form {\r
+       clear: both;\r
+}\r
+.intro-approve-as-friend-end {\r
+       clear: both;\r
+}\r
+.intro-submit-approve, .intro-submit-ignore {\r
+       margin-right: 20px;\r
+}\r
+.intro-submit-approve {\r
+       margin-top: 15px;\r
+}\r
+\r
+.intro-approve-as-friend-label, .intro-approve-as-fan-label {\r
+       float: left;\r
+       width: 100px;\r
+       margin-left: 20px;\r
+}\r
+.intro-approve-as-friend, .intro-approve-as-fan {\r
+       float: left;\r
+}\r
+.intro-form-end {\r
+       clear: both;\r
+}\r
+.intro-approve-as-friend-desc {\r
+       margin-top: 15px;\r
+}\r
+.intro-approve-as-end {\r
+       clear: both;\r
+       margin-bottom: 10px;\r
+}\r
+\r
+.intro-end {\r
+       clear: both;\r
+       margin-bottom: 30px;\r
+}\r
+.aprofile dt {\r
+       font-weight: bold;\r
+}\r
+#page-profile .title {\r
+       font-weight: bold;\r
+}\r
+#profile-vcard-break {\r
+       clear: both;\r
+}\r
+#profile-extra-links {\r
+       clear: both;\r
+       margin-top: 10px;\r
+}\r
+\r
+#profile-extra-links ul {\r
+       list-style-type: none;\r
+       padding: 0px;\r
+}\r
+\r
+\r
+#profile-extra-links li {\r
+       margin-top: 5px;\r
+       max-width: 300px;\r
+       margin-left: auto;\r
+       margin-right: auto;\r
+}\r
+\r
+#profile-edit-links ul {\r
+       list-style-type: none;\r
+}\r
+\r
+#profile-edit-links li {\r
+       margin-top: 10px;\r
+}\r
+.profile-edit-side-div {\r
+       float: right;\r
+}\r
+.profile-edit-side-link {\r
+       opacity: 0.3;\r
+       filter:alpha(opacity=30);\r
+}\r
+.profile-edit-side-link:hover {\r
+       opacity: 1.0;\r
+       filter:alpha(opacity=100);\r
+}\r
+\r
+.view-contact-wrapper {\r
+       margin-top: 20px;\r
+       float: left;\r
+       margin-left: 20px;\r
+       width: 180px;\r
+}\r
+\r
+.contact-wrapper {\r
+       float: left;\r
+       width: 150px;\r
+       height: 150px;\r
+       overflow: auto;\r
+}\r
+\r
+#view-contact-end {\r
+       clear: both;\r
+}\r
+\r
+\r
+#viewcontacts {\r
+       margin-top: 15px;\r
+}\r
+#profile-edit-default-desc {\r
+       color: #FF0000;\r
+       border: 1px solid #FF8888;\r
+       background-color: #FFEEEE;\r
+       padding: 7px;\r
+}\r
+\r
+#profile-edit-clone-link-wrapper {\r
+       float: left;\r
+       margin-left: 50px;\r
+       margin-bottom: 20px;\r
+       width: 300px;\r
+}\r
+\r
+\r
+#profile-edit-links-end {\r
+       clear: both;\r
+       margin-bottom: 15px;\r
+}\r
+\r
+.profile-listing-photo {\r
+       border: none;\r
+}\r
+\r
+.profile-edit-submit-wrapper {\r
+       margin-top: 20px;\r
+       margin-bottom: 20px;\r
+}\r
+\r
+#profile-photo-link-select-wrapper {\r
+       margin-top: 2em;\r
+}\r
+\r
+#profile-photo-submit-wrapper {\r
+       margin-top: 10px;\r
+}\r
+\r
+#profile-photo-wrapper {\r
+       text-align: center;\r
+}\r
+#profile-photo-wrapper img {\r
+       width:175px;\r
+       height:175px;\r
+       padding: 12px;\r
+}\r
+\r
+#profile-edit-profile-name-label,\r
+#profile-edit-name-label,\r
+#profile-edit-pdesc-label,\r
+#profile-edit-gender-label,\r
+#profile-edit-dob-label,\r
+#profile-edit-address-label,\r
+#profile-edit-locality-label,\r
+#profile-edit-region-label,\r
+#profile-edit-postal-code-label,\r
+#profile-edit-country-name-label,\r
+#profile-edit-marital-label,\r
+#profile-edit-sexual-label,\r
+#profile-edit-politic-label,\r
+#profile-edit-religion-label,\r
+#profile-edit-pubkeywords-label,\r
+#profile-edit-prvkeywords-label,\r
+#profile-edit-homepage-label,\r
+#profile-edit-hometown-label {\r
+       font-weight: 700;\r
+       float: left;\r
+       width: 175px;\r
+}\r
+\r
+#profile-edit-profile-name,\r
+#profile-edit-name,\r
+#profile-edit-pdesc,\r
+#gender-select,\r
+#profile-edit-dob,\r
+#profile-edit-address,\r
+#profile-edit-locality,\r
+#profile-edit-region,\r
+#profile-edit-postal-code,\r
+#profile-edit-country-name,\r
+#marital-select,\r
+#sexual-select,\r
+#profile-edit-politic,\r
+#profile-edit-religion,\r
+#profile-edit-pubkeywords,\r
+#profile-edit-prvkeywords,\r
+#profile-in-dir-yes,\r
+#profile-in-dir-no,\r
+#profile-in-netdir-yes,\r
+#profile-in-netdir-no,\r
+#hide-wall-yes,\r
+#hide-wall-no,\r
+#hide-friends-yes,\r
+#hide-friends-no {\r
+       float: left;\r
+       margin-bottom: 20px;\r
+       margin-left: 20px;\r
+}\r
+#profile-edit-country-name {\r
+       max-width: 260px;\r
+}\r
+#profile-edit-pubkeywords,\r
+#profile-edit-prvkeywords {\r
+       margin-bottom: 5px;\r
+}\r
+#settings-normal,\r
+#settings-soapbox,\r
+#settings-freelove,\r
+#settings-community {\r
+       float: left;\r
+}\r
+#settings-notifications label {\r
+       margin-left: 20px;\r
+}\r
+#settings-notify-desc, #settings-activity-desc {\r
+       font-weight: bold;\r
+       margin-bottom: 15px;\r
+}\r
+#settings-pagetype-desc {\r
+       color: #666666;\r
+       margin-bottom: 15px;\r
+}\r
+\r
+#profile-in-dir-yes-label,\r
+#profile-in-dir-no-label,\r
+#profile-in-netdir-yes-label,\r
+#profile-in-netdir-no-label,\r
+#hide-wall-yes-label,\r
+#hide-wall-no-label,\r
+#hide-friends-yes-label,\r
+#hide-friends-no-label {\r
+       margin-left: 125px;\r
+       float: left;\r
+       width: 50px;\r
+}\r
+\r
+\r
+#profile-edit-howlong-label,\r
+#profile-edit-with-label {\r
+       display: block;\r
+       font-style: italic;\r
+       width: 175px;\r
+       margin-left: 0px;\r
+}\r
+#profile-edit-howlong,\r
+#profile-edit-with {\r
+       margin-left: 20px;\r
+       margin-bottom: 20px;\r
+}\r
+\r
+#profile-publish-yes-reg,\r
+#profile-publish-no-reg {\r
+       float: left;\r
+       margin-bottom: 10px;\r
+}\r
+\r
+#profile-publish-yes-label-reg,\r
+#profile-publish-no-label-reg {\r
+       margin-left: 350px;\r
+       float: left;\r
+       width: 50px;\r
+}\r
+\r
+#profile-publish-break-reg,\r
+#profile-publish-end-reg {\r
+       clear: both;\r
+}\r
+\r
+\r
+#profile-edit-pdesc-desc,\r
+#profile-edit-pubkeywords-desc,\r
+#profile-edit-prvkeywords-desc  {\r
+       float: left;\r
+       color: #777;\r
+       margin-left: 20px;\r
+       margin-bottom: 20px;\r
+}\r
+#profile-edit-prvkeywords-desc {\r
+       margin-bottom: 0px;\r
+}\r
+\r
+#profile-edit-homepage, #profile-edit-hometown {\r
+       float: left;\r
+       margin-bottom: 25px;\r
+       margin-left: 20px;\r
+}\r
+#profile-edit-hometown {\r
+       margin-bottom: 5px;\r
+}\r
+#settings-normal-label,\r
+#settings-soapbox-label,\r
+#settings-community-label,\r
+#settings-freelove-label {\r
+       float: left;\r
+       width: 200px;\r
+}\r
+#settings-normal-desc,\r
+#settings-soapbox-desc,\r
+#settings-community-desc,\r
+#settings-freelove-desc {\r
+       /*float: left;\r
+       margin-left: 75px;*/\r
+    clear: left;\r
+    color: #666666;\r
+    display: block;\r
+    margin-bottom: 20px        \r
+}\r
+\r
+#profile-edit-profile-name-end,\r
+#profile-edit-name-end,\r
+#profile-edit-pdesc-end,\r
+#profile-edit-gender-end,\r
+#profile-edit-dob-end,\r
+#profile-edit-address-end,\r
+#profile-edit-locality-end,\r
+#profile-edit-region-end,\r
+#profile-edit-postal-code-end,\r
+#profile-edit-country-name-end,\r
+#profile-edit-marital-end,\r
+#profile-edit-sexual-end,\r
+#profile-edit-politic-end,\r
+#profile-edit-religion-end,\r
+#profile-edit-pubkeywords-end,\r
+#profile-edit-prvkeywords-end,\r
+#profile-edit-homepage-end,\r
+#profile-edit-hometown-end,\r
+#profile-in-dir-break,\r
+#profile-in-dir-end,\r
+#profile-in-netdir-break,\r
+#profile-in-netdir-end,\r
+#hide-wall-break,\r
+#hide-wall-end,\r
+#hide-friends-break,\r
+#hide-friends-end,\r
+#settings-normal-break,\r
+#settings-soapbox-break,\r
+#settings-community-break,\r
+#settings-freelove-break {\r
+       clear: both;\r
+}\r
+#profile-edit-marital-wrapper, #profile-edit-address-wrapper {\r
+       margin-top: 50px;\r
+}\r
+#profile-edit-marital-end {\r
+       margin-bottom: 20px;\r
+}\r
+\r
+#id_theme,\r
+#id_mobile_theme {\r
+       width: 280px;\r
+}\r
+/*.settings-widget ul {\r
+       list-style-type: none;\r
+       padding: 0px;\r
+}\r
+\r
+.settings-widget li {\r
+       margin-left: 24px;\r
+       margin-bottom: 8px;\r
+}*/\r
+\r
+\r
+#gender-select, #marital-select, #sexual-select {\r
+       width: 220px;\r
+}\r
+\r
+#profile-edit-profile-name-wrapper .required {\r
+       color: #FF0000;\r
+       float: left;\r
+}\r
+\r
+#contacts-search-submit {\r
+       font-size: 18px;\r
+       padding: 5px 10px;\r
+}\r
+\r
+#contacts-display-wrapper {\r
+       padding-left: 35px;\r
+}\r
+\r
+#contacts-main {\r
+       margin-top: 20px;\r
+       margin-bottom: 20px;\r
+}\r
+\r
+.contact-entry-wrapper {\r
+       float: left;\r
+/*     width: 120px;\r
+       height: 120px;*/\r
+       padding-left: 15px;\r
+       padding-right: 15px; \r
+       width: 95px;\r
+       height: 200px;\r
+}\r
+#contacts-search-end {\r
+       margin-bottom: 10px;\r
+}\r
+\r
+.contact-entry-direction-icon {\r
+       margin-top: 24px;\r
+       margin-right: 2px;\r
+}\r
+\r
+.contact-entry-photo img {\r
+       border: none;\r
+}\r
+.contact-entry-photo-end {\r
+       clear: both;\r
+}\r
+.contact-entry-name {\r
+       float: left;\r
+       margin-left: 0px;\r
+       margin-right: 10px;\r
+       padding-bottom: 5px;\r
+       width: 120px;\r
+       font-weight: 600;\r
+       overflow: hidden;\r
+}\r
+.contact-entry-details {\r
+       font-style: italic;\r
+       font-size: 10px;\r
+       font-weight: 500;\r
+}\r
+.contact-entry-network {\r
+       font-size: 10px;\r
+       font-weight: 500;\r
+}\r
+.contact-entry-edit-links {\r
+       margin-top: 6px;\r
+       margin-left: 10px;\r
+       width: 16px;\r
+}\r
+.contact-entry-nav-wrapper {\r
+       float: left;\r
+       margin-left: 10px;\r
+}\r
+\r
+.contact-entry-edit-links img {\r
+       border: none;\r
+       margin-right: 15px;\r
+}\r
+.contact-entry-photo {\r
+       float: left;\r
+       position: relative;\r
+}\r
+.contact-entry-end {\r
+       clear: both;\r
+}\r
+\r
+#fsuggest-desc, #fsuggest-submit-wrapper {\r
+       margin-top: 15px;\r
+       margin-bottom: 15px;\r
+}\r
+\r
+#network-star-link{\r
+       margin-top: 10px;\r
+}\r
+.network-star {\r
+       float: left;\r
+       margin-right: 5px;\r
+}\r
+#network-bmark-link {\r
+       margin-top: 10px;\r
+}\r
+\r
+.toplevel_item {\r
+       margin-bottom: 60px;\r
+}\r
+\r
+.wall-item-content-wrapper {\r
+       padding-top: 1em;\r
+/*     padding-left: 0.25em;\r
+       padding-right: 0.25em;*/\r
+\r
+       border-top: 2px solid #AAAAAA;\r
+       position: relative;\r
+}\r
+\r
+.wall-item-content-wrapper.comment {\r
+       margin-top: 15px;\r
+       margin-left: 5px;\r
+       margin-right: 5px;\r
+\r
+       padding-top: 0px;\r
+/*     padding-left: 0.5em\r
+       padding-right: 0.5em;*/\r
+\r
+       border: 2px solid #AAAAAA;\r
+       border-radius: 10px;\r
+       -webkit-border-radius: 10px;\r
+       -moz-border-radius: 10px;\r
+/*     background: #EEEEEE;*/\r
+}\r
+\r
+.wall-item-like, .wall-item-dislike {\r
+       font-style: italic;\r
+       margin-left: 0px;\r
+       opacity: 0.6;\r
+}\r
+\r
+.wall-item-like.comment, .wall-item-dislike.comment {\r
+       margin-left: 5px;\r
+}\r
+\r
+.wall-item-like-full .fakelink-wrapper,\r
+.wall-item-dislike-full .fakelink-wrapper {\r
+       display: none;\r
+}\r
+.wall-item-like-full .wall-item-like-expanded,\r
+.wall-item-dislike-full .wall-item-dislike-expanded {\r
+       display: inherit !important;\r
+}\r
+\r
+.wall-item-info {\r
+       display: block;\r
+       float: left;\r
+       width:110px;\r
+       margin-right:10px;\r
+       margin-bottom:10px;\r
+}\r
+.comment .wall-item-info {\r
+       width: 70px;\r
+}\r
+\r
+.wall-item-photo-menu-button {\r
+       display: block;\r
+       position: absolute;\r
+       background-image: url("photo-menu.jpg");\r
+       background-position: top left; \r
+       background-repeat: no-repeat;\r
+       margin: 0px; padding: 0px;\r
+       width: 16px;\r
+       height: 16px;\r
+       top: 94px; left:0px;\r
+       overflow: hidden;\r
+       text-indent: 40px;\r
+       display: none;\r
+       \r
+}\r
+.wall-item-photo-menu {\r
+       width: auto;\r
+       border: 2px solid #444444;\r
+       background: #FFFFFF;\r
+       position: absolute;\r
+       left: 0px; top:110px;\r
+       display: none;\r
+/*     z-index: 10000;*/\r
+}\r
+.wall-item-photo-menu { margin:0px; padding: 0px; list-style: none }\r
+.wall-item-photo-menu li a { display: block; padding: 2px; }\r
+.wall-item-photo-menu li a:hover { color: #FFFFFF; background: #3465A4; text-decoration: none; }\r
+\r
+\r
+.comment .wall-item-photo-menu-button {        top: 64px;}\r
+.comment .wall-item-photo-menu { top: 80px; }\r
+\r
+.wallwall .wwto {\r
+    left: 50px;\r
+    margin: 0;\r
+    position: absolute;\r
+    top: 67px;\r
+    width: 30px\r
+}\r
+.wallwall .wwto img {\r
+       width: 30px !important;\r
+       height: 30px !important;\r
+}\r
+\r
+.wallwall /*.wall-item-photo-end*/ {\r
+       clear: both;\r
+}\r
+\r
+.wall-item-arrowphoto-wrapper {\r
+    position: absolute;\r
+    left: 75px;\r
+    top: 67px;\r
+/*    z-index: 100;*/\r
+}\r
+.wall-item-lock {\r
+       margin-top: 1em;\r
+       left: 105px;\r
+       position: absolute;\r
+       top: 1px;       \r
+}\r
+.comment .wall-item-lock {\r
+       margin-top: 0px;\r
+       left: 65px;\r
+}\r
+\r
+.wall-item-ago {\r
+       color: #888888;\r
+       font-size: 0.8em;\r
+}\r
+\r
+.wall-item-location {\r
+       overflow: hidden;\r
+       /* add ellipsis on text overflow               */\r
+       /* this work on safari, opera, ie, chrome.     */\r
+       /* firefox users have to wait support or we    */\r
+       /* can use a jquery plugin http://bit.ly/zJskg */\r
+       text-overflow: ellipsis;\r
+       -o-text-overflow: ellipsis;\r
+       width: 100%;\r
+}\r
+\r
+.wall-item-like-buttons {\r
+       float: left;\r
+       margin-right: 3px;\r
+}\r
+\r
+.like-rotator {\r
+       margin-left: 5px;\r
+}\r
+\r
+.wall-item-like-buttons > a,\r
+.wall-item-like-buttons > img {\r
+       float: left;\r
+}\r
+\r
+.wall-item-like-buttons img {\r
+       cursor: pointer;\r
+}\r
+\r
+.wall-item-share-buttons {\r
+       margin-left: 10px;\r
+       margin-right: 10px;\r
+}\r
+\r
+.editpost {\r
+       margin-left: 10px;\r
+       float: left;\r
+}\r
+.star-item {\r
+       margin-left: 10px;\r
+       float: left;    \r
+}\r
+.tag-item {\r
+       margin-left: 10px;\r
+       float: left;    \r
+}\r
+\r
+.filer-item {\r
+       margin-left: 10px;\r
+       float: left;\r
+}\r
+\r
+.wall-item-links-wrapper {\r
+       float: left;\r
+}\r
+\r
+.wall-item-delete-wrapper {\r
+       float: right;\r
+}\r
+\r
+/*.wall-item-delete-end {\r
+       clear: both;\r
+}*/\r
+\r
+.wall-item-delete-icon {\r
+       border: none;\r
+}\r
+\r
+\r
+/*.wall-item-wrapper-end {\r
+       clear: both;\r
+}*/\r
+.wall-item-name-link {\r
+       font-weight: bold;\r
+       text-decoration: none;\r
+       color: #3172BD;\r
+}\r
+.wall-item-photo {\r
+       border: none;\r
+       border-radius: 7px;\r
+}\r
+.comment .wall-item-photo {\r
+       width: 50px !important; \r
+       height: 50px !important;\r
+}\r
+.wall-item-content {\r
+/*     float: left;\r
+       max-width: 100%*/\r
+/*     padding-right: 1em;\r
+       max-height: 500px;\r
+       overflow: auto;*/\r
+       padding-left:0.25em;\r
+       padding-right:0.25em;\r
+       clear: left; /* I hate this, but it's the only way to keep the text from bunching to the right on the Android browser */\r
+}\r
+.comment .wall-item-content {\r
+       padding-left:0.5em;\r
+       padding-right:0.5em;\r
+}\r
+\r
+.wall-item-title {\r
+       /*float: left;*/\r
+       font-weight: bold;\r
+       font-size: 1.6em; \r
+       /*width: 450px;*/\r
+}\r
+\r
+/*.wall-item-title-end {\r
+       clear: both;\r
+}*/\r
+\r
+.wall-item-body {\r
+       text-align: justify;\r
+       float: left;\r
+       max-width: 100%;\r
+       overflow: hidden;\r
+       margin-top: 10px;\r
+       line-height: 23px;\r
+}\r
+\r
+.wall-item-body img {\r
+       display: block;\r
+       margin-top: 2px;\r
+       margin-right: auto;\r
+       margin-left: auto;\r
+       /*max-width: 290px;*/\r
+       max-width: 100%;\r
+       border-radius: 7px;\r
+       -moz-border-radius: 7px;\r
+       -webkit-border-radius: 7px;\r
+}\r
+\r
+/*.comment .wall-item-body img {\r
+       max-width: 100%;\r
+}*/\r
+\r
+.wall-item-body img.smiley {\r
+       display: inline;\r
+       margin: auto;\r
+       border-radius: 0;\r
+       -webkit-border-radius: 0;\r
+}\r
+\r
+.wall-item-body blockquote {\r
+       margin-left: 0px;\r
+       margin-right: 0px;\r
+}\r
+\r
+.comment .wall-item-body ul {\r
+       padding-left: 1.5em;\r
+}\r
+\r
+.wall-item-body iframe {\r
+       display: block;\r
+       clear: both;\r
+       margin-top: 1.5em;\r
+       margin-bottom: 1.5em;\r
+}\r
+\r
+.wall-item-body code {\r
+       overflow: hidden;\r
+}\r
+\r
+.divgrow-showmore {\r
+       display: block;\r
+       clear: both;\r
+       text-align: center;\r
+       outline: 0;\r
+       border-top: 1px dotted #888;\r
+}\r
+\r
+.wall-item-tools {\r
+       clear: both;\r
+/*     background-image: url("head.jpg");\r
+       background-position: 0 -20px;\r
+       background-repeat: repeat-x;*/\r
+       padding: 5px 5px 0px;\r
+       height: 32px;\r
+\r
+}\r
+.wall-item-author {\r
+/*     margin-top: 10px;*/\r
+       margin-top: 0px;\r
+}\r
+\r
+.comment .wall-item-tools {\r
+/*     background:none;*/\r
+/*     background-image: url("head.jpg");\r
+       background-position: 0 -20px;\r
+       background-repeat: repeat-x;*/\r
+       border-bottom-left-radius: 10px;\r
+       border-bottom-right-radius: 10px;\r
+} \r
+\r
+\r
+.comment-edit-wrapper {\r
+       margin-top: 15px;\r
+       background: #f3f3f3;\r
+       margin-left: 50px;\r
+}\r
+\r
+.comment-wwedit-wrapper {\r
+       display: block;\r
+       margin-top: 15px;\r
+       background: #f3f3f3;\r
+       margin-left: 10px;\r
+       margin-right: 10px;\r
+\r
+       max-width: 90%;\r
+}\r
+\r
+.comment-wwedit-wrapper.comment {\r
+       margin-left: 40px;\r
+       margin-right: 40px;\r
+       border-radius: 10px;\r
+}\r
+\r
+.comment-edit-form {\r
+       padding-left: 1em;\r
+       padding-right: 1.5em;\r
+}\r
+\r
+.comment-edit-photo {\r
+       margin-top: 15px;\r
+       /*margin-left: 10px;*/\r
+       /*margin-bottom: 10px;*/\r
+       width: 25px;\r
+       float: left;\r
+}\r
+.comment-edit-photo img {\r
+       width: 25px;\r
+}\r
+.comment-edit-text-empty, .comment-edit-text-full {\r
+/*     float: left;*/\r
+       -moz-border-radius: 3px;\r
+       -webkit-border-radius: 3px;\r
+       border-radius: 3px;     \r
+       border: 1px solid #cccccc;\r
+       padding: 3px 1px 1px 3px;\r
+}\r
+\r
+.comment-edit-text-empty {\r
+       color: gray;\r
+       height: 30px;\r
+       width: 175px;\r
+/*     overflow: auto;*/\r
+       margin-top: 40px;\r
+       margin-bottom: 10px;\r
+       margin-left: 20px;\r
+}\r
+\r
+.comment-edit-text-full {\r
+       color: black;\r
+       height: 150px;\r
+/*     width: 350px;\r
+       overflow: auto;*/\r
+/*     width: 250px;*/\r
+       width: 100%;\r
+       margin-top: 1.5em;\r
+/*     margin-left: 20px;*/\r
+}\r
+\r
+.comment .comment-edit-text-empty {\r
+       width: 120px;\r
+}\r
+.comment .comment-edit-text-full {\r
+       margin-left: 10px;\r
+       width: 210px;\r
+}\r
+\r
+\r
+.comment-edit-text-end {\r
+       clear: both;\r
+}\r
+\r
+.comment-edit-submit {\r
+       font-size: 18px;\r
+       padding: 5px 10px;\r
+       margin: 10px 0px 10px 0px;\r
+}\r
+\r
+#profile-jot-wrapper {\r
+       padding-left: 10px;\r
+       padding-right: 10px;\r
+}\r
+\r
+.shared_header {\r
+       border-top: 1px solid #aaa;\r
+       color: #999;\r
+\r
+       height: 42px; /* 32 px for the image plus 10 px for the margin around the image */\r
+       padding-top: 0.5em;\r
+       margin-top: 1em;\r
+       margin-bottom: 1em;\r
+       \r
+}\r
+.shared_header img {\r
+       float: left;\r
+\r
+       margin: auto 1em auto auto;\r
+       padding: 0;\r
+\r
+       box-shadow: none;\r
+       -moz-box-shadow: none;\r
+       -webkit-box-shadow: none;\r
+}\r
+\r
+#profile-jot-plugin-wrapper,\r
+#profile-jot-submit-wrapper {\r
+       margin-top: 15px;\r
+}\r
+\r
+#profile-jot-submit {\r
+       float: left;\r
+       font-size: 18px;\r
+       padding: 5px 8px;\r
+}\r
+#profile-upload-wrapper {\r
+       float: left;\r
+       margin-left: 30px;\r
+}\r
+#profile-attach-wrapper {\r
+       float: left;\r
+       margin-left: 15px;\r
+}\r
+#profile-rotator {\r
+       float: left;\r
+       margin-left: 30px;\r
+}\r
+#profile-link-wrapper {\r
+       float: left;\r
+       margin-left: 15px;\r
+}\r
+#profile-youtube-wrapper {\r
+       float: left;\r
+       margin-left: 15px;\r
+}\r
+#profile-video-wrapper {\r
+       float: left;\r
+       margin-left: 15px;\r
+}\r
+#profile-audio-wrapper {\r
+       float: left;\r
+       margin-left: 15px;\r
+}\r
+#profile-location-wrapper {\r
+       float: left;\r
+       margin-left: 15px;\r
+}\r
+#jot-preview-link {\r
+       display: none;\r
+       float: left;\r
+       margin-left: 45px;\r
+       margin-top: 0px !important;\r
+}\r
+\r
+\r
+#profile-nolocation-wrapper {\r
+       float: left;\r
+       margin-left: 15px;\r
+}\r
+#profile-title-wrapper {\r
+       float: left;\r
+       margin-left: 15px;\r
+}\r
+\r
+#profile-jot-perms {\r
+       float: left;\r
+       margin-left: 40px;\r
+       font-weight: bold;\r
+       font-size: 1.2em;\r
+}\r
+\r
+\r
+#profile-jot-perms-end {\r
+       /*clear: left;*/\r
+       height: 30px;\r
+}\r
+\r
+#profile-jot-plugin-end{\r
+  clear: both;\r
+}\r
+input#profile-jot-email {\r
+       display: block;\r
+}\r
+.profile-jot-net {\r
+       float: left;\r
+       margin-right: 10px;\r
+       margin-top: 5px;\r
+       margin-bottom: 5px;\r
+}\r
+\r
+#profile-jot-networks-end {\r
+       clear: both;\r
+}\r
+\r
+.profile-jot-box {\r
+       margin-top: 50px;\r
+}\r
+.profile-edit-textarea {\r
+       margin-left: 20px;\r
+}\r
+\r
+#profile-jot-end {\r
+       clear: both;\r
+       margin-bottom: 30px;\r
+}\r
+#about-jot-submit-wrapper {\r
+       margin-top: 15px;\r
+}\r
+#about-jot-end {\r
+       margin-bottom: 30px;\r
+}\r
+#contacts-main {\r
+       margin-bottom: 30px;\r
+}\r
+\r
+#profile-listing-desc {\r
+       margin-left: 30px;\r
+}\r
+\r
+#profile-listing-new-link-wrapper {\r
+       margin-left: 30px;\r
+       margin-bottom: 30px;\r
+}\r
+.profile-listing-photo-wrapper {\r
+       float: left;\r
+}\r
+\r
+.profile-listing-edit-buttons-wrapper {\r
+       clear: both;\r
+}\r
+.profile-listing-photo-edit-link {\r
+       float: left;\r
+       width: 125px;\r
+}\r
+.profile-listing-end {\r
+       clear: both;\r
+}\r
+.profile-listing-edit-buttons-wrapper img{\r
+       border: none;\r
+       margin-right: 20px;\r
+}\r
+.profile-listing {\r
+       float: left;\r
+       margin-left: 30px;\r
+       margin-top: 25px;\r
+}\r
+.profile-listing-visible {\r
+       margin-left: 100px;\r
+}\r
+.profile-listing-name {\r
+       float: left;\r
+       margin-left: 12px;\r
+       margin-top: 10px;\r
+       color: #3172BD;\r
+       font-weight: bold;\r
+       width: 200px;\r
+\r
+}\r
+.fortune {\r
+       margin-top: 50px;\r
+       color: #4444FF;\r
+       font-weight: bold;\r
+       margin-bottom: 20px;\r
+}\r
+\r
+\r
+.directory-end {\r
+       clear: both;\r
+}\r
+.directory-name {\r
+       text-align: center;\r
+}\r
+.directory-photo {\r
+       margin-left: 15px;\r
+}\r
+.directory-details {\r
+       font-size: 0.7em;\r
+       text-align: center;\r
+       margin-left: 5px;\r
+       margin-right: 5px;\r
+}\r
+.directory-item {\r
+       float: left;\r
+/*     width: 225px;\r
+       height: 260px;*/\r
+       padding-left: 15px;\r
+       width: 130px;\r
+       height: 235px;\r
+       overflow: auto;\r
+}\r
+\r
+#directory-search-wrapper {\r
+       margin-top: 20px;\r
+       margin-right: 20px;\r
+       margin-bottom: 50px;\r
+}\r
+\r
+#directory-search-end {\r
+}\r
+\r
+.directory-photo-img {\r
+       width: 125px;\r
+       border: none;\r
+}\r
+\r
+\r
+.pager {\r
+  margin-top: 30px;\r
+  margin-right: auto;\r
+  margin-left: auto;\r
+\r
+  padding-top: 10px;\r
+  padding-bottom: 10px;\r
+  padding-left: 10px;\r
+  text-align: center;\r
+/*  line-height: 2.75em;*/\r
+}\r
+\r
+.pager a {\r
+       font-size: 1.5em;\r
+       padding: 0.2em 1em;\r
+       border: 1px solid #aaa;\r
+       border-radius: 10px;\r
+       -moz-border-radius: 10px;\r
+       -webkit-border-radius: 10px;\r
+}\r
+\r
+\r
+.pager_first,\r
+.pager_last,\r
+.pager_prev,\r
+.pager_next,\r
+.pager_n {\r
+/*     float: left;\r
+       border: 1px solid black;\r
+       border-radius: 7px;\r
+       background: #EEE;\r
+       text-align: center;\r
+       width: 50px;\r
+       margin-right: 5px;\r
+       margin-bottom: 10px;*/\r
+/*     float: left;*/\r
+/*     margin-right: 15px;\r
+       margin-left: 15px;*/\r
+}\r
+\r
+.pager_first,\r
+.pager_last,\r
+.pager_n {\r
+       display: none;\r
+}\r
+\r
+/*.pager_first a,\r
+.pager_last a,\r
+.pager_prev a,\r
+.pager_next a {\r
+       padding-top: 5px;\r
+       padding-bottom: 5px;\r
+       padding-left: 25px;\r
+       padding-right: 30px;\r
+\r
+       border: 2px solid #AAAAAA;\r
+       border-radius: 10px;\r
+       -moz-border-radius: 10px;\r
+       -webkit-border-radius: 10px;\r
+    font-size: 1.25em;\r
+       text-align: center;\r
+       text-decoration: none;\r
+}\r
+.pager_n a {\r
+       padding-top: 2px;\r
+       padding-bottom: 2px;\r
+       padding-left: 9px;\r
+       padding-right: 18px;\r
+       text-decoration: none;\r
+\r
+\r
+\r
+\r
+\r
+\r
+\r
+}*/\r
+\r
+.pager_prev a,\r
+\r
+.pager_next a {\r
+       font-size: 1.5em;\r
+       padding: 0.2em 1em;\r
+       border: 1px solid #aaa;\r
+       border-radius: 10px;\r
+       -moz-border-radius: 10px;\r
+       -webkit-border-radius: 10px;\r
+}\r
+\r
+.pager_current {\r
+       display: none;\r
+       float: left;\r
+       border: 1px solid black;\r
+       border-radius: 7px;\r
+       -moz-border-radius: 7px;\r
+       -webkit-border-radius: 7px;\r
+       background: #FFCCCC;\r
+       font-size: 1.25em;\r
+       text-align: center;\r
+       width: 50px;\r
+       margin-right: 5px;\r
+       margin-bottom: 10px;\r
+}\r
+\r
+\r
+#advanced-profile-name-wrapper,\r
+#advanced-profile-gender-wrapper,\r
+#advanced-profile-dob-wrapper,\r
+#advanced-profile-age-wrapper,\r
+#advanced-profile-marital-wrapper,\r
+#advanced-profile-sexual-wrapper,\r
+#advanced-profile-homepage-wrapper,\r
+#advanced-profile-politic-wrapper,\r
+#advanced-profile-religion-wrapper,\r
+#advanced-profile-about-wrapper,\r
+#advanced-profile-interest-wrapper,\r
+#advanced-profile-contact-wrapper,\r
+#advanced-profile-music-wrapper,\r
+#advanced-profile-book-wrapper,\r
+#advanced-profile-tv-wrapper,\r
+#advanced-profile-film-wrapper,\r
+#advanced-profile-romance-wrapper,\r
+#advanced-profile-work-wrapper,\r
+#advanced-profile-education-wrapper {\r
+       margin-top: 20px;\r
+}\r
+\r
+#advanced-profile-name-text,\r
+#advanced-profile-gender-text,\r
+#advanced-profile-dob-text,\r
+#advanced-profile-age-text,\r
+#advanced-profile-marital-text,\r
+#advanced-profile-sexual-text,\r
+#advanced-profile-homepage-text,\r
+#advanced-profile-politic-text,\r
+#advanced-profile-religion-text,\r
+#advanced-profile-about-text,\r
+#advanced-profile-interest-text,\r
+#advanced-profile-contact-text,\r
+#advanced-profile-music-text,\r
+#advanced-profile-book-text,\r
+#advanced-profile-tv-text,\r
+#advanced-profile-film-text,\r
+#advanced-profile-romance-text,\r
+#advanced-profile-work-text,\r
+#advanced-profile-education-text {\r
+       width: 300px;\r
+       float: left;\r
+}\r
+\r
+#advanced-profile-name-end,\r
+#advanced-profile-gender-end,\r
+#advanced-profile-dob-end,\r
+#advanced-profile-age-end,\r
+#advanced-profile-marital-end,\r
+#advanced-profile-sexual-end,\r
+#advanced-profile-homepage-end,\r
+#advanced-profile-politic-end,\r
+#advanced-profile-religion-end {\r
+       height: 10px;\r
+}\r
+\r
+#advanced-profile-about-end,\r
+#advanced-profile-interest-end,\r
+#advanced-profile-contact-end,\r
+#advanced-profile-music-end,\r
+#advanced-profile-book-end,\r
+#advanced-profile-tv-end,\r
+#advanced-profile-film-end,\r
+#advanced-profile-romance-end,\r
+#advanced-profile-work-end,\r
+#advanced-profile-education-end {\r
+\r
+\r
+}\r
+\r
+#advanced-profile-name,\r
+#advanced-profile-gender,\r
+#advanced-profile-dob,\r
+#advanced-profile-age,\r
+#advanced-profile-marital,\r
+#advanced-profile-sexual,\r
+#advanced-profile-homepage,\r
+#advanced-profile-politic,\r
+#advanced-profile-religion {\r
+       float: left;\r
+\r
+}\r
+\r
+\r
+#advanced-profile-about,\r
+#advanced-profile-interest,\r
+#advanced-profile-contact,\r
+#advanced-profile-music,\r
+#advanced-profile-book,\r
+#advanced-profile-tv,\r
+#advanced-profile-film,\r
+#advanced-profile-romance,\r
+#advanced-profile-work,\r
+#advanced-profile-education {\r
+       margin-top: 10px;\r
+       margin-left: 50px;\r
+       margin-right: 20px;\r
+       padding: 10px;\r
+       border: 1px solid #CCCCCC;\r
+}\r
+\r
+#advanced-profile-with {\r
+       float: left;\r
+       margin-left: 15px;\r
+}\r
+\r
+#contact-edit-wrapper {\r
+       margin-top: 10px;\r
+}\r
+\r
+#contact-edit-banner-name {\r
+       font-size: 1.4em;\r
+       font-weight: bold;\r
+}\r
+\r
+#contact-edit-poll-wrapper {\r
+       margin-top: 15px;\r
+}\r
+\r
+#contact-edit-last-update-text {\r
+       float: left;\r
+       clear: left;\r
+       margin-top: 30px;\r
+}\r
+\r
+#contact-edit-poll-text {\r
+       float: left;\r
+       clear: left;\r
+       margin-top: 15px;\r
+       margin-bottom: 0px;\r
+}\r
+\r
+#contact-edit-update-now {\r
+       margin-top: 15px;\r
+}\r
+\r
+#contact-edit-links{\r
+       clear: both;\r
+}\r
+\r
+#contact-edit-links ul {\r
+       list-style: none;\r
+       list-style-type: none;\r
+       margin-left: 0px;\r
+       padding-left: 0px;\r
+}\r
+\r
+#contact-edit-links li {\r
+       margin-top: 5px;\r
+}\r
+\r
+#contact-edit-drop-link {\r
+       float: right;\r
+       margin-right: 10px;\r
+}\r
+\r
+#contact-edit-nav-end {\r
+       clear: both;\r
+}\r
+\r
+#contact-edit-wrapper {\r
+       width: 100%;\r
+}\r
+\r
+#update_now_link {\r
+       float: left;\r
+       clear: left;\r
+       margin-bottom: 20px;\r
+}\r
+\r
+#label_id_hidden, #id_hidden {\r
+       margin-top: 30px;\r
+}\r
+#help_id_hidden {\r
+       margin-top: 30px;\r
+}\r
+\r
+#contact-edit-info-wrapper, #contact-edit-info {\r
+       width: 90%;\r
+}\r
+\r
+#contact-edit-end {\r
+       clear: both;\r
+       margin-top: 15px;\r
+}\r
+\r
+#contact-profile-selector {\r
+       width: 175px;\r
+       margin-left: 0px;\r
+}\r
+\r
+.contact-edit-submit {\r
+       clear: left;\r
+       display: block;\r
+\r
+       margin-top: 10px;\r
+       margin-bottom: 45px;\r
+       padding: 0.2em 0.5em;\r
+       font-size: 18px;\r
+}\r
+\r
+\r
+.contact-photo-menu-button {\r
+/*     position: absolute;\r
+       background-image: url("photo-menu.jpg");\r
+       background-position: top left; \r
+       background-repeat: no-repeat;\r
+       margin: 0px; padding: 0px;\r
+       width: 16px;\r
+       height: 16px;\r
+       top: 64px; left:0px;\r
+       overflow: hidden;\r
+       text-indent: 40px;\r
+       display: none;*/\r
+       \r
+}\r
+.contact-photo-menu {\r
+       width: 130px;\r
+       border: 1px solid #AAA;\r
+       background: #FFFFFF;\r
+       position: absolute;\r
+       left: -30px; top: 80px;\r
+       display: none;\r
+       z-index: 101;\r
+       -moz-box-shadow: 3px 3px 5px #555;\r
+       -webkit-box-shadow: 3px 3px 5px #555;\r
+       box-shadow: 3px 3px 5px #555;\r
+}\r
+.contact-photo-menu ul { margin:0px; padding: 0px; list-style: none }\r
+.contact-photo-menu li a { display: block; padding: 2px; }\r
+.contact-photo-menu li a:hover { color: #FFFFFF; background: #3465A4; text-decoration: none; }\r
+\r
+\r
+#block-message, #ignore-message, #archive-message, #lost-contact-message {\r
+       color: #FF0000;\r
+}\r
+\r
+#profile-edit-insecure {\r
+       margin-top: 20px;\r
+       color: #FF0000;\r
+       font-size: 1.1em;\r
+       border: 1px solid #FF8888;\r
+       background-color: #FFEEEE;\r
+       padding-left: 5px;\r
+       /*: 3px 3px 3px 5px; */\r
+       width: 587px;\r
+}\r
+\r
+#profile-jot-desc {\r
+       /*float: left;*/\r
+       width: 100%;\r
+       color: #FF0000;\r
+       margin-top: 10px;\r
+       margin-bottom: 10px;\r
+}\r
+\r
+#profile-jot-text {\r
+       width: 100%;\r
+       height: 200px;\r
+       color:#000;\r
+       border: 1px solid #cccccc;\r
+       padding: 3px 0px 0px 5px;\r
+       -moz-border-radius: 3px;\r
+       -webkit-border-radius: 3px;\r
+       border-radius: 3px;     \r
+}\r
+\r
+\r
+/** acl **/\r
+#photo-edit-perms-select,\r
+#photos-upload-permissions-wrapper,\r
+#profile-jot-acl-wrapper{\r
+       /*display:block!important;*/\r
+}\r
+\r
+#photos-usage-message {\r
+       margin-bottom: 15px;\r
+}\r
+\r
+#profile-jot-acl-wrapper{\r
+       /*width:270px;\r
+       padding-left:10px;\r
+       padding-right:10px;*/\r
+       height:auto;\r
+       overflow:visible;\r
+       text-align: center;\r
+}\r
+\r
+#acl-wrapper {\r
+       /*display: inline-block;*/\r
+       padding-right: 1em;\r
+       padding-left: 1em;\r
+\r
+       border: 1px solid #444;\r
+       border-radius: 10px;\r
+}\r
+\r
+#acl-public-switch {\r
+       margin-top: 40px;\r
+       text-align: center;\r
+/*  margin-right: auto;\r
+  margin-left: auto;\r
+\r
+  padding-top: 10px;\r
+  padding-bottom: 10px;\r
+  padding-left: 10px;\r
+  text-align: center;*/\r
+}\r
+\r
+#acl-public-switch a {\r
+       font-size: 1.5em;\r
+       padding: 0.2em 1em;\r
+       border: 1px solid #aaa;\r
+       border-radius: 10px;\r
+       -moz-border-radius: 10px;\r
+       -webkit-border-radius: 10px;\r
+       display: inline-block;\r
+       margin-right: 0.4em;\r
+       margin-bottom: 0.4em;\r
+}\r
+\r
+.acl-public-switch-selected {\r
+       font-weight: 700;\r
+}\r
+\r
+#acl-search {\r
+       display: none;\r
+       float:right;\r
+       background: #ffffff url("../../../images/search_18.png") no-repeat right center;\r
+       padding-right:20px;\r
+}\r
+#acl-showall {\r
+       float: left;\r
+       display: block;\r
+       width: auto;\r
+       height: 18px;\r
+       background-color: #cccccc;\r
+       background-image: url("../../../images/show_all_off.png");\r
+       background-position: 7px 7px;\r
+       background-repeat: no-repeat;\r
+       padding: 7px 5px 0px 30px;\r
+       -webkit-border-radius: 5px ;\r
+       -moz-border-radius: 5px;\r
+       border-radius: 5px;\r
+       color: #999999;\r
+}\r
+#acl-showall.selected {\r
+       color: #000000;\r
+       background-color: #ff9900;\r
+       background-image: url("../../../images/show_all_on.png");\r
+}\r
+\r
+#acl-list {\r
+/*     height: 210px;*/\r
+/*     border: 1px solid #cccccc;*/\r
+       clear: both;\r
+       margin-top: 0.7em;\r
+       overflow: visible;\r
+}\r
+#acl-list-content {\r
+       text-align: center;\r
+}\r
+.acl-html-select-wrapper {\r
+       display: inline-block;\r
+       margin-right: 1em;\r
+       margin-bottom: 2em;\r
+       font-weight: 700;\r
+       max-width: 100%;\r
+}\r
+.acl-html-select {\r
+       margin-top: 0.4em;\r
+       max-width: 100%;\r
+}\r
+.acl-list-item {\r
+       display: block;\r
+       width: 120px;\r
+       height: 30px;\r
+       border: 1px solid #cccccc;\r
+       -moz-border-radius: 4px;\r
+       -webkit-border-radius: 4px;\r
+       border-radius: 4px;\r
+       margin-top: 5px;\r
+\r
+       margin-bottom: 5px;\r
+       margin-right: 2px;\r
+       margin-left: 2px;\r
+       padding-left: 5px;\r
+       float: left;\r
+}\r
+.acl-list-item img{\r
+\r
+       display: none;\r
+       width:22px;\r
+       height: 22px;\r
+       float: left;\r
+       margin: 4px;\r
+}\r
+.acl-list-item p { height: 12px; font-size: 10px; margin: 0px; padding: 2px 0px 1px; overflow: hidden;}\r
+.acl-list-item a { \r
+       font-size: 8px;\r
+       display: block;\r
+       width: 40px;\r
+       height: 10px;\r
+       float: left;\r
+       color: #999999;\r
+       background-color: #cccccc;\r
+       background-position: 3px 3px;\r
+       background-repeat: no-repeat;\r
+       margin-right: 5px;\r
+       -webkit-border-radius: 2px ;\r
+       -moz-border-radius: 2px;\r
+       border-radius: 2px;\r
+       padding-left: 15px;\r
+}\r
+#acl-wrapper a:hover {\r
+       text-decoration: none;\r
+       color:#000000;\r
+}\r
+.acl-button-show { background-image: url("../../../images/show_off.png"); }\r
+.acl-button-hide { background-image: url("../../../images/hide_off.png"); }\r
+\r
+.acl-button-show.selected {\r
+       color: #000000;\r
+       background-color: #9ade00;\r
+       background-image: url("../../../images/show_on.png");\r
+}\r
+.acl-button-hide.selected {\r
+       color: #000000;\r
+       background-color: #ff4141;\r
+       background-image: url("../../../images/hide_on.png");\r
+}\r
+.acl-list-item.groupshow { border-color: #9ade00; }\r
+.acl-list-item.grouphide { border-color: #ff4141; }\r
+/** /acl **/\r
+\r
+\r
+#group-new-submit-wrapper {\r
+       margin-top: 30px;\r
+}\r
+\r
+\r
+#group-edit-name-label {\r
+       float: left;\r
+       width: 175px;\r
+       margin-top: 20px;\r
+       margin-bottom: 20px;\r
+}\r
+\r
+#group-edit-name {\r
+       float: left;\r
+       width: 225px;\r
+       margin-top: 20px;\r
+       margin-bottom: 20px;\r
+}\r
+\r
+#group-edit-name-wrapper {\r
+\r
+\r
+}\r
+\r
+\r
+#group_members_select_label {\r
+       display: block;\r
+       float: left;\r
+       width: 175px;\r
+}\r
+\r
+.group_members_select {\r
+       float: left;\r
+       width: 230px;\r
+       overflow: auto;\r
+}\r
+\r
+#group_members_select_end {\r
+       clear: both;\r
+}\r
+#group-edit-name-end {\r
+       clear: both;\r
+}\r
+\r
+#message-new {\r
+       font-size: 24px;\r
+}\r
+\r
+#prvmail-to-label, #prvmail-subject-label, #prvmail-message-label {\r
+       margin-bottom: 10px;\r
+       margin-top: 20px;\r
+}\r
+\r
+#prvmail-submit {\r
+       float: left;\r
+       font-size: 18px;\r
+       padding: 0.25em 0.5em;\r
+       margin-top: 10px;\r
+       margin-right: 30px;\r
+}\r
+#prvmail-upload-wrapper,\r
+#prvmail-link-wrapper,\r
+#prvmail-rotator-wrapper {\r
+       float: left;\r
+       margin-top: 10px;\r
+       margin-right: 10px;\r
+       width: 24px;\r
+}\r
+\r
+#prvmail-end {\r
+       clear: both;\r
+}\r
+\r
+.mail-list-sender,\r
+.mail-list-detail {\r
+       float: left;\r
+}\r
+.mail-list-detail {\r
+       margin-left: 20px;\r
+}\r
+\r
+.mail-list-subject {\r
+       font-size: 1.1em;\r
+       margin-top: 10px;\r
+}\r
+a.mail-list-link {\r
+    display: block;\r
+    font-size: 1.3em;\r
+    padding: 4px 0;\r
+}\r
+\r
+/*\r
+*a.mail-list-link:hover {\r
+*      background-color: #15607B;\r
+*      color: #F5F6FB;\r
+*}\r
+*/\r
+\r
+.mail-list-outside-wrapper-end {\r
+       clear: both;\r
+\r
+}\r
+\r
+.mail-list-outside-wrapper {\r
+       margin-top: 30px;\r
+}\r
+\r
+.mail-list-delete-wrapper {\r
+       float: right;\r
+       margin-right: 30px;\r
+       margin-top: 15px;\r
+}\r
+\r
+.mail-list-delete-icon {\r
+       border: none;\r
+}\r
+\r
+.mail-conv-sender,\r
+.mail-conv-detail {\r
+       float: left;\r
+}\r
+.mail-conv-detail {\r
+       margin-left: 20px;\r
+       margin-bottom: 10px;\r
+       /*width: 270px;*/\r
+}\r
+\r
+.mail-conv-subject {\r
+    font-size: 1.4em;\r
+    margin: 10px 0;\r
+}\r
+\r
+.mail-conv-body {\r
+       padding-top: 20px;\r
+       clear: both;\r
+}\r
+\r
+.mail-conv-outside-wrapper-end {\r
+       clear: both;\r
+}\r
+\r
+.mail-conv-outside-wrapper {\r
+       margin-top: 30px;\r
+}\r
+\r
+.mail-conv-delete-wrapper {\r
+       float: right;\r
+       padding-bottom: 0.5em;\r
+       margin-right: 5px;\r
+       margin-top: 15px;\r
+}\r
+.mail-conv-break {\r
+       clear: both;\r
+}\r
+\r
+.mail-conv-delete-icon {\r
+       border: none;\r
+}\r
+\r
+.message-links ul {\r
+       list-style-type: none;\r
+       padding: 0px;\r
+}\r
+\r
+.message-links li {\r
+       margin-top: 10px;\r
+       float: left;\r
+}\r
+.message-links a {\r
+       padding: 3px 5px;\r
+}\r
+\r
+.message-links-end {\r
+       clear: both;\r
+}\r
+\r
+#sidebar-group-list ul {\r
+       list-style-type: none;\r
+}\r
+\r
+#sidebar-group-list .icon, #sidebar-group-list .iconspacer {\r
+       display: inline-block;\r
+       height: 12px;\r
+       width: 12px;\r
+}\r
+\r
+#sidebar-group-list li {\r
+       margin-top: 10px;\r
+}\r
+\r
+.nets-ul, .fileas-ul, .categories-ul {\r
+       list-style-type: none;\r
+}\r
+\r
+.nets-ul li, .fileas-ul li, .categories-ul li {\r
+       margin-top: 10px;\r
+}\r
+\r
+.nets-link {\r
+       margin-left: 24px;\r
+}\r
+.nets-all {\r
+       margin-left: 42px;\r
+}\r
+\r
+.fileas-link, .categories-link {\r
+       margin-left: 24px;\r
+}\r
+\r
+.fileas-all, .categories-all {\r
+       margin-left: 0px;\r
+}\r
+\r
+#search-save {\r
+       font-size: 18px;\r
+       padding: 5px 10px;\r
+       margin-left: 5px;\r
+}\r
+.groupsideedit {\r
+       margin-right: 10px;\r
+}\r
+#saved-search-ul {\r
+       list-style-type: none;\r
+}\r
+.savedsearchdrop, .savedsearchterm {\r
+       float: left;\r
+       margin-top: 10px;\r
+}\r
+.savedsearchterm {\r
+       margin-left: 10px;\r
+}\r
+\r
+\r
+#side-follow-wrapper {\r
+       margin-top: 20px;\r
+}\r
+#side-follow-url, #side-peoplefind-url {\r
+       margin-top: 5px;\r
+}\r
+#side-follow-submit, #side-peoplefind-submit {\r
+       font-size: 18px;\r
+       padding: 5px 10px;\r
+       margin: 10px 0px 10px 10px;\r
+}\r
+\r
+#side-match-link {\r
+       margin-top: 10px;\r
+}\r
+\r
+aside input[type='text'] {\r
+ width: 174px;\r
+}\r
+\r
+.widget {\r
+       border: 1px solid #DDDDDD;\r
+       padding: 18px;\r
+       margin-top: 5px;\r
+       -moz-border-radius:5px;\r
+       -webkit-border-radius:5px;\r
+       border-radius:5px;\r
+}\r
+.widget.settings-widget {\r
+       padding: 0;\r
+}\r
+\r
+\r
+/*.photos {\r
+       height: auto;\r
+       overflow: auto;\r
+}*/\r
+\r
+.photos-end {\r
+       clear: both;\r
+       margin-bottom: 25px;\r
+}\r
+\r
+.photo-album-image-wrapper {\r
+       float: left;\r
+       margin-top: 15px;\r
+       margin-right: 15px;\r
+       margin-left: 15px;\r
+/*     width: 200px; height: 200px; \r
+       overflow: hidden; \r
+       position: relative; */\r
+}\r
+.photo-album-image-wrapper .caption {\r
+       display: none; \r
+       width: 100%;\r
+/*     position: absolute; */\r
+       bottom: 0px; \r
+       padding: 0.5em 0.5em 0px 0.5em;\r
+       background-color: rgba(245, 245, 255, 0.8);\r
+       border-bottom: 2px solid #CCC;\r
+       margin: 0px;\r
+}\r
+.photo-album-image-wrapper a:hover .caption {\r
+       display:block;\r
+}\r
+\r
+#photo-album-end {\r
+       clear: both;\r
+       margin-bottom: 25px;\r
+}\r
+\r
+.photo-top-image-wrapper {\r
+/*     position: relative; \r
+       float: left;*/\r
+       display: inline-block;\r
+       vertical-align: top;\r
+       margin-top: 15px;\r
+       margin-right: 15px;\r
+       margin-left: 15px;\r
+       margin-bottom: 15px;\r
+/*     width: 200px; height: 200px; \r
+       overflow: hidden; */\r
+}\r
+.photo-top-image-wrapper img {\r
+       max-width: 290px;\r
+       border-radius: 10px;\r
+       -moz-border-radius: 10px;\r
+       -webkit-border-radius: 10px;\r
+}\r
+.photo-top-album-name {\r
+       width: 100%;\r
+       min-height: 2em;\r
+/*     position: absolute;  */\r
+       bottom: 0px; \r
+       padding: 0px 3px;\r
+       padding-top: 0.5em;\r
+       background-color: rgb(255, 255, 255);\r
+}\r
+#photo-top-end {\r
+       clear: both;\r
+}\r
+\r
+#photo-top-links {\r
+       margin-bottom: 30px;\r
+       margin-left: 30px;\r
+}\r
+\r
+#photos-upload-form {\r
+       text-align: center;\r
+}\r
+\r
+#photos-upload-newalbum-div, #photos-upload-existing-album-text {\r
+       /*float: left;*/\r
+       display: inline-block;\r
+       width: 175px;\r
+       text-align: left;\r
+}\r
+\r
+#photos-upload-noshare {\r
+       margin-bottom: 10px;\r
+}\r
+#photos-upload-noshare-div {\r
+       margin-top: 2em;\r
+       margin-bottom: 15px;\r
+}\r
+\r
+#photos-upload-noshare-label {\r
+       margin-left: 25px;\r
+}\r
+\r
+#photos-upload-newalbum {\r
+       width: 15em;\r
+}\r
+#photos-upload-album-select {\r
+       width: 15.7em;\r
+}\r
+\r
+#photos-upload-spacer {\r
+       margin-top: 25px;\r
+}\r
+#photos-upload-new-end, #photos-upload-exist-end {\r
+       clear: both;\r
+}\r
+#photos-upload-exist-end {\r
+       margin-bottom: 15px;\r
+}\r
+\r
+#photos_upload_applet_wrapper {\r
+       margin-bottom: 15px;\r
+}\r
+\r
+#photos-upload-no-java-message {\r
+       margin-bottom: 15px;\r
+}\r
+\r
+#character-counter {\r
+       float: right;\r
+       font-size: 120%;\r
+}\r
+\r
+#character-counter.grey {\r
+       color: #888888;\r
+}\r
+\r
+#character-counter.orange {\r
+       color: orange;\r
+}\r
+#character-counter.red {\r
+       color: red;\r
+}\r
+\r
+#profile-jot-banner-end {\r
+       /* clear: both; */ \r
+}\r
+\r
+#photos-upload-select-files-text {\r
+       margin-top: 15px;\r
+       margin-bottom: 15px;\r
+}\r
+\r
+#photos-upload-perms-menu, #photos-upload-perms-menu:visited, #photos-upload-perms-menu:link {\r
+       color: #8888FF;\r
+       text-decoration: none;\r
+       cursor: pointer;\r
+}\r
+\r
+#photos-upload-perms-menu {\r
+       margin-left: 15px;\r
+}\r
+\r
+#photos-upload-perms-menu:hover {\r
+       color: #0000FF;\r
+       text-decoration: underline;\r
+       cursor: pointer;\r
+}\r
+#settings-default-perms-menu {\r
+       margin-top: 15px;\r
+       margin-bottom: 15px;\r
+}\r
+\r
+.photo-edit-input-text {\r
+       display: inline-block;\r
+       text-align: left;\r
+}\r
+\r
+#photo_edit_form {\r
+       text-align: center;\r
+}\r
+\r
+#photo-edit-caption-label, #photo-edit-tags-label, #photo-edit-albumname-label, .photo-edit-rotate-label {\r
+       /*float: left;*/\r
+       display: inline-block;\r
+       width: 150px;\r
+}\r
+\r
+#photo-edit-caption-label, #photo-edit-tags-label, #photo-edit-albumname-label {\r
+       font-weight: 700;\r
+}\r
+\r
+.photo-perms-icon {\r
+       float: left;\r
+}\r
+\r
+#photo-edit-perms-menu, #photos-upload-perms-menu, #settings-default-perms-menu {\r
+       text-decoration: none;\r
+}\r
+\r
+.photo-jot-perms-text {\r
+       padding-top: 5px;\r
+       padding-left: 40px;\r
+}\r
+\r
+#photo-edit-perms, #photos-upload-perms, #settings-default-perms {\r
+       margin-top: 30px;\r
+}\r
+#photos-upload-perms {\r
+       margin-top: 15px;\r
+       margin-left: 5px;\r
+}\r
+\r
+#photo-edit-perms-select, #photos-upload-permissions-wrapper, #settings-jot-acl-wrapper {\r
+       margin-top: 30px;\r
+/*     margin-left: 20px;*/\r
+}\r
+\r
+#advanced-expire-popup {\r
+       padding-left: 1em;\r
+       margin-top: 15px;\r
+       border: 1px solid #aaa;\r
+       border-radius: 10px;\r
+       -moz-border-radius: 10px;\r
+       -webkit-border-radius: 10px;\r
+}\r
+\r
+#photo-edit-perms-end {\r
+       margin-bottom: 15px;\r
+}\r
+\r
+#photo-edit-caption, #photo-edit-newtag, #photo-edit-albumname {\r
+       /*float: left;*/\r
+       margin-bottom: 25px;\r
+}\r
+\r
+.photo-edit-rotate-choice {\r
+       display: inline-block;\r
+}\r
+\r
+.photo-edit-rotate {\r
+       float: left;\r
+       margin-left: 20px;\r
+}\r
+#photo-edit-link-wrap {\r
+       margin-bottom: 15px;\r
+}\r
+#photo-like-div {\r
+       margin-left: 15px;\r
+       margin-bottom: 65px;\r
+}\r
+\r
+#photo-edit-caption-end, #photo-edit-tags-end, #photo-edit-albumname-end, #photo-edit-rotate-end {\r
+       clear: both;\r
+}\r
+\r
+#photo-edit-rotate-end {\r
+       margin-bottom: 15px;\r
+}\r
+\r
+#photo-edit-submit-button, #photo-edit-delete-button, #photos-upload-submit {\r
+       margin-top: 30px;\r
+       padding: 0.25em 0.5em;\r
+       font-size: 18px;\r
+}\r
+#photo-edit-submit-button {\r
+       margin-left: 10px;\r
+}\r
+#photo-edit-delete-button {\r
+       margin-left: 45px;\r
+}\r
+#photos-upload-choose {\r
+/*     position: absolute;\r
+       top: 460px;\r
+       left: 5px;*/\r
+       margin-top: 1em;\r
+}\r
+#photos-upload-submit {\r
+       margin-top: 0px;\r
+}\r
+.settings-submit, .profile-edit-submit-button, .settings-features-submit {\r
+       padding: 0.25em 0.5em;\r
+       margin-bottom: 10px;\r
+       font-size: 18px;\r
+}\r
+#photo-edit-end {\r
+       margin-bottom: 35px;\r
+}\r
+#photo-caption {\r
+       font-size: 110%;\r
+       font-weight: bold;\r
+       margin-top: 15px;\r
+       margin-bottom: 15px;\r
+}\r
+\r
+#in-this-photo-text {\r
+       color: #0000FF;\r
+       margin-left: 30px;\r
+}\r
+\r
+#in-this-photo {\r
+       margin-left: 60px;\r
+       margin-top: 10px;\r
+       margin-bottom: 20px;\r
+}\r
+\r
+#photo-album-edit-form {\r
+       max-width: 100%;\r
+       padding-left: 0.5em;\r
+       padding-right: 0.5em;\r
+}\r
+#photo-album-edit-form input {\r
+       max-width: 100%;\r
+}\r
+#photo-album-edit-name-label {\r
+       display: block;\r
+}\r
+\r
+#photo-album-edit-submit, #photo-album-edit-drop {\r
+       margin-top: 15px;\r
+       margin-bottom: 15px;\r
+\r
+       padding: 0.25em 0.5em;\r
+       font-size: 18px;\r
+}\r
+\r
+#photo-album-edit-drop {\r
+       margin-left: 2em;\r
+}\r
+\r
+.group-delete-wrapper {\r
+       float: right;\r
+       margin-right: 50px;\r
+}\r
+\r
+#confirm-message {\r
+       display: block;\r
+       font-size: 24px;\r
+}\r
+.confirm-button {\r
+       margin-top: 30px;\r
+       margin-right: 0.4em;\r
+       padding: 0.25em 0.5em;\r
+       font-size: 18px;\r
+}\r
+\r
+#install-dbhost-label,\r
+#install-dbuser-label,\r
+#install-dbpass-label,\r
+#install-dbdata-label,\r
+#install-tz-desc {\r
+       float: left;\r
+       width: 250px;\r
+       margin-top: 10px;\r
+       margin-bottom: 10px;\r
+\r
+}\r
+\r
+#install-dbhost,\r
+#install-dbuser,\r
+#install-dbpass,\r
+#install-dbdata {\r
+       float: left;\r
+       width: 200px;\r
+       margin-left: 20px;\r
+}\r
+\r
+#install-dbhost-end,\r
+#install-dbuser-end,\r
+#install-dbpass-end,\r
+#install-dbdata-end,\r
+#install-tz-end {\r
+       clear: both;\r
+}\r
+\r
+#install-form select#timezone_select {\r
+       float: left;\r
+       margin-top: 18px;\r
+       margin-left: 20px;\r
+}\r
+\r
+#dfrn-request-networks {\r
+       margin-bottom: 30px;\r
+}\r
+\r
+#pause {\r
+  position: fixed;\r
+  bottom: 5px;\r
+  right: 5px;\r
+}\r
+\r
+.sparkle {\r
+       cursor: url('lock.cur'), pointer;\r
+/*     cursor: pointer !important; */\r
+}\r
+\r
+.contact-block-div {\r
+       float: left;\r
+       width: 52px;\r
+       height: 52px;\r
+}\r
+.contact-block-textdiv {\r
+       float: left;\r
+       width: 150px;\r
+       height: 34px;\r
+}\r
+\r
+#contact-block-end {\r
+       clear: both;\r
+}\r
+.contact-block-link {\r
+       float: left;\r
+}\r
+.contact-block-img {\r
+       width:48px;\r
+       height:48px;\r
+}\r
+\r
+#tag-remove {\r
+       margin-bottom: 15px;\r
+}\r
+\r
+#tagrm li {\r
+       margin-bottom: 10px;\r
+}\r
+\r
+#tagrm-submit, #tagrm-cancel {\r
+       margin-top: 25px;\r
+}\r
+\r
+#tagrm-cancel {\r
+       margin-left: 15px;\r
+}\r
+\r
+.wall-item-conv {\r
+       margin-top: 5px;\r
+       margin-bottom: 25px;\r
+}\r
+\r
+#search-submit {\r
+       font-size: 18px;\r
+       padding: 5px 10px;\r
+       margin-left: 15px;\r
+}\r
+\r
+#search-box {\r
+       margin-bottom: 25px;\r
+}\r
+\r
+.location-label, .gender-label, .marital-label, .homepage-label {\r
+       float: left;\r
+       text-align: right;\r
+       display: block;\r
+       width: 65px;\r
+}\r
+\r
+.adr, .x-gender, .marital-text, .homepage-url {\r
+       float: left;\r
+       display: block;\r
+       margin-left: 8px;\r
+}\r
+\r
+.profile-clear {\r
+       clear: both;\r
+}\r
+\r
+\r
+.clear {\r
+       clear: both;\r
+}\r
+\r
+.cc-license {\r
+       margin-top: 50px;\r
+       font-size: 70%;\r
+}\r
+\r
+\r
+#plugin-settings-link, #account-settings-link {\r
+       margin-bottom: 10px;\r
+}\r
+\r
+#uexport-link {\r
+       margin-bottom: 20px;\r
+}\r
+\r
+/* end from default */\r
+       \r
+\r
+.fn {\r
+       padding: 1em 0px 5px 12px;\r
+       font-size: 120%;\r
+       font-weight: bold;\r
+}\r
+\r
+.vcard .title {\r
+       margin-bottom: 5px;\r
+       margin-left: 12px;\r
+}\r
+\r
+.vcard dl {\r
+       clear: both;\r
+}\r
+\r
+#birthday-title {\r
+       float: left;\r
+       font-weight: bold;      \r
+}\r
+\r
+#birthday-adjust {\r
+       float: left;\r
+       font-size: 75%;\r
+       margin-left: 10px;\r
+}\r
+\r
+#birthday-title-end {\r
+       clear: both;\r
+}\r
+\r
+.birthday-list {\r
+       margin-left: 15px;\r
+}\r
+\r
+#birthday-wrapper {\r
+       margin-bottom: 20px;\r
+}\r
+\r
+#network-new-link {\r
+       margin-top: 15px;\r
+       margin-bottom: 15px;\r
+}\r
+\r
+\r
+.tool-wrapper {\r
+  float: left;\r
+  margin-left: 15px;\r
+}\r
+\r
+.tool-link {\r
+  cursor: pointer;\r
+}\r
+\r
+.eventcal {\r
+       float: left;\r
+       font-size: 20px;\r
+}\r
+\r
+#event-summary-text {\r
+       margin-top: 15px;\r
+}\r
+\r
+#event-share-checkbox {\r
+       float: left;\r
+       margin-top: 10px;\r
+}\r
+\r
+#event-share-text {\r
+       float: left;\r
+       margin-top: 10px;\r
+       margin-left: 5px;\r
+}\r
+\r
+#event-share-break {\r
+       clear: both;\r
+       margin-bottom: 10px;\r
+}\r
+\r
+#event-summary {\r
+       width: 280px;\r
+}\r
+\r
+.vevent {\r
+       border: 1px solid #CCCCCC;\r
+}\r
+\r
+.vevent .event-summary {\r
+       margin-left: 10px;\r
+       margin-right: 10px;\r
+       font-weight: bold;\r
+}\r
+\r
+.vevent .event-description, .vevent .event-location {\r
+       margin-left: 10px;\r
+       margin-right: 10px;\r
+}\r
+.vevent .event-start {\r
+       margin-left: 10px;\r
+       margin-right: 10px;\r
+}\r
+\r
+#new-event-link {\r
+       margin-bottom: 10px;\r
+}\r
+\r
+.edit-event-link, .plink-event-link {\r
+       float: left;\r
+       margin-top: 4px;\r
+       margin-right: 4px;\r
+       margin-bottom: 15px;\r
+}\r
+\r
+.event-description:before {\r
+       content: url('../../../images/calendar.png');\r
+       margin-right: 15px;\r
+}\r
+\r
+.event-start, .event-end {\r
+       font-size: 14px;\r
+       margin-left: 10px;\r
+       width: 280px;\r
+       clear: both;\r
+       padding-bottom: 1.5em;\r
+}\r
+\r
+.event-start .dtstart, .event-end .dtend {\r
+       clear: both;\r
+       float: left;\r
+}\r
+\r
+.event-list-date {\r
+       margin-bottom: 10px;\r
+}\r
+\r
+.prevcal, .nextcal {\r
+       float: left;\r
+       margin-left: 32px;\r
+       margin-right: 32px;\r
+       margin-top: 64px;\r
+}\r
+.event-calendar-end {\r
+       clear: both;\r
+}\r
+\r
\r
+.calendar {\r
+       font-family: Courier, monospace;\r
+}\r
+.today {\r
+       font-weight: bold;\r
+       color: #FF0000;\r
+}\r
+\r
+.settings-block {\r
+       border: 1px solid #AAA;\r
+       margin: 10px;\r
+       padding: 10px;\r
+}\r
+\r
+.app-title {\r
+       margin: 10px;\r
+}\r
+\r
+#identity-manage-desc {\r
+       margin-top:15px;\r
+       margin-bottom: 15px;\r
+}\r
+\r
+#identity-manage-choose {\r
+       margin-bottom: 15px;\r
+}\r
+\r
+#identity-submit {\r
+       margin-top: 20px;\r
+}\r
+\r
+#photo-nav {\r
+       position: relative;\r
+       height: 55px;\r
+}\r
+\r
+#photo-prev-link {\r
+       position: absolute;\r
+       left: 5px;\r
+}\r
+#photo-next-link {\r
+       position: absolute;\r
+       right: 5px;\r
+}\r
+#photo-prev-link, #photo-next-link {\r
+       padding: 10px;\r
+/*     float: left;*/\r
+}\r
+\r
+/*#photo-photo {\r
+       float: left;\r
+}*/\r
+\r
+#photo-photo {\r
+       display: block;\r
+       margin-left: auto;\r
+       margin-right: auto;\r
+       text-align: center;\r
+}\r
+\r
+#photo-photo img {\r
+       max-width: 100%;\r
+}\r
+\r
+#photo-photo-end {\r
+       clear: both;\r
+}\r
+\r
+.profile-match-photo {\r
+       float: left;\r
+       text-align: center;\r
+       width: 120px;\r
+}\r
+\r
+.profile-match-name {\r
+       float: left;\r
+       text-align: center;\r
+       width: 120px;\r
+       overflow: hidden;\r
+}\r
+\r
+.profile-match-break,\r
+.profile-match-end {\r
+       clear: both;\r
+}\r
+\r
+.profile-match-connect {\r
+       text-align: center;\r
+       font-weight: bold;\r
+}\r
+\r
+.profile-match-wrapper {\r
+       display: inline-block;\r
+       padding: 10px;\r
+       /*width: 120px;\r
+       height: 120px;*/\r
+       scroll: auto;\r
+       margin-bottom: 2em;\r
+       vertical-align: top;\r
+}\r
+.profile-match-wrapper .icon.drophide {\r
+       margin-left: auto;\r
+       margin-right: auto;\r
+       margin-top: 1em;\r
+}\r
+#profile-match-wrapper-end {\r
+       clear: both;\r
+}\r
+.side-link {\r
+       margin-bottom: 15px;\r
+}\r
+\r
+#language-selector {\r
+       position: absolute;\r
+       top: 0px;\r
+       left: 16px;\r
+}\r
+\r
+#group-members {\r
+       margin-top: 20px;\r
+       padding: 10px;\r
+       height: 250px;\r
+       overflow: auto;\r
+       border: 1px solid #ddd;\r
+}\r
+\r
+#group-members-end {\r
+       clear: both;\r
+}\r
+\r
+#group-separator {\r
+       margin-top: 10px;\r
+       margin-bottom: 10px;\r
+}\r
+\r
+#group-all-contacts {\r
+       padding: 10px;\r
+       height: 450px;\r
+       overflow: auto;\r
+       border: 1px solid #ddd;\r
+}\r
+\r
+#group-all-contacts-end {\r
+       clear: both;\r
+       margin-bottom: 10px;\r
+}\r
+\r
+#group-edit-desc {\r
+       margin-top: 15px;\r
+}\r
+\r
+\r
+#prof-members {\r
+       margin-top: 20px;\r
+       padding: 10px;\r
+       height: 250px;\r
+       overflow: auto;\r
+       border: 1px solid #ddd;\r
+}\r
+\r
+#prof-members-end {\r
+       clear: both;\r
+}\r
+\r
+#prof-separator {\r
+       margin-top: 10px;\r
+       margin-bottom: 10px;\r
+}\r
+\r
+#prof-all-contacts {\r
+       padding: 10px;\r
+       height: 450px;\r
+       overflow: auto;\r
+       border: 1px solid #ddd;\r
+}\r
+\r
+#prof-all-contacts-end {\r
+       clear: both;\r
+       margin-bottom: 10px;\r
+}\r
+\r
+#prof-edit-desc {\r
+       margin-top: 15px;\r
+}\r
+\r
+#crepair-name-label,\r
+#crepair-nick-label,\r
+#crepair-attag-label,\r
+#crepair-url-label,\r
+#crepair-request-label,\r
+#crepair-confirm-label,\r
+#crepair-notify-label,\r
+#crepair-photo-label,\r
+#crepair-poll-label {\r
+       float: left;\r
+       width: 200px;\r
+       margin-bottom: 15px;\r
+}\r
+\r
+#crepair-name,\r
+#crepair-nick,\r
+#crepair-attag,\r
+#crepair-url,\r
+#crepair-request,\r
+#crepair-confirm,\r
+#crepair-notify,\r
+#crepair-photo,\r
+#crepair-poll {\r
+       float: left;\r
+       width: 300px;\r
+}\r
+\r
+\r
+#netsearch-box {\r
+       margin-top: 20px;       \r
+}\r
+\r
+#netsearch-box #search-submit {\r
+       margin: 5px 0px 0px 0px;\r
+}\r
+\r
+.required {\r
+       color: #FF0000;\r
+}\r
+\r
+#event-start-text, #event-finish-text {\r
+       margin-top: 10px;\r
+       margin-bottom: 5px;\r
+}\r
+\r
+#event-nofinish-checkbox, #event-nofinish-text, #event-adjust-checkbox, #event-adjust-text {\r
+       float: left;\r
+}\r
+#event-datetime-break {\r
+       margin-bottom: 10px;\r
+}\r
+\r
+#event-nofinish-break, #event-adjust-break {\r
+       clear: both;\r
+}\r
+\r
+#event-desc-text, #event-location-text {\r
+       margin-top: 10px;\r
+       margin-bottom: 5px;\r
+}\r
+\r
+#event-submit {\r
+       margin-top: 10px;\r
+}\r
+\r
+.filesavetags, .categorytags {\r
+       display: block;\r
+       clear: left;\r
+}\r
+\r
+.body-tag, .filesavetags, .categorytags {\r
+       opacity: 0.5;\r
+       filter:alpha(opacity=50);\r
+}\r
+\r
+.body-tag:hover, .filesavetags:hover, .categorytags:hover {\r
+       opacity: 1.0 !important;\r
+       filter:alpha(opacity=100) !important;\r
+}\r
+\r
+.item-select {\r
+       display: none;\r
+       opacity: 0.1;\r
+       filter:alpha(opacity=10);\r
+       float: right;\r
+       margin-right: 10px;\r
+\r
+}\r
+.item-select:hover, .checkeditem {\r
+       opacity: 1;\r
+       filter:alpha(opacity=100);\r
+}\r
+\r
+\r
+#item-delete-selected {\r
+       margin-top: 30px;\r
+}\r
+\r
+#item-delete-selected-end {\r
+       clear: both;\r
+}\r
+#item-delete-selected-icon, #item-delete-selected-desc {\r
+       float: left;\r
+       margin-right: 5px;\r
+}\r
+#item-delete-selected-desc:hover {\r
+       text-decoration: underline;\r
+}\r
+\r
+#lang-select-icon {\r
+       cursor: pointer;\r
+       position: fixed;\r
+       left: 0px;\r
+       top: 0px;\r
+       opacity: 0.2;\r
+       filter:alpha(opacity=20);\r
+}\r
+\r
+#lang-select-icon:hover {\r
+       opacity: 1;\r
+       filter:alpha(opacity=100);\r
+}\r
+\r
+.notif-image {\r
+       height: 80px;\r
+       width: 80px;\r
+       margin-right: 15px;\r
+}\r
+.notification-listing-end {\r
+       clear: both;\r
+       margin-bottom: 15px;\r
+}\r
+\r
+\r
+\r
+/**\r
+ * Plugins settings\r
+ */\r
+\r
+.settings-block > h3,\r
+.settings-heading {\r
+       border-bottom: 1px solid #babdb6;\r
+}\r
\r
+\r
+\r
+/**\r
+ * Form fields\r
+ */\r
+.field {\r
+       margin-bottom: 10px;\r
+       padding-bottom: 10px;\r
+       overflow: auto;\r
+/*     width: 100%*/\r
+}\r
+\r
+.field label {\r
+       font-weight: 700;\r
+       float: left;\r
+       width: 200px;\r
+}\r
+\r
+.field input,\r
+.field textarea {\r
+       width: 230px;\r
+       margin-left: 20px;\r
+}\r
+.field input[type=checkbox],\r
+.field input[type=radio] {\r
+       width: auto;\r
+}\r
+.field textarea { height: 100px; }\r
+.field_help {\r
+       display: block;\r
+       margin-left: 20px;\r
+       color: #666666;\r
+       clear: left;\r
+}\r
+\r
+\r
+\r
+.field .onoff {\r
+       float: left;\r
+       width: 80px;\r
+}\r
+.field .onoff a {\r
+       display: block;\r
+       border:1px solid #666666;\r
+       background-image:url("../../../images/onoff.jpg");\r
+       background-repeat: no-repeat;\r
+       padding: 4px 2px 2px 2px;\r
+       height: 16px;\r
+       text-decoration: none;\r
+}\r
+.field .onoff .off {\r
+\r
+       border-color:#666666;\r
+       padding-left: 40px;\r
+       background-position: left center;\r
+       background-color: #cccccc;\r
+       color: #666666;\r
+       text-align: right;\r
+}\r
+.field .onoff .on {\r
+       border-color:#204A87;\r
+       padding-right: 40px;\r
+       background-position: right center;\r
+       background-color: #D7E3F1;\r
+       color: #204A87;\r
+       text-align: left;\r
+}\r
+.hidden { display: none!important; }\r
+\r
+.field.radio .field_help { margin-left: 20px; }\r
+\r
+/**\r
+ * ADMIN\r
+ */\r
+#pending-update {\r
+       float:right;\r
+       color: #ffffff;\r
+       font-weight: bold;\r
+       background-color: #FF0000;\r
+       padding: 0em 0.3em;\r
+       \r
+}\r
+#adminpage dl {\r
+       clear: left;\r
+       min-height: 40px;\r
+       margin-bottom: 2px;\r
+       padding-bottom: 2px;\r
+       border-bottom: 1px solid black;\r
+}\r
+#adminpage dt {\r
+       width: 180px;\r
+       float: left;\r
+       font-weight: bold;\r
+}\r
+#adminpage dd {\r
+       margin-left: 180px;\r
+}\r
+\r
+#adminpage h3 {\r
+       border-bottom: 1px solid #cccccc;\r
+}\r
+#adminpage .field label {\r
+       font-weight: bold;\r
+}\r
+#adminpage .submit {\r
+       clear:left;\r
+       text-align: right;\r
+}\r
+\r
+#adminpage #pluginslist {\r
+       margin: 0px; padding: 0px;\r
+}\r
+#adminpage .plugin {\r
+       list-style: none;\r
+       display: block;\r
+       border: 1px solid #888888;\r
+       padding: 1em;\r
+       margin-bottom: 5px;\r
+       clear: left;\r
+}\r
+#adminpage .plugin .desc { margin-left: 2.5em;}\r
+#adminpage .toggleplugin {\r
+       float:left;\r
+       margin-right: 1em;\r
+}\r
+\r
+#adminpage table {width:100%; border-bottom: 1px solid #000000; margin: 5px 0px;}\r
+#adminpage table th { text-align: left;}\r
+#adminpage td .icon { float: left;}\r
+#adminpage table#users img { width: 16px; height: 16px; }\r
+#adminpage table tr:hover { background-color: #bbc7d7; }\r
+#adminpage .selectall { text-align: right; }\r
+\r
+#cnftheme {\r
+       display: none;\r
+}\r
+\r
+/*\r
+ * UPDATE\r
+ */\r
+.popup {       \r
+       width: 100%; height: 100%;\r
+       top:0px; left:0px;\r
+       position: absolute;\r
+       display: none;\r
+}\r
+\r
+.popup .background {\r
+       background-color: rgba(0,0,0,128);\r
+       opacity: 0.5;\r
+       width: 100%; height: 100%;\r
+       position: absolute;\r
+       top:0px; left:0px;\r
+}\r
+.popup .panel {\r
+       top:25%;left:25%;width:50%;height:50%;\r
+       padding: 1em;\r
+       position: absolute;\r
+       border: 4px solid #000000;\r
+       background-color: #FFFFFF;\r
+}\r
+.popup .panel .panel_text { display: block; overflow: auto; height: 80%; } \r
+.popup .panel .panel_in { width: 100%; height: 100%;   position: relative; }\r
+.popup .panel .panel_actions {  width: 100%; bottom: 4px; left: 0px; position: absolute; }\r
+.panel_text .progress { width: 50%; overflow: hidden; height: auto; border: 1px solid #cccccc; margin-bottom: 5px}\r
+.panel_text .progress span {float: right; display: block; width: 25%; background-color: #eeeeee; text-align: right;}\r
+\r
+/**\r
+ * OAuth\r
+ */\r
+.oauthapp {\r
+       height: auto; overflow: auto;\r
+       border-bottom: 2px solid #cccccc;\r
+       padding-bottom: 1em;\r
+       margin-bottom: 1em;     \r
+}\r
+.oauthapp img {\r
+       float: left;\r
+       width: 48px; height: 48px;\r
+       margin: 10px;\r
+}\r
+.oauthapp img.noicon {\r
+       background-image: url("../../../images/icons/48/plugin.png");\r
+       background-position: center center;\r
+       background-repeat: no-repeat;\r
+}\r
+.oauthapp a {\r
+       float: left;\r
+}\r
+\r
+/**\r
+ * ICONS\r
+ */\r
+.iconspacer {\r
+       display: block; width: 16px; height: 16px;\r
+}\r
+\r
+.icon {\r
+       display: block; width: 16px; height: 16px;\r
+       background-image: url('../../../images/icons.png');\r
+}\r
+.article { background-position: 0px 0px;}\r
+.icon.audio { display: none; background-position: -16px 0px;}\r
+.block { background-position: -32px 0px;}\r
+/*.drop { background-position: -48px 0px;}\r
+.drophide { background-position: -64px 0px;}*/\r
+.icon.drop {\r
+       display: block; width: 28px; height: 28px;\r
+       background-size: 100% 100%;\r
+       background-image: url('images/drop-darkred.png');\r
+       background-repeat: no-repeat;\r
+}\r
+.icon.drophide {\r
+       display: block; width: 28px; height: 28px;\r
+       background-size: 100% 100%;\r
+       background-image: url('images/drop-darkred.png');\r
+       background-repeat: no-repeat;\r
+}\r
+.edit { background-position: -80px 0px;}\r
+/*.camera { background-position: -96px 0px;}*/\r
+.icon.camera {\r
+       display: block; width: 28px; height: 21px;\r
+       margin-top: 4px;\r
+       background-size: 100% 100%;\r
+       background-image: url('images/camera.png');\r
+       background-repeat: no-repeat;\r
+}\r
+/*.dislike { background-position: -112px 0px;}*/\r
+.icon.dislike {\r
+       display: block;\r
+       width: 26px; height: 28px;/*31 33*/\r
+       background-size: 100% 100%;\r
+       background-image: url('images/disapprove.png');\r
+       background-repeat: no-repeat;\r
+       opacity: 0.5;\r
+}\r
+/*.like { background-position: -128px 0px;}*/\r
+.icon.like {\r
+       display: block; width: 26px; height: 28px;/*31 33*/\r
+       margin-right: 7px;\r
+       background-size: 100% 100%;\r
+       background-image: url('images/approve.png');\r
+       background-repeat: no-repeat;\r
+       opacity: 0.5;\r
+}\r
+.icon.link { display: none; background-position: -144px 0px;}\r
+\r
+/*.globe { background-position: 0px -16px;}*/\r
+.icon.globe {\r
+       display: block; width: 28px; height: 28px;\r
+       background-size: 100% 100%;\r
+       background-image: url('images/globe.png');\r
+       background-repeat: no-repeat;\r
+}\r
+/*.noglobe { background-position: -16px -16px;}*/\r
+.icon.noglobe {\r
+       display: block; width: 24px; height: 24px;\r
+       background-size: 100% 100%;\r
+       background-image: url('images/noglobe.png');\r
+       background-repeat: no-repeat;\r
+}\r
+.no { background-position: -32px -16px;}\r
+.pause { background-position: -48px -16px;}\r
+.play { background-position: -64px -16px;}\r
+/*.pencil { background-position: -80px -16px;}\r
+.small-pencil { background-position: -96px -16px;}*/\r
+.icon.pencil {\r
+       display: block; width: 28px; height: 28px;\r
+       background-size: 100% 100%;\r
+       background-image: url('images/pencil.png');\r
+       background-repeat: no-repeat;\r
+       opacity: 0.5;\r
+}\r
+.icon.small-pencil {\r
+       display: block; width: 28px; height: 28px;\r
+       background-size: 100% 100%;\r
+       background-image: url('images/pencil.png');\r
+       background-repeat: no-repeat;\r
+       opacity: 0.5;\r
+}\r
+/*.recycle { background-position: -112px -16px;}*/\r
+.icon.recycle {\r
+       display: block;\r
+       width: 28px; height: 27px;/*33 32*/\r
+       background-size: 100% 100%;\r
+       background-image: url('images/recycle.png');\r
+       background-repeat: no-repeat;\r
+       opacity: 0.5;\r
+}\r
+/*.remote-link { background-position: -128px -16px;}*/\r
+.icon.remote-link {\r
+/*     display: block;*/\r
+       display: none;\r
+       width: 28px; height: 28px;\r
+       background-size: 100% 100%;\r
+       background-image: url('images/remote-link.png');\r
+       background-repeat: no-repeat;\r
+       opacity: 0.5;\r
+}\r
+.share { background-position: -144px -16px;}\r
+\r
+.tools { background-position: 0px -32px;}\r
+/*.lock { background-position: -16px -32px;}*/\r
+.icon.lock {\r
+       display: block; width: 17px; height: 25px;\r
+       margin-top: 1px;\r
+       background-size: 100% 100%;\r
+       background-image: url('images/lock.png');\r
+       background-repeat: no-repeat;\r
+}\r
+/*.unlock { background-position: -32px -32px;}*/\r
+.icon.unlock {\r
+       display: block; width: 17px; height: 28px;\r
+       margin-top: -2px;\r
+       background-size: 100% 100%;\r
+       background-image: url('images/unlock.png');\r
+       background-repeat: no-repeat;\r
+}\r
+.icon.video { display: none; background-position: -48px -32px;}\r
+.oembed.video a { display: block; }\r
+.youtube { background-position: -64px -32px;}\r
+/*.attach { background-position: -80px -32px; }*/\r
+.icon.attach {\r
+       display: block; width: 28px; height: 28px;\r
+       background-size: 100% 100%;\r
+       background-image: url('images/paperclip.png');\r
+       background-repeat: no-repeat;\r
+}\r
+.language { background-position: -96px -32px; }\r
+.prev { background-position: -112px -32px; }\r
+.next { background-position: -128px -32px; }\r
+.on { background-position: -144px -32px; }\r
+\r
+.off { background-position: 0px -48px; }\r
+/*.starred { background-position: -16px -48px; }*/\r
+.icon.starred {\r
+       display: block; width: 28px; height: 28px;\r
+       background-size: 100% 100%;\r
+       background-image: url('images/star-yellow.png');\r
+       background-repeat: no-repeat;\r
+}\r
+/*.unstarred { background-position: -32px -48px; }*/\r
+.icon.unstarred {\r
+       display: block; width: 28px; height: 28px;\r
+       background-size: 100% 100%;\r
+       background-image: url('images/star.png');\r
+       background-repeat: no-repeat;\r
+\r
+       opacity: 0.5;\r
+}\r
+/*.tagged { background-position: -48px -48px; }*/\r
+.icon.tagged {\r
+       display: block; width: 28px; height: 28px;\r
+       background-size: 100% 100%;\r
+       background-image: url('images/tag.png');\r
+       background-repeat: no-repeat;\r
+       opacity: 0.5;\r
+}\r
+.yellow { background-position: -64px -48px; }\r
+\r
+\r
+.filer-icon {\r
+       display: block; width: 24px; height: 24px;\r
+       background-size: 100% 100%;\r
+       background-image: url('images/folder.png');\r
+       background-repeat: no-repeat;\r
+       opacity: 0.5;\r
+}\r
+\r
+.icon.dim { opacity: 0.3;filter:alpha(opacity=30); }\r
+\r
+[class^="comment-edit-bb"] {\r
+       list-style: none;\r
+       display: none;\r
+       margin: 0px 0 -5px 20px;\r
+       width: 75%;\r
+}\r
+[class^="comment-edit-bb"] > li {\r
+       display: inline-block;\r
+       margin: 20px 10px 0 0;\r
+       visibility: none;\r
+}\r
+/*[class^="comment-edit-bb-end"] {\r
+       clear: both;\r
+}*/\r
+.editicon {\r
+    display: inline-block;\r
+       background-size: 100% 100%;\r
+       background-repeat: no-repeat;\r
+       background-color: #f3f3f3;\r
+    text-decoration: none;\r
+}\r
+/*.editicon:hover {\r
+       background-color: #ccc;\r
+}*/\r
+.boldbb {\r
+/*     background-position: 0px 0px;*/\r
+       width: 26px; height: 28px;\r
+       background-image: url('images/boldB-serif.png');\r
+}\r
+/*.boldbb:hover {\r
+       background-position: 0px -16px;\r
+}*/\r
+.italicbb {\r
+/*     background-position: -16px 0px;*/\r
+       width: 16px; height: 28px;\r
+       background-image: url('images/italicI-serif.png');\r
+}\r
+/*.italicbb:hover {\r
+       background-position: -16px -16px;\r
+}*/\r
+.underlinebb {\r
+/*     background-position: -32px 0px;*/\r
+       width: 25px; height: 28px;\r
+       background-image: url('images/underlineU-serif.png');\r
+}\r
+/*.underlinebb:hover {\r
+       background-position: -32px -16px;\r
+}*/\r
+.quotebb {\r
+/*     background-position: -48px 0px;*/\r
+       width: 28px; height: 28px;\r
+       background-image: url('images/quote.png');\r
+}\r
+/*.quotebb:hover {\r
+       background-position: -48px -16px;\r
+}*/\r
+.codebb {\r
+/*     background-position: -64px 0px;*/\r
+       width: 28px; height: 28px;\r
+       background-image: url('images/code.png');\r
+}\r
+/*.codebb:hover {\r
+       background-position: -64px -16px;\r
+}*/\r
+.imagebb {\r
+       background-position: -80px 0px;\r
+}\r
+.imagebb:hover {\r
+       background-position: -80px -16px;\r
+}\r
+.urlbb {\r
+       background-position: -96px 0px;\r
+}\r
+.urlbb:hover {\r
+       background-position: -96px -16px;\r
+}\r
+.videobb {\r
+       background-position: -112px 0px;\r
+}\r
+.videobb:hover {\r
+       background-position: -112px -16px;\r
+}\r
+\r
+.attachtype {\r
+       display: block;\r
+       float: left;\r
+       background-size: 100% 100%;\r
+       width: 48px;\r
+       height: 48px;\r
+       background-image: url('images/oxygen/unknown.png');\r
+}\r
+\r
+.body-attach {\r
+       margin-top: 10px;\r
+}\r
+\r
+/*.type-video { background-position: 0px 0px; }\r
+.type-image { background-position: -20px 0px; }\r
+.type-audio { background-position: -40px 0px; }\r
+.type-text  { background-position: -60px 0px; }\r
+.type-unkn  { background-position: -80px 0px; }*/\r
+.type-video {\r
+       background-image: url('images/oxygen/video-x-generic.png');\r
+       background-size: 100% 100%;\r
+       width: 48px;\r
+       height: 48px;\r
+}\r
+.type-image {\r
+       background-image: url('images/oxygen/image-x-generic.png');\r
+       background-size: 100% 100%;\r
+       width: 48px;\r
+       height: 48px;\r
+}\r
+.type-audio {  background-image: url('images/oxygen/audio-x-generic.png');\r
+       background-size: 100% 100%;\r
+       width: 48px;\r
+       height: 48px;\r
+}\r
+\r
+.type-text  {\r
+       background-image: url('images/oxygen/text-x-generic-2.png');\r
+       background-size: 100% 100%;\r
+       width: 48px;\r
+       height: 48px;\r
+}\r
+.subtype-msword, .subtype-vnd-openxmlformats-officedocument-wordprocessingml-document  {\r
+       background-image: url('images/oxygen/application-msword.png');\r
+       background-size: 100% 100%;\r
+       width: 48px;\r
+       height: 48px;\r
+}\r
+.subtype-pdf  {\r
+       background-image: url('images/oxygen/application-pdf.png');\r
+       background-size: 100% 100%;\r
+       width: 48px;\r
+       height: 48px;\r
+}\r
+/*.type-unkn  {\r
+       background-image: url('images/oxygen/unknown.png');\r
+       background-size: 100% 100%;\r
+\r
+       width: 48px;\r
+       height: 48px;\r
+}*/\r
+\r
+\r
+\r
+/* autocomplete popup */\r
+.acpopup {\r
+       max-height:150px;\r
+       background-color:#ffffff;\r
+       overflow:auto;\r
+       z-index:102;\r
+       border:1px solid #cccccc;\r
+}\r
+.acpopupitem {\r
+       background-color:#ffffff; padding: 4px;\r
+       clear:left;\r
+}\r
+.acpopupitem img {\r
+       float: left;\r
+       margin-right: 4px;\r
+\r
+}\r
+\r
+.acpopupitem.selected {\r
+       color: #FFFFFF; background: #3465A4;\r
+}\r
+\r
+/* popup notifications */\r
+div.jGrowl div.notice {\r
+  background: #511919 url("../../../images/icons/48/notice.png") no-repeat 5px center;\r
+  color: #ffffff;\r
+  padding-left: 58px;\r
+  margin: 0px;\r
+}\r
+div.jGrowl div.info {\r
+  background: #364e59 url("../../../images/icons/48/info.png") no-repeat 5px center;\r
+  color: #ffffff;\r
+  padding-left: 58px;\r
+  margin: 0px;\r
+}\r
+#jGrowl.top-right {\r
+       top: 15px;\r
+       right: 10px;\r
+}\r
+div.jGrowl-notification {\r
+  border-radius: 7px;\r
+}\r
+.qcomment {\r
+       border: 1px solid #EEE;\r
+       padding: 3px;\r
+       margin-top: 15px;\r
+       margin-left: 25px;\r
+       width: 125px;\r
+       overflow-y: auto;\r
+}\r
+\r
+\r
+.qcomment option {\r
+       width: 125px;\r
+       overflow-x: hidden;\r
+}\r
+\r
+.qcomment {\r
+       opacity: 0.3;\r
+       filter:alpha(opacity=30);\r
+}\r
+.qcomment:hover {\r
+       opacity: 1.0;\r
+       filter:alpha(opacity=100);\r
+}\r
+\r
+/* notifications popup menu */\r
+.nav-notify {\r
+       display: none;\r
+       position: absolute;\r
+       font-size: 10px;\r
+       padding: 1px 3px;\r
+       top: 0px;\r
+       right: -10px;\r
+       min-width: 15px;\r
+       text-align: right;\r
+}\r
+.nav-notify.show {\r
+       display: block;\r
+}\r
+ul.notifications-menu-popup {\r
+       position: absolute;\r
+       display: none;\r
+       width: 10em;\r
+       margin: 0px;\r
+       padding: 0px 0.3em;\r
+       list-style: none;\r
+       right: -60px;\r
+}\r
+#nav-notifications-menu {\r
+       width: 300px;\r
+/*     max-height: 400px;*/\r
+       height: auto;\r
+/*     overflow-y: scroll;overflow-style:scrollbar;*/\r
+       background-color:#FFFFFF;\r
+       -moz-border-radius: 5px;\r
+       -webkit-border-radius: 5px;\r
+       border-radius:5px;\r
+       border: 1px solid #AAA;\r
+       -moz-box-shadow: 3px 3px 5px #555;\r
+       -webkit-box-shadow: 3px 3px 5px #555;\r
+       box-shadow: 3px 3px 5px #555;\r
+/*     z-index: 103;*/\r
+}\r
+#nav-notifications-menu .contactname { font-weight: bold; font-size: 0.9em; }\r
+#nav-notifications-menu img { float: left; margin-right: 5px; }\r
+#nav-notifications-menu .notif-when { font-size: 0.8em; display: block; }\r
+#nav-notifications-menu li {\r
+       padding: 7px 0px 7px 10px;\r
+       word-wrap:normal;\r
+       border-bottom: 1px solid #000;\r
+}\r
+\r
+#nav-notifications-menu li:hover {\r
+\r
+}\r
+\r
+#nav-notifications-menu a:hover {\r
+       text-decoration: underline;\r
+}\r
+\r
+.notif-item a {\r
+       color: #000000;\r
+}\r
+\r
+.notif-item a:hover {\r
+       text-decoration: underline;\r
+}\r
+\r
+.notif-image {\r
+       width: 32px;\r
+       height: 32px;\r
+       padding: 7px 7px 0px 0px;\r
+\r
+}\r
+\r
+.notify-seen {\r
+       background: #DDDDDD;\r
+}\r
+\r
+#id_term_label {\r
+       width:75px;\r
+}\r
+#id_term {\r
+       width:100px;\r
+}\r
+\r
+#recip {\r
+       \r
+}\r
+.autocomplete-w1 { background: #ffffff; no-repeat bottom right; position:absolute; top:0px; left:0px; margin:6px 0 0 6px; /* IE6 fix: */ _background:none; _margin:1px 0 0 0; }\r
+.autocomplete { color:#000; border:1px solid #999; background:#FFF; cursor:default; text-align:left; max-height:350px; overflow:auto; margin:-6px 6px 6px -6px; /* IE6 specific: */ _height:350px;  _margin:0; _overflow-x:hidden; }\r
+.autocomplete .selected { background:#F0F0F0; }\r
+.autocomplete div { padding:2px 5px; white-space:nowrap; overflow:hidden; }\r
+\r
+#datebrowse-sidebar select {\r
+       margin-left: 40px;\r
+       width: 130px;\r
+}\r
+\r
+/*@media only screen and (min-device-width: 768px)\r
+and (max-device-width: 1024px)*/\r
+/*@media only screen and (min-device-width: 768px)\r
+{\r
+html {\r
+width:700px\r
+}\r
+div.section-wrapper {\r
+width:700px;\r
+margin-left:0px;\r
+}\r
+.wall-item-body {\r
+width:700px;\r
+}\r
+.comment .wall-item-body {\r
+width:650px;\r
+}\r
+}*/\r
+\r
+/*@media only screen and (min-device-width: 768px)\r
+{\r
+       .wall-item-body code {\r
+               width: 700px;\r
+       }\r
+\r
+       .comment .wall-item-body blockquote {\r
+               margin-left: 20px;\r
+               width: 680px;\r
+       }\r
+       blockquote {\r
+               width: 700px;\r
+       }\r
+\r
+}*/\r
+\r
diff --git a/view/theme/decaf-mobile/suggest_friends.tpl b/view/theme/decaf-mobile/suggest_friends.tpl
new file mode 100644 (file)
index 0000000..d5051e3
--- /dev/null
@@ -0,0 +1,16 @@
+<div class="profile-match-wrapper">
+       <div class="profile-match-photo">
+               <a href="$url">
+                       <img src="$photo" alt="$name" width="80" height="80" title="$name [$url]" onError="this.src='../../../images/person-48.jpg';" />
+               </a>
+       </div>
+       <div class="profile-match-break"></div>
+       <div class="profile-match-name">
+               <a href="$url" title="$name">$name</a>
+       </div>
+       <div class="profile-match-end"></div>
+       {{ if $connlnk }}
+       <div class="profile-match-connect"><a href="$connlnk" title="$conntxt">$conntxt</a></div>
+       {{ endif }}
+       <a href="$ignlnk&confirm=1" title="$ignore" class="icon drophide profile-match-ignore" id="profile-match-drop-$ignid" {#onmouseout="imgdull(this);" onmouseover="imgbright(this);"#} onclick="id=this.id;return confirmDelete(function(){changeHref(id, '$ignlnk')});" ></a>
+</div>
diff --git a/view/theme/decaf-mobile/theme.php b/view/theme/decaf-mobile/theme.php
new file mode 100644 (file)
index 0000000..2897176
--- /dev/null
@@ -0,0 +1,33 @@
+<?php
+
+/*
+ * Name: Decaf--mobile version
+ * Description: No Javascript theme
+ * Credits: Navigation icons taken from http://iconza.com. Other icons taken from http://thenounproject.com, including: Like, Dislike, Black Lock, Unlock, Pencil, Tag, Camera, Paperclip (Marie Coons), Folder (Sergio Calcara), Chain-link (Andrew Fortnum), Speaker (Harold Kim), Quotes (Henry Ryder), Video Camera (Anas Ramadan), and Left Arrow, Right Arrow, and Delete X (all three P.J. Onori). All under Attribution (CC BY 3.0). Others from The Noun Project are public domain or No Rights Reserved (CC0).
+ * Version: Version 0.2.17
+ * Author: Zach P <techcity@f.shmuz.in>
+ * Maintainer: Zach P <techcity@f.shmuz.in>
+ */
+
+function decaf_mobile_init(&$a) {
+       $a->theme_info = array();
+       $a->sourcename = 'Friendica mobile web';
+       $a->videowidth = 250;
+       $a->videoheight = 200;
+       $a->theme_thread_allow = false;
+//     $a->force_max_items = 10;
+       set_template_engine($a, 'smarty3');
+}
+
+function decaf_mobile_content_loaded(&$a) {
+
+       // I could do this in style.php, but by having the CSS in a file the browser will cache it,
+       // making pages load faster
+       if( $a->module === 'home' || $a->module === 'login' || $a->module === 'register' || $a->module === 'lostpass' ) {
+//             $a->page['htmlhead'] = str_replace('$stylesheet', $a->get_baseurl() . '/view/theme/decaf-mobile/login-style.css', $a->page['htmlhead']);
+               $a->theme['stylesheet'] = $a->get_baseurl() . '/view/theme/decaf-mobile/login-style.css';
+       }
+       if( $a->module === 'login' )
+               $a->page['end'] .= '<script type="text/javascript"> $j(document).ready(function() { $j("#id_" + window.loginName).focus();} );</script>';
+
+}
diff --git a/view/theme/decaf-mobile/threaded_conversation.tpl b/view/theme/decaf-mobile/threaded_conversation.tpl
new file mode 100644 (file)
index 0000000..5310b32
--- /dev/null
@@ -0,0 +1,12 @@
+$live_update
+
+{{ for $threads as $thread }}
+{{ if $mode == display }}
+{{ inc $thread.template with $item=$thread }}{{ endinc }}
+{{ else }}
+{{ inc wall_thread_toponly.tpl with $item=$thread }}{{ endinc }}
+{{ endif }}
+{{ endfor }}
+
+<div id="conversation-end"></div>
+
diff --git a/view/theme/decaf-mobile/voting_fakelink.tpl b/view/theme/decaf-mobile/voting_fakelink.tpl
new file mode 100644 (file)
index 0000000..b66302c
--- /dev/null
@@ -0,0 +1 @@
+<span class="fakelink-wrapper"  id="$[type]list-$id-wrapper">$phrase</span>
diff --git a/view/theme/decaf-mobile/wall_thread.tpl b/view/theme/decaf-mobile/wall_thread.tpl
new file mode 100644 (file)
index 0000000..a5bcbda
--- /dev/null
@@ -0,0 +1,119 @@
+<div id="tread-wrapper-$item.id" class="tread-wrapper $item.toplevel">
+<a name="$item.id" ></a>
+{#<!--<div class="wall-item-outside-wrapper $item.indent$item.previewing wallwall" 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-info{{ if $item.owner_url }} wallwall{{ endif }}" id="wall-item-info-$item.id">
+                       {{ if $item.owner_url }}
+                       <div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-$item.id" >
+                               <a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-photo-link" id="wall-item-ownerphoto-link-$item.id">
+                               <img src="$item.owner_photo" class="wall-item-photo$item.osparkle" id="wall-item-ownerphoto-$item.id" style="height: 80px; width: 80px;" alt="$item.owner_name" onError="this.src='../../../images/person-48.jpg';" />
+                               </a>
+                       </div>
+                       <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="$item.wall" /></div>
+                       {{ endif }}
+                       {#<!--<div class="wall-item-photo-wrapper wwfrom" 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)">-->#}
+                       {#<!--<div class="wall-item-photo-wrapper{{ if $item.owner_url }} wwfrom{{ endif }}" id="wall-item-photo-wrapper-$item.id">-->#}
+                               <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" onError="this.src='../../../images/person-48.jpg';" />
+                               </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 class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
+                        $item.item_photo_menu
+                    </ul>
+                </div>-->#}
+
+                       {#<!--</div>-->#}
+                       {#<!--<div class="wall-item-photo-end"></div>-->#}
+                       <div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" >
+                               {{ if $item.lock }}{#<!--<div class="wall-item-lock">-->#}<img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="$item.lock" {#onclick="lockview(event,$item.id);"#} />{#<!--</div>-->#}
+                               {{ else }}<div class="wall-item-lock"></div>{{ endif }} 
+                               <div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div>
+                       </div>
+               </div>
+               {#<!--<div class="wall-item-author">-->#}
+                               <a href="$item.profile_url" target="redir" 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>{{ if $item.owner_url }} $item.to <a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-name-link"><span class="wall-item-name$item.osparkle" id="wall-item-ownername-$item.id">$item.owner_name</span></a> $item.vwall{{ endif }}<br />
+                               <div class="wall-item-ago"  id="wall-item-ago-$item.id">$item.ago</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 class="body-tag">-->#}
+                                               {{ for $item.tags as $tag }}
+                                                       <span class='body-tag tag'>$tag</span>
+                                               {{ endfor }}
+                                       {#<!--</div>-->#}
+                       {{ if $item.has_cats }}
+                       <div class="categorytags">$item.txt_cats {{ for $item.categories as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+                       </div>
+                       {{ endif }}
+
+                       {{ if $item.has_folders }}
+                       <div class="filesavetags">$item.txt_folders {{ for $item.folders as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+                       </div>
+                       {{ endif }}
+                       </div>
+               </div>
+               <div class="wall-item-tools" id="wall-item-tools-$item.id">
+                       {{ if $item.vote }}
+                       <div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id">
+                               <a href="like/$item.id?verb=like&return=$return_path#$item.id" class="icon like" title="$item.vote.like.0" ></a>
+                               {{ if $item.vote.dislike }}
+                               <a href="like/$item.id?verb=dislike&return=$return_path#$item.id" class="icon dislike" title="$item.vote.dislike.0" ></a>
+                               {{ endif }}
+                               {#<!--{{ if $item.vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>{{ endif }}-->#}
+                               <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
+                       </div>
+                       {{ endif }}
+                       {{ if $item.plink }}
+                               {#<!--<div class="wall-item-links-wrapper">-->#}<a href="$item.plink.href" title="$item.plink.title" target="external-link" class="wall-item-links-wrapper icon remote-link$item.sparkle"></a>{#<!--</div>-->#}
+                       {{ endif }}
+                       {{ if $item.edpost }}
+                               <a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
+                       {{ endif }}
+                        
+                       {{ if $item.star }}
+                       <a href="starred/$item.id?return=$return_path#$item.id" id="starred-$item.id" class="star-item icon $item.isstarred" title="$item.star.toggle"></a>
+                       {{ endif }}
+                       {#<!--{{ if $item.tagger }}
+                       <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.tagger.add"></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 class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >-->#}
+                               {{ if $item.drop.dropping }}<a href="item/drop/$item.id?confirm=1" onclick="id=this.id;return confirmDelete(function(){changeHref(id, 'item/drop/$item.id')});" class="wall-item-delete-wrapper icon drophide" title="$item.drop.delete" id="wall-item-delete-wrapper-$item.id" {#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>  
+       {#<!--<div class="wall-item-wrapper-end"></div>-->#}
+       <div class="wall-item-like wall-item-like-full $item.indent" id="wall-item-like-$item.id">$item.like</div>
+       <div class="wall-item-dislike wall-item-dislike-full $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
+
+       {{ if $item.threaded }}
+       {{ if $item.comment }}
+       {#<!--<div class="wall-item-comment-wrapper $item.indent" >-->#}
+               $item.comment
+       {#<!--</div>-->#}
+       {{ endif }}
+       {{ endif }}
+
+{#<!--<div class="wall-item-outside-wrapper-end $item.indent" ></div>-->#}
+{#<!--</div>-->#}
+{{ for $item.children as $child }}
+       {{ inc $child.template with $item=$child }}{{ endinc }}
+{{ endfor }}
+
+{{ if $item.flatten }}
+{#<!--<div class="wall-item-comment-wrapper" >-->#}
+       $item.comment
+{#<!--</div>-->#}
+{{ endif }}
+</div>
+
diff --git a/view/theme/decaf-mobile/wall_thread_toponly.tpl b/view/theme/decaf-mobile/wall_thread_toponly.tpl
new file mode 100644 (file)
index 0000000..817432d
--- /dev/null
@@ -0,0 +1,101 @@
+<!--{{if $item.comment_firstcollapsed}}
+       <div class="hide-comments-outer">
+       <span id="hide-comments-total-$item.id" class="hide-comments-total">$item.num_comments</span> <span id="hide-comments-$item.id" class="hide-comments fakelink" onclick="showHideComments($item.id);">$item.hide_text</span>
+       </div>
+       <div id="collapsed-comments-$item.id" class="collapsed-comments" style="display: none;">
+{{endif}}-->
+<div id="tread-wrapper-$item.id" class="tread-wrapper $item.toplevel">
+<a name="$item.id" ></a>
+       <div class="wall-item-content-wrapper $item.indent" 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 wwto" id="wall-item-ownerphoto-wrapper-$item.id" >
+                               <a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-photo-link" id="wall-item-ownerphoto-link-$item.id">
+                               <img src="$item.owner_photo" class="wall-item-photo$item.osparkle" id="wall-item-ownerphoto-$item.id" style="height: 80px; width: 80px;" alt="$item.owner_name" onError="this.src='../../../images/person-48.jpg';" />
+                               </a>
+                       </div>
+                       <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="$item.wall" /></div>
+                       {{ endif }}
+                               <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" onError="this.src='../../../images/person-48.jpg';" />
+                               </a>
+
+                       <div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" >
+                               {{ if $item.lock }}<img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="$item.lock" {#onclick="lockview(event,$item.id);"#} />
+                               {{ else }}<div class="wall-item-lock"></div>{{ endif }} 
+                               <div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div>
+                       </div>
+               </div>
+                               <a href="$item.profile_url" target="redir" 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>{{ if $item.owner_url }} $item.to <a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-name-link"><span class="wall-item-name$item.osparkle" id="wall-item-ownername-$item.id">$item.owner_name</span></a> $item.vwall{{ endif }}<br />
+                               <div class="wall-item-ago"  id="wall-item-ago-$item.id">$item.ago</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-body" id="wall-item-body-$item.id" >$item.body
+                                               {{ for $item.tags as $tag }}
+                                                       <span class='body-tag tag'>$tag</span>
+                                               {{ endfor }}
+                       {{ if $item.has_cats }}
+                       <div class="categorytags">$item.txt_cats {{ for $item.categories as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+                       </div>
+                       {{ endif }}
+
+                       {{ if $item.has_folders }}
+                       <div class="filesavetags">$item.txt_folders {{ for $item.folders as $cat }}$cat.name <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+                       </div>
+                       {{ endif }}
+                       </div>
+               </div>
+               <div class="wall-item-tools" id="wall-item-tools-$item.id">
+                       {{ if $item.vote }}
+                       <div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id">
+                               <a href="like/$item.id?verb=like&return=$return_path#$item.id" class="icon like" title="$item.vote.like.0" ></a>
+                               {{ if $item.vote.dislike }}
+                               <a href="like/$item.id?verb=dislike&return=$return_path#$item.id" class="icon dislike" title="$item.vote.dislike.0" ></a>
+                               {{ endif }}
+                               {#<!--{{ if $item.vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>{{ endif }}-->#}
+                               <img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
+                       </div>
+                       {{ endif }}
+                       {{ if $item.plink }}
+                               <a href="$item.plink.href" title="$item.plink.title" target="external-link" class="wall-item-links-wrapper icon remote-link$item.sparkle"></a>
+                       {{ endif }}
+                       {{ if $item.edpost }}
+                               <a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
+                       {{ endif }}
+                        
+                       {{ if $item.star }}
+                       <a href="starred/$item.id?return=$return_path#$item.id" id="starred-$item.id" class="star-item icon $item.isstarred" title="$item.star.toggle"></a>
+                       {{ endif }}
+                       {#<!--{{ if $item.tagger }}
+                       <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.tagger.add"></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 }}                     -->#}
+                       
+                               {{ if $item.drop.dropping }}<a href="item/drop/$item.id?confirm=1" onclick="id=this.id;return confirmDelete(function(){changeHref(id, 'item/drop/$item.id')});" class="wall-item-delete-wrapper icon drophide" title="$item.drop.delete" id="wall-item-delete-wrapper-$item.id" {#onmouseover="imgbright(this);" onmouseout="imgdull(this);"#} ></a>{{ endif }}
+                               {#<!--{{ if $item.drop.pagedrop }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}-->#}
+               </div>
+       </div>  
+       <div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
+       <div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
+
+       <div class="hide-comments-outer">
+       <a href="display/$user.nickname/$item.id"><span id="hide-comments-total-$item.id" class="hide-comments-total">$item.total_comments_num $item.total_comments_text</span></a>
+       </div>
+<!--   {{ if $item.threaded }}
+       {{ if $item.comment }}
+               $item.comment
+       {{ endif }}
+       {{ endif }}
+
+{{ for $item.children as $child }}
+       {{ inc $child.template with $item=$child }}{{ endinc }}
+{{ endfor }}
+
+{{ if $item.flatten }}
+       $item.comment
+{{ endif }}-->
+</div>
+<!--{{if $item.comment_lastcollapsed}}</div>{{endif}}-->
+
diff --git a/view/theme/decaf-mobile/wallmessage.tpl b/view/theme/decaf-mobile/wallmessage.tpl
new file mode 100644 (file)
index 0000000..e7fa0ec
--- /dev/null
@@ -0,0 +1,32 @@
+
+<h3>$header</h3>
+
+<h4>$subheader</h4>
+
+<div id="prvmail-wrapper" >
+<form id="prvmail-form" action="wallmessage/$nickname" method="post" >
+
+$parent
+
+<div id="prvmail-to-label">$to</div>
+$recipname
+
+<div id="prvmail-subject-label">$subject</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$subjtxt" $readonly tabindex="11" />
+
+<div id="prvmail-message-label">$yourmessage</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$text</textarea>
+
+
+<div id="prvmail-submit-wrapper" >
+       <input type="submit" id="prvmail-submit" name="submit" value="Submit" tabindex="13" />
+       {#<!--<div id="prvmail-link-wrapper" >
+               <div id="prvmail-link" class="icon border link" title="$insert" onclick="jotGetLink();" ></div>
+       </div> -->#}
+       <div id="prvmail-rotator-wrapper" >
+               <img id="prvmail-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
+       </div> 
+</div>
+<div id="prvmail-end"></div>
+</form>
+</div>
diff --git a/view/theme/decaf-mobile/wallmsg-end.tpl b/view/theme/decaf-mobile/wallmsg-end.tpl
new file mode 100644 (file)
index 0000000..6074133
--- /dev/null
@@ -0,0 +1,2 @@
+<script type="text/javascript" src="$baseurl/js/ajaxupload.min.js" ></script>
+
diff --git a/view/theme/decaf-mobile/wallmsg-header.tpl b/view/theme/decaf-mobile/wallmsg-header.tpl
new file mode 100644 (file)
index 0000000..dc6cb82
--- /dev/null
@@ -0,0 +1,7 @@
+
+<script language="javascript" type="text/javascript">
+{#//window.editSelect = "none";#}
+window.jotId = "#prvmail-text";
+window.imageUploadButton = 'prvmail-upload';
+</script>
+
index fc3594fdc9841e87072034018190344255fff171..6f263b3d3aeaa3758a2fe99584912c69f3baeba5 100644 (file)
@@ -3,7 +3,7 @@
                                <input type="hidden" name="type" value="$type" />
                                <input type="hidden" name="profile_uid" value="$profile_uid" />
                                <input type="hidden" name="parent" value="$parent" />
-                               <input type="hidden" name="return" value="$return_path" />
+                               {#<!--<input type="hidden" name="return" value="$return_path" />-->#}
                                <input type="hidden" name="jsreload" value="$jsreload" />
                                <input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
 
index 48930b48aba19923041570aef1e9e061f0d5cc8b..f7ed1075098e68e925a8e53986a1d11d560b8040 100644 (file)
                        <span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">menu</span>
                 <div class="contact-photo-menu" id="contact-photo-menu-$contact.id">
                     <ul>
-                        $contact.photo_menu
+                                               {{ for $contact.photo_menu as $c }}
+                                               {{ if $c.2 }}
+                                               <li><a target="redir" href="$c.1">$c.0</a></li>
+                                               {{ else }}
+                                               <li><a href="$c.1">$c.0</a></li>
+                                               {{ endif }}
+                                               {{ endfor }}
                     </ul>
                 </div>
                        {{ endif }}
index 765b41437de65685f8da3ec095479dd69f29b7aa..e940800323acb4d92e4e67a753d9e8e2ad41bdc1 100644 (file)
@@ -3,7 +3,7 @@
                                <input type="hidden" name="type" value="$type" />
                                <input type="hidden" name="profile_uid" value="$profile_uid" />
                                <input type="hidden" name="parent" value="$parent" />
-                               <input type="hidden" name="return" value="$return_path" />
+                               {#<!--<input type="hidden" name="return" value="$return_path" />-->#}
                                <input type="hidden" name="jsreload" value="$jsreload" />
                                <input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
                                <input type="hidden" name="post_id_random" value="$rand_num" />
index 04968bd07d2206eedcbe121190ee7a67b9b16d16..e656ea55278ab9563c2d26964d35dd7e07652402 100644 (file)
                        <span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">menu</span>
                 <div class="contact-photo-menu" id="contact-photo-menu-$contact.id">
                     <ul>
-                        $contact.photo_menu
+                                               {{ for $contact.photo_menu as $c }}
+                                               {{ if $c.2 }}
+                                               <li><a target="redir" href="$c.1">$c.0</a></li>
+                                               {{ else }}
+                                               <li><a href="$c.1">$c.0</a></li>
+                                               {{ endif }}
+                                               {{ endfor }}
                     </ul>
                 </div>
                        {{ endif }}
index 0f655ba43cf017b5d8abc34b9caaaf567616bef3..24164a0367da0a598b2041b8d8a208bee5915e03 100755 (executable)
@@ -7,7 +7,7 @@
                                <input type="hidden" name="type" value="$type" />
                                <input type="hidden" name="profile_uid" value="$profile_uid" />
                                <input type="hidden" name="parent" value="$parent" />
-                               <input type="hidden" name="return" value="$return_path" />
+                               {#<!--<input type="hidden" name="return" value="$return_path" />-->#}
                                <input type="hidden" name="jsreload" value="$jsreload" />
                                <input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
                                <input type="hidden" name="post_id_random" value="$rand_num" />
index 7e71aa380bce966c305e278a589bfca66e10421b..bb1d4fa79e1f899fd6a438ac98deae302b5c8379 100644 (file)
@@ -3,7 +3,7 @@
                                <input type="hidden" name="type" value="$type" />
                                <input type="hidden" name="profile_uid" value="$profile_uid" />
                                <input type="hidden" name="parent" value="$parent" />
-                               <input type="hidden" name="return" value="$return_path" />
+                               {#<!--<input type="hidden" name="return" value="$return_path" />-->#}
                                <input type="hidden" name="jsreload" value="$jsreload" />
                                <input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
                                <input type="hidden" name="post_id_random" value="$rand_num" />
index adcd5d75ed630be06b2ff538bfaef41911bc7dba..5410cd4cfb750a72b345df91f8c1bf4e6b8d4823 100755 (executable)
@@ -1,4 +1,4 @@
-<!--           <script>
+{#<!--         <script>
                $(document).ready( function () {
                        $(document).mouseup(function(e) {
                                var container = $("#comment-edit-wrapper-$id");
@@ -8,25 +8,25 @@
                                }
                        });
                });
-               </script>-->
+               </script>-->#}
 
                <div class="comment-wwedit-wrapper $indent" id="comment-edit-wrapper-$id" style="display: block;" >
                        <form class="comment-edit-form $indent" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;" >
-<!--                   <span id="hide-commentbox-$id" class="hide-commentbox fakelink" onclick="showHideCommentBox($id);">$comment</span>
-                       <form class="comment-edit-form" style="display: none;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">-->
+{#<!--                 <span id="hide-commentbox-$id" class="hide-commentbox fakelink" onclick="showHideCommentBox($id);">$comment</span>
+                       <form class="comment-edit-form" style="display: none;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">-->#}
                                <input type="hidden" name="type" value="$type" />
                                <input type="hidden" name="source" value="$sourceapp" />
                                <input type="hidden" name="profile_uid" value="$profile_uid" />
                                <input type="hidden" name="parent" value="$parent" />
-                               <input type="hidden" name="return" value="$return_path" />
+                               {#<!--<input type="hidden" name="return" value="$return_path" />-->#}
                                <input type="hidden" name="jsreload" value="$jsreload" />
                                <input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
                                <input type="hidden" name="post_id_random" value="$rand_num" />
 
-                               <!--<div class="comment-edit-photo" id="comment-edit-photo-$id" >-->
+                               {#<!--<div class="comment-edit-photo" id="comment-edit-photo-$id" >-->#}
                                        <a class="comment-edit-photo comment-edit-photo-link" id="comment-edit-photo-$id" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
-                               <!--</div>-->
-                               <!--<div class="comment-edit-photo-end"></div>-->
+                               {#<!--</div>-->#}
+                               {#<!--<div class="comment-edit-photo-end"></div>-->#}
                                <ul class="comment-edit-bb-$id">
                                        <li><a class="editicon boldbb shadow"
                                                style="cursor: pointer;" title="$edbold"
@@ -43,7 +43,7 @@
                                        <li><a class="editicon codebb shadow"
                                                style="cursor: pointer;" title="$edcode"
                                                onclick="insertFormatting('$comment','code', $id);"></a></li>
-<!--                                   <li><a class="editicon imagebb shadow"
+{#<!--                                 <li><a class="editicon imagebb shadow"
                                                style="cursor: pointer;" title="$edimg"
                                                onclick="insertFormatting('$comment','img', $id);"></a></li>
                                        <li><a class="editicon urlbb shadow"
                                                onclick="insertFormatting('$comment','url', $id);"></a></li>
                                        <li><a class="editicon videobb shadow"
                                                style="cursor: pointer;" title="$edvideo"
-                                               onclick="insertFormatting('$comment','video', $id);"></a></li>-->
+                                               onclick="insertFormatting('$comment','video', $id);"></a></li>-->#}
                                </ul>   
-                               <!--<div class="comment-edit-bb-end"></div>-->
-<!--                           <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);cmtBbClose($id);" >$comment</textarea>-->
+                               {#<!--<div class="comment-edit-bb-end"></div>-->#}
+{#<!--                         <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);cmtBbClose($id);" >$comment</textarea>-->#}
                                <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" >$comment</textarea>
                                {{ if $qcomment }}
                                        <select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" >
                                <div class="comment-edit-text-end"></div>
                                <div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" style="display: none;" >
                                        <input type="submit" onclick="post_comment($id); return false;" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="$submit" />
-                                       <!--<span onclick="preview_comment($id);" id="comment-edit-preview-link-$id" class="preview-link fakelink">$preview</span>
-                                       <div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div>-->
+                                       {#<!--<span onclick="preview_comment($id);" id="comment-edit-preview-link-$id" class="preview-link fakelink">$preview</span>
+                                       <div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div>-->#}
                                </div>
 
-                               <!--<div class="comment-edit-end"></div>-->
+                               {#<!--<div class="comment-edit-end"></div>-->#}
                        </form>
 
                </div>
index c27060bb395af4ce896281cec9a483f4b14a4638..7c19b3272e8f0f2d6588c957326a8c33c9e527c6 100644 (file)
@@ -5,16 +5,22 @@
                onmouseover="if (typeof t$contact.id != 'undefined') clearTimeout(t$contact.id);" 
                onmouseout="t$contact.id=setTimeout('closeMenu(\'contact-photo-menu-$contact.id\');',200)" >
 
-<!--                   <a href="$contact.url" title="$contact.img_hover" /><img src="$contact.thumb" $contact.sparkle alt="$contact.name" /></a>-->
+{#<!--                 <a href="$contact.url" title="$contact.img_hover" /><img src="$contact.thumb" $contact.sparkle alt="$contact.name" /></a>-->#}
                        <span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">
                        <img src="$contact.thumb" $contact.sparkle alt="$contact.name" />
                        </span>
 
                        {{ if $contact.photo_menu }}
-<!--                   <span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">menu</span>-->
+{#<!--                 <span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">menu</span>-->#}
                 <div class="contact-photo-menu" id="contact-photo-menu-$contact.id">
                     <ul>
-                        $contact.photo_menu
+                                               {{ for $contact.photo_menu as $c }}
+                                               {{ if $c.2 }}
+                                               <li><a target="redir" href="$c.1">$c.0</a></li>
+                                               {{ else }}
+                                               <li><a href="$c.1">$c.0</a></li>
+                                               {{ endif }}
+                                               {{ endfor }}
                     </ul>
                 </div>
                        {{ endif }}
index d354bc589c74aa2831925a457a491557e118ca24..43dbcaad7b1182946c0c5e9e4c456f5c71782da4 100644 (file)
@@ -18,6 +18,8 @@
        </div>
        <div id="photos-upload-exist-end"></div>
 
+       $default_upload_box
+
        <div id="photos-upload-noshare-div" class="photos-upload-noshare-div" >
                <input id="photos-upload-noshare" type="checkbox" name="not_visible" value="1" checked />
                <label id="photos-upload-noshare-text" for="photos-upload-noshare" >$nosharetext</label>
@@ -39,9 +41,9 @@
 
        <div id="photos-upload-spacer"></div>
 
-       $uploader
+       $alt_uploader
 
-       $default
+       $default_upload_submit
 
        <div class="photos-upload-end" ></div>
 </form>
index 380803807973b1ab1397498202bd69182b64fae5..5e0919c30f30ecdb90297fa61c7c5a488e8281ec 100755 (executable)
@@ -1,4 +1,4 @@
-<!--           <script>
+{#<!--         <script>
                $(document).ready( function () {
                        $(document).mouseup(function(e) {
                                var container = $("#comment-edit-wrapper-$id");
@@ -8,24 +8,24 @@
                                }
                        });
                });
-               </script>-->
+               </script>-->#}
 
                <div class="comment-wwedit-wrapper $indent" id="comment-edit-wrapper-$id" style="display: block;">
                        <form class="comment-edit-form" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">
-<!--                   <span id="hide-commentbox-$id" class="hide-commentbox fakelink" onclick="showHideCommentBox($id);">$comment</span>
-                       <form class="comment-edit-form" style="display: none;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">-->
+{#<!--                 <span id="hide-commentbox-$id" class="hide-commentbox fakelink" onclick="showHideCommentBox($id);">$comment</span>
+                       <form class="comment-edit-form" style="display: none;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">-->#}
                                <input type="hidden" name="type" value="$type" />
                                <input type="hidden" name="profile_uid" value="$profile_uid" />
                                <input type="hidden" name="parent" value="$parent" />
-                               <input type="hidden" name="return" value="$return_path" />
+                               {#<!--<input type="hidden" name="return" value="$return_path" />-->#}
                                <input type="hidden" name="jsreload" value="$jsreload" />
                                <input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
                                <input type="hidden" name="post_id_random" value="$rand_num" />
 
-<!--                           <div class="comment-edit-photo" id="comment-edit-photo-$id" >-->
+{#<!--                         <div class="comment-edit-photo" id="comment-edit-photo-$id" >-->#}
                                        <a class="comment-edit-photo comment-edit-photo-link" id="comment-edit-photo-$id" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
-<!--                           </div>-->
-                               <!--<div class="comment-edit-photo-end"></div>-->
+{#<!--                         </div>-->#}
+                               {#<!--<div class="comment-edit-photo-end"></div>-->#}
                                <ul class="comment-edit-bb" id="comment-edit-bb-$id">
                                        <li><a class="editicon boldbb shadow"
                                                style="cursor: pointer;" title="$edbold"
@@ -52,8 +52,8 @@
                                                style="cursor: pointer;" title="$edvideo"
                                                onclick="insertFormatting('$comment','video', $id);"></a></li>
                                </ul>   
-<!--                           <div class="comment-edit-bb-end"></div>-->
-<!--                           <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);cmtBbClose($id);" >$comment</textarea>-->
+{#<!--                         <div class="comment-edit-bb-end"></div>-->#}
+{#<!--                         <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);cmtBbClose($id);" >$comment</textarea>-->#}
                                <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" >$comment</textarea>
                                {{ if $qcomment }}
                                        <select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" >
@@ -71,7 +71,7 @@
                                        <div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div>
                                </div>
 
-                               <!--<div class="comment-edit-end"></div>-->
+                               {#<!--<div class="comment-edit-end"></div>-->#}
                        </form>
 
                </div>
index 4f66684e1119bba0c6a5856e39ecd6c1b1a153c3..dd3dbf79458bb5bd8a940a4cf9a0d48126645b2f 100644 (file)
                        <span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">menu</span>
                 <div class="contact-photo-menu" id="contact-photo-menu-$contact.id">
                     <ul>
-                        $contact.photo_menu
+                                               {{ for $contact.photo_menu as $c }}
+                                               {{ if $c.2 }}
+                                               <li><a target="redir" href="$c.1">$c.0</a></li>
+                                               {{ else }}
+                                               <li><a href="$c.1">$c.0</a></li>
+                                               {{ endif }}
+                                               {{ endfor }}
                     </ul>
                 </div>
                        {{ endif }}
index 2aa12a3ca1309b74ea418f8d501e3ad106efc2bf..1a41fcbdb0b8b53b235675c36d80e5575deaca17 100644 (file)
@@ -19,6 +19,7 @@
        <div id="photos-upload-exist-end"></div>
 
        <div id="photos-upload-choosefile-outer-wrapper">
+       $default_upload_box
        <div id="photos-upload-noshare-div" class="photos-upload-noshare-div" >
                <input id="photos-upload-noshare" type="checkbox" name="not_visible" value="1" checked />
                <div id="photos-upload-noshare-label">
@@ -41,9 +42,9 @@
 
        <div id="photos-upload-spacer"></div>
 
-       $uploader
+       $alt_uploader
 
-       $default
+       $default_upload_submit
 
        <div class="photos-upload-end" ></div>
        </div>
index 3fbde16318b33715404964d119d6af9866ac8dc0..293f93f94858212807dbe3012b5d319e811a8e70 100644 (file)
@@ -3,7 +3,7 @@
                                <input type="hidden" name="type" value="$type" />
                                <input type="hidden" name="profile_uid" value="$profile_uid" />
                                <input type="hidden" name="parent" value="$parent" />
-                               <input type="hidden" name="return" value="$return_path" />
+                               {#<!--<input type="hidden" name="return" value="$return_path" />-->#}
                                <input type="hidden" name="jsreload" value="$jsreload" />
                                <input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
                                <input type="hidden" name="post_id_random" value="$rand_num" />
index b826acc65d5c607acb7a60b752988a4ced8f5706..485ee6cac04761f8574692dfd6b0e0ee95df2419 100644 (file)
                        {{ if $contact.photo_menu }}
                        <a href="#" rel="#contact-photo-menu-$contact.id" class="contact-photo-menu-button icon s16 menu" id="contact-photo-menu-button-$contact.id">menu</a>
                        <ul class="contact-photo-menu menu-popup" id="contact-photo-menu-$contact.id">
-                               $contact.photo_menu
+                               {{ for $contact.photo_menu as $c }}
+                               {{ if $c.2 }}
+                               <li><a target="redir" href="$c.1">$c.0</a></li>
+                               {{ else }}
+                               <li><a href="$c.1">$c.0</a></li>
+                               {{ endif }}
+                               {{ endfor }}
                        </ul>
                        {{ endif }}
                </div>
index 1054b23e2425d9c0956205f4d05c42c7270992fb..f7fe22dd77dad0188eb24a0c60b3ff10a6ffb2c1 100644 (file)
@@ -3,7 +3,7 @@
                                <input type="hidden" name="type" value="$type" />
                                <input type="hidden" name="profile_uid" value="$profile_uid" />
                                <input type="hidden" name="parent" value="$parent" />
-                               <input type="hidden" name="return" value="$return_path" />
+                               {#<!--<input type="hidden" name="return" value="$return_path" />-->#}
                                <input type="hidden" name="jsreload" value="$jsreload" />
                                <input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
                                <input type="hidden" name="post_id_random" value="$rand_num" />
index fd27e494b92f859bf0f63eb227a0d618ec1fe160..4e39c0772a30146904bdef3c8b4e971d562cfe87 100644 (file)
@@ -7,7 +7,7 @@
                                <input type="hidden" name="type" value="$type" />
                                <input type="hidden" name="profile_uid" value="$profile_uid" />
                                <input type="hidden" name="parent" value="$parent" />
-                               <input type="hidden" name="return" value="$return_path" />
+                               {#<!--<input type="hidden" name="return" value="$return_path" />-->#}
                                <input type="hidden" name="jsreload" value="$jsreload" />
                                <input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
                                <input type="hidden" name="post_id_random" value="$rand_num" />