]> git.mxchange.org Git - friendica.git/commitdiff
Implement Smarty3
authorZach Prezkuta <fermion@gmx.com>
Sat, 22 Dec 2012 19:57:29 +0000 (12:57 -0700)
committerZach Prezkuta <fermion@gmx.com>
Sat, 22 Dec 2012 19:57:29 +0000 (12:57 -0700)
755 files changed:
boot.php
include/conversation.php
include/friendica_smarty.php [new file with mode: 0644]
include/text.php
mod/admin.php
mod/contacts.php
mod/content.php
mod/directory.php
mod/display.php
mod/fbrowser.php
mod/filer.php
mod/group.php
mod/hostxrd.php
mod/install.php
mod/message.php
mod/nogroup.php
mod/notifications.php
mod/notify.php
mod/photos.php
mod/poco.php
mod/profile.php
mod/profile_photo.php
mod/settings.php
mod/uimport.php
mod/viewcontacts.php
mod/xrd.php
mods/friendica-to-smarty-tpl.py [new file with mode: 0755]
object/Item.php
view/admin_logs.tpl
view/admin_remoteupdate.tpl
view/admin_site.tpl
view/api_friends_xml.tpl
view/api_timeline_xml.tpl
view/ca/smarty3/cmnt_received_eml.tpl [new file with mode: 0644]
view/ca/smarty3/follow_notify_eml.tpl [new file with mode: 0644]
view/ca/smarty3/friend_complete_eml.tpl [new file with mode: 0644]
view/ca/smarty3/htconfig.tpl [new file with mode: 0644]
view/ca/smarty3/intro_complete_eml.tpl [new file with mode: 0644]
view/ca/smarty3/lostpass_eml.tpl [new file with mode: 0644]
view/ca/smarty3/mail_received_html_body_eml.tpl [new file with mode: 0644]
view/ca/smarty3/mail_received_text_body_eml.tpl [new file with mode: 0644]
view/ca/smarty3/passchanged_eml.tpl [new file with mode: 0644]
view/ca/smarty3/register_open_eml.tpl [new file with mode: 0644]
view/ca/smarty3/register_verify_eml.tpl [new file with mode: 0644]
view/ca/smarty3/request_notify_eml.tpl [new file with mode: 0644]
view/ca/smarty3/wall_received_eml.tpl [new file with mode: 0644]
view/contact_edit.tpl
view/contacts-template.tpl
view/cs/smarty3/cmnt_received_eml.tpl [new file with mode: 0644]
view/cs/smarty3/cmnt_received_html_body_eml.tpl [new file with mode: 0644]
view/cs/smarty3/cmnt_received_text_body_eml.tpl [new file with mode: 0644]
view/cs/smarty3/follow_notify_eml.tpl [new file with mode: 0644]
view/cs/smarty3/friend_complete_eml.tpl [new file with mode: 0644]
view/cs/smarty3/htconfig.tpl [new file with mode: 0644]
view/cs/smarty3/intro_complete_eml.tpl [new file with mode: 0644]
view/cs/smarty3/lostpass_eml.tpl [new file with mode: 0644]
view/cs/smarty3/mail_received_html_body_eml.tpl [new file with mode: 0644]
view/cs/smarty3/mail_received_text_body_eml.tpl [new file with mode: 0644]
view/cs/smarty3/passchanged_eml.tpl [new file with mode: 0644]
view/cs/smarty3/register_open_eml.tpl [new file with mode: 0644]
view/cs/smarty3/register_verify_eml.tpl [new file with mode: 0644]
view/cs/smarty3/request_notify_eml.tpl [new file with mode: 0644]
view/cs/smarty3/wall_received_eml.tpl [new file with mode: 0644]
view/cs/smarty3/wall_received_html_body_eml.tpl [new file with mode: 0644]
view/cs/smarty3/wall_received_text_body_eml.tpl [new file with mode: 0644]
view/de/smarty3/cmnt_received_eml.tpl [new file with mode: 0644]
view/de/smarty3/cmnt_received_html_body_eml.tpl [new file with mode: 0644]
view/de/smarty3/cmnt_received_text_body_eml.tpl [new file with mode: 0644]
view/de/smarty3/follow_notify_eml.tpl [new file with mode: 0644]
view/de/smarty3/friend_complete_eml.tpl [new file with mode: 0644]
view/de/smarty3/htconfig.tpl [new file with mode: 0644]
view/de/smarty3/intro_complete_eml.tpl [new file with mode: 0644]
view/de/smarty3/lostpass_eml.tpl [new file with mode: 0644]
view/de/smarty3/mail_received_html_body_eml.tpl [new file with mode: 0644]
view/de/smarty3/mail_received_text_body_eml.tpl [new file with mode: 0644]
view/de/smarty3/passchanged_eml.tpl [new file with mode: 0644]
view/de/smarty3/register_open_eml.tpl [new file with mode: 0644]
view/de/smarty3/register_verify_eml.tpl [new file with mode: 0644]
view/de/smarty3/request_notify_eml.tpl [new file with mode: 0644]
view/de/smarty3/update_fail_eml.tpl [new file with mode: 0644]
view/de/smarty3/wall_received_eml.tpl [new file with mode: 0644]
view/de/smarty3/wall_received_html_body_eml.tpl [new file with mode: 0644]
view/de/smarty3/wall_received_text_body_eml.tpl [new file with mode: 0644]
view/directory_item.tpl
view/en/smarty3/follow_notify_eml.tpl [new file with mode: 0644]
view/en/smarty3/friend_complete_eml.tpl [new file with mode: 0644]
view/en/smarty3/htconfig.tpl [new file with mode: 0644]
view/en/smarty3/intro_complete_eml.tpl [new file with mode: 0644]
view/en/smarty3/lostpass_eml.tpl [new file with mode: 0644]
view/en/smarty3/passchanged_eml.tpl [new file with mode: 0644]
view/en/smarty3/register_open_eml.tpl [new file with mode: 0644]
view/en/smarty3/register_verify_eml.tpl [new file with mode: 0644]
view/en/smarty3/request_notify_eml.tpl [new file with mode: 0644]
view/en/smarty3/update_fail_eml.tpl [new file with mode: 0644]
view/eo/smarty3/follow_notify_eml.tpl [new file with mode: 0644]
view/eo/smarty3/friend_complete_eml.tpl [new file with mode: 0644]
view/eo/smarty3/intro_complete_eml.tpl [new file with mode: 0644]
view/eo/smarty3/lostpass_eml.tpl [new file with mode: 0644]
view/eo/smarty3/passchanged_eml.tpl [new file with mode: 0644]
view/eo/smarty3/register_open_eml.tpl [new file with mode: 0644]
view/eo/smarty3/register_verify_eml.tpl [new file with mode: 0644]
view/eo/smarty3/request_notify_eml.tpl [new file with mode: 0644]
view/eo/smarty3/update_fail_eml.tpl [new file with mode: 0644]
view/es/smarty3/cmnt_received_eml.tpl [new file with mode: 0644]
view/es/smarty3/follow_notify_eml.tpl [new file with mode: 0644]
view/es/smarty3/friend_complete_eml.tpl [new file with mode: 0644]
view/es/smarty3/htconfig.tpl [new file with mode: 0644]
view/es/smarty3/intro_complete_eml.tpl [new file with mode: 0644]
view/es/smarty3/lostpass_eml.tpl [new file with mode: 0644]
view/es/smarty3/mail_received_html_body_eml.tpl [new file with mode: 0644]
view/es/smarty3/mail_received_text_body_eml.tpl [new file with mode: 0644]
view/es/smarty3/passchanged_eml.tpl [new file with mode: 0644]
view/es/smarty3/register_open_eml.tpl [new file with mode: 0644]
view/es/smarty3/register_verify_eml.tpl [new file with mode: 0644]
view/es/smarty3/request_notify_eml.tpl [new file with mode: 0644]
view/es/smarty3/wall_received_eml.tpl [new file with mode: 0644]
view/field.tpl
view/filer_dialog.tpl
view/fr/smarty3/cmnt_received_eml.tpl [new file with mode: 0644]
view/fr/smarty3/cmnt_received_html_body_eml.tpl [new file with mode: 0644]
view/fr/smarty3/cmnt_received_text_body_eml.tpl [new file with mode: 0644]
view/fr/smarty3/follow_notify_eml.tpl [new file with mode: 0644]
view/fr/smarty3/friend_complete_eml.tpl [new file with mode: 0644]
view/fr/smarty3/htconfig.tpl [new file with mode: 0644]
view/fr/smarty3/intro_complete_eml.tpl [new file with mode: 0644]
view/fr/smarty3/lostpass_eml.tpl [new file with mode: 0644]
view/fr/smarty3/mail_received_html_body_eml.tpl [new file with mode: 0644]
view/fr/smarty3/mail_received_text_body_eml.tpl [new file with mode: 0644]
view/fr/smarty3/passchanged_eml.tpl [new file with mode: 0644]
view/fr/smarty3/register_open_eml.tpl [new file with mode: 0644]
view/fr/smarty3/register_verify_eml.tpl [new file with mode: 0644]
view/fr/smarty3/request_notify_eml.tpl [new file with mode: 0644]
view/fr/smarty3/wall_received_eml.tpl [new file with mode: 0644]
view/group_edit.tpl
view/install_checks.tpl
view/install_db.tpl
view/install_settings.tpl
view/intros.tpl
view/is/smarty3/follow_notify_eml.tpl [new file with mode: 0644]
view/is/smarty3/friend_complete_eml.tpl [new file with mode: 0644]
view/is/smarty3/intro_complete_eml.tpl [new file with mode: 0644]
view/is/smarty3/lostpass_eml.tpl [new file with mode: 0644]
view/is/smarty3/passchanged_eml.tpl [new file with mode: 0644]
view/is/smarty3/register_open_eml.tpl [new file with mode: 0644]
view/is/smarty3/register_verify_eml.tpl [new file with mode: 0644]
view/is/smarty3/request_notify_eml.tpl [new file with mode: 0644]
view/is/smarty3/update_fail_eml.tpl [new file with mode: 0644]
view/it/smarty3/cmnt_received_eml.tpl [new file with mode: 0644]
view/it/smarty3/cmnt_received_html_body_eml.tpl [new file with mode: 0644]
view/it/smarty3/cmnt_received_text_body_eml.tpl [new file with mode: 0644]
view/it/smarty3/follow_notify_eml.tpl [new file with mode: 0644]
view/it/smarty3/friend_complete_eml.tpl [new file with mode: 0644]
view/it/smarty3/htconfig.tpl [new file with mode: 0644]
view/it/smarty3/intro_complete_eml.tpl [new file with mode: 0644]
view/it/smarty3/lostpass_eml.tpl [new file with mode: 0644]
view/it/smarty3/mail_received_html_body_eml.tpl [new file with mode: 0644]
view/it/smarty3/mail_received_text_body_eml.tpl [new file with mode: 0644]
view/it/smarty3/passchanged_eml.tpl [new file with mode: 0644]
view/it/smarty3/register_open_eml.tpl [new file with mode: 0644]
view/it/smarty3/register_verify_eml.tpl [new file with mode: 0644]
view/it/smarty3/request_notify_eml.tpl [new file with mode: 0644]
view/it/smarty3/wall_received_eml.tpl [new file with mode: 0644]
view/it/smarty3/wall_received_html_body_eml.tpl [new file with mode: 0644]
view/it/smarty3/wall_received_text_body_eml.tpl [new file with mode: 0644]
view/login.tpl
view/mail_display.tpl
view/nb-no/smarty3/follow_notify_eml.tpl [new file with mode: 0644]
view/nb-no/smarty3/friend_complete_eml.tpl [new file with mode: 0644]
view/nb-no/smarty3/intro_complete_eml.tpl [new file with mode: 0644]
view/nb-no/smarty3/lostpass_eml.tpl [new file with mode: 0644]
view/nb-no/smarty3/passchanged_eml.tpl [new file with mode: 0644]
view/nb-no/smarty3/register_open_eml.tpl [new file with mode: 0644]
view/nb-no/smarty3/register_verify_eml.tpl [new file with mode: 0644]
view/nb-no/smarty3/request_notify_eml.tpl [new file with mode: 0644]
view/nb-no/smarty3/update_fail_eml.tpl [new file with mode: 0644]
view/nogroup-template.tpl
view/notifications.tpl
view/pagetypes.tpl
view/photos_recent.tpl
view/pl/smarty3/follow_notify_eml.tpl [new file with mode: 0644]
view/pl/smarty3/friend_complete_eml.tpl [new file with mode: 0644]
view/pl/smarty3/intro_complete_eml.tpl [new file with mode: 0644]
view/pl/smarty3/lostpass_eml.tpl [new file with mode: 0644]
view/pl/smarty3/passchanged_eml.tpl [new file with mode: 0644]
view/pl/smarty3/register_open_eml.tpl [new file with mode: 0644]
view/pl/smarty3/register_verify_eml.tpl [new file with mode: 0644]
view/pl/smarty3/request_notify_eml.tpl [new file with mode: 0644]
view/pl/smarty3/update_fail_eml.tpl [new file with mode: 0644]
view/poco_xml.tpl
view/profile_vcard.tpl
view/prv_message.tpl
view/pt-br/smarty3/intro_complete_eml.tpl [new file with mode: 0644]
view/pt-br/smarty3/update_fail_eml.tpl [new file with mode: 0644]
view/settings.tpl
view/settings_connectors.tpl
view/settings_display.tpl
view/settings_oauth_edit.tpl
view/smarty3/404.tpl [new file with mode: 0644]
view/smarty3/acl_selector.tpl [new file with mode: 0644]
view/smarty3/admin_aside.tpl [new file with mode: 0644]
view/smarty3/admin_logs.tpl [new file with mode: 0644]
view/smarty3/admin_plugins.tpl [new file with mode: 0644]
view/smarty3/admin_plugins_details.tpl [new file with mode: 0644]
view/smarty3/admin_remoteupdate.tpl [new file with mode: 0644]
view/smarty3/admin_site.tpl [new file with mode: 0644]
view/smarty3/admin_summary.tpl [new file with mode: 0644]
view/smarty3/admin_users.tpl [new file with mode: 0644]
view/smarty3/album_edit.tpl [new file with mode: 0644]
view/smarty3/api_config_xml.tpl [new file with mode: 0644]
view/smarty3/api_friends_xml.tpl [new file with mode: 0644]
view/smarty3/api_ratelimit_xml.tpl [new file with mode: 0644]
view/smarty3/api_status_xml.tpl [new file with mode: 0644]
view/smarty3/api_test_xml.tpl [new file with mode: 0644]
view/smarty3/api_timeline_atom.tpl [new file with mode: 0644]
view/smarty3/api_timeline_rss.tpl [new file with mode: 0644]
view/smarty3/api_timeline_xml.tpl [new file with mode: 0644]
view/smarty3/api_user_xml.tpl [new file with mode: 0644]
view/smarty3/apps.tpl [new file with mode: 0644]
view/smarty3/atom_feed.tpl [new file with mode: 0644]
view/smarty3/atom_feed_dfrn.tpl [new file with mode: 0644]
view/smarty3/atom_mail.tpl [new file with mode: 0644]
view/smarty3/atom_relocate.tpl [new file with mode: 0644]
view/smarty3/atom_suggest.tpl [new file with mode: 0644]
view/smarty3/auto_request.tpl [new file with mode: 0644]
view/smarty3/birthdays_reminder.tpl [new file with mode: 0644]
view/smarty3/categories_widget.tpl [new file with mode: 0644]
view/smarty3/comment_item.tpl [new file with mode: 0644]
view/smarty3/common_friends.tpl [new file with mode: 0644]
view/smarty3/common_tabs.tpl [new file with mode: 0644]
view/smarty3/contact_block.tpl [new file with mode: 0644]
view/smarty3/contact_edit.tpl [new file with mode: 0644]
view/smarty3/contact_end.tpl [new file with mode: 0644]
view/smarty3/contact_head.tpl [new file with mode: 0644]
view/smarty3/contact_template.tpl [new file with mode: 0644]
view/smarty3/contacts-end.tpl [new file with mode: 0644]
view/smarty3/contacts-head.tpl [new file with mode: 0644]
view/smarty3/contacts-template.tpl [new file with mode: 0644]
view/smarty3/contacts-widget-sidebar.tpl [new file with mode: 0644]
view/smarty3/content.tpl [new file with mode: 0644]
view/smarty3/conversation.tpl [new file with mode: 0644]
view/smarty3/crepair.tpl [new file with mode: 0644]
view/smarty3/cropbody.tpl [new file with mode: 0644]
view/smarty3/cropend.tpl [new file with mode: 0644]
view/smarty3/crophead.tpl [new file with mode: 0644]
view/smarty3/delegate.tpl [new file with mode: 0644]
view/smarty3/dfrn_req_confirm.tpl [new file with mode: 0644]
view/smarty3/dfrn_request.tpl [new file with mode: 0644]
view/smarty3/diasp_dec_hdr.tpl [new file with mode: 0644]
view/smarty3/diaspora_comment.tpl [new file with mode: 0644]
view/smarty3/diaspora_comment_relay.tpl [new file with mode: 0644]
view/smarty3/diaspora_conversation.tpl [new file with mode: 0644]
view/smarty3/diaspora_like.tpl [new file with mode: 0644]
view/smarty3/diaspora_like_relay.tpl [new file with mode: 0644]
view/smarty3/diaspora_message.tpl [new file with mode: 0644]
view/smarty3/diaspora_photo.tpl [new file with mode: 0644]
view/smarty3/diaspora_post.tpl [new file with mode: 0644]
view/smarty3/diaspora_profile.tpl [new file with mode: 0644]
view/smarty3/diaspora_relay_retraction.tpl [new file with mode: 0644]
view/smarty3/diaspora_relayable_retraction.tpl [new file with mode: 0644]
view/smarty3/diaspora_retract.tpl [new file with mode: 0644]
view/smarty3/diaspora_share.tpl [new file with mode: 0644]
view/smarty3/diaspora_signed_retract.tpl [new file with mode: 0644]
view/smarty3/diaspora_vcard.tpl [new file with mode: 0644]
view/smarty3/directory_header.tpl [new file with mode: 0644]
view/smarty3/directory_item.tpl [new file with mode: 0644]
view/smarty3/display-head.tpl [new file with mode: 0644]
view/smarty3/email_notify_html.tpl [new file with mode: 0644]
view/smarty3/email_notify_text.tpl [new file with mode: 0644]
view/smarty3/end.tpl [new file with mode: 0644]
view/smarty3/event.tpl [new file with mode: 0644]
view/smarty3/event_end.tpl [new file with mode: 0644]
view/smarty3/event_form.tpl [new file with mode: 0644]
view/smarty3/event_head.tpl [new file with mode: 0644]
view/smarty3/events-js.tpl [new file with mode: 0644]
view/smarty3/events.tpl [new file with mode: 0644]
view/smarty3/events_reminder.tpl [new file with mode: 0644]
view/smarty3/failed_updates.tpl [new file with mode: 0644]
view/smarty3/fake_feed.tpl [new file with mode: 0644]
view/smarty3/field.tpl [new file with mode: 0644]
view/smarty3/field_checkbox.tpl [new file with mode: 0644]
view/smarty3/field_combobox.tpl [new file with mode: 0644]
view/smarty3/field_custom.tpl [new file with mode: 0644]
view/smarty3/field_input.tpl [new file with mode: 0644]
view/smarty3/field_intcheckbox.tpl [new file with mode: 0644]
view/smarty3/field_openid.tpl [new file with mode: 0644]
view/smarty3/field_password.tpl [new file with mode: 0644]
view/smarty3/field_radio.tpl [new file with mode: 0644]
view/smarty3/field_richtext.tpl [new file with mode: 0644]
view/smarty3/field_select.tpl [new file with mode: 0644]
view/smarty3/field_select_raw.tpl [new file with mode: 0644]
view/smarty3/field_textarea.tpl [new file with mode: 0644]
view/smarty3/field_themeselect.tpl [new file with mode: 0644]
view/smarty3/field_yesno.tpl [new file with mode: 0644]
view/smarty3/fileas_widget.tpl [new file with mode: 0644]
view/smarty3/filebrowser.tpl [new file with mode: 0644]
view/smarty3/filer_dialog.tpl [new file with mode: 0644]
view/smarty3/follow.tpl [new file with mode: 0644]
view/smarty3/follow_slap.tpl [new file with mode: 0644]
view/smarty3/generic_links_widget.tpl [new file with mode: 0644]
view/smarty3/group_drop.tpl [new file with mode: 0644]
view/smarty3/group_edit.tpl [new file with mode: 0644]
view/smarty3/group_selection.tpl [new file with mode: 0644]
view/smarty3/group_side.tpl [new file with mode: 0644]
view/smarty3/groupeditor.tpl [new file with mode: 0644]
view/smarty3/head.tpl [new file with mode: 0644]
view/smarty3/hide_comments.tpl [new file with mode: 0644]
view/smarty3/install.tpl [new file with mode: 0644]
view/smarty3/install_checks.tpl [new file with mode: 0644]
view/smarty3/install_db.tpl [new file with mode: 0644]
view/smarty3/install_settings.tpl [new file with mode: 0644]
view/smarty3/intros.tpl [new file with mode: 0644]
view/smarty3/invite.tpl [new file with mode: 0644]
view/smarty3/jot-end.tpl [new file with mode: 0644]
view/smarty3/jot-header.tpl [new file with mode: 0644]
view/smarty3/jot.tpl [new file with mode: 0644]
view/smarty3/jot_geotag.tpl [new file with mode: 0644]
view/smarty3/lang_selector.tpl [new file with mode: 0644]
view/smarty3/like_noshare.tpl [new file with mode: 0644]
view/smarty3/login.tpl [new file with mode: 0644]
view/smarty3/login_head.tpl [new file with mode: 0644]
view/smarty3/logout.tpl [new file with mode: 0644]
view/smarty3/lostpass.tpl [new file with mode: 0644]
view/smarty3/magicsig.tpl [new file with mode: 0644]
view/smarty3/mail_conv.tpl [new file with mode: 0644]
view/smarty3/mail_display.tpl [new file with mode: 0644]
view/smarty3/mail_head.tpl [new file with mode: 0644]
view/smarty3/mail_list.tpl [new file with mode: 0644]
view/smarty3/match.tpl [new file with mode: 0644]
view/smarty3/message-end.tpl [new file with mode: 0644]
view/smarty3/message-head.tpl [new file with mode: 0644]
view/smarty3/message_side.tpl [new file with mode: 0644]
view/smarty3/moderated_comment.tpl [new file with mode: 0644]
view/smarty3/mood_content.tpl [new file with mode: 0644]
view/smarty3/msg-end.tpl [new file with mode: 0644]
view/smarty3/msg-header.tpl [new file with mode: 0644]
view/smarty3/nav.tpl [new file with mode: 0644]
view/smarty3/netfriend.tpl [new file with mode: 0644]
view/smarty3/nets.tpl [new file with mode: 0644]
view/smarty3/nogroup-template.tpl [new file with mode: 0644]
view/smarty3/notifications.tpl [new file with mode: 0644]
view/smarty3/notifications_comments_item.tpl [new file with mode: 0644]
view/smarty3/notifications_dislikes_item.tpl [new file with mode: 0644]
view/smarty3/notifications_friends_item.tpl [new file with mode: 0644]
view/smarty3/notifications_likes_item.tpl [new file with mode: 0644]
view/smarty3/notifications_network_item.tpl [new file with mode: 0644]
view/smarty3/notifications_posts_item.tpl [new file with mode: 0644]
view/smarty3/notify.tpl [new file with mode: 0644]
view/smarty3/oauth_authorize.tpl [new file with mode: 0644]
view/smarty3/oauth_authorize_done.tpl [new file with mode: 0644]
view/smarty3/oembed_video.tpl [new file with mode: 0644]
view/smarty3/oexchange_xrd.tpl [new file with mode: 0644]
view/smarty3/opensearch.tpl [new file with mode: 0644]
view/smarty3/pagetypes.tpl [new file with mode: 0644]
view/smarty3/peoplefind.tpl [new file with mode: 0644]
view/smarty3/photo_album.tpl [new file with mode: 0644]
view/smarty3/photo_drop.tpl [new file with mode: 0644]
view/smarty3/photo_edit.tpl [new file with mode: 0644]
view/smarty3/photo_edit_head.tpl [new file with mode: 0644]
view/smarty3/photo_item.tpl [new file with mode: 0644]
view/smarty3/photo_top.tpl [new file with mode: 0644]
view/smarty3/photo_view.tpl [new file with mode: 0644]
view/smarty3/photos_head.tpl [new file with mode: 0644]
view/smarty3/photos_recent.tpl [new file with mode: 0644]
view/smarty3/photos_upload.tpl [new file with mode: 0644]
view/smarty3/poco_entry_xml.tpl [new file with mode: 0644]
view/smarty3/poco_xml.tpl [new file with mode: 0644]
view/smarty3/poke_content.tpl [new file with mode: 0644]
view/smarty3/posted_date_widget.tpl [new file with mode: 0644]
view/smarty3/profed_end.tpl [new file with mode: 0644]
view/smarty3/profed_head.tpl [new file with mode: 0644]
view/smarty3/profile-hide-friends.tpl [new file with mode: 0644]
view/smarty3/profile-hide-wall.tpl [new file with mode: 0644]
view/smarty3/profile-in-directory.tpl [new file with mode: 0644]
view/smarty3/profile-in-netdir.tpl [new file with mode: 0644]
view/smarty3/profile_advanced.tpl [new file with mode: 0644]
view/smarty3/profile_edit.tpl [new file with mode: 0644]
view/smarty3/profile_edlink.tpl [new file with mode: 0644]
view/smarty3/profile_entry.tpl [new file with mode: 0644]
view/smarty3/profile_listing_header.tpl [new file with mode: 0644]
view/smarty3/profile_photo.tpl [new file with mode: 0644]
view/smarty3/profile_publish.tpl [new file with mode: 0644]
view/smarty3/profile_vcard.tpl [new file with mode: 0644]
view/smarty3/prv_message.tpl [new file with mode: 0644]
view/smarty3/pwdreset.tpl [new file with mode: 0644]
view/smarty3/register.tpl [new file with mode: 0644]
view/smarty3/remote_friends_common.tpl [new file with mode: 0644]
view/smarty3/removeme.tpl [new file with mode: 0644]
view/smarty3/saved_searches_aside.tpl [new file with mode: 0644]
view/smarty3/search_item.tpl [new file with mode: 0644]
view/smarty3/settings-end.tpl [new file with mode: 0644]
view/smarty3/settings-head.tpl [new file with mode: 0644]
view/smarty3/settings.tpl [new file with mode: 0644]
view/smarty3/settings_addons.tpl [new file with mode: 0644]
view/smarty3/settings_connectors.tpl [new file with mode: 0644]
view/smarty3/settings_display.tpl [new file with mode: 0644]
view/smarty3/settings_display_end.tpl [new file with mode: 0644]
view/smarty3/settings_features.tpl [new file with mode: 0644]
view/smarty3/settings_nick_set.tpl [new file with mode: 0644]
view/smarty3/settings_nick_subdir.tpl [new file with mode: 0644]
view/smarty3/settings_oauth.tpl [new file with mode: 0644]
view/smarty3/settings_oauth_edit.tpl [new file with mode: 0644]
view/smarty3/suggest_friends.tpl [new file with mode: 0644]
view/smarty3/suggestions.tpl [new file with mode: 0644]
view/smarty3/tag_slap.tpl [new file with mode: 0644]
view/smarty3/threaded_conversation.tpl [new file with mode: 0644]
view/smarty3/toggle_mobile_footer.tpl [new file with mode: 0644]
view/smarty3/uexport.tpl [new file with mode: 0644]
view/smarty3/uimport.tpl [new file with mode: 0644]
view/smarty3/vcard-widget.tpl [new file with mode: 0644]
view/smarty3/viewcontact_template.tpl [new file with mode: 0644]
view/smarty3/voting_fakelink.tpl [new file with mode: 0644]
view/smarty3/wall_thread.tpl [new file with mode: 0644]
view/smarty3/wallmessage.tpl [new file with mode: 0644]
view/smarty3/wallmsg-end.tpl [new file with mode: 0644]
view/smarty3/wallmsg-header.tpl [new file with mode: 0644]
view/smarty3/xrd_diaspora.tpl [new file with mode: 0644]
view/smarty3/xrd_host.tpl [new file with mode: 0644]
view/smarty3/xrd_person.tpl [new file with mode: 0644]
view/suggestions.tpl
view/sv/smarty3/cmnt_received_eml.tpl [new file with mode: 0644]
view/sv/smarty3/follow_notify_eml.tpl [new file with mode: 0644]
view/sv/smarty3/friend_complete_eml.tpl [new file with mode: 0644]
view/sv/smarty3/htconfig.tpl [new file with mode: 0644]
view/sv/smarty3/intro_complete_eml.tpl [new file with mode: 0644]
view/sv/smarty3/lostpass_eml.tpl [new file with mode: 0644]
view/sv/smarty3/mail_received_html_body_eml.tpl [new file with mode: 0644]
view/sv/smarty3/mail_received_text_body_eml.tpl [new file with mode: 0644]
view/sv/smarty3/passchanged_eml.tpl [new file with mode: 0644]
view/sv/smarty3/register_open_eml.tpl [new file with mode: 0644]
view/sv/smarty3/register_verify_eml.tpl [new file with mode: 0644]
view/sv/smarty3/request_notify_eml.tpl [new file with mode: 0644]
view/sv/smarty3/wall_received_eml.tpl [new file with mode: 0644]
view/theme/cleanzero/config.php
view/theme/cleanzero/smarty3/nav.tpl [new file with mode: 0644]
view/theme/cleanzero/smarty3/theme_settings.tpl [new file with mode: 0644]
view/theme/cleanzero/theme.php
view/theme/cleanzero/theme_settings.tpl
view/theme/comix-plain/smarty3/comment_item.tpl [new file with mode: 0644]
view/theme/comix-plain/smarty3/search_item.tpl [new file with mode: 0644]
view/theme/comix-plain/theme.php
view/theme/comix/smarty3/comment_item.tpl [new file with mode: 0644]
view/theme/comix/smarty3/search_item.tpl [new file with mode: 0644]
view/theme/comix/theme.php
view/theme/darkbubble/theme.php
view/theme/darkzero/theme.php
view/theme/diabook/communityhome.tpl
view/theme/diabook/config.php
view/theme/diabook/directory_item.tpl
view/theme/diabook/jot.tpl
view/theme/diabook/login.tpl
view/theme/diabook/mail_display.tpl
view/theme/diabook/profile_vcard.tpl
view/theme/diabook/prv_message.tpl
view/theme/diabook/smarty3/admin_users.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/bottom.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/ch_directory_item.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/comment_item.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/communityhome.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/contact_template.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/directory_item.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/footer.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/generic_links_widget.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/group_side.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/jot.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/login.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/mail_conv.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/mail_display.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/mail_list.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/message_side.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/nav.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/nets.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/oembed_video.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/photo_item.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/photo_view.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/profile_side.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/profile_vcard.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/prv_message.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/right_aside.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/search_item.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/theme_settings.tpl [new file with mode: 0644]
view/theme/diabook/smarty3/wall_thread.tpl [new file with mode: 0644]
view/theme/diabook/theme.php
view/theme/diabook/theme_settings.tpl
view/theme/diabook/wall_thread.tpl
view/theme/dispy/config.php
view/theme/dispy/dark/theme.php
view/theme/dispy/light/theme.php
view/theme/dispy/profile_vcard.tpl
view/theme/dispy/smarty3/bottom.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/comment_item.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/communityhome.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/contact_template.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/conversation.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/group_side.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/head.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/header.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/jot-header.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/jot.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/lang_selector.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/mail_head.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/nav.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/photo_edit.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/photo_view.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/profile_vcard.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/saved_searches_aside.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/search_item.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/theme_settings.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/threaded_conversation.tpl [new file with mode: 0644]
view/theme/dispy/smarty3/wall_thread.tpl [new file with mode: 0644]
view/theme/dispy/theme.php
view/theme/dispy/threaded_conversation.tpl
view/theme/dispy/wall_thread.tpl
view/theme/duepuntozero/profile_vcard.tpl
view/theme/duepuntozero/prv_message.tpl
view/theme/duepuntozero/smarty3/comment_item.tpl [new file with mode: 0644]
view/theme/duepuntozero/smarty3/lang_selector.tpl [new file with mode: 0644]
view/theme/duepuntozero/smarty3/moderated_comment.tpl [new file with mode: 0644]
view/theme/duepuntozero/smarty3/nav.tpl [new file with mode: 0644]
view/theme/duepuntozero/smarty3/profile_vcard.tpl [new file with mode: 0644]
view/theme/duepuntozero/smarty3/prv_message.tpl [new file with mode: 0644]
view/theme/duepuntozero/theme.php
view/theme/facepark/profile_vcard.tpl
view/theme/facepark/smarty3/comment_item.tpl [new file with mode: 0644]
view/theme/facepark/smarty3/group_side.tpl [new file with mode: 0644]
view/theme/facepark/smarty3/jot.tpl [new file with mode: 0644]
view/theme/facepark/smarty3/nav.tpl [new file with mode: 0644]
view/theme/facepark/smarty3/profile_vcard.tpl [new file with mode: 0644]
view/theme/facepark/smarty3/search_item.tpl [new file with mode: 0644]
view/theme/facepark/theme.php
view/theme/frost-mobile/admin_site.tpl
view/theme/frost-mobile/contacts-template.tpl
view/theme/frost-mobile/login.tpl
view/theme/frost-mobile/profile_vcard.tpl
view/theme/frost-mobile/prv_message.tpl
view/theme/frost-mobile/settings.tpl
view/theme/frost-mobile/smarty3/acl_selector.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/admin_aside.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/admin_site.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/comment_item.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/contact_edit.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/contact_head.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/contact_template.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/contacts-end.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/contacts-head.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/contacts-template.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/contacts-widget-sidebar.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/conversation.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/cropbody.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/cropend.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/crophead.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/display-head.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/end.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/event_end.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/event_head.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/field_checkbox.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/field_input.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/field_openid.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/field_password.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/field_themeselect.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/generic_links_widget.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/head.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/jot-end.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/jot-header.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/jot.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/jot_geotag.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/lang_selector.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/login.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/login_head.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/lostpass.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/mail_conv.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/message-end.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/message-head.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/moderated_comment.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/msg-header.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/nav.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/photo_edit.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/photo_edit_head.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/photo_view.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/photos_head.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/photos_upload.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/profed_end.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/profed_head.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/profile_edit.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/profile_photo.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/profile_vcard.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/prv_message.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/register.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/settings-head.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/settings.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/settings_display_end.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/threaded_conversation.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/voting_fakelink.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/wall_thread.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/wallmsg-end.tpl [new file with mode: 0644]
view/theme/frost-mobile/smarty3/wallmsg-header.tpl [new file with mode: 0644]
view/theme/frost-mobile/theme.php
view/theme/frost-mobile/threaded_conversation.tpl
view/theme/frost-mobile/voting_fakelink.tpl [new file with mode: 0644]
view/theme/frost-mobile/wall_thread.tpl
view/theme/frost/admin_site.tpl
view/theme/frost/contacts-template.tpl
view/theme/frost/login.tpl
view/theme/frost/profile_vcard.tpl
view/theme/frost/prv_message.tpl
view/theme/frost/smarty3/acl_selector.tpl [new file with mode: 0644]
view/theme/frost/smarty3/admin_aside.tpl [new file with mode: 0644]
view/theme/frost/smarty3/admin_site.tpl [new file with mode: 0644]
view/theme/frost/smarty3/comment_item.tpl [new file with mode: 0644]
view/theme/frost/smarty3/contact_end.tpl [new file with mode: 0644]
view/theme/frost/smarty3/contact_head.tpl [new file with mode: 0644]
view/theme/frost/smarty3/contact_template.tpl [new file with mode: 0644]
view/theme/frost/smarty3/contacts-end.tpl [new file with mode: 0644]
view/theme/frost/smarty3/contacts-head.tpl [new file with mode: 0644]
view/theme/frost/smarty3/contacts-template.tpl [new file with mode: 0644]
view/theme/frost/smarty3/cropbody.tpl [new file with mode: 0644]
view/theme/frost/smarty3/cropend.tpl [new file with mode: 0644]
view/theme/frost/smarty3/crophead.tpl [new file with mode: 0644]
view/theme/frost/smarty3/display-head.tpl [new file with mode: 0644]
view/theme/frost/smarty3/end.tpl [new file with mode: 0644]
view/theme/frost/smarty3/event_end.tpl [new file with mode: 0644]
view/theme/frost/smarty3/event_head.tpl [new file with mode: 0644]
view/theme/frost/smarty3/field_combobox.tpl [new file with mode: 0644]
view/theme/frost/smarty3/field_input.tpl [new file with mode: 0644]
view/theme/frost/smarty3/field_openid.tpl [new file with mode: 0644]
view/theme/frost/smarty3/field_password.tpl [new file with mode: 0644]
view/theme/frost/smarty3/field_themeselect.tpl [new file with mode: 0644]
view/theme/frost/smarty3/filebrowser.tpl [new file with mode: 0644]
view/theme/frost/smarty3/head.tpl [new file with mode: 0644]
view/theme/frost/smarty3/jot-end.tpl [new file with mode: 0644]
view/theme/frost/smarty3/jot-header.tpl [new file with mode: 0644]
view/theme/frost/smarty3/jot.tpl [new file with mode: 0644]
view/theme/frost/smarty3/jot_geotag.tpl [new file with mode: 0644]
view/theme/frost/smarty3/lang_selector.tpl [new file with mode: 0644]
view/theme/frost/smarty3/login.tpl [new file with mode: 0644]
view/theme/frost/smarty3/login_head.tpl [new file with mode: 0644]
view/theme/frost/smarty3/lostpass.tpl [new file with mode: 0644]
view/theme/frost/smarty3/message-end.tpl [new file with mode: 0644]
view/theme/frost/smarty3/message-head.tpl [new file with mode: 0644]
view/theme/frost/smarty3/moderated_comment.tpl [new file with mode: 0644]
view/theme/frost/smarty3/msg-end.tpl [new file with mode: 0644]
view/theme/frost/smarty3/msg-header.tpl [new file with mode: 0644]
view/theme/frost/smarty3/nav.tpl [new file with mode: 0644]
view/theme/frost/smarty3/photo_edit.tpl [new file with mode: 0644]
view/theme/frost/smarty3/photo_edit_head.tpl [new file with mode: 0644]
view/theme/frost/smarty3/photo_view.tpl [new file with mode: 0644]
view/theme/frost/smarty3/photos_head.tpl [new file with mode: 0644]
view/theme/frost/smarty3/photos_upload.tpl [new file with mode: 0644]
view/theme/frost/smarty3/posted_date_widget.tpl [new file with mode: 0644]
view/theme/frost/smarty3/profed_end.tpl [new file with mode: 0644]
view/theme/frost/smarty3/profed_head.tpl [new file with mode: 0644]
view/theme/frost/smarty3/profile_edit.tpl [new file with mode: 0644]
view/theme/frost/smarty3/profile_vcard.tpl [new file with mode: 0644]
view/theme/frost/smarty3/prv_message.tpl [new file with mode: 0644]
view/theme/frost/smarty3/register.tpl [new file with mode: 0644]
view/theme/frost/smarty3/settings-head.tpl [new file with mode: 0644]
view/theme/frost/smarty3/settings_display_end.tpl [new file with mode: 0644]
view/theme/frost/smarty3/threaded_conversation.tpl [new file with mode: 0644]
view/theme/frost/smarty3/voting_fakelink.tpl [new file with mode: 0644]
view/theme/frost/smarty3/wall_thread.tpl [new file with mode: 0644]
view/theme/frost/smarty3/wallmsg-end.tpl [new file with mode: 0644]
view/theme/frost/smarty3/wallmsg-header.tpl [new file with mode: 0644]
view/theme/frost/theme.php
view/theme/frost/threaded_conversation.tpl
view/theme/frost/voting_fakelink.tpl [new file with mode: 0644]
view/theme/frost/wall_thread.tpl
view/theme/greenzero/theme.php
view/theme/purplezero/theme.php
view/theme/quattro/config.php
view/theme/quattro/mail_display.tpl
view/theme/quattro/profile_vcard.tpl
view/theme/quattro/prv_message.tpl
view/theme/quattro/smarty3/birthdays_reminder.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/comment_item.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/contact_template.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/conversation.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/events_reminder.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/fileas_widget.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/generic_links_widget.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/group_side.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/jot.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/mail_conv.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/mail_display.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/mail_list.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/message_side.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/nav.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/nets.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/photo_view.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/profile_vcard.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/prv_message.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/saved_searches_aside.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/search_item.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/theme_settings.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/threaded_conversation.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/wall_item_tag.tpl [new file with mode: 0644]
view/theme/quattro/smarty3/wall_thread.tpl [new file with mode: 0644]
view/theme/quattro/theme.php
view/theme/quattro/threaded_conversation.tpl
view/theme/quattro/wall_thread.tpl
view/theme/slackr/smarty3/birthdays_reminder.tpl [new file with mode: 0644]
view/theme/slackr/smarty3/events_reminder.tpl [new file with mode: 0644]
view/theme/slackr/theme.php
view/theme/smoothly/login.tpl
view/theme/smoothly/smarty3/bottom.tpl [new file with mode: 0644]
view/theme/smoothly/smarty3/follow.tpl [new file with mode: 0644]
view/theme/smoothly/smarty3/jot-header.tpl [new file with mode: 0644]
view/theme/smoothly/smarty3/jot.tpl [new file with mode: 0644]
view/theme/smoothly/smarty3/lang_selector.tpl [new file with mode: 0644]
view/theme/smoothly/smarty3/login.tpl [new file with mode: 0644]
view/theme/smoothly/smarty3/nav.tpl [new file with mode: 0644]
view/theme/smoothly/smarty3/search_item.tpl [new file with mode: 0644]
view/theme/smoothly/smarty3/wall_thread.tpl [new file with mode: 0644]
view/theme/smoothly/theme.php
view/theme/smoothly/wall_thread.tpl
view/theme/testbubble/profile_vcard.tpl
view/theme/testbubble/smarty3/comment_item.tpl [new file with mode: 0644]
view/theme/testbubble/smarty3/group_drop.tpl [new file with mode: 0644]
view/theme/testbubble/smarty3/group_edit.tpl [new file with mode: 0644]
view/theme/testbubble/smarty3/group_side.tpl [new file with mode: 0644]
view/theme/testbubble/smarty3/jot-header.tpl [new file with mode: 0644]
view/theme/testbubble/smarty3/jot.tpl [new file with mode: 0644]
view/theme/testbubble/smarty3/match.tpl [new file with mode: 0644]
view/theme/testbubble/smarty3/nav.tpl [new file with mode: 0644]
view/theme/testbubble/smarty3/photo_album.tpl [new file with mode: 0644]
view/theme/testbubble/smarty3/photo_top.tpl [new file with mode: 0644]
view/theme/testbubble/smarty3/photo_view.tpl [new file with mode: 0644]
view/theme/testbubble/smarty3/profile_entry.tpl [new file with mode: 0644]
view/theme/testbubble/smarty3/profile_vcard.tpl [new file with mode: 0644]
view/theme/testbubble/smarty3/saved_searches_aside.tpl [new file with mode: 0644]
view/theme/testbubble/smarty3/search_item.tpl [new file with mode: 0644]
view/theme/testbubble/smarty3/wall_thread.tpl [new file with mode: 0644]
view/theme/testbubble/theme.php
view/theme/testbubble/wall_thread.tpl
view/theme/vier/smarty3/comment_item.tpl [new file with mode: 0644]
view/theme/vier/smarty3/mail_list.tpl [new file with mode: 0644]
view/theme/vier/smarty3/nav.tpl [new file with mode: 0644]
view/theme/vier/smarty3/search_item.tpl [new file with mode: 0644]
view/theme/vier/smarty3/threaded_conversation.tpl [new file with mode: 0644]
view/theme/vier/smarty3/wall_thread.tpl [new file with mode: 0644]
view/theme/vier/theme.php
view/theme/vier/threaded_conversation.tpl
view/theme/vier/wall_thread.tpl
view/threaded_conversation.tpl
view/uimport.tpl
view/viewcontact_template.tpl
view/voting_fakelink.tpl [new file with mode: 0644]
view/wall_thread.tpl
view/zh-cn/smarty3/follow_notify_eml.tpl [new file with mode: 0644]
view/zh-cn/smarty3/friend_complete_eml.tpl [new file with mode: 0644]
view/zh-cn/smarty3/intro_complete_eml.tpl [new file with mode: 0644]
view/zh-cn/smarty3/lostpass_eml.tpl [new file with mode: 0644]
view/zh-cn/smarty3/passchanged_eml.tpl [new file with mode: 0644]
view/zh-cn/smarty3/register_open_eml.tpl [new file with mode: 0644]
view/zh-cn/smarty3/register_verify_eml.tpl [new file with mode: 0644]
view/zh-cn/smarty3/request_notify_eml.tpl [new file with mode: 0644]
view/zh-cn/smarty3/update_fail_eml.tpl [new file with mode: 0644]

index 563067ad633b0691db57f0f16abe22455a28df81..e8561a615014c062449beecc5700e8862dc0c7e4 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -380,9 +380,13 @@ if(! class_exists('App')) {
                        'videoheight' => 350,
                        'force_max_items' => 0,
                        'thread_allow' => true,
-                       'stylesheet' => ''
+                       'stylesheet' => '',
+                       'template_engine' => 'internal',
                );
 
+               public $smarty3_ldelim = '{{';
+               public $smarty3_rdelim = '}}';
+
                private $scheme;
                private $hostname;
                private $baseurl;
@@ -613,6 +617,16 @@ if(! class_exists('App')) {
                        if(!isset($this->page['htmlhead']))
                                $this->page['htmlhead'] = '';
                        $tpl = get_markup_template('head.tpl');
+
+                       // If we're using Smarty, then doing replace_macros() will replace
+                       // any unrecognized variables with a blank string. Since we delay
+                       // replacing $stylesheet until later, we need to replace it now
+                       // with another variable name
+                       if($this->theme['template_engine'] === 'smarty3')
+                               $stylesheet = $this->smarty3_ldelim . '$stylesheet' . $this->smarty3_rdelim;
+                       else
+                               $stylesheet = '$stylesheet';
+
                        $this->page['htmlhead'] = replace_macros($tpl,array(
                                '$baseurl' => $this->get_baseurl(), // FIXME for z_path!!!!
                                '$local_user' => local_user(),
@@ -621,7 +635,8 @@ if(! class_exists('App')) {
                                '$comment' => t('Comment'),
                                '$showmore' => t('show more'),
                                '$showfewer' => t('show fewer'),
-                               '$update_interval' => $interval
+                               '$update_interval' => $interval,
+                               '$stylesheet' => $stylesheet
                        )) . $this->page['htmlhead'];
                }
 
@@ -955,7 +970,15 @@ if(! function_exists('login')) {
                }
 
 
-               $o .= replace_macros($tpl,array(
+               $includes = array(
+                       '$field_input' => 'field_input.tpl',
+                       '$field_password' => 'field_password.tpl',
+                       '$field_openid' => 'field_openid.tpl',
+                       '$field_checkbox' => 'field_checkbox.tpl',
+               );
+               $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+               $o .= replace_macros($tpl,$includes + array(
 
                        '$dest_url'     => $dest_url,
                        '$logout'       => t('Logout'),
@@ -1324,16 +1347,25 @@ if(! function_exists('profile_sidebar')) {
 
                $tpl = get_markup_template('profile_vcard.tpl');
 
-               $o .= replace_macros($tpl, array(
+
+               $includes = array(
+                       '$diaspora_vcard' => 'diaspora_vcard.tpl'
+               );
+               $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+               if($a->theme['template_engine'] === 'internal')
+                       $location = template_escape($location);
+
+               $o .= replace_macros($tpl, $includes + array(
                        '$profile' => $profile,
                        '$connect'  => $connect,
                        '$wallmessage' => $wallmessage,
-                       '$location' => template_escape($location),
+                       '$location' => $location,
                        '$gender'   => $gender,
                        '$pdesc'        => $pdesc,
                        '$marital'  => $marital,
                        '$homepage' => $homepage,
-                       '$diaspora' => $diaspora,
+                       '$diaspora_info' => $diaspora,
                        '$contact_block' => $contact_block,
                ));
 
index e4f3ec9ff63a8c1932e766c78cc24e6ad351cfcd..9cc6a83427f841fc4becc9a04dd57eba39bcefd7 100644 (file)
@@ -581,33 +581,54 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
 
                                list($categories, $folders) = get_cats_and_terms($item);
 
+                               if($a->theme['template_engine'] === 'internal') {
+                                       $profile_name_e = template_escape($profile_name);
+                                       $item['title_e'] = template_escape($item['title']);
+                                       $body_e = template_escape($body);
+                                       $tags_e = template_escape($tags);
+                                       $hashtags_e = template_escape($hashtags);
+                                       $mentions_e = template_escape($mentions);
+                                       $location_e = template_escape($location);
+                                       $owner_name_e = template_escape($owner_name);
+                               }
+                               else {
+                                       $profile_name_e = $profile_name;
+                                       $item['title_e'] = $item['title'];
+                                       $body_e = $body;
+                                       $tags_e = $tags;
+                                       $hashtags_e = $hashtags;
+                                       $mentions_e = $mentions;
+                                       $location_e = $location;
+                                       $owner_name_e = $owner_name;
+                               }
+
                                $tmp_item = array(
                                        'template' => $tpl,
                                        'id' => (($preview) ? 'P0' : $item['item_id']),
                                        'linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['author-link'])) ? $item['author-link'] : $item['url'])),
                                        'profile_url' => $profile_link,
                                        'item_photo_menu' => item_photo_menu($item),
-                                       'name' => template_escape($profile_name),
+                                       'name' => $profile_name_e,
                                        'sparkle' => $sparkle,
                                        'lock' => $lock,
                                        'thumb' => $profile_avatar,
-                                       'title' => template_escape($item['title']),
-                                       'body' => template_escape($body),
-                                       'tags' => template_escape($tags),
-                                       'hashtags' => template_escape($hashtags),
-                                       'mentions' => template_escape($mentions),
+                                       'title' => $item['title_e'],
+                                       'body' => $body_e,
+                                       'tags' => $tags_e,
+                                       'hashtags' => $hashtags_e,
+                                       'mentions' => $mentions_e,
                                        'txt_cats' => t('Categories:'),
                                        'txt_folders' => t('Filed under:'),
                                        'has_cats' => ((count($categories)) ? 'true' : ''),
                                        'has_folders' => ((count($folders)) ? 'true' : ''),
                                        'categories' => $categories,
                                        'folders' => $folders,
-                                       'text' => strip_tags(template_escape($body)),
+                                       'text' => strip_tags($body_e),
                                        'localtime' => datetime_convert('UTC', date_default_timezone_get(), $item['created'], 'r'),
                                        'ago' => (($item['app']) ? sprintf( t('%s from %s'),relative_date($item['created']),$item['app']) : relative_date($item['created'])),
-                                       'location' => template_escape($location),
+                                       'location' => $location_e,
                                        'indent' => '',
-                                       'owner_name' => template_escape($owner_name),
+                                       'owner_name' => $owner_name_e,
                                        'owner_url' => $owner_url,
                                        'owner_photo' => $owner_photo,
                                        'plink' => get_plink($item),
@@ -682,7 +703,6 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
        $o = replace_macros($page_template, array(
                '$baseurl' => $a->get_baseurl($ssl_state),
                '$live_update' => $live_update_div,
-               '$remove' => t('remove'),
                '$mode' => $mode,
                '$user' => $a->user,
                '$threads' => $threads,
@@ -856,12 +876,27 @@ function format_like($cnt,$arr,$type,$id) {
        if($cnt == 1)
                $o .= (($type === 'like') ? sprintf( t('%s likes this.'), $arr[0]) : sprintf( t('%s doesn\'t like this.'), $arr[0])) . EOL ;
        else {
-               $spanatts = 'class="fakelink" onclick="openClose(\'' . $type . 'list-' . $id . '\');"';
-               $o .= (($type === 'like') ?
-                                       sprintf( t('<span  %1$s>%2$d people</span> like this.'), $spanatts, $cnt)
-                                        :
-                                       sprintf( t('<span  %1$s>%2$d people</span> don\'t like this.'), $spanatts, $cnt) );
-               $o .= EOL ;
+               //$spanatts = 'class="fakelink" onclick="openClose(\'' . $type . 'list-' . $id . '\');"';
+               switch($type) {
+                       case 'like':
+//                             $phrase = sprintf( t('<span  %1$s>%2$d people</span> like this.'), $spanatts, $cnt);
+                               $mood = t('like this');
+                               break;
+                       case 'dislike':
+//                             $phrase = sprintf( t('<span  %1$s>%2$d people</span> don\'t like this.'), $spanatts, $cnt);
+                               $mood = t('don\'t like this');
+                               break;
+               }
+               $tpl = get_markup_template("voting_fakelink.tpl");
+               $phrase = replace_macros($tpl, array(
+                       '$vote_id' => $type . 'list-' . $id,
+                       '$count' => $cnt,
+                       '$people' => t('people'),
+                       '$vote_mood' => $mood
+               ));
+               $o .= $phrase;
+//             $o .= EOL ;
+
                $total = count($arr);
                if($total >= MAX_LIKERS)
                        $arr = array_slice($arr, 0, MAX_LIKERS - 1);
diff --git a/include/friendica_smarty.php b/include/friendica_smarty.php
new file mode 100644 (file)
index 0000000..2a294e9
--- /dev/null
@@ -0,0 +1,36 @@
+<?php
+
+require_once("library/Smarty/libs/Smarty.class.php");
+
+class FriendicaSmarty extends Smarty {
+
+       public $filename;
+       public $root;
+
+       function __construct() {
+               parent::__construct();
+
+               $a = get_app();
+
+               //$this->root = $_SERVER['DOCUMENT_ROOT'] . '/';
+               $this->root = '';
+
+               $this->setTemplateDir($this->root . 'view/smarty3/');
+               $this->setCompileDir($this->root . 'view/smarty3/compiled/');
+               $this->setConfigDir($this->root . 'view/smarty3/config/');
+               $this->setCacheDir($this->root . 'view/smarty3/cache/');
+
+               $this->left_delimiter = $a->smarty3_ldelim;
+               $this->right_delimiter = $a->smarty3_rdelim;
+       }
+
+       function parsed($template = '') {
+               if($template) {
+                       return $this->fetch('string:' . $template);
+               }
+               return $this->fetch('file:' . $this->root . $this->filename);
+       }
+}
+
+
+
index 4212e23ca4dc8684817a6409dd2db5be9bef8662..0591390a84f5a628736ddb137d1f584a6ff2eeb6 100644 (file)
@@ -9,19 +9,38 @@
 // depending on the order in which they were declared in the array.   
 
 require_once("include/template_processor.php");
+require_once("include/friendica_smarty.php");
 
 if(! function_exists('replace_macros')) {  
 function replace_macros($s,$r) {
        global $t;
-       
-       //$ts = microtime();
-       $r =  $t->replace($s,$r);
-       //$tt = microtime() - $ts;
-       
-       //$a = get_app();
-       //$a->page['debug'] .= "$tt <br>\n";
-       return template_unescape($r);
 
+//     $ts = microtime();
+       $a = get_app();
+
+       if($a->theme['template_engine'] === 'smarty3') {
+               $template = '';
+               if(gettype($s) === 'string') {
+                       $template = $s;
+                       $s = new FriendicaSmarty();
+               }
+               foreach($r as $key=>$value) {
+                       if($key[0] === '$') {
+                               $key = substr($key, 1);
+                       }
+                       $s->assign($key, $value);
+               }
+               $output = $s->parsed($template);
+       }
+       else {
+               $r =  $t->replace($s,$r);
+       
+               $output = template_unescape($r);
+       }
+//     $tt = microtime() - $ts;
+//     $a = get_app();
+//     $a->page['debug'] .= "$tt <br>\n";
+       return $output;
 }}
 
 
@@ -421,29 +440,78 @@ if(! function_exists('get_intltext_template')) {
 function get_intltext_template($s) {
        global $lang;
 
+       $a = get_app();
+       $engine = '';
+       if($a->theme['template_engine'] === 'smarty3')
+               $engine = "/smarty3";
+
        if(! isset($lang))
                $lang = 'en';
 
-       if(file_exists("view/$lang/$s"))
-               return file_get_contents("view/$lang/$s");
-       elseif(file_exists("view/en/$s"))
-               return file_get_contents("view/en/$s");
+       if(file_exists("view/$lang$engine/$s"))
+               return file_get_contents("view/$lang$engine/$s");
+       elseif(file_exists("view/en$engine/$s"))
+               return file_get_contents("view/en$engine/$s");
        else
-               return file_get_contents("view/$s");
+               return file_get_contents("view$engine/$s");
 }}
 
 if(! function_exists('get_markup_template')) {
-function get_markup_template($s) {
-       $a=get_app();
+function get_markup_template($s, $root = '') {
+//     $ts = microtime();
+       $a = get_app();
+
+       if($a->theme['template_engine'] === 'smarty3') {
+               $template_file = get_template_file($a, 'smarty3/' . $s, $root);
+
+               $template = new FriendicaSmarty();
+               $template->filename = $template_file;
+
+//             $tt = microtime() - $ts;
+//             $a->page['debug'] .= "$tt <br>\n";
+               return $template;
+       }
+       else {
+               $template_file = get_template_file($a, $s, $root);
+//             $file_contents = file_get_contents($template_file);
+//             $tt = microtime() - $ts;
+//             $a->page['debug'] .= "$tt <br>\n";
+//             return $file_contents;
+               return file_get_contents($template_file);
+       }       
+}}
+
+if(! function_exists("get_template_file")) {
+function get_template_file($a, $filename, $root = '') {
        $theme = current_theme();
-       
-       if(file_exists("view/theme/$theme/$s"))
-               return file_get_contents("view/theme/$theme/$s");
-       elseif (x($a->theme_info,"extends") && file_exists("view/theme/".$a->theme_info["extends"]."/$s"))
-               return file_get_contents("view/theme/".$a->theme_info["extends"]."/$s");
+
+       // Make sure $root ends with a slash /
+       if($root !== '' && $root[strlen($root)-1] !== '/')
+               $root = $root . '/';
+
+       if(file_exists($root . "view/theme/$theme/$filename"))
+               $template_file = $root . "view/theme/$theme/$filename";
+       elseif (x($a->theme_info,"extends") && file_exists($root . "view/theme/".$a->theme_info["extends"]."/$filename"))
+               $template_file = $root . "view/theme/".$a->theme_info["extends"]."/$filename";
        else
-               return file_get_contents("view/$s");
+               $template_file = $root . "view/$filename";
 
+       return $template_file;
+}}
+
+if(! function_exists("set_template_includes")) {
+function set_template_includes($engine, $includes) {
+       if($engine === 'smarty3') {
+               $a = get_app();
+               foreach($includes as $name=>$path) {
+//                     $sm_includes[$name] = $_SERVER['DOCUMENT_ROOT'] . '/' . get_template_file($a, 'smarty3/' . $path);
+                       $sm_includes[$name] = get_template_file($a, 'smarty3/' . $path);
+               }
+               return $sm_includes;
+       }
+       else {
+               return $includes;
+       }
 }}
 
 
index bd0d14bef7f3e421a58c98127a72faab0229f34c..69b2896772cf8189286424aa5ed25db3fbb28fb2 100644 (file)
@@ -439,7 +439,16 @@ function admin_page_site(&$a) {
        );
 
        $t = get_markup_template("admin_site.tpl");
-       return replace_macros($t, array(
+
+       $includes = array(
+               '$field_checkbox'       => 'field_checkbox.tpl',
+               '$field_input'          => 'field_input.tpl',
+               '$field_select'         => 'field_select.tpl',
+               '$field_textarea'       => 'field_textarea.tpl',
+       );
+       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+       return replace_macros($t, $includes + array(
                '$title' => t('Administration'),
                '$page' => t('Site'),
                '$submit' => t('Submit'),
@@ -488,7 +497,7 @@ function admin_page_site(&$a) {
                '$poll_interval'        => array('poll_interval', t("Poll interval"), (x(get_config('system','poll_interval'))?get_config('system','poll_interval'):2), t("Delay background polling processes by this many seconds to reduce system load. If 0, use delivery interval.")),
                '$maxloadavg'           => array('maxloadavg', t("Maximum Load Average"), ((intval(get_config('system','maxloadavg')) > 0)?get_config('system','maxloadavg'):50), t("Maximum system load before delivery and poll processes are deferred - default 50.")),
         '$form_security_token' => get_form_security_token("admin_site"),
-                       
+
        ));
 
 }
@@ -1109,7 +1118,14 @@ readable.");
                }
        }                       
 
-       return replace_macros($t, array(
+       $includes = array(
+               '$field_checkbox'       => 'field_checkbox.tpl',
+               '$field_input'          => 'field_input.tpl',
+               '$field_select'         => 'field_select.tpl',
+       );
+       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+       return replace_macros($t, $includes + array(
                '$title' => t('Administration'),
                '$page' => t('Logs'),
                '$submit' => t('Submit'),
@@ -1168,7 +1184,14 @@ function admin_page_remoteupdate(&$a) {
        }
        
        $tpl = get_markup_template("admin_remoteupdate.tpl");
-       return replace_macros($tpl, array(
+
+       $includes = array(
+               '$field_input'          => 'field_input.tpl',
+               '$field_password'       => 'field_password.tpl',
+       );
+       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+       return replace_macros($tpl, $includes + array(
                '$baseurl' => $a->get_baseurl(true),
                '$submit' => t("Update now"),
                '$close' => t("Close"),
@@ -1181,7 +1204,7 @@ function admin_page_remoteupdate(&$a) {
                '$ftppath'      => array('ftppath', t("FTP Path"), '/',''),
                '$ftpuser'      => array('ftpuser', t("FTP User"), '',''),
                '$ftppwd'       => array('ftppwd', t("FTP Password"), '',''),
-               '$remotefile'=>array('remotefile','', $u['2'],'')
+               '$remotefile'=>array('remotefile','', $u['2'],''),
        ));
        
 }
index 3ef7b53043b8b4afe79405019445ce17b188d7ba..1a57afbf5ad0b21864cf4e7053192b8cc9b84984 100644 (file)
@@ -346,7 +346,12 @@ function contacts_content(&$a) {
 
                $lost_contact = (($contact['archive'] && $contact['term-date'] != '0000-00-00 00:00:00' && $contact['term-date'] < datetime_convert('','','now')) ? t('Communications lost with this contact!') : '');
 
-               $o .= replace_macros($tpl,array(
+               $includes = array(
+                       '$field_checkbox' => 'field_checkbox.tpl',
+               );
+               $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+               $o .= replace_macros($tpl,$includes + array(
                        '$header' => t('Contact Editor'),
                        '$tab_str' => $tab_str,
                        '$submit' => t('Submit'),
@@ -388,7 +393,7 @@ function contacts_content(&$a) {
                        '$dir_icon' => $dir_icon,
                        '$alt_text' => $alt_text,
                        '$sparkle' => $sparkle,
-                       '$url' => $url
+                       '$url' => $url,
 
                ));
 
@@ -571,7 +576,13 @@ function contacts_content(&$a) {
        }
        
        $tpl = get_markup_template("contacts-template.tpl");
-       $o .= replace_macros($tpl,array(
+
+       $includes = array(
+               '$contact_template' => 'contact_template.tpl',
+       );
+       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+       $o .= replace_macros($tpl,$includes + array(
                '$header' => t('Contacts') . (($nets) ? ' - ' . network_to_name($nets) : ''),
                '$tabs' => $t,
                '$total' => $total,
index c4b0ca2f62716c5890cd348be4f27f75a232ccb0..4210843dd203c2e999186aa1c50cbfd0ed3b3ece 100644 (file)
@@ -447,6 +447,23 @@ function render_content(&$a, $items, $mode, $update, $preview = false) {
                                $shareable = false;
 
                                $body = prepare_body($item,true);
+
+                               if($a->theme['template_engine'] === 'internal') {
+                                       $name_e = template_escape($profile_name);
+                                       $title_e = template_escape($item['title']);
+                                       $body_e = template_escape($body);
+                                       $text_e = strip_tags(template_escape($body));
+                                       $location_e = template_escape($location);
+                                       $owner_name_e = template_escape($owner_name);
+                               }
+                               else {
+                                       $name_e = $profile_name;
+                                       $title_e = $item['title'];
+                                       $body_e = $body;
+                                       $text_e = strip_tags($body);
+                                       $location_e = $location;
+                                       $owner_name_e = $owner_name;
+                               }
                                
                                //$tmp_item = replace_macros($tpl,array(
                                $tmp_item = array(
@@ -455,17 +472,17 @@ function render_content(&$a, $items, $mode, $update, $preview = false) {
                                        'linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['author-link'])) ? $item['author-link'] : $item['url'])),
                                        'profile_url' => $profile_link,
                                        'item_photo_menu' => item_photo_menu($item),
-                                       'name' => template_escape($profile_name),
+                                       'name' => $name_e,
                                        'sparkle' => $sparkle,
                                        'lock' => $lock,
                                        'thumb' => $profile_avatar,
-                                       'title' => template_escape($item['title']),
-                                       'body' => template_escape($body),
-                                       'text' => strip_tags(template_escape($body)),
+                                       'title' => $title_e,
+                                       'body' => $body_e,
+                                       'text' => $text_e,
                                        'ago' => (($item['app']) ? sprintf( t('%s from %s'),relative_date($item['created']),$item['app']) : relative_date($item['created'])),
-                                       'location' => template_escape($location),
+                                       'location' => $location_e,
                                        'indent' => '',
-                                       'owner_name' => template_escape($owner_name),
+                                       'owner_name' => $owner_name_e,
                                        'owner_url' => $owner_url,
                                        'owner_photo' => $owner_photo,
                                        'plink' => get_plink($item),
@@ -802,6 +819,24 @@ function render_content(&$a, $items, $mode, $update, $preview = false) {
 
                                $body = prepare_body($item,true);
                                //$tmp_item = replace_macros($template,
+
+                               if($a->theme['template_engine'] === 'internal') {
+                                       $body_e = template_escape($body);
+                                       $text_e = strip_tags(template_escape($body));
+                                       $name_e = template_escape($profile_name);
+                                       $title_e = template_escape($item['title']);
+                                       $location_e = template_escape($location);
+                                       $owner_name_e = template_escape($owner_name);
+                               }
+                               else {
+                                       $body_e = $body;
+                                       $text_e = strip_tags($body);
+                                       $name_e = $profile_name;
+                                       $title_e = $item['title'];
+                                       $location_e = $location;
+                                       $owner_name_e = $owner_name;
+                               }
+
                                $tmp_item = array(
                                        // collapse comments in template. I don't like this much...
                                        'comment_firstcollapsed' => $comment_firstcollapsed,
@@ -811,8 +846,8 @@ function render_content(&$a, $items, $mode, $update, $preview = false) {
                                        
                                        'type' => implode("",array_slice(explode("/",$item['verb']),-1)),
                                        'tags' => $tags,
-                                       'body' => template_escape($body),
-                                       'text' => strip_tags(template_escape($body)),
+                                       'body' => $body_e,
+                                       'text' => $text_e,
                                        'id' => $item['item_id'],
                                        'linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['author-link'])) ? $item['author-link'] : $item['url'])),
                                        'olinktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['owner-link'])) ? $item['owner-link'] : $item['url'])),
@@ -821,19 +856,19 @@ function render_content(&$a, $items, $mode, $update, $preview = false) {
                                        'vwall' => t('via Wall-To-Wall:'),
                                        'profile_url' => $profile_link,
                                        'item_photo_menu' => item_photo_menu($item),
-                                       'name' => template_escape($profile_name),
+                                       'name' => $name_e,
                                        'thumb' => $profile_avatar,
                                        'osparkle' => $osparkle,
                                        'sparkle' => $sparkle,
-                                       'title' => template_escape($item['title']),
+                                       'title' => $title_e,
                                        'ago' => (($item['app']) ? sprintf( t('%s from %s'),relative_date($item['created']),$item['app']) : relative_date($item['created'])),
                                        'lock' => $lock,
-                                       'location' => template_escape($location),
+                                       'location' => $location_e,
                                        'indent' => $indent,
                                        'shiny' => $shiny,
                                        'owner_url' => $owner_url,
                                        'owner_photo' => $owner_photo,
-                                       'owner_name' => template_escape($owner_name),
+                                       'owner_name' => $owner_name_e,
                                        'plink' => get_plink($item),
                                        'edpost' => $edpost,
                                        'isstarred' => $isstarred,
index 833a4f81cc0da7deb5c68b27c6997de2907b506d..3e138570cbf84688f489d6dcd4addc010c691225 100644 (file)
@@ -143,16 +143,23 @@ function directory_content(&$a) {
                        
                        $tpl = get_markup_template('directory_item.tpl');
 
+                       if($a->theme['template_engine'] === 'internal') {
+                               $location_e = template_escape($location);
+                       }
+                       else {
+                               $location_e = $location;
+                       }
+
                        $entry = replace_macros($tpl,array(
                                '$id' => $rr['id'],
-                               '$profile-link' => $profile_link,
+                               '$profile_link' => $profile_link,
                                '$photo' => $a->get_cached_avatar_image($rr[$photo]),
-                               '$alt-text' => $rr['name'],
+                               '$alt_text' => $rr['name'],
                                '$name' => $rr['name'],
                                '$details' => $pdesc . $details,
-                               '$page-type' => $page_type,
+                               '$page_type' => $page_type,
                                '$profile' => $profile,
-                               '$location' => template_escape($location),
+                               '$location' => $location_e,
                                '$gender'   => $gender,
                                '$pdesc'        => $pdesc,
                                '$marital'  => $marital,
index 6305dd44e7f02d3f38b510dab91b88cf701e7610..32c4bcae9f8e6cafeb9cb8ce164a8399ee0c7c01 100644 (file)
@@ -16,7 +16,7 @@ function display_content(&$a, $update = 0) {
 
        $o = '';
 
-       $a->page['htmlhead'] .= get_markup_template('display-head.tpl');
+       $a->page['htmlhead'] .= replace_macros(get_markup_template('display-head.tpl'), array());
 
 
        if($update) {
index 5ee813b4d68f1dc6e5efe66325eb251047e40561..92c6bd3b4becf14456c51e2ccdf9cbc78d3b7f64 100644 (file)
@@ -55,9 +55,17 @@ function fbrowser_content($a){
                                global $a;
                                $types = Photo::supportedTypes();
                                $ext = $types[$rr['type']];
+
+                               if($a->theme['template_engine'] === 'internal') {
+                                       $filename_e = template_escape($rr['filename']);
+                               }
+                               else {
+                                       $filename_e = $rr['filename'];
+                               }
+
                                return array( 
                                        $a->get_baseurl() . '/photo/' . $rr['resource-id'] . '-' . $rr['hiq'] . '.' .$ext, 
-                                       template_escape($rr['filename'])
+                                       $filename_e
                                        $a->get_baseurl() . '/photo/' . $rr['resource-id'] . '-' . $rr['loq'] . '.'. $ext
                                );
                        }
@@ -83,7 +91,15 @@ function fbrowser_content($a){
                                function files2($rr){ global $a; 
                                        list($m1,$m2) = explode("/",$rr['filetype']);
                                        $filetype = ( (file_exists("images/icons/$m1.png"))?$m1:"zip");
-                                       return array( $a->get_baseurl() . '/attach/' . $rr['id'], template_escape($rr['filename']), $a->get_baseurl() . '/images/icons/16/' . $filetype . '.png'); 
+
+                                       if($a->theme['template_engine'] === 'internal') {
+                                               $filename_e = template_escape($rr['filename']);
+                                       }
+                                       else {
+                                               $filename_e = $rr['filename'];
+                                       }
+
+                                       return array( $a->get_baseurl() . '/attach/' . $rr['id'], $filename_e, $a->get_baseurl() . '/images/icons/16/' . $filetype . '.png'); 
                                }
                                $files = array_map("files2", $files);
                                //echo "<pre>"; var_dump($files); killme();
index c0cca9e6df072e5a9495e0777db58a08592591b4..7b0fd59d587001290b22a654df015a2103a39e9e 100644 (file)
@@ -25,6 +25,12 @@ function filer_content(&$a) {
                $filetags = file_tag_file_to_list($filetags,'file');
                 $filetags = explode(",", $filetags);
                $tpl = get_markup_template("filer_dialog.tpl");
+
+               $includes = array(
+                       '$field_combobox' => 'field_combobox.tpl',
+               );
+               $includes = set_template_includes($a->theme['template_engine'], $includes);
+
                $o = replace_macros($tpl, array(
                        '$field' => array('term', t("Save to Folder:"), '', '', $filetags, t('- select -')),
                        '$submit' => t('Save'),
index a282dbccf571c8ff5558a099c928b666235545da..f5a37819ed92e7e44ec580a8006e95358095c555 100644 (file)
@@ -82,7 +82,16 @@ function group_content(&$a) {
                $switchtotext = 400;
 
        $tpl = get_markup_template('group_edit.tpl');
-       $context = array('$submit' => t('Submit'));
+
+       $includes = array(
+                       '$field_input' => 'field_input.tpl',
+                       '$groupeditortpl' => 'groupeditor.tpl',
+       );
+       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+       $context = $includes + array(
+                       '$submit' => t('Submit'),
+       );
 
        if(($a->argc == 2) && ($a->argv[1] === 'new')) {
                
@@ -217,15 +226,16 @@ function group_content(&$a) {
                }
        }
 
-       $context['$groupeditor'] = $groupeditor;
        $context['$desc'] = t('Click on a contact to add or remove.');
 
        if($change) {
+               $context['$groupeditor'] = $groupeditor;
                $tpl = get_markup_template('groupeditor.tpl');
                echo replace_macros($tpl, $context);
                killme();
        }
        
+       $context['$groupedit_info'] = $groupeditor;
        return replace_macros($tpl, $context);
 
 }
index 9b2411f26692a659b2b15c573356348158f1903c..4121764f1a526b340fc1c4805aa705a0a8a0f97a 100644 (file)
@@ -14,10 +14,18 @@ function hostxrd_init(&$a) {
                set_config('system','site_pubkey', $res['pubkey']);
        }
 
-       $tpl = file_get_contents('view/xrd_host.tpl');
-       echo str_replace(array(
-               '$zhost','$zroot','$domain','$zot_post','$bigkey'),array($a->get_hostname(),z_root(),z_path(),z_root() . '/post', salmon_key(get_config('system','site_pubkey'))),$tpl);
+       //$tpl = file_get_contents('view/xrd_host.tpl');
+       /*echo str_replace(array(
+               '$zhost','$zroot','$domain','$zot_post','$bigkey'),array($a->get_hostname(),z_root(),z_path(),z_root() . '/post', salmon_key(get_config('system','site_pubkey'))),$tpl);*/
+       $tpl = get_markup_template('xrd_host.tpl');
+       echo replace_macros($tpl, array(
+               '$zhost' => $a->get_hostname(),
+               '$zroot' => z_root(),
+               '$domain' => z_path(),
+               '$zot_post' => z_root() . '/post',
+               '$bigkey' => salmon_key(get_config('system','site_pubkey')),
+       ));
        session_write_close();
        exit();
 
-}
\ No newline at end of file
+}
index 91b5e3d2d47a7851b63f8ce1145a96c246bd725f..ab6d7d204f7044b9a051b77ea262ba84917b2495 100755 (executable)
@@ -220,7 +220,14 @@ function install_content(&$a) {
                        
 
                        $tpl = get_markup_template('install_db.tpl');
-                       $o .= replace_macros($tpl, array(
+
+                       $includes = array(
+                               '$field_input'  => 'field_input.tpl',
+                               '$field_password' => 'field_password.tpl',
+                       );
+                       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+                       $o .= replace_macros($tpl,$includes + array(
                                '$title' => $install_title,
                                '$pass' => t('Database connection'),
                                '$info_01' => t('In order to install Friendica we need to know how to connect to your database.'),
@@ -260,7 +267,13 @@ function install_content(&$a) {
                        $timezone = ((x($_POST,'timezone')) ? ($_POST['timezone']) : 'America/Los_Angeles');
                        
                        $tpl = get_markup_template('install_settings.tpl');
-                       $o .= replace_macros($tpl, array(
+
+                       $includes = array(
+                               '$field_input' => 'field_input.tpl',
+                       );
+                       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+                       $o .= replace_macros($tpl, $includes + array(
                                '$title' => $install_title,
                                '$pass' => t('Site settings'),
 
index 744a3eb3f7c8a6a50e584c0cb2a0a03d17b6dc6e..7ca3fba70af9e939b744ca45b9cdec7797162a22 100644 (file)
@@ -282,23 +282,25 @@ function message_content(&$a) {
 
                $tpl = get_markup_template('prv_message.tpl');
                $o .= replace_macros($tpl,array(
-                       '$header' => t('Send Private Message'),
-                       '$to' => t('To:'),
-                       '$showinputs' => 'true', 
-                       '$prefill' => $prefill,
-                       '$autocomp' => $autocomp,
-                       '$preid' => $preid,
-                       '$subject' => t('Subject:'),
-                       '$subjtxt' => ((x($_REQUEST,'subject')) ? strip_tags($_REQUEST['subject']) : ''),
-                       '$text' => ((x($_REQUEST,'body')) ? escape_tags(htmlspecialchars($_REQUEST['body'])) : ''),
-                       '$readonly' => '',
-                       '$yourmessage' => t('Your message:'),
-                       '$select' => $select,
-                       '$parent' => '',
-                       '$upload' => t('Upload photo'),
-                       '$insert' => t('Insert web link'),
-                       '$wait' => t('Please wait'),
-                       '$submit' => t('Submit')
+                       '$reply' => array(
+                               'header' => t('Send Private Message'),
+                               'to' => t('To:'),
+                               'showinputs' => 'true', 
+                               'prefill' => $prefill,
+                               'autocomp' => $autocomp,
+                               'preid' => $preid,
+                               'subject' => t('Subject:'),
+                               'subjtxt' => ((x($_REQUEST,'subject')) ? strip_tags($_REQUEST['subject']) : ''),
+                               'text' => ((x($_REQUEST,'body')) ? escape_tags(htmlspecialchars($_REQUEST['body'])) : ''),
+                               'readonly' => '',
+                               'yourmessage' => t('Your message:'),
+                               'select' => $select,
+                               'parent' => '',
+                               'upload' => t('Upload photo'),
+                               'insert' => t('Insert web link'),
+                               'wait' => t('Please wait'),
+                               'submit' => t('Submit')
+                       )
                ));
 
                return $o;
@@ -346,6 +348,17 @@ function message_content(&$a) {
                        else {
                                $partecipants = sprintf( t("%s and You"), $rr['from-name']);
                        }
+
+                       if($a->theme['template_engine'] === 'internal') {
+                               $subject_e = template_escape((($rr['mailseen']) ? $rr['title'] : '<strong>' . $rr['title'] . '</strong>'));
+                               $body_e = template_escape($rr['body']);
+                               $to_name_e = template_escape($rr['name']);
+                       }
+                       else {
+                               $subject_e = (($rr['mailseen']) ? $rr['title'] : '<strong>' . $rr['title'] . '</strong>');
+                               $body_e = $rr['body'];
+                               $to_name_e = $rr['name'];
+                       }
                        
                        $o .= replace_macros($tpl, array(
                                '$id' => $rr['id'],
@@ -353,10 +366,10 @@ function message_content(&$a) {
                                '$from_url' => (($rr['network'] === NETWORK_DFRN) ? $a->get_baseurl(true) . '/redir/' . $rr['contact-id'] : $rr['url']),
                                '$sparkle' => ' sparkle',
                                '$from_photo' => (($rr['thumb']) ? $rr['thumb'] : $rr['from-photo']),
-                               '$subject' => template_escape((($rr['mailseen']) ? $rr['title'] : '<strong>' . $rr['title'] . '</strong>')),
+                               '$subject' => $subject_e,
                                '$delete' => t('Delete conversation'),
-                               '$body' => template_escape($rr['body']),
-                               '$to_name' => template_escape($rr['name']),
+                               '$body' => $body_e,
+                               '$to_name' => $to_name_e,
                                '$date' => datetime_convert('UTC',date_default_timezone_get(),$rr['mailcreated'], t('D, d M Y - g:i A')),
                                 '$ago' => relative_date($rr['mailcreated']),
                                '$seen' => $rr['mailseen'],
@@ -371,6 +384,10 @@ function message_content(&$a) {
 
                $o .= $header;
 
+               $plaintext = true;
+               if( local_user() && feature_enabled(local_user(),'richtext') )
+                       $plaintext = false;
+
                $r = q("SELECT `mail`.*, `contact`.`name`, `contact`.`url`, `contact`.`thumb` 
                        FROM `mail` LEFT JOIN `contact` ON `mail`.`contact-id` = `contact`.`id` 
                        WHERE `mail`.`uid` = %d AND `mail`.`id` = %d LIMIT 1",
@@ -408,14 +425,18 @@ function message_content(&$a) {
 
                $tpl = get_markup_template('msg-header.tpl');
                $a->page['htmlhead'] .= replace_macros($tpl, array(
+                       '$baseurl' => $a->get_baseurl(true),
+                       '$editselect' => (($plaintext) ? 'none' : '/(profile-jot-text|prvmail-text)/'),
                        '$nickname' => $a->user['nickname'],
-                       '$baseurl' => $a->get_baseurl(true)
+                       '$linkurl' => t('Please enter a link URL:')
                ));
 
                $tpl = get_markup_template('msg-end.tpl');
                $a->page['end'] .= replace_macros($tpl, array(
+                       '$baseurl' => $a->get_baseurl(true),
+                       '$editselect' => (($plaintext) ? 'none' : '/(profile-jot-text|prvmail-text)/'),
                        '$nickname' => $a->user['nickname'],
-                       '$baseurl' => $a->get_baseurl(true)
+                       '$linkurl' => t('Please enter a link URL:')
                ));
 
 
@@ -440,16 +461,29 @@ function message_content(&$a) {
                        if($extracted['images'])
                                $message['body'] = item_redir_and_replace_images($extracted['body'], $extracted['images'], $message['contact-id']);
 
+                       if($a->theme['template_engine'] === 'internal') {
+                               $from_name_e = template_escape($message['from-name']);
+                               $subject_e = template_escape($message['title']);
+                               $body_e = template_escape(smilies(bbcode($message['body'])));
+                               $to_name_e = template_escape($message['name']);
+                       }
+                       else {
+                               $from_name_e = $message['from-name'];
+                               $subject_e = $message['title'];
+                               $body_e = smilies(bbcode($message['body']));
+                               $to_name_e = $message['name'];
+                       }
+
                        $mails[] = array(
                                'id' => $message['id'],
-                               'from_name' => template_escape($message['from-name']),
+                               'from_name' => $from_name_e,
                                'from_url' => $from_url,
                                'sparkle' => $sparkle,
                                'from_photo' => $message['from-photo'],
-                               'subject' => template_escape($message['title']),
-                               'body' => template_escape(smilies(bbcode($message['body']))),
+                               'subject' => $subject_e,
+                               'body' => $body_e,
                                'delete' => t('Delete message'),
-                               'to_name' => template_escape($message['name']),
+                               'to_name' => $to_name_e,
                                'date' => datetime_convert('UTC',date_default_timezone_get(),$message['created'],'D, d M Y - g:i A'),
                                 'ago' => relative_date($message['created']),
                        );
@@ -462,7 +496,21 @@ function message_content(&$a) {
                $parent = '<input type="hidden" name="replyto" value="' . $message['parent-uri'] . '" />';
 
                $tpl = get_markup_template('mail_display.tpl');
-               $o = replace_macros($tpl, array(
+
+               $includes = array(
+                       '$mail_conv' => 'mail_conv.tpl',
+                       '$prv_message' => 'prv_message.tpl',
+               );
+               $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+               if($a->theme['template_engine'] === 'internal') {
+                       $subjtxt_e = template_escape($message['title']);
+               }
+               else {
+                       $subjtxt_e = $message['title'];
+               }
+
+               $o = replace_macros($tpl, $includes + array(
                        '$thread_id' => $a->argv[1],
                        '$thread_subject' => $message['title'],
                        '$thread_seen' => $seen,
@@ -472,20 +520,22 @@ function message_content(&$a) {
                        '$mails' => $mails,
                        
                        // reply
-                       '$header' => t('Send Reply'),
-                       '$to' => t('To:'),
-                       '$showinputs' => '',
-                       '$subject' => t('Subject:'),
-                       '$subjtxt' => template_escape($message['title']),
-                       '$readonly' => ' readonly="readonly" style="background: #BBBBBB;" ',
-                       '$yourmessage' => t('Your message:'),
-                       '$text' => '',
-                       '$select' => $select,
-                       '$parent' => $parent,
-                       '$upload' => t('Upload photo'),
-                       '$insert' => t('Insert web link'),
-                       '$submit' => t('Submit'),
-                       '$wait' => t('Please wait')
+                       '$reply_info' => array(
+                               'header' => t('Send Reply'),
+                               'to' => t('To:'),
+                               'showinputs' => '',
+                               'subject' => t('Subject:'),
+                               'subjtxt' => $subjtxt_e,
+                               'readonly' => ' readonly="readonly" style="background: #BBBBBB;" ',
+                               'yourmessage' => t('Your message:'),
+                               'text' => '',
+                               'select' => $select,
+                               'parent' => $parent,
+                               'upload' => t('Upload photo'),
+                               'insert' => t('Insert web link'),
+                               'submit' => t('Submit'),
+                               'wait' => t('Please wait'),
+                       ),
 
                ));
 
index bd1ec82ed28aa659173bdf1662b221288aaa3f7c..885ba62c6301e4358d3b027c093bf09892f62981 100644 (file)
@@ -53,8 +53,15 @@ function nogroup_content(&$a) {
                        );
                }
        }
+
        $tpl = get_markup_template("nogroup-template.tpl");
-       $o .= replace_macros($tpl,array(
+
+       $includes = array(
+               '$contact_template' => 'contact_template.tpl',
+       );
+       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+       $o .= replace_macros($tpl,$includes + array(
                '$header' => t('Contacts who are not members of a group'),
                '$contacts' => $contacts,
                '$paginate' => paginate($a),
index b8029fd03fa928eb27ea8942a6fd629d9dfa00a6..03a39a268e59da896c3a74db5c3f0ba57a1f7bc2 100644 (file)
@@ -144,7 +144,13 @@ function notifications_content(&$a) {
                                if($rr['fid']) {
 
                                        $return_addr = bin2hex($a->user['nickname'] . '@' . $a->get_hostname() . (($a->path) ? '/' . $a->path : ''));
-                                       $notif_content .= replace_macros($sugg,array(
+
+                                       $includes = array(
+                                               '$field_checkbox' => 'field_checkbox.tpl',
+                                       );
+                                       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+                                       $notif_content .= replace_macros($sugg,$includes + array(
                                                '$str_notifytype' => t('Notification type: '),
                                                '$notify_type' => t('Friend Suggestion'),
                                                '$intro_id' => $rr['intro_id'],
@@ -161,7 +167,7 @@ function notifications_content(&$a) {
                                                '$note' => $rr['note'],
                                                '$request' => $rr['frequest'] . '?addr=' . $return_addr,
                                                '$ignore' => t('Ignore'),
-                                               '$discard' => t('Discard')
+                                               '$discard' => t('Discard'),
 
                                        ));
 
@@ -190,7 +196,12 @@ function notifications_content(&$a) {
                                        ));
                                }                       
 
-                               $notif_content .= replace_macros($tpl,array(
+                               $includes = array(
+                                       '$field_checkbox' => 'field_checkbox.tpl',
+                               );
+                               $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+                               $notif_content .= replace_macros($tpl,$includes + array(
                                        '$str_notifytype' => t('Notification type: '),
                                        '$notify_type' => (($rr['network'] !== NETWORK_OSTATUS) ? t('Friend/Connect Request') : t('New Follower')),
                                        '$dfrn_text' => $dfrn_text,     
@@ -207,7 +218,7 @@ function notifications_content(&$a) {
                                        '$approve' => t('Approve'),
                                        '$note' => $rr['note'],
                                        '$ignore' => t('Ignore'),
-                                       '$discard' => t('Discard')
+                                       '$discard' => t('Discard'),
 
                                ));
                        }
@@ -215,9 +226,14 @@ function notifications_content(&$a) {
                else
                        info( t('No introductions.') . EOL);
 
-               $o .= replace_macros($notif_tpl,array(
+               $includes = array(
+                       '$common_tabs' => 'common_tabs.tpl',
+               );
+               $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+               $o .= replace_macros($notif_tpl,$includes + array(
                        '$notif_header' => t('Notifications'),
-                       '$tabs' => $tabs,
+                       '$tabs_data' => $tabs,
                        '$notif_content' => $notif_content,
                ));
                
@@ -301,9 +317,14 @@ function notifications_content(&$a) {
                        $notif_content = t('No more network notifications.');
                }
                
-               $o .= replace_macros($notif_tpl,array(
+               $includes = array(
+                       '$common_tabs' => 'common_tabs.tpl',
+               );
+               $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+               $o .= replace_macros($notif_tpl,$includes + array(
                        '$notif_header' => t('Network Notifications'),
-                       '$tabs' => $tabs,
+                       '$tabs_data' => $tabs,
                        '$notif_content' => $notif_content,
                ));
                
@@ -331,9 +352,14 @@ function notifications_content(&$a) {
                        $notif_content .= t('No more system notifications.');
                }
                
-               $o .= replace_macros($notif_tpl,array(
+               $includes = array(
+                       '$common_tabs' => 'common_tabs.tpl',
+               );
+               $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+               $o .= replace_macros($notif_tpl,$includes + array(
                        '$notif_header' => t('System Notifications'),
-                       '$tabs' => $tabs,
+                       '$tabs_data' => $tabs,
                        '$notif_content' => $notif_content,
                ));
 
@@ -426,9 +452,14 @@ function notifications_content(&$a) {
                        $notif_content = t('No more personal notifications.');
                }
                
-               $o .= replace_macros($notif_tpl,array(
+               $includes = array(
+                       '$common_tabs' => 'common_tabs.tpl',
+               );
+               $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+               $o .= replace_macros($notif_tpl,$includes + array(
                        '$notif_header' => t('Personal Notifications'),
-                       '$tabs' => $tabs,
+                       '$tabs_data' => $tabs,
                        '$notif_content' => $notif_content,
                ));
                
@@ -507,9 +538,14 @@ function notifications_content(&$a) {
                        $notif_content = t('No more home notifications.');
                }
                
-               $o .= replace_macros($notif_tpl,array(
+               $includes = array(
+                       '$common_tabs' => 'common_tabs.tpl',
+               );
+               $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+               $o .= replace_macros($notif_tpl,$includes + array(
                        '$notif_header' => t('Home Notifications'),
-                       '$tabs' => $tabs,
+                       '$tabs_data' => $tabs,
                        '$notif_content' => $notif_content,
                ));
        }
index ae8273a1d3eda064c7a7b2f5697162e3955f018c..3abc1185cffc06eb3b44d2970b8f6de6595c30cd 100644 (file)
@@ -61,13 +61,18 @@ function notify_content(&$a) {
                        $notif_content .= t('No more system notifications.');
                }
                
-               $o .= replace_macros($notif_tpl,array(
+               $includes = array(
+                       '$common_tabs' => 'common_tabs.tpl',
+               );
+               $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+               $o .= replace_macros($notif_tpl,$includes + array(
                        '$notif_header' => t('System Notifications'),
-                       '$tabs' => '', // $tabs,
+                       '$tabs_data' => '', // $tabs,
                        '$notif_content' => $notif_content,
                ));
 
        return $o;
 
 
-}
\ No newline at end of file
+}
index efccb0e10a2e85b9b279ecca78d8202946b65fa1..8ac4d8590371f1ed89da07f1d63221e261d7cc58 100644 (file)
@@ -1039,6 +1039,16 @@ function photos_content(&$a) {
 
 
                $tpl = get_markup_template('photos_upload.tpl');
+
+               if($a->theme['template_engine'] === 'internal') {
+                       $albumselect_e = template_escape($albumselect);
+                       $aclselect_e = (($visitor) ? '' : template_escape(populate_acl($a->user, $celeb)));
+               }
+               else {
+                       $albumselect_e = $albumselect;
+                       $aclselect_e = (($visitor) ? '' : populate_acl($a->user, $celeb));
+               }
+
                $o .= replace_macros($tpl,array(
                        '$pagename' => t('Upload Photos'),
                        '$sessid' => session_id(),
@@ -1047,9 +1057,9 @@ function photos_content(&$a) {
                        '$newalbum' => t('New album name: '),
                        '$existalbumtext' => t('or existing album name: '),
                        '$nosharetext' => t('Do not show a status post for this upload'),
-                       '$albumselect' => template_escape($albumselect),
+                       '$albumselect' => $albumselect_e,
                        '$permissions' => t('Permissions'),
-                       '$aclselect' => (($visitor) ? '' : template_escape(populate_acl($a->user, $celeb))),
+                       '$aclselect' => $aclselect_e,
                        '$uploader' => $ret['addon_text'],
                        '$default' => (($ret['default_upload']) ? $default_upload : ''),
                        '$uploadurl' => $ret['post_url']
@@ -1092,10 +1102,18 @@ function photos_content(&$a) {
                        if(($album !== t('Profile Photos')) && ($album !== 'Contact Photos') && ($album !== t('Contact Photos'))) {
                                if($can_post) {
                                        $edit_tpl = get_markup_template('album_edit.tpl');
+
+                                       if($a->theme['template_engine'] === 'internal') {
+                                               $album_e = template_escape($album);
+                                       }
+                                       else {
+                                               $album_e = $album;
+                                       }
+
                                        $o .= replace_macros($edit_tpl,array(
                                                '$nametext' => t('New album name: '),
                                                '$nickname' => $a->data['user']['nickname'],
-                                               '$album' => template_escape($album),
+                                               '$album' => $album_e,
                                                '$hexalbum' => bin2hex($album),
                                                '$submit' => t('Submit'),
                                                '$dropsubmit' => t('Delete Album')
@@ -1135,6 +1153,15 @@ function photos_content(&$a) {
                                
                                $ext = $phototypes[$rr['type']];
 
+                               if($a->theme['template_engine'] === 'internal') {
+                                       $imgalt_e = template_escape($rr['filename']);
+                                       $desc_e = template_escape($rr['desc']);
+                               }
+                               else {
+                                       $imgalt_e = $rr['filename'];
+                                       $desc_e = $rr['desc'];
+                               }
+
                                $o .= replace_macros($tpl,array(
                                        '$id' => $rr['id'],
                                        '$twist' => ' ' . $twist . rand(2,4),
@@ -1142,8 +1169,8 @@ function photos_content(&$a) {
                                                . (($_GET['order'] === 'posted') ? '?f=&order=posted' : ''),
                                        '$phototitle' => t('View Photo'),
                                        '$imgsrc' => $a->get_baseurl() . '/photo/' . $rr['resource-id'] . '-' . $rr['scale'] . '.' .$ext,
-                                       '$imgalt' => template_escape($rr['filename']),
-                                       '$desc'=> template_escape($rr['desc'])
+                                       '$imgalt' => $imgalt_e,
+                                       '$desc'=> $desc_e
                                ));
 
                }
@@ -1344,20 +1371,32 @@ function photos_content(&$a) {
                $edit = Null;
                if(($cmd === 'edit') && ($can_post)) {
                        $edit_tpl = get_markup_template('photo_edit.tpl');
+
+                       if($a->theme['template_engine'] === 'internal') {
+                               $album_e = template_escape($ph[0]['album']);
+                               $caption_e = template_escape($ph[0]['desc']);
+                               $aclselect_e = template_escape(populate_acl($ph[0]));
+                       }
+                       else {
+                               $album_e = $ph[0]['album'];
+                               $caption_e = $ph[0]['desc'];
+                               $aclselect_e = populate_acl($ph[0]);
+                       }
+
                        $edit = replace_macros($edit_tpl, array(
                                '$id' => $ph[0]['id'],
                                '$rotatecw' => t('Rotate CW (right)'),
                                '$rotateccw' => t('Rotate CCW (left)'),
-                               '$album' => template_escape($ph[0]['album']),
+                               '$album' => $album_e,
                                '$newalbum' => t('New album name'), 
                                '$nickname' => $a->data['user']['nickname'],
                                '$resource_id' => $ph[0]['resource-id'],
                                '$capt_label' => t('Caption'),
-                               '$caption' => template_escape($ph[0]['desc']),
+                               '$caption' => $caption_e,
                                '$tag_label' => t('Add a Tag'),
                                '$tags' => $link_item['tag'],
                                '$permissions' => t('Permissions'),
-                               '$aclselect' => template_escape(populate_acl($ph[0])),
+                               '$aclselect' => $aclselect_e,
                                '$help_tags' => t('Example: @bob, @Barbara_Jensen, @jim@example.com, #California, #camping'),
                                '$item_id' => ((count($linked_items)) ? $link_item['id'] : 0),
                                '$submit' => t('Submit'),
@@ -1488,14 +1527,25 @@ function photos_content(&$a) {
                                                $drop = replace_macros(get_markup_template('photo_drop.tpl'), array('$id' => $item['id'], '$delete' => t('Delete')));
 
 
+                                       if($a->theme['template_engine'] === 'internal') {
+                                               $name_e = template_escape($profile_name);
+                                               $title_e = template_escape($item['title']);
+                                               $body_e = template_escape(bbcode($item['body']));
+                                       }
+                                       else {
+                                               $name_e = $profile_name;
+                                               $title_e = $item['title'];
+                                               $body_e = bbcode($item['body']);
+                                       }
+
                                        $comments .= replace_macros($template,array(
                                                '$id' => $item['item_id'],
                                                '$profile_url' => $profile_link,
-                                               '$name' => template_escape($profile_name),
+                                               '$name' => $name_e,
                                                '$thumb' => $profile_avatar,
                                                '$sparkle' => $sparkle,
-                                               '$title' => template_escape($item['title']),
-                                               '$body' => template_escape(bbcode($item['body'])),
+                                               '$title' => $title_e,
+                                               '$body' => $body_e,
                                                '$ago' => relative_date($item['created']),
                                                '$indent' => (($item['parent'] != $item['item_id']) ? ' comment' : ''),
                                                '$drop' => $drop,
@@ -1531,20 +1581,34 @@ function photos_content(&$a) {
                }
                
                $photo_tpl = get_markup_template('photo_view.tpl');
+
+               if($a->theme['template_engine'] === 'internal') {
+                       $album_e = array($album_link,template_escape($ph[0]['album']));
+                       $tags_e = template_escape($tags);
+                       $like_e = template_escape($like);
+                       $dislike_e = template_escape($dislike);
+               }
+               else {
+                       $album_e = array($album_link,$ph[0]['album']);
+                       $tags_e = $tags;
+                       $like_e = $like;
+                       $dislike_e = $dislike;
+               }
+
                $o .= replace_macros($photo_tpl, array(
                        '$id' => $ph[0]['id'],
-                       '$album' => array($album_link,template_escape($ph[0]['album'])),
+                       '$album' => $album_e,
                        '$tools' => $tools,
                        '$lock' => $lock,
                        '$photo' => $photo,
                        '$prevlink' => $prevlink,
                        '$nextlink' => $nextlink,
                        '$desc' => $ph[0]['desc'],
-                       '$tags' => template_escape($tags),
+                       '$tags' => $tags_e,
                        '$edit' => $edit,       
                        '$likebuttons' => $likebuttons,
-                       '$like' => template_escape($like),
-                       '$dislike' => template_escape($dislike),
+                       '$like' => $like_e,
+                       '$dislike' => $dikslike_e,
                        '$comments' => $comments,
                        '$paginate' => $paginate,
                ));
@@ -1588,16 +1652,25 @@ function photos_content(&$a) {
                                $twist = 'rotright';
                        $ext = $phototypes[$rr['type']];
                        
+                       if($a->theme['template_engine'] === 'internal') {
+                               $alt_e = template_escape($rr['filename']);
+                               $name_e = template_escape($rr['album']);
+                       }
+                       else {
+                               $alt_e = $rr['filename'];
+                               $name_e = $rr['album'];
+                       }
+
                        $photos[] = array(
                                'id'       => $rr['id'],
                                'twist'    => ' ' . $twist . rand(2,4),
                                'link'          => $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '/image/' . $rr['resource-id'],
                                'title'         => t('View Photo'),
                                'src'           => $a->get_baseurl() . '/photo/' . $rr['resource-id'] . '-' . ((($rr['scale']) == 6) ? 4 : $rr['scale']) . '.' . $ext,
-                               'alt'           => template_escape($rr['filename']),
+                               'alt'           => $alt_e,
                                'album' => array(
                                        'link'  => $a->get_baseurl() . '/photos/' . $a->data['user']['nickname'] . '/album/' . bin2hex($rr['album']),
-                                       'name'  => template_escape($rr['album']),
+                                       'name'  => $name_e,
                                        'alt'   => t('View Album'),
                                ),
                                
@@ -1606,7 +1679,13 @@ function photos_content(&$a) {
        }
        
        $tpl = get_markup_template('photos_recent.tpl'); 
-       $o .= replace_macros($tpl,array(
+
+       $includes = array(
+               '$photo_top' => 'photo_top.tpl',
+       );
+       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+       $o .= replace_macros($tpl,$includes + array(
                '$title' => t('Recent Photos'),
                '$can_post' => $can_post,
                '$upload' => array(t('Upload New Photos'), $a->get_baseurl().'/photos/'.$a->data['user']['nickname'].'/upload'),
index cb9abb340ddb06fe071e32f06fc9de4cb85f4e68..abe2c8e35d715d2c8427a5203aa1923b8c0df786 100644 (file)
@@ -147,7 +147,13 @@ function poco_init(&$a) {
 
        if($format === 'xml') {
                header('Content-type: text/xml');
-               echo replace_macros(get_markup_template('poco_xml.tpl'),array_xmlify(array('$response' => $ret)));
+
+               $includes = array(
+                       '$poco_entry_xml' => 'poco_entry_xml.tpl'
+               );
+               $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+               echo replace_macros(get_markup_template('poco_xml.tpl'),array_xmlify($includes + array('$response' => $ret)));
                http_status_exit(500);
        }
        if($format === 'json') {
@@ -159,4 +165,4 @@ function poco_init(&$a) {
                http_status_exit(500);
 
 
-}
\ No newline at end of file
+}
index 25871c24059d3c77cf3dd0062eeed152014dd668..15a02242124d7a63e311a6128680edf49919e38d 100644 (file)
@@ -33,6 +33,7 @@ function profile_init(&$a) {
                auto_redir($a, $which);
        }
 
+       $a->theme["template_engine"] = 'internal'; // reset the template engine to the default in case the user's theme doesn't specify one
        profile_load($a,$which,$profile);
 
        $blocked = (((get_config('system','block_public')) && (! local_user()) && (! remote_user())) ? true : false);
index d1f77a3db43ceb320a56847a54123840f88308e4..cf9918146504ab01306f54e0b6e3f9cf849b9c42 100644 (file)
@@ -313,8 +313,8 @@ function profile_photo_crop_ui_head(&$a, $ph){
        $a->config['imagecrop'] = $hash;
        $a->config['imagecrop_resolution'] = $smallest;
        $a->config['imagecrop_ext'] = $ph->getExt();
-       $a->page['htmlhead'] .= get_markup_template("crophead.tpl");
-       $a->page['end'] .= get_markup_template("cropend.tpl");
+       $a->page['htmlhead'] .= replace_macros(get_markup_template("crophead.tpl"), array());
+       $a->page['end'] .= replace_macros(get_markup_template("cropend.tpl"), array());
        return;
 }}
 
index 7cfdbb1cd5f60e580b9cf22ecaf6851321a37e1f..09a45f832a44e0a4cd076095d52d54daa82f0aa2 100644 (file)
@@ -554,7 +554,13 @@ function settings_content(&$a) {
                
                if(($a->argc > 2) && ($a->argv[2] === 'add')) {
                        $tpl = get_markup_template("settings_oauth_edit.tpl");
-                       $o .= replace_macros($tpl, array(
+
+                       $includes = array(
+                               '$field_input' => 'field_input.tpl',
+                       );
+                       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+                       $o .= replace_macros($tpl, $includes + array(
                                '$form_security_token' => get_form_security_token("settings_oauth"),
                                '$title'        => t('Add application'),
                                '$submit'       => t('Submit'),
@@ -580,7 +586,13 @@ function settings_content(&$a) {
                        $app = $r[0];
                        
                        $tpl = get_markup_template("settings_oauth_edit.tpl");
-                       $o .= replace_macros($tpl, array(
+
+                       $includes = array(
+                               '$field_input' => 'field_input.tpl',
+                       );
+                       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+                       $o .= replace_macros($tpl, $includes + array(
                                '$form_security_token' => get_form_security_token("settings_oauth"),
                                '$title'        => t('Add application'),
                                '$submit'       => t('Update'),
@@ -663,12 +675,17 @@ function settings_content(&$a) {
 
 
                $tpl = get_markup_template("settings_features.tpl");
-               $o .= replace_macros($tpl, array(
+
+               $includes = array(
+                       '$field_yesno'  => 'field_yesno.tpl',
+               );
+               $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+               $o .= replace_macros($tpl, $includes + array(
                        '$form_security_token' => get_form_security_token("settings_features"),
                        '$title'        => t('Additional Features'),
                        '$features' => $arr,
                        '$submit'   => t('Submit'),
-                       '$field_yesno'  => 'field_yesno.tpl',
                ));
                return $o;
        }
@@ -715,7 +732,17 @@ function settings_content(&$a) {
                        $mail_disabled_message = (($mail_disabled) ? t('Email access is disabled on this site.') : '');
                }
        
-               $o .= replace_macros($tpl, array(
+
+               $includes = array(
+                       '$field_checkbox' => 'field_checkbox.tpl',
+                       '$field_input' => 'field_input.tpl',
+                       '$field_select' => 'field_select.tpl',
+                       '$field_custom' => 'field_custom.tpl',
+                       '$field_password' => 'field_password.tpl',
+               );
+               $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+               $o .= replace_macros($tpl, $includes + array(
                        '$form_security_token' => get_form_security_token("settings_connectors"),
                        
                        '$title'        => t('Connector Settings'),
@@ -805,7 +832,15 @@ function settings_content(&$a) {
                }
                
                $tpl = get_markup_template("settings_display.tpl");
-               $o = replace_macros($tpl, array(
+
+               $includes = array(
+                       '$field_themeselect' => 'field_themeselect.tpl',
+                       '$field_checkbox' => 'field_checkbox.tpl',
+                       '$field_input' => 'field_input.tpl',
+               );
+               $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+               $o = replace_macros($tpl, $includes + array(
                        '$ptitle'       => t('Display Settings'),
                        '$form_security_token' => get_form_security_token("settings_display"),
                        '$submit'       => t('Submit'),
@@ -891,7 +926,13 @@ function settings_content(&$a) {
 
 
        $pageset_tpl = get_markup_template('pagetypes.tpl');
-       $pagetype = replace_macros($pageset_tpl,array(
+
+       $includes = array(
+               '$field_radio' => 'field_radio.tpl',
+       );
+       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+       $pagetype = replace_macros($pageset_tpl,$includes + array(
                '$page_normal'  => array('page-flags', t('Normal Account Page'), PAGE_NORMAL, 
                                                                        t('This account is a normal personal profile'), 
                                                                        ($a->user['page-flags'] == PAGE_NORMAL)),
@@ -1012,7 +1053,17 @@ function settings_content(&$a) {
        require_once('include/group.php');
        $group_select = mini_group_select(local_user(),$a->user['def_gid']);
 
-       $o .= replace_macros($stpl,array(
+       $includes = array(
+               '$field_password' => 'field_password.tpl',
+               '$field_input' => 'field_input.tpl',
+               '$field_custom' => 'field_custom.tpl',
+               '$field_checkbox' => 'field_checkbox.tpl',
+               '$field_yesno' => 'field_yesno.tpl',
+               '$field_intcheckbox' => 'field_intcheckbox.tpl',
+       );
+       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+       $o .= replace_macros($stpl,$includes + array(
                '$ptitle'       => t('Account Settings'),
 
                '$submit'       => t('Submit'),
index 3f11023df2b41b8a1136e28330ca628f8c84f0b5..d28198f69ab9baa7a08b90d71e77c628408f24b7 100644 (file)
@@ -60,13 +60,19 @@ function uimport_content(&$a) {
        \r
        \r
     $tpl = get_markup_template("uimport.tpl");\r
-    return replace_macros($tpl, array(\r
+\r
+       $includes = array(\r
+               '$field_custom' => 'field_custom.tpl',\r
+       );\r
+       $includes = set_template_includes($a->theme['template_engine'], $includes);\r
+\r
+    return replace_macros($tpl, $includes + array(\r
         '$regbutt' => t('Import'),\r
         '$import' => array(\r
             'title' => t("Move account"),\r
-            'text' => t("You can import an account from another Friendica server. <br>\r
-                            You need to export your account from the old server and upload it here. We will recreate your old account here with all your contacts. We will try also to inform your friends that you moved here.<br>\r
-                            <b>This feature is experimental. We can't import contacts from the OStatus network (statusnet/identi.ca) or from diaspora"),\r
+                       'intro' => t("You can import an account from another Friendica server."),\r
+                       'instruct' => t("You need to export your account from the old server and upload it here. We will recreate your old account here with all your contacts. We will try also to inform your friends that you moved here."),\r
+                       'warn' => t("This feature is experimental. We can't import contacts from the OStatus network (statusnet/identi.ca) or from Diaspora"),\r
             'field' => array('accountfile', t('Account file'),'<input id="id_accountfile" name="accountfile" type="file">', t('To export your accont, go to "Settings->Export your porsonal data" and select "Export account"')),\r
         ),  \r
     ));\r
index 8e261e71151d1e23e706ceabd89026779caa45c7..f54a76be4c08f3abd8d64d8ed4939a935fc6cb26 100644 (file)
@@ -72,7 +72,13 @@ function viewcontacts_content(&$a) {
 
 
        $tpl = get_markup_template("viewcontact_template.tpl");
-       $o .= replace_macros($tpl, array(
+
+       $includes = array(
+               '$contact_template' => 'contact_template.tpl',
+       );
+       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+       $o .= replace_macros($tpl, $includes + array(
                '$title' => t('View Contacts'),
                '$contacts' => $contacts,
                '$paginate' => paginate($a),
index 2fa6bcd99bf5099200b7319ff3acb29496500fba..7cfb643df1413bfa5d1d211369edfdcb89ee4929 100644 (file)
@@ -28,7 +28,8 @@ function xrd_init(&$a) {
        header("Content-type: text/xml");
 
        if(get_config('system','diaspora_enabled')) {
-               $tpl = file_get_contents('view/xrd_diaspora.tpl');
+               //$tpl = file_get_contents('view/xrd_diaspora.tpl');
+               $tpl = get_markup_template('xrd_diaspora.tpl');
                $dspr = replace_macros($tpl,array(
                        '$baseurl' => $a->get_baseurl(),
                        '$dspr_guid' => $r[0]['guid'],
@@ -38,7 +39,8 @@ function xrd_init(&$a) {
        else
                $dspr = '';
 
-       $tpl = file_get_contents('view/xrd_person.tpl');
+       //$tpl = file_get_contents('view/xrd_person.tpl');
+       $tpl = get_markup_template('xrd_person.tpl');
 
        $o = replace_macros($tpl, array(
                '$nick'        => $r[0]['nickname'],
diff --git a/mods/friendica-to-smarty-tpl.py b/mods/friendica-to-smarty-tpl.py
new file mode 100755 (executable)
index 0000000..6037d04
--- /dev/null
@@ -0,0 +1,198 @@
+#!/usr/bin/python
+#
+# Script to convert Friendica internal template files into Smarty template files
+# Copyright 2012 Zach Prezkuta
+# Licensed under GPL v3
+
+import os, re, string
+
+ldelim = '{{'
+rdelim = '}}'
+
+def fToSmarty(matches):
+       match = matches.group(0)
+       if match == '$j':
+               return match
+       match = string.replace(match, '[', '')
+       match = string.replace(match, ']', '')
+
+       ldel = ldelim
+       rdel = rdelim
+       if match.find("'") > -1:
+               match = string.replace(match, "'", '')
+               ldel = "'" + ldel
+               rdel = rdel + "'"
+       elif match.find('"') > -1:
+               match = string.replace(match, '"', '')
+               ldel = '"' + ldel
+               rdel = rdel + '"'
+
+       return ldel + match + rdel
+
+
+def fix_element(element):
+       # Much of the positioning here is important, e.g. if you do element.find('if ') before you do
+       # element.find('endif'), then you may get some multiply-replaced delimiters
+
+       if element.find('endif') > -1:
+               element = ldelim + '/if' + rdelim
+               return element
+
+       if element.find('if ') > -1:
+               element = string.replace(element, '{{ if', ldelim + 'if')
+               element = string.replace(element, '{{if', ldelim + 'if')
+               element = string.replace(element, ' }}', rdelim)
+               element = string.replace(element, '}}', rdelim)
+               return element
+
+       if element.find('else') > -1:
+               element = ldelim + 'else' + rdelim
+               return element
+
+       if element.find('endfor') > -1:
+               element = ldelim + '/foreach' + rdelim
+               return element
+
+       if element.find('for ') > -1:
+               element = string.replace(element, '{{ for ', ldelim + 'foreach ')
+               element = string.replace(element, '{{for ', ldelim + 'foreach ')
+               element = string.replace(element, ' }}', rdelim)
+               element = string.replace(element, '}}', rdelim)
+               return element
+
+       if element.find('endinc') > -1:
+               element = ''
+               return element
+
+       if element.find('inc ') > -1:
+               parts = element.split(' ')
+               element = ldelim + 'include file="'
+
+               # We need to find the file name. It'll either be in parts[1] if the element was written as {{ inc file.tpl }}
+               # or it'll be in parts[2] if the element was written as {{inc file.tpl}}
+               if parts[0].find('inc') > -1:
+                       first = 0
+               else:
+                       first = 1
+
+               if parts[first+1][0] == '$':
+                       # This takes care of elements where the filename is a variable, e.g. {{ inc $file }}
+                       element += 'file:' + ldelim + parts[first+1].rstrip('}') + rdelim
+               else:
+                       # This takes care of elements where the filename is a path, e.g. {{ inc file.tpl }}
+                       element += parts[first+1].rstrip('}') 
+
+               element += '"'
+
+               if len(parts) > first + 1 and parts[first+2] == 'with':
+                       # Take care of variable substitutions, e.g. {{ inc file.tpl with $var=this_var }}
+                       element += ' ' + parts[first+3].rstrip('}')[1:]
+
+               element += rdelim
+               return element
+
+
+def convert(filename, tofilename, php_tpl):
+       for line in filename:
+               newline = ''
+               st_pos = 0
+               brack_pos = line.find('{{')
+
+               if php_tpl:
+                       # If php_tpl is True, this script will only convert variables in quotes, like '$variable'
+                       # or "$variable". This is for .tpl files that produce PHP scripts, where you don't want
+                       # all the PHP variables converted into Smarty variables
+                       pattern1 = re.compile(r"""
+([\'\"]\$\[[a-zA-Z]\w*
+(\.
+(\d+|[a-zA-Z][\w-]*)
+)*
+(\|[\w\$:\.]*)*
+\][\'\"])
+""", re.VERBOSE)
+                       pattern2 = re.compile(r"""
+([\'\"]\$[a-zA-Z]\w*
+(\.
+(\d+|[a-zA-Z][\w-]*)
+)*
+(\|[\w\$:\.]*)*
+[\'\"])
+""", re.VERBOSE)
+               else:
+                       # Compile the pattern for bracket-style variables, e.g. $[variable.key|filter:arg1:arg2|filter2:arg1:arg2]
+                       # Note that dashes are only allowed in array keys if the key doesn't start
+                       # with a number, e.g. $[variable.key-id] is ok but $[variable.12-id] isn't
+                       #
+                       # Doesn't currently process the argument position key 'x', i.e. filter:arg1:x:arg2 doesn't get
+                       # changed to arg1|filter:variable:arg2 like Smarty requires
+                       #
+                       # Filter arguments can be variables, e.g. $variable, but currently can't have array keys with dashes
+                       # like filter:$variable.key-name
+                       pattern1 = re.compile(r"""
+(\$\[[a-zA-Z]\w*
+(\.
+(\d+|[a-zA-Z][\w-]*)
+)*
+(\|[\w\$:\.]*)*
+\])
+""", re.VERBOSE)
+
+                       # Compile the pattern for normal style variables, e.g. $variable.key
+                       pattern2 = re.compile(r"""
+(\$[a-zA-Z]\w*
+(\.
+(\d+|[a-zA-Z][\w-]*)
+)*
+(\|[\w\$:\.]*)*
+)
+""", re.VERBOSE)
+
+               while brack_pos > -1:
+                       if brack_pos > st_pos:
+                               line_segment = line[st_pos:brack_pos]
+                               line_segment = pattern2.sub(fToSmarty, line_segment)
+                               newline += pattern1.sub(fToSmarty, line_segment)
+
+                       end_brack_pos = line.find('}}', brack_pos)
+                       if end_brack_pos < 0:
+                               print "Error: no matching bracket found"
+
+                       newline += fix_element(line[brack_pos:end_brack_pos + 2])
+                       st_pos = end_brack_pos + 2
+
+                       brack_pos = line.find('{{', st_pos)
+
+               line_segment = line[st_pos:]
+               line_segment = pattern2.sub(fToSmarty, line_segment)
+               newline += pattern1.sub(fToSmarty, line_segment)
+               newline = newline.replace("{#", ldelim + "*")
+               newline = newline.replace("#}", "*" + rdelim)
+               tofilename.write(newline)
+
+
+path = raw_input('Path to template folder to convert: ')
+if path[-1:] != '/':
+       path = path + '/'
+
+outpath = path + 'smarty3/'
+
+if not os.path.exists(outpath):
+       os.makedirs(outpath)
+
+files = os.listdir(path)
+for a_file in files:
+       if a_file == 'htconfig.tpl':
+               php_tpl = True
+       else:
+               php_tpl = False
+
+       filename = os.path.join(path,a_file)
+       ext = a_file.split('.')[-1]
+       if os.path.isfile(filename) and ext == 'tpl':
+               with open(filename, 'r') as f:
+                       newfilename = os.path.join(outpath,a_file)
+                       with open(newfilename, 'w') as outf:
+                               print "Converting " + filename + " to " + newfilename
+                               convert(f, outf, php_tpl)
+
+
index 0c84146f9bb98e00ea0caf1d2ab5dde5c4de8ff8..4da5b8a59ff630bf30f8bc81473a3d0d294ac1f9 100644 (file)
@@ -216,6 +216,23 @@ class Item extends BaseObject {
 
         list($categories, $folders) = get_cats_and_terms($item);
 
+               if($a->theme['template_engine'] === 'internal') {
+                       $body_e = template_escape($body);
+                       $text_e = strip_tags(template_escape($body));
+                       $name_e = template_escape($profile_name);
+                       $title_e = template_escape($item['title']);
+                       $location_e = template_escape($location);
+                       $owner_name_e = template_escape($this->get_owner_name());
+               }
+               else {
+                       $body_e = $body;
+                       $text_e = strip_tags($body);
+                       $name_e = $profile_name;
+                       $title_e = $item['title'];
+                       $location_e = $location;
+                       $owner_name_e = $this->get_owner_name();
+               }
+
                $tmp_item = array(
                        'template' => $this->get_template(),
                        
@@ -229,8 +246,8 @@ class Item extends BaseObject {
                        'has_folders' => ((count($folders)) ? 'true' : ''),
             'categories' => $categories,
             'folders' => $folders,            
-                       'body' => template_escape($body),
-                       'text' => strip_tags(template_escape($body)),
+                       'body' => $body_e,
+                       'text' => $text_e,
                        'id' => $this->get_id(),
                        'linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['author-link'])) ? $item['author-link'] : $item['url'])),
                        'olinktitle' => sprintf( t('View %s\'s profile @ %s'), $this->get_owner_name(), ((strlen($item['owner-link'])) ? $item['owner-link'] : $item['url'])),
@@ -240,20 +257,20 @@ class Item extends BaseObject {
                        'vwall' => t('via Wall-To-Wall:'),
                        'profile_url' => $profile_link,
                        'item_photo_menu' => item_photo_menu($item),
-                       'name' => template_escape($profile_name),
+                       'name' => $name_e,
                        'thumb' => $profile_avatar,
                        'osparkle' => $osparkle,
                        'sparkle' => $sparkle,
-                       'title' => template_escape($item['title']),
+                       'title' => $title_e,
                        'localtime' => datetime_convert('UTC', date_default_timezone_get(), $item['created'], 'r'),
                        'ago' => (($item['app']) ? sprintf( t('%s from %s'),relative_date($item['created']),$item['app']) : relative_date($item['created'])),
                        'lock' => $lock,
-                       'location' => template_escape($location),
+                       'location' => $location_e,
                        'indent' => $indent,
                        'shiny' => $shiny,
                        'owner_url' => $this->get_owner_url(),
                        'owner_photo' => $this->get_owner_photo(),
-                       'owner_name' => template_escape($this->get_owner_name()),
+                       'owner_name' => $owner_name_e,
                        'plink' => get_plink($item),
                        'edpost'    => ((feature_enabled($conv->get_profile_owner(),'edit_posts')) ? $edpost : ''),
                        'isstarred' => $isstarred,
@@ -268,6 +285,7 @@ class Item extends BaseObject {
                        'comment' => $this->get_comment_box($indent),
                        'previewing' => ($conv->is_preview() ? ' preview ' : ''),
                        'wait' => t('Please wait'),
+                       'remove' => t('remove'),
                        'thread_level' => $thread_level
                );
 
@@ -467,11 +485,20 @@ class Item extends BaseObject {
         * Set template
         */
        private function set_template($name) {
+               $a = get_app();
+
                if(!x($this->available_templates, $name)) {
                        logger('[ERROR] Item::set_template : Template not available ("'. $name .'").', LOGGER_DEBUG);
                        return false;
                }
-               $this->template = $this->available_templates[$name];
+
+               if($a->theme['template_engine'] === 'smarty3') {
+                       $template_file = get_template_file($a, 'smarty3/' . $this->available_templates[$name]);
+               }
+               else {
+                       $template_file = $this->available_templates[$name];
+               }
+               $this->template = $template_file;
        }
 
        /**
index b777cf420169d10529ac0bd5d44511c704af9f67..db1b00c1121b0944cb5fdbe1826663ea9f43751e 100644 (file)
@@ -4,9 +4,9 @@
        <form action="$baseurl/admin/logs" method="post">
     <input type='hidden' name='form_security_token' value='$form_security_token'>
 
-       {{ inc field_checkbox.tpl with $field=$debugging }}{{ endinc }}
-       {{ inc field_input.tpl with $field=$logfile }}{{ endinc }}
-       {{ inc field_select.tpl with $field=$loglevel }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$debugging }}{{ endinc }}
+       {{ inc $field_input with $field=$logfile }}{{ endinc }}
+       {{ inc $field_select with $field=$loglevel }}{{ endinc }}
        
        <div class="submit"><input type="submit" name="page_logs" value="$submit" /></div>
        
index 874c6e6267bddd416fac71d8360d51ba43fe0ce4..844cbad272ca47725a4001867d95cf28d2fb79d7 100644 (file)
                <h3>Your friendica installation is not writable by web server.</h3>
                {{ if $canftp }}
                        <p>You can try to update via FTP</p>
-                       {{ inc field_input.tpl with $field=$ftphost }}{{ endinc }}
-                       {{ inc field_input.tpl with $field=$ftppath }}{{ endinc }}
-                       {{ inc field_input.tpl with $field=$ftpuser }}{{ endinc }}
-                       {{ inc field_password.tpl with $field=$ftppwd }}{{ endinc }}
+                       {{ inc $field_input with $field=$ftphost }}{{ endinc }}
+                       {{ inc $field_input with $field=$ftppath }}{{ endinc }}
+                       {{ inc $field_input with $field=$ftpuser }}{{ endinc }}
+                       {{ inc $field_password with $field=$ftppwd }}{{ endinc }}
                        <div class="submit"><input type="submit" name="remoteupdate" value="$submit" /></div>
                {{ endif }}
        {{ endif }}
index 11122cb4747d09ce2532ebab0d4c489126a2bf2f..16f5b580de5aaa311e8b6010094c0ebde57a0951 100644 (file)
        <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 }}
+       {{ inc $field_input with $field=$sitename }}{{ endinc }}
+       {{ inc $field_textarea with $field=$banner }}{{ endinc }}
+       {{ inc $field_select with $field=$language }}{{ endinc }}
+       {{ inc $field_select with $field=$theme }}{{ endinc }}
+       {{ inc $field_select with $field=$theme_mobile }}{{ endinc }}
+       {{ inc $field_select 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_input.tpl with $field=$daily_registrations }}{{ 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 }}
+       {{ inc $field_input with $field=$register_text }}{{ endinc }}
+       {{ inc $field_select with $field=$register_policy }}{{ endinc }}
+       {{ inc $field_input with $field=$daily_registrations }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$no_multi_reg }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$no_openid }}{{ endinc }}
+       {{ inc $field_checkbox 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 }}
+       {{ inc $field_input with $field=$maximagesize }}{{ endinc }}
+       {{ inc $field_input with $field=$maximagelength }}{{ endinc }}
+       {{ inc $field_input 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 }}
+       {{ inc $field_input with $field=$allowed_sites }}{{ endinc }}
+       {{ inc $field_input with $field=$allowed_email }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$block_public }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$force_publish }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$no_community_page }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$ostatus_disabled }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$diaspora_enabled }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$dfrn_only }}{{ endinc }}
+       {{ inc $field_input with $field=$global_directory }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$thread_allow }}{{ endinc }}
+       {{ inc $field_checkbox 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 }}
+       {{ inc $field_checkbox with $field=$no_utf }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$verifyssl }}{{ endinc }}
+       {{ inc $field_input with $field=$proxy }}{{ endinc }}
+       {{ inc $field_input with $field=$proxyuser }}{{ endinc }}
+       {{ inc $field_input with $field=$timeout }}{{ endinc }}
+       {{ inc $field_input with $field=$delivery_interval }}{{ endinc }}
+       {{ inc $field_input with $field=$poll_interval }}{{ endinc }}
+       {{ inc $field_input with $field=$maxloadavg }}{{ endinc }}
+       {{ inc $field_input with $field=$abandon_days }}{{ endinc }}
        
        <div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
        
index 0ea7eb13b7ab92ac780c13727b0d80bc01c6e985..1cabd295dad2a09f3095018eae74bed23f96c772 100644 (file)
@@ -1,5 +1,7 @@
+<!-- TEMPLATE APPEARS UNUSED -->
+
 <users type="array">
-       {{for $users as $user }}
-       {{inc api_user_xml.tpl }}{{endinc}}
+       {{for $users as $u }}
+       {{inc $api_user_xml with $user=$u }}{{endinc}}
        {{endfor}}
 </users>
index 4a32b411b58ae613919e80d115e5635b15516c23..df55d807ad9cb7c5ef80903f909e7d3715b2d63c 100644 (file)
@@ -10,7 +10,7 @@
   <in_reply_to_screen_name>$status.in_reply_to_screen_name</in_reply_to_screen_name>
   <geo>$status.geo</geo>
   <favorited>$status.favorited</favorited>
-{{ inc api_user_xml.tpl with $user=$status.user }}{{ endinc }}  <statusnet:html>$status.statusnet_html</statusnet:html>
+{{ inc $api_user_xml with $user=$status.user }}{{ endinc }}  <statusnet:html>$status.statusnet_html</statusnet:html>
   <statusnet:conversation_id>$status.statusnet_conversation_id</statusnet:conversation_id>
   <url>$status.url</url>
   <coordinates>$status.coordinates</coordinates>
diff --git a/view/ca/smarty3/cmnt_received_eml.tpl b/view/ca/smarty3/cmnt_received_eml.tpl
new file mode 100644 (file)
index 0000000..082efc7
--- /dev/null
@@ -0,0 +1,18 @@
+
+Apreciat/da {{$username}},
+
+       '{{$from}}' ha comentat un element/conversació que estàs seguint.
+
+-----
+{{$body}}
+-----
+
+Accedeix a {{$siteurl}} per a veure la conversa completa:
+
+{{$display}}
+
+
+       {{$sitename}}
+
+
diff --git a/view/ca/smarty3/follow_notify_eml.tpl b/view/ca/smarty3/follow_notify_eml.tpl
new file mode 100644 (file)
index 0000000..6958365
--- /dev/null
@@ -0,0 +1,13 @@
+
+Apreciat/da {{$myname}},
+
+Tens un nou seguidor en {{$sitename}} -  '{{$requestor}}'.
+
+Pots visitar el seu perfil en {{$url}}.
+
+Iniciï sessió en el seu lloc per a aprovar o rebutjar/cancelar la sol·licitud.
+
+{{$siteurl}}
+
+
+       {{$sitename}} 
diff --git a/view/ca/smarty3/friend_complete_eml.tpl b/view/ca/smarty3/friend_complete_eml.tpl
new file mode 100644 (file)
index 0000000..58bd14f
--- /dev/null
@@ -0,0 +1,19 @@
+
+Apreciat/da {{$username}},
+
+       Grans noticies... '{{$fn}}' a '{{$dfrn_url}}' ha acceptat la teva sol·licitud de connexió en '{{$sitename}}'.
+
+Ara sous amics mutus i podreu intercanviar actualizacions de estatus, fotos, i correu electrónic
+sense cap restricció.
+
+Visita la teva pàgina de 'Contactes' en {{$sitename}} si desitja realizar qualsevol canvi en aquesta relació.
+
+{{$siteurl}}
+
+[Per exemple, pots crear un perfil independent amb informació que no esta disponible al públic en general 
+- i assignar drets de visualització a '{{$fn}}'].
+
+
+       {{$sitename}}
+
diff --git a/view/ca/smarty3/htconfig.tpl b/view/ca/smarty3/htconfig.tpl
new file mode 100644 (file)
index 0000000..c0fa7b3
--- /dev/null
@@ -0,0 +1,68 @@
+<?php
+
+// Set the following for your MySQL installation
+// Copy or rename this file to .htconfig.php
+
+$db_host = '{{$dbhost}}';
+$db_user = '{{$dbuser}}';
+$db_pass = '{{$dbpass}}';
+$db_data = '{{$dbdata}}';
+
+// If you are using a subdirectory of your domain you will need to put the
+// relative path (from the root of your domain) here.
+// For instance if your URL is 'http://example.com/directory/subdirectory',
+// set $a->path to 'directory/subdirectory'. 
+
+$a->path = '{{$urlpath}}';
+// Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
+// It can be changed later and only applies to timestamps for anonymous viewers.
+
+$default_timezone = '{{$timezone}}';
+
+// What is your site name?
+
+$a->config['sitename'] = "La Meva Xarxa d'Amics";
+
+// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
+// Be certain to create your own personal account before setting 
+// REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on 
+// the registration page. REGISTER_APPROVE requires you set 'admin_email'
+// to the email address of an already registered person who can authorise
+// and/or approve/deny the request.
+
+$a->config['register_policy'] = REGISTER_OPEN;
+$a->config['register_text'] = '';
+$a->config['admin_email'] = '{{$adminmail}}';
+
+// Maximum size of an imported message, 0 is unlimited
+
+$a->config['max_import_size'] = 200000;
+
+// maximum size of uploaded photos
+
+$a->config['system']['maximagesize'] = 800000;
+
+// Location of PHP command line processor
+
+$a->config['php_path'] = '{{$phpath}}';
+
+// Location of global directory submission page.
+
+$a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
+$a->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search=';
+
+// PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
+
+$a->config['system']['huburl'] = 'http://pubsubhubbub.appspot.com';
+
+// Server-to-server private message encryption (RINO) is allowed by default. 
+// Encryption will only be provided if this setting is true and the
+// PHP mcrypt extension is installed on both systems 
+
+$a->config['system']['rino_encrypt'] = true;
+
+// default system theme
+
+$a->config['system']['theme'] = 'duepuntozero';
+
diff --git a/view/ca/smarty3/intro_complete_eml.tpl b/view/ca/smarty3/intro_complete_eml.tpl
new file mode 100644 (file)
index 0000000..bc26e3e
--- /dev/null
@@ -0,0 +1,21 @@
+
+Apreciat/da {{$username}},
+
+       '{{$fn}}' en '{{$dfrn_url}}' ha acceptat la teva petició
+connexió a '{{$sitename}}'.
+
+       '{{$fn}}' ha optat per acceptar-te com a "fan", que restringeix certes 
+formes de comunicació, com missatges privats i algunes interaccions 
+amb el perfil. Si ets una "celebritat" o una pàgina de comunitat, 
+aquests ajustos s'aplican automàticament 
+
+       '{{$fn}}' pot optar per extendre aixó en una relació més permisiva
+en el futur.
+
+       Començaràs a rebre les actualizacions públiques de estatus de '{{$fn}}', 
+que apareixeran a la teva pàgina "Xarxa" en
+
+{{$siteurl}}
+
+
+       {{$sitename}}
diff --git a/view/ca/smarty3/lostpass_eml.tpl b/view/ca/smarty3/lostpass_eml.tpl
new file mode 100644 (file)
index 0000000..469c429
--- /dev/null
@@ -0,0 +1,35 @@
+
+Apreciat/da {{$username}},
+       
+       S'ha rebut una sol·licitud en {{$sitename}} recentment per restablir
+la teva contrasenya. Per confirmar aquesta sol·licitud, per favor seleccioni l'enllaç de
+verificació sota o copia-ho i pega-ho en la barra d'adreces del teu navegador.
+
+Si NO has sol·licitat aquest canvi, per favor NO segueixis l'enllaç indicat i ignora
+i/o elimina aquest missatge.
+
+La teva contrasenya no es canviarà tret que puguem verificar que ets la teva qui
+va emetre aquesta sol·licitud.
+
+Segueix aquest enllaç per verificar la teva identitat:
+
+{{$reset_link}}
+
+A continuació rebràs un missatge amb la nova contrasenya.
+
+Després de accedir, podràs canviar la contrasenya del teu compte a la pàgina de
+configuració.
+
+Les dades d'accés són els següents:
+
+
+Lloc:  {{$siteurl}}
+Nom:   {{$email}}
+
+
+
+
+Salutacions,
+       L'administració de {{$sitename}}
+
diff --git a/view/ca/smarty3/mail_received_html_body_eml.tpl b/view/ca/smarty3/mail_received_html_body_eml.tpl
new file mode 100644 (file)
index 0000000..d3c9d7b
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
+<html>
+<head>
+       <title>Mensaje de Friendica</title>
+       <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+</head>
+<body>
+<table style="border:1px solid #ccc">
+       <tbody>
+       <tr><td colspan="2" style="background:#3b5998; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px;" src='{{$siteurl}}/images/friendica-32.png'><span style="padding:7px;">Friendica</span></td></tr>
+
+       <tr><td style="padding-top:22px;" colspan="2">Has rebut un nou missatge privat de '{{$from}}' en {{$siteName}}.</td></tr>
+
+
+       <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$url}}"><img style="border:0px;width:48px;height:48px;" src="{{$thumb}}"></a></td>
+               <td style="padding-top:22px;"><a href="{{$url}}">{{$from}}</a></td></tr>
+       <tr><td style="font-weight:bold;padding-bottom:5px;">{{$title}}</td></tr>
+       <tr><td style="padding-right:22px;">{{$htmlversion}}</td></tr>
+       <tr><td style="padding-top:11px;padding-bottom:11px;" colspan="2">Accedeix a <a href="{{$siteurl}}">{{$siteurl}}</a> per a llegir i respondre als teus missatges privats.</td></tr>
+       <tr><td></td><td>{{$siteName}}</td></tr>
+       </tbody>
+</table>
+</body>
+</html>
diff --git a/view/ca/smarty3/mail_received_text_body_eml.tpl b/view/ca/smarty3/mail_received_text_body_eml.tpl
new file mode 100644 (file)
index 0000000..a3fa3cd
--- /dev/null
@@ -0,0 +1,9 @@
+Has rebut un nou missatge privat de '{{$from}}' en {{$siteName}}.
+       
+{{$title}}
+
+{{$textversion}}
+                               
+Accedeix a {{$siteurl}} per a llegir i respondre als teus missatges privats.
+
+       {{$siteName}}
diff --git a/view/ca/smarty3/passchanged_eml.tpl b/view/ca/smarty3/passchanged_eml.tpl
new file mode 100644 (file)
index 0000000..f0d62d9
--- /dev/null
@@ -0,0 +1,19 @@
+
+Apreciat/da {{$username}},
+
+    La teva contrasenya ha estat modificada com has sol·licitat. Pren nota d'aquesta informació
+(o canvía immediatament la contrasenya amb quelcom que recordis).
+
+
+Les teves dades d'accés son les següents:
+
+Lloc:  {{$siteurl}}
+Nom:   {{$email}}
+Contrasenya:   {{$new_password}}
+
+Després d'accedir pots canviar la contrasenya des de la pàgina de configuració del teu perfil.
+
+
+       {{$sitename}}
+
diff --git a/view/ca/smarty3/register_open_eml.tpl b/view/ca/smarty3/register_open_eml.tpl
new file mode 100644 (file)
index 0000000..7da9a2b
--- /dev/null
@@ -0,0 +1,22 @@
+
+Apreciat/da {{$username}},
+
+       Gràcies per registrar-te en {{$sitename}}. El teu compte ha estat creat.
+
+
+Les dades d'accés són les següents:
+
+
+Lloc:  {{$siteurl}}
+Nom:   {{$email}}
+Contrasenya:   {{$password}}
+
+
+Després d'accedir pots canviar la teva contrasenya a la pàgina de "Configuració".
+
+Pren un moment per revisar les altres configuracions del compte en aquesta pàgina.
+
+
+Gràcies i benvingut/da {{$sitename}}.
+
diff --git a/view/ca/smarty3/register_verify_eml.tpl b/view/ca/smarty3/register_verify_eml.tpl
new file mode 100644 (file)
index 0000000..651e8ef
--- /dev/null
@@ -0,0 +1,23 @@
+
+S'ha rebut la sol·licitud de registre d'un nou usuari en
+{{$sitename}} que requereix la teva aprovació.
+
+Les dades d'accés són els següents:
+
+Nom Complet: {{$username}}
+Lloc: {{$siteurl}}
+Nom: {{$email}}
+
+
+Per aprovar aquesta sol·licitud, visita el següent enllaç:
+
+{{$siteurl}}/regmod/allow/{{$hash}}
+
+Per denegar la sol·licitud i eliminar el compte, per favor visita:
+
+{{$siteurl}}/regmod/deny/{{$hash}}
+
+
+Gràcies.
+
+
diff --git a/view/ca/smarty3/request_notify_eml.tpl b/view/ca/smarty3/request_notify_eml.tpl
new file mode 100644 (file)
index 0000000..18dc3ef
--- /dev/null
@@ -0,0 +1,13 @@
+
+Apreciat/da {{$myname}},
+
+Acabes de rebre una sol·licitud de connexió de '{{$requestor}}' en {{$sitename}}.
+
+Pots visitar el seu perfil en {{$url}}.
+
+Accedeix al teu lloc per a veure la presentació completa i acceptar o ignorar/cancel·lar la sol·licitud.
+
+{{$siteurl}}
+
+
+       {{$sitename}}
diff --git a/view/ca/smarty3/wall_received_eml.tpl b/view/ca/smarty3/wall_received_eml.tpl
new file mode 100644 (file)
index 0000000..cd75464
--- /dev/null
@@ -0,0 +1,18 @@
+
+Apreciat/da {{$username}},
+
+       '{{$from}}' ha escrit quelcom en el mur del teu perfil.
+
+-----
+{{$body}}
+-----
+
+Accedeix a  {{$siteurl}} per a veure o esborrar l'element:
+
+{{$display}}
+
+
+       {{$sitename}}
+
+
index c68ca7f1db67ef33ac15f27421729a65fbeb61cc..a11e252b4a31071c0cc1f985f8f98f103378efe0 100644 (file)
@@ -65,7 +65,7 @@
        {{ endif }}
        <div id="contact-edit-end" ></div>
 
-       {{inc field_checkbox.tpl with $field=$hidden }}{{endinc}}
+       {{inc $field_checkbox with $field=$hidden }}{{endinc}}
 
 <div id="contact-edit-info-wrapper">
 <h4>$lbl_info1</h4>
index ecb342bf44b62a7dde3a4e29564e37b2f45f8a49..efd426bba3a2ad1412a0c60d3b7cb5a01af2fa8f 100644 (file)
@@ -14,8 +14,8 @@
 $tabs
 
 
-{{ for $contacts as $contact }}
-       {{ inc contact_template.tpl }}{{ endinc }}
+{{ for $contacts as $c }}
+       {{ inc $contact_template with $contact=$c }}{{ endinc }}
 {{ endfor }}
 <div id="contact-edit-end"></div>
 
diff --git a/view/cs/smarty3/cmnt_received_eml.tpl b/view/cs/smarty3/cmnt_received_eml.tpl
new file mode 100644 (file)
index 0000000..baa7c18
--- /dev/null
@@ -0,0 +1,14 @@
+Milý/Milá {{$username}},
+
+        '{{$from}}' okommentoval položku/konverzaci, kterou následujete.
+
+-----
+{{$body}}
+-----
+
+Přihlaste se na {{$siteurl}} pro zobrazení kompletní konverzace:
+
+{{$display}}
+
+Díky,
+        {{$sitename}} administrátor
diff --git a/view/cs/smarty3/cmnt_received_html_body_eml.tpl b/view/cs/smarty3/cmnt_received_html_body_eml.tpl
new file mode 100644 (file)
index 0000000..867e633
--- /dev/null
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
+<html>
+<head>
+       <title>Friendica zpráva</title>
+       <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+</head>
+<body>
+<table style="border:1px solid #ccc">
+       <tbody>
+       <tr><td colspan="2" style="background:#084769; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px; float:left;" src='{{$siteurl}}/images/friendica-32.png'><div style="padding:7px; margin-left: 5px; float:left; font-size:18px;letter-spacing:1px;">Friendica</div><div style="clear: both;"></div></td></tr>
+
+       <tr><td style="padding-top:22px;" colspan="2">{{$from}} okomentoval položku/konverzaci, kterou následujete.</td></tr>
+
+
+       <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$url}}"><img style="border:0px;width:48px;height:48px;" src="{{$thumb}}"></a></td>
+               <td style="padding-top:22px;"><a href="{{$url}}">{{$from}}</a></td></tr>
+       <tr><td style="padding-bottom:5px;"></td></tr>
+       <tr><td style="padding-right:22px;">{{$body}}</td></tr>
+       <tr><td style="padding-top:11px;padding-bottom:11px;" colspan="2">Přihlaste se na <a href="{{$display}}">pro zobrazení kompletní konverzace</a>.</td></tr>
+       <tr><td></td><td>Díky,</td></tr>
+       <tr><td></td><td>{{$sitename}} administrátor</td></tr>
+       </tbody>
+</table>
+</body>
+</html>
diff --git a/view/cs/smarty3/cmnt_received_text_body_eml.tpl b/view/cs/smarty3/cmnt_received_text_body_eml.tpl
new file mode 100644 (file)
index 0000000..baa7c18
--- /dev/null
@@ -0,0 +1,14 @@
+Milý/Milá {{$username}},
+
+        '{{$from}}' okommentoval položku/konverzaci, kterou následujete.
+
+-----
+{{$body}}
+-----
+
+Přihlaste se na {{$siteurl}} pro zobrazení kompletní konverzace:
+
+{{$display}}
+
+Díky,
+        {{$sitename}} administrátor
diff --git a/view/cs/smarty3/follow_notify_eml.tpl b/view/cs/smarty3/follow_notify_eml.tpl
new file mode 100644 (file)
index 0000000..1430e83
--- /dev/null
@@ -0,0 +1,14 @@
+
+Milý/Milá {{$username}},
+
+Máte nového následovatele na {{$sitename}} -  '{{$requestor}}'.
+
+Můžete si prohlédnout jeho/její profil na {{$url}}.
+
+Přihlaste se na váš server k odsouhlasení nebo ignorování/zrušení žádosti.
+
+{{$siteurl}}
+
+S pozdravem,
+
+        {{$sitename}} administrátor
diff --git a/view/cs/smarty3/friend_complete_eml.tpl b/view/cs/smarty3/friend_complete_eml.tpl
new file mode 100644 (file)
index 0000000..fc953b7
--- /dev/null
@@ -0,0 +1,17 @@
+
+Milý/Milá {{$username}},
+
+        Skvělé zprávy... '{{$fn}}' na '{{$dfrn_url}}' odsouhlasil Váš požadavek na spojení na '{{$sitename}}'.
+
+Jste nyní přátelé a můžete si vyměňovat aktualizace statusu, fotek a e-mailů bez omezení.
+
+Pokud budete chtít tento vztah jakkoliv upravit, navštivte Vaši stránku "Kontakty" na {{$sitename}}.
+
+{{$siteurl}}
+
+(Nyní můžete například vytvořit separátní profil s informacemi, které nebudou viditelné veřejně, a nastavit právo pro zobrazení tohoto profilu pro '{{$fn}}').
+
+S pozdravem,
+
+        {{$sitename}} administrátor
+
diff --git a/view/cs/smarty3/htconfig.tpl b/view/cs/smarty3/htconfig.tpl
new file mode 100644 (file)
index 0000000..c9baae7
--- /dev/null
@@ -0,0 +1,73 @@
+<?php
+
+// Nastavte následující pro Vaši instalaci MySQL
+// Zkopírujte nebo přejmenujte tento soubor na .htconfig.php
+
+$db_host = '{{$dbhost}}';
+$db_user = '{{$dbuser}}';
+$db_pass = '{{$dbpass}}';
+$db_data = '{{$dbdata}}';
+
+// Pokud používáte podadresár z vaší domény, budete zde potřebovat zadat
+// relativní cestu (od kořene vaší domény).
+// Například pokud je URL adresa vaší instance 'http://priklad.cz/adresar/podadresar',
+// nastavte $a->path na 'adresar/podadresar'. 
+
+$a->path = '{{$urlpath}}';
+// Vyberte platnou defaultní časovou zónu. Pokud si nejste jistí, použijte use "Europe/Prague".
+// Toto nastavení lze změnit i později a používá se pouze pro časové značky anonymních čtenářů.
+
+$default_timezone = '{{$timezone}}';
+
+// Jak se jmenuje Váš web?
+
+$a->config['sitename'] = "Moje síť přátel";
+
+// Nastavení defaultního jazyka webu
+
+$a->config['system']['language'] = 'cs';
+
+// Vaše možnosti jsou REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
+// Ujistěte se, že jste si vytvořili Váš osobníúčet dříve, než nastavíte 
+// REGISTER_CLOSED. 'register_text' (pokud je nastaven) se bude zobrazovat jako první text na 
+// registrační stránce. REGISTER_APPROVE vyžaduje aby byl nastaven 'admin_email'
+// na e-mailovou adresu již existující registrované osoby, která může autorizovat
+// a/nebo schvalovat/odmítat žádosti o registraci.
+
+$a->config['register_policy'] = REGISTER_OPEN;
+$a->config['register_text'] = '';
+$a->config['admin_email'] = '{{$adminmail}}';
+
+// Maximální velikost importované zprávy, 0 je neomezeno
+
+$a->config['max_import_size'] = 200000;
+
+// maximální velikost nahrávaných fotografií
+
+$a->config['system']['maximagesize'] = 800000;
+
+// cesta k PHP command line processor
+
+$a->config['php_path'] = '{{$phpath}}';
+
+// URL adresy globálního adresáře.
+
+$a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
+$a->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search=';
+
+// PuSH - také zvaný jako  pubsubhubbub URL. Tímto zajistíte doručování veřejných přízpěvků stejně rychle jako těch soukromých
+
+$a->config['system']['huburl'] = 'http://pubsubhubbub.appspot.com';
+
+// Server-to-server private message encryption (RINO) je defaultně povolen. 
+// Šifrování bude zajištěno pouze pokud je toto nastaveno na true a
+// PHP mcrypt extension jsou nainstalována na obou systémech 
+
+$a->config['system']['rino_encrypt'] = true;
+
+// defaultní systémové grafické téma
+
+$a->config['system']['theme'] = 'duepuntozero';
+
+
diff --git a/view/cs/smarty3/intro_complete_eml.tpl b/view/cs/smarty3/intro_complete_eml.tpl
new file mode 100644 (file)
index 0000000..e770362
--- /dev/null
@@ -0,0 +1,17 @@
+
+Milý/Milá {{$username}},
+
+
+       '{{$fn}}' na '{{$dfrn_url}}' odsouhlasil Váš požadavek na spojení na '{{$sitename}}'.
+
+       '{{$fn}}' Vás označil za svého "fanouška", což jistým způsobem omezuje komunikaci (například v oblasti soukromých zpráv a některých profilových interakcí. Pokud je toto celebritní nebo komunitní stránka, bylo toto nastavení byla přijato automaticky. 
+
+       '{{$fn}}' může v budoucnu rozšířit toto spojení na oboustranné nebo jinak méně restriktivní.
+
+       Nyní začnete dostávat veřejné aktualizace statusu od '{{$fn}}', které se objeví ve Vaší stránce "Síť" na webu
+
+{{$siteurl}}
+
+S pozdravem,
+
+        {{$sitename}} administrátor
diff --git a/view/cs/smarty3/lostpass_eml.tpl b/view/cs/smarty3/lostpass_eml.tpl
new file mode 100644 (file)
index 0000000..28f8517
--- /dev/null
@@ -0,0 +1,23 @@
+
+Milý/Milá {{$username}},
+       Na webu {{$sitename}} byl zaregistrován požadavek na znovunastavení hesla k Vašemu účtu. Pro potvrzení této žádosti prosím klikněte na potvrzovací odkaz níže, nebo si tento odkaz zkopírujte do adresního řádku prohlížeče.  
+Pokud jste o znovunastavení hesla NEŽÁDALI, prosím NEKLIKEJTE na tento odkaz a ignorujte tento e-mail nebo ho rovnou smažte.
+
+Vaše heslo nebude změněno, dokud nebudeme mít potvrzení, že jste o tento požadavek zažádali právě Vy.
+
+Klikněte na tento odkaz pro prověření Vaší identity:
+
+{{$reset_link}}
+
+Poté obdržíte další zprávu obsahující nové heslo.
+
+Následně si toto heslo můžete změnit z vašeho účtu na stránce Nastavení.
+
+Přihlašovací údaje jsou tato:
+
+Adresa webu:       {{$siteurl}}
+Přihlašovací jméno: {{$email}}
+
+S pozdravem,
+
+        {{$sitename}} administrátor
diff --git a/view/cs/smarty3/mail_received_html_body_eml.tpl b/view/cs/smarty3/mail_received_html_body_eml.tpl
new file mode 100644 (file)
index 0000000..b52abc3
--- /dev/null
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
+<html>
+<head>
+       <title>Friendica Zpráva</title>
+       <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+</head>
+<body>
+<table style="border:1px solid #ccc">
+       <tbody>
+       <tr><td colspan="2" style="background:#084769; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px; float:left;" src='{{$siteurl}}/images/friendica-32.png'><div style="padding:7px; margin-left: 5px; float:left; font-size:18px;letter-spacing:1px;">Friendica</div><div style="clear: both;"></div></td></tr>
+
+        <tr><td style="padding-top:22px;" colspan="2">{{$from}} Vám poslal(a) novou soukromou zprávu na {{$siteName}}.</td></tr>
+
+
+        <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$url}}"><img style="border:0px;width:48px;height:48px;" src="{{$thumb}}"></a></td>
+                <td style="padding-top:22px;"><a href="{{$url}}">{{$from}}</a></td></tr>
+        <tr><td style="font-weight:bold;padding-bottom:5px;">{{$title}}</td></tr>
+        <tr><td style="padding-right:22px;">{{$htmlversion}}</td></tr>
+        <tr><td style="padding-top:11px;padding-bottom:11px;" colspan="2">Přihlaste se na <a href="{{$siteurl}}">{{$siteurl}}<a/> pro čtení a zaslání odpovědí na Vaše soukromé zprávy.</td></tr>
+        <tr><td></td><td>Díky,</td></tr>
+        <tr><td></td><td>{{$siteName}} administrátor</td></tr>
+        </tbody>
+</table>
+</body>
+</html>
diff --git a/view/cs/smarty3/mail_received_text_body_eml.tpl b/view/cs/smarty3/mail_received_text_body_eml.tpl
new file mode 100644 (file)
index 0000000..0b4c585
--- /dev/null
@@ -0,0 +1,10 @@
+{{$from}} Vám poslal(a) novou soukromou zprávu na {{$siteName}}.
+
+{{$title}}
+
+{{$textversion}}
+
+Přihlaste se na {{$siteurl}} pro čtení a zaslání odpovědí na Vaše soukromé zprávy.
+
+Díky,
+{{$siteName}} administrátor
diff --git a/view/cs/smarty3/passchanged_eml.tpl b/view/cs/smarty3/passchanged_eml.tpl
new file mode 100644 (file)
index 0000000..75db8eb
--- /dev/null
@@ -0,0 +1,14 @@
+
+Milý/Milá {{$username}},
+        Vaše heslo bylo na Vaši žádost změněno. Prosím zaznamenejte si tuto informaci (nebo si Vaše heslo změňte na nějaké, které si budete pamatovat).
+Vaše přihlašovací údaje jsou tato:
+
+Adresa webu:       {{$siteurl}}
+Přihlašovací jméno: {{$email}}
+Heslo:             {{$new_password}}
+
+Toto heslo si můžete změnit z vašeho účtu na stránce Nastavení poté, co se přihlásíte.
+
+S pozdravem,
+        {{$sitename}} administrátor
diff --git a/view/cs/smarty3/register_open_eml.tpl b/view/cs/smarty3/register_open_eml.tpl
new file mode 100644 (file)
index 0000000..fa1f828
--- /dev/null
@@ -0,0 +1,23 @@
+Milý/milá {{$username}},
+       Díky za registraci na {{$sitename}}. Váš účet byl vytvořen.
+Vaše přihlašovací údaje jsou tato:
+
+Adresa webu:       {{$siteurl}}
+Přihlašovací jméno: {{$email}}
+Heslo:             {{$password}}
+
+Toto heslo si můžete změnit z vašeho účtu na stránce "Nastavení" poté, co se přihlásíte.
+
+Věnujte prosím chvíli revizi dalších nastavení Vašeho účtu na této stránce.
+
+Můžete také přidat některé základní informace do Vašeho defaultního profilu (na stránce "Profily"), čímž umožníte jiným lidem Vás snadněji nalézt.
+
+Doporučujeme nastavit celé jméno, přidat profilové foto, přidat nějaká profilová "klíčová slova" (což je velmi užitečné pro hledání nových přátel) a zemi, ve které žijete. Nemusíte zadávat víc informací. 
+
+Plně respektujeme Vaše právo na soukromí a žádná z výše uvedených položek není povinná. 
+Pokud jste nový a neznáte na tomto webu nikoho jiného, zadáním těchto položek můžete získat nové a zajímavé přátele. 
+
+Díky a vítejte na {{$sitename}}.
+
+S pozdravem,
+        {{$sitename}} administrátor
diff --git a/view/cs/smarty3/register_verify_eml.tpl b/view/cs/smarty3/register_verify_eml.tpl
new file mode 100644 (file)
index 0000000..9186e73
--- /dev/null
@@ -0,0 +1,22 @@
+
+Na webu {{$sitename}} byla vytvořena nová uživatelská registrace, která vyžaduje Vaše schválení.
+
+Přihlašovací údaje jsou tato:
+
+Celé jméno:      {{$username}}
+Adresa webu:       {{$siteurl}}
+Přihlašovací jméno: {{$email}}
+
+Pro odsouhlasení tohoto požadavku prosím klikněte na následující odkaz:
+
+
+{{$siteurl}}/regmod/allow/{{$hash}}
+
+
+Pro zamítnutí žádosti a odstranění účtu prosím klikněte na tento odkaz:
+
+
+{{$siteurl}}/regmod/deny/{{$hash}}
+
+
+Díky.
diff --git a/view/cs/smarty3/request_notify_eml.tpl b/view/cs/smarty3/request_notify_eml.tpl
new file mode 100644 (file)
index 0000000..f120891
--- /dev/null
@@ -0,0 +1,15 @@
+
+Milý/Milá {{$username}},
+
+Právě jste obdržel/obdržela požadavek na spojení na webu {{$sitename}} 
+
+od '{{$requestor}}'.
+
+Můžete navštívit jeho/její profil na následujícím odkazu {{$url}}.
+
+Přihlaste se na Váš web k zobrazení kompletní žádosti a odsouhlaste nebo ignorujte/zrušte tuto žádost.
+
+{{$siteurl}}
+
+S pozdravem,
+        {{$sitename}} administrátor
diff --git a/view/cs/smarty3/wall_received_eml.tpl b/view/cs/smarty3/wall_received_eml.tpl
new file mode 100644 (file)
index 0000000..2578a4e
--- /dev/null
@@ -0,0 +1,14 @@
+Milý/Milá {{$username}},
+
+        '{{$from}}' obohatil Vaši profilovou zeď.
+
+-----
+{{$body}}
+-----
+
+Přihlaste se na  {{$siteurl}} k zobrazení nebo smazání této položky:
+
+{{$display}}
+
+Díky,
+        {{$sitename}} administrátor
diff --git a/view/cs/smarty3/wall_received_html_body_eml.tpl b/view/cs/smarty3/wall_received_html_body_eml.tpl
new file mode 100644 (file)
index 0000000..ebbc2a9
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
+<html>
+<head>
+       <title>Friendica zpráva</title>
+       <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+</head>
+<body>
+<table style="border:1px solid #ccc">
+       <tbody>
+       <tr><td colspan="2" style="background:#084769; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px; float:left;" src='{{$siteurl}}/images/friendica-32.png'><div style="padding:7px; margin-left: 5px; float:left; font-size:18px;letter-spacing:1px;">Friendica</div><div style="clear: both;"></div></td></tr>
+
+       <tr><td style="padding-top:22px;" colspan="2">{{$from}} obohatil Vaši profilovou zeď.</td></tr>
+
+
+       <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$url}}"><img style="border:0px;width:48px;height:48px;" src="{{$thumb}}"></a></td>
+               <td style="padding-top:22px;"><a href="{{$url}}">{{$from}}</a></td></tr>
+       <tr><td style="padding-right:22px;">{{$body}}</td></tr>
+       <tr><td style="padding-top:11px;padding-bottom:11px;" colspan="2">Přihlaste se na <a href="{{$siteurl}}">{{$siteurl}}</a> k <a href="{{$display}}">zobrazení nebo smazání této položky.</a></td></tr>
+       <tr><td></td><td>Díky,</td></tr>
+       <tr><td></td><td>{{$sitename}} administrátor</td></tr>
+       </tbody>
+</table>
+</body>
+</html>
diff --git a/view/cs/smarty3/wall_received_text_body_eml.tpl b/view/cs/smarty3/wall_received_text_body_eml.tpl
new file mode 100644 (file)
index 0000000..c8ac021
--- /dev/null
@@ -0,0 +1,14 @@
+Milý/Milá {{$username}},
+
+        '{{$from}}' obohatil Vaši profilovou zeď.
+
+-----
+{{$body}}
+-----
+
+Přihlaste se na  {{$siteurl}} k zobrazení nebo smazání této položky:
+
+{{$display}}
+
+Díky,
+       {{$sitename}} administrátor
diff --git a/view/de/smarty3/cmnt_received_eml.tpl b/view/de/smarty3/cmnt_received_eml.tpl
new file mode 100644 (file)
index 0000000..f902d96
--- /dev/null
@@ -0,0 +1,17 @@
+
+Hallo {{$username}},
+
+'{{$from}}' hat einen Pinnwandeintrag kommentiert dem du auch folgst.
+
+-----
+{{$body}}
+-----
+
+Um die gesamte Konversation zu sehen melde dich bitte bei {{$siteurl}} an:
+
+{{$display}}
+
+Danke für die Aufmerksamkeit
+        {{$sitename}} Administrator
+
diff --git a/view/de/smarty3/cmnt_received_html_body_eml.tpl b/view/de/smarty3/cmnt_received_html_body_eml.tpl
new file mode 100644 (file)
index 0000000..b4b994c
--- /dev/null
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
+<html>
+<head>
+       <title>Friendica Nachricht</title>
+       <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+</head>
+<body>
+<table style="border:1px solid #ccc">
+       <tbody>
+       <tr><td colspan="2" style="background:#084769; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px; float:left;" src='{{$siteurl}}/images/friendica-32.png'><div style="padding:7px; margin-left: 5px; float:left; font-size:18px;letter-spacing:1px;">Friendica</div><div style="clear: both;"></div></td></tr>
+
+       <tr><td style="padding-top:22px;" colspan="2">{{$from}} hat einen Beitrag kommentiert dem du auch folgst.</td></tr>
+
+
+       <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$url}}"><img style="border:0px;width:48px;height:48px;" src="{{$thumb}}"></a></td>
+               <td style="padding-top:22px;"><a href="{{$url}}">{{$from}}</a></td></tr>
+       <tr><td style="padding-bottom:5px;"></td></tr>
+       <tr><td style="padding-right:22px;">{{$body}}</td></tr>
+       <tr><td style="padding-top:11px;padding-bottom:11px;" colspan="2">Bitte melde dich an um <a href="{{$display}}">die komplette Unterhaltung anzuzeigen</a>.</td></tr>
+       <tr><td></td><td>Beste Gr&uuml;&szlig;e,</td></tr>
+       <tr><td></td><td>{{$sitename}} Administrator</td></tr>
+       </tbody>
+</table>
+</body>
+</html>
diff --git a/view/de/smarty3/cmnt_received_text_body_eml.tpl b/view/de/smarty3/cmnt_received_text_body_eml.tpl
new file mode 100644 (file)
index 0000000..19f81a5
--- /dev/null
@@ -0,0 +1,16 @@
+Hallo {{$username}},
+
+'{{$from}}' hat einen Pinnwandeintrag kommentiert dem du auch folgst.
+
+-----
+{{$body}}
+-----
+
+Um die gesamte Konversation zu sehen melde dich bitte bei {{$siteurl}} an:
+
+{{$display}}
+
+Danke f\9fr die Aufmerksamkeit
+        {{$sitename}} Administrator
+
diff --git a/view/de/smarty3/follow_notify_eml.tpl b/view/de/smarty3/follow_notify_eml.tpl
new file mode 100644 (file)
index 0000000..2fd04bb
--- /dev/null
@@ -0,0 +1,14 @@
+
+Hallo {{$myname}},
+
+Du hast einen neuen Anhänger auf {{$sitename}} -  '{{$requestor}}'.
+
+Du kannst das Profil unter {{$url}} besuchen.
+
+Bitte melde dich an um die Anfrage zu bestätigen oder sie zu ignorieren bzw. abzulehnen.
+
+{{$siteurl}}
+
+beste Grüße,
+
+       {{$sitename}} Administrator
\ No newline at end of file
diff --git a/view/de/smarty3/friend_complete_eml.tpl b/view/de/smarty3/friend_complete_eml.tpl
new file mode 100644 (file)
index 0000000..72234dc
--- /dev/null
@@ -0,0 +1,22 @@
+
+Hallo {{$username}},
+
+       Großartige Neuigkeiten... '{{$fn}}' auf '{{$dfrn_url}}' hat 
+deine Kontaktanfrage auf '{{$sitename}}' bestätigt.
+
+Ihr seid nun beidseitige Freunde und könnt Statusmitteilungen, Bilder und Emails
+ohne Einschränkungen austauschen.
+
+Rufe deine 'Kontakte' Seite auf {{$sitename}} auf, wenn du 
+Änderungen an diesem Kontakt vornehmen willst. 
+
+{{$siteurl}}
+
+[Du könntest z.B. ein spezielles Profil anlegen, das Informationen enthält,
+die nicht für die breite Öffentlichkeit sichtbar sein sollen und es für '{{$fn}}' zum Betrachten freigeben].
+
+Beste Grüße,
+
+       {{$sitename}} Administrator
+
\ No newline at end of file
diff --git a/view/de/smarty3/htconfig.tpl b/view/de/smarty3/htconfig.tpl
new file mode 100644 (file)
index 0000000..75d6a77
--- /dev/null
@@ -0,0 +1,68 @@
+<?php
+
+// Set the following for your MySQL installation
+// Copy or rename this file to .htconfig.php
+
+$db_host = '{{$dbhost}}';
+$db_user = '{{$dbuser}}';
+$db_pass = '{{$dbpass}}';
+$db_data = '{{$dbdata}}';
+
+// If you are using a subdirectory of your domain you will need to put the
+// relative path (from the root of your domain) here.
+// For instance if your URL is 'http://example.com/directory/subdirectory',
+// set $a->path to 'directory/subdirectory'. 
+
+$a->path = '{{$urlpath}}';
+// Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
+// It can be changed later and only applies to timestamps for anonymous viewers.
+
+$default_timezone = '{{$timezone}}';
+
+// What is your site name?
+
+$a->config['sitename'] = "My Friend Network";
+
+// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
+// Be certain to create your own personal account before setting 
+// REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on 
+// the registration page. REGISTER_APPROVE requires you set 'admin_email'
+// to the email address of an already registered person who can authorise
+// and/or approve/deny the request.
+
+$a->config['register_policy'] = REGISTER_OPEN;
+$a->config['register_text'] = '';
+$a->config['admin_email'] = '{{$adminmail}}';
+
+// Maximum size of an imported message, 0 is unlimited
+
+$a->config['max_import_size'] = 200000;
+
+// maximum size of uploaded photos
+
+$a->config['system']['maximagesize'] = 800000;
+
+// Location of PHP command line processor
+
+$a->config['php_path'] = '{{$phpath}}';
+
+// Location of global directory submission page.
+
+$a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
+$a->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search=';
+
+// PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
+
+$a->config['system']['huburl'] = 'http://pubsubhubbub.appspot.com';
+
+// Server-to-server private message encryption (RINO) is allowed by default. 
+// Encryption will only be provided if this setting is true and the
+// PHP mcrypt extension is installed on both systems 
+
+$a->config['system']['rino_encrypt'] = true;
+
+// default system theme
+
+$a->config['system']['theme'] = 'duepuntozero';
+
diff --git a/view/de/smarty3/intro_complete_eml.tpl b/view/de/smarty3/intro_complete_eml.tpl
new file mode 100644 (file)
index 0000000..f5eaef6
--- /dev/null
@@ -0,0 +1,22 @@
+
+Hallo {{$username}},
+
+       '{{$fn}}' auf '{{$dfrn_url}}' hat deine Verbindungsanfrage 
+auf '{{$sitename}}' akzeptiert.
+
+       '{{$fn}}' hat entschieden Dich als "Fan" zu akzeptieren, was zu einigen 
+Einschränkungen bei der Kommunikation führt - wie zB das Schreiben von privaten Nachrichten und einige Profil
+Interaktionen. Sollte dies ein Promi-Konto oder eine Forum-Seite sein, werden die Einstellungen
+automatisch angewandt.
+
+       '{{$fn}}' kann wählen, ob die Freundschaft in eine beidseitige oder alles erlaubende 
+Beziehung in der Zukunft erweitert wird. 
+
+       Du empfängst ab sofort die öffentlichen Beiträge von '{{$fn}}', 
+auf deiner "Netzwerk" Seite.  
+
+{{$siteurl}}
+
+Beste Grüße,
+
+       {{$sitename}} Administrator
\ No newline at end of file
diff --git a/view/de/smarty3/lostpass_eml.tpl b/view/de/smarty3/lostpass_eml.tpl
new file mode 100644 (file)
index 0000000..a507afb
--- /dev/null
@@ -0,0 +1,32 @@
+
+Hallo {{$username}},
+       Auf {{$sitename}} wurde eine Anfrage zum Zurücksetzen deines 
+Passworts empfangen. Um diese zu bestätigen folge bitte dem Link
+weiter unten oder kopiere ihn in die Adressleiste deines Browsers. 
+
+Wenn du die Anfrage NICHT gesendet haben solltest, dann IGNORIERE
+bitte diese Mail und den Link. 
+
+Dein Passwort wird nicht geändert werden solange wir nicht überprüfen
+konnten, dass du die Anfrage gestellt hast. 
+
+Folge diesem Link um deine Identität zu verifizieren:
+
+{{$reset_link}}
+
+Du wirst eine weitere Email erhalten mit dem neuen Passwort.
+
+Das Passwort kannst du anschließend wie gewohnt in deinen Account Einstellungen ändern.
+
+Die Login-Details sind die folgenden:
+
+Adresse der Seite:     {{$siteurl}}
+Login Name:    {{$email}}
+
+
+
+
+Grüße,
+       {{$sitename}} Administrator
+
\ No newline at end of file
diff --git a/view/de/smarty3/mail_received_html_body_eml.tpl b/view/de/smarty3/mail_received_html_body_eml.tpl
new file mode 100644 (file)
index 0000000..a769686
--- /dev/null
@@ -0,0 +1,26 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
+<html>
+<head>
+       <title>Friendica Nachricht</title>
+       <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+</head>
+<body>
+<table style="border:1px solid #ccc">
+       <tbody>
+       <tr><td colspan="2" style="background:#084769; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px; float:left;" src='{{$siteurl}}/images/friendica-32.png'><div style="padding:7px; margin-left: 5px; float:left; font-size:18px;letter-spacing:1px;">Friendica</div><div style="clear: both;"></div></td></tr>
+
+
+       <tr><td style="padding-top:22px;" colspan="2">{{$fromi}} hat dir eine private Nachricht auf {{$siteName}} gesendet.</td></tr>
+
+
+       <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$url}}"><img style="border:0px;width:48px;height:48px;" src="{{$thumb}}"></a></td>
+               <td style="padding-top:22px;"><a href="{{$url}}">{{$from}}</a></td></tr>
+       <tr><td style="font-weight:bold;padding-bottom:5px;">{{$title}}</td></tr>
+       <tr><td style="padding-right:22px;">{{$htmlversion}}</td></tr>
+       <tr><td style="padding-top:11px;padding-bottom:11px;" colspan="2">Bitte melde dich auf <a href="{{$siteurl}}/message">{{$siteurl}}/message</a> an um die Nachricht zu bearbeiten.</td></tr>
+       <tr><td></td><td>Beste Gr&uuml;&szlig;e,</td></tr>
+       <tr><td></td><td>{{$siteName}} Administrator</td></tr>
+       </tbody>
+</table>
+</body>
+</html>
diff --git a/view/de/smarty3/mail_received_text_body_eml.tpl b/view/de/smarty3/mail_received_text_body_eml.tpl
new file mode 100644 (file)
index 0000000..7daa6fb
--- /dev/null
@@ -0,0 +1,11 @@
+Du hast eine neue private Nachricht von '{{$from}}' auf '{{$siteName}}' erhhalten.
+       
+{{$title}}
+
+{{$textversion}}
+
+Bitte melde dich unter {{$siteurl}} an um deine privaten Nachrichte zu lesen und zu
+beantworten.
+
+Viele Gr\9f§e,
+{{$siteName}} Administrator
diff --git a/view/de/smarty3/passchanged_eml.tpl b/view/de/smarty3/passchanged_eml.tpl
new file mode 100644 (file)
index 0000000..eb08c20
--- /dev/null
@@ -0,0 +1,20 @@
+
+Hallo {{$username}},
+       Dein Passwort wurde wie gewünscht geändert. Bitte bewahre diese 
+Informationen in deinen Unterlagen auf (oder ändere dein Passwort sofort 
+in etwas, was du dir merken kannst).
+
+
+Deine Login Daten wurden wie folgt geändert:
+
+Adresse der Seite:     {{$siteurl}}
+Login Name:    {{$email}}
+Passwort:      {{$new_password}}
+
+Du kannst dein Passwort unter deinen Account-Einstellungen ändern, wenn du angemeldet bist.
+
+
+Beste Grüße,
+       {{$sitename}} Administrator
+
\ No newline at end of file
diff --git a/view/de/smarty3/register_open_eml.tpl b/view/de/smarty3/register_open_eml.tpl
new file mode 100644 (file)
index 0000000..af0a0b9
--- /dev/null
@@ -0,0 +1,34 @@
+
+Hallo {{$username}},
+       Danke für deine Anmeldung auf {{$sitename}}. Dein Account wurde angelegt. 
+Hier die Login Details:
+
+
+Adresse der Seite:     {{$siteurl}}
+Login Name:    {{$email}}
+Passwort:      {{$password}}
+
+Du kannst und solltest das Passwort in den "Einstellungen" zu deinem Account ändern, 
+nachdem du dich erstmalig eingeloggt hast.
+
+Bitte nimm dir einige Augenblicke Zeit, um die anderen Einstellungen auf der Seite kennenzulernen und zu überprüfen.
+
+Eventuell möchtest du außerdem einige grundlegende Informationen in deinem Standardprofil (auf der "Profile" Seite) eintragen, 
+damit andere Leute dich einfacher finden können.
+
+Wir empfehlen den kompletten Namen anzugeben, ein eigenes Profilbild hochzuladen,
+sowie ein paar "Profil-Schlüsselwörter" einzutragen (um leichter Menschen mit gleichen Interessen zu finden) - und 
+vielleicht auch in welchen Land du lebst; falls du nicht konkreter
+werden möchtest.
+
+Wir respektieren dein Recht auf Privatsphäre und keine dieser Angaben ist notwendig. 
+Wenn du ganz neu bei Friendica bist und niemanden kennst, werden sie dir aber helfen
+ein paar neue und interessante Freunde zu finden.  
+
+
+Danke und willkommen auf {{$sitename}}.
+
+Beste Grüße,
+       {{$sitename}} Administrator
+
\ No newline at end of file
diff --git a/view/de/smarty3/register_verify_eml.tpl b/view/de/smarty3/register_verify_eml.tpl
new file mode 100644 (file)
index 0000000..78d4aa6
--- /dev/null
@@ -0,0 +1,25 @@
+
+Eine Neuanmeldung auf {{$sitename}} benötigt 
+deine Aufmerksamkeit. 
+
+
+Die Login-Einzelheiten sind die folgenden:
+
+Kompletter Name:       {{$username}}
+Adresse der Seite:     {{$siteurl}}
+Login Name:    {{$email}}
+
+
+Um die Anfrage zu bestätigen besuche bitte:
+
+
+{{$siteurl}}/regmod/allow/{{$hash}} 
+
+
+Um die Anfrage abzulehnen und den Account zu löschen besuche bitte:
+
+
+{{$siteurl}}/regmod/deny/{{$hash}}
+
+
+Danke!
diff --git a/view/de/smarty3/request_notify_eml.tpl b/view/de/smarty3/request_notify_eml.tpl
new file mode 100644 (file)
index 0000000..de2182e
--- /dev/null
@@ -0,0 +1,17 @@
+
+Hallo {{$myname}},
+
+du hast eine Kontaktanfrage von '{{$requestor}}' auf {{$sitename}} 
+
+erhalten.
+
+Du kannst sein/ihr Profil unter {{$url}} finden.
+
+Bitte melde dich an um die komplette Vorstellung einzusehen 
+und die Anfrage zu bestätigen oder zu ignorieren oder abzulehnen.
+
+{{$siteurl}}
+
+Beste Grüße,
+
+       {{$sitename}} Administrator
\ No newline at end of file
diff --git a/view/de/smarty3/update_fail_eml.tpl b/view/de/smarty3/update_fail_eml.tpl
new file mode 100644 (file)
index 0000000..5b61470
--- /dev/null
@@ -0,0 +1,11 @@
+Hi, \r
+ich bin {{$sitename}}.   \r
+Die friendica Entwickler haben jüngst Update {{$update}} veröffentlicht, \r
+aber als ich versucht habe es zu installieren ist etwas schrecklich schief gegangen.  \r
+Das sollte schnellst möglichst behoben werden und ich kann das nicht alleine machen. \r
+Bitte wende dich an einen friendica Entwickler, falls du mir nicht alleine helfen kannst. Meine Datenbank könnte unbrauchbar sein. \r
+\r
+Die Fehlermeldung lautet '{{$error}}'.   \r
+\r
+Tut mir Leid! \r
+Deine friendica Instanz auf {{$siteurl}}
\ No newline at end of file
diff --git a/view/de/smarty3/wall_received_eml.tpl b/view/de/smarty3/wall_received_eml.tpl
new file mode 100644 (file)
index 0000000..e90d672
--- /dev/null
@@ -0,0 +1,18 @@
+
+Hallo {{$username}},
+
+'{{$from}}' hat etwas auf deiner Profilwand gepostet.
+
+-----
+{{$body}}
+-----
+
+Bitte melde dich unter {{$siteurl}} an um den Eintrag anzusehen oder zu löschen.
+
+{{$display}}
+
+Besten Dank!
+        {{$sitename}} Administrator
+
+
diff --git a/view/de/smarty3/wall_received_html_body_eml.tpl b/view/de/smarty3/wall_received_html_body_eml.tpl
new file mode 100644 (file)
index 0000000..e6e7f27
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
+<html>
+<head>
+       <title>Friendica Nachricht</title>
+       <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+</head>
+<body>
+<table style="border:1px solid #ccc">
+       <tbody>
+       <tr><td colspan="2" style="background:#084769; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px; float:left;" src='{{$siteurl}}/images/friendica-32.png'><div style="padding:7px; margin-left: 5px; float:left; font-size:18px;letter-spacing:1px;">Friendica</div><div style="clear: both;"></div></td></tr>
+
+       <tr><td style="padding-top:22px;" colspan="2">{{$from}} hat etwas auf deine Pinnwand gepostet.</td></tr>
+
+
+       <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$url}}"><img style="border:0px;width:48px;height:48px;" src="{{$thumb}}"></a></td>
+               <td style="padding-top:22px;"><a href="{{$url}}">{{$from}}</a></td></tr>
+       <tr><td style="padding-right:22px;">{{$body}}</td></tr>
+       <tr><td style="padding-top:11px;padding-bottom:11px;" colspan="2">Bitte melde dich auf <a href="{{$siteurl}}">{{$siteurl}}</a> an um <a href="{{$display}}">den Eintrag anzusehen oder ihn zu l&ouml;schen</a>.</td></tr>
+       <tr><td></td><td>Beste Gr&uuml;&szlig;e,</td></tr>
+       <tr><td></td><td>{{$sitename}} Administrator</td></tr>
+       </tbody>
+</table>
+</body>
+</html>
diff --git a/view/de/smarty3/wall_received_text_body_eml.tpl b/view/de/smarty3/wall_received_text_body_eml.tpl
new file mode 100644 (file)
index 0000000..f53dc6c
--- /dev/null
@@ -0,0 +1,18 @@
+
+Hallo {{$username}},
+
+        '{{$from}}' hat etwas auf deiner Pinnwand gepostet.
+
+-----
+{{$body}}
+-----
+
+Bitte melde dich auf {{$siteurl}} an um den Beitrag anzusehen oder ihn zu löschen:
+
+{{$display}}
+
+Besten Dank!
+    {{$sitename}} Administrator
+
+
index b45da4465e58cd8b311c3257eb127b0f1b801ca7..d496cb2add92d9ecfc37ce77c09ad5300774185b 100644 (file)
@@ -2,7 +2,7 @@
 <div class="directory-item lframe" id="directory-item-$id" >
        <div class="contact-photo-wrapper" id="directory-photo-wrapper-$id" > 
                <div class="contact-photo" id="directory-photo-$id" >
-                       <a href="$profile-link" class="directory-profile-link" id="directory-profile-link-$id" ><img class="directory-photo-img" src="$photo" alt="$alt-text" title="$alt-text" /></a>
+                       <a href="$profile_link" class="directory-profile-link" id="directory-profile-link-$id" ><img class="directory-photo-img" src="$photo" alt="$alt_text" title="$alt_text" /></a>
                </div>
        </div>
 
diff --git a/view/en/smarty3/follow_notify_eml.tpl b/view/en/smarty3/follow_notify_eml.tpl
new file mode 100644 (file)
index 0000000..ba07b19
--- /dev/null
@@ -0,0 +1,14 @@
+
+Dear {{$myname}},
+
+You have a new follower at {{$sitename}} -  '{{$requestor}}'.
+
+You may visit their profile at {{$url}}.
+
+Please login to your site to approve or ignore/cancel the request.
+
+{{$siteurl}}
+
+Regards,
+
+       {{$sitename}} administrator
diff --git a/view/en/smarty3/friend_complete_eml.tpl b/view/en/smarty3/friend_complete_eml.tpl
new file mode 100644 (file)
index 0000000..229b4fe
--- /dev/null
@@ -0,0 +1,22 @@
+
+Dear {{$username}},
+
+       Great news... '{{$fn}}' at '{{$dfrn_url}}' has accepted 
+your connection request at '{{$sitename}}'.
+
+You are now mutual friends and may exchange status updates, photos, and email
+without restriction.
+
+Please visit your 'Contacts' page at {{$sitename}} if you wish to make 
+any changes to this relationship. 
+
+{{$siteurl}}
+
+[For instance, you may create a separate profile with information that is not
+available to the general public - and assign viewing rights to '{{$fn}}'].
+
+Sincerely,
+
+       {{$sitename}} Administrator
+
diff --git a/view/en/smarty3/htconfig.tpl b/view/en/smarty3/htconfig.tpl
new file mode 100644 (file)
index 0000000..745bf03
--- /dev/null
@@ -0,0 +1,71 @@
+<?php
+
+// Set the following for your MySQL installation
+// Copy or rename this file to .htconfig.php
+
+$db_host = '{{$dbhost}}';
+$db_user = '{{$dbuser}}';
+$db_pass = '{{$dbpass}}';
+$db_data = '{{$dbdata}}';
+
+// If you are using a subdirectory of your domain you will need to put the
+// relative path (from the root of your domain) here.
+// For instance if your URL is 'http://example.com/directory/subdirectory',
+// set $a->path to 'directory/subdirectory'. 
+
+$a->path = '{{$urlpath}}';
+// Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
+// It can be changed later and only applies to timestamps for anonymous viewers.
+
+$default_timezone = '{{$timezone}}';
+
+// What is your site name?
+
+$a->config['sitename'] = "My Friend Network";
+
+// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
+// Be certain to create your own personal account before setting 
+// REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on 
+// the registration page. REGISTER_APPROVE requires you set 'admin_email'
+// to the email address of an already registered person who can authorise
+// and/or approve/deny the request.
+
+$a->config['register_policy'] = REGISTER_OPEN;
+$a->config['register_text'] = '';
+$a->config['admin_email'] = '{{$adminmail}}';
+
+// Maximum size of an imported message, 0 is unlimited
+
+$a->config['max_import_size'] = 200000;
+
+// maximum size of uploaded photos
+
+$a->config['system']['maximagesize'] = 800000;
+
+// Location of PHP command line processor
+
+$a->config['php_path'] = '{{$phpath}}';
+
+// Location of global directory submission page.
+
+$a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
+$a->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search=';
+
+// PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
+
+$a->config['system']['huburl'] = 'http://pubsubhubbub.appspot.com';
+
+// Server-to-server private message encryption (RINO) is allowed by default. 
+// Encryption will only be provided if this setting is true and the
+// PHP mcrypt extension is installed on both systems 
+
+$a->config['system']['rino_encrypt'] = true;
+
+// default system theme
+
+$a->config['system']['theme'] = 'duepuntozero';
+
+// By default allow pseudonyms
+
+$a->config['system']['no_regfullname'] = true;
diff --git a/view/en/smarty3/intro_complete_eml.tpl b/view/en/smarty3/intro_complete_eml.tpl
new file mode 100644 (file)
index 0000000..c3bc469
--- /dev/null
@@ -0,0 +1,22 @@
+
+Dear {{$username}},
+
+       '{{$fn}}' at '{{$dfrn_url}}' has accepted 
+your connection request at '{{$sitename}}'.
+
+       '{{$fn}}' has chosen to accept you a "fan", which restricts 
+some forms of communication - such as private messaging and some profile
+interactions. If this is a celebrity or community page, these settings were
+applied automatically.
+
+       '{{$fn}}' may choose to extend this into a two-way or more permissive 
+relationship in the future. 
+
+       You will start receiving public status updates from '{{$fn}}', 
+which will appear on your 'Network' page at  
+
+{{$siteurl}}
+
+Sincerely,
+
+       {{$sitename}} Administrator
diff --git a/view/en/smarty3/lostpass_eml.tpl b/view/en/smarty3/lostpass_eml.tpl
new file mode 100644 (file)
index 0000000..3b79d27
--- /dev/null
@@ -0,0 +1,32 @@
+
+Dear {{$username}},
+       A request was recently received at {{$sitename}} to reset your account 
+password. In order to confirm this request, please select the verification link
+below or paste it into your web browser address bar. 
+
+If you did NOT request this change, please DO NOT follow the link
+provided and ignore and/or delete this email. 
+
+Your password will not be changed unless we can verify that you
+issued this request. 
+
+Follow this link to verify your identity:
+
+{{$reset_link}}
+
+You will then receive a follow-up message containing the new password.
+
+You may change that password from your account settings page after logging in.
+
+The login details are as follows:
+
+Site Location: {{$siteurl}}
+Login Name:    {{$email}}
+
+
+
+
+Sincerely,
+       {{$sitename}} Administrator
+
diff --git a/view/en/smarty3/passchanged_eml.tpl b/view/en/smarty3/passchanged_eml.tpl
new file mode 100644 (file)
index 0000000..0d94be3
--- /dev/null
@@ -0,0 +1,20 @@
+
+Dear {{$username}},
+       Your password has been changed as requested. Please retain this 
+information for your records (or change your password immediately to 
+something that you will remember).
+
+
+Your login details are as follows:
+
+Site Location: {{$siteurl}}
+Login Name:    {{$email}}
+Password:      {{$new_password}}
+
+You may change that password from your account settings page after logging in.
+
+
+Sincerely,
+       {{$sitename}} Administrator
+
diff --git a/view/en/smarty3/register_open_eml.tpl b/view/en/smarty3/register_open_eml.tpl
new file mode 100644 (file)
index 0000000..bfc1082
--- /dev/null
@@ -0,0 +1,34 @@
+
+Dear {{$username}},
+       Thank you for registering at {{$sitename}}. Your account has been created. 
+The login details are as follows:
+
+
+Site Location: {{$siteurl}}
+Login Name:    {{$email}}
+Password:      {{$password}}
+
+You may change your password from your account "Settings" page after logging 
+in.
+
+Please take a few moments to review the other account settings on that page.
+
+You may also wish to add some basic information to your default profile 
+(on the "Profiles" page) so that other people can easily find you.
+
+We recommend setting your full name, adding a profile photo,
+adding some profile "keywords" (very useful in making new friends) - and 
+perhaps what country you live in; if you do not wish to be more specific
+than that.
+
+We fully respect your right to privacy, and none of these items are necessary. 
+If you are new and do not know anybody here, they may help
+you to make some new and interesting friends.  
+
+
+Thank you and welcome to {{$sitename}}.
+
+Sincerely,
+       {{$sitename}} Administrator
+
diff --git a/view/en/smarty3/register_verify_eml.tpl b/view/en/smarty3/register_verify_eml.tpl
new file mode 100644 (file)
index 0000000..dbdd1a9
--- /dev/null
@@ -0,0 +1,26 @@
+
+A new user registration request was received at {{$sitename}} which requires 
+your approval. 
+
+
+The login details are as follows:
+
+Full Name:     {{$username}}
+Site Location: {{$siteurl}}
+Login Name:    {{$email}}
+
+
+To approve this request please visit the following link:
+
+
+{{$siteurl}}/regmod/allow/{{$hash}} 
+
+
+To deny the request and remove the account, please visit:
+
+
+{{$siteurl}}/regmod/deny/{{$hash}}
+
+
+Thank you.
+
diff --git a/view/en/smarty3/request_notify_eml.tpl b/view/en/smarty3/request_notify_eml.tpl
new file mode 100644 (file)
index 0000000..d01b8ff
--- /dev/null
@@ -0,0 +1,17 @@
+
+Dear {{$myname}},
+
+You have just received a connection request at {{$sitename}} 
+
+from '{{$requestor}}'.
+
+You may visit their profile at {{$url}}.
+
+Please login to your site to view the complete introduction 
+and approve or ignore/cancel the request.
+
+{{$siteurl}}
+
+Regards,
+
+       {{$sitename}} administrator
diff --git a/view/en/smarty3/update_fail_eml.tpl b/view/en/smarty3/update_fail_eml.tpl
new file mode 100644 (file)
index 0000000..a0983b6
--- /dev/null
@@ -0,0 +1,11 @@
+Hey, \r
+I'm {{$sitename}};   \r
+The friendica developers released update {{$update}} recently, \r
+but when I tried to install it, something went terribly wrong.  \r
+This needs to be fixed soon and I can't do it alone. Please contact a \r
+friendica developer if you can not help me on your own. My database might be invalid. \r
+\r
+The error message is '{{$error}}'.   \r
+\r
+I'm sorry, \r
+your friendica server at {{$siteurl}}
\ No newline at end of file
diff --git a/view/eo/smarty3/follow_notify_eml.tpl b/view/eo/smarty3/follow_notify_eml.tpl
new file mode 100644 (file)
index 0000000..dd313c1
--- /dev/null
@@ -0,0 +1,14 @@
+
+Kara {{$myname}},
+
+Vi havas novan abonanton ĉe {{$sitename}} -  '{{$requestor}}'.
+
+Vi povas viziti ilian profilon ĉe {{$url}}.
+
+Bonvolu ensaluti en vian retejon por aprobi au malaprobi/nuligi la peton.
+
+{{$siteurl}}
+
+Salutoj,
+
+       [{{$sitename}}] administranto
\ No newline at end of file
diff --git a/view/eo/smarty3/friend_complete_eml.tpl b/view/eo/smarty3/friend_complete_eml.tpl
new file mode 100644 (file)
index 0000000..2987a8d
--- /dev/null
@@ -0,0 +1,22 @@
+
+Kara {{$username}},
+
+       Boegaj novaĵoj.... '{{$fn}}' ĉe '{{$dfrn_url}}' aprobis 
+vian kontaktpeton ĉe '{{$sitename}}'.
+
+Vi nun estas reciprokaj amikoj kaj povas interŝanĝi afiŝojn, bildojn kaj mesaĝojn
+senkatene.
+
+Bonvolu viziti vian 'Kontaktoj' paĝon ĉe {{$sitename}} se vi volas 
+ŝangi la rilaton. 
+
+{{$siteurl}}
+
+[Ekzempe, vi eble volas krei disiĝintan profilon kun informoj kiu ne
+haveblas al la komuna publiko - kaj rajtigi '{{$fn}}' al ĝi]'
+
+Salutoj,
+
+       {{$sitename}} administranto
+
\ No newline at end of file
diff --git a/view/eo/smarty3/intro_complete_eml.tpl b/view/eo/smarty3/intro_complete_eml.tpl
new file mode 100644 (file)
index 0000000..eab7623
--- /dev/null
@@ -0,0 +1,22 @@
+
+Kara {{$username}},
+
+       '{{$fn}}' ĉe '{{$dfrn_url}}' akceptis 
+vian kontaktpeton ĉe '{{$sitename}}'.
+
+       '{{$fn}}' elektis vin kiel "admiranto", kio malpermesas 
+kelkajn komunikilojn - ekzemple privataj mesaĝoj kaj kelkaj profilrilataj
+agoj. Se tio estas konto de komunumo aŭ de eminentulo, tiaj agordoj
+aŭtomate aktiviĝis.
+
+       '{{$fn}}' eblas konverti la rilaton al ambaŭdirekta rilato 
+aŭ apliki pli da permesoj. 
+
+       Vi ekricevos publikajn afiŝojn de '{{$fn}}', 
+kiuj aperos sur via 'Reto' paĝo ĉe  
+
+{{$siteurl}}
+
+Salutoj,
+
+       {{$sitename}} administranto
\ No newline at end of file
diff --git a/view/eo/smarty3/lostpass_eml.tpl b/view/eo/smarty3/lostpass_eml.tpl
new file mode 100644 (file)
index 0000000..ddde9fe
--- /dev/null
@@ -0,0 +1,32 @@
+
+Kara {{$username}},
+       {{$sitename}} ricevis peton por rekomencigi vian pasvorton. 
+Por konfirmi la peton, bonvolu klaki la sekvantan konfirmligilon 
+aŭ alglui ĝin en la adreskampo de via retumilo. 
+
+Se vi NE petis tiun ŝanĝon, bonvolu NE KLAKU la 
+sekvantan ligilon kaj ignoru aŭ forvisu ĉi-mesaĝon. 
+
+Ni ne ŝanĝu vian pasvorton se ni ne povas kontroli ĉu estas vi
+kiu petis la ŝanĝon. 
+
+Sekvu ĉi tion ligilon por konfirmi vian identecon:
+
+{{$reset_link}}
+
+Poste, vi ricevos mesaĝon enhavonte la novan pasvorton.
+
+Vi eblas ŝangi la pasvorton ĉe viaj kontdoagordoj paĝo post ensaluti.
+
+La akreditaĵoj estas:
+
+Retejo:»{{$siteurl}}
+Salutnomo:»{{$email}}
+
+
+
+
+Salutoj,
+       {{$sitename}} administranto
+
\ No newline at end of file
diff --git a/view/eo/smarty3/passchanged_eml.tpl b/view/eo/smarty3/passchanged_eml.tpl
new file mode 100644 (file)
index 0000000..173828d
--- /dev/null
@@ -0,0 +1,20 @@
+
+Kara {{$username}},
+       Via pasvorto estas ŝanĝita laŭ via peto. Bonvolu konservi ĉi tiun 
+informon (aŭ tuj ŝanĝu vian pasvorton al 
+iu kiun vi povas memori).
+
+
+Jen viaj legitimaĵoj:
+
+Retejo:»{{$siteurl}}
+Salutnomo:»{{$email}}
+Pasvorto:»{{$new_password}}
+
+Vi eblas ŝanĝi la pasvorton ĉe la paĝo Agordoj -> Konto kiam vi estas ensalutita.
+
+
+Salutoj,
+       {{$sitename}} administranto
+
\ No newline at end of file
diff --git a/view/eo/smarty3/register_open_eml.tpl b/view/eo/smarty3/register_open_eml.tpl
new file mode 100644 (file)
index 0000000..84fc9ad
--- /dev/null
@@ -0,0 +1,34 @@
+
+Kara {{$username}},
+       Dankon pro via registrado ĉe {{$sitename}}. Vian konton estas kreita. 
+Jen viaj legitimaĵoj:
+
+
+Retejo:»{{$siteurl}}
+Salutnomo:»{{$email}}
+Pasvorto:»{{$password}}
+
+Vi eblas ŝanĝi la pasvorton ĉe la paĝo Agordoj -> Konto kiam vi estas  
+ensalutita.
+
+Bonvolu preni kelkajn momentoj por kontroli la aliajn kontaktagordojn.
+
+Eble vi volas aldoni kelkajn bazajn informojn al via profilo 
+(ĉe la paĝo "Profiloj"), tial vi troveblas al aliaj uzantoj.
+
+Ni rekomendas agordi vian plenan noman, aldoni profilbildon,
+kaj aldojo kelkajn ŝlosilvortojn (tre utila por trovi novajn amikojn) - kaj 
+eble en kiu lando vi loĝas, se vi ne volas pli specifa
+ol tio.
+
+Ni tute respektas vian privatecon, kaj neniu de tiuj agordoj necesas. 
+Se vi novas kaj ne konas iun ĉi tie, ili eble helpas 
+vin trovi novajn kaj interesajn amikojn.  
+
+
+Dankon kaj bonvenon ĉe {{$sitename}}.
+
+Salutoj,
+       {{$sitename}} administranto
+
\ No newline at end of file
diff --git a/view/eo/smarty3/register_verify_eml.tpl b/view/eo/smarty3/register_verify_eml.tpl
new file mode 100644 (file)
index 0000000..4e960b9
--- /dev/null
@@ -0,0 +1,25 @@
+
+Nova peto por registrado atendas ĉe {{$sitename}} 
+kaj bezonas vian aprobon. 
+
+
+Jen la detaloj de la peto:
+
+Plena Nomo:»{{$username}}
+Retejo:»{{$siteurl}}
+Salutnomo:»{{$email}}
+
+
+Aprobonte la peton, bonvolu klaki tiun ligilon:
+
+
+{{$siteurl}}/regmod/allow/{{$hash}} 
+
+
+Malaprobonte kaj forviŝonte la konton, bonvolu klaki:
+
+
+{{$siteurl}}/regmod/deny/{{$hash}}
+
+
+Dankon!
diff --git a/view/eo/smarty3/request_notify_eml.tpl b/view/eo/smarty3/request_notify_eml.tpl
new file mode 100644 (file)
index 0000000..d026ba6
--- /dev/null
@@ -0,0 +1,17 @@
+
+Kara {{$myname}},
+
+Vi ĵus ricevis kontaktpeton ĉe {{$sitename}} 
+
+de '{{$requestor}}'.
+
+Vi eblas viziti la profilon de la petanto ĉe {{$url}}.
+
+Bonvolu ensaluti en la retejo por vidi la plenan prezenton 
+kaj aprobi aŭ ignori/nuligi la peton.
+
+{{$siteurl}}
+
+Salutoj,
+
+       {{$sitename}} administranto
\ No newline at end of file
diff --git a/view/eo/smarty3/update_fail_eml.tpl b/view/eo/smarty3/update_fail_eml.tpl
new file mode 100644 (file)
index 0000000..4b7f240
--- /dev/null
@@ -0,0 +1,11 @@
+Saluton! \r
+Mi estas {{$sitename}}.   \r
+La programistoj de Frienda eldonis ĝisdatigon {{$update}} antaŭ ne longe, \r
+sed kiam mi provis instali ĝin, io terure malsukcesis.  \r
+Tio tuj bezonas riparon kaj mi ne povas fari ĝin sole. Bonvolu kontakti \r
+Friendica programistion se vi ne povas helpi vin mem. Mia datumbazo eble ne plu validas. \r
+\r
+La erarmesaĝo estas '{{$error}}'.   \r
+\r
+Mi bedaŭras, \r
+via Friendica servilo ĉe {{$siteurl}}
\ No newline at end of file
diff --git a/view/es/smarty3/cmnt_received_eml.tpl b/view/es/smarty3/cmnt_received_eml.tpl
new file mode 100644 (file)
index 0000000..d78eae2
--- /dev/null
@@ -0,0 +1,18 @@
+
+Estimado/a {{$username}},
+
+       '{{$from}}' ha comentado un elemento/conversación que estás siguiendo.
+
+-----
+{{$body}}
+-----
+
+Accede a {{$siteurl}} para ver la conversación completa:
+
+{{$display}}
+
+
+       {{$sitename}}
+
+
diff --git a/view/es/smarty3/follow_notify_eml.tpl b/view/es/smarty3/follow_notify_eml.tpl
new file mode 100644 (file)
index 0000000..86e0900
--- /dev/null
@@ -0,0 +1,13 @@
+
+Estimado/a {{$myname}},
+
+Tienes un nuevo seguidor en {{$sitename}} -  '{{$requestor}}'.
+
+Puedes visitar su perfil en {{$url}}.
+
+Inicie sesión en su sitio para aprobar o rechazar/cancelar la solicitud.
+
+{{$siteurl}}
+
+
+       {{$sitename}} 
diff --git a/view/es/smarty3/friend_complete_eml.tpl b/view/es/smarty3/friend_complete_eml.tpl
new file mode 100644 (file)
index 0000000..be3c817
--- /dev/null
@@ -0,0 +1,19 @@
+
+Estimado/a {{$username}},
+
+       Grandes noticias... '{{$fn}}' a '{{$dfrn_url}}' ha aceptado tu solicitud de conexión en '{{$sitename}}'.
+
+Ahora sois amigos mutuos y podreis intercambiar actualizaciones de estado, fotos, y correo electrónico
+sin restricción alguna.
+
+Visita tu página de 'Contactos' en {{$sitename}} si desear realizar cualquier cambio en esta relación.
+
+{{$siteurl}}
+
+[Por ejemplo, puedes crear un perfil independiente con información que no está disponible al público en general 
+- y asignar derechos de visualización a '{{$fn}}'].
+
+
+       {{$sitename}}
+
diff --git a/view/es/smarty3/htconfig.tpl b/view/es/smarty3/htconfig.tpl
new file mode 100644 (file)
index 0000000..5696245
--- /dev/null
@@ -0,0 +1,68 @@
+<?php
+
+// Set the following for your MySQL installation
+// Copy or rename this file to .htconfig.php
+
+$db_host = '{{$dbhost}}';
+$db_user = '{{$dbuser}}';
+$db_pass = '{{$dbpass}}';
+$db_data = '{{$dbdata}}';
+
+// If you are using a subdirectory of your domain you will need to put the
+// relative path (from the root of your domain) here.
+// For instance if your URL is 'http://example.com/directory/subdirectory',
+// set $a->path to 'directory/subdirectory'. 
+
+$a->path = '{{$urlpath}}';
+// Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
+// It can be changed later and only applies to timestamps for anonymous viewers.
+
+$default_timezone = '{{$timezone}}';
+
+// What is your site name?
+
+$a->config['sitename'] = "La Mia Rete di Amici";
+
+// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
+// Be certain to create your own personal account before setting 
+// REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on 
+// the registration page. REGISTER_APPROVE requires you set 'admin_email'
+// to the email address of an already registered person who can authorise
+// and/or approve/deny the request.
+
+$a->config['register_policy'] = REGISTER_OPEN;
+$a->config['register_text'] = '';
+$a->config['admin_email'] = '{{$adminmail}}';
+
+// Maximum size of an imported message, 0 is unlimited
+
+$a->config['max_import_size'] = 200000;
+
+// maximum size of uploaded photos
+
+$a->config['system']['maximagesize'] = 800000;
+
+// Location of PHP command line processor
+
+$a->config['php_path'] = '{{$phpath}}';
+
+// Location of global directory submission page.
+
+$a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
+$a->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search=';
+
+// PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
+
+$a->config['system']['huburl'] = 'http://pubsubhubbub.appspot.com';
+
+// Server-to-server private message encryption (RINO) is allowed by default. 
+// Encryption will only be provided if this setting is true and the
+// PHP mcrypt extension is installed on both systems 
+
+$a->config['system']['rino_encrypt'] = true;
+
+// default system theme
+
+$a->config['system']['theme'] = 'duepuntozero';
+
diff --git a/view/es/smarty3/intro_complete_eml.tpl b/view/es/smarty3/intro_complete_eml.tpl
new file mode 100644 (file)
index 0000000..3add926
--- /dev/null
@@ -0,0 +1,21 @@
+
+Estimado/a {{$username}},
+
+       '{{$fn}}' en '{{$dfrn_url}}' ha aceptado tu petición
+conexión a '{{$sitename}}'.
+
+       '{{$fn}}' ha optado por aceptarte come "fan", que restringe ciertas 
+formas de comunicación, como mensajes privados y algunas interacciones 
+con el perfil. Si eres una "celebridad" o una página de comunidad, 
+estos ajustes se aplican automáticamente 
+
+       '{{$fn}}' puede optar por extender esto en una relación más permisiva
+en el futuro.
+
+       Empezarás a recibir las actualizaciones públicas de estado de '{{$fn}}', 
+que aparecerán en tu página "Red" en
+
+{{$siteurl}}
+
+
+       {{$sitename}}
diff --git a/view/es/smarty3/lostpass_eml.tpl b/view/es/smarty3/lostpass_eml.tpl
new file mode 100644 (file)
index 0000000..41545bf
--- /dev/null
@@ -0,0 +1,34 @@
+
+Estimado/a {{$username}},
+       
+       Se ha recibido una solicitud en {{$sitename}} recientemente para restablecer
+tu contraseña. Para confirmar esta solicitud, por favor seleccione el enlace de
+verificación debajo o cópialo y pégalo en la barra de direcciones de tu navegador.
+
+Se NO has solicitado este cambio, por favor NO sigas el enlace indicado e ignora
+y/o elimina este mensaje.
+
+Tu contraseña no se cambiará a menos que podamos verificar que eres tu quien
+emitió esta solicitud.
+
+Sigue este enlace para verificar tu identidad:
+
+{{$reset_link}}
+
+A continuación recibirás un mensaje con la nueva contraseña.
+
+Despues de accceder, podrás cambiar la contraseña de tu cuenta en la página de 
+configuración.
+
+Los datos de acceso son los siguientes:
+
+Sitio: {{$siteurl}}
+Nombre:        {{$email}}
+
+
+
+
+Saludos,
+       La administración de {{$sitename}}
+
diff --git a/view/es/smarty3/mail_received_html_body_eml.tpl b/view/es/smarty3/mail_received_html_body_eml.tpl
new file mode 100644 (file)
index 0000000..4f80df2
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
+<html>
+<head>
+       <title>Mensaje de Friendica</title>
+       <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+</head>
+<body>
+<table style="border:1px solid #ccc">
+       <tbody>
+       <tr><td colspan="2" style="background:#3b5998; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px;" src='{{$siteurl}}/images/friendica-32.png'><span style="padding:7px;">Friendica</span></td></tr>
+
+       <tr><td style="padding-top:22px;" colspan="2">Has recibido un nuevo mensaje privado de '{{$from}}' en {{$siteName}}.</td></tr>
+
+
+       <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$url}}"><img style="border:0px;width:48px;height:48px;" src="{{$thumb}}"></a></td>
+               <td style="padding-top:22px;"><a href="{{$url}}">{{$from}}</a></td></tr>
+       <tr><td style="font-weight:bold;padding-bottom:5px;">{{$title}}</td></tr>
+       <tr><td style="padding-right:22px;">{{$htmlversion}}</td></tr>
+       <tr><td style="padding-top:11px;padding-bottom:11px;" colspan="2">Accede a <a href="{{$siteurl}}">{{$siteurl}}</a> para leer y responder a tus mensajes privados.</td></tr>
+       <tr><td></td><td>{{$siteName}}</td></tr>
+       </tbody>
+</table>
+</body>
+</html>
diff --git a/view/es/smarty3/mail_received_text_body_eml.tpl b/view/es/smarty3/mail_received_text_body_eml.tpl
new file mode 100644 (file)
index 0000000..22b77b7
--- /dev/null
@@ -0,0 +1,9 @@
+Has recibido un nuevo mensaje privado de '{{$from}}' en {{$siteName}}.
+       
+{{$title}}
+
+{{$textversion}}
+                               
+Accede a {{$siteurl}} para leer y responder a tus mensajes privados.
+
+       {{$siteName}}
diff --git a/view/es/smarty3/passchanged_eml.tpl b/view/es/smarty3/passchanged_eml.tpl
new file mode 100644 (file)
index 0000000..eb93eb3
--- /dev/null
@@ -0,0 +1,19 @@
+
+Estimado/a {{$username}},
+
+    Tu contraseña ha sido modificada como has solicitado. Anota esta información
+(o cambia inmediatamente la contraseña con algo que recuerdes).
+
+
+Tus datos de acceso son los siguientes:
+
+Sitio: {{$siteurl}}
+Nombre:        {{$email}}
+Contraseña:   {{$new_password}}
+
+Después de acceder puedes cambiar la contraseña desde la página de configuración de tu perfil.
+
+
+       {{$sitename}}
+
diff --git a/view/es/smarty3/register_open_eml.tpl b/view/es/smarty3/register_open_eml.tpl
new file mode 100644 (file)
index 0000000..c65b134
--- /dev/null
@@ -0,0 +1,21 @@
+
+Estimado/a {{$username}},
+
+    Gracias por registrarte en {{$sitename}}. Tu cuenta ha sido creada.
+
+
+Los datos de acceso son los siguientes:
+
+Sitio: {{$siteurl}}
+Nombre:        {{$email}}
+Contraseña:   {{$password}}
+
+
+Después de acceder puedes cambiar tu contraseña en la página de "Configuración".
+
+Toma un momento para revisar las otras configuraciones de la cuenta en esa página.
+
+
+Gracias y bienvenido/a {{$sitename}}.
+
diff --git a/view/es/smarty3/register_verify_eml.tpl b/view/es/smarty3/register_verify_eml.tpl
new file mode 100644 (file)
index 0000000..10c3586
--- /dev/null
@@ -0,0 +1,22 @@
+
+Se ha recibido la solicitud de registro de un nuevo usuario en
+{{$sitename}} que requiere tu aprobación.
+
+Los datos de acceso son los siguientes:
+
+Nombre Completo:       {{$username}}
+Sitio: {{$siteurl}}
+Nombre:        {{$email}}
+
+
+Para aprobar esta solicitud, visita el siguiente enlace:
+
+{{$siteurl}}/regmod/allow/{{$hash}} 
+
+Para denegar la solicitud y eliminar la cuenta, por favor visita:
+
+{{$siteurl}}/regmod/deny/{{$hash}}
+
+
+Gracias.
+
diff --git a/view/es/smarty3/request_notify_eml.tpl b/view/es/smarty3/request_notify_eml.tpl
new file mode 100644 (file)
index 0000000..cb787a8
--- /dev/null
@@ -0,0 +1,13 @@
+
+Estimado/a {{$myname}},
+
+Acabas de recibir una solicitud de conexión de '{{$requestor}}' en {{$sitename}}.
+
+Puedes visitar su perfil en {{$url}}.
+
+Accede a tu sitio para ver la presentación completa y aceptar o ignorar/cancelar la solicitud.
+
+{{$siteurl}}
+
+
+       {{$sitename}}
diff --git a/view/es/smarty3/wall_received_eml.tpl b/view/es/smarty3/wall_received_eml.tpl
new file mode 100644 (file)
index 0000000..8f495d9
--- /dev/null
@@ -0,0 +1,18 @@
+
+Estimado/a {{$username}},
+
+       '{{$from}}' ha escrito algo en el muro de tu perfil.
+
+-----
+{{$body}}
+-----
+
+Accede a  {{$siteurl}} para ver o borrar el elemento:
+
+{{$display}}
+
+
+       {{$sitename}}
+
+
index 35f5afd39cad089d2a48616bef96eda44295b401..6119ccf22ba394179854d862412cb9901e1c7268 100644 (file)
@@ -1,4 +1,4 @@
 
  {{ if $field.0==select }}
- {{ inc field_select.tpl }}{{ endinc }}
+ {{ inc $field_select }}{{ endinc }}
  {{ endif }}
index ae837d6b744d493f1112ddd6843c0a82c1a182c1..f7a253ba50b20e8ff4285facf30b00bf579f75a9 100644 (file)
@@ -1,4 +1,4 @@
-{{ inc field_combobox.tpl }}{{ endinc }}
+{{ inc $field_combobox }}{{ endinc }}
 <div class="settings-submit-wrapper" >
        <input id="filer_save" type="button" class="settings-submit" value="$submit" />
 </div>
diff --git a/view/fr/smarty3/cmnt_received_eml.tpl b/view/fr/smarty3/cmnt_received_eml.tpl
new file mode 100644 (file)
index 0000000..bd7c441
--- /dev/null
@@ -0,0 +1,18 @@
+
+Cher(e) {{$username}},
+
+       « {{$from}} » a commenté un élément ou une conversation que vous suivez.
+
+-----
+{{$body}}
+-----
+
+Connectez-vous à {{$siteurl}} si vous souhaitez voir la conversation complète :
+
+{{$display}}
+
+Merci,
+       L'administrateur de {{$sitename}}
+
+
diff --git a/view/fr/smarty3/cmnt_received_html_body_eml.tpl b/view/fr/smarty3/cmnt_received_html_body_eml.tpl
new file mode 100644 (file)
index 0000000..408b643
--- /dev/null
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
+<html>
+<head>
+       <title>Message de Friendica</title>
+       <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+</head>
+<body>
+<table style="border:1px solid #ccc">
+       <tbody>
+       <tr><td colspan="2" style="background:#3b5998; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px;" src='{{$siteurl}}/images/friendica-32.png'><span style="padding:7px;">Friendica</span></td></tr>
+
+       <tr><td style="padding-top:22px;" colspan="2">{{$from}} a commenté un élément ou une conversation que vous suivez.</td></tr>
+
+
+       <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$url}}"><img style="border:0px;width:48px;height:48px;" src="{{$thumb}}"></a></td>
+               <td style="padding-top:22px;"><a href="{{$url}}">{{$from}}</a></td></tr>
+       <tr><td style="padding-bottom:5px;"></td></tr>
+       <tr><td style="padding-right:22px;">{{$body}}</td></tr>
+       <tr><td style="padding-top:11px;padding-bottom:11px;" colspan="2"><a href="{{$display}}">Connectez-vous à {{$siteurl}} si vous souhaitez voir la conversation complète</a></td></tr>
+       <tr><td></td><td>Merci,</td></tr>
+       <tr><td></td><td>L'administrateur de {{$sitename}}</td></tr>
+       </tbody>
+</table>
+</body>
+</html>
\ No newline at end of file
diff --git a/view/fr/smarty3/cmnt_received_text_body_eml.tpl b/view/fr/smarty3/cmnt_received_text_body_eml.tpl
new file mode 100644 (file)
index 0000000..7682847
--- /dev/null
@@ -0,0 +1,15 @@
+
+Cher(e) {{$username}},
+
+       « {{$from}} » a commenté un élé\8ement ou une conversation que vous suivez.
+
+-----
+{{$body}}
+-----
+
+Connectez-vous à {{$siteurl}} si vous souhaitez voir la conversation complète :
+
+{{$display}}
+
+Merci,
+       L'administrateur de {{$sitename}}
\ No newline at end of file
diff --git a/view/fr/smarty3/follow_notify_eml.tpl b/view/fr/smarty3/follow_notify_eml.tpl
new file mode 100644 (file)
index 0000000..05fec41
--- /dev/null
@@ -0,0 +1,14 @@
+
+Cher(e) {{$myname}},
+
+Une nouvelle personne - {{$requestor}} - vous suit désormais sur {{$sitename}}.
+
+Vous pouvez consulter son profil sur {{$url}}.
+
+Merci de vous connecter à votre site pour approuver ou ignorer/annuler cette demande.
+
+{{$siteurl}}
+
+Cordialement,
+
+       l'administrateur de {{$sitename}}
diff --git a/view/fr/smarty3/friend_complete_eml.tpl b/view/fr/smarty3/friend_complete_eml.tpl
new file mode 100644 (file)
index 0000000..e0c0078
--- /dev/null
@@ -0,0 +1,23 @@
+
+Cher(e) {{$username}},
+
+       Grande nouvelle… « {{$fn}} » (de « {{$dfrn_url}} ») a accepté votre 
+demande de connexion à « {{$sitename}} ».
+
+Vous êtes désormais dans une relation réciproque et pouvez échanger des 
+photos, des humeurs et des messages sans restriction.
+
+Merci de visiter votre page « Contacts » sur {{$sitename}} pour toute 
+modification que vous souhaiteriez apporter à cette relation.
+
+{{$siteurl}}
+
+[Par exemple, vous pouvez créer un profil spécifique avec des informations
+cachées au grand public - et ainsi assigner des droits privilégiés à 
+« {{$fn}} »]/
+
+Sincèremment,
+
+       l'administrateur de {{$sitename}}
+
diff --git a/view/fr/smarty3/htconfig.tpl b/view/fr/smarty3/htconfig.tpl
new file mode 100644 (file)
index 0000000..75d6a77
--- /dev/null
@@ -0,0 +1,68 @@
+<?php
+
+// Set the following for your MySQL installation
+// Copy or rename this file to .htconfig.php
+
+$db_host = '{{$dbhost}}';
+$db_user = '{{$dbuser}}';
+$db_pass = '{{$dbpass}}';
+$db_data = '{{$dbdata}}';
+
+// If you are using a subdirectory of your domain you will need to put the
+// relative path (from the root of your domain) here.
+// For instance if your URL is 'http://example.com/directory/subdirectory',
+// set $a->path to 'directory/subdirectory'. 
+
+$a->path = '{{$urlpath}}';
+// Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
+// It can be changed later and only applies to timestamps for anonymous viewers.
+
+$default_timezone = '{{$timezone}}';
+
+// What is your site name?
+
+$a->config['sitename'] = "My Friend Network";
+
+// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
+// Be certain to create your own personal account before setting 
+// REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on 
+// the registration page. REGISTER_APPROVE requires you set 'admin_email'
+// to the email address of an already registered person who can authorise
+// and/or approve/deny the request.
+
+$a->config['register_policy'] = REGISTER_OPEN;
+$a->config['register_text'] = '';
+$a->config['admin_email'] = '{{$adminmail}}';
+
+// Maximum size of an imported message, 0 is unlimited
+
+$a->config['max_import_size'] = 200000;
+
+// maximum size of uploaded photos
+
+$a->config['system']['maximagesize'] = 800000;
+
+// Location of PHP command line processor
+
+$a->config['php_path'] = '{{$phpath}}';
+
+// Location of global directory submission page.
+
+$a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
+$a->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search=';
+
+// PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
+
+$a->config['system']['huburl'] = 'http://pubsubhubbub.appspot.com';
+
+// Server-to-server private message encryption (RINO) is allowed by default. 
+// Encryption will only be provided if this setting is true and the
+// PHP mcrypt extension is installed on both systems 
+
+$a->config['system']['rino_encrypt'] = true;
+
+// default system theme
+
+$a->config['system']['theme'] = 'duepuntozero';
+
diff --git a/view/fr/smarty3/intro_complete_eml.tpl b/view/fr/smarty3/intro_complete_eml.tpl
new file mode 100644 (file)
index 0000000..e3ca253
--- /dev/null
@@ -0,0 +1,22 @@
+
+Cher(e) {{$username}},
+
+       « {{$fn}} » du site « {{$dfrn_url}} » a accepté votre
+demande de mise en relation sur « {{$sitename}} ».
+
+       « {{$fn}} » a décidé de vous accepter comme « fan », ce qui restreint
+certains de vos moyens de communication - tels que les messages privés et
+certaines interactions avec son profil. S'il s'agit de la page d'une
+célébrité et/ou communauté, ces réglages ont été définis automatiquement.
+
+       « {{$fn}} » pourra choisir d'étendre votre relation à quelque chose de 
+plus permissif dans l'avenir.
+
+       Vous allez commencer à recevoir les mises à jour publiques du 
+statut de « {{$fn}} », lesquelles apparaîtront sur votre page « Réseau » sur
+
+{{$siteurl}}
+
+Sincèrement votre,
+
+       l'administrateur de {{$sitename}}
diff --git a/view/fr/smarty3/lostpass_eml.tpl b/view/fr/smarty3/lostpass_eml.tpl
new file mode 100644 (file)
index 0000000..0674e08
--- /dev/null
@@ -0,0 +1,34 @@
+
+Cher(e) {{$username}},
+
+       Nous avons récemment reçu, chez {{$sitename}}, une demande de remise
+à zéro du mot de passe protégeant votre compte. Pour confirmer cette 
+demande, merci de cliquer sur le lien de vérification suivant, ou de le
+coller dans la barre d'adresse de votre navigateur web.
+
+Si vous n'êtes PAS à l'origine de cette demande, merci de NE PAS suivre
+le lien en question, et d'ignorer/supprimer ce courriel.
+
+Votre mot de passe ne sera réinitialisé qu'une fois que nous aurons pu
+nous assurer que vous êtes bien à l'origine de cette demande.
+
+Merci de suivre le lien suivant pour confirmer votre identité :
+
+{{$reset_link}}
+
+Vous recevrez en retour un message avec votre nouveau mot de passe.
+
+Vous pourrez ensuite changer ce mot de passe, après connexion, dans la 
+page des réglages du compte.
+
+Les informations du compte concerné sont :
+
+Site :                 {{$siteurl}}
+Pseudo/Courriel :      {{$email}}
+
+
+
+Sincèrement votre,
+       l'administrateur de {{$sitename}}
+
diff --git a/view/fr/smarty3/mail_received_html_body_eml.tpl b/view/fr/smarty3/mail_received_html_body_eml.tpl
new file mode 100644 (file)
index 0000000..cf1c286
--- /dev/null
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
+<html>
+<head>
+       <title>Message de Friendica</title>
+       <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+</head>
+<body>
+<table style="border:1px solid #ccc">
+       <tbody>
+       <tr><td colspan="2" style="background:#3b5998; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px;" src='{{$siteurl}}/images/friendica-32.png'><span style="padding:7px;">Friendica</span></td></tr>
+
+       <tr><td style="padding-top:22px;" colspan="2">{{$from}} vous a envoyé un message à {{$siteName}}.</td></tr>
+
+
+       <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$url}}"><img style="border:0px;width:48px;height:48px;" src="{{$thumb}}"></a></td>
+               <td style="padding-top:22px;"><a href="{{$url}}">{{$from}}</a></td></tr>
+       <tr><td style="font-weight:bold;padding-bottom:5px;">{{$title}}</td></tr>
+       <tr><td style="padding-right:22px;">{{$htmlversion}}</td></tr>
+       <tr><td style="padding-top:11px;padding-bottom:11px;" colspan="2">Veuillez Ouvrir une session sur <a href="{{$siteurl}}">{{$siteurl}}</a> pour lire et répondre à vos messages privés.</td></tr>
+       <tr><td></td><td>Merci,</td></tr>
+       <tr><td></td><td>{{$siteName}} Administrateur</td></tr>
+       </tbody>
+</table>
+</body>
+</html>
diff --git a/view/fr/smarty3/mail_received_text_body_eml.tpl b/view/fr/smarty3/mail_received_text_body_eml.tpl
new file mode 100644 (file)
index 0000000..71c545e
--- /dev/null
@@ -0,0 +1,10 @@
+{{$from}} vous a envoyé un message à {{$siteName}}.
+       
+{{$title}}
+
+{{$textversion}}
+
+Veuillez ouvrir une session sur {{$siteurl}} pour lire et répondre à vos messages privés.
+
+Merci,
+{{$siteName}} Administrateur
diff --git a/view/fr/smarty3/passchanged_eml.tpl b/view/fr/smarty3/passchanged_eml.tpl
new file mode 100644 (file)
index 0000000..28eed70
--- /dev/null
@@ -0,0 +1,20 @@
+
+Cher(e) {{$username}},
+
+       Votre mot de passe a été modifié comme demandé. Merci de conserver
+cette information pour un usage ultérieur (ou bien de changer votre mot de 
+passe immédiatement en quelque chose dont vous vous souviendrez).
+
+Vos informations de connexion sont désormais :
+
+Site :                 {{$siteurl}}
+Pseudo/Courriel :      {{$email}}
+Mot de passe :         {{$new_password}}
+
+Vous pouvez changer ce mot de passe depuis la page des « réglages » de votre compte, 
+après connexion
+
+Sincèrement votre,
+       l'administrateur de {{$sitename}}
+
diff --git a/view/fr/smarty3/register_open_eml.tpl b/view/fr/smarty3/register_open_eml.tpl
new file mode 100644 (file)
index 0000000..373f314
--- /dev/null
@@ -0,0 +1,22 @@
+
+Cher(e) {{$username}},
+
+       Merci de votre inscription à {{$sitename}}. Votre compte a été créé.
+Les informations de connexion sont les suivantes :
+
+Site :                 {{$siteurl}}
+Pseudo/Courriel :      {{$email}}
+Mot de passe :         {{$password}}
+
+Vous pouvez changer de mot de passe dans la page des « Réglages » de votre compte,
+après connexion.
+
+Merci de prendre quelques minutes pour découvrir les autres réglages disponibles
+sur cette page.
+
+Merci, et bienvenue sur {{$sitename}}.
+
+Sincèrement votre,
+       l'administrateur de {{$sitename}}
+
diff --git a/view/fr/smarty3/register_verify_eml.tpl b/view/fr/smarty3/register_verify_eml.tpl
new file mode 100644 (file)
index 0000000..22b6d8a
--- /dev/null
@@ -0,0 +1,27 @@
+
+Une nouvelle demande d'inscription a été reçue sur {{$sitename}}, et elle
+nécessite votre approbation.
+
+
+Les informations de connexion sont les suivantes :
+
+Nom complet :          {{$username}}
+Site :                 {{$siteurl}}
+Pseudo/Courriel :      {{$email}}
+
+
+Pour approuver cette demande, merci de suivre le lien :
+
+
+{{$siteurl}}/regmod/allow/{{$hash}}
+
+
+Pour rejeter cette demande et supprimer le compte associé, 
+merci de suivre le lien :
+
+
+{{$siteurl}}/regmod/deny/{{$hash}}
+
+
+En vous remerçiant.
+
diff --git a/view/fr/smarty3/request_notify_eml.tpl b/view/fr/smarty3/request_notify_eml.tpl
new file mode 100644 (file)
index 0000000..3f5f8a1
--- /dev/null
@@ -0,0 +1,17 @@
+
+Cher(e) {{$myname}},
+
+Vous venez de recevoir une demande de mise en relation sur {{$sitename}}
+
+venant de « {{$requestor}} ».
+
+Vous pouvez visiter son profil sur {{$url}}.
+
+Vous pouvez vous connecter à votre site pour voir la demande
+complète et l'approuver ou l'ignorer/annuler.
+
+{{$siteurl}}
+
+Cordialement,
+
+       l'administrateur de {{$sitename}}
diff --git a/view/fr/smarty3/wall_received_eml.tpl b/view/fr/smarty3/wall_received_eml.tpl
new file mode 100644 (file)
index 0000000..991fad8
--- /dev/null
@@ -0,0 +1,18 @@
+
+Cher(e) {{$username}},
+
+       « {{$from}} » a posté quelque chose sur le mur de votre profil.
+
+-----
+{{$body}}
+-----
+
+Connectez-vous à {{$siteurl}} pour voir et/ou supprimer l'élément :
+
+{{$display}}
+
+Merci,
+       l'administrateur de {{$sitename}}
+
+
index 2fa2b1a552a0a470a792057af020094accc22b55..d60a1b0f97a6c1ff616ddefdf6a9864c9643884c 100644 (file)
@@ -5,7 +5,7 @@
        <form action="group/$gid" id="group-edit-form" method="post" >
                <input type='hidden' name='form_security_token' value='$form_security_token'>
                
-               {{ inc field_input.tpl with $field=$gname }}{{ endinc }}
+               {{ inc $field_input with $field=$gname }}{{ endinc }}
                {{ if $drop }}$drop{{ endif }}
                <div id="group-edit-submit-wrapper" >
                        <input type="submit" name="submit" value="$submit" >
@@ -15,9 +15,9 @@
 </div>
 
 
-{{ if $groupeditor }}
+{{ if $groupedit_info }}
        <div id="group-update-wrapper">
-               {{ inc groupeditor.tpl }}{{ endinc }}
+               {{ inc $groupeditortpl with $groupeditor=$groupedit_info }}{{ endinc }}
        </div>
 {{ endif }}
 {{ if $desc }}<div id="group-edit-desc">$desc</div>{{ endif }}
index 176611d4bef27471ecb7de3d02ba23cf7c084cec..a3aa2b2660628a4e1e9260a47f1b231f6cf9c623 100644 (file)
@@ -3,7 +3,7 @@
 <form  action="$baseurl/index.php?q=install" method="post">
 <table>
 {{ for $checks as $check }}
-       <tr><td>$check.title </td><td><span class="icon s22 {{if $check.status}}on{{else}}{{if$check.required}}off{{else}}yellow{{endif}}{{endif}}"></td><td>{{if $check.required}}(required){{endif}}</td></tr>
+       <tr><td>$check.title </td><td><span class="icon s22 {{if $check.status}}on{{else}}{{if $check.required}}off{{else}}yellow{{endif}}{{endif}}"></td><td>{{if $check.required}}(required){{endif}}</td></tr>
        {{if $check.help }}
        <tr><td colspan="3"><blockquote>$check.help</blockquote></td></tr>
        {{endif}}
index 1302b5a708a18ba8a0386782438c4bbf9a76268b..bf17256ebf84c3130196b36d73afd22960ec8087 100644 (file)
@@ -18,10 +18,10 @@ $info_03
 <input type="hidden" name="phpath" value="$phpath" />
 <input type="hidden" name="pass" value="3" />
 
-{{ inc field_input.tpl with $field=$dbhost }}{{endinc}}
-{{ inc field_input.tpl with $field=$dbuser }}{{endinc}}
-{{ inc field_password.tpl with $field=$dbpass }}{{endinc}}
-{{ inc field_input.tpl with $field=$dbdata }}{{endinc}}
+{{ inc $field_input with $field=$dbhost }}{{endinc}}
+{{ inc $field_input with $field=$dbuser }}{{endinc}}
+{{ inc $field_password with $field=$dbpass }}{{endinc}}
+{{ inc $field_input with $field=$dbdata }}{{endinc}}
 
 
 <input id="install-submit" type="submit" name="submit" value="$submit" /> 
index 05b87f904e72ad363160e0b9bbe8d43dba991d89..453e2e5cc3fb7566d20bc7e89c7b1e0623f12196 100644 (file)
@@ -16,7 +16,7 @@
 <input type="hidden" name="dbdata" value="$dbdata" />
 <input type="hidden" name="pass" value="4" />
 
-{{ inc field_input.tpl with $field=$adminmail }}{{endinc}}
+{{ inc $field_input with $field=$adminmail }}{{endinc}}
 $timezone
 
 <input id="install-submit" type="submit" name="submit" value="$submit" /> 
index e7fd53ca4f7504e3791aabb3b1e69e95a3788852..2dd684079d3dbf74be908937478b4dea102c8491 100644 (file)
@@ -14,8 +14,8 @@
 <div class="intro-form-end"></div>
 
 <form class="intro-approve-form" action="dfrn_confirm" method="post">
-{{inc field_checkbox.tpl with $field=$hidden }}{{endinc}}
-{{inc field_checkbox.tpl with $field=$activity }}{{endinc}}
+{{inc $field_checkbox with $field=$hidden }}{{endinc}}
+{{inc $field_checkbox with $field=$activity }}{{endinc}}
 <input type="hidden" name="dfrn_id" value="$dfrn_id" >
 <input type="hidden" name="intro_id" value="$intro_id" >
 <input type="hidden" name="contact_id" value="$contact_id" >
diff --git a/view/is/smarty3/follow_notify_eml.tpl b/view/is/smarty3/follow_notify_eml.tpl
new file mode 100644 (file)
index 0000000..127f05a
--- /dev/null
@@ -0,0 +1,14 @@
+
+Góðan daginn {{$myname}},
+
+Þú hefur nýjan aðdáanda frá {{$sitename}} - '{{$requestor}}'.
+
+Þú getur heimsótt þeirra heimasvæði á {{$url}}.
+
+Vinsamlegast innskráðu þig til að samþykkja eða hunsa/hætta við beiðni.
+
+{{$siteurl}}
+
+Bestu kveðjur,
+
+       Kerfisstjóri {{$sitename}}
\ No newline at end of file
diff --git a/view/is/smarty3/friend_complete_eml.tpl b/view/is/smarty3/friend_complete_eml.tpl
new file mode 100644 (file)
index 0000000..1bc4402
--- /dev/null
@@ -0,0 +1,22 @@
+
+Góðan daginn {{$username}}, 
+
+       Frábærar fréttir... '{{$fn}}' hjá '{{$dfrn_url}}' hefur samþykkt 
+tengibeiðni þína hjá '{{$sitename}}'.
+
+Þið eruð nú sameiginlegir vinir og getið skipst á stöðu uppfærslum, myndum og tölvupósti
+án hafta.
+
+Endilega fara á síðunna 'Tengiliðir' á þjóninum {{$sitename}} ef þú villt gera 
+einhverjar breytingar á þessu sambandi. 
+
+{{$siteurl}}
+
+[Til dæmis þá getur þú búið til nýjar notenda upplýsingar um þig, með ítarlegri lýsingu, sem eiga ekki
+að vera aðgengileg almenningi - og veitt aðgang til að sjá '{{$fn}}'].
+
+Bestu kveðjur,
+
+       Kerfisstjóri {{$sitename}}
+
\ No newline at end of file
diff --git a/view/is/smarty3/intro_complete_eml.tpl b/view/is/smarty3/intro_complete_eml.tpl
new file mode 100644 (file)
index 0000000..bbf86cf
--- /dev/null
@@ -0,0 +1,22 @@
+
+Góðan daginn {{$username}},
+
+       '{{$fn}}' hjá '{{$dfrn_url}}' hefur samþykkt 
+tengibeiðni þína á '{{$sitename}}'.
+
+       '{{$fn}}' hefur ákveðið að hafa þig sem "aðdáanda", sem takmarkar 
+ákveðnar gerðir af samskipturm - til dæmis einkapóst og ákveðnar notenda
+aðgerðir.  Ef þetta er stjörnu- eða  hópasíða, þá voru þessar stillingar
+settar á sjálfkrafa.
+
+       '{{$fn}}' getur ákveðið seinna að breyta þessu í gagnkvæma eða enn hafta minni  
+tengingu í framtíðinni. 
+
+       Þú munt byrja að fá opinberar stöðubreytingar frá '{{$fn}}', 
+þær munu birtast á 'Tengslanet' síðunni þinni á  
+
+{{$siteurl}}
+
+Bestu kveðjur,
+
+       Kerfisstjóri {{$sitename}}
\ No newline at end of file
diff --git a/view/is/smarty3/lostpass_eml.tpl b/view/is/smarty3/lostpass_eml.tpl
new file mode 100644 (file)
index 0000000..d2010ac
--- /dev/null
@@ -0,0 +1,32 @@
+
+Góðan dag {{$username}},
+       Beiðni barst á {{$sitename}} um að endursetja 
+aðgangsorðið.  Til að staðfesta þessa beiði, veldu slóðina
+hér fyrir neðan og settu í slóðastiku vafra. 
+
+Ef þú samþykkir ekki þessa breytingu, EKKI fara á slóðina
+sem upp er gefinn heldur hunsaðu og/eða eyddu þessum tölvupósti. 
+
+Aðgangsorðið verður ekki breytt nama við getum staðfest að þú
+baðst um þessa breytingu. 
+
+Farðu á slóðina til að staðfesta:
+
+{{$reset_link}}
+
+Þú munnt fá annan tölvupóst með nýja aðgangsorðinu.
+
+Þú getur síðan breytt því aðgangsorði í stillingar síðunni eftir að þú innskráir þig. 
+
+Innskráningar upplýsingarnar eru eftirfarandi:
+
+Vefþjónn:    {{$siteurl}}
+Notendanafn:   {{$email}}
+
+
+
+
+Bestu kveðjur,
+       Kerfisstjóri {{$sitename}}
+
\ No newline at end of file
diff --git a/view/is/smarty3/passchanged_eml.tpl b/view/is/smarty3/passchanged_eml.tpl
new file mode 100644 (file)
index 0000000..c195512
--- /dev/null
@@ -0,0 +1,20 @@
+
+Góðan daginn {{$username}},
+       Lykilorð þínu hefur verið breytt einsog umbeðið var.  Endilega geyma þessar 
+upplýsingar (eða skiptu strax um aðgangsorð 
+yfir í eitthvað sem þú mannst).
+
+
+Innskráningar upplýsingar þínar eru:
+
+Vefþjónn:    {{$siteurl}}
+Notendanafn:   {{$email}}
+Aðgangsorð:  {{$new_password}}
+
+Þú getur breytt um aðgangsorð á stillingar síðunni eftir að þú hefur innskráð þig.
+
+
+Bestu kveðjur,
+       Kerfisstjóri {{$sitename}}
+
\ No newline at end of file
diff --git a/view/is/smarty3/register_open_eml.tpl b/view/is/smarty3/register_open_eml.tpl
new file mode 100644 (file)
index 0000000..0673224
--- /dev/null
@@ -0,0 +1,34 @@
+
+Góðan daginn {{$username}},
+       Takk fyrir að skrá þig á {{$sitename}}. Notandinn þinn hefur verið stofnaður. 
+Innskráningar upplýsingarnar þínar eru eftirfarandi:
+
+
+Vefþjónn:    {{$siteurl}}
+Notendanafn:   {{$email}}
+Aðgangsorð:  {{$password}}
+
+Þú getur breytt aðgangsorðinu þínu á "Stillingar" síðunni eftir að þú hefur skráð þig 
+inn.
+
+Endilega eyddu smá tíma í að yfirfara aðrar notenda stillingar á þeirri síðu.
+
+Einnig gætir þú bætt við grunnupplýsingum á sjálfgefna prófílinn 
+(á "Forsíður" síðunni) svo aðrið geti auðveldlega fundið þig.
+
+Við mælum með að þú setjir fullt nafn, bætir við prófíl mynd,
+bætir nokkrum "leitarorðum" (mjög gagnlegt við að eignast nýja vini) og 
+mögulega bætir við í hvaða landi þú býrð, ef þú villt ekki vera nákvæmari
+en það.
+
+Við virðum að fullu rétt þinn til einkalífs, því er ekkert að þessum atriðum skilyrði. 
+Ef þú ert byrjandi og þekkir ekki einhvern hér, þér eru hér fólk
+sem getur aðstoðað þig við að eignast nýja og áhugaverða vini.  
+
+
+Takk fyrir og velkomin(n) á {{$sitename}}.
+
+Bestu kveðjur,
+       Kerfisstjóri {{$sitename}}
+
\ No newline at end of file
diff --git a/view/is/smarty3/register_verify_eml.tpl b/view/is/smarty3/register_verify_eml.tpl
new file mode 100644 (file)
index 0000000..cf6362c
--- /dev/null
@@ -0,0 +1,25 @@
+
+Beiðni um nýjan notanda barst {{$sitename}} sem krefst 
+þíns samþykkis. 
+
+
+Innskráningar upplýsingarnar eru eftirfarandi:
+
+Fullt nafn:    {{$username}}
+Vefþjónn:    {{$siteurl}}
+Notendanafn:   {{$email}}
+
+
+Til að samþykkja beiðnina þarf að heimsækja eftirfarandi slóð:
+
+
+{{$siteurl}}/regmod/allow/{{$hash}} 
+
+
+Til að synja beiðni og eyða notanda þá heimsækir þú slóðina:
+
+
+{{$siteurl}}/regmod/deny/{{$hash}}
+
+
+Takk fyrir.
diff --git a/view/is/smarty3/request_notify_eml.tpl b/view/is/smarty3/request_notify_eml.tpl
new file mode 100644 (file)
index 0000000..36d8f21
--- /dev/null
@@ -0,0 +1,17 @@
+
+Góðan dag {{$myname}},
+
+Þér hefur borist beiðni um tengingu á {{$sitename}} 
+
+frá '{{$requestor}}'.
+
+Þú getur heimsótt forsíðuna á {{$url}}.
+
+skráðu þig inn á þína síðu til að skoða alla kynninguna 
+og þar getur þú hunsað/hætt við beiðnina.
+
+{{$siteurl}}
+
+Kveðja,
+
+       Kerfisstjóri {{$sitename}}
\ No newline at end of file
diff --git a/view/is/smarty3/update_fail_eml.tpl b/view/is/smarty3/update_fail_eml.tpl
new file mode 100644 (file)
index 0000000..201f871
--- /dev/null
@@ -0,0 +1,11 @@
+Hæ, \r
+Ég er {{$sitename}}.   \r
+Þróunarteymi friendica gáfu nýlega út uppfærslu {{$update}}, \r
+En þegar ég reyndi að uppfæra, gerist eitthvað hræðilegt.  \r
+Þetta þarf að laga strax og ég get það ekki ein.  Hafðu samband við \r
+þróunarteymi friendica ef þú getur ekki hjálpað mér.  Gagnagrunnurinn minn gæti verið skemmdur \r
+\r
+Villuskilaboðin eru '{{$error}}'.   \r
+\r
+Fyrirgefðu, \r
+þinn friendica þjónn á {{$siteurl}}
\ No newline at end of file
diff --git a/view/it/smarty3/cmnt_received_eml.tpl b/view/it/smarty3/cmnt_received_eml.tpl
new file mode 100644 (file)
index 0000000..f35dc3d
--- /dev/null
@@ -0,0 +1,18 @@
+
+Caro/a {{$username}},
+
+       '{{$from}}' ha commentato un elemeto/conversazione che stai seguendo.
+
+-----
+{{$body}}
+-----
+
+Accedi a {{$siteurl}} per verdere la conversazione completa:
+
+{{$display}}
+
+Grazie,
+       L'amministratore di {{$sitename}}
+
+
diff --git a/view/it/smarty3/cmnt_received_html_body_eml.tpl b/view/it/smarty3/cmnt_received_html_body_eml.tpl
new file mode 100644 (file)
index 0000000..80d6118
--- /dev/null
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
+<html>
+<head>
+       <title>Friendica Messaggio</title>
+       <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+</head>
+<body>
+<table style="border:1px solid #ccc">
+       <tbody>
+       <tr><td colspan="2" style="background:#3b5998; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px;" src='{{$siteurl}}/images/friendica-32.png'><span style="padding:7px;">Friendica</span></td></tr>
+
+       <tr><td style="padding-top:22px;" colspan="2">{{$from}} ha commentato un elemeto/conversazione che stai seguendo.</td></tr>
+
+
+       <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$url}}"><img style="border:0px;width:48px;height:48px;" src="{{$thumb}}"></a></td>
+               <td style="padding-top:22px;"><a href="{{$url}}">{{$from}}</a></td></tr>
+       <tr><td style="padding-bottom:5px;"></td></tr>
+       <tr><td style="padding-right:22px;">{{$body}}</td></tr>
+       <tr><td style="padding-top:11px;padding-bottom:11px;" colspan="2"><a href="{{$display}}">Accedi a {{$siteurl}} per verdere la conversazione completa:</a>.</td></tr>
+       <tr><td></td><td>Grazie,</td></tr>
+       <tr><td></td><td>L'amministratore di {{$sitename}}</td></tr>
+       </tbody>
+</table>
+</body>
+</html>
\ No newline at end of file
diff --git a/view/it/smarty3/cmnt_received_text_body_eml.tpl b/view/it/smarty3/cmnt_received_text_body_eml.tpl
new file mode 100644 (file)
index 0000000..f35dc3d
--- /dev/null
@@ -0,0 +1,18 @@
+
+Caro/a {{$username}},
+
+       '{{$from}}' ha commentato un elemeto/conversazione che stai seguendo.
+
+-----
+{{$body}}
+-----
+
+Accedi a {{$siteurl}} per verdere la conversazione completa:
+
+{{$display}}
+
+Grazie,
+       L'amministratore di {{$sitename}}
+
+
diff --git a/view/it/smarty3/follow_notify_eml.tpl b/view/it/smarty3/follow_notify_eml.tpl
new file mode 100644 (file)
index 0000000..0bfc375
--- /dev/null
@@ -0,0 +1,14 @@
+
+Ciao {{$myname}},
+
+Un nuovo utente ha iniziato a seguirti su {{$sitename}} - '{{$requestor}}'.
+
+Puoi vedere il suo profilo su {{$url}}.
+
+Accedi sul tuo sito per approvare o ignorare la richiesta.
+
+{{$siteurl}}
+
+Saluti,
+
+       L'amministratore di {{$sitename}}
\ No newline at end of file
diff --git a/view/it/smarty3/friend_complete_eml.tpl b/view/it/smarty3/friend_complete_eml.tpl
new file mode 100644 (file)
index 0000000..daeaae9
--- /dev/null
@@ -0,0 +1,22 @@
+
+Ciao {{$username}},
+
+       Ottime notizie... '{{$fn}}' di '{{$dfrn_url}}' ha accettato 
+la tua richiesta di connessione su '{{$sitename}}'.
+
+Adesso siete amici reciproci e potete scambiarvi aggiornamenti di stato, foto ed email
+senza restrizioni.
+
+Vai nella pagina 'Contatti' di {{$sitename}} se vuoi effettuare 
+qualche modifica riguardo questa relazione 
+
+{{$siteurl}}
+
+[Ad esempio, potresti creare un profilo separato con le informazioni che non
+sono disponibili pubblicamente - ed permettere di vederlo a '{{$fn}}'].
+
+Saluti,
+
+       l'amministratore di {{$sitename}}
+
\ No newline at end of file
diff --git a/view/it/smarty3/htconfig.tpl b/view/it/smarty3/htconfig.tpl
new file mode 100644 (file)
index 0000000..5696245
--- /dev/null
@@ -0,0 +1,68 @@
+<?php
+
+// Set the following for your MySQL installation
+// Copy or rename this file to .htconfig.php
+
+$db_host = '{{$dbhost}}';
+$db_user = '{{$dbuser}}';
+$db_pass = '{{$dbpass}}';
+$db_data = '{{$dbdata}}';
+
+// If you are using a subdirectory of your domain you will need to put the
+// relative path (from the root of your domain) here.
+// For instance if your URL is 'http://example.com/directory/subdirectory',
+// set $a->path to 'directory/subdirectory'. 
+
+$a->path = '{{$urlpath}}';
+// Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
+// It can be changed later and only applies to timestamps for anonymous viewers.
+
+$default_timezone = '{{$timezone}}';
+
+// What is your site name?
+
+$a->config['sitename'] = "La Mia Rete di Amici";
+
+// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
+// Be certain to create your own personal account before setting 
+// REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on 
+// the registration page. REGISTER_APPROVE requires you set 'admin_email'
+// to the email address of an already registered person who can authorise
+// and/or approve/deny the request.
+
+$a->config['register_policy'] = REGISTER_OPEN;
+$a->config['register_text'] = '';
+$a->config['admin_email'] = '{{$adminmail}}';
+
+// Maximum size of an imported message, 0 is unlimited
+
+$a->config['max_import_size'] = 200000;
+
+// maximum size of uploaded photos
+
+$a->config['system']['maximagesize'] = 800000;
+
+// Location of PHP command line processor
+
+$a->config['php_path'] = '{{$phpath}}';
+
+// Location of global directory submission page.
+
+$a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
+$a->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search=';
+
+// PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
+
+$a->config['system']['huburl'] = 'http://pubsubhubbub.appspot.com';
+
+// Server-to-server private message encryption (RINO) is allowed by default. 
+// Encryption will only be provided if this setting is true and the
+// PHP mcrypt extension is installed on both systems 
+
+$a->config['system']['rino_encrypt'] = true;
+
+// default system theme
+
+$a->config['system']['theme'] = 'duepuntozero';
+
diff --git a/view/it/smarty3/intro_complete_eml.tpl b/view/it/smarty3/intro_complete_eml.tpl
new file mode 100644 (file)
index 0000000..69fce81
--- /dev/null
@@ -0,0 +1,22 @@
+
+Ciao {{$username}},
+
+       '{{$fn}}' di '{{$dfrn_url}}' ha accettato 
+la tua richiesta di connessione a '{{$sitename}}'.
+
+       '{{$fn}}' ha deciso di accettarti come "fan", il che restringe 
+alcune forme di comunicazione - come i messaggi privati e alcune
+interazioni. Se è la pagina di una persona famosa o di una comunità, queste impostazioni saranno
+applicate automaticamente.
+
+       '{{$fn}}' potrebbe decidere di estendere questa relazione in una comunicazione bidirezionale o ancora più permissiva 
+. 
+
+       Inizierai a ricevere gli aggiornamenti di stato pubblici da '{{$fn}}', 
+che apparirà nella tua pagina 'Rete'  
+
+{{$siteurl}}
+
+Saluti,
+
+       l'amministratore di {{$sitename}}
\ No newline at end of file
diff --git a/view/it/smarty3/lostpass_eml.tpl b/view/it/smarty3/lostpass_eml.tpl
new file mode 100644 (file)
index 0000000..c336cf3
--- /dev/null
@@ -0,0 +1,32 @@
+
+Ciao {{$username}},
+       Su {{$sitename}} è stata ricevuta una richiesta di azzeramento di password per un account. 
+Per confermare la richiesta, clicca sul link di verifica
+qui in fondo oppure copialo nella barra degli indirizzi del tuo browser. 
+
+Se NON hai richiesto l'azzeramento, NON seguire il link
+e ignora e/o cancella questa email. 
+
+La tua password non sarà modificata finché non avremo verificato che
+hai fatto questa richiesta. 
+
+Per verificare la tua identità clicca su:
+
+{{$reset_link}}
+
+Dopo la verifica riceverai un messaggio di risposta con la nuova password.
+
+Potrai cambiare la password dalla pagina delle impostazioni dopo aver effettuato l'accesso.
+
+I dati di accesso sono i seguenti:
+
+Sito:»{{$siteurl}}
+Nome utente:»{{$email}}
+
+
+
+
+Saluti,
+       l'amministratore di {{$sitename}}
+
\ No newline at end of file
diff --git a/view/it/smarty3/mail_received_html_body_eml.tpl b/view/it/smarty3/mail_received_html_body_eml.tpl
new file mode 100644 (file)
index 0000000..f0bf679
--- /dev/null
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
+<html>
+<head>
+       <title>Friendica Messsaggio</title>
+       <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+</head>
+<body>
+<table style="border:1px solid #ccc">
+       <tbody>
+       <tr><td colspan="2" style="background:#3b5998; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px;" src='{{$siteurl}}/images/friendica-32.png'><span style="padding:7px;">Friendica</span></td></tr>
+
+       <tr><td style="padding-top:22px;" colspan="2">Hai ricevuto un nuovo messsaggio privato su {{$siteName}} da '{{$from}}'.</td></tr>
+
+
+       <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$url}}"><img style="border:0px;width:48px;height:48px;" src="{{$thumb}}"></a></td>
+               <td style="padding-top:22px;"><a href="{{$url}}">{{$from}}</a></td></tr>
+       <tr><td style="font-weight:bold;padding-bottom:5px;">{{$title}}</td></tr>
+       <tr><td style="padding-right:22px;">{{$htmlversion}}</td></tr>
+       <tr><td style="padding-top:11px;padding-bottom:11px;" colspan="2">Accedi a <a href="{{$siteurl}}">{{$siteurl}}</a> per leggere e rispondere ai tuoi messaggi privati.</td></tr>
+       <tr><td></td><td>Grazie,</td></tr>
+       <tr><td></td><td>L'amministratore di {{$siteName}}</td></tr>
+       </tbody>
+</table>
+</body>
+</html>
diff --git a/view/it/smarty3/mail_received_text_body_eml.tpl b/view/it/smarty3/mail_received_text_body_eml.tpl
new file mode 100644 (file)
index 0000000..79e133f
--- /dev/null
@@ -0,0 +1,10 @@
+Hai ricevuto un nuovo messsaggio privato su {{$siteName}} da '{{$from}}'.
+       
+{{$title}}
+
+{{$textversion}}
+                               
+Accedi a {{$siteurl}} per leggere e rispondere ai tuoi messaggi privati.
+
+Grazie,
+L'amministratore di {{$siteName}}
diff --git a/view/it/smarty3/passchanged_eml.tpl b/view/it/smarty3/passchanged_eml.tpl
new file mode 100644 (file)
index 0000000..046588e
--- /dev/null
@@ -0,0 +1,20 @@
+
+Ciao {{$username}},
+       La tua password è cambiata come hai richiesto. Conserva queste 
+informazioni (oppure cambia immediatamente la password con 
+qualcosa che ti è più facile ricordare).
+
+
+I tuoi dati di access sono i seguenti:
+
+Sito:»{{$siteurl}}
+Nome utente:»{{$email}}
+Password:»{{$new_password}}
+
+Puoi cambiare la tua password dalla pagina delle impostazioni dopo aver effettuato l'accesso.
+
+
+Saluti,
+       l'amministratore di {{$sitename}}
+
\ No newline at end of file
diff --git a/view/it/smarty3/register_open_eml.tpl b/view/it/smarty3/register_open_eml.tpl
new file mode 100644 (file)
index 0000000..23dcaf2
--- /dev/null
@@ -0,0 +1,34 @@
+
+Ciao {{$username}},
+       Grazie per aver effettuato la registrazione a {{$sitename}}. Il tuo account è stato creato. 
+I dettagli di accesso sono i seguenti
+
+
+Sito:»{{$siteurl}}
+Nome utente:»{{$email}}
+Password:»{{$password}}
+
+Puoi cambiare la tua password dalla pagina "Impostazioni" del tuo profilo dopo aver effettuato l'accesso 
+.
+
+Prenditi un momento per dare un'occhiata alle altre impostazioni del tuo profilo nella stessa pagina.
+
+Potrest voler aggiungere alcune informazioni di base a quelle predefinite del profilo 
+(nella pagina "Profilo") per rendere agli altri più facile trovarti.
+
+Noi raccomandiamo di impostare il tuo nome completo, di aggiungere una foto,
+di aggiungere alcune "parole chiavi" (molto utili per farsi nuovi amici) - e 
+magari il paese dove vivi; se non vuoi essere più dettagliato
+di così.
+
+Noi rispettiamo il tuo diritto alla privacy e nessuna di queste informazioni è indispensabile. 
+Se  ancora non conosci nessuno qui, potrebbe esserti di aiuto
+per farti nuovi e interessanti amici.  
+
+
+Grazie. Siamo contenti di darti il benvenuto su {{$sitename}}
+
+Saluti,
+       l'amministratore di {{$sitename}}
+
\ No newline at end of file
diff --git a/view/it/smarty3/register_verify_eml.tpl b/view/it/smarty3/register_verify_eml.tpl
new file mode 100644 (file)
index 0000000..743370b
--- /dev/null
@@ -0,0 +1,25 @@
+
+Su {{$sitename}} è stata ricevuta una nuova richiesta di registrazione da parte di un utente che richiede 
+la tua approvazione. 
+
+
+I tuoi dati di accesso sono i seguenti:
+
+Nome completo:»{{$username}}
+Sito:»{{$siteurl}}
+Nome utente:»{{$email}}
+
+
+Per approvare questa richiesta clicca su:
+
+
+{{$siteurl}}/regmod/allow/{{$hash}} 
+
+
+Per negare la richiesta e rimuove il profilo, clicca su:
+
+
+{{$siteurl}}/regmod/deny/{{$hash}}
+
+
+Grazie.
diff --git a/view/it/smarty3/request_notify_eml.tpl b/view/it/smarty3/request_notify_eml.tpl
new file mode 100644 (file)
index 0000000..df3a732
--- /dev/null
@@ -0,0 +1,17 @@
+
+Ciao {{$myname}},
+
+Hai appena ricevuto una richiesta di connessione da {{$sitename}} 
+
+da '{{$requestor}}'.
+
+Puoi visitare il suo profilo su {{$url}}.
+
+Accedi al tuo sito per vedere la richiesta completa 
+e approva o ignora/annulla la richiesta.
+
+{{$siteurl}}
+
+Saluti,
+
+       l'amministratore di {{$sitename}}
\ No newline at end of file
diff --git a/view/it/smarty3/wall_received_eml.tpl b/view/it/smarty3/wall_received_eml.tpl
new file mode 100644 (file)
index 0000000..909ec86
--- /dev/null
@@ -0,0 +1,18 @@
+
+Caro/a {{$username}},
+
+       '{{$from}}' ha scritto qualcosa sulla bachecha del tuo profilo.
+
+-----
+{{$body}}
+-----
+
+Accedi a  {{$siteurl}} per vedere o cancellare l'elemento:
+
+{{$display}}
+
+Grazie,
+       L'amministratore di {{$sitename}}
+
+
diff --git a/view/it/smarty3/wall_received_html_body_eml.tpl b/view/it/smarty3/wall_received_html_body_eml.tpl
new file mode 100644 (file)
index 0000000..3fa724c
--- /dev/null
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
+<html>
+<head>
+       <title>Messaggio da Friendica</title>
+       <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+</head>
+<body>
+<table style="border:1px solid #ccc">
+       <tbody>
+       <tr><td colspan="2" style="background:#084769; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px; float:left;" src='{{$siteurl}}/images/friendica-32.png'><div style="padding:7px; margin-left: 5px; float:left; font-size:18px;letter-spacing:1px;">Friendica</div><div style="clear: both;"></div></td></tr>
+
+       <tr><td style="padding-top:22px;" colspan="2">{{$from}} ha scritto sulla tua bacheca.</td></tr>
+
+
+       <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$url}}"><img style="border:0px;width:48px;height:48px;" src="{{$thumb}}"></a></td>
+               <td style="padding-top:22px;"><a href="{{$url}}">{{$from}}</a></td></tr>
+       <tr><td style="padding-right:22px;">{{$body}}</td></tr>
+       <tr><td style="padding-top:11px;padding-bottom:11px;" colspan="2">Vai su <a href="{{$siteurl}}">{{$siteurl}}</a> per <a href="{{$display}}">vedere o cancellare il post</a>.</td></tr>
+       <tr><td></td><td>Grazie,</td></tr>
+       <tr><td></td><td>L'amministratore di {{$sitename}}</td></tr>
+       </tbody>
+</table>
+</body>
+</html>
\ No newline at end of file
diff --git a/view/it/smarty3/wall_received_text_body_eml.tpl b/view/it/smarty3/wall_received_text_body_eml.tpl
new file mode 100644 (file)
index 0000000..ad7f83a
--- /dev/null
@@ -0,0 +1,18 @@
+
+Caro {{$username}},
+
+       '{{$from}}' ha scritto sulla tua bacheca.
+
+-----
+{{$body}}
+-----
+
+Vai su {{$siteurl}} per vedere o cancellare il post:
+
+{{$display}}
+
+Grazie,
+       L'amministratore di {{$sitename}}
+
+
index 297b36c9ac8cde502d7892c3790f3670d285930d..21ed66a66b99adfe1b8153498a0d69483f16f40c 100644 (file)
@@ -3,17 +3,17 @@
        <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 }}
+       {{ inc $field_input with $field=$lname }}{{ endinc }}
+       {{ inc $field_password with $field=$lpassword }}{{ endinc }}
        </div>
        
        {{ if $openid }}
                        <div id="login_openid">
-                       {{ inc field_openid.tpl with $field=$lopenid }}{{ endinc }}
+                       {{ inc $field_openid with $field=$lopenid }}{{ endinc }}
                        </div>
        {{ endif }}
 
-       {{ inc field_checkbox.tpl with $field=$lremember }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$lremember }}{{ endinc }}
 
        <div id="login-extra-links">
                {{ if $register }}<a href="register" title="$register.title" id="register-link">$register.desc</a>{{ endif }}
index 8fbc12929910aacc2dc80546950fc7350d8dddc0..1b569428b3e7d27a885d78a91cd69ee00676c26f 100644 (file)
@@ -1,10 +1,10 @@
 
-{{ for $mails as $mail }}
-       {{ inc mail_conv.tpl }}{{endinc}}
+{{ for $mails as $mail_item }}
+       {{ inc $mail_conv with $mail=$mail_item }}{{endinc}}
 {{ endfor }}
 
 {{ if $canreply }}
-{{ inc prv_message.tpl }}{{ endinc }}
+{{ inc $prv_message with $reply=$reply_info }}{{ endinc }}
 {{ else }}
 $unknown_text
-{{endif }}
\ No newline at end of file
+{{endif }}
diff --git a/view/nb-no/smarty3/follow_notify_eml.tpl b/view/nb-no/smarty3/follow_notify_eml.tpl
new file mode 100644 (file)
index 0000000..094539c
--- /dev/null
@@ -0,0 +1,14 @@
+
+Kjære {{$myname}},
+
+Du har en ny følgesvenn på {{$sitename}} - '{{$requestor}}'.
+
+Du kan besøke profilen deres på {{$url}}. 
+
+Vennligst logg inn på ditt sted for å godkjenne eller ignorere/avbryte forespørselen.
+
+{{$siteurl}}
+
+Med vennlig hilsen,
+
+       {{$sitename}} administrator
\ No newline at end of file
diff --git a/view/nb-no/smarty3/friend_complete_eml.tpl b/view/nb-no/smarty3/friend_complete_eml.tpl
new file mode 100644 (file)
index 0000000..17cc38a
--- /dev/null
@@ -0,0 +1,22 @@
+
+Kjære {{$username}},
+
+       Gode nyheter... '{{$fn}}' ved '{{$dfrn_url}}' har godtatt 
+din forespørsel om kobling hos '{{$sitename}}'.
+
+Dere er nå gjensidige venner og kan utveksle statusoppdateringer, bilder og e-post
+uten hindringer.
+
+Vennligst besøk din side "Kontakter" ved {{$sitename}} hvis du ønsker å gjøre  
+noen endringer på denne forbindelsen. 
+
+{{$siteurl}}
+
+[For eksempel, så kan du lage en egen profil med informasjon som ikke er
+tilgjengelig for alle - og angi visningsrettigheter til '{{$fn}}'].
+
+Med vennlig hilsen,
+
+       {{$sitename}} administrator
+
\ No newline at end of file
diff --git a/view/nb-no/smarty3/intro_complete_eml.tpl b/view/nb-no/smarty3/intro_complete_eml.tpl
new file mode 100644 (file)
index 0000000..edf6999
--- /dev/null
@@ -0,0 +1,22 @@
+
+Kjære {{$username}},
+
+       '{{$fn}}' ved '{{$dfrn_url}}' har godtatt 
+din forespørsel om kobling ved {{$sitename}}'.
+
+       '{{$fn}}' har valgt å godta deg som "fan", som begrenser 
+noen typer kommunikasjon - slik som private meldinger og noen profilhandlinger.
+Hvis dette er en kjendis- eller forumside, så ble disse innstillingene
+angitt automatisk.
+
+       '{{$fn}}' kan velge å utvide dette til en to-veis eller mer åpen 
+forbindelse i fremtiden. 
+
+       Du vil nå motta offentlige statusoppdateringer fra '{{$fn}}', 
+som vil vises på din "Nettverk"-side ved  
+
+{{$siteurl}}
+
+Med vennlig hilsen,
+
+       {{$sitename}} administrator
\ No newline at end of file
diff --git a/view/nb-no/smarty3/lostpass_eml.tpl b/view/nb-no/smarty3/lostpass_eml.tpl
new file mode 100644 (file)
index 0000000..e0f335f
--- /dev/null
@@ -0,0 +1,32 @@
+
+Kjære {{$username}},
+       En forespørsel ble nylig mottatt hos {{$sitename}} om å tilbakestille din kontos 
+passord. For å godkjenne denne forespørselen, vennligst velg bekreftelseslenken
+nedenfor eller lim den inn på adresselinjen i nettleseren din. 
+
+Hvis du IKKE har spurt om denne endringen, vennligst IKKE følg lenken
+som er oppgitt og ignorer og/eller slett denne e-posten. 
+
+Passordet ditt vil ikke bli endret med mindre vi kan forsikre oss om at du
+sendte denne forespørselen. 
+
+Følg denne lenken for å bekrefte din identitet:
+
+{{$reset_link}}
+
+Du vil da motta en oppfølgings melding med det nye passordet.
+
+Du kan endre passordet på siden for dine kontoinnstillinger etter innlogging.
+
+Innloggingsdetaljene er som følger:
+
+Nettstedsadresse:»{{$siteurl}}
+Brukernavn:»{{$email}}
+
+
+
+
+Beste hilsen,
+       {{$sitename}} administrator
+
\ No newline at end of file
diff --git a/view/nb-no/smarty3/passchanged_eml.tpl b/view/nb-no/smarty3/passchanged_eml.tpl
new file mode 100644 (file)
index 0000000..2d3144b
--- /dev/null
@@ -0,0 +1,20 @@
+
+Kjære {{$username}},
+       Ditt passord har blitt endret som forespurt. Vennligst ta vare på denne 
+meldingen for sikkerhets skyld (eller bytt passordet ditt umiddelbart til 
+noe du husker).
+
+
+Dine logg inn-detaljer er som følger:
+
+Nettsted:»{{$siteurl}}
+Brukernavn:»{{$email}}
+Passord:»{{$new_password}}
+
+Du kan endre dette passordet på din side for kontoinnstillinger etter innlogging.
+
+
+Med vennlig hilsen,
+       {{$sitename}} administrator
+
\ No newline at end of file
diff --git a/view/nb-no/smarty3/register_open_eml.tpl b/view/nb-no/smarty3/register_open_eml.tpl
new file mode 100644 (file)
index 0000000..7fe8e59
--- /dev/null
@@ -0,0 +1,34 @@
+
+Kjære {{$username}},
+       Takk for at du registrerte deg hos {{$sitename}}. Kontoen din er opprettet. 
+Innloggingsdetaljene er som følger:
+
+
+Nettstedsadresse:»{{$siteurl}}
+Brukernavn:»{{$email}}
+Passord:»{{$password}}
+
+Du kan endre passordet ditt på siden "Innstillinger" etter at du har logget 
+inn.
+
+Vennligst bruk litt tid til å se over de andre kontoinnstillingene på den siden.
+
+Du vil antakelig ønske å legge til litt grunnleggende informasjon til standardprofilen din 
+(på siden "Profiler") slik at folk lettere kan finne deg.
+
+Vi anbefaler å oppgi fullt navn, legge til et profilbilde,
+legge til noen "nøkkelord" for profilen (svært nyttig for å få nye venner) - og 
+kanskje hvilket land du bor i, hvis du ikke ønsker å være mer spesifikk
+enn det.
+
+Vi respekterer ditt privatliv fullt ut, og ingen av disse elementene er nødvendige. 
+Hvis du er ny og ikke kjenner noen her, så kan de hjelpe
+deg å få noen nye og interessante venner.  
+
+
+Takk og velkommen til {{$sitename}}.
+
+Beste hilsen,
+       {{$sitename}} administrator
+
\ No newline at end of file
diff --git a/view/nb-no/smarty3/register_verify_eml.tpl b/view/nb-no/smarty3/register_verify_eml.tpl
new file mode 100644 (file)
index 0000000..9efb9b0
--- /dev/null
@@ -0,0 +1,25 @@
+
+En ny forespørsel om brukerregistering ble mottatt hos {{$sitename}} og krever  
+din godkjenning. 
+
+
+Innloggingsdetaljene er som følger:
+
+Fullt navn:»{{$username}}
+Nettstedsadresse:»{{$siteurl}}
+Brukernavn:»{{$email}}
+
+
+For å godkjenne denne forespørselen, vennligst besøk følgende lenke:
+
+
+{{$siteurl}}/regmod/allow/{{$hash}} 
+
+
+For å avslå denne forespørselen og fjerne kontoen, vennligst besøk:
+
+
+{{$siteurl}}/regmod/deny/{{$hash}}
+
+
+Mange takk.
diff --git a/view/nb-no/smarty3/request_notify_eml.tpl b/view/nb-no/smarty3/request_notify_eml.tpl
new file mode 100644 (file)
index 0000000..ae89c61
--- /dev/null
@@ -0,0 +1,17 @@
+
+Kjære {{$myname}},
+
+Du har akkurat mottatt en kontaktforespørsel hos {{$sitename}} 
+
+fra '{{$requestor}}'.
+
+Du kan besøke profilen på {{$url}}.
+
+Vennligst logg inn på ditt nettsted for å se hele introduksjonen 
+og godkjenne eller ignorere/avbryte forespørselen.
+
+{{$siteurl}}
+
+Beste hilsen,
+
+       {{$siteurl}} administrator
\ No newline at end of file
diff --git a/view/nb-no/smarty3/update_fail_eml.tpl b/view/nb-no/smarty3/update_fail_eml.tpl
new file mode 100644 (file)
index 0000000..1116f2c
--- /dev/null
@@ -0,0 +1,11 @@
+Hei,  \r
+jeg er {{$sitename}}.   \r
+Friendica-utviklerne slapp nylig oppdateringen {{$update}}, \r
+men da jeg prøvde å installere den, gikk noe forferdelig galt.  \r
+Dette trenger å bli fikset raskt og jeg kan ikke gjøre det alene. Vennligst kontakt en \r
+Friendica-utvikler hvis du ikke kan hjelpe meg på egenhånd. Databasen min er kanskje ugyldig. \r
+\r
+Feilmeldingen er '{{$error}}'.   \r
+\r
+Jeg beklager,  \r
+din Friendica-tjener hos {{$siteurl}} 
\ No newline at end of file
index dd00ed097a4e6cdc9b28d35d11e93d99d4b70be6..be5976ebad06e7c666071714949bc794beb1bf33 100644 (file)
@@ -1,7 +1,7 @@
 <h1>$header</h1>
 
-{{ for $contacts as $contact }}
-       {{ inc contact_template.tpl }}{{ endinc }}
+{{ for $contacts as $c }}
+       {{ inc $contact_template with $contact=$c }}{{ endinc }}
 {{ endfor }}
 <div id="contact-edit-end"></div>
 
index 1a13b68b90d5467fb1b8fedd8aea507abdc6c3ed..d6671be57cac7050b4634e9ac1bcc636b5e95694 100644 (file)
@@ -1,7 +1,7 @@
 
 <h1>$notif_header</h1>
 
-{{ inc common_tabs.tpl }}{{ endinc }}
+{{ inc $common_tabs with $tabs=$tabs_data }}{{ endinc }}
 
 <div class="notif-network-wrapper">
        $notif_content
index c9022a1c1498b1bdc261f04a1b3d237f2b3bc998..2e169c2fc3d95b3154a863a41c7284ccaf01272e 100644 (file)
@@ -1,5 +1,5 @@
-       {{inc field_radio.tpl with $field=$page_normal }}{{endinc}}
-       {{inc field_radio.tpl with $field=$page_community }}{{endinc}}
-       {{inc field_radio.tpl with $field=$page_prvgroup }}{{endinc}}
-       {{inc field_radio.tpl with $field=$page_soapbox }}{{endinc}}
-       {{inc field_radio.tpl with $field=$page_freelove }}{{endinc}}
+       {{inc $field_radio with $field=$page_normal }}{{endinc}}
+       {{inc $field_radio with $field=$page_community }}{{endinc}}
+       {{inc $field_radio with $field=$page_prvgroup }}{{endinc}}
+       {{inc $field_radio with $field=$page_soapbox }}{{endinc}}
+       {{inc $field_radio with $field=$page_freelove }}{{endinc}}
index 1df78cb7bed30bc4f2df3af7a197b4139f2bb0e5..1a70b6e59be94372270bc0eab1b7d321a4e54967 100644 (file)
@@ -4,8 +4,8 @@
 {{ endif }}
 
 <div class="photos">
-{{ for $photos as $photo }}
-       {{ inc photo_top.tpl }}{{ endinc }}
+{{ for $photos as $ph }}
+       {{ inc $photo_top with $photo=$ph }}{{ endinc }}
 {{ endfor }}
 </div>
 <div class="photos-end"></div>
diff --git a/view/pl/smarty3/follow_notify_eml.tpl b/view/pl/smarty3/follow_notify_eml.tpl
new file mode 100644 (file)
index 0000000..0fdbbf4
--- /dev/null
@@ -0,0 +1,14 @@
+
+Drogi {{$myname}},
+
+Masz nowego obserwującego na {{$sitename}} -  '{{$requestor}}'.
+
+Możesz odwiedzić jego profil na {{$url}}.
+
+Zaloguj się na swoją stronę by potwierdzić lub zignorować/anulować prośbę.
+
+{{$siteurl}}
+
+Pozdrawiam,
+
+       {{$sitename}} Administrator
\ No newline at end of file
diff --git a/view/pl/smarty3/friend_complete_eml.tpl b/view/pl/smarty3/friend_complete_eml.tpl
new file mode 100644 (file)
index 0000000..12918b6
--- /dev/null
@@ -0,0 +1,22 @@
+
+Drogi {{$username}},
+
+       Świetne wieści! '{{$fn}}' na '{{$dfrn_url}}' przyjął / przyjęła 
+Twoją prośbę o znajomość na '{{$sitename}}'.
+
+Jesteście teraz znajomymi i możecie wymieniać się zmianami statusów, zdjęciami i wiadomościami
+bez ograniczeń.
+
+Zajrzyj na stronę 'Kontakty' na {{$sitename}} jeśli chcesz dokonać 
+zmian w tej relacji. 
+
+{{$siteurl}}
+
+[Możesz np.: utworzyć oddzielny profil z informacjami, który nie będzie
+dostępny dla wszystkich - i przypisać sprawdzanie uprawnień do '{{$fn}}'].
+
+Z poważaniem, 
+
+       {{$sitename}} Administrator
+
\ No newline at end of file
diff --git a/view/pl/smarty3/intro_complete_eml.tpl b/view/pl/smarty3/intro_complete_eml.tpl
new file mode 100644 (file)
index 0000000..55dc1d7
--- /dev/null
@@ -0,0 +1,22 @@
+
+Drogi {{$username}},
+
+       '{{$fn}}' w '{{$dfrn_url}}' zaakceptował 
+twoje połączenie na '{{$sitename}}'.
+
+       '{{$fn}}' zaakceptował Cię jako "fana", uniemożliwiając 
+pewne sposoby komunikacji - takie jak prywatne wiadomości czy niektóre formy
+interakcji pomiędzy profilami. Jeśli jest to strona gwiazdy lub  społeczności, ustawienia zostały
+zastosowane automatycznie.
+
+       '{{$fn}}' może rozszeżyć to w dwustronną komunikację lub więcej (doprecyzować) 
+relacje w przyszłości. 
+
+       Będziesz teraz otrzymywać aktualizacje statusu od '{{$fn}}', 
+który będzie pojawiać się na Twojej stronie "Sieć"  
+
+{{$siteurl}}
+
+Z poważaniem,
+
+       Administrator {{$sitename}}
\ No newline at end of file
diff --git a/view/pl/smarty3/lostpass_eml.tpl b/view/pl/smarty3/lostpass_eml.tpl
new file mode 100644 (file)
index 0000000..7d5240c
--- /dev/null
@@ -0,0 +1,32 @@
+
+{{$username}},
+       Ze strony {{$sitename}} wpłynęła prośba z zresetowanie 
+hasła. W celu potwierdzenia kliknij w weryfikacyjny link
+zamieszczony poniżej, lub wklej go do pasku adresu twojej przeglądarki. 
+
+Jeśli uważasz, że wiadomość nie jest przeznaczona dla ciebie, nie klikaj w linka!
+Zignoruj tego emaila i usuń. 
+
+Twoje hasło nie może zostać zmienione zanim nie potwierdzimy
+twojego żądania. 
+
+Aby potwierdzić kliknik w link weryfikacyjny:
+
+{{$reset_link}}
+
+Otrzymasz od nas wiadomość zwrotną zawierającą nowe hasło.
+
+Po zalogowaniu się, będziesz miał możliwość zmiany hasła na takie jakie chcesz.
+
+Dane do zalogowania:
+
+Adres strony: {{$siteurl}}
+Login: {{$email}}
+
+
+
+
+Z poważaniem,
+       {{$sitename}} Administrator
+
\ No newline at end of file
diff --git a/view/pl/smarty3/passchanged_eml.tpl b/view/pl/smarty3/passchanged_eml.tpl
new file mode 100644 (file)
index 0000000..b8ba39c
--- /dev/null
@@ -0,0 +1,20 @@
+
+Drogi {{$username}},
+       Twoje hasło zostało zmienione. Zachowaj tę 
+Informację dla dokumentacji (lub zmień swoje hasło 
+na takie, które zapamiętasz).
+
+
+Dane do logowania:
+
+Strona:»{{$siteurl}}
+Twój login:»{{$email}}
+Twoje nowe hasło:»{{$new_password}}
+
+Po zalogowaniu możesz zmienić swoje hasło w ustawieniach konta
+
+
+Z poważaniem,
+       {{$sitename}} Administrator
+
\ No newline at end of file
diff --git a/view/pl/smarty3/register_open_eml.tpl b/view/pl/smarty3/register_open_eml.tpl
new file mode 100644 (file)
index 0000000..604ebfa
--- /dev/null
@@ -0,0 +1,36 @@
+
+Drogi {{$username}},
+       Dziękujemy za rejestrację na {{$sitename}}. Twoje konto zostało utworzone pomyślnie.  
+Dane do logowania:
+
+
+Strona:»{{$siteurl}}
+Twój Nick:»{{$email}}
+Hasło:»{{$password}}
+
+Możesz zmienić swoje hasło odwiedzając zakładkę ustawienia konta po zalogowaniu 
+się.
+
+Przejrzyj też inne ustawienia konta. To zajmie Ci tylko chwilę.
+
+Jeżeli chcesz, by inni mogli Cię łatwo znaleść wystarczy dodać podstawowe informacje 
+o sobie na stronie "Profile".
+
+Zalecamy dodać prawdziwe imię i nazwisko, zdjęcie profilowe,
+słowa kluczowe (pomocne w zdobywaniu nowych przyjaciół) - i 
+może kraj, w którym mieszkasz, jeżeli nie chcesz dodać bardziej szczegółowych
+
+informacji niż ta.
+
+Szanujemy też twoją prywatność, więc żadna z podpowiadanych wyżej czynności nie jest przymusowa. 
+Jeżeli jesteś nowy i nie znasz tu nikogo, mogą one jedynie
+pomóć w zdobywaniu nowych znajomości.  
+
+
+Dziękujemy i witamy na {{$sitename}}.
+
+Z poważaniem,
+       {{$sitename}} Administrator
+
\ No newline at end of file
diff --git a/view/pl/smarty3/register_verify_eml.tpl b/view/pl/smarty3/register_verify_eml.tpl
new file mode 100644 (file)
index 0000000..017e0ec
--- /dev/null
@@ -0,0 +1,25 @@
+
+Nowy wniosek o rejestrację użytkownika wpłynął na {{$sitename}} i wymaga 
+potwierdzenia. 
+
+
+Oto szczegóły konta:
+
+Pełna nazwa:»{{$username}}
+Jesteś na:    {{$siteurl}}
+Login:»{{$email}}
+
+
+Aby potwierdzić rejestrację wejdź na:
+
+
+{{$siteurl}}/regmod/allow/{{$hash}} 
+
+
+Aby anulować rejestrację i usunąć konto wejdź na:
+
+
+{{$siteurl}}/regmod/deny/{{$hash}}
+
+
+Dziękuję.
diff --git a/view/pl/smarty3/request_notify_eml.tpl b/view/pl/smarty3/request_notify_eml.tpl
new file mode 100644 (file)
index 0000000..ea31ca8
--- /dev/null
@@ -0,0 +1,17 @@
+
+Drogi/a {{$myname}},
+
+Otrzymałeś właśnie zaproszenie do znajomych na stronie {{$sitename}} 
+
+od '{{$requestor}}'.
+
+Skorzystaj z tego linku, aby odwiedzić jego profil: {{$url}}.
+
+Proszę się zalogować, aby zobaczyć pełen opis 
+i zaakceptować lub zignorować / anulować.
+
+{{$siteurl}}
+
+Pozdrawiam
+
+       {{$sitename}} administrator
\ No newline at end of file
diff --git a/view/pl/smarty3/update_fail_eml.tpl b/view/pl/smarty3/update_fail_eml.tpl
new file mode 100644 (file)
index 0000000..809fd55
--- /dev/null
@@ -0,0 +1,11 @@
+Hey,  \r
+Jestem {{$sitename}}.   \r
+Deweloperzy friendica wydali ostatnio aktualizację {{$update}}, \r
+ale kiedy próbowałem ją zainstalować, coś poszło nie tak.  \r
+To musi być szybko poprawione, ale nie mogę zrobić tego sam. Proszę o kontakt z \r
+deweloperami friendica, jeśli nie możesz mi pomóc na własną rękę. Moja baza danych może być uszkodzona. \r
+\r
+Komunikat o błędzie: '{{$error}}'.   \r
+\r
+Przepraszam, \r
+twój serwer friendica w {{$siteurl}}
\ No newline at end of file
index 9549b695d1966450827081777daf2b3911fc4c39..e115c706aa9afcd12ada52de375748942c1b0755 100644 (file)
@@ -9,8 +9,8 @@
 
 
 {{ if $response.totalResults }}
-{{ for $response.entry as $entry }}
-{{ inc poco_entry_xml.tpl }}{{ endinc }}
+{{ for $response.entry as $ent }}
+{{ inc $poco_entry_xml with $entry=$ent }}{{ endinc }}
 {{ endfor }}
 {{ else }}
 <entry></entry>
index d1e6847951628e784f0a3983b66c5a2ca7c46d99..cf6a9f718c8b5e27fc3c47cd0ed608c74a6edaa6 100644 (file)
@@ -31,7 +31,7 @@
 
        {{ 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 }}
+       {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
        
        <div id="profile-extra-links">
                <ul>
index ecfef95d6b5a4192557a55984c8ced29da97f6ad..f3df1d28bf6993bcac8509589295dd02a3dc5c23 100644 (file)
@@ -1,31 +1,31 @@
 
-<h3>$header</h3>
+<h3>$reply.header</h3>
 
 <div id="prvmail-wrapper" >
 <form id="prvmail-form" action="message" method="post" >
 
-$parent
+$reply.parent
 
-<div id="prvmail-to-label">$to</div>
-$select
+<div id="prvmail-to-label">$reply.to</div>
+$reply.select
 
-<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-subject-label">$reply.subject</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$reply.subjtxt" $reply.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-message-label">$reply.yourmessage</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$reply.text</textarea>
 
 
 <div id="prvmail-submit-wrapper" >
-       <input type="submit" id="prvmail-submit" name="submit" value="$submit" tabindex="13" />
+       <input type="submit" id="prvmail-submit" name="submit" value="$reply.submit" tabindex="13" />
        <div id="prvmail-upload-wrapper" >
-               <div id="prvmail-upload" class="icon border camera" title="$upload" ></div>
+               <div id="prvmail-upload" class="icon border camera" title="$reply.upload" ></div>
        </div> 
        <div id="prvmail-link-wrapper" >
-               <div id="prvmail-link" class="icon border link" title="$insert" onclick="jotGetLink();" ></div>
+               <div id="prvmail-link" class="icon border link" title="$reply.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;" />
+               <img id="prvmail-rotator" src="images/rotator.gif" alt="$reply.wait" title="$reply.wait" style="display: none;" />
        </div> 
 </div>
 <div id="prvmail-end"></div>
diff --git a/view/pt-br/smarty3/intro_complete_eml.tpl b/view/pt-br/smarty3/intro_complete_eml.tpl
new file mode 100644 (file)
index 0000000..3689d65
--- /dev/null
@@ -0,0 +1,22 @@
+
+Prezado/a {{$username}},
+
+       '{{$fn}}' em '{{$dfrn_url}}' aceitou 
+seu pedido de coneção em '{{$sitename}}'.
+
+       '{{$fn}}' optou por aceitá-lo com "fan", que restringe 
+algumas formas de comunicação, tais como mensagens privadas e algumas interações
+com o  perfil. Se essa é uma página de celebridade ou de comunidade essas configurações foram
+aplicadas automaticamente.
+
+       '{{$fn}}' pode escolher estender isso para uma comunicação bidirecional ourelacionamento mais permissivo 
+no futuro. 
+
+       Você começará a receber atualizações públicas de '{{$fn}}' 
+que aparecerão na sua página 'Rede'   
+
+{{$siteurl}}
+
+Cordialmente,
+
+       Administrador do {{$sitemname}}
\ No newline at end of file
diff --git a/view/pt-br/smarty3/update_fail_eml.tpl b/view/pt-br/smarty3/update_fail_eml.tpl
new file mode 100644 (file)
index 0000000..f8f5e2e
--- /dev/null
@@ -0,0 +1,11 @@
+Oi, \r
+Eu sou {{$sitename}}   \r
+Os desenvolvedores do friendica lançaram uma atualização {{$update}} recentemente, \r
+mas quando tentei instalá-la algo de errado aconeteceu.  \r
+Isso precisa ser corrigido logo e não posso fazê-lo sozinho. Por favor contacte um \r
+desenvolvedor do friendica se você não puder fazer a correção. Meu banco de dados pode estar inválido. \r
+\r
+A mensagem de erro é : '{{$error}}'.   \r
+\r
+Lamento. \r
+Seu servidor friendica em {{$siteurl}}
\ No newline at end of file
index bebd0c12a85df299645ec07f007a6d0cbb5cd86f..46e4228ded344d3506b51ceb8efb122ecc567ab3 100644 (file)
@@ -7,11 +7,11 @@ $nickname_block
 
 <h3 class="settings-heading">$h_pass</h3>
 
-{{inc field_password.tpl with $field=$password1 }}{{endinc}}
-{{inc field_password.tpl with $field=$password2 }}{{endinc}}
+{{inc $field_password with $field=$password1 }}{{endinc}}
+{{inc $field_password with $field=$password2 }}{{endinc}}
 
 {{ if $oid_enable }}
-{{inc field_input.tpl with $field=$openid }}{{endinc}}
+{{inc $field_input with $field=$openid }}{{endinc}}
 {{ endif }}
 
 <div class="settings-submit-wrapper" >
@@ -21,11 +21,11 @@ $nickname_block
 
 <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}}
+{{inc $field_input with $field=$username }}{{endinc}}
+{{inc $field_input with $field=$email }}{{endinc}}
+{{inc $field_custom with $field=$timezone }}{{endinc}}
+{{inc $field_input with $field=$defloc }}{{endinc}}
+{{inc $field_checkbox with $field=$allowloc }}{{endinc}}
 
 
 <div class="settings-submit-wrapper" >
@@ -38,7 +38,7 @@ $nickname_block
 
 <input type="hidden" name="visibility" value="$visibility" />
 
-{{inc field_input.tpl with $field=$maxreq }}{{endinc}}
+{{inc $field_input with $field=$maxreq }}{{endinc}}
 
 $profile_in_dir
 
@@ -57,9 +57,9 @@ $suggestme
 $unkmail
 
 
-{{inc field_input.tpl with $field=$cntunkmail }}{{endinc}}
+{{inc $field_input with $field=$cntunkmail }}{{endinc}}
 
-{{inc field_input.tpl with $field=$expire.days }}{{endinc}}
+{{inc $field_input with $field=$expire.days }}{{endinc}}
 
 
 <div class="field input">
@@ -67,10 +67,10 @@ $unkmail
        <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}}
+                       {{ inc $field_yesno with $field=$expire.items }}{{endinc}}
+                       {{ inc $field_yesno with $field=$expire.notes }}{{endinc}}
+                       {{ inc $field_yesno with $field=$expire.starred }}{{endinc}}
+                       {{ inc $field_yesno with $field=$expire.network_only }}{{endinc}}
                </div>
        </div>
 
@@ -108,22 +108,22 @@ $group_select
 
 <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}}
+{{inc $field_checkbox with $field=$post_newfriend }}{{endinc}}
+{{inc $field_checkbox with $field=$post_joingroup }}{{endinc}}
+{{inc $field_checkbox 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}}
-{{inc field_intcheckbox.tpl with $field=$notify8 }}{{endinc}}
+{{inc $field_intcheckbox with $field=$notify1 }}{{endinc}}
+{{inc $field_intcheckbox with $field=$notify2 }}{{endinc}}
+{{inc $field_intcheckbox with $field=$notify3 }}{{endinc}}
+{{inc $field_intcheckbox with $field=$notify4 }}{{endinc}}
+{{inc $field_intcheckbox with $field=$notify5 }}{{endinc}}
+{{inc $field_intcheckbox with $field=$notify6 }}{{endinc}}
+{{inc $field_intcheckbox with $field=$notify7 }}{{endinc}}
+{{inc $field_intcheckbox with $field=$notify8 }}{{endinc}}
 </div>
 
 </div>
index bd3d60f0f4bc5273f14536fcd20f9a89015cb9eb..0a1c509869539d628390bd54d5a19831f425967b 100644 (file)
@@ -14,16 +14,16 @@ $settings_connectors
        <div class="settings-block">
        <h3 class="settings-heading">$h_imap</h3>
        <p>$imap_desc</p>
-       {{inc field_custom.tpl with $field=$imap_lastcheck }}{{endinc}}
-       {{inc field_input.tpl with $field=$mail_server }}{{endinc}}
-       {{inc field_input.tpl with $field=$mail_port }}{{endinc}}
-       {{inc field_select.tpl with $field=$mail_ssl }}{{endinc}}
-       {{inc field_input.tpl with $field=$mail_user }}{{endinc}}
-       {{inc field_password.tpl with $field=$mail_pass }}{{endinc}}
-       {{inc field_input.tpl with $field=$mail_replyto }}{{endinc}}
-       {{inc field_checkbox.tpl with $field=$mail_pubmail }}{{endinc}}
-       {{inc field_select.tpl with $field=$mail_action }}{{endinc}}
-       {{inc field_input.tpl with $field=$mail_movetofolder }}{{endinc}}
+       {{inc $field_custom with $field=$imap_lastcheck }}{{endinc}}
+       {{inc $field_input with $field=$mail_server }}{{endinc}}
+       {{inc $field_input with $field=$mail_port }}{{endinc}}
+       {{inc $field_select with $field=$mail_ssl }}{{endinc}}
+       {{inc $field_input with $field=$mail_user }}{{endinc}}
+       {{inc $field_password with $field=$mail_pass }}{{endinc}}
+       {{inc $field_input with $field=$mail_replyto }}{{endinc}}
+       {{inc $field_checkbox with $field=$mail_pubmail }}{{endinc}}
+       {{inc $field_select with $field=$mail_action }}{{endinc}}
+       {{inc $field_input with $field=$mail_movetofolder }}{{endinc}}
 
        <div class="settings-submit-wrapper" >
                <input type="submit" id="imap-submit" name="imap-submit" class="settings-submit" value="$submit" />
index 24fc1102706fe9bc36d2fda10edfcaf840aec6d3..f2c1faef58843b5c703489405e45088786885c10 100644 (file)
@@ -3,11 +3,11 @@
 <form action="settings/display" id="settings-form" method="post" autocomplete="off" >
 <input type='hidden' name='form_security_token' value='$form_security_token'>
 
-{{inc field_themeselect.tpl with $field=$theme }}{{endinc}}
-{{inc field_themeselect.tpl with $field=$mobile_theme }}{{endinc}}
-{{inc field_input.tpl with $field=$ajaxint }}{{endinc}}
-{{inc field_input.tpl with $field=$itemspage_network }}{{endinc}}
-{{inc field_checkbox.tpl with $field=$nosmile}}{{endinc}}
+{{inc $field_themeselect with $field=$theme }}{{endinc}}
+{{inc $field_themeselect with $field=$mobile_theme }}{{endinc}}
+{{inc $field_input with $field=$ajaxint }}{{endinc}}
+{{inc $field_input with $field=$itemspage_network }}{{endinc}}
+{{inc $field_checkbox with $field=$nosmile}}{{endinc}}
 
 
 <div class="settings-submit-wrapper" >
index e6f2abdc24b48c7e197fde4652c7f7661cb42002..514e4ef252ac4861e5da3aaff6d208929ff6e394 100644 (file)
@@ -3,11 +3,11 @@
 <form method="POST">
 <input type='hidden' name='form_security_token' value='$form_security_token'>
 
-{{ inc field_input.tpl with $field=$name }}{{ endinc }}
-{{ inc field_input.tpl with $field=$key }}{{ endinc }}
-{{ inc field_input.tpl with $field=$secret }}{{ endinc }}
-{{ inc field_input.tpl with $field=$redirect }}{{ endinc }}
-{{ inc field_input.tpl with $field=$icon }}{{ endinc }}
+{{ inc $field_input with $field=$name }}{{ endinc }}
+{{ inc $field_input with $field=$key }}{{ endinc }}
+{{ inc $field_input with $field=$secret }}{{ endinc }}
+{{ inc $field_input with $field=$redirect }}{{ endinc }}
+{{ inc $field_input with $field=$icon }}{{ endinc }}
 
 <div class="settings-submit-wrapper" >
 <input type="submit" name="submit" class="settings-submit" value="$submit" />
diff --git a/view/smarty3/404.tpl b/view/smarty3/404.tpl
new file mode 100644 (file)
index 0000000..518ad1d
--- /dev/null
@@ -0,0 +1 @@
+<h1>{{$message}}</h1>
diff --git a/view/smarty3/acl_selector.tpl b/view/smarty3/acl_selector.tpl
new file mode 100644 (file)
index 0000000..52f0573
--- /dev/null
@@ -0,0 +1,26 @@
+<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 src="{0}"><p>{1}</p>
+       <a href="#" class='acl-button-show'>{{$show}}</a>
+       <a href="#" class='acl-button-hide'>{{$hide}}</a>
+</div>
+
+<script>
+$(document).ready(function() {
+       if(typeof acl=="undefined"){
+               acl = new ACL(
+                       baseurl+"/acl",
+                       [ {{$allowcid}},{{$allowgid}},{{$denycid}},{{$denygid}} ]
+               );
+       }
+});
+</script>
diff --git a/view/smarty3/admin_aside.tpl b/view/smarty3/admin_aside.tpl
new file mode 100644 (file)
index 0000000..a9d26a8
--- /dev/null
@@ -0,0 +1,42 @@
+<script>
+       // update pending count //
+       $(function(){
+
+               $("nav").bind('nav-update',  function(e,data){
+                       var elm = $('#pending-update');
+                       var register = $(data).find('register').text();
+                       if (register=="0") { register=""; elm.hide();} else { elm.show(); }
+                       elm.html(register);
+               });
+       });
+</script>
+<h4><a href="{{$admurl}}">{{$admtxt}}</a></h4>
+<ul class='admin linklist'>
+       <li class='admin link button {{$admin.site.2}}'><a href='{{$admin.site.0}}'>{{$admin.site.1}}</a></li>
+       <li class='admin link 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 link button {{$admin.plugins.2}}'><a href='{{$admin.plugins.0}}'>{{$admin.plugins.1}}</a></li>
+       <li class='admin link button {{$admin.themes.2}}'><a href='{{$admin.themes.0}}'>{{$admin.themes.1}}</a></li>
+       <li class='admin link 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 link button {{$admin.update.2}}'><a href='{{$admin.update.0}}'>{{$admin.update.1}}</a></li>
+       <li class='admin link 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 link button {{$l.2}}'><a href='{{$l.0}}'>{{$l.1}}</a></li>
+       {{/foreach}}
+</ul>
+       
+       
+<h4>{{$logtxt}}</h4>
+<ul class='admin linklist'>
+       <li class='admin link button {{$admin.logs.2}}'><a href='{{$admin.logs.0}}'>{{$admin.logs.1}}</a></li>
+</ul>
+
diff --git a/view/smarty3/admin_logs.tpl b/view/smarty3/admin_logs.tpl
new file mode 100644 (file)
index 0000000..4f79515
--- /dev/null
@@ -0,0 +1,19 @@
+<div id='adminpage'>
+       <h1>{{$title}} - {{$page}}</h1>
+       
+       <form action="{{$baseurl}}/admin/logs" method="post">
+    <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+
+       {{include file="file:{{$field_checkbox}}" field=$debugging}}
+       {{include file="file:{{$field_input}}" field=$logfile}}
+       {{include file="file:{{$field_select}}" field=$loglevel}}
+       
+       <div class="submit"><input type="submit" name="page_logs" value="{{$submit}}" /></div>
+       
+       </form>
+       
+       <h3>{{$logname}}</h3>
+       <div style="width:100%; height:400px; overflow: auto; "><pre>{{$data}}</pre></div>
+<!--   <iframe src='{{$baseurl}}/{{$logname}}' style="width:100%; height:400px"></iframe> -->
+       <!-- <div class="submit"><input type="submit" name="page_logs_clear_log" value="{{$clear}}" /></div> -->
+</div>
diff --git a/view/smarty3/admin_plugins.tpl b/view/smarty3/admin_plugins.tpl
new file mode 100644 (file)
index 0000000..01c178c
--- /dev/null
@@ -0,0 +1,15 @@
+<div id='adminpage'>
+       <h1>{{$title}} - {{$page}}</h1>
+       
+               <ul id='pluginslist'>
+               {{foreach $plugins as $p}}
+                       <li class='plugin {{$p.1}}'>
+                               <a class='toggleplugin' href='{{$baseurl}}/admin/{{$function}}/{{$p.0}}?a=t&amp;t={{$form_security_token}}' title="{{if $p.1==on}}Disable{{else}}Enable{{/if}}" ><span class='icon {{$p.1}}'></span></a>
+                               <a href='{{$baseurl}}/admin/{{$function}}/{{$p.0}}'><span class='name'>{{$p.2.name}}</span></a> - <span class="version">{{$p.2.version}}</span>
+                               {{if $p.2.experimental}} {{$experimental}} {{/if}}{{if $p.2.unsupported}} {{$unsupported}} {{/if}}
+
+                                       <div class='desc'>{{$p.2.description}}</div>
+                       </li>
+               {{/foreach}}
+               </ul>
+</div>
diff --git a/view/smarty3/admin_plugins_details.tpl b/view/smarty3/admin_plugins_details.tpl
new file mode 100644 (file)
index 0000000..47c33be
--- /dev/null
@@ -0,0 +1,36 @@
+<div id='adminpage'>
+       <h1>{{$title}} - {{$page}}</h1>
+       
+       <p><span class='toggleplugin icon {{$status}}'></span> {{$info.name}} - {{$info.version}} : <a href="{{$baseurl}}/admin/{{$function}}/{{$plugin}}/?a=t&amp;t={{$form_security_token}}">{{$action}}</a></p>
+       <p>{{$info.description}}</p>
+       
+       <p class="author">{{$str_author}}
+       {{foreach $info.author as $a}}
+               {{if $a.link}}<a href="{{$a.link}}">{{$a.name}}</a>{{else}}{{$a.name}}{{/if}},
+       {{/foreach}}
+       </p>
+
+       <p class="maintainer">{{$str_maintainer}}
+       {{foreach $info.maintainer as $a}}
+               {{if $a.link}}<a href="{{$a.link}}">{{$a.name}}</a>{{else}}{{$a.name}}{{/if}},
+       {{/foreach}}
+       </p>
+       
+       {{if $screenshot}}
+       <a href="{{$screenshot.0}}" class='screenshot'><img src="{{$screenshot.0}}" alt="{{$screenshot.1}}" /></a>
+       {{/if}}
+
+       {{if $admin_form}}
+       <h3>{{$settings}}</h3>
+       <form method="post" action="{{$baseurl}}/admin/{{$function}}/{{$plugin}}/">
+               {{$admin_form}}
+       </form>
+       {{/if}}
+
+       {{if $readme}}
+       <h3>Readme</h3>
+       <div id="plugin_readme">
+               {{$readme}}
+       </div>
+       {{/if}}
+</div>
diff --git a/view/smarty3/admin_remoteupdate.tpl b/view/smarty3/admin_remoteupdate.tpl
new file mode 100644 (file)
index 0000000..2e52e99
--- /dev/null
@@ -0,0 +1,98 @@
+<script src="js/jquery.htmlstream.js"></script>
+<script>
+       /* ajax updater */
+       function updateEnd(data){
+               //$("#updatepopup .panel_text").html(data);
+               $("#remoteupdate_form").find("input").removeAttr('disabled');
+               $(".panel_action_close").fadeIn()       
+       }
+       function updateOn(data){
+               
+               var patt=/§([^§]*)§/g; 
+               var matches = data.match(patt);
+               $(matches).each(function(id,data){
+                       data = data.replace(/§/g,"");
+                       d = data.split("@");
+                       console.log(d);
+                       elm = $("#updatepopup .panel_text #"+d[0]);
+                       html = "<div id='"+d[0]+"' class='progress'>"+d[1]+"<span>"+d[2]+"</span></div>";
+                       if (elm.length==0){
+                               $("#updatepopup .panel_text").append(html);
+                       } else {
+                               $(elm).replaceWith(html);
+                       }
+               });
+               
+               
+       }
+       
+       $(function(){
+               $("#remoteupdate_form").submit(function(){
+                       var data={};
+                       $(this).find("input").each(function(i, e){
+                               name = $(e).attr('name');
+                               value = $(e).val();
+                               e.disabled = true;
+                               data[name]=value;
+                       });
+
+                       $("#updatepopup .panel_text").html("");
+                       $("#updatepopup").show();
+                       $("#updatepopup .panel").hide().slideDown(500);
+                       $(".panel_action_close").hide().click(function(){
+                               $("#updatepopup .panel").slideUp(500, function(){
+                                       $("#updatepopup").hide();
+                               });                             
+                       });
+
+                       $.post(
+                               $(this).attr('action'), 
+                               data, 
+                               updateEnd,
+                               'text',
+                               updateOn
+                       );
+
+                       
+                       return false;
+               })
+       });
+</script>
+<div id="updatepopup" class="popup">
+       <div class="background"></div>
+       <div class="panel">
+               <div class="panel_in">
+                       <h1>Friendica Update</h1>
+                       <div class="panel_text"></div>
+                       <div class="panel_actions">
+                               <input type="button" value="{{$close}}" class="panel_action_close">
+                       </div>
+               </div>
+       </div>
+</div>
+<div id="adminpage">
+       <dl> <dt>Your version:</dt><dd>{{$localversion}}</dd> </dl>
+{{if $needupdate}}
+       <dl> <dt>New version:</dt><dd>{{$remoteversion}}</dd> </dl>
+
+       <form id="remoteupdate_form" method="POST" action="{{$baseurl}}/admin/update">
+       <input type="hidden" name="{{$remotefile.0}}" value="{{$remotefile.2}}">
+
+       {{if $canwrite}}
+               <div class="submit"><input type="submit" name="remoteupdate" value="{{$submit}}" /></div>
+       {{else}}
+               <h3>Your friendica installation is not writable by web server.</h3>
+               {{if $canftp}}
+                       <p>You can try to update via FTP</p>
+                       {{include file="file:{{$field_input}}" field=$ftphost}}
+                       {{include file="file:{{$field_input}}" field=$ftppath}}
+                       {{include file="file:{{$field_input}}" field=$ftpuser}}
+                       {{include file="file:{{$field_password}}" field=$ftppwd}}
+                       <div class="submit"><input type="submit" name="remoteupdate" value="{{$submit}}" /></div>
+               {{/if}}
+       {{/if}}
+       </form>
+{{else}}
+<h4>No updates</h4>
+{{/if}}
+</div>
diff --git a/view/smarty3/admin_site.tpl b/view/smarty3/admin_site.tpl
new file mode 100644 (file)
index 0000000..60959eb
--- /dev/null
@@ -0,0 +1,97 @@
+<script>
+       $(function(){
+               
+               $("#cnftheme").fancybox({
+                       width: 800,
+                       autoDimensions: false,
+                       onStart: function(){
+                               var theme = $("#id_theme :selected").val();
+                               var theme_mobile = $("#id_theme_mobile :selected").val();
+                               $("#cnftheme").attr('href',"{{$baseurl}}/admin/themes/"+theme);
+                       }, 
+                       onComplete: function(){
+                               $("div#fancybox-content form").submit(function(e){
+                                       var url = $(this).attr('action');
+                                       // can't get .serialize() to work...
+                                       var data={};
+                                       $(this).find("input").each(function(){
+                                               data[$(this).attr('name')] = $(this).val();
+                                       });
+                                       $(this).find("select").each(function(){
+                                               data[$(this).attr('name')] = $(this).children(":selected").val();
+                                       });
+                                       console.log(":)", url, data);
+                                       
+                                       $.post(url, data, function(data) {
+                                               if(timer) clearTimeout(timer);
+                                               NavUpdate();
+                                               $.fancybox.close();
+                                       })
+                                       
+                                       return false;
+                               });
+                               
+                       }
+               });
+       });
+</script>
+<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="file:{{$field_input}}" field=$sitename}}
+       {{include file="file:{{$field_textarea}}" field=$banner}}
+       {{include file="file:{{$field_select}}" field=$language}}
+       {{include file="file:{{$field_select}}" field=$theme}}
+       {{include file="file:{{$field_select}}" field=$theme_mobile}}
+       {{include file="file:{{$field_select}}" field=$ssl_policy}}
+       
+       <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
+       
+       <h3>{{$registration}}</h3>
+       {{include file="file:{{$field_input}}" field=$register_text}}
+       {{include file="file:{{$field_select}}" field=$register_policy}}
+       {{include file="file:{{$field_input}}" field=$daily_registrations}}
+       {{include file="file:{{$field_checkbox}}" field=$no_multi_reg}}
+       {{include file="file:{{$field_checkbox}}" field=$no_openid}}
+       {{include file="file:{{$field_checkbox}}" field=$no_regfullname}}
+       
+       <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
+
+       <h3>{{$upload}}</h3>
+       {{include file="file:{{$field_input}}" field=$maximagesize}}
+       {{include file="file:{{$field_input}}" field=$maximagelength}}
+       {{include file="file:{{$field_input}}" field=$jpegimagequality}}
+       
+       <h3>{{$corporate}}</h3>
+       {{include file="file:{{$field_input}}" field=$allowed_sites}}
+       {{include file="file:{{$field_input}}" field=$allowed_email}}
+       {{include file="file:{{$field_checkbox}}" field=$block_public}}
+       {{include file="file:{{$field_checkbox}}" field=$force_publish}}
+       {{include file="file:{{$field_checkbox}}" field=$no_community_page}}
+       {{include file="file:{{$field_checkbox}}" field=$ostatus_disabled}}
+       {{include file="file:{{$field_checkbox}}" field=$diaspora_enabled}}
+       {{include file="file:{{$field_checkbox}}" field=$dfrn_only}}
+       {{include file="file:{{$field_input}}" field=$global_directory}}
+       {{include file="file:{{$field_checkbox}}" field=$thread_allow}}
+       {{include file="file:{{$field_checkbox}}" field=$newuser_private}}
+       
+       <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
+       
+       <h3>{{$advanced}}</h3>
+       {{include file="file:{{$field_checkbox}}" field=$no_utf}}
+       {{include file="file:{{$field_checkbox}}" field=$verifyssl}}
+       {{include file="file:{{$field_input}}" field=$proxy}}
+       {{include file="file:{{$field_input}}" field=$proxyuser}}
+       {{include file="file:{{$field_input}}" field=$timeout}}
+       {{include file="file:{{$field_input}}" field=$delivery_interval}}
+       {{include file="file:{{$field_input}}" field=$poll_interval}}
+       {{include file="file:{{$field_input}}" field=$maxloadavg}}
+       {{include file="file:{{$field_input}}" field=$abandon_days}}
+       
+       <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
+       
+       </form>
+</div>
diff --git a/view/smarty3/admin_summary.tpl b/view/smarty3/admin_summary.tpl
new file mode 100644 (file)
index 0000000..339dbdd
--- /dev/null
@@ -0,0 +1,40 @@
+<div id='adminpage'>
+       <h1>{{$title}} - {{$page}}</h1>
+
+       <dl>
+               <dt>{{$queues.label}}</dt>
+               <dd>{{$queues.deliverq}} - {{$queues.queue}}</dd>
+       </dl>
+       <dl>
+               <dt>{{$pending.0}}</dt>
+               <dd>{{$pending.1}}</dt>
+       </dl>
+
+       <dl>
+               <dt>{{$users.0}}</dt>
+               <dd>{{$users.1}}</dd>
+       </dl>
+       {{foreach $accounts as $p}}
+               <dl>
+                       <dt>{{$p.0}}</dt>
+                       <dd>{{if $p.1}}{{$p.1}}{{else}}0{{/if}}</dd>
+               </dl>
+       {{/foreach}}
+
+
+       <dl>
+               <dt>{{$plugins.0}}</dt>
+               
+               {{foreach $plugins.1 as $p}}
+                       <dd>{{$p}}</dd>
+               {{/foreach}}
+               
+       </dl>
+
+       <dl>
+               <dt>{{$version.0}}</dt>
+               <dd>{{$version.1}} - {{$build}}</dt>
+       </dl>
+
+
+</div>
diff --git a/view/smarty3/admin_users.tpl b/view/smarty3/admin_users.tpl
new file mode 100644 (file)
index 0000000..987ab4b
--- /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){
+               $("."+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='icon like'></span></a>
+                                               <a href="{{$baseurl}}/regmod/deny/{{$u.hash}}" title='{{$deny}}'><span class='icon 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/smarty3/album_edit.tpl b/view/smarty3/album_edit.tpl
new file mode 100644 (file)
index 0000000..61653c4
--- /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" >
+
+
+<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();" />
+
+</form>
+</div>
+<div id="photo-album-edit-end" ></div>
diff --git a/view/smarty3/api_config_xml.tpl b/view/smarty3/api_config_xml.tpl
new file mode 100644 (file)
index 0000000..8c0766c
--- /dev/null
@@ -0,0 +1,66 @@
+<config>
+ <site>
+  <name>{{$config.site.name}}</name>
+  <server>{{$config.site.server}}</server>
+  <theme>default</theme>
+  <path></path>
+  <logo>{{$config.site.logo}}</logo>
+
+  <fancy>true</fancy>
+  <language>en</language>
+  <email>{{$config.site.email}}</email>
+  <broughtby></broughtby>
+  <broughtbyurl></broughtbyurl>
+  <timezone>UTC</timezone>
+  <closed>{{$config.site.closed}}</closed>
+
+  <inviteonly>false</inviteonly>
+  <private>{{$config.site.private}}</private>
+  <textlimit>{{$config.site.textlimit}}</textlimit>
+  <ssl>{{$config.site.ssl}}</ssl>
+  <sslserver>{{$config.site.sslserver}}</sslserver>
+  <shorturllength>30</shorturllength>
+
+</site>
+ <license>
+  <type>cc</type>
+  <owner></owner>
+  <url>http://creativecommons.org/licenses/by/3.0/</url>
+  <title>Creative Commons Attribution 3.0</title>
+  <image>http://i.creativecommons.org/l/by/3.0/80x15.png</image>
+
+</license>
+ <nickname>
+  <featured></featured>
+</nickname>
+ <profile>
+  <biolimit></biolimit>
+</profile>
+ <group>
+  <desclimit></desclimit>
+</group>
+ <notice>
+
+  <contentlimit></contentlimit>
+</notice>
+ <throttle>
+  <enabled>false</enabled>
+  <count>20</count>
+  <timespan>600</timespan>
+</throttle>
+ <xmpp>
+
+  <enabled>false</enabled>
+  <server>INVALID SERVER</server>
+  <port>5222</port>
+  <user>update</user>
+</xmpp>
+ <integration>
+  <source>StatusNet</source>
+
+</integration>
+ <attachments>
+  <uploads>false</uploads>
+  <file_quota>0</file_quota>
+</attachments>
+</config>
diff --git a/view/smarty3/api_friends_xml.tpl b/view/smarty3/api_friends_xml.tpl
new file mode 100644 (file)
index 0000000..fe92eea
--- /dev/null
@@ -0,0 +1,7 @@
+<!-- TEMPLATE APPEARS UNUSED -->
+
+<users type="array">
+       {{foreach $users as $u}}
+       {{include file="file:{{$api_user_xml}}" user=$u}}
+       {{/foreach}}
+</users>
diff --git a/view/smarty3/api_ratelimit_xml.tpl b/view/smarty3/api_ratelimit_xml.tpl
new file mode 100644 (file)
index 0000000..e4b470a
--- /dev/null
@@ -0,0 +1,6 @@
+<hash>
+ <remaining-hits type="integer">{{$hash.remaining_hits}}</remaining-hits>
+ <hourly-limit type="integer">{{$hash.hourly_limit}}</hourly-limit>
+ <reset-time type="datetime">{{$hash.reset_time}}</reset-time>
+ <reset_time_in_seconds type="integer">{{$hash.resettime_in_seconds}}</reset_time_in_seconds>
+</hash>
diff --git a/view/smarty3/api_status_xml.tpl b/view/smarty3/api_status_xml.tpl
new file mode 100644 (file)
index 0000000..cbb736e
--- /dev/null
@@ -0,0 +1,46 @@
+<status>{{if $status}}
+    <created_at>{{$status.created_at}}</created_at>
+    <id>{{$status.id}}</id>
+    <text>{{$status.text}}</text>
+    <source>{{$status.source}}</source>
+    <truncated>{{$status.truncated}}</truncated>
+    <in_reply_to_status_id>{{$status.in_reply_to_status_id}}</in_reply_to_status_id>
+    <in_reply_to_user_id>{{$status.in_reply_to_user_id}}</in_reply_to_user_id>
+    <favorited>{{$status.favorited}}</favorited>
+    <in_reply_to_screen_name>{{$status.in_reply_to_screen_name}}</in_reply_to_screen_name>
+    <geo>{{$status.geo}}</geo>
+    <coordinates>{{$status.coordinates}}</coordinates>
+    <place>{{$status.place}}</place>
+    <contributors>{{$status.contributors}}</contributors>
+       <user>
+         <id>{{$status.user.id}}</id>
+         <name>{{$status.user.name}}</name>
+         <screen_name>{{$status.user.screen_name}}</screen_name>
+         <location>{{$status.user.location}}</location>
+         <description>{{$status.user.description}}</description>
+         <profile_image_url>{{$status.user.profile_image_url}}</profile_image_url>
+         <url>{{$status.user.url}}</url>
+         <protected>{{$status.user.protected}}</protected>
+         <followers_count>{{$status.user.followers}}</followers_count>
+         <profile_background_color>{{$status.user.profile_background_color}}</profile_background_color>
+         <profile_text_color>{{$status.user.profile_text_color}}</profile_text_color>
+         <profile_link_color>{{$status.user.profile_link_color}}</profile_link_color>
+         <profile_sidebar_fill_color>{{$status.user.profile_sidebar_fill_color}}</profile_sidebar_fill_color>
+         <profile_sidebar_border_color>{{$status.user.profile_sidebar_border_color}}</profile_sidebar_border_color>
+         <friends_count>{{$status.user.friends_count}}</friends_count>
+         <created_at>{{$status.user.created_at}}</created_at>
+         <favourites_count>{{$status.user.favourites_count}}</favourites_count>
+         <utc_offset>{{$status.user.utc_offset}}</utc_offset>
+         <time_zone>{{$status.user.time_zone}}</time_zone>
+         <profile_background_image_url>{{$status.user.profile_background_image_url}}</profile_background_image_url>
+         <profile_background_tile>{{$status.user.profile_background_tile}}</profile_background_tile>
+         <profile_use_background_image>{{$status.user.profile_use_background_image}}</profile_use_background_image>
+         <notifications></notifications>
+         <geo_enabled>{{$status.user.geo_enabled}}</geo_enabled>
+         <verified>{{$status.user.verified}}</verified>
+         <following></following>
+         <statuses_count>{{$status.user.statuses_count}}</statuses_count>
+         <lang>{{$status.user.lang}}</lang>
+         <contributors_enabled>{{$status.user.contributors_enabled}}</contributors_enabled>
+         </user>
+{{/if}}</status>
diff --git a/view/smarty3/api_test_xml.tpl b/view/smarty3/api_test_xml.tpl
new file mode 100644 (file)
index 0000000..80a541c
--- /dev/null
@@ -0,0 +1 @@
+<ok>{{$ok}}</ok>
diff --git a/view/smarty3/api_timeline_atom.tpl b/view/smarty3/api_timeline_atom.tpl
new file mode 100644 (file)
index 0000000..4baed16
--- /dev/null
@@ -0,0 +1,90 @@
+<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:georss="http://www.georss.org/georss" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:media="http://purl.org/syndication/atommedia" xmlns:poco="http://portablecontacts.net/spec/1.0" xmlns:ostatus="http://ostatus.org/schema/1.0" xmlns:statusnet="http://status.net/schema/api/1/">
+ <generator uri="http://status.net" version="0.9.7">StatusNet</generator>
+ <id>{{$rss.self}}</id>
+ <title>Friendica</title>
+ <subtitle>Friendica API feed</subtitle>
+ <logo>{{$rss.logo}}</logo>
+ <updated>{{$rss.atom_updated}}</updated>
+ <link type="text/html" rel="alternate" href="{{$rss.alternate}}"/>
+ <link type="application/atom+xml" rel="self" href="{{$rss.self}}"/>
+ <author>
+       <activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
+       <uri>{{$user.url}}</uri>
+       <name>{{$user.name}}</name>
+       <link rel="alternate" type="text/html" href="{{$user.url}}"/>
+       <link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="{{$user.profile_image_url}}"/>
+       <link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="{{$user.profile_image_url}}"/>
+       <link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="{{$user.profile_image_url}}"/>
+       <link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="{{$user.profile_image_url}}"/>
+       <georss:point></georss:point>
+       <poco:preferredUsername>{{$user.screen_name}}</poco:preferredUsername>
+       <poco:displayName>{{$user.name}}</poco:displayName>
+       <poco:urls>
+               <poco:type>homepage</poco:type>
+               <poco:value>{{$user.url}}</poco:value>
+               <poco:primary>true</poco:primary>
+       </poco:urls>
+       <statusnet:profile_info local_id="{{$user.id}}"></statusnet:profile_info>
+ </author>
+
+ <!--Deprecation warning: activity:subject is present only for backward compatibility. It will be removed in the next version of StatusNet.-->
+ <activity:subject>
+       <activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
+       <id>{{$user.contact_url}}</id>
+       <title>{{$user.name}}</title>
+       <link rel="alternate" type="text/html" href="{{$user.url}}"/>
+       <link rel="avatar" type="image/jpeg" media:width="106" media:height="106" href="{{$user.profile_image_url}}"/>
+       <link rel="avatar" type="image/jpeg" media:width="96" media:height="96" href="{{$user.profile_image_url}}"/>
+       <link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="{{$user.profile_image_url}}"/>
+       <link rel="avatar" type="image/jpeg" media:width="24" media:height="24" href="{{$user.profile_image_url}}"/>
+       <poco:preferredUsername>{{$user.screen_name}}</poco:preferredUsername>
+       <poco:displayName>{{$user.name}}</poco:displayName>
+       <poco:urls>
+               <poco:type>homepage</poco:type>
+               <poco:value>{{$user.url}}</poco:value>
+               <poco:primary>true</poco:primary>
+       </poco:urls>
+       <statusnet:profile_info local_id="{{$user.id}}"></statusnet:profile_info>
+ </activity:subject>
+       {{foreach $statuses as $status}}
+       <entry>
+               <activity:object-type>{{$status.objecttype}}</activity:object-type>
+               <id>{{$status.message_id}}</id>
+               <title>{{$status.text}}</title>
+               <content type="html">{{$status.statusnet_html}}</content>
+               <link rel="alternate" type="text/html" href="{{$status.url}}"/>
+               <activity:verb>{{$status.verb}}</activity:verb>
+               <published>{{$status.published}}</published>
+               <updated>{{$status.updated}}</updated>
+
+               <link rel="self" type="application/atom+xml" href="{{$status.self}}"/>
+               <link rel="edit" type="application/atom+xml" href="{{$status.edit}}"/>
+               <statusnet:notice_info local_id="{{$status.id}}" source="{{$status.source}}" >
+               </statusnet:notice_info>
+
+               <author>
+                       <activity:object-type>http://activitystrea.ms/schema/1.0/person</activity:object-type>
+                       <uri>{{$status.user.url}}</uri>
+                       <name>{{$status.user.name}}</name>
+                       <link rel="alternate" type="text/html" href="{{$status.user.url}}"/>
+                       <link rel="avatar" type="image/jpeg" media:width="48" media:height="48" href="{{$status.user.profile_image_url}}"/>
+
+                       <georss:point/>
+                       <poco:preferredUsername>{{$status.user.screen_name}}</poco:preferredUsername>
+                       <poco:displayName>{{$status.user.name}}</poco:displayName>
+                       <poco:address/>
+                       <poco:urls>
+                               <poco:type>homepage</poco:type>
+                               <poco:value>{{$status.user.url}}</poco:value>
+                               <poco:primary>true</poco:primary>
+                       </poco:urls>
+               </author>
+               <link rel="ostatus:conversation" type="text/html" href="{{$status.url}}"/> 
+
+       </entry>    
+    {{/foreach}}
+</feed>
diff --git a/view/smarty3/api_timeline_rss.tpl b/view/smarty3/api_timeline_rss.tpl
new file mode 100644 (file)
index 0000000..075cc83
--- /dev/null
@@ -0,0 +1,26 @@
+<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:georss="http://www.georss.org/georss" xmlns:twitter="http://api.twitter.com">
+  <channel>
+    <title>Friendica</title>
+    <link>{{$rss.alternate}}</link>
+    <atom:link type="application/rss+xml" rel="self" href="{{$rss.self}}"/>
+    <description>Friendica timeline</description>
+    <language>{{$rss.language}}</language>
+    <ttl>40</ttl>
+       <image>
+               <link>{{$user.link}}</link>
+               <title>{{$user.name}}'s items</title>
+               <url>{{$user.profile_image_url}}</url>
+       </image>
+       
+{{foreach $statuses as $status}}
+  <item>
+    <title>{{$status.user.name}}: {{$status.text}}</title>
+    <description>{{$status.text}}</description>
+    <pubDate>{{$status.created_at}}</pubDate>
+    <guid>{{$status.url}}</guid>
+    <link>{{$status.url}}</link>
+    <twitter:source>{{$status.source}}</twitter:source>
+  </item>
+{{/foreach}}
+  </channel>
+</rss>
diff --git a/view/smarty3/api_timeline_xml.tpl b/view/smarty3/api_timeline_xml.tpl
new file mode 100644 (file)
index 0000000..48e9328
--- /dev/null
@@ -0,0 +1,20 @@
+<statuses type="array" xmlns:statusnet="http://status.net/schema/api/1/">
+{{foreach $statuses as $status}} <status>
+  <text>{{$status.text}}</text>
+  <truncated>{{$status.truncated}}</truncated>
+  <created_at>{{$status.created_at}}</created_at>
+  <in_reply_to_status_id>{{$status.in_reply_to_status_id}}</in_reply_to_status_id>
+  <source>{{$status.source}}</source>
+  <id>{{$status.id}}</id>
+  <in_reply_to_user_id>{{$status.in_reply_to_user_id}}</in_reply_to_user_id>
+  <in_reply_to_screen_name>{{$status.in_reply_to_screen_name}}</in_reply_to_screen_name>
+  <geo>{{$status.geo}}</geo>
+  <favorited>{{$status.favorited}}</favorited>
+{{include file="file:{{$api_user_xml}}" user=$status.user}}  <statusnet:html>{{$status.statusnet_html}}</statusnet:html>
+  <statusnet:conversation_id>{{$status.statusnet_conversation_id}}</statusnet:conversation_id>
+  <url>{{$status.url}}</url>
+  <coordinates>{{$status.coordinates}}</coordinates>
+  <place>{{$status.place}}</place>
+  <contributors>{{$status.contributors}}</contributors>
+ </status>
+{{/foreach}}</statuses>
diff --git a/view/smarty3/api_user_xml.tpl b/view/smarty3/api_user_xml.tpl
new file mode 100644 (file)
index 0000000..3b51992
--- /dev/null
@@ -0,0 +1,46 @@
+  <user>
+   <id>{{$user.id}}</id>
+   <name>{{$user.name}}</name>
+   <screen_name>{{$user.screen_name}}</screen_name>
+   <location>{{$user.location}}</location>
+   <description>{{$user.description}}</description>
+   <profile_image_url>{{$user.profile_image_url}}</profile_image_url>
+   <url>{{$user.url}}</url>
+   <protected>{{$user.protected}}</protected>
+   <followers_count>{{$user.followers_count}}</followers_count>
+   <friends_count>{{$user.friends_count}}</friends_count>
+   <created_at>{{$user.created_at}}</created_at>
+   <favourites_count>{{$user.favourites_count}}</favourites_count>
+   <utc_offset>{{$user.utc_offset}}</utc_offset>
+   <time_zone>{{$user.time_zone}}</time_zone>
+   <statuses_count>{{$user.statuses_count}}</statuses_count>
+   <following>{{$user.following}}</following>
+   <profile_background_color>{{$user.profile_background_color}}</profile_background_color>
+   <profile_text_color>{{$user.profile_text_color}}</profile_text_color>
+   <profile_link_color>{{$user.profile_link_color}}</profile_link_color>
+   <profile_sidebar_fill_color>{{$user.profile_sidebar_fill_color}}</profile_sidebar_fill_color>
+   <profile_sidebar_border_color>{{$user.profile_sidebar_border_color}}</profile_sidebar_border_color>
+   <profile_background_image_url>{{$user.profile_background_image_url}}</profile_background_image_url>
+   <profile_background_tile>{{$user.profile_background_tile}}</profile_background_tile>
+   <profile_use_background_image>{{$user.profile_use_background_image}}</profile_use_background_image>
+   <notifications>{{$user.notifications}}</notifications>
+   <geo_enabled>{{$user.geo_enabled}}</geo_enabled>
+   <verified>{{$user.verified}}</verified>
+   <lang>{{$user.lang}}</lang>
+   <contributors_enabled>{{$user.contributors_enabled}}</contributors_enabled>
+   <status>{{if $user.status}}
+    <created_at>{{$user.status.created_at}}</created_at>
+    <id>{{$user.status.id}}</id>
+    <text>{{$user.status.text}}</text>
+    <source>{{$user.status.source}}</source>
+    <truncated>{{$user.status.truncated}}</truncated>
+    <in_reply_to_status_id>{{$user.status.in_reply_to_status_id}}</in_reply_to_status_id>
+    <in_reply_to_user_id>{{$user.status.in_reply_to_user_id}}</in_reply_to_user_id>
+    <favorited>{{$user.status.favorited}}</favorited>
+    <in_reply_to_screen_name>{{$user.status.in_reply_to_screen_name}}</in_reply_to_screen_name>
+    <geo>{{$user.status.geo}}</geo>
+    <coordinates>{{$user.status.coordinates}}</coordinates>
+    <place>{{$user.status.place}}</place>
+    <contributors>{{$user.status.contributors}}</contributors>
+  {{/if}}</status>
+  </user>
diff --git a/view/smarty3/apps.tpl b/view/smarty3/apps.tpl
new file mode 100644 (file)
index 0000000..335e0ca
--- /dev/null
@@ -0,0 +1,7 @@
+<h3>{{$title}}</h3>
+
+<ul>
+       {{foreach $apps as $ap}}
+       <li>{{$ap}}</li>
+       {{/foreach}}
+</ul>
diff --git a/view/smarty3/atom_feed.tpl b/view/smarty3/atom_feed.tpl
new file mode 100644 (file)
index 0000000..ccb85a4
--- /dev/null
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<feed xmlns="http://www.w3.org/2005/Atom"
+      xmlns:thr="http://purl.org/syndication/thread/1.0"
+      xmlns:at="http://purl.org/atompub/tombstones/1.0"
+      xmlns:media="http://purl.org/syndication/atommedia"
+      xmlns:dfrn="http://purl.org/macgirvin/dfrn/1.0" 
+      xmlns:as="http://activitystrea.ms/spec/1.0/"
+      xmlns:georss="http://www.georss.org/georss" 
+      xmlns:poco="http://portablecontacts.net/spec/1.0" 
+      xmlns:ostatus="http://ostatus.org/schema/1.0" 
+         xmlns:statusnet="http://status.net/schema/api/1/" > 
+
+  <id>{{$feed_id}}</id>
+  <title>{{$feed_title}}</title>
+  <generator uri="http://friendica.com" version="{{$version}}">Friendica</generator>
+  <link rel="license" href="http://creativecommons.org/licenses/by/3.0/" />
+  {{$hub}}
+  {{$salmon}}
+  {{$community}}
+
+  <updated>{{$feed_updated}}</updated>
+
+  <dfrn:owner>
+    <name dfrn:updated="{{$namdate}}" >{{$name}}</name>
+    <uri dfrn:updated="{{$uridate}}" >{{$profile_page}}</uri>
+    <link rel="photo"  type="image/jpeg" dfrn:updated="{{$picdate}}" media:width="175" media:height="175" href="{{$photo}}" />
+    <link rel="avatar" type="image/jpeg" dfrn:updated="{{$picdate}}" media:width="175" media:height="175" href="{{$photo}}" />
+    {{$birthday}}
+  </dfrn:owner>
diff --git a/view/smarty3/atom_feed_dfrn.tpl b/view/smarty3/atom_feed_dfrn.tpl
new file mode 100644 (file)
index 0000000..307001f
--- /dev/null
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<feed xmlns="http://www.w3.org/2005/Atom"
+      xmlns:thr="http://purl.org/syndication/thread/1.0"
+      xmlns:at="http://purl.org/atompub/tombstones/1.0"
+      xmlns:media="http://purl.org/syndication/atommedia"
+      xmlns:dfrn="http://purl.org/macgirvin/dfrn/1.0" 
+      xmlns:as="http://activitystrea.ms/spec/1.0/"
+      xmlns:georss="http://www.georss.org/georss" 
+      xmlns:poco="http://portablecontacts.net/spec/1.0" 
+      xmlns:ostatus="http://ostatus.org/schema/1.0" 
+         xmlns:statusnet="http://status.net/schema/api/1/" > 
+
+  <id>{{$feed_id}}</id>
+  <title>{{$feed_title}}</title>
+  <generator uri="http://friendica.com" version="{{$version}}">Friendica</generator>
+  <link rel="license" href="http://creativecommons.org/licenses/by/3.0/" />
+  {{$hub}}
+  {{$salmon}}
+  {{$community}}
+
+  <updated>{{$feed_updated}}</updated>
+
+  <author>
+    <name dfrn:updated="{{$namdate}}" >{{$name}}</name>
+    <uri dfrn:updated="{{$uridate}}" >{{$profile_page}}</uri>
+    <link rel="photo"  type="image/jpeg" dfrn:updated="{{$picdate}}" media:width="175" media:height="175" href="{{$photo}}" />
+    <link rel="avatar" type="image/jpeg" dfrn:updated="{{$picdate}}" media:width="175" media:height="175" href="{{$photo}}" />
+    {{$birthday}}
+  </author>
diff --git a/view/smarty3/atom_mail.tpl b/view/smarty3/atom_mail.tpl
new file mode 100644 (file)
index 0000000..9b843f5
--- /dev/null
@@ -0,0 +1,17 @@
+
+<dfrn:mail>
+
+       <dfrn:sender>
+               <dfrn:name>{{$name}}</dfrn:name>
+               <dfrn:uri>{{$profile_page}}</dfrn:uri>
+               <dfrn:avatar>{{$thumb}}</dfrn:avatar>
+       </dfrn:sender>
+
+       <dfrn:id>{{$item_id}}</dfrn:id>
+       <dfrn:in-reply-to>{{$parent_id}}</dfrn:in-reply-to>
+       <dfrn:sentdate>{{$created}}</dfrn:sentdate>
+       <dfrn:subject>{{$subject}}</dfrn:subject>
+       <dfrn:content>{{$content}}</dfrn:content>
+
+</dfrn:mail>
+
diff --git a/view/smarty3/atom_relocate.tpl b/view/smarty3/atom_relocate.tpl
new file mode 100644 (file)
index 0000000..78fdd7f
--- /dev/null
@@ -0,0 +1,17 @@
+
+<dfrn:relocate>
+
+       <dfrn:url>{{$url}}</dfrn:url>
+       <dfrn:name>{{$name}}</dfrn:name>
+       <dfrn:photo>{{$photo}}</dfrn:photo>
+       <dfrn:thumb>{{$thumb}}</dfrn:thumb>
+       <dfrn:micro>{{$micro}}</dfrn:micro>
+       <dfrn:request>{{$request}}</dfrn:request>
+       <dfrn:confirm>{{$confirm}}</dfrn:confirm>
+       <dfrn:notify>{{$notify}}</dfrn:notify>
+       <dfrn:poll>{{$poll}}</dfrn:poll>
+       <dfrn:sitepubkey>{{$sitepubkey}}</dfrn:sitepubkey>
+
+
+</dfrn:relocate>
+
diff --git a/view/smarty3/atom_suggest.tpl b/view/smarty3/atom_suggest.tpl
new file mode 100644 (file)
index 0000000..972b9bc
--- /dev/null
@@ -0,0 +1,11 @@
+
+<dfrn:suggest>
+
+       <dfrn:url>{{$url}}</dfrn:url>
+       <dfrn:name>{{$name}}</dfrn:name>
+       <dfrn:photo>{{$photo}}</dfrn:photo>
+       <dfrn:request>{{$request}}</dfrn:request>
+       <dfrn:note>{{$note}}</dfrn:note>
+
+</dfrn:suggest>
+
diff --git a/view/smarty3/auto_request.tpl b/view/smarty3/auto_request.tpl
new file mode 100644 (file)
index 0000000..dfc5a4c
--- /dev/null
@@ -0,0 +1,37 @@
+
+<h1>{{$header}}</h1>
+
+<p id="dfrn-request-intro">
+{{$page_desc}}<br />
+<ul id="dfrn-request-networks">
+<li><a href="http://friendica.com" title="{{$friendica}}">{{$friendica}}</a></li>
+<li><a href="http://joindiaspora.com" title="{{$diaspora}}">{{$diaspora}}</a> {{$diasnote}}</li>
+<li><a href="http://ostatus.org" title="{{$public_net}}" >{{$statusnet}}</a></li>
+{{if $emailnet}}<li>{{$emailnet}}</li>{{/if}}
+</ul>
+</p>
+<p>
+{{$invite_desc}}
+</p>
+<p>
+{{$desc}}
+</p>
+
+<form action="dfrn_request/{{$nickname}}" method="post" />
+
+<div id="dfrn-request-url-wrapper" >
+       <label id="dfrn-url-label" for="dfrn-url" >{{$your_address}}</label>
+       <input type="text" name="dfrn_url" id="dfrn-url" size="32" value="{{$myaddr}}" />
+       <div id="dfrn-request-url-end"></div>
+</div>
+
+
+<div id="dfrn-request-info-wrapper" >
+
+</div>
+
+       <div id="dfrn-request-submit-wrapper">
+               <input type="submit" name="submit" id="dfrn-request-submit-button" value="{{$submit}}" />
+               <input type="submit" name="cancel" id="dfrn-request-cancel-button" value="{{$cancel}}" />
+       </div>
+</form>
diff --git a/view/smarty3/birthdays_reminder.tpl b/view/smarty3/birthdays_reminder.tpl
new file mode 100644 (file)
index 0000000..672e77a
--- /dev/null
@@ -0,0 +1,10 @@
+{{if $count}}
+<div id="birthday-notice" class="birthday-notice fakelink {{$classtoday}}" onclick="openClose('birthday-wrapper');">{{$event_reminders}} ({{$count}})</div>
+<div id="birthday-wrapper" style="display: none;" ><div id="birthday-title">{{$event_title}}</div>
+<div id="birthday-title-end"></div>
+{{foreach $events as $event}}
+<div class="birthday-list" id="birthday-{{$event.id}}"> <a href="{{$event.link}}">{{$event.title}}</a> {{$event.date}} </div>
+{{/foreach}}
+</div>
+{{/if}}
+
diff --git a/view/smarty3/categories_widget.tpl b/view/smarty3/categories_widget.tpl
new file mode 100644 (file)
index 0000000..10d4d2f
--- /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{{/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/smarty3/comment_item.tpl b/view/smarty3/comment_item.tpl
new file mode 100644 (file)
index 0000000..8e5c0ef
--- /dev/null
@@ -0,0 +1,39 @@
+               {{if $threaded}}
+               <div class="comment-wwedit-wrapper threaded" id="comment-edit-wrapper-{{$id}}" style="display: block;">
+               {{else}}
+               <div class="comment-wwedit-wrapper" id="comment-edit-wrapper-{{$id}}" style="display: block;">
+               {{/if}}
+                       <form class="comment-edit-form" style="display: block;" 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" />
+                               <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-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>
+                               <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$id}});" onBlur="commentClose(this,{{$id}});" >{{$comment}}</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}}" 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/smarty3/common_friends.tpl b/view/smarty3/common_friends.tpl
new file mode 100644 (file)
index 0000000..9adb30b
--- /dev/null
@@ -0,0 +1,12 @@
+<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}}]" />
+               </a>
+       </div>
+       <div class="profile-match-break"></div>
+       <div class="profile-match-name">
+               <a href="{{$url}}" title="{{$name}}[{{$tags}}]">{{$name}}</a>
+       </div>
+       <div class="profile-match-end"></div>
+</div>
\ No newline at end of file
diff --git a/view/smarty3/common_tabs.tpl b/view/smarty3/common_tabs.tpl
new file mode 100644 (file)
index 0000000..be36459
--- /dev/null
@@ -0,0 +1,5 @@
+<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}}
+</ul>
diff --git a/view/smarty3/contact_block.tpl b/view/smarty3/contact_block.tpl
new file mode 100644 (file)
index 0000000..e688af2
--- /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'>
+               {{foreach $micropro as $m}}
+                       {{$m}}
+               {{/foreach}}
+               </div>
+{{/if}}
+</div>
+<div class="clear"></div>
diff --git a/view/smarty3/contact_edit.tpl b/view/smarty3/contact_edit.tpl
new file mode 100644 (file)
index 0000000..d12fdd4
--- /dev/null
@@ -0,0 +1,88 @@
+
+<h2>{{$header}}</h2>
+
+<div id="contact-edit-wrapper" >
+
+       {{$tab_str}}
+
+       <div id="contact-edit-drop-link" >
+               <a href="contacts/{{$contact_id}}/drop" class="icon drophide" id="contact-edit-drop-link" onclick="return confirmDelete();"  title="{{$delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);"></a>
+       </div>
+
+       <div id="contact-edit-drop-link-end"></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}}</span> {{$poll_interval}} <span id="contact-edit-update-now" class="button"><a href="contacts/{{$contact_id}}/update" >{{$udnow}}</a></span>
+               </div>
+       {{/if}}
+       <div id="contact-edit-end" ></div>
+
+       {{include file="file:{{$field_checkbox}}" field=$hidden}}
+
+<div id="contact-edit-info-wrapper">
+<h4>{{$lbl_info1}}</h4>
+       <textarea id="contact-edit-info" rows="8" cols="60" 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/smarty3/contact_end.tpl b/view/smarty3/contact_end.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/smarty3/contact_head.tpl b/view/smarty3/contact_head.tpl
new file mode 100644 (file)
index 0000000..72e7edb
--- /dev/null
@@ -0,0 +1,30 @@
+<script language="javascript" type="text/javascript"
+          src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
+          <script language="javascript" type="text/javascript">
+
+tinyMCE.init({
+       theme : "advanced",
+       mode : "{{$editselect}}",
+       elements: "contact-edit-info",
+       plugins : "bbcode",
+       theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
+       theme_advanced_buttons2 : "",
+       theme_advanced_buttons3 : "",
+       theme_advanced_toolbar_location : "top",
+       theme_advanced_toolbar_align : "center",
+       theme_advanced_styles : "blockquote,code",
+       gecko_spellcheck : true,
+       entity_encoding : "raw",
+       add_unload_trigger : false,
+       remove_linebreaks : false,
+       force_p_newlines : false,
+       force_br_newlines : true,
+       forced_root_block : '',
+       content_css: "{{$baseurl}}/view/custom_tinymce.css"
+
+
+});
+
+
+</script>
+
diff --git a/view/smarty3/contact_template.tpl b/view/smarty3/contact_template.tpl
new file mode 100644 (file)
index 0000000..790431a
--- /dev/null
@@ -0,0 +1,25 @@
+
+<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}}); openMenu('contact-photo-menu-button-{{$contact.id}}')" 
+               onmouseout="t{{$contact.id}}=setTimeout('closeMenu(\'contact-photo-menu-button-{{$contact.id}}\'); 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>
+
+                       {{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>
+                        {{$contact.photo_menu}}
+                    </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>
+
+       <div class="contact-entry-end" ></div>
+</div>
diff --git a/view/smarty3/contacts-end.tpl b/view/smarty3/contacts-end.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/smarty3/contacts-head.tpl b/view/smarty3/contacts-head.tpl
new file mode 100644 (file)
index 0000000..41f8ebd
--- /dev/null
@@ -0,0 +1,17 @@
+
+<script src="{{$baseurl}}/library/jquery_ac/friendica.complete.js" ></script>
+
+<script>
+$(document).ready(function() { 
+       var a; 
+       a = $("#contacts-search").autocomplete({ 
+               serviceUrl: '{{$base}}/acl',
+               minChars: 2,
+               width: 350,
+       });
+       a.setOptions({ params: { type: 'a' }});
+
+}); 
+
+</script>
+
diff --git a/view/smarty3/contacts-template.tpl b/view/smarty3/contacts-template.tpl
new file mode 100644 (file)
index 0000000..3c998f7
--- /dev/null
@@ -0,0 +1,26 @@
+<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}}
+
+
+{{foreach $contacts as $c}}
+       {{include file="file:{{$contact_template}}" contact=$c}}
+{{/foreach}}
+<div id="contact-edit-end"></div>
+
+{{$paginate}}
+
+
+
+
diff --git a/view/smarty3/contacts-widget-sidebar.tpl b/view/smarty3/contacts-widget-sidebar.tpl
new file mode 100644 (file)
index 0000000..d7b9c4b
--- /dev/null
@@ -0,0 +1,6 @@
+{{$vcard_widget}}
+{{$follow_widget}}
+{{$groups_widget}}
+{{$findpeople_widget}}
+{{$networks_widget}}
+
diff --git a/view/smarty3/content.tpl b/view/smarty3/content.tpl
new file mode 100644 (file)
index 0000000..466045d
--- /dev/null
@@ -0,0 +1,2 @@
+<div id="content-begin"></div>
+<div id="content-end"></div>
diff --git a/view/smarty3/conversation.tpl b/view/smarty3/conversation.tpl
new file mode 100644 (file)
index 0000000..ce5dc5a
--- /dev/null
@@ -0,0 +1,29 @@
+{{$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="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/smarty3/crepair.tpl b/view/smarty3/crepair.tpl
new file mode 100644 (file)
index 0000000..2a05b96
--- /dev/null
@@ -0,0 +1,46 @@
+
+<form id="crepair-form" action="crepair/{{$contact_id}}" method="post" >
+
+<h4>{{$contact_name}}</h4>
+
+<label id="crepair-name-label" class="crepair-label" for="crepair-name">{{$label_name}}</label>
+<input type="text" id="crepair-name" class="crepair-input" name="name" value="{{$contact_name}}" />
+<div class="clear"></div>
+
+<label id="crepair-nick-label" class="crepair-label" for="crepair-nick">{{$label_nick}}</label>
+<input type="text" id="crepair-nick" class="crepair-input" name="nick" value="{{$contact_nick}}" />
+<div class="clear"></div>
+
+<label id="crepair-attag-label" class="crepair-label" for="crepair-attag">{{$label_attag}}</label>
+<input type="text" id="crepair-attag" class="crepair-input" name="attag" value="{{$contact_attag}}" />
+<div class="clear"></div>
+
+<label id="crepair-url-label" class="crepair-label" for="crepair-url">{{$label_url}}</label>
+<input type="text" id="crepair-url" class="crepair-input" name="url" value="{{$contact_url}}" />
+<div class="clear"></div>
+
+<label id="crepair-request-label" class="crepair-label" for="crepair-request">{{$label_request}}</label>
+<input type="text" id="crepair-request" class="crepair-input" name="request" value="{{$request}}" />
+<div class="clear"></div>
+<label id="crepair-confirm-label" class="crepair-label" for="crepair-confirm">{{$label_confirm}}</label>
+<input type="text" id="crepair-confirm" class="crepair-input" name="confirm" value="{{$confirm}}" />
+<div class="clear"></div>
+
+<label id="crepair-notify-label" class="crepair-label" for="crepair-notify">{{$label_notify}}</label>
+<input type="text" id="crepair-notify" class="crepair-input" name="notify" value="{{$notify}}" />
+<div class="clear"></div>
+
+<label id="crepair-poll-label" class="crepair-label" for="crepair-poll">{{$label_poll}}</label>
+<input type="text" id="crepair-poll" class="crepair-input" name="poll" value="{{$poll}}" />
+<div class="clear"></div>
+
+<label id="crepair-photo-label" class="crepair-label" for="crepair-photo">{{$label_photo}}</label>
+<input type="text" id="crepair-photo" class="crepair-input" name="photo" value="" />
+<div class="clear"></div>
+
+<input type="submit" name="submit" value="{{$lbl_submit}}" />
+
+</form>
+
+
diff --git a/view/smarty3/cropbody.tpl b/view/smarty3/cropbody.tpl
new file mode 100644 (file)
index 0000000..da5b1e8
--- /dev/null
@@ -0,0 +1,58 @@
+<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>
+
+<script type="text/javascript" language="javascript">
+
+       function onEndCrop( coords, dimensions ) {
+               $( 'x1' ).value = coords.x1;
+               $( 'y1' ).value = coords.y1;
+               $( 'x2' ).value = coords.x2;
+               $( 'y2' ).value = coords.y2;
+               $( 'width' ).value = dimensions.width;
+               $( 'height' ).value = dimensions.height;
+       }
+
+       Event.observe( window, 'load', function() {
+               new Cropper.ImgWithPreview(
+               'croppa',
+               {
+                       previewWrap: 'previewWrap',
+                       minWidth: 175,
+                       minHeight: 175,
+                       maxWidth: 640,
+                       maxHeight: 640,
+                       ratioDim: { x: 100, y:100 },
+                       displayOnInit: true,
+                       onEndCrop: onEndCrop
+               }
+               );
+       }
+       );
+
+</script>
+
+<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='profile' value='{{$profile}}'>
+<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/smarty3/cropend.tpl b/view/smarty3/cropend.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/smarty3/crophead.tpl b/view/smarty3/crophead.tpl
new file mode 100644 (file)
index 0000000..48f3754
--- /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>
+      <link rel="stylesheet" href="library/cropper/cropper.css" type="text/css" />
diff --git a/view/smarty3/delegate.tpl b/view/smarty3/delegate.tpl
new file mode 100644 (file)
index 0000000..cbaa8da
--- /dev/null
@@ -0,0 +1,57 @@
+<h3>{{$header}}</h3>
+
+<div id="delegate-desc" class="delegate-desc">{{$desc}}</div>
+
+{{if $managers}}
+<h3>{{$head_managers}}</h3>
+
+{{foreach $managers as $x}}
+
+<div class="contact-block-div">
+<a class="contact-block-link" href="#" >
+<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" />
+</a>
+</div>
+
+{{/foreach}}
+<div class="clear"></div>
+<hr />
+{{/if}}
+
+
+<h3>{{$head_delegates}}</h3>
+
+{{if $delegates}}
+{{foreach $delegates as $x}}
+
+<div class="contact-block-div">
+<a class="contact-block-link" href="{{$base}}/delegate/remove/{{$x.uid}}" >
+<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" />
+</a>
+</div>
+
+{{/foreach}}
+<div class="clear"></div>
+{{else}}
+{{$none}}
+{{/if}}
+<hr />
+
+
+<h3>{{$head_potentials}}</h3>
+{{if $potentials}}
+{{foreach $potentials as $x}}
+
+<div class="contact-block-div">
+<a class="contact-block-link" href="{{$base}}/delegate/add/{{$x.uid}}" >
+<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" />
+</a>
+</div>
+
+{{/foreach}}
+<div class="clear"></div>
+{{else}}
+{{$none}}
+{{/if}}
+<hr />
+
diff --git a/view/smarty3/dfrn_req_confirm.tpl b/view/smarty3/dfrn_req_confirm.tpl
new file mode 100644 (file)
index 0000000..655af22
--- /dev/null
@@ -0,0 +1,21 @@
+
+<p id="dfrn-request-homecoming" >
+{{$welcome}}
+<br />
+{{$please}}
+
+</p>
+<form id="dfrn-request-homecoming-form" action="dfrn_request/{{$nickname}}" method="post"> 
+<input type="hidden" name="dfrn_url" value="{{$dfrn_url}}" />
+<input type="hidden" name="confirm_key" value="{{$confirm_key}}" />
+<input type="hidden" name="localconfirm" value="1" />
+{{$aes_allow}}
+
+<label id="dfrn-request-homecoming-hide-label" for="dfrn-request-homecoming-hide">{{$hidethem}}</label>
+<input type="checkbox" name="hidden-contact" value="1" {{if $hidechecked}}checked="checked" {{/if}} />
+
+
+<div id="dfrn-request-homecoming-submit-wrapper" >
+<input id="dfrn-request-homecoming-submit" type="submit" name="submit" value="{{$submit}}" />
+</div>
+</form>
\ No newline at end of file
diff --git a/view/smarty3/dfrn_request.tpl b/view/smarty3/dfrn_request.tpl
new file mode 100644 (file)
index 0000000..aa5cbd6
--- /dev/null
@@ -0,0 +1,65 @@
+
+<h1>{{$header}}</h1>
+
+<p id="dfrn-request-intro">
+{{$page_desc}}<br />
+<ul id="dfrn-request-networks">
+<li><a href="http://friendica.com" title="{{$friendica}}">{{$friendica}}</a></li>
+<li><a href="http://joindiaspora.com" title="{{$diaspora}}">{{$diaspora}}</a> {{$diasnote}}</li>
+<li><a href="http://ostatus.org" title="{{$public_net}}" >{{$statusnet}}</a></li>
+{{if $emailnet}}<li>{{$emailnet}}</li>{{/if}}
+</ul>
+{{$invite_desc}}
+</p>
+<p>
+{{$desc}}
+</p>
+
+<form action="dfrn_request/{{$nickname}}" method="post" />
+
+<div id="dfrn-request-url-wrapper" >
+       <label id="dfrn-url-label" for="dfrn-url" >{{$your_address}}</label>
+       <input type="text" name="dfrn_url" id="dfrn-url" size="32" value="{{$myaddr}}" />
+       <div id="dfrn-request-url-end"></div>
+</div>
+
+<p id="dfrn-request-options">
+{{$pls_answer}}
+</p>
+
+<div id="dfrn-request-info-wrapper" >
+
+
+<p id="doiknowyou">
+{{$does_know}}
+</p>
+
+               <div id="dfrn-request-know-yes-wrapper">
+               <label id="dfrn-request-knowyou-yes-label" for="dfrn-request-knowyouyes">{{$yes}}</label>
+               <input type="radio" name="knowyou" id="knowyouyes" value="1" />
+
+               <div id="dfrn-request-knowyou-break" ></div>    
+               </div>
+               <div id="dfrn-request-know-no-wrapper">
+               <label id="dfrn-request-knowyou-no-label" for="dfrn-request-knowyouno">{{$no}}</label>
+               <input type="radio" name="knowyou" id="knowyouno" value="0" checked="checked" />
+
+               <div id="dfrn-request-knowyou-end"></div>
+               </div>
+
+
+<p id="dfrn-request-message-desc">
+{{$add_note}}
+</p>
+       <div id="dfrn-request-message-wrapper">
+       <textarea name="dfrn-request-message" rows="4" cols="64" ></textarea>
+       </div>
+
+
+</div>
+
+       <div id="dfrn-request-submit-wrapper">
+               <input type="submit" name="submit" id="dfrn-request-submit-button" value="{{$submit}}" />
+               <input type="submit" name="cancel" id="dfrn-request-cancel-button" value="{{$cancel}}" />
+       </div>
+</form>
diff --git a/view/smarty3/diasp_dec_hdr.tpl b/view/smarty3/diasp_dec_hdr.tpl
new file mode 100644 (file)
index 0000000..636ff7b
--- /dev/null
@@ -0,0 +1,8 @@
+<decrypted_hdeader>
+  <iv>{{$inner_iv}}</iv>
+  <aes_key>{{$inner_key}}</aes_key>
+  <author>
+    <name>{{$author_name}}</name>
+    <uri>{{$author_uri}}</uri>
+  </author>
+</decrypted_header>
diff --git a/view/smarty3/diaspora_comment.tpl b/view/smarty3/diaspora_comment.tpl
new file mode 100644 (file)
index 0000000..27ec3df
--- /dev/null
@@ -0,0 +1,11 @@
+<XML>
+  <post>
+    <comment>
+      <guid>{{$guid}}</guid>
+      <parent_guid>{{$parent_guid}}</parent_guid>
+      <author_signature>{{$authorsig}}</author_signature>
+      <text>{{$body}}</text>
+      <diaspora_handle>{{$handle}}</diaspora_handle>
+    </comment>
+  </post>
+</XML>
\ No newline at end of file
diff --git a/view/smarty3/diaspora_comment_relay.tpl b/view/smarty3/diaspora_comment_relay.tpl
new file mode 100644 (file)
index 0000000..37a9e88
--- /dev/null
@@ -0,0 +1,12 @@
+<XML>
+  <post>
+    <comment>
+      <guid>{{$guid}}</guid>
+      <parent_guid>{{$parent_guid}}</parent_guid>
+      <parent_author_signature>{{$parentsig}}</parent_author_signature>
+      <author_signature>{{$authorsig}}</author_signature>
+      <text>{{$body}}</text>
+      <diaspora_handle>{{$handle}}</diaspora_handle>
+    </comment>
+  </post>
+</XML>
\ No newline at end of file
diff --git a/view/smarty3/diaspora_conversation.tpl b/view/smarty3/diaspora_conversation.tpl
new file mode 100644 (file)
index 0000000..dc4482e
--- /dev/null
@@ -0,0 +1,29 @@
+<XML>
+  <post>
+    <conversation>
+      <guid>{{$conv.guid}}</guid>
+      <subject>{{$conv.subject}}</subject>
+      <created_at>{{$conv.created_at}}</created_at>
+
+      {{foreach $conv.messages as $msg}}
+
+      <message>
+        <guid>{{$msg.guid}}</guid>
+        <parent_guid>{{$msg.parent_guid}}</parent_guid>
+        {{if $msg.parent_author_signature}}
+        <parent_author_signature>{{$msg.parent_author_signature}}</parent_author_signature>
+        {{/if}}
+        <author_signature>{{$msg.author_signature}}</author_signature>
+        <text>{{$msg.text}}</text>
+        <created_at>{{$msg.created_at}}</created_at>
+        <diaspora_handle>{{$msg.diaspora_handle}}</diaspora_handle>
+        <conversation_guid>{{$msg.conversation_guid}}</conversation_guid>
+      </message>
+
+      {{/foreach}}
+
+      <diaspora_handle>{{$conv.diaspora_handle}}</diaspora_handle>
+      <participant_handles>{{$conv.participant_handles}}</participant_handles>
+    </conversation>
+  </post>
+</XML>
diff --git a/view/smarty3/diaspora_like.tpl b/view/smarty3/diaspora_like.tpl
new file mode 100644 (file)
index 0000000..b03aef3
--- /dev/null
@@ -0,0 +1,12 @@
+<XML>
+  <post>
+    <like>
+      <target_type>{{$target_type}}</target_type>
+      <guid>{{$guid}}</guid>
+      <parent_guid>{{$parent_guid}}</parent_guid>
+      <author_signature>{{$authorsig}}</author_signature>
+      <positive>{{$positive}}</positive>
+      <diaspora_handle>{{$handle}}</diaspora_handle>
+    </like>
+  </post>
+</XML>
diff --git a/view/smarty3/diaspora_like_relay.tpl b/view/smarty3/diaspora_like_relay.tpl
new file mode 100644 (file)
index 0000000..30df4ca
--- /dev/null
@@ -0,0 +1,13 @@
+<XML>
+  <post>
+    <like>
+      <guid>{{$guid}}</guid>
+      <target_type>{{$target_type}}</target_type>
+      <parent_guid>{{$parent_guid}}</parent_guid>
+      <parent_author_signature>{{$parentsig}}</parent_author_signature>
+      <author_signature>{{$authorsig}}</author_signature>
+      <positive>{{$positive}}</positive>
+      <diaspora_handle>{{$handle}}</diaspora_handle>
+    </like>
+  </post>
+</XML>
diff --git a/view/smarty3/diaspora_message.tpl b/view/smarty3/diaspora_message.tpl
new file mode 100644 (file)
index 0000000..3413d79
--- /dev/null
@@ -0,0 +1,13 @@
+<XML>
+  <post>
+      <message>
+        <guid>{{$msg.guid}}</guid>
+        <parent_guid>{{$msg.parent_guid}}</parent_guid>
+        <author_signature>{{$msg.author_signature}}</author_signature>
+        <text>{{$msg.text}}</text>
+        <created_at>{{$msg.created_at}}</created_at>
+        <diaspora_handle>{{$msg.diaspora_handle}}</diaspora_handle>
+        <conversation_guid>{{$msg.conversation_guid}}</conversation_guid>
+      </message>
+  </post>
+</XML>
diff --git a/view/smarty3/diaspora_photo.tpl b/view/smarty3/diaspora_photo.tpl
new file mode 100644 (file)
index 0000000..cd7ef58
--- /dev/null
@@ -0,0 +1,13 @@
+<XML>
+  <post>
+    <photo>
+      <remote_photo_path>{{$path}}</remote_photo_path>
+      <remote_photo_name>{{$filename}}</remote_photo_name>
+      <status_message_guid>{{$msg_guid}}</status_message_guid>
+      <guid>{{$guid}}</guid>
+      <diaspora_handle>{{$handle}}</diaspora_handle>
+      <public>{{$public}}</public>
+      <created_at>{{$created_at}}</created_at>
+    </photo>
+  </post>
+</XML>
\ No newline at end of file
diff --git a/view/smarty3/diaspora_post.tpl b/view/smarty3/diaspora_post.tpl
new file mode 100644 (file)
index 0000000..abbcc4c
--- /dev/null
@@ -0,0 +1,11 @@
+<XML>
+  <post>
+    <status_message>
+      <raw_message>{{$body}}</raw_message>
+      <guid>{{$guid}}</guid>
+      <diaspora_handle>{{$handle}}</diaspora_handle>
+      <public>{{$public}}</public>
+      <created_at>{{$created}}</created_at>
+    </status_message>
+  </post>
+</XML>
\ No newline at end of file
diff --git a/view/smarty3/diaspora_profile.tpl b/view/smarty3/diaspora_profile.tpl
new file mode 100644 (file)
index 0000000..04f2e29
--- /dev/null
@@ -0,0 +1,16 @@
+<XML>
+ <post><profile>
+  <diaspora_handle>{{$handle}}</diaspora_handle>
+  <first_name>{{$first}}</first_name>
+  <last_name>{{$last}}</last_name>
+  <image_url>{{$large}}</image_url>
+  <image_url_small>{{$small}}</image_url_small>
+  <image_url_medium>{{$medium}}</image_url_medium>
+  <birthday>{{$dob}}</birthday>
+  <gender>{{$gender}}</gender>
+  <bio>{{$about}}</bio>
+  <location>{{$location}}</location>
+  <searchable>{{$searchable}}</searchable>
+  <tag_string>{{$tags}}</tag_string>
+</profile></post>
+      </XML>
diff --git a/view/smarty3/diaspora_relay_retraction.tpl b/view/smarty3/diaspora_relay_retraction.tpl
new file mode 100644 (file)
index 0000000..5e7aed4
--- /dev/null
@@ -0,0 +1,10 @@
+<XML>
+  <post>
+    <relayable_retraction>
+      <target_type>{{$type}}</target_type>
+      <target_guid>{{$guid}}</target_guid>
+      <target_author_signature>{{$signature}}</target_author_signature>
+      <sender_handle>{{$handle}}</sender_handle>
+    </relayable_retraction>
+  </post>
+</XML>
diff --git a/view/smarty3/diaspora_relayable_retraction.tpl b/view/smarty3/diaspora_relayable_retraction.tpl
new file mode 100644 (file)
index 0000000..927e394
--- /dev/null
@@ -0,0 +1,11 @@
+<XML>
+  <post>
+    <relayable_retraction>
+      <target_type>{{$target_type}}</target_type>
+      <target_guid>{{$guid}}</target_guid>
+      <parent_author_signature>{{$parentsig}}</parent_author_signature>
+      <target_author_signature>{{$authorsig}}</target_author_signature>
+      <sender_handle>{{$handle}}</sender_handle>
+    </relayable_retraction>
+  </post>
+</XML>
diff --git a/view/smarty3/diaspora_retract.tpl b/view/smarty3/diaspora_retract.tpl
new file mode 100644 (file)
index 0000000..26e2cb9
--- /dev/null
@@ -0,0 +1,9 @@
+<XML>
+  <post>
+    <retraction>
+      <post_guid>{{$guid}}</post_guid>
+      <type>{{$type}}</type>
+      <diaspora_handle>{{$handle}}</diaspora_handle>
+    </retraction>
+  </post>
+</XML>
\ No newline at end of file
diff --git a/view/smarty3/diaspora_share.tpl b/view/smarty3/diaspora_share.tpl
new file mode 100644 (file)
index 0000000..59eb061
--- /dev/null
@@ -0,0 +1,8 @@
+<XML>
+  <post>
+    <request>
+      <sender_handle>{{$sender}}</sender_handle>
+      <recipient_handle>{{$recipient}}</recipient_handle>
+    </request>
+  </post>
+</XML>
\ No newline at end of file
diff --git a/view/smarty3/diaspora_signed_retract.tpl b/view/smarty3/diaspora_signed_retract.tpl
new file mode 100644 (file)
index 0000000..f0f346d
--- /dev/null
@@ -0,0 +1,10 @@
+<XML>
+  <post>
+    <signed_retraction>
+      <target_guid>{{$guid}}</target_guid>
+      <target_type>{{$type}}</target_type>
+      <sender_handle>{{$handle}}</sender_handle>
+      <target_author_signature>{{$signature}}</target_author_signature>
+    </signed_retraction>
+  </post>
+</XML>
diff --git a/view/smarty3/diaspora_vcard.tpl b/view/smarty3/diaspora_vcard.tpl
new file mode 100644 (file)
index 0000000..9d234a3
--- /dev/null
@@ -0,0 +1,57 @@
+<div style="display:none;">
+       <dl class='entity_nickname'>
+               <dt>Nickname</dt>
+               <dd>            
+                       <a class="nickname url uid" href="{{$diaspora.podloc}}/" rel="me">{{$diaspora.nickname}}</a>
+               </dd>
+       </dl>
+       <dl class='entity_fn'>
+               <dt>Full name</dt>
+               <dd>
+                       <span class='fn'>{{$diaspora.fullname}}</span>
+               </dd>
+       </dl>
+
+       <dl class='entity_given_name'>
+               <dt>First name</dt>
+               <dd>
+               <span class='given_name'>{{$diaspora.firstname}}</span>
+               </dd>
+       </dl>
+       <dl class='entity_family_name'>
+               <dt>Family name</dt>
+               <dd>
+               <span class='family_name'>{{$diaspora.lastname}}</span>
+               </dd>
+       </dl>
+       <dl class="entity_url">
+               <dt>URL</dt>
+               <dd>
+                       <a class="url" href="{{$diaspora.podloc}}/" id="pod_location" rel="me">{{$diaspora.podloc}}/</a>
+               </dd>
+       </dl>
+       <dl class="entity_photo">
+               <dt>Photo</dt>
+               <dd>
+                       <img class="photo avatar" height="300" width="300" src="{{$diaspora.photo300}}">
+               </dd>
+       </dl>
+       <dl class="entity_photo_medium">
+               <dt>Photo</dt>
+               <dd> 
+                       <img class="photo avatar" height="100" width="100" src="{{$diaspora.photo100}}">
+               </dd>
+       </dl>
+       <dl class="entity_photo_small">
+               <dt>Photo</dt>
+               <dd>
+                       <img class="photo avatar" height="50" width="50" src="{{$diaspora.photo50}}">
+               </dd>
+       </dl>
+       <dl class="entity_searchable">
+               <dt>Searchable</dt>
+               <dd>
+                       <span class="searchable">{{$diaspora.searchable}}</span>
+               </dd>
+       </dl>
+</div>
diff --git a/view/smarty3/directory_header.tpl b/view/smarty3/directory_header.tpl
new file mode 100644 (file)
index 0000000..c2ca646
--- /dev/null
@@ -0,0 +1,16 @@
+<h1>{{$sitedir}}</h1>
+
+{{$globaldir}}
+{{$admin}}
+
+{{$finding}}
+
+<div id="directory-search-wrapper">
+<form id="directory-search-form" action="directory" method="get" >
+<span class="dirsearch-desc">{{$desc}}</span>
+<input type="text" name="search" id="directory-search" class="search-input" onfocus="this.select();" value="{{$search}}" />
+<input type="submit" name="submit" id="directory-search-submit" value="{{$submit}}" class="button" />
+</form>
+</div>
+<div id="directory-search-end"></div>
+
diff --git a/view/smarty3/directory_item.tpl b/view/smarty3/directory_item.tpl
new file mode 100644 (file)
index 0000000..f4bd66d
--- /dev/null
@@ -0,0 +1,11 @@
+
+<div class="directory-item lframe" id="directory-item-{{$id}}" >
+       <div class="contact-photo-wrapper" id="directory-photo-wrapper-{{$id}}" > 
+               <div class="contact-photo" id="directory-photo-{{$id}}" >
+                       <a href="{{$profile_link}}" class="directory-profile-link" id="directory-profile-link-{{$id}}" ><img class="directory-photo-img" src="{{$photo}}" alt="{{$alt_text}}" title="{{$alt_text}}" /></a>
+               </div>
+       </div>
+
+       <div class="contact-name" id="directory-name-{{$id}}">{{$name}}</div>
+       <div class="contact-details">{{$details}}</div>
+</div>
diff --git a/view/smarty3/display-head.tpl b/view/smarty3/display-head.tpl
new file mode 100644 (file)
index 0000000..3d4e7e9
--- /dev/null
@@ -0,0 +1,8 @@
+<script>
+$(document).ready(function() {
+       $(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
+       // make auto-complete work in more places
+       $(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
+});
+</script>
+
diff --git a/view/smarty3/email_notify_html.tpl b/view/smarty3/email_notify_html.tpl
new file mode 100644 (file)
index 0000000..38c933a
--- /dev/null
@@ -0,0 +1,27 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
+<html>
+<head>
+       <title>{{$banner}}</title>
+       <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+</head>
+<body>
+<table style="border:1px solid #ccc">
+       <tbody>
+       <tr><td colspan="2" style="background:#084769; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px; float:left;" src='{{$siteurl}}/images/friendica-32.png'><div style="padding:7px; margin-left: 5px; float:left; font-size:18px;letter-spacing:1px;">{{$product}}</div><div style="clear: both;"></div></td></tr>
+
+
+       <tr><td style="padding-top:22px;" colspan="2">{{$preamble}}</td></tr>
+
+
+       <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$source_link}}"><img style="border:0px;width:48px;height:48px;" src="{{$source_photo}}"></a></td>
+               <td style="padding-top:22px;"><a href="{{$source_link}}">{{$source_name}}</a></td></tr>
+       <tr><td style="font-weight:bold;padding-bottom:5px;">{{$title}}</td></tr>
+       <tr><td style="padding-right:22px;">{{$htmlversion}}</td></tr>
+       <tr><td style="padding-top:11px;" colspan="2">{{$hsitelink}}</td></tr>
+       <tr><td style="padding-bottom:11px;" colspan="2">{{$hitemlink}}</td></tr>
+       <tr><td></td><td>{{$thanks}}</td></tr>
+       <tr><td></td><td>{{$site_admin}}</td></tr>
+       </tbody>
+</table>
+</body>
+</html>
diff --git a/view/smarty3/email_notify_text.tpl b/view/smarty3/email_notify_text.tpl
new file mode 100644 (file)
index 0000000..3de0060
--- /dev/null
@@ -0,0 +1,13 @@
+
+{{$preamble}}
+       
+{{$title}}
+
+{{$textversion}}
+                               
+{{$tsitelink}}
+{{$titemlink}}
+
+{{$thanks}}
+{{$site_admin}}
+
diff --git a/view/smarty3/end.tpl b/view/smarty3/end.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/smarty3/event.tpl b/view/smarty3/event.tpl
new file mode 100644 (file)
index 0000000..c8570ce
--- /dev/null
@@ -0,0 +1,10 @@
+{{foreach $events as $event}}
+       <div class="event">
+       
+       {{if $event.item.author-name}}<a href="{{$event.item.author-link}}" ><img src="{{$event.item.author-avatar}}" height="32" width="32" />{{$event.item.author-name}}</a>{{/if}}
+       {{$event.html}}
+       {{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" target="external-link" class="plink-event-link icon s22 remote-link"></a>{{/if}}
+       {{if $event.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link icon s22 pencil"></a>{{/if}}
+       </div>
+       <div class="clear"></div>
+{{/foreach}}
diff --git a/view/smarty3/event_end.tpl b/view/smarty3/event_end.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/smarty3/event_form.tpl b/view/smarty3/event_form.tpl
new file mode 100644 (file)
index 0000000..0091b59
--- /dev/null
@@ -0,0 +1,49 @@
+<h3>{{$title}}</h3>
+
+<p>
+{{$desc}}
+</p>
+
+<form action="{{$post}}" method="post" >
+
+<input type="hidden" name="event_id" value="{{$eid}}" />
+<input type="hidden" name="cid" value="{{$cid}}" />
+<input type="hidden" name="uri" value="{{$uri}}" />
+
+<div id="event-start-text">{{$s_text}}</div>
+{{$s_dsel}} {{$s_tsel}}
+
+<div id="event-finish-text">{{$f_text}}</div>
+{{$f_dsel}} {{$f_tsel}}
+
+<div id="event-datetime-break"></div>
+
+<input type="checkbox" name="nofinish" value="1" id="event-nofinish-checkbox" {{$n_checked}} /> <div id="event-nofinish-text">{{$n_text}}</div>
+
+<div id="event-nofinish-break"></div>
+
+<input type="checkbox" name="adjust" value="1" id="event-adjust-checkbox" {{$a_checked}} /> <div id="event-adjust-text">{{$a_text}}</div>
+
+<div id="event-adjust-break"></div>
+
+<div id="event-summary-text">{{$t_text}}</div>
+<input type="text" id="event-summary" name="summary" value="{{$t_orig}}" />
+
+
+<div id="event-desc-text">{{$d_text}}</div>
+<textarea id="event-desc-textarea" name="desc">{{$d_orig}}</textarea>
+
+
+<div id="event-location-text">{{$l_text}}</div>
+<textarea id="event-location-textarea" name="location">{{$l_orig}}</textarea>
+
+<input type="checkbox" name="share" value="1" id="event-share-checkbox" {{$sh_checked}} /> <div id="event-share-text">{{$sh_text}}</div>
+<div id="event-share-break"></div>
+
+{{$acl}}
+
+<div class="clear"></div>
+<input id="event-submit" type="submit" name="submit" value="{{$submit}}" />
+</form>
+
+
diff --git a/view/smarty3/event_head.tpl b/view/smarty3/event_head.tpl
new file mode 100644 (file)
index 0000000..2e2992e
--- /dev/null
@@ -0,0 +1,139 @@
+<link rel='stylesheet' type='text/css' href='{{$baseurl}}/library/fullcalendar/fullcalendar.css' />
+<script language="javascript" type="text/javascript"
+          src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script>
+
+<script>
+       function showEvent(eventid) {
+               $.get(
+                       '{{$baseurl}}/events/?id='+eventid,
+                       function(data){
+                               $.fancybox(data);
+                       }
+               );                      
+       }
+       
+       $(document).ready(function() {
+               $('#events-calendar').fullCalendar({
+                       events: '{{$baseurl}}/events/json/',
+                       header: {
+                               left: 'prev,next today',
+                               center: 'title',
+                               right: 'month,agendaWeek,agendaDay'
+                       },                      
+                       timeFormat: 'H(:mm)',
+                       eventClick: function(calEvent, jsEvent, view) {
+                               showEvent(calEvent.id);
+                       },
+                       
+                       eventRender: function(event, element, view) {
+                               //console.log(view.name);
+                               if (event.item['author-name']==null) return;
+                               switch(view.name){
+                                       case "month":
+                                       element.find(".fc-event-title").html(
+                                               "<img src='{0}' style='height:10px;width:10px'>{1} : {2}".format(
+                                                       event.item['author-avatar'],
+                                                       event.item['author-name'],
+                                                       event.title
+                                       ));
+                                       break;
+                                       case "agendaWeek":
+                                       element.find(".fc-event-title").html(
+                                               "<img src='{0}' style='height:12px; width:12px'>{1}<p>{2}</p><p>{3}</p>".format(
+                                                       event.item['author-avatar'],
+                                                       event.item['author-name'],
+                                                       event.item.desc,
+                                                       event.item.location
+                                       ));
+                                       break;
+                                       case "agendaDay":
+                                       element.find(".fc-event-title").html(
+                                               "<img src='{0}' style='height:24px;width:24px'>{1}<p>{2}</p><p>{3}</p>".format(
+                                                       event.item['author-avatar'],
+                                                       event.item['author-name'],
+                                                       event.item.desc,
+                                                       event.item.location
+                                       ));
+                                       break;
+                               }
+                       }
+                       
+               })
+               
+               // center on date
+               var args=location.href.replace(baseurl,"").split("/");
+               if (args.length>=4) {
+                       $("#events-calendar").fullCalendar('gotoDate',args[2] , args[3]-1);
+               } 
+               
+               // show event popup
+               var hash = location.hash.split("-")
+               if (hash.length==2 && hash[0]=="#link") showEvent(hash[1]);
+               
+       });
+</script>
+
+
+<script language="javascript" type="text/javascript"
+          src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
+<script language="javascript" type="text/javascript">
+
+
+       tinyMCE.init({
+               theme : "advanced",
+               mode : "textareas",
+               plugins : "bbcode,paste",
+               theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
+               theme_advanced_buttons2 : "",
+               theme_advanced_buttons3 : "",
+               theme_advanced_toolbar_location : "top",
+               theme_advanced_toolbar_align : "center",
+               theme_advanced_blockformats : "blockquote,code",
+               gecko_spellcheck : true,
+               paste_text_sticky : true,
+               entity_encoding : "raw",
+               add_unload_trigger : false,
+               remove_linebreaks : false,
+               force_p_newlines : false,
+               force_br_newlines : true,
+               forced_root_block : '',
+               content_css: "{{$baseurl}}/view/custom_tinymce.css",
+               theme_advanced_path : false,
+               setup : function(ed) {
+                       ed.onInit.add(function(ed) {
+                               ed.pasteAsPlainText = true;
+                       });
+               }
+
+       });
+
+
+       $(document).ready(function() { 
+
+               $('#event-share-checkbox').change(function() {
+
+                       if ($('#event-share-checkbox').is(':checked')) { 
+                               $('#acl-wrapper').show();
+                       }
+                       else {
+                               $('#acl-wrapper').hide();
+                       }
+               }).trigger('change');
+
+
+               $('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
+                       var selstr;
+                       $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
+                               selstr = $(this).text();
+                               $('#jot-public').hide();
+                       });
+                       if(selstr == null) {
+                               $('#jot-public').show();
+                       }
+
+               }).trigger('change');
+
+       });
+
+</script>
+
diff --git a/view/smarty3/events-js.tpl b/view/smarty3/events-js.tpl
new file mode 100644 (file)
index 0000000..c87d205
--- /dev/null
@@ -0,0 +1,6 @@
+{{$tabs}}
+<h2>{{$title}}</h2>
+
+<div id="new-event-link"><a href="{{$new_event.0}}" >{{$new_event.1}}</a></div>
+
+<div id="events-calendar"></div>
diff --git a/view/smarty3/events.tpl b/view/smarty3/events.tpl
new file mode 100644 (file)
index 0000000..0d20b0a
--- /dev/null
@@ -0,0 +1,24 @@
+{{$tabs}}
+<h2>{{$title}}</h2>
+
+<div id="new-event-link"><a href="{{$new_event.0}}" >{{$new_event.1}}</a></div>
+
+<div id="event-calendar-wrapper">
+       <a href="{{$previus.0}}" class="prevcal {{$previus.2}}"><div id="event-calendar-prev" class="icon s22 prev" title="{{$previus.1}}"></div></a>
+       {{$calendar}}
+       <a href="{{$next.0}}" class="nextcal {{$next.2}}"><div id="event-calendar-prev" class="icon s22 next" title="{{$next.1}}"></div></a>
+</div>
+<div class="event-calendar-end"></div>
+
+
+{{foreach $events as $event}}
+       <div class="event">
+       {{if $event.is_first}}<hr /><a name="link-{{$event.j}}" ><div class="event-list-date">{{$event.d}}</div></a>{{/if}}
+       {{if $event.item.author-name}}<a href="{{$event.item.author-link}}" ><img src="{{$event.item.author-avatar}}" height="32" width="32" />{{$event.item.author-name}}</a>{{/if}}
+       {{$event.html}}
+       {{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" target="external-link" class="plink-event-link icon s22 remote-link"></a>{{/if}}
+       {{if $event.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link icon s22 pencil"></a>{{/if}}
+       </div>
+       <div class="clear"></div>
+
+{{/foreach}}
diff --git a/view/smarty3/events_reminder.tpl b/view/smarty3/events_reminder.tpl
new file mode 100644 (file)
index 0000000..bd07057
--- /dev/null
@@ -0,0 +1,10 @@
+{{if $count}}
+<div id="event-notice" class="birthday-notice fakelink {{$classtoday}}" onclick="openClose('event-wrapper');">{{$event_reminders}} ({{$count}})</div>
+<div id="event-wrapper" style="display: none;" ><div id="event-title">{{$event_title}}</div>
+<div id="event-title-end"></div>
+{{foreach $events as $event}}
+<div class="event-list" id="event-{{$event.id}}"> <a href="events/{{$event.link}}">{{$event.title}}</a> {{$event.date}} </div>
+{{/foreach}}
+</div>
+{{/if}}
+
diff --git a/view/smarty3/failed_updates.tpl b/view/smarty3/failed_updates.tpl
new file mode 100644 (file)
index 0000000..68c0bcd
--- /dev/null
@@ -0,0 +1,17 @@
+<h2>{{$banner}}</h2>
+
+<div id="failed_updates_desc">{{$desc}}</div>
+
+{{if $failed}}
+{{foreach $failed as $f}}
+
+<h4>{{$f}}</h4>
+<ul>
+<li><a href="{{$base}}/admin/dbsync/mark/{{$f}}">{{$mark}}</a></li>
+<li><a href="{{$base}}/admin/dbsync/{{$f}}">{{$apply}}</a></li>
+</ul>
+
+<hr />
+{{/foreach}}
+{{/if}}
+
diff --git a/view/smarty3/fake_feed.tpl b/view/smarty3/fake_feed.tpl
new file mode 100644 (file)
index 0000000..c37071c
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<feed xmlns="http://www.w3.org/2005/Atom" >
+
+  <id>fake feed</id>
+  <title>fake title</title>
+
+  <updated>1970-01-01T00:00:00Z</updated>
+
+  <author>
+    <name>Fake Name</name>
+    <uri>http://example.com</uri>
+  </author>
+
diff --git a/view/smarty3/field.tpl b/view/smarty3/field.tpl
new file mode 100644 (file)
index 0000000..c364bd9
--- /dev/null
@@ -0,0 +1,4 @@
+
+ {{if $field.0==select}}
+ {{include file="file:{{$field_select}}"}}
+ {{/if}}
diff --git a/view/smarty3/field_checkbox.tpl b/view/smarty3/field_checkbox.tpl
new file mode 100644 (file)
index 0000000..3771fc4
--- /dev/null
@@ -0,0 +1,6 @@
+       
+       <div class='field checkbox' id='div_id_{{$field.0}}'>
+               <label 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}}>
+               <span class='field_help'>{{$field.3}}</span>
+       </div>
diff --git a/view/smarty3/field_combobox.tpl b/view/smarty3/field_combobox.tpl
new file mode 100644 (file)
index 0000000..3d69e2d
--- /dev/null
@@ -0,0 +1,18 @@
+       
+       <div class='field combobox'>
+               <label for='id_{{$field.0}}' id='id_{{$field.0}}_label'>{{$field.1}}</label>
+               {{* html5 don't work on Chrome, Safari and IE9
+               <input id="id_{{$field.0}}" type="text" list="data_{{$field.0}}" >
+               <datalist id="data_{{$field.0}}" >
+                  {{foreach $field.4 as $opt=>$val}}<option value="{{$val}}">{{/foreach}}
+               </datalist> *}}
+               
+               <input id="id_{{$field.0}}" type="text" value="{{$field.2}}">
+               <select id="select_{{$field.0}}" onChange="$('#id_{{$field.0}}').val($(this).val())">
+                       <option value="">{{$field.5}}</option>
+                       {{foreach $field.4 as $opt=>$val}}<option value="{{$val}}">{{$val}}</option>{{/foreach}}
+               </select>
+               
+               <span class='field_help'>{{$field.3}}</span>
+       </div>
+
diff --git a/view/smarty3/field_custom.tpl b/view/smarty3/field_custom.tpl
new file mode 100644 (file)
index 0000000..e1bf318
--- /dev/null
@@ -0,0 +1,6 @@
+       
+       <div class='field custom'>
+               <label for='{{$field.0}}'>{{$field.1}}</label>
+               {{$field.2}}
+               <span class='field_help'>{{$field.3}}</span>
+       </div>
diff --git a/view/smarty3/field_input.tpl b/view/smarty3/field_input.tpl
new file mode 100644 (file)
index 0000000..9f0103f
--- /dev/null
@@ -0,0 +1,6 @@
+       
+       <div class='field input'>
+               <label for='id_{{$field.0}}'>{{$field.1}}</label>
+               <input name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
+               <span class='field_help'>{{$field.3}}</span>
+       </div>
diff --git a/view/smarty3/field_intcheckbox.tpl b/view/smarty3/field_intcheckbox.tpl
new file mode 100644 (file)
index 0000000..a6ef7cc
--- /dev/null
@@ -0,0 +1,6 @@
+       
+       <div class='field checkbox'>
+               <label for='id_{{$field.0}}'>{{$field.1}}</label>
+               <input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.3}}" {{if $field.2}}checked="true"{{/if}}>
+               <span class='field_help'>{{$field.4}}</span>
+       </div>
diff --git a/view/smarty3/field_openid.tpl b/view/smarty3/field_openid.tpl
new file mode 100644 (file)
index 0000000..53dbfdd
--- /dev/null
@@ -0,0 +1,6 @@
+       
+       <div class='field input openid'>
+               <label for='id_{{$field.0}}'>{{$field.1}}</label>
+               <input name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
+               <span class='field_help'>{{$field.3}}</span>
+       </div>
diff --git a/view/smarty3/field_password.tpl b/view/smarty3/field_password.tpl
new file mode 100644 (file)
index 0000000..e840a31
--- /dev/null
@@ -0,0 +1,6 @@
+       
+       <div class='field password'>
+               <label for='id_{{$field.0}}'>{{$field.1}}</label>
+               <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/smarty3/field_radio.tpl b/view/smarty3/field_radio.tpl
new file mode 100644 (file)
index 0000000..cff8881
--- /dev/null
@@ -0,0 +1,6 @@
+       
+       <div class='field radio'>
+               <label for='id_{{$field.0}}_{{$field.2}}'>{{$field.1}}</label>
+               <input type="radio" name='{{$field.0}}' id='id_{{$field.0}}_{{$field.2}}' value="{{$field.2}}" {{if $field.4}}checked="true"{{/if}}>
+               <span class='field_help'>{{$field.3}}</span>
+       </div>
diff --git a/view/smarty3/field_richtext.tpl b/view/smarty3/field_richtext.tpl
new file mode 100644 (file)
index 0000000..6414939
--- /dev/null
@@ -0,0 +1,6 @@
+       
+       <div class='field richtext'>
+               <label for='id_{{$field.0}}'>{{$field.1}}</label>
+               <textarea name='{{$field.0}}' id='id_{{$field.0}}' class="fieldRichtext">{{$field.2}}</textarea>
+               <span class='field_help'>{{$field.3}}</span>
+       </div>
diff --git a/view/smarty3/field_select.tpl b/view/smarty3/field_select.tpl
new file mode 100644 (file)
index 0000000..18192e1
--- /dev/null
@@ -0,0 +1,8 @@
+       
+       <div class='field select'>
+               <label for='id_{{$field.0}}'>{{$field.1}}</label>
+               <select name='{{$field.0}}' id='id_{{$field.0}}'>
+                       {{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>
diff --git a/view/smarty3/field_select_raw.tpl b/view/smarty3/field_select_raw.tpl
new file mode 100644 (file)
index 0000000..4e495dc
--- /dev/null
@@ -0,0 +1,8 @@
+       
+       <div class='field select'>
+               <label for='id_{{$field.0}}'>{{$field.1}}</label>
+               <select name='{{$field.0}}' id='id_{{$field.0}}'>
+                       {{$field.4}}
+               </select>
+               <span class='field_help'>{{$field.3}}</span>
+       </div>
diff --git a/view/smarty3/field_textarea.tpl b/view/smarty3/field_textarea.tpl
new file mode 100644 (file)
index 0000000..8c31156
--- /dev/null
@@ -0,0 +1,6 @@
+       
+       <div class='field textarea'>
+               <label for='id_{{$field.0}}'>{{$field.1}}</label>
+               <textarea name='{{$field.0}}' id='id_{{$field.0}}'>{{$field.2}}</textarea>
+               <span class='field_help'>{{$field.3}}</span>
+       </div>
diff --git a/view/smarty3/field_themeselect.tpl b/view/smarty3/field_themeselect.tpl
new file mode 100644 (file)
index 0000000..9b6ef23
--- /dev/null
@@ -0,0 +1,9 @@
+       <script>$(function(){ previewTheme($("#id_{{$field.0}}")[0]); });</script>
+       <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/smarty3/field_yesno.tpl b/view/smarty3/field_yesno.tpl
new file mode 100644 (file)
index 0000000..e36e775
--- /dev/null
@@ -0,0 +1,13 @@
+       <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>
diff --git a/view/smarty3/fileas_widget.tpl b/view/smarty3/fileas_widget.tpl
new file mode 100644 (file)
index 0000000..70d68c5
--- /dev/null
@@ -0,0 +1,12 @@
+<div id="fileas-sidebar" class="widget">
+       <h3>{{$title}}</h3>
+       <div id="nets-desc">{{$desc}}</div>
+       
+       <ul class="fileas-ul">
+               <li class="tool"><a href="{{$base}}" class="fileas-link fileas-all{{if $sel_all}} fileas-selected{{/if}}">{{$all}}</a></li>
+               {{foreach $terms as $term}}
+                       <li class="tool"><a href="{{$base}}?f=&file={{$term.name}}" class="fileas-link{{if $term.selected}} fileas-selected{{/if}}">{{$term.name}}</a></li>
+               {{/foreach}}
+       </ul>
+       
+</div>
diff --git a/view/smarty3/filebrowser.tpl b/view/smarty3/filebrowser.tpl
new file mode 100644 (file)
index 0000000..c5171ae
--- /dev/null
@@ -0,0 +1,84 @@
+<!DOCTYPE html>
+<html>
+       <head>
+       <script type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_popup.js"></script>
+       <style>
+               .panel_wrapper div.current{.overflow: auto; height: auto!important; }
+               .filebrowser.path { font-family: fixed; font-size: 10px; background-color: #f0f0ee; height:auto; overflow:auto;}
+               .filebrowser.path a { border-left: 1px solid #C0C0AA; background-color: #E0E0DD; display: block; float:left; padding: 0.3em 1em;}
+               .filebrowser ul{ list-style-type: none; padding:0px; }
+               .filebrowser.folders a { display: block; padding: 0.3em }
+               .filebrowser.folders a:hover { background-color: #f0f0ee; }
+               .filebrowser.files.image { overflow: auto; height: auto; }
+               .filebrowser.files.image img { height:50px;}
+               .filebrowser.files.image li { display: block; padding: 5px; float: left; }
+               .filebrowser.files.image span { display: none;}
+               .filebrowser.files.file img { height:16px; vertical-align: bottom;}
+               .filebrowser.files a { display: block;  padding: 0.3em}
+               .filebrowser.files a:hover { background-color: #f0f0ee; }
+               .filebrowser a { text-decoration: none; }
+       </style>
+       <script>
+               var FileBrowserDialogue = {
+                       init : function () {
+                               // Here goes your code for setting your custom things onLoad.
+                       },
+                       mySubmit : function (URL) {
+                               //var URL = document.my_form.my_field.value;
+                               var win = tinyMCEPopup.getWindowArg("window");
+
+                               // insert information now
+                               win.document.getElementById(tinyMCEPopup.getWindowArg("input")).value = URL;
+
+                               // are we an image browser
+                               if (typeof(win.ImageDialog) != "undefined") {
+                                       // we are, so update image dimensions...
+                                       if (win.ImageDialog.getImageData)
+                                               win.ImageDialog.getImageData();
+
+                                       // ... and preview if necessary
+                                       if (win.ImageDialog.showPreviewImage)
+                                               win.ImageDialog.showPreviewImage(URL);
+                               }
+
+                               // close popup window
+                               tinyMCEPopup.close();
+                       }
+               }
+
+               tinyMCEPopup.onInit.add(FileBrowserDialogue.init, FileBrowserDialogue);
+       </script>
+       </head>
+       <body>
+       
+       <div class="tabs">
+               <ul >
+                       <li class="current"><span>FileBrowser</span></li>
+               </ul>
+       </div>
+       <div class="panel_wrapper">
+
+               <div id="general_panel" class="panel current">
+                       <div class="filebrowser path">
+                               {{foreach $path as $p}}<a href="{{$p.0}}">{{$p.1}}</a>{{/foreach}}
+                       </div>
+                       <div class="filebrowser folders">
+                               <ul>
+                                       {{foreach $folders as $f}}<li><a href="{{$f.0}}/">{{$f.1}}</a></li>{{/foreach}}
+                               </ul>
+                       </div>
+                       <div class="filebrowser files {{$type}}">
+                               <ul>
+                               {{foreach $files as $f}}
+                                       <li><a href="#" onclick="FileBrowserDialogue.mySubmit('{{$f.0}}'); return false;"><img src="{{$f.2}}"><span>{{$f.1}}</span></a></li>
+                               {{/foreach}}
+                               </ul>
+                       </div>
+               </div>
+       </div>
+       <div class="mceActionPanel">
+               <input type="button" id="cancel" name="cancel" value="{{*cancel}" onclick="tinyMCEPopup.close();" />
+       </div>  
+       </body>
+       
+</html>
diff --git a/view/smarty3/filer_dialog.tpl b/view/smarty3/filer_dialog.tpl
new file mode 100644 (file)
index 0000000..5444d7f
--- /dev/null
@@ -0,0 +1,4 @@
+{{include file="file:{{$field_combobox}}"}}
+<div class="settings-submit-wrapper" >
+       <input id="filer_save" type="button" class="settings-submit" value="{{$submit}}" />
+</div>
diff --git a/view/smarty3/follow.tpl b/view/smarty3/follow.tpl
new file mode 100644 (file)
index 0000000..e0326c5
--- /dev/null
@@ -0,0 +1,8 @@
+<div id="follow-sidebar" class="widget">
+       <h3>{{$connect}}</h3>
+       <div id="connect-desc">{{$desc}}</div>
+       <form action="follow" method="post" >
+               <input id="side-follow-url" type="text" name="url" size="24" title="{{$hint}}" /><input id="side-follow-submit" type="submit" name="submit" value="{{$follow}}" />
+       </form>
+</div>
+
diff --git a/view/smarty3/follow_slap.tpl b/view/smarty3/follow_slap.tpl
new file mode 100644 (file)
index 0000000..faa5f4b
--- /dev/null
@@ -0,0 +1,25 @@
+       <entry>
+               <author>
+                       <name>{{$name}}</name>
+                       <uri>{{$profile_page}}</uri>
+                       <link rel="photo"  type="image/jpeg" media:width="80" media:height="80" href="{{$thumb}}" />
+                       <link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="{{$thumb}}" />
+               </author>
+
+               <id>{{$item_id}}</id>
+               <title>{{$title}}</title>
+               <published>{{$published}}</published>
+               <content type="{{$type}}" >{{$content}}</content>
+
+               <as:actor>
+               <as:object-type>http://activitystrea.ms/schema/1.0/person</as:object-type>
+               <id>{{$profile_page}}</id>
+               <title></title>
+               <link rel="avatar" type="image/jpeg" media:width="175" media:height="175" href="{{$photo}}"/>
+               <link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="{{$thumb}}"/>
+               <poco:preferredUsername>{{$nick}}</poco:preferredUsername>
+               <poco:displayName>{{$name}}</poco:displayName>
+               </as:actor>
+               <as:verb>{{$verb}}</as:verb>
+               {{$ostat_follow}}
+       </entry>
diff --git a/view/smarty3/generic_links_widget.tpl b/view/smarty3/generic_links_widget.tpl
new file mode 100644 (file)
index 0000000..8b4c67b
--- /dev/null
@@ -0,0 +1,11 @@
+<div class="widget{{if $class}} {{$class}}{{/if}}">
+       {{if $title}}<h3>{{$title}}</h3>{{/if}}
+       {{if $desc}}<div class="desc">{{$desc}}</div>{{/if}}
+       
+       <ul>
+               {{foreach $items as $item}}
+                       <li class="tool"><a href="{{$item.url}}" class="{{if $item.selected}}selected{{/if}}">{{$item.label}}</a></li>
+               {{/foreach}}
+       </ul>
+       
+</div>
diff --git a/view/smarty3/group_drop.tpl b/view/smarty3/group_drop.tpl
new file mode 100644 (file)
index 0000000..670136d
--- /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/smarty3/group_edit.tpl b/view/smarty3/group_edit.tpl
new file mode 100644 (file)
index 0000000..e381ff4
--- /dev/null
@@ -0,0 +1,23 @@
+<h2>{{$title}}</h2>
+
+
+<div id="group-edit-wrapper" >
+       <form action="group/{{$gid}}" id="group-edit-form" method="post" >
+               <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+               
+               {{include file="file:{{$field_input}}" field=$gname}}
+               {{if $drop}}{{$drop}}{{/if}}
+               <div id="group-edit-submit-wrapper" >
+                       <input type="submit" name="submit" value="{{$submit}}" >
+               </div>
+               <div id="group-edit-select-end" ></div>
+       </form>
+</div>
+
+
+{{if $groupedit_info}}
+       <div id="group-update-wrapper">
+               {{include file="file:{{$groupeditortpl}}" groupeditor=$groupedit_info}}
+       </div>
+{{/if}}
+{{if $desc}}<div id="group-edit-desc">{{$desc}}</div>{{/if}}
diff --git a/view/smarty3/group_selection.tpl b/view/smarty3/group_selection.tpl
new file mode 100644 (file)
index 0000000..2223125
--- /dev/null
@@ -0,0 +1,8 @@
+<div class="field custom">
+<label for="group-selection" id="group-selection-lbl">{{$label}}</label>
+<select name="group-selection" id="group-selection" >
+{{foreach $groups as $group}}
+<option value="{{$group.id}}" {{if $group.selected}}selected="selected"{{/if}} >{{$group.name}}</option>
+{{/foreach}}
+</select>
+</div>
diff --git a/view/smarty3/group_side.tpl b/view/smarty3/group_side.tpl
new file mode 100644 (file)
index 0000000..ebc8205
--- /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">
+               {{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/smarty3/groupeditor.tpl b/view/smarty3/groupeditor.tpl
new file mode 100644 (file)
index 0000000..c79bb0a
--- /dev/null
@@ -0,0 +1,16 @@
+<div id="group">
+<h3>{{$groupeditor.label_members}}</h3>
+<div id="group-members" class="contact_list">
+{{foreach $groupeditor.members as $c}} {{$c}} {{/foreach}}
+</div>
+<div id="group-members-end"></div>
+<hr id="group-separator" />
+</div>
+
+<div id="contacts">
+<h3>{{$groupeditor.label_contacts}}</h3>
+<div id="group-all-contacts" class="contact_list">
+{{foreach $groupeditor.contacts as $m}} {{$m}} {{/foreach}}
+</div>
+<div id="group-all-contacts-end"></div>
+</div>
diff --git a/view/smarty3/head.tpl b/view/smarty3/head.tpl
new file mode 100644 (file)
index 0000000..9b7bc91
--- /dev/null
@@ -0,0 +1,112 @@
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+<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="apple-touch-icon" href="{{$baseurl}}/images/friendica-128.png"/>
+<meta name="apple-mobile-web-app-capable" content="yes" /> 
+
+
+<link rel="search"
+         href="{{$baseurl}}/opensearch" 
+         type="application/opensearchdescription+xml" 
+         title="Search in Friendica" />
+
+<!--[if IE]>
+<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+<![endif]-->
+<script type="text/javascript" src="{{$baseurl}}/js/jquery.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/js/jquery.textinputs.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/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}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/js/acl.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/js/webtoolkit.base64.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/js/main.js" ></script>
+<script>
+
+       var updateInterval = {{$update_interval}};
+       var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
+
+       function confirmDelete() { return confirm("{{$delitem}}"); }
+       function commentOpen(obj,id) {
+               if(obj.value == '{{$comment}}') {
+                       obj.value = '';
+                       $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
+                       $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
+                       $("#mod-cmnt-wrap-" + id).show();
+                       openMenu("comment-edit-submit-wrapper-" + id);
+                       return true;
+               }
+               return false;
+       }
+       function commentClose(obj,id) {
+               if(obj.value == '') {
+                       obj.value = '{{$comment}}';
+                       $("#comment-edit-text-" + id).removeClass("comment-edit-text-full");
+                       $("#comment-edit-text-" + id).addClass("comment-edit-text-empty");
+                       $("#mod-cmnt-wrap-" + id).hide();
+                       closeMenu("comment-edit-submit-wrapper-" + id);
+                       return true;
+               }
+               return false;
+       }
+
+
+       function commentInsert(obj,id) {
+               var tmpStr = $("#comment-edit-text-" + id).val();
+               if(tmpStr == '{{$comment}}') {
+                       tmpStr = '';
+                       $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
+                       $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
+                       openMenu("comment-edit-submit-wrapper-" + id);
+               }
+               var ins = $(obj).html();
+               ins = ins.replace('&lt;','<');
+               ins = ins.replace('&gt;','>');
+               ins = ins.replace('&amp;','&');
+               ins = ins.replace('&quot;','"');
+               $("#comment-edit-text-" + id).val(tmpStr + ins);
+       }
+
+       function qCommentInsert(obj,id) {
+               var tmpStr = $("#comment-edit-text-" + id).val();
+               if(tmpStr == '{{$comment}}') {
+                       tmpStr = '';
+                       $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
+                       $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
+                       openMenu("comment-edit-submit-wrapper-" + id);
+               }
+               var ins = $(obj).val();
+               ins = ins.replace('&lt;','<');
+               ins = ins.replace('&gt;','>');
+               ins = ins.replace('&amp;','&');
+               ins = ins.replace('&quot;','"');
+               $("#comment-edit-text-" + id).val(tmpStr + ins);
+               $(obj).val('');
+       }
+
+       window.showMore = "{{$showmore}}";
+       window.showFewer = "{{$showfewer}}";
+
+       function showHideCommentBox(id) {
+               if( $('#comment-edit-form-' + id).is(':visible')) {
+                       $('#comment-edit-form-' + id).hide();
+               }
+               else {
+                       $('#comment-edit-form-' + id).show();
+               }
+       }
+
+
+</script>
+
+
diff --git a/view/smarty3/hide_comments.tpl b/view/smarty3/hide_comments.tpl
new file mode 100644 (file)
index 0000000..f4ed9c5
--- /dev/null
@@ -0,0 +1,4 @@
+<div class="hide-comments-outer">
+<span id="hide-comments-total-{{$id}}" class="hide-comments-total">{{$num_comments}}</span> <span id="hide-comments-{{$id}}" class="hide-comments fakelink" onclick="showHideComments({{$id}});">{{$hide_text}}</span>
+</div>
+<div id="collapsed-comments-{{$id}}" class="collapsed-comments" style="display: {{$display}};">
diff --git a/view/smarty3/install.tpl b/view/smarty3/install.tpl
new file mode 100644 (file)
index 0000000..81475f5
--- /dev/null
@@ -0,0 +1,10 @@
+
+<h1>{{$title}}</h1>
+<h2>{{$pass}}</h2>
+
+
+{{if $status}}
+<h3 class="error-message">{{$status}}</h3>
+{{/if}}
+
+{{$text}}
diff --git a/view/smarty3/install_checks.tpl b/view/smarty3/install_checks.tpl
new file mode 100644 (file)
index 0000000..2a47a6e
--- /dev/null
@@ -0,0 +1,24 @@
+<h1>{{$title}}</h1>
+<h2>{{$pass}}</h2>
+<form  action="{{$baseurl}}/index.php?q=install" method="post">
+<table>
+{{foreach $checks as $check}}
+       <tr><td>{{$check.title}} </td><td><span class="icon s22 {{if $check.status}}on{{else}}{{if $check.required}}off{{else}}yellow{{/if}}{{/if}}"></td><td>{{if $check.required}}(required){{/if}}</td></tr>
+       {{if $check.help}}
+       <tr><td colspan="3"><blockquote>{{$check.help}}</blockquote></td></tr>
+       {{/if}}
+{{/foreach}}
+</table>
+
+{{if $phpath}}
+       <input type="hidden" name="phpath" value="{{$phpath}}">
+{{/if}}
+
+{{if $passed}}
+       <input type="hidden" name="pass" value="2">
+       <input type="submit" value="{{$next}}">
+{{else}}
+       <input type="hidden" name="pass" value="1">
+       <input type="submit" value="{{$reload}}">
+{{/if}}
+</form>
diff --git a/view/smarty3/install_db.tpl b/view/smarty3/install_db.tpl
new file mode 100644 (file)
index 0000000..3d9a107
--- /dev/null
@@ -0,0 +1,30 @@
+
+<h1>{{$title}}</h1>
+<h2>{{$pass}}</h2>
+
+
+<p>
+{{$info_01}}<br>
+{{$info_02}}<br>
+{{$info_03}}
+</p>
+
+{{if $status}}
+<h3 class="error-message">{{$status}}</h3>
+{{/if}}
+
+<form id="install-form" action="{{$baseurl}}/install" method="post">
+
+<input type="hidden" name="phpath" value="{{$phpath}}" />
+<input type="hidden" name="pass" value="3" />
+
+{{include file="file:{{$field_input}}" field=$dbhost}}
+{{include file="file:{{$field_input}}" field=$dbuser}}
+{{include file="file:{{$field_password}}" field=$dbpass}}
+{{include file="file:{{$field_input}}" field=$dbdata}}
+
+
+<input id="install-submit" type="submit" name="submit" value="{{$submit}}" /> 
+
+</form>
+
diff --git a/view/smarty3/install_settings.tpl b/view/smarty3/install_settings.tpl
new file mode 100644 (file)
index 0000000..83efa3d
--- /dev/null
@@ -0,0 +1,25 @@
+
+<h1>{{$title}}</h1>
+<h2>{{$pass}}</h2>
+
+
+{{if $status}}
+<h3 class="error-message">{{$status}}</h3>
+{{/if}}
+
+<form id="install-form" action="{{$baseurl}}/install" method="post">
+
+<input type="hidden" name="phpath" value="{{$phpath}}" />
+<input type="hidden" name="dbhost" value="{{$dbhost}}" />
+<input type="hidden" name="dbuser" value="{{$dbuser}}" />
+<input type="hidden" name="dbpass" value="{{$dbpass}}" />
+<input type="hidden" name="dbdata" value="{{$dbdata}}" />
+<input type="hidden" name="pass" value="4" />
+
+{{include file="file:{{$field_input}}" field=$adminmail}}
+{{$timezone}}
+
+<input id="install-submit" type="submit" name="submit" value="{{$submit}}" /> 
+
+</form>
+
diff --git a/view/smarty3/intros.tpl b/view/smarty3/intros.tpl
new file mode 100644 (file)
index 0000000..abf1981
--- /dev/null
@@ -0,0 +1,28 @@
+
+<div class="intro-wrapper" id="intro-{{$contact_id}}" >
+
+<p class="intro-desc">{{$str_notifytype}} {{$notify_type}}</p>
+<div class="intro-fullname" id="intro-fullname-{{$contact_id}}" >{{$fullname}}</div>
+<a class="intro-url-link" id="intro-url-link-{{$contact_id}}" href="{{$url}}" ><img id="photo-{{$contact_id}}" class="intro-photo" src="{{$photo}}" width="175" height=175" title="{{$fullname}}" alt="{{$fullname}}" /></a>
+<div class="intro-knowyou">{{$knowyou}}</div>
+<div class="intro-note" id="intro-note-{{$contact_id}}">{{$note}}</div>
+<div class="intro-wrapper-end" id="intro-wrapper-end-{{$contact_id}}"></div>
+<form class="intro-form" action="notifications/{{$intro_id}}" method="post">
+<input class="intro-submit-ignore" type="submit" name="submit" value="{{$ignore}}" />
+<input class="intro-submit-discard" type="submit" name="submit" value="{{$discard}}" />
+</form>
+<div class="intro-form-end"></div>
+
+<form class="intro-approve-form" action="dfrn_confirm" method="post">
+{{include file="file:{{$field_checkbox}}" field=$hidden}}
+{{include file="file:{{$field_checkbox}}" field=$activity}}
+<input type="hidden" name="dfrn_id" value="{{$dfrn_id}}" >
+<input type="hidden" name="intro_id" value="{{$intro_id}}" >
+<input type="hidden" name="contact_id" value="{{$contact_id}}" >
+
+{{$dfrn_text}}
+
+<input class="intro-submit-approve" type="submit" name="submit" value="{{$approve}}" />
+</form>
+</div>
+<div class="intro-end"></div>
diff --git a/view/smarty3/invite.tpl b/view/smarty3/invite.tpl
new file mode 100644 (file)
index 0000000..117ee7c
--- /dev/null
@@ -0,0 +1,27 @@
+<form action="invite" method="post" id="invite-form" >
+<div id="invite-wrapper">
+
+<h3>{{$invite}}</h3>
+
+<div id="invite-recipient-text">
+{{$addr_text}}
+</div>
+
+<div id="invite-recipient-textarea">
+<textarea id="invite-recipients" name="recipients" rows="8" cols="32" ></textarea>
+</div>
+
+<div id="invite-message-text">
+{{$msg_text}}
+</div>
+
+<div id="invite-message-textarea">
+<textarea id="invite-message" name="message" rows="10" cols="72" >{{$default_message}}</textarea>
+</div>
+
+<div id="invite-submit-wrapper">
+<input type="submit" name="submit" value="{{$submit}}" />
+</div>
+
+</div>
+</form>
diff --git a/view/smarty3/jot-end.tpl b/view/smarty3/jot-end.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/smarty3/jot-header.tpl b/view/smarty3/jot-header.tpl
new file mode 100644 (file)
index 0000000..493752c
--- /dev/null
@@ -0,0 +1,322 @@
+
+<script language="javascript" type="text/javascript">
+
+var editor=false;
+var textlen = 0;
+var plaintext = '{{$editselect}}';
+
+function initEditor(cb){
+       if (editor==false){
+               $("#profile-jot-text-loading").show();
+               if(plaintext == 'none') {
+                       $("#profile-jot-text-loading").hide();
+                       $("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
+                       $("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
+                       editor = true;
+                       $("a#jot-perms-icon").fancybox({
+                               'transitionIn' : 'elastic',
+                               'transitionOut' : 'elastic'
+                       });
+                       $(".jothidden").show();
+                       if (typeof cb!="undefined") cb();
+                       return;
+               }       
+               tinyMCE.init({
+                       theme : "advanced",
+                       mode : "specific_textareas",
+                       editor_selector: {{$editselect}},
+                       auto_focus: "profile-jot-text",
+                       plugins : "bbcode,paste,autoresize, inlinepopups",
+                       theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
+                       theme_advanced_buttons2 : "",
+                       theme_advanced_buttons3 : "",
+                       theme_advanced_toolbar_location : "top",
+                       theme_advanced_toolbar_align : "center",
+                       theme_advanced_blockformats : "blockquote,code",
+                       gecko_spellcheck : true,
+                       paste_text_sticky : true,
+                       entity_encoding : "raw",
+                       add_unload_trigger : false,
+                       remove_linebreaks : false,
+                       force_p_newlines : false,
+                       force_br_newlines : true,
+                       forced_root_block : '',
+                       convert_urls: false,
+                       content_css: "{{$baseurl}}/view/custom_tinymce.css",
+                       theme_advanced_path : false,
+                       file_browser_callback : "fcFileBrowser",
+                       setup : function(ed) {
+                               cPopup = null;
+                               ed.onKeyDown.add(function(ed,e) {
+                                       if(cPopup !== null)
+                                               cPopup.onkey(e);
+                               });
+
+                               ed.onKeyUp.add(function(ed, e) {
+                                       var txt = tinyMCE.activeEditor.getContent();
+                                       match = txt.match(/@([^ \n]+)$/);
+                                       if(match!==null) {
+                                               if(cPopup === null) {
+                                                       cPopup = new ACPopup(this,baseurl+"/acl");
+                                               }
+                                               if(cPopup.ready && match[1]!==cPopup.searchText) cPopup.search(match[1]);
+                                               if(! cPopup.ready) cPopup = null;
+                                       }
+                                       else {
+                                               if(cPopup !== null) { cPopup.close(); cPopup = null; }
+                                       }
+
+                                       textlen = txt.length;
+                                       if(textlen != 0 && $('#jot-perms-icon').is('.unlock')) {
+                                               $('#profile-jot-desc').html(ispublic);
+                                       }
+                                       else {
+                                               $('#profile-jot-desc').html('&nbsp;');
+                                       }        
+
+                                //Character count
+
+                                       if(textlen <= 140) {
+                                               $('#character-counter').removeClass('red');
+                                               $('#character-counter').removeClass('orange');
+                                               $('#character-counter').addClass('grey');
+                                       }
+                                       if((textlen > 140) && (textlen <= 420)) {
+                                               $('#character-counter').removeClass('grey');
+                                               $('#character-counter').removeClass('red');
+                                               $('#character-counter').addClass('orange');
+                                       }
+                                       if(textlen > 420) {
+                                               $('#character-counter').removeClass('grey');
+                                               $('#character-counter').removeClass('orange');
+                                               $('#character-counter').addClass('red');
+                                       }
+                                       $('#character-counter').text(textlen);
+                               });
+
+                               ed.onInit.add(function(ed) {
+                                       ed.pasteAsPlainText = true;
+                                       $("#profile-jot-text-loading").hide();
+                                       $(".jothidden").show();
+                                       if (typeof cb!="undefined") cb();
+                               });
+
+                       }
+               });
+               editor = true;
+               // setup acl popup
+               $("a#jot-perms-icon").fancybox({
+                       'transitionIn' : 'elastic',
+                       'transitionOut' : 'elastic'
+               }); 
+       } else {
+               if (typeof cb!="undefined") cb();
+       }
+}
+
+function enableOnUser(){
+       if (editor) return;
+       $(this).val("");
+       initEditor();
+}
+
+</script>
+<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.js" ></script>
+<script>
+       var ispublic = '{{$ispublic}}';
+
+       $(document).ready(function() {
+               
+               /* enable tinymce on focus and click */
+               $("#profile-jot-text").focus(enableOnUser);
+               $("#profile-jot-text").click(enableOnUser);
+
+               var uploader = new window.AjaxUpload(
+                       'wall-image-upload',
+                       { action: 'wall_upload/{{$nickname}}',
+                               name: 'userfile',
+                               onSubmit: function(file,ext) { $('#profile-rotator').show(); },
+                               onComplete: function(file,response) {
+                                       addeditortext(response);
+                                       $('#profile-rotator').hide();
+                               }                                
+                       }
+               );
+               var file_uploader = new window.AjaxUpload(
+                       'wall-file-upload',
+                       { action: 'wall_attach/{{$nickname}}',
+                               name: 'userfile',
+                               onSubmit: function(file,ext) { $('#profile-rotator').show(); },
+                               onComplete: function(file,response) {
+                                       addeditortext(response);
+                                       $('#profile-rotator').hide();
+                               }                                
+                       }
+               );
+
+
+       });
+
+       function deleteCheckedItems() {
+               if(confirm('{{$delitems}}')) {
+                       var checkedstr = '';
+
+                       $("#item-delete-selected").hide();
+                       $('#item-delete-selected-rotator').show();
+
+                       $('.item-select').each( function() {
+                               if($(this).is(':checked')) {
+                                       if(checkedstr.length != 0) {
+                                               checkedstr = checkedstr + ',' + $(this).val();
+                                       }
+                                       else {
+                                               checkedstr = $(this).val();
+                                       }
+                               }       
+                       });
+                       $.post('item', { dropitems: checkedstr }, function(data) {
+                               window.location.reload();
+                       });
+               }
+       }
+
+       function jotGetLink() {
+               reply = prompt("{{$linkurl}}");
+               if(reply && reply.length) {
+                       reply = bin2hex(reply);
+                       $('#profile-rotator').show();
+                       $.get('parse_url?binurl=' + reply, function(data) {
+                               addeditortext(data);
+                               $('#profile-rotator').hide();
+                       });
+               }
+       }
+
+       function jotVideoURL() {
+               reply = prompt("{{$vidurl}}");
+               if(reply && reply.length) {
+                       addeditortext('[video]' + reply + '[/video]');
+               }
+       }
+
+       function jotAudioURL() {
+               reply = prompt("{{$audurl}}");
+               if(reply && reply.length) {
+                       addeditortext('[audio]' + reply + '[/audio]');
+               }
+       }
+
+
+       function jotGetLocation() {
+               reply = prompt("{{$whereareu}}", $('#jot-location').val());
+               if(reply && reply.length) {
+                       $('#jot-location').val(reply);
+               }
+       }
+
+       function jotShare(id) {
+               if ($('#jot-popup').length != 0) $('#jot-popup').show();
+
+               $('#like-rotator-' + id).show();
+               $.get('share/' + id, function(data) {
+                       if (!editor) $("#profile-jot-text").val("");
+                       initEditor(function(){
+                               addeditortext(data);
+                               $('#like-rotator-' + id).hide();
+                               $(window).scrollTop(0);
+                       });
+
+               });
+       }
+
+       function linkdropper(event) {
+               var linkFound = event.dataTransfer.types.contains("text/uri-list");
+               if(linkFound)
+                       event.preventDefault();
+       }
+
+       function linkdrop(event) {
+               var reply = event.dataTransfer.getData("text/uri-list");
+               event.target.textContent = reply;
+               event.preventDefault();
+               if(reply && reply.length) {
+                       reply = bin2hex(reply);
+                       $('#profile-rotator').show();
+                       $.get('parse_url?binurl=' + reply, function(data) {
+                               if (!editor) $("#profile-jot-text").val("");
+                               initEditor(function(){
+                                       addeditortext(data);
+                                       $('#profile-rotator').hide();
+                               });
+                       });
+               }
+       }
+
+       function itemTag(id) {
+               reply = prompt("{{$term}}");
+               if(reply && reply.length) {
+                       reply = reply.replace('#','');
+                       if(reply.length) {
+
+                               commentBusy = true;
+                               $('body').css('cursor', 'wait');
+
+                               $.get('tagger/' + id + '?term=' + reply);
+                               if(timer) clearTimeout(timer);
+                               timer = setTimeout(NavUpdate,3000);
+                               liking = 1;
+                       }
+               }
+       }
+
+       function itemFiler(id) {
+               
+               var bordercolor = $("input").css("border-color");
+               
+               $.get('filer/', function(data){
+                       $.fancybox(data);
+                       $("#id_term").keypress(function(){
+                               $(this).css("border-color",bordercolor);
+                       })
+                       $("#select_term").change(function(){
+                               $("#id_term").css("border-color",bordercolor);
+                       })
+                       
+                       $("#filer_save").click(function(e){
+                               e.preventDefault();
+                               reply = $("#id_term").val();
+                               if(reply && reply.length) {
+                                       commentBusy = true;
+                                       $('body').css('cursor', 'wait');
+                                       $.get('filer/' + id + '?term=' + reply, NavUpdate);
+//                                     if(timer) clearTimeout(timer);
+//                                     timer = setTimeout(NavUpdate,3000);
+                                       liking = 1;
+                                       $.fancybox.close();
+                               } else {
+                                       $("#id_term").css("border-color","#FF0000");
+                               }
+                               return false;
+                       });
+               });
+               
+       }
+
+       function jotClearLocation() {
+               $('#jot-coord').val('');
+               $('#profile-nolocation-wrapper').hide();
+       }
+
+       function addeditortext(data) {
+               if(plaintext == 'none') {
+                       var currentText = $("#profile-jot-text").val();
+                       $("#profile-jot-text").val(currentText + data);
+               }
+               else
+                       tinyMCE.execCommand('mceInsertRawHTML',false,data);
+       }       
+
+       {{$geotag}}
+
+</script>
+
diff --git a/view/smarty3/jot.tpl b/view/smarty3/jot.tpl
new file mode 100644 (file)
index 0000000..a252958
--- /dev/null
@@ -0,0 +1,88 @@
+
+<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="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" style="display:none"></div>
+               {{if $placeholdercategory}}
+               <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" /></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" >{{if $content}}{{$content}}{{else}}{{$share}}{{/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-upload-wrapper" style="display: {{$visitor}};" >
+               <div id="wall-image-upload-div" ><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" ><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> 
+       <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="profile-rotator-wrapper" style="display: {{$visitor}};" >
+               <img id="profile-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
+       </div> 
+       
+       <div id="jot-preview-content" style="display:none;"></div>
+
+       <div style="display: none;">
+               <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
+                       {{$acl}}
+                       <hr style="clear:both"/>
+                       <div id="profile-jot-email-label">{{$emailcc}}</div><input type="text" name="emailcc" id="profile-jot-email" title="{{$emtitle}}" />
+                       <div id="profile-jot-email-end"></div>
+                       {{$jotnets}}
+               </div>
+       </div>
+
+
+</div>
+
+<div id="profile-jot-end"></div>
+</form>
+</div>
+               {{if $content}}<script>initEditor();</script>{{/if}}
diff --git a/view/smarty3/jot_geotag.tpl b/view/smarty3/jot_geotag.tpl
new file mode 100644 (file)
index 0000000..b0f71e7
--- /dev/null
@@ -0,0 +1,8 @@
+
+       if(navigator.geolocation) {
+               navigator.geolocation.getCurrentPosition(function(position) {
+                       $('#jot-coord').val(position.coords.latitude + ' ' + position.coords.longitude);
+                       $('#profile-nolocation-wrapper').show();
+               });
+       }
+
diff --git a/view/smarty3/lang_selector.tpl b/view/smarty3/lang_selector.tpl
new file mode 100644 (file)
index 0000000..2d0e9cb
--- /dev/null
@@ -0,0 +1,10 @@
+<div id="lang-select-icon" class="icon s22 language" title="{{$title}}" onclick="openClose('language-selector');" >lang</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/smarty3/like_noshare.tpl b/view/smarty3/like_noshare.tpl
new file mode 100644 (file)
index 0000000..b01064a
--- /dev/null
@@ -0,0 +1,5 @@
+<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>
+       <a href="#" class="icon dislike" title="{{$nolike}}" onclick="dolike({{$id}},'dislike'); return false"></a>
+       <img id="like-rotator-{{$id}}" class="like-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
+</div>
diff --git a/view/smarty3/login.tpl b/view/smarty3/login.tpl
new file mode 100644 (file)
index 0000000..6695495
--- /dev/null
@@ -0,0 +1,35 @@
+
+<form action="{{$dest_url}}" method="post" >
+       <input type="hidden" name="auth-params" value="login" />
+
+       <div id="login_standard">
+       {{include file="file:{{$field_input}}" field=$lname}}
+       {{include file="file:{{$field_password}}" field=$lpassword}}
+       </div>
+       
+       {{if $openid}}
+                       <div id="login_openid">
+                       {{include file="file:{{$field_openid}}" field=$lopenid}}
+                       </div>
+       {{/if}}
+
+       {{include file="file:{{$field_checkbox}}" field=$lremember}}
+
+       <div id="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 id="login-submit-wrapper" >
+               <input type="submit" name="submit" id="login-submit-button" value="{{$login}}" />
+       </div>
+       
+       {{foreach $hiddens as $k=>$v}}
+               <input type="hidden" name="{{$k}}" value="{{$v}}" />
+       {{/foreach}}
+       
+       
+</form>
+
+
+<script type="text/javascript"> $(document).ready(function() { $("#id_{{$lname.0}}").focus();} );</script>
diff --git a/view/smarty3/login_head.tpl b/view/smarty3/login_head.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/smarty3/logout.tpl b/view/smarty3/logout.tpl
new file mode 100644 (file)
index 0000000..7548ed1
--- /dev/null
@@ -0,0 +1,6 @@
+<form action="{{$dest_url}}" method="post" >
+<div class="logout-wrapper">
+<input type="hidden" name="auth-params" value="logout" />
+<input type="submit" name="submit" id="logout-button" value="{{$logout}}" />
+</div>
+</form>
diff --git a/view/smarty3/lostpass.tpl b/view/smarty3/lostpass.tpl
new file mode 100644 (file)
index 0000000..f6fdb28
--- /dev/null
@@ -0,0 +1,18 @@
+<h3>{{$title}}</h3>
+
+<p id="lostpass-desc">
+{{$desc}}
+</p>
+
+<form action="lostpass" method="post" >
+<div id="login-name-wrapper">
+        <label for="login-name" id="label-login-name">{{$name}}</label>
+        <input type="text" maxlength="60" name="login-name" id="login-name" value="" />
+</div>
+<div id="login-extra-end"></div>
+<div id="login-submit-wrapper" >
+        <input type="submit" name="submit" id="lostpass-submit-button" value="{{$submit}}" />
+</div>
+<div id="login-submit-end"></div>
+</form>
+
diff --git a/view/smarty3/magicsig.tpl b/view/smarty3/magicsig.tpl
new file mode 100644 (file)
index 0000000..78d8bbb
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<me:env xmlns:me="http://salmon-protocol.org/ns/magic-env">
+<me:data type="application/atom+xml">
+{{$data}}
+</me:data>
+<me:encoding>{{$encoding}}</me:encoding>
+<me:alg>{{$algorithm}}</me:alg>
+<me:sig key_id="{{$keyhash}}">{{$signature}}</me:sig>
+</me:env>
diff --git a/view/smarty3/mail_conv.tpl b/view/smarty3/mail_conv.tpl
new file mode 100644 (file)
index 0000000..1bff551
--- /dev/null
@@ -0,0 +1,14 @@
+<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 class="mail-conv-body">{{$mail.body}}</div>
+       <div class="mail-conv-delete-wrapper" id="mail-conv-delete-wrapper-{{$mail.id}}" ><a href="message/drop/{{$mail.id}}" class="icon drophide delete-icon mail-list-delete-icon" onclick="return confirmDelete();" 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>
+       <div class="mail-conv-outside-wrapper-end"></div>
+</div>
+</div>
+<hr class="mail-conv-break" />
diff --git a/view/smarty3/mail_display.tpl b/view/smarty3/mail_display.tpl
new file mode 100644 (file)
index 0000000..0e6bd13
--- /dev/null
@@ -0,0 +1,10 @@
+
+{{foreach $mails as $mail_item}}
+       {{include file="file:{{$mail_conv}}" mail=$mail_item}}
+{{/foreach}}
+
+{{if $canreply}}
+{{include file="file:{{$prv_message}}" reply=$reply_info}}
+{{else}}
+{{$unknown_text}}
+{{/if}}
diff --git a/view/smarty3/mail_head.tpl b/view/smarty3/mail_head.tpl
new file mode 100644 (file)
index 0000000..1cd7145
--- /dev/null
@@ -0,0 +1,3 @@
+<h3>{{$messages}}</h3>
+
+{{$tab_content}}
diff --git a/view/smarty3/mail_list.tpl b/view/smarty3/mail_list.tpl
new file mode 100644 (file)
index 0000000..b08c2ca
--- /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}}" onclick="return confirmDelete();"  title="{{$delete}}" class="icon drophide mail-list-delete delete-icon" 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/smarty3/match.tpl b/view/smarty3/match.tpl
new file mode 100644 (file)
index 0000000..0688ca2
--- /dev/null
@@ -0,0 +1,16 @@
+<div class="profile-match-wrapper">
+       <div class="profile-match-photo">
+               <a href="{{$url}}">
+                       <img src="{{$photo}}" alt="{{$name}}" title="{{$name}}[{{$tags}}]" />
+               </a>
+       </div>
+       <div class="profile-match-break"></div>
+       <div class="profile-match-name">
+               <a href="{{$url}}" title="{{$name}}[{{$tags}}]">{{$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}}
+
+</div>
diff --git a/view/smarty3/message-end.tpl b/view/smarty3/message-end.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/smarty3/message-head.tpl b/view/smarty3/message-head.tpl
new file mode 100644 (file)
index 0000000..84296c3
--- /dev/null
@@ -0,0 +1,17 @@
+<script src="{{$baseurl}}/library/jquery_ac/friendica.complete.js" ></script>
+
+<script>$(document).ready(function() { 
+       var a; 
+       a = $("#recip").autocomplete({ 
+               serviceUrl: '{{$base}}/acl',
+               minChars: 2,
+               width: 350,
+               onSelect: function(value,data) {
+                       $("#recip-complete").val(data);
+               }                       
+       });
+
+}); 
+
+</script>
+
diff --git a/view/smarty3/message_side.tpl b/view/smarty3/message_side.tpl
new file mode 100644 (file)
index 0000000..ba7e282
--- /dev/null
@@ -0,0 +1,10 @@
+<div id="message-sidebar" class="widget">
+       <div id="message-new"><a href="{{$new.url}}" class="{{if $new.sel}}newmessage-selected{{/if}}">{{$new.label}}</a> </div>
+       
+       <ul class="message-ul">
+               {{foreach $tabs as $t}}
+                       <li class="tool"><a href="{{$t.url}}" class="message-link{{if $t.sel}}message-selected{{/if}}">{{$t.label}}</a></li>
+               {{/foreach}}
+       </ul>
+       
+</div>
diff --git a/view/smarty3/moderated_comment.tpl b/view/smarty3/moderated_comment.tpl
new file mode 100644 (file)
index 0000000..79ce8f9
--- /dev/null
@@ -0,0 +1,34 @@
+               <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>
+                               <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$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/smarty3/mood_content.tpl b/view/smarty3/mood_content.tpl
new file mode 100644 (file)
index 0000000..63eaa2d
--- /dev/null
@@ -0,0 +1,20 @@
+<h3>{{$title}}</h3>
+
+<div id="mood-desc">{{$desc}}</div>
+
+<form action="mood" method="get">
+<br />
+<br />
+
+<input id="mood-parent" type="hidden" value="{{$parent}}" name="parent" />
+
+<select name="verb" id="mood-verb-select" >
+{{foreach $verbs as $v}}
+<option value="{{$v.0}}">{{$v.1}}</option>
+{{/foreach}}
+</select>
+<br />
+<br />
+<input type="submit" name="submit" value="{{$submit}}" />
+</form>
+
diff --git a/view/smarty3/msg-end.tpl b/view/smarty3/msg-end.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/smarty3/msg-header.tpl b/view/smarty3/msg-header.tpl
new file mode 100644 (file)
index 0000000..0d2ca72
--- /dev/null
@@ -0,0 +1,97 @@
+
+<script language="javascript" type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
+<script language="javascript" type="text/javascript">
+
+var plaintext = '{{$editselect}}';
+
+if(plaintext != 'none') {
+       tinyMCE.init({
+               theme : "advanced",
+               mode : "specific_textareas",
+               editor_selector: /(profile-jot-text|prvmail-text)/,
+               plugins : "bbcode,paste",
+               theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
+               theme_advanced_buttons2 : "",
+               theme_advanced_buttons3 : "",
+               theme_advanced_toolbar_location : "top",
+               theme_advanced_toolbar_align : "center",
+               theme_advanced_blockformats : "blockquote,code",
+               gecko_spellcheck : true,
+               paste_text_sticky : true,
+               entity_encoding : "raw",
+               add_unload_trigger : false,
+               remove_linebreaks : false,
+               force_p_newlines : false,
+               force_br_newlines : true,
+               forced_root_block : '',
+               convert_urls: false,
+               content_css: "{{$baseurl}}/view/custom_tinymce.css",
+                    //Character count
+               theme_advanced_path : false,
+               setup : function(ed) {
+                       ed.onInit.add(function(ed) {
+                               ed.pasteAsPlainText = true;
+                               var editorId = ed.editorId;
+                               var textarea = $('#'+editorId);
+                               if (typeof(textarea.attr('tabindex')) != "undefined") {
+                                       $('#'+editorId+'_ifr').attr('tabindex', textarea.attr('tabindex'));
+                                       textarea.attr('tabindex', null);
+                               }
+                       });
+               }
+       });
+}
+else
+       $("#prvmail-text").contact_autocomplete(baseurl+"/acl");
+
+
+</script>
+<script type="text/javascript" src="js/ajaxupload.js" ></script>
+<script>
+       $(document).ready(function() {
+               var uploader = new window.AjaxUpload(
+                       'prvmail-upload',
+                       { action: 'wall_upload/{{$nickname}}',
+                               name: 'userfile',
+                               onSubmit: function(file,ext) { $('#profile-rotator').show(); },
+                               onComplete: function(file,response) {
+                                       tinyMCE.execCommand('mceInsertRawHTML',false,response);
+                                       $('#profile-rotator').hide();
+                               }                                
+                       }
+               );
+
+       });
+
+       function jotGetLink() {
+               reply = prompt("{{$linkurl}}");
+               if(reply && reply.length) {
+                       $('#profile-rotator').show();
+                       $.get('parse_url?url=' + reply, function(data) {
+                               tinyMCE.execCommand('mceInsertRawHTML',false,data);
+                               $('#profile-rotator').hide();
+                       });
+               }
+       }
+
+       function linkdropper(event) {
+               var linkFound = event.dataTransfer.types.contains("text/uri-list");
+               if(linkFound)
+                       event.preventDefault();
+       }
+
+       function linkdrop(event) {
+               var reply = event.dataTransfer.getData("text/uri-list");
+               event.target.textContent = reply;
+               event.preventDefault();
+               if(reply && reply.length) {
+                       $('#profile-rotator').show();
+                       $.get('parse_url?url=' + reply, function(data) {
+                               tinyMCE.execCommand('mceInsertRawHTML',false,data);
+                               $('#profile-rotator').hide();
+                       });
+               }
+       }
+
+</script>
+
diff --git a/view/smarty3/nav.tpl b/view/smarty3/nav.tpl
new file mode 100644 (file)
index 0000000..832d9f1
--- /dev/null
@@ -0,0 +1,68 @@
+<nav>
+       {{$langselector}}
+
+       <div id="site-location">{{$sitelocation}}</div>
+
+       {{if $nav.logout}}<a id="nav-logout-link" class="nav-link {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a> {{/if}}
+       {{if $nav.login}}<a id="nav-login-link" class="nav-login-link {{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a> {{/if}}
+
+       <span id="nav-link-wrapper" >
+
+       {{if $nav.register}}<a id="nav-register-link" class="nav-commlink {{$nav.register.2}} {{$sel.register}}" href="{{$nav.register.0}}" title="{{$nav.register.3}}" >{{$nav.register.1}}</a>{{/if}}
+               
+       {{if $nav.help}} <a id="nav-help-link" class="nav-link {{$nav.help.2}}" target="friendica-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a>{{/if}}
+               
+       {{if $nav.apps}}<a id="nav-apps-link" class="nav-link {{$nav.apps.2}}" href="{{$nav.apps.0}}" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>{{/if}}
+
+       <a id="nav-search-link" class="nav-link {{$nav.search.2}}" href="{{$nav.search.0}}" title="{{$nav.search.3}}" >{{$nav.search.1}}</a>
+       <a id="nav-directory-link" class="nav-link {{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a>
+
+       {{if $nav.admin}}<a id="nav-admin-link" class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a>{{/if}}
+
+       {{if $nav.network}}
+       <a id="nav-network-link" class="nav-commlink {{$nav.network.2}} {{$sel.network}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
+       <span id="net-update" class="nav-ajax-left"></span>
+       {{/if}}
+       {{if $nav.home}}
+       <a id="nav-home-link" class="nav-commlink {{$nav.home.2}} {{$sel.home}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a>
+       <span id="home-update" class="nav-ajax-left"></span>
+       {{/if}}
+       {{if $nav.community}}
+       <a id="nav-community-link" class="nav-commlink {{$nav.community.2}} {{$sel.community}}" href="{{$nav.community.0}}" title="{{$nav.community.3}}" >{{$nav.community.1}}</a>
+       {{/if}}
+       {{if $nav.introductions}}
+       <a id="nav-notify-link" class="nav-commlink {{$nav.introductions.2}} {{$sel.introductions}}" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}" >{{$nav.introductions.1}}</a>
+       <span id="intro-update" class="nav-ajax-left"></span>
+       {{/if}}
+       {{if $nav.messages}}
+       <a id="nav-messages-link" class="nav-commlink {{$nav.messages.2}} {{$sel.messages}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}}</a>
+       <span id="mail-update" class="nav-ajax-left"></span>
+       {{/if}}
+
+
+
+       {{if $nav.manage}}<a id="nav-manage-link" class="nav-commlink {{$nav.manage.2}} {{$sel.manage}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a>{{/if}}
+
+
+               {{if $nav.notifications}}
+                       <a id="nav-notifications-linkmenu" class="nav-commlink" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}">{{$nav.notifications.1}}</a>
+                               <span id="notify-update" class="nav-ajax-left"></span>
+                               <ul id="nav-notifications-menu" class="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>
+               {{/if}}         
+
+       {{if $nav.settings}}<a id="nav-settings-link" class="nav-link {{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a>{{/if}}
+       {{if $nav.profiles}}<a id="nav-profiles-link" class="nav-link {{$nav.profiles.2}}" href="{{$nav.profiles.0}}" title="{{$nav.profiles.3}}" >{{$nav.profiles.1}}</a>{{/if}}
+
+       {{if $nav.contacts}}<a id="nav-contacts-link" class="nav-link {{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}" >{{$nav.contacts.1}}</a>{{/if}}
+       </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 src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
+</ul>
diff --git a/view/smarty3/netfriend.tpl b/view/smarty3/netfriend.tpl
new file mode 100644 (file)
index 0000000..ec6b3b6
--- /dev/null
@@ -0,0 +1,14 @@
+<div class="intro-approve-as-friend-desc">{{$approve_as}}</div>
+
+<div class="intro-approve-as-friend-wrapper">
+       <label class="intro-approve-as-friend-label" for="intro-approve-as-friend-{{$intro_id}}">{{$as_friend}}</label>
+       <input type="radio" name="duplex" id="intro-approve-as-friend-{{$intro_id}}" class="intro-approve-as-friend" {{$friend_selected}} value="1" />
+       <div class="intro-approve-friend-break" ></div> 
+</div>
+<div class="intro-approve-as-friend-end"></div>
+<div class="intro-approve-as-fan-wrapper">
+       <label class="intro-approve-as-fan-label" for="intro-approve-as-fan-{{$intro_id}}">{{$as_fan}}</label>
+       <input type="radio" name="duplex" id="intro-approve-as-fan-{{$intro_id}}" class="intro-approve-as-fan" {{$fan_selected}} value="0"  />
+       <div class="intro-approve-fan-break"></div>
+</div>
+<div class="intro-approve-as-end"></div>
diff --git a/view/smarty3/nets.tpl b/view/smarty3/nets.tpl
new file mode 100644 (file)
index 0000000..f514626
--- /dev/null
@@ -0,0 +1,10 @@
+<div id="nets-sidebar" class="widget">
+       <h3>{{$title}}</h3>
+       <div id="nets-desc">{{$desc}}</div>
+       <a href="{{$base}}?nets=all" class="nets-link{{if $sel_all}} nets-selected{{/if}} nets-all">{{$all}}</a>
+       <ul class="nets-ul">
+       {{foreach $nets as $net}}
+       <li><a href="{{$base}}?nets={{$net.ref}}" class="nets-link{{if $net.selected}} nets-selected{{/if}}">{{$net.name}}</a></li>
+       {{/foreach}}
+       </ul>
+</div>
diff --git a/view/smarty3/nogroup-template.tpl b/view/smarty3/nogroup-template.tpl
new file mode 100644 (file)
index 0000000..6daeba0
--- /dev/null
@@ -0,0 +1,12 @@
+<h1>{{$header}}</h1>
+
+{{foreach $contacts as $c}}
+       {{include file="file:{{$contact_template}}" contact=$c}}
+{{/foreach}}
+<div id="contact-edit-end"></div>
+
+{{$paginate}}
+
+
+
+
diff --git a/view/smarty3/notifications.tpl b/view/smarty3/notifications.tpl
new file mode 100644 (file)
index 0000000..82eb2f4
--- /dev/null
@@ -0,0 +1,8 @@
+
+<h1>{{$notif_header}}</h1>
+
+{{include file="file:{{$common_tabs}}" tabs=$tabs_data}}
+
+<div class="notif-network-wrapper">
+       {{$notif_content}}
+</div>
diff --git a/view/smarty3/notifications_comments_item.tpl b/view/smarty3/notifications_comments_item.tpl
new file mode 100644 (file)
index 0000000..9c454a3
--- /dev/null
@@ -0,0 +1,3 @@
+<div class="notif-item">
+       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
+</div>
\ No newline at end of file
diff --git a/view/smarty3/notifications_dislikes_item.tpl b/view/smarty3/notifications_dislikes_item.tpl
new file mode 100644 (file)
index 0000000..9c454a3
--- /dev/null
@@ -0,0 +1,3 @@
+<div class="notif-item">
+       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
+</div>
\ No newline at end of file
diff --git a/view/smarty3/notifications_friends_item.tpl b/view/smarty3/notifications_friends_item.tpl
new file mode 100644 (file)
index 0000000..9c454a3
--- /dev/null
@@ -0,0 +1,3 @@
+<div class="notif-item">
+       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
+</div>
\ No newline at end of file
diff --git a/view/smarty3/notifications_likes_item.tpl b/view/smarty3/notifications_likes_item.tpl
new file mode 100644 (file)
index 0000000..ed020a2
--- /dev/null
@@ -0,0 +1,3 @@
+<div class="notif-item">
+       <a href="{{$item_link}}" target="friendica-notification"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
+</div>
\ No newline at end of file
diff --git a/view/smarty3/notifications_network_item.tpl b/view/smarty3/notifications_network_item.tpl
new file mode 100644 (file)
index 0000000..14f3716
--- /dev/null
@@ -0,0 +1,3 @@
+<div class="notif-item">
+       <a href="{{{$item_link}}}" target="friendica-notifications"><img src="{{{$item_image}}}" class="notif-image">{{{$item_text}}} <span class="notif-when">{{{$item_when}}}</span></a>
+</div>
\ No newline at end of file
diff --git a/view/smarty3/notifications_posts_item.tpl b/view/smarty3/notifications_posts_item.tpl
new file mode 100644 (file)
index 0000000..9c454a3
--- /dev/null
@@ -0,0 +1,3 @@
+<div class="notif-item">
+       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
+</div>
\ No newline at end of file
diff --git a/view/smarty3/notify.tpl b/view/smarty3/notify.tpl
new file mode 100644 (file)
index 0000000..9c454a3
--- /dev/null
@@ -0,0 +1,3 @@
+<div class="notif-item">
+       <a href="{{$item_link}}" target="friendica-notifications"><img src="{{$item_image}}" class="notif-image">{{$item_text}} <span class="notif-when">{{$item_when}}</span></a>
+</div>
\ No newline at end of file
diff --git a/view/smarty3/oauth_authorize.tpl b/view/smarty3/oauth_authorize.tpl
new file mode 100644 (file)
index 0000000..2b7afa8
--- /dev/null
@@ -0,0 +1,10 @@
+<h1>{{$title}}</h1>
+
+<div class='oauthapp'>
+       <img src='{{$app.icon}}'>
+       <h4>{{$app.name}}</h4>
+</div>
+<h3>{{$authorize}}</h3>
+<form method="POST">
+<div class="settings-submit-wrapper"><input  class="settings-submit"  type="submit" name="oauth_yes" value="{{$yes}}" /></div>
+</form>
diff --git a/view/smarty3/oauth_authorize_done.tpl b/view/smarty3/oauth_authorize_done.tpl
new file mode 100644 (file)
index 0000000..2e91e01
--- /dev/null
@@ -0,0 +1,4 @@
+<h1>{{$title}}</h1>
+
+<p>{{$info}}</p>
+<code>{{$code}}</code>
diff --git a/view/smarty3/oembed_video.tpl b/view/smarty3/oembed_video.tpl
new file mode 100644 (file)
index 0000000..4ad75a8
--- /dev/null
@@ -0,0 +1,4 @@
+<a href='{{$embedurl}}' onclick='this.innerHTML=Base64.decode("{{$escapedhtml}}"); return false;' style='float:left; margin: 1em; position: relative;'>
+       <img width='{{$tw}}' height='{{$th}}' src='{{$turl}}' >
+       <div style='position: absolute; top: 0px; left: 0px; width: {{$twpx}}; height: {{$thpx}}; background: url({{$baseurl}}/images/icons/48/play.png) no-repeat center center;'></div>
+</a>
diff --git a/view/smarty3/oexchange_xrd.tpl b/view/smarty3/oexchange_xrd.tpl
new file mode 100644 (file)
index 0000000..d6bdde7
--- /dev/null
@@ -0,0 +1,33 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
+        
+    <Subject>{{$base}}</Subject>
+
+    <Property 
+        type="http://www.oexchange.org/spec/0.8/prop/vendor">Friendica</Property>
+    <Property 
+        type="http://www.oexchange.org/spec/0.8/prop/title">Friendica Social Network</Property>
+    <Property 
+        type="http://www.oexchange.org/spec/0.8/prop/name">Friendica</Property>
+    <Property 
+        type="http://www.oexchange.org/spec/0.8/prop/prompt">Send to Friendica</Property>
+
+    <Link 
+        rel="icon" 
+        href="{{$base}}/images/friendica-16.png"
+        type="image/png" 
+        />
+
+    <Link 
+        rel="icon32" 
+        href="{{$base}}/images/friendica-32.png"
+        type="image/png" 
+        />
+
+    <Link 
+        rel= "http://www.oexchange.org/spec/0.8/rel/offer" 
+        href="{{$base}}/oexchange"
+        type="text/html" 
+        />
+</XRD>
+
diff --git a/view/smarty3/opensearch.tpl b/view/smarty3/opensearch.tpl
new file mode 100644 (file)
index 0000000..ad45cc9
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
+       <ShortName>Friendica@{{$nodename}}</ShortName>
+       <Description>Search in Friendica@{{$nodename}}</Description>
+       <Contact>http://bugs.friendica.com/</Contact>
+       <Image height="16" width="16" type="image/png">{{$baseurl}}/images/friendica-16.png</Image>
+       <Image height="64" width="64" type="image/png">{{$baseurl}}/images/friendica-64.png</Image>
+       <Url type="text/html" 
+        template="{{$baseurl}}/search?search={searchTerms}"/>
+       <Url type="application/opensearchdescription+xml"
+       rel="self"
+       template="{{$baseurl}}/opensearch" />        
+</OpenSearchDescription>
\ No newline at end of file
diff --git a/view/smarty3/pagetypes.tpl b/view/smarty3/pagetypes.tpl
new file mode 100644 (file)
index 0000000..6c4c1cf
--- /dev/null
@@ -0,0 +1,5 @@
+       {{include file="file:{{$field_radio}}" field=$page_normal}}
+       {{include file="file:{{$field_radio}}" field=$page_community}}
+       {{include file="file:{{$field_radio}}" field=$page_prvgroup}}
+       {{include file="file:{{$field_radio}}" field=$page_soapbox}}
+       {{include file="file:{{$field_radio}}" field=$page_freelove}}
diff --git a/view/smarty3/peoplefind.tpl b/view/smarty3/peoplefind.tpl
new file mode 100644 (file)
index 0000000..1492db1
--- /dev/null
@@ -0,0 +1,14 @@
+<div id="peoplefind-sidebar" class="widget">
+       <h3>{{$findpeople}}</h3>
+       <div id="peoplefind-desc">{{$desc}}</div>
+       <form action="dirfind" method="post" />
+               <input id="side-peoplefind-url" type="text" name="search" size="24" title="{{$hint}}" /><input id="side-peoplefind-submit" type="submit" name="submit" value="{{$findthem}}" />
+       </form>
+       <div class="side-link" id="side-match-link"><a href="match" >{{$similar}}</a></div>
+       <div class="side-link" id="side-suggest-link"><a href="suggest" >{{$suggest}}</a></div>
+       <div class="side-link" id="side-random-profile-link" ><a href="randprof" target="extlink" >{{$random}}</a></div>
+       {{if $inv}} 
+       <div class="side-link" id="side-invite-link" ><a href="invite" >{{$inv}}</a></div>
+       {{/if}}
+</div>
+
diff --git a/view/smarty3/photo_album.tpl b/view/smarty3/photo_album.tpl
new file mode 100644 (file)
index 0000000..3308bf5
--- /dev/null
@@ -0,0 +1,7 @@
+<div class="photo-album-image-wrapper" id="photo-album-image-wrapper-{{$id}}">
+       <a href="{{$photolink}}" class="photo-album-photo-link" id="photo-album-photo-link-{{$id}}" title="{{$phototitle}}">
+               <img src="{{$imgsrc}}" alt="{{$imgalt}}" title="{{$phototitle}}" class="photo-album-photo lframe resize{{$twist}}" id="photo-album-photo-{{$id}}" />
+               <p class='caption'>{{$desc}}</p>                
+       </a>
+</div>
+<div class="photo-album-image-wrapper-end"></div>
diff --git a/view/smarty3/photo_drop.tpl b/view/smarty3/photo_drop.tpl
new file mode 100644 (file)
index 0000000..94ef5a3
--- /dev/null
@@ -0,0 +1,4 @@
+<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$id}}" >
+       <a href="item/drop/{{$id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>
+</div>
+<div class="wall-item-delete-end"></div>
diff --git a/view/smarty3/photo_edit.tpl b/view/smarty3/photo_edit.tpl
new file mode 100644 (file)
index 0000000..4c7eed8
--- /dev/null
@@ -0,0 +1,50 @@
+
+<form action="photos/{{$nickname}}/{{$resource_id}}" method="post" id="photo_edit_form" >
+
+       <input type="hidden" name="item_id" value="{{$item_id}}" />
+
+       <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 id="photo-edit-albumname-end"></div>
+
+       <label id="photo-edit-caption-label" for="photo-edit-caption">{{$capt_label}}</label>
+       <input id="photo-edit-caption" type="text" size="84" name="desc" value="{{$caption}}" />
+
+       <div id="photo-edit-caption-end"></div>
+
+       <label id="photo-edit-tags-label" for="photo-edit-newtag" >{{$tag_label}}</label>
+       <input name="newtag" id="photo-edit-newtag" size="84" title="{{$help_tags}}" type="text" />
+
+       <div id="photo-edit-tags-end"></div>
+       <div id="photo-edit-rotate-wrapper">
+               <div id="photo-edit-rotate-label">
+                       {{$rotatecw}}<br>
+                       {{$rotateccw}}
+               </div>
+               <input type="radio" name="rotate" value="1" /><br>
+               <input 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="button popupbox" title="{{$permissions}}"/>
+                       <span id="jot-perms-icon" class="icon {{$lockstate}}" ></span>{{$permissions}}
+               </a>
+               <div id="photo-edit-perms-menu-end"></div>
+               
+               <div style="display: none;">
+                       <div id="photo-edit-perms-select" >
+                               {{$aclselect}}
+                       </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()"; />
+
+       <div id="photo-edit-end"></div>
+</form>
+
+
diff --git a/view/smarty3/photo_edit_head.tpl b/view/smarty3/photo_edit_head.tpl
new file mode 100644 (file)
index 0000000..f72dd2e
--- /dev/null
@@ -0,0 +1,11 @@
+
+<script>
+
+       $(document).keydown(function(event) {
+
+               if("{{$prevlink}}" != '') { if(event.ctrlKey && event.keyCode == 37) { event.preventDefault(); window.location.href = "{{$prevlink}}"; }}
+               if("{{$nextlink}}" != '') { if(event.ctrlKey && event.keyCode == 39) { event.preventDefault(); window.location.href = "{{$nextlink}}"; }}
+
+       });
+
+</script>
diff --git a/view/smarty3/photo_item.tpl b/view/smarty3/photo_item.tpl
new file mode 100644 (file)
index 0000000..e7d25fd
--- /dev/null
@@ -0,0 +1,22 @@
+<div class="wall-item-outside-wrapper{{$indent}}" id="wall-item-outside-wrapper-{{$id}}" >
+       <div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-{{$id}}" >
+               <a href="{{$profile_url}}" title="View {{$name}}'s profile" class="wall-item-photo-link" id="wall-item-photo-link-{{$id}}">
+               <img src="{{$thumb}}" class="wall-item-photo" id="wall-item-photo-{{$id}}" style="height: 80px; width: 80px;" alt="{{$name}}" /></a>
+       </div>
+
+       <div class="wall-item-wrapper" id="wall-item-wrapper-{{$id}}" >
+               <a href="{{$profile_url}}" title="View {{$name}}'s profile" class="wall-item-name-link"><span class="wall-item-name" id="wall-item-name-{{$id}}" >{{$name}}</span></a>
+               <div class="wall-item-ago"  id="wall-item-ago-{{$id}}">{{$ago}}</div>
+       </div>
+       <div class="wall-item-content" id="wall-item-content-{{$id}}" >
+               <div class="wall-item-title" id="wall-item-title-{{$id}}">{{$title}}</div>
+               <div class="wall-item-body" id="wall-item-body-{{$id}}" >{{$body}}</div>
+       </div>
+       {{$drop}}
+       <div class="wall-item-wrapper-end"></div>
+       <div class="wall-item-comment-separator"></div>
+       {{$comment}}
+
+<div class="wall-item-outside-wrapper-end{{$indent}}" ></div>
+</div>
+
diff --git a/view/smarty3/photo_top.tpl b/view/smarty3/photo_top.tpl
new file mode 100644 (file)
index 0000000..826266a
--- /dev/null
@@ -0,0 +1,8 @@
+
+<div class="photo-top-image-wrapper lframe" id="photo-top-image-wrapper-{{$photo.id}}">
+       <a href="{{$photo.link}}" class="photo-top-photo-link" id="photo-top-photo-link-{{$photo.id}}" title="{{$photo.title}}">
+               <img src="{{$photo.src}}" alt="{{$photo.alt}}" title="{{$photo.title}}" class="photo-top-photo{{$photo.twist}}" id="photo-top-photo-{{$photo.id}}" />
+       </a>
+       <div class="photo-top-album-name"><a href="{{$photo.album.link}}" class="photo-top-album-link" title="{{$photo.album.alt}}" >{{$photo.album.name}}</a></div>
+</div>
+
diff --git a/view/smarty3/photo_view.tpl b/view/smarty3/photo_view.tpl
new file mode 100644 (file)
index 0000000..5431301
--- /dev/null
@@ -0,0 +1,37 @@
+<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>
+
+{{if $prevlink}}<div id="photo-prev-link"><a href="{{$prevlink.0}}">{{$prevlink.1}}</a></div>{{/if}}
+<div id="photo-photo"><a href="{{$photo.href}}" title="{{$photo.title}}"><img src="{{$photo.src}}" /></a></div>
+{{if $nextlink}}<div id="photo-next-link"><a href="{{$nextlink.0}}">{{$nextlink.1}}</a></div>{{/if}}
+<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}}{{/if}}
+
+{{if $likebuttons}}
+<div id="photo-like-div">
+       {{$likebuttons}}
+       {{$like}}
+       {{$dislike}}    
+</div>
+{{/if}}
+
+{{$comments}}
+
+{{$paginate}}
+
diff --git a/view/smarty3/photos_head.tpl b/view/smarty3/photos_head.tpl
new file mode 100644 (file)
index 0000000..eb04a07
--- /dev/null
@@ -0,0 +1,26 @@
+
+<script>
+
+       var ispublic = "{{$ispublic}}";
+
+
+       $(document).ready(function() {
+
+               $('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
+                       var selstr;
+                       $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
+                               selstr = $(this).text();
+                               $('#jot-perms-icon').removeClass('unlock').addClass('lock');
+                               $('#jot-public').hide();
+                       });
+                       if(selstr == null) { 
+                               $('#jot-perms-icon').removeClass('lock').addClass('unlock');
+                               $('#jot-public').show();
+                       }
+
+               }).trigger('change');
+
+       });
+
+</script>
+
diff --git a/view/smarty3/photos_recent.tpl b/view/smarty3/photos_recent.tpl
new file mode 100644 (file)
index 0000000..b5faa2c
--- /dev/null
@@ -0,0 +1,11 @@
+<h3>{{$title}}</h3>
+{{if $can_post}}
+<a id="photo-top-upload-link" href="{{$upload.1}}">{{$upload.0}}</a>
+{{/if}}
+
+<div class="photos">
+{{foreach $photos as $ph}}
+       {{include file="file:{{$photo_top}}" photo=$ph}}
+{{/foreach}}
+</div>
+<div class="photos-end"></div>
diff --git a/view/smarty3/photos_upload.tpl b/view/smarty3/photos_upload.tpl
new file mode 100644 (file)
index 0000000..5045a95
--- /dev/null
@@ -0,0 +1,48 @@
+<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" size="4">
+               {{$albumselect}}
+               </select>
+       </div>
+       <div id="photos-upload-exist-end"></div>
+
+       <div id="photos-upload-noshare-div" class="photos-upload-noshare-div" >
+               <input id="photos-upload-noshare" type="checkbox" name="not_visible" value="1" />
+               <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}}
+               </div>
+       </div>
+
+       <div id="photos-upload-spacer"></div>
+
+       {{$uploader}}
+
+       {{$default}}
+
+       <div class="photos-upload-end" ></div>
+</form>
+
diff --git a/view/smarty3/poco_entry_xml.tpl b/view/smarty3/poco_entry_xml.tpl
new file mode 100644 (file)
index 0000000..8698948
--- /dev/null
@@ -0,0 +1,7 @@
+<entry>
+{{if $entry.id}}<id>{{$entry.id}}</id>{{/if}}
+{{if $entry.displayName}}<displayName>{{$entry.displayName}}</displayName>{{/if}}
+{{if $entry.preferredUsername}}<preferredUsername>{{$entry.preferredUsername}}</preferredUsername>{{/if}}
+{{if $entry.urls}}{{foreach $entry.urls as $url}}<urls><value>{{$url.value}}</value><type>{{$url.type}}</type></urls>{{/foreach}}{{/if}}
+{{if $entry.photos}}{{foreach $entry.photos as $photo}}<photos><value>{{$photo.value}}</value><type>{{$photo.type}}</type></photos>{{/foreach}}{{/if}}
+</entry>
diff --git a/view/smarty3/poco_xml.tpl b/view/smarty3/poco_xml.tpl
new file mode 100644 (file)
index 0000000..67137c2
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<response>
+{{if $response.sorted}}<sorted>{{$response.sorted}}</sorted>{{/if}}
+{{if $response.filtered}}<filtered>{{$response.filtered}}</filtered>{{/if}}
+{{if $response.updatedSince}}<updatedSince>{{$response.updatedSince}}</updatedSince>{{/if}}
+<startIndex>{{$response.startIndex}}</startIndex>
+<itemsPerPage>{{$response.itemsPerPage}}</itemsPerPage>
+<totalResults>{{$response.totalResults}}</totalResults>
+
+
+{{if $response.totalResults}}
+{{foreach $response.entry as $ent}}
+{{include file="file:{{$poco_entry_xml}}" entry=$ent}}
+{{/foreach}}
+{{else}}
+<entry></entry>
+{{/if}}
+</response>
diff --git a/view/smarty3/poke_content.tpl b/view/smarty3/poke_content.tpl
new file mode 100644 (file)
index 0000000..22a0b29
--- /dev/null
@@ -0,0 +1,32 @@
+<h3>{{$title}}</h3>
+
+<div id="poke-desc">{{$desc}}</div>
+
+<form action="poke" method="get">
+<br />
+<br />
+
+<div id="poke-recip-label">{{$clabel}}</div>
+<br />
+<input id="poke-recip" type="text" size="64" maxlength="255" value="{{$name}}" name="pokename" autocomplete="off" />
+<input id="poke-recip-complete" type="hidden" value="{{$id}}" name="cid" />
+<input id="poke-parent" type="hidden" value="{{$parent}}" name="parent" />
+<br />
+<br />
+<div id="poke-action-label">{{$choice}}</div>
+<br />
+<br />
+<select name="verb" id="poke-verb-select" >
+{{foreach $verbs as $v}}
+<option value="{{$v.0}}">{{$v.1}}</option>
+{{/foreach}}
+</select>
+<br />
+<br />
+<div id="poke-private-desc">{{$prv_desc}}</div>
+<input type="checkbox" name="private" {{if $parent}}disabled="disabled"{{/if}} value="1" />
+<br />
+<br />
+<input type="submit" name="submit" value="{{$submit}}" />
+</form>
+
diff --git a/view/smarty3/posted_date_widget.tpl b/view/smarty3/posted_date_widget.tpl
new file mode 100644 (file)
index 0000000..009fa60
--- /dev/null
@@ -0,0 +1,9 @@
+<div id="datebrowse-sidebar" class="widget">
+       <h3>{{$title}}</h3>
+<script>function dateSubmit(dateurl) { window.location.href = dateurl; } </script>
+<select id="posted-date-selector" name="posted-date-select" onchange="dateSubmit($(this).val());" size="{{$size}}">
+{{foreach $dates as $d}}
+<option value="{{$url}}/{{$d.1}}/{{$d.2}}" >{{$d.0}}</option>
+{{/foreach}}
+</select>
+</div>
diff --git a/view/smarty3/profed_end.tpl b/view/smarty3/profed_end.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/smarty3/profed_head.tpl b/view/smarty3/profed_head.tpl
new file mode 100644 (file)
index 0000000..d2101c3
--- /dev/null
@@ -0,0 +1,38 @@
+<script type="text/javascript" src="js/country.js" ></script>
+
+<script language="javascript" type="text/javascript"
+          src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
+          <script language="javascript" type="text/javascript">
+
+
+tinyMCE.init({
+       theme : "advanced",
+       mode : "{{$editselect}}",
+       plugins : "bbcode,paste",
+       theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
+       theme_advanced_buttons2 : "",
+       theme_advanced_buttons3 : "",
+       theme_advanced_toolbar_location : "top",
+       theme_advanced_toolbar_align : "center",
+       theme_advanced_blockformats : "blockquote,code",
+       gecko_spellcheck : true,
+       paste_text_sticky : true,
+       entity_encoding : "raw",
+       add_unload_trigger : false,
+       remove_linebreaks : false,
+       force_p_newlines : false,
+       force_br_newlines : true,
+       forced_root_block : '',
+       content_css: "{{$baseurl}}/view/custom_tinymce.css",
+       theme_advanced_path : false,
+       setup : function(ed) {
+               ed.onInit.add(function(ed) {
+            ed.pasteAsPlainText = true;
+        });
+    }
+
+});
+
+
+</script>
+
diff --git a/view/smarty3/profile-hide-friends.tpl b/view/smarty3/profile-hide-friends.tpl
new file mode 100644 (file)
index 0000000..590730a
--- /dev/null
@@ -0,0 +1,16 @@
+<p id="hide-friends-text">
+{{$desc}}
+</p>
+
+               <div id="hide-friends-yes-wrapper">
+               <label id="hide-friends-yes-label" for="hide-friends-yes">{{$yes_str}}</label>
+               <input type="radio" name="hide-friends" id="hide-friends-yes" {{$yes_selected}} value="1" />
+
+               <div id="hide-friends-break" ></div>    
+               </div>
+               <div id="hide-friends-no-wrapper">
+               <label id="hide-friends-no-label" for="hide-friends-no">{{$no_str}}</label>
+               <input type="radio" name="hide-friends" id="hide-friends-no" {{$no_selected}} value="0"  />
+
+               <div id="hide-friends-end"></div>
+               </div>
diff --git a/view/smarty3/profile-hide-wall.tpl b/view/smarty3/profile-hide-wall.tpl
new file mode 100644 (file)
index 0000000..6a11898
--- /dev/null
@@ -0,0 +1,16 @@
+<p id="hide-wall-text">
+{{$desc}}
+</p>
+
+               <div id="hide-wall-yes-wrapper">
+               <label id="hide-wall-yes-label" for="hide-wall-yes">{{$yes_str}}</label>
+               <input type="radio" name="hidewall" id="hide-wall-yes" {{$yes_selected}} value="1" />
+
+               <div id="hide-wall-break" ></div>       
+               </div>
+               <div id="hide-wall-no-wrapper">
+               <label id="hide-wall-no-label" for="hide-wall-no">{{$no_str}}</label>
+               <input type="radio" name="hidewall" id="hide-wall-no" {{$no_selected}} value="0"  />
+
+               <div id="hide-wall-end"></div>
+               </div>
diff --git a/view/smarty3/profile-in-directory.tpl b/view/smarty3/profile-in-directory.tpl
new file mode 100644 (file)
index 0000000..b367395
--- /dev/null
@@ -0,0 +1,16 @@
+<p id="profile-in-directory">
+{{$desc}}
+</p>
+
+               <div id="profile-in-dir-yes-wrapper">
+               <label id="profile-in-dir-yes-label" for="profile-in-dir-yes">{{$yes_str}}</label>
+               <input type="radio" name="profile_in_directory" id="profile-in-dir-yes" {{$yes_selected}} value="1" />
+
+               <div id="profile-in-dir-break" ></div>  
+               </div>
+               <div id="profile-in-dir-no-wrapper">
+               <label id="profile-in-dir-no-label" for="profile-in-dir-no">{{$no_str}}</label>
+               <input type="radio" name="profile_in_directory" id="profile-in-dir-no" {{$no_selected}} value="0"  />
+
+               <div id="profile-in-dir-end"></div>
+               </div>
diff --git a/view/smarty3/profile-in-netdir.tpl b/view/smarty3/profile-in-netdir.tpl
new file mode 100644 (file)
index 0000000..23d4642
--- /dev/null
@@ -0,0 +1,16 @@
+<p id="profile-in-directory">
+{{$desc}}
+</p>
+
+               <div id="profile-in-netdir-yes-wrapper">
+               <label id="profile-in-netdir-yes-label" for="profile-in-netdir-yes">{{$yes_str}}</label>
+               <input type="radio" name="profile_in_netdirectory" id="profile-in-netdir-yes" {{$yes_selected}} value="1" />
+
+               <div id="profile-in-netdir-break" ></div>       
+               </div>
+               <div id="profile-in-netdir-no-wrapper">
+               <label id="profile-in-netdir-no-label" for="profile-in-netdir-no">{{$no_str}}</label>
+               <input type="radio" name="profile_in_netdirectory" id="profile-in-netdir-no" {{$no_selected}} value="0"  />
+
+               <div id="profile-in-netdir-end"></div>
+               </div>
diff --git a/view/smarty3/profile_advanced.tpl b/view/smarty3/profile_advanced.tpl
new file mode 100644 (file)
index 0000000..812132f
--- /dev/null
@@ -0,0 +1,170 @@
+<h2>{{$title}}</h2>
+
+<dl id="aprofile-fullname" class="aprofile">
+ <dt>{{$profile.fullname.0}}</dt>
+ <dd>{{$profile.fullname.1}}</dd>
+</dl>
+
+{{if $profile.gender}}
+<dl id="aprofile-gender" class="aprofile">
+ <dt>{{$profile.gender.0}}</dt>
+ <dd>{{$profile.gender.1}}</dd>
+</dl>
+{{/if}}
+
+{{if $profile.birthday}}
+<dl id="aprofile-birthday" class="aprofile">
+ <dt>{{$profile.birthday.0}}</dt>
+ <dd>{{$profile.birthday.1}}</dd>
+</dl>
+{{/if}}
+
+{{if $profile.age}}
+<dl id="aprofile-age" class="aprofile">
+ <dt>{{$profile.age.0}}</dt>
+ <dd>{{$profile.age.1}}</dd>
+</dl>
+{{/if}}
+
+{{if $profile.marital}}
+<dl id="aprofile-marital" class="aprofile">
+ <dt><span class="heart">&hearts;</span>  {{$profile.marital.0}}</dt>
+ <dd>{{$profile.marital.1}}{{if $profile.marital.with}} ({{$profile.marital.with}}){{/if}}{{if $profile.howlong}} {{$profile.howlong}}{{/if}}</dd>
+</dl>
+{{/if}}
+
+{{if $profile.sexual}}
+<dl id="aprofile-sexual" class="aprofile">
+ <dt>{{$profile.sexual.0}}</dt>
+ <dd>{{$profile.sexual.1}}</dd>
+</dl>
+{{/if}}
+
+{{if $profile.pub_keywords}}
+<dl id="aprofile-tags" class="aprofile">
+ <dt>{{$profile.pub_keywords.0}}</dt>
+ <dd>{{$profile.pub_keywords.1}}</dd>
+</dl>
+{{/if}}
+
+{{if $profile.homepage}}
+<dl id="aprofile-homepage" class="aprofile">
+ <dt>{{$profile.homepage.0}}</dt>
+ <dd>{{$profile.homepage.1}}</dd>
+</dl>
+{{/if}}
+
+{{if $profile.hometown}}
+<dl id="aprofile-hometown" class="aprofile">
+ <dt>{{$profile.hometown.0}}</dt>
+ <dd>{{$profile.hometown.1}}</dd>
+</dl>
+{{/if}}
+
+{{if $profile.politic}}
+<dl id="aprofile-politic" class="aprofile">
+ <dt>{{$profile.politic.0}}</dt>
+ <dd>{{$profile.politic.1}}</dd>
+</dl>
+{{/if}}
+
+{{if $profile.religion}}
+<dl id="aprofile-religion" class="aprofile">
+ <dt>{{$profile.religion.0}}</dt>
+ <dd>{{$profile.religion.1}}</dd>
+</dl>
+{{/if}}
+
+{{if $profile.about}}
+<dl id="aprofile-about" class="aprofile">
+ <dt>{{$profile.about.0}}</dt>
+ <dd>{{$profile.about.1}}</dd>
+</dl>
+{{/if}}
+
+{{if $profile.interest}}
+<dl id="aprofile-interest" class="aprofile">
+ <dt>{{$profile.interest.0}}</dt>
+ <dd>{{$profile.interest.1}}</dd>
+</dl>
+{{/if}}
+
+{{if $profile.likes}}
+<dl id="aprofile-likes" class="aprofile">
+ <dt>{{$profile.likes.0}}</dt>
+ <dd>{{$profile.likes.1}}</dd>
+</dl>
+{{/if}}
+
+{{if $profile.dislikes}}
+<dl id="aprofile-dislikes" class="aprofile">
+ <dt>{{$profile.dislikes.0}}</dt>
+ <dd>{{$profile.dislikes.1}}</dd>
+</dl>
+{{/if}}
+
+{{if $profile.contact}}
+<dl id="aprofile-contact" class="aprofile">
+ <dt>{{$profile.contact.0}}</dt>
+ <dd>{{$profile.contact.1}}</dd>
+</dl>
+{{/if}}
+
+
+{{if $profile.music}}
+<dl id="aprofile-music" class="aprofile">
+ <dt>{{$profile.music.0}}</dt>
+ <dd>{{$profile.music.1}}</dd>
+</dl>
+{{/if}}
+
+
+{{if $profile.book}}
+<dl id="aprofile-book" class="aprofile">
+ <dt>{{$profile.book.0}}</dt>
+ <dd>{{$profile.book.1}}</dd>
+</dl>
+{{/if}}
+
+
+{{if $profile.tv}}
+<dl id="aprofile-tv" class="aprofile">
+ <dt>{{$profile.tv.0}}</dt>
+ <dd>{{$profile.tv.1}}</dd>
+</dl>
+{{/if}}
+
+
+{{if $profile.film}}
+<dl id="aprofile-film" class="aprofile">
+ <dt>{{$profile.film.0}}</dt>
+ <dd>{{$profile.film.1}}</dd>
+</dl>
+{{/if}}
+
+
+{{if $profile.romance}}
+<dl id="aprofile-romance" class="aprofile">
+ <dt>{{$profile.romance.0}}</dt>
+ <dd>{{$profile.romance.1}}</dd>
+</dl>
+{{/if}}
+
+
+{{if $profile.work}}
+<dl id="aprofile-work" class="aprofile">
+ <dt>{{$profile.work.0}}</dt>
+ <dd>{{$profile.work.1}}</dd>
+</dl>
+{{/if}}
+
+{{if $profile.education}}
+<dl id="aprofile-education" class="aprofile">
+ <dt>{{$profile.education.0}}</dt>
+ <dd>{{$profile.education.1}}</dd>
+</dl>
+{{/if}}
+
+
+
+
diff --git a/view/smarty3/profile_edit.tpl b/view/smarty3/profile_edit.tpl
new file mode 100644 (file)
index 0000000..c595e88
--- /dev/null
@@ -0,0 +1,323 @@
+{{$default}}
+
+<h1>{{$banner}}</h1>
+
+<div id="profile-edit-links">
+<ul>
+<li><a href="profile_photo" id="profile-photo_upload-link" title="{{$profpic}}">{{$profpic}}</a></li>
+<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="32" 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="32" 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="32" 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="32" 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="32" 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="32" 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>
+<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>
+<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="32" 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="32" 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="32" 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="32" 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="32" 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="32" 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="32" 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="32" 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" >
+<p id="about-jot-desc" >
+{{$lbl_about}}
+</p>
+
+<textarea rows="10" cols="72" id="profile-about-text" name="about" >{{$about}}</textarea>
+
+</div>
+<div id="about-jot-end"></div>
+
+
+<div id="interest-jot-wrapper" >
+<p id="interest-jot-desc" >
+{{$lbl_hobbies}}
+</p>
+
+<textarea rows="10" cols="72" id="interest-jot-text" name="interest" >{{$interest}}</textarea>
+
+</div>
+<div id="interest-jot-end"></div>
+
+
+<div id="likes-jot-wrapper" >
+<p id="likes-jot-desc" >
+{{$lbl_likes}}
+</p>
+
+<textarea rows="10" cols="72" id="likes-jot-text" name="likes" >{{$likes}}</textarea>
+
+</div>
+<div id="likes-jot-end"></div>
+
+
+<div id="dislikes-jot-wrapper" >
+<p id="dislikes-jot-desc" >
+{{$lbl_dislikes}}
+</p>
+
+<textarea rows="10" cols="72" id="dislikes-jot-text" name="dislikes" >{{$dislikes}}</textarea>
+
+</div>
+<div id="dislikes-jot-end"></div>
+
+
+<div id="contact-jot-wrapper" >
+<p id="contact-jot-desc" >
+{{$lbl_social}}
+</p>
+
+<textarea rows="10" cols="72" id="contact-jot-text" 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" >
+<p id="music-jot-desc" >
+{{$lbl_music}}
+</p>
+
+<textarea rows="10" cols="72" id="music-jot-text" name="music" >{{$music}}</textarea>
+
+</div>
+<div id="music-jot-end"></div>
+
+<div id="book-jot-wrapper" >
+<p id="book-jot-desc" >
+{{$lbl_book}}
+</p>
+
+<textarea rows="10" cols="72" id="book-jot-text" name="book" >{{$book}}</textarea>
+
+</div>
+<div id="book-jot-end"></div>
+
+
+
+<div id="tv-jot-wrapper" >
+<p id="tv-jot-desc" >
+{{$lbl_tv}} 
+</p>
+
+<textarea rows="10" cols="72" id="tv-jot-text" name="tv" >{{$tv}}</textarea>
+
+</div>
+<div id="tv-jot-end"></div>
+
+
+
+<div id="film-jot-wrapper" >
+<p id="film-jot-desc" >
+{{$lbl_film}}
+</p>
+
+<textarea rows="10" cols="72" id="film-jot-text" 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" >
+<p id="romance-jot-desc" >
+{{$lbl_love}}
+</p>
+
+<textarea rows="10" cols="72" id="romance-jot-text" name="romance" >{{$romance}}</textarea>
+
+</div>
+<div id="romance-jot-end"></div>
+
+
+
+<div id="work-jot-wrapper" >
+<p id="work-jot-desc" >
+{{$lbl_work}}
+</p>
+
+<textarea rows="10" cols="72" id="work-jot-text" name="work" >{{$work}}</textarea>
+
+</div>
+<div id="work-jot-end"></div>
+
+
+
+<div id="education-jot-wrapper" >
+<p id="education-jot-desc" >
+{{$lbl_school}} 
+</p>
+
+<textarea rows="10" cols="72" id="education-jot-text" 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>
+<script type="text/javascript">Fill_Country('{{$country_name}}');Fill_States('{{$region}}');</script>
diff --git a/view/smarty3/profile_edlink.tpl b/view/smarty3/profile_edlink.tpl
new file mode 100644 (file)
index 0000000..2f4600a
--- /dev/null
@@ -0,0 +1,2 @@
+<div class="profile-edit-side-div"><a class="profile-edit-side-link icon edit" title="{{$editprofile}}" href="profiles/{{$profid}}" ></a></div>
+<div class="clear"></div>
\ No newline at end of file
diff --git a/view/smarty3/profile_entry.tpl b/view/smarty3/profile_entry.tpl
new file mode 100644 (file)
index 0000000..e06307c
--- /dev/null
@@ -0,0 +1,11 @@
+
+<div class="profile-listing" >
+<div class="profile-listing-photo-wrapper" >
+<a href="profiles/{{$id}}" class="profile-listing-edit-link"><img class="profile-listing-photo" id="profile-listing-photo-{{$id}}" src="{{$photo}}" alt="{{$alt}}" /></a>
+</div>
+<div class="profile-listing-photo-end"></div>
+<div class="profile-listing-name" id="profile-listing-name-{{$id}}"><a href="profiles/{{$id}}" class="profile-listing-edit-link" >{{$profile_name}}</a></div>
+<div class="profile-listing-visible">{{$visible}}</div>
+</div>
+<div class="profile-listing-end"></div>
+
diff --git a/view/smarty3/profile_listing_header.tpl b/view/smarty3/profile_listing_header.tpl
new file mode 100644 (file)
index 0000000..b771a1e
--- /dev/null
@@ -0,0 +1,8 @@
+<h1>{{$header}}</h1>
+<p id="profile-listing-desc" class="button" >
+<a href="profile_photo" >{{$chg_photo}}</a>
+</p>
+<div id="profile-listing-new-link-wrapper" class="button" >
+<a href="{{$cr_new_link}}" id="profile-listing-new-link" title="{{$cr_new}}" >{{$cr_new}}</a>
+</div>
+
diff --git a/view/smarty3/profile_photo.tpl b/view/smarty3/profile_photo.tpl
new file mode 100644 (file)
index 0000000..d73779e
--- /dev/null
@@ -0,0 +1,26 @@
+<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="48" />
+</div>
+
+<label id="profile-photo-profiles-label" for="profile-photo-profiles">{{$lbl_profiles}} </label>
+<select name="profile" id="profile-photo-profiles" />
+{{foreach $profiles as $p}}
+<option value="{{$p.id}}" {{if $p.default}}selected="selected"{{/if}}>{{$p.name}}</option>
+{{/foreach}}
+</select>
+
+<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>
\ No newline at end of file
diff --git a/view/smarty3/profile_publish.tpl b/view/smarty3/profile_publish.tpl
new file mode 100644 (file)
index 0000000..265c0c6
--- /dev/null
@@ -0,0 +1,16 @@
+<p id="profile-publish-desc-{{$instance}}">
+{{$pubdesc}}
+</p>
+
+               <div id="profile-publish-yes-wrapper-{{$instance}}">
+               <label id="profile-publish-yes-label-{{$instance}}" for="profile-publish-yes-{{$instance}}">{{$str_yes}}</label>
+               <input type="radio" name="profile_publish_{{$instance}}" id="profile-publish-yes-{{$instance}}" {{$yes_selected}} value="1" />
+
+               <div id="profile-publish-break-{{$instance}}" ></div>   
+               </div>
+               <div id="profile-publish-no-wrapper-{{$instance}}">
+               <label id="profile-publish-no-label-{{$instance}}" for="profile-publish-no-{{$instance}}">{{$str_no}}</label>
+               <input type="radio" name="profile_publish_{{$instance}}" id="profile-publish-no-{{$instance}}" {{$no_selected}} value="0"  />
+
+               <div id="profile-publish-end-{{$instance}}"></div>
+               </div>
diff --git a/view/smarty3/profile_vcard.tpl b/view/smarty3/profile_vcard.tpl
new file mode 100644 (file)
index 0000000..3b5f507
--- /dev/null
@@ -0,0 +1,50 @@
+<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="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+       
+       <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/smarty3/prv_message.tpl b/view/smarty3/prv_message.tpl
new file mode 100644 (file)
index 0000000..06f253b
--- /dev/null
@@ -0,0 +1,33 @@
+
+<h3>{{$reply.header}}</h3>
+
+<div id="prvmail-wrapper" >
+<form id="prvmail-form" action="message" method="post" >
+
+{{$reply.parent}}
+
+<div id="prvmail-to-label">{{$reply.to}}</div>
+{{$reply.select}}
+
+<div id="prvmail-subject-label">{{$reply.subject}}</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$reply.subjtxt}}" {{$reply.readonly}} tabindex="11" />
+
+<div id="prvmail-message-label">{{$reply.yourmessage}}</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$reply.text}}</textarea>
+
+
+<div id="prvmail-submit-wrapper" >
+       <input type="submit" id="prvmail-submit" name="submit" value="{{$reply.submit}}" tabindex="13" />
+       <div id="prvmail-upload-wrapper" >
+               <div id="prvmail-upload" class="icon border camera" title="{{$reply.upload}}" ></div>
+       </div> 
+       <div id="prvmail-link-wrapper" >
+               <div id="prvmail-link" class="icon border link" title="{{$reply.insert}}" onclick="jotGetLink();" ></div>
+       </div> 
+       <div id="prvmail-rotator-wrapper" >
+               <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$reply.wait}}" title="{{$reply.wait}}" style="display: none;" />
+       </div> 
+</div>
+<div id="prvmail-end"></div>
+</form>
+</div>
diff --git a/view/smarty3/pwdreset.tpl b/view/smarty3/pwdreset.tpl
new file mode 100644 (file)
index 0000000..3993dec
--- /dev/null
@@ -0,0 +1,17 @@
+<h3>{{$lbl1}}</h3>
+
+<p>
+{{$lbl2}}
+</p>
+<p>
+{{$lbl3}}
+</p>
+<p>
+{{$newpass}}
+</p>
+<p>
+{{$lbl4}} {{$lbl5}}
+</p>
+<p>
+{{$lbl6}}
+</p>
diff --git a/view/smarty3/register.tpl b/view/smarty3/register.tpl
new file mode 100644 (file)
index 0000000..bdec2ff
--- /dev/null
@@ -0,0 +1,63 @@
+<h3>{{$regtitle}}</h3>
+
+<form action="register" method="post" id="register-form">
+
+       <input type="hidden" name="photo" value="{{$photo}}" />
+
+       {{$registertext}}
+
+       <p id="register-realpeople">{{$realpeople}}</p>
+
+       <p id="register-fill-desc">{{$fillwith}}</p>
+       <p id="register-fill-ext">{{$fillext}}</p>
+
+       <div id="register-openid-wrapper" >
+                       {{$oidhtml}}
+       </div>
+       <div id="register-openid-end" ></div>
+
+{{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" >
+               <label for="register-name" id="label-register-name" >{{$namelabel}}</label>
+               <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" >
+               <label for="register-email" id="label-register-email" >{{$addrlabel}}</label>
+               <input type="text" maxlength="60" size="32" name="email" id="register-email" value="{{$email}}" >
+       </div>
+       <div id="register-email-end" ></div>
+
+       <p id="register-nickname-desc" >{{$nickdesc}}</p>
+
+       <div id="register-nickname-wrapper" >
+               <label for="register-nickname" id="label-register-nickname" >{{$nicklabel}}</label>
+               <input type="text" maxlength="60" size="32" name="nickname" id="register-nickname" value="{{$nickname}}" ><div id="register-sitename">@{{$sitename}}</div>
+       </div>
+       <div id="register-nickname-end" ></div>
+
+       {{$publish}}
+
+       <div id="register-submit-wrapper">
+               <input type="submit" name="submit" id="register-submit-button" value="{{$regbutt}}" />
+       </div>
+       <div id="register-submit-end" ></div>
+    
+</form>
+
+{{$license}}
+
+
diff --git a/view/smarty3/remote_friends_common.tpl b/view/smarty3/remote_friends_common.tpl
new file mode 100644 (file)
index 0000000..b68e1c3
--- /dev/null
@@ -0,0 +1,21 @@
+<div id="remote-friends-in-common" class="bigwidget">
+       <div id="rfic-desc">{{$desc}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{if $linkmore}}<a href="{{$base}}/common/rem/{{$uid}}/{{$cid}}">{{$more}}</a>{{/if}}</div>
+       {{if $items}}
+       {{foreach $items as $item}}
+       <div class="profile-match-wrapper">
+               <div class="profile-match-photo">
+                       <a href="{{$item.url}}">
+                               <img src="{{$item.photo}}" width="80" height="80" alt="{{$item.name}}" title="{{$item.name}}" />
+                       </a>
+               </div>
+               <div class="profile-match-break"></div>
+               <div class="profile-match-name">
+                       <a href="{{$itemurl}}" title="{{$item.name}}">{{$item.name}}</a>
+               </div>
+               <div class="profile-match-end"></div>
+       </div>
+       {{/foreach}}
+       {{/if}}
+       <div id="rfic-end" class="clear"></div>
+</div>
+
diff --git a/view/smarty3/removeme.tpl b/view/smarty3/removeme.tpl
new file mode 100644 (file)
index 0000000..496f91f
--- /dev/null
@@ -0,0 +1,20 @@
+<h1>{{$title}}</h1>
+
+<div id="remove-account-wrapper">
+
+<div id="remove-account-desc">{{$desc}}</div>
+
+<form action="{{$basedir}}/removeme" autocomplete="off" method="post" >
+<input type="hidden" name="verify" value="{{$hash}}" />
+
+<div id="remove-account-pass-wrapper">
+<label id="remove-account-pass-label" for="remove-account-pass">{{$passwd}}</label>
+<input type="password" id="remove-account-pass" name="qxz_password" />
+</div>
+<div id="remove-account-pass-end"></div>
+
+<input type="submit" name="submit" value="{{$submit}}" />
+
+</form>
+</div>
+
diff --git a/view/smarty3/saved_searches_aside.tpl b/view/smarty3/saved_searches_aside.tpl
new file mode 100644 (file)
index 0000000..023b974
--- /dev/null
@@ -0,0 +1,14 @@
+<div class="widget" id="saved-search-list">
+       <h3 id="search">{{$title}}</h3>
+       {{$searchbox}}
+       
+       <ul id="saved-search-ul">
+               {{foreach $saved as $search}}
+               <li class="saved-search-li clear">
+                       <a title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" class="iconspacer savedsearchdrop " href="network/?f=&amp;remove=1&amp;search={{$search.encodedterm}}"></a>
+                       <a id="saved-search-term-{{$search.id}}" class="savedsearchterm" href="network/?f=&amp;search={{$search.encodedterm}}">{{$search.term}}</a>
+               </li>
+               {{/foreach}}
+       </ul>
+       <div class="clear"></div>
+</div>
diff --git a/view/smarty3/search_item.tpl b/view/smarty3/search_item.tpl
new file mode 100644 (file)
index 0000000..8b19b11
--- /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="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}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" 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/smarty3/settings-end.tpl b/view/smarty3/settings-end.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/smarty3/settings-head.tpl b/view/smarty3/settings-head.tpl
new file mode 100644 (file)
index 0000000..b40e36a
--- /dev/null
@@ -0,0 +1,25 @@
+
+<script>
+       var ispublic = "{{$ispublic}}";
+
+
+       $(document).ready(function() {
+
+               $('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
+                       var selstr;
+                       $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
+                               selstr = $(this).text();
+                               $('#jot-perms-icon').removeClass('unlock').addClass('lock');
+                               $('#jot-public').hide();
+                       });
+                       if(selstr == null) { 
+                               $('#jot-perms-icon').removeClass('lock').addClass('unlock');
+                               $('#jot-public').show();
+                       }
+
+               }).trigger('change');
+
+       });
+
+</script>
+
diff --git a/view/smarty3/settings.tpl b/view/smarty3/settings.tpl
new file mode 100644 (file)
index 0000000..d4e8fb6
--- /dev/null
@@ -0,0 +1,145 @@
+<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="file:{{$field_password}}" field=$password1}}
+{{include file="file:{{$field_password}}" field=$password2}}
+
+{{if $oid_enable}}
+{{include file="file:{{$field_input}}" 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="file:{{$field_input}}" field=$username}}
+{{include file="file:{{$field_input}}" field=$email}}
+{{include file="file:{{$field_custom}}" field=$timezone}}
+{{include file="file:{{$field_input}}" field=$defloc}}
+{{include file="file:{{$field_checkbox}}" 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="file:{{$field_input}}" field=$maxreq}}
+
+{{$profile_in_dir}}
+
+{{$profile_in_net_dir}}
+
+{{$hide_friends}}
+
+{{$hide_wall}}
+
+{{$blockwall}}
+
+{{$blocktags}}
+
+{{$suggestme}}
+
+{{$unkmail}}
+
+
+{{include file="file:{{$field_input}}" field=$cntunkmail}}
+
+{{include file="file:{{$field_input}}" 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="file:{{$field_yesno}}" field=$expire.items}}
+                       {{include file="file:{{$field_yesno}}" field=$expire.notes}}
+                       {{include file="file:{{$field_yesno}}" field=$expire.starred}}
+                       {{include file="file:{{$field_yesno}}" field=$expire.network_only}}
+               </div>
+       </div>
+
+</div>
+
+
+<div id="settings-default-perms" class="settings-default-perms" >
+       <a href="#profile-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="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
+                       {{$aclselect}}
+               </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="file:{{$field_checkbox}}" field=$post_newfriend}}
+{{include file="file:{{$field_checkbox}}" field=$post_joingroup}}
+{{include file="file:{{$field_checkbox}}" field=$post_profilechange}}
+
+
+<div id="settings-notify-desc">{{$lbl_not}}</div>
+
+<div class="group">
+{{include file="file:{{$field_intcheckbox}}" field=$notify1}}
+{{include file="file:{{$field_intcheckbox}}" field=$notify2}}
+{{include file="file:{{$field_intcheckbox}}" field=$notify3}}
+{{include file="file:{{$field_intcheckbox}}" field=$notify4}}
+{{include file="file:{{$field_intcheckbox}}" field=$notify5}}
+{{include file="file:{{$field_intcheckbox}}" field=$notify6}}
+{{include file="file:{{$field_intcheckbox}}" field=$notify7}}
+{{include file="file:{{$field_intcheckbox}}" field=$notify8}}
+</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/smarty3/settings_addons.tpl b/view/smarty3/settings_addons.tpl
new file mode 100644 (file)
index 0000000..afddafb
--- /dev/null
@@ -0,0 +1,10 @@
+<h1>{{$title}}</h1>
+
+
+<form action="settings/addon" method="post" autocomplete="off">
+<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+
+{{$settings_addons}}
+
+</form>
+
diff --git a/view/smarty3/settings_connectors.tpl b/view/smarty3/settings_connectors.tpl
new file mode 100644 (file)
index 0000000..3b025a6
--- /dev/null
@@ -0,0 +1,35 @@
+<h1>{{$title}}</h1>
+
+<div class="connector_statusmsg">{{$diasp_enabled}}</div>
+<div class="connector_statusmsg">{{$ostat_enabled}}</div>
+
+<form action="settings/connectors" method="post" autocomplete="off">
+<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+
+{{$settings_connectors}}
+
+{{if $mail_disabled}}
+
+{{else}}
+       <div class="settings-block">
+       <h3 class="settings-heading">{{$h_imap}}</h3>
+       <p>{{$imap_desc}}</p>
+       {{include file="file:{{$field_custom}}" field=$imap_lastcheck}}
+       {{include file="file:{{$field_input}}" field=$mail_server}}
+       {{include file="file:{{$field_input}}" field=$mail_port}}
+       {{include file="file:{{$field_select}}" field=$mail_ssl}}
+       {{include file="file:{{$field_input}}" field=$mail_user}}
+       {{include file="file:{{$field_password}}" field=$mail_pass}}
+       {{include file="file:{{$field_input}}" field=$mail_replyto}}
+       {{include file="file:{{$field_checkbox}}" field=$mail_pubmail}}
+       {{include file="file:{{$field_select}}" field=$mail_action}}
+       {{include file="file:{{$field_input}}" field=$mail_movetofolder}}
+
+       <div class="settings-submit-wrapper" >
+               <input type="submit" id="imap-submit" name="imap-submit" class="settings-submit" value="{{$submit}}" />
+       </div>
+       </div>
+{{/if}}
+
+</form>
+
diff --git a/view/smarty3/settings_display.tpl b/view/smarty3/settings_display.tpl
new file mode 100644 (file)
index 0000000..0305239
--- /dev/null
@@ -0,0 +1,22 @@
+<h1>{{$ptitle}}</h1>
+
+<form action="settings/display" id="settings-form" method="post" autocomplete="off" >
+<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+
+{{include file="file:{{$field_themeselect}}" field=$theme}}
+{{include file="file:{{$field_themeselect}}" field=$mobile_theme}}
+{{include file="file:{{$field_input}}" field=$ajaxint}}
+{{include file="file:{{$field_input}}" field=$itemspage_network}}
+{{include file="file:{{$field_checkbox}}" field=$nosmile}}
+
+
+<div class="settings-submit-wrapper" >
+<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" />
+</div>
+
+{{if $theme_config}}
+<h2>Theme settings</h2>
+{{$theme_config}}
+{{/if}}
+
+</form>
diff --git a/view/smarty3/settings_display_end.tpl b/view/smarty3/settings_display_end.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/smarty3/settings_features.tpl b/view/smarty3/settings_features.tpl
new file mode 100644 (file)
index 0000000..9db99b5
--- /dev/null
@@ -0,0 +1,20 @@
+<h1>{{$title}}</h1>
+
+
+<form action="settings/features" method="post" autocomplete="off">
+<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+
+{{foreach $features as $f}}
+<h3 class="settings-heading">{{$f.0}}</h3>
+
+{{foreach $f.1 as $fcat}}
+       {{include file="file:{{$field_yesno}}" field=$fcat}}
+{{/foreach}}
+{{/foreach}}
+
+<div class="settings-submit-wrapper" >
+<input type="submit" name="submit" class="settings-features-submit" value="{{$submit}}" />
+</div>
+
+</form>
+
diff --git a/view/smarty3/settings_nick_set.tpl b/view/smarty3/settings_nick_set.tpl
new file mode 100644 (file)
index 0000000..85956d9
--- /dev/null
@@ -0,0 +1,5 @@
+
+<div id="settings-nick-wrapper" >
+<div id="settings-nickname-desc" class="info-message">{{$desc}} <strong>'{{$nickname}}@{{$basepath}}'</strong>{{$subdir}}</div>
+</div>
+<div id="settings-nick-end" ></div>
diff --git a/view/smarty3/settings_nick_subdir.tpl b/view/smarty3/settings_nick_subdir.tpl
new file mode 100644 (file)
index 0000000..a271e0f
--- /dev/null
@@ -0,0 +1,6 @@
+<p>
+It appears that your website is located in a subdirectory of the<br />
+{{$hostname}} website, so this setting may not work reliably.<br />
+</p>
+<p>If you have any issues, you may have better results using the profile<br /> address '<strong>{{$baseurl}}/profile/{{$nickname}}</strong>'.
+</p>
\ No newline at end of file
diff --git a/view/smarty3/settings_oauth.tpl b/view/smarty3/settings_oauth.tpl
new file mode 100644 (file)
index 0000000..11c61a4
--- /dev/null
@@ -0,0 +1,31 @@
+<h1>{{$title}}</h1>
+
+
+<form action="settings/oauth" method="post" autocomplete="off">
+<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+
+       <div id="profile-edit-links">
+               <ul>
+                       <li>
+                               <a id="profile-edit-view-link" href="{{$baseurl}}/settings/oauth/add">{{$add}}</a>
+                       </li>
+               </ul>
+       </div>
+
+       {{foreach $apps as $app}}
+       <div class='oauthapp'>
+               <img src='{{$app.icon}}' class="{{if $app.icon}} {{else}}noicon{{/if}}">
+               {{if $app.name}}<h4>{{$app.name}}</h4>{{else}}<h4>{{$noname}}</h4>{{/if}}
+               {{if $app.my}}
+                       {{if $app.oauth_token}}
+                       <div class="settings-submit-wrapper" ><button class="settings-submit"  type="submit" name="remove" value="{{$app.oauth_token}}">{{$remove}}</button></div>
+                       {{/if}}
+               {{/if}}
+               {{if $app.my}}
+               <a href="{{$baseurl}}/settings/oauth/edit/{{$app.client_id}}" class="icon s22 edit" title="{{$edit}}">&nbsp;</a>
+               <a href="{{$baseurl}}/settings/oauth/delete/{{$app.client_id}}?t={{$form_security_token}}" class="icon s22 delete" title="{{$delete}}">&nbsp;</a>
+               {{/if}}         
+       </div>
+       {{/foreach}}
+
+</form>
diff --git a/view/smarty3/settings_oauth_edit.tpl b/view/smarty3/settings_oauth_edit.tpl
new file mode 100644 (file)
index 0000000..c991f97
--- /dev/null
@@ -0,0 +1,17 @@
+<h1>{{$title}}</h1>
+
+<form method="POST">
+<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+
+{{include file="file:{{$field_input}}" field=$name}}
+{{include file="file:{{$field_input}}" field=$key}}
+{{include file="file:{{$field_input}}" field=$secret}}
+{{include file="file:{{$field_input}}" field=$redirect}}
+{{include file="file:{{$field_input}}" field=$icon}}
+
+<div class="settings-submit-wrapper" >
+<input type="submit" name="submit" class="settings-submit" value="{{$submit}}" />
+<input type="submit" name="cancel" class="settings-submit" value="{{$cancel}}" />
+</div>
+
+</form>
diff --git a/view/smarty3/suggest_friends.tpl b/view/smarty3/suggest_friends.tpl
new file mode 100644 (file)
index 0000000..c8b9dd2
--- /dev/null
@@ -0,0 +1,16 @@
+<div class="profile-match-wrapper">
+       <a href="{{$ignlnk}}" title="{{$ignore}}" class="icon drophide profile-match-ignore" onmouseout="imgdull(this);" onmouseover="imgbright(this);" onclick="return confirmDelete();" ></a>
+       <div class="profile-match-photo">
+               <a href="{{$url}}">
+                       <img src="{{$photo}}" alt="{{$name}}" width="80" height="80" title="{{$name}} [{{$url}}]" />
+               </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}}
+</div>
\ No newline at end of file
diff --git a/view/smarty3/suggestions.tpl b/view/smarty3/suggestions.tpl
new file mode 100644 (file)
index 0000000..b4f6afc
--- /dev/null
@@ -0,0 +1,21 @@
+
+<div class="intro-wrapper" >
+
+<p class="intro-desc">{{$str_notifytype}} {{$notify_type}}</p>
+<div class="intro-madeby">{{$madeby}}</div>
+<div class="intro-fullname" >{{$fullname}}</div>
+<a class="intro-url-link" href="{{$url}}" ><img class="intro-photo lframe" src="{{$photo}}" width="175" height=175" title="{{$fullname}}" alt="{{$fullname}}" /></a>
+<div class="intro-note" >{{$note}}</div>
+<div class="intro-wrapper-end"></div>
+<form class="intro-form" action="notifications/{{$intro_id}}" method="post">
+<input class="intro-submit-ignore" type="submit" name="submit" value="{{$ignore}}" />
+<input class="intro-submit-discard" type="submit" name="submit" value="{{$discard}}" />
+</form>
+<div class="intro-form-end"></div>
+
+<form class="intro-approve-form" action="{{$request}}" method="get">
+{{include file="file:{{$field_checkbox}}" field=$hidden}}
+<input class="intro-submit-approve" type="submit" name="submit" value="{{$approve}}" />
+</form>
+</div>
+<div class="intro-end"></div>
diff --git a/view/smarty3/tag_slap.tpl b/view/smarty3/tag_slap.tpl
new file mode 100644 (file)
index 0000000..bb991e6
--- /dev/null
@@ -0,0 +1,30 @@
+       <entry>
+               <author>
+                       <name>{{$name}}</name>
+                       <uri>{{$profile_page}}</uri>
+                       <link rel="photo"  type="image/jpeg" media:width="80" media:height="80" href="{{$thumb}}" />
+                       <link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="{{$thumb}}" />
+               </author>
+
+               <id>{{$item_id}}</id>
+               <title>{{$title}}</title>
+               <published>{{$published}}</published>
+               <content type="{{$type}}" >{{$content}}</content>
+               <link rel="mentioned" href="{{$accturi}}" />
+               <as:actor>
+               <as:object-type>http://activitystrea.ms/schema/1.0/person</as:object-type>
+               <id>{{$profile_page}}</id>
+               <title></title>
+               <link rel="avatar" type="image/jpeg" media:width="175" media:height="175" href="{{$photo}}"/>
+               <link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="{{$thumb}}"/>
+               <poco:preferredUsername>{{$nick}}</poco:preferredUsername>
+               <poco:displayName>{{$name}}</poco:displayName>
+               </as:actor>
+               <as:verb>{{$verb}}</as:verb>
+               <as:object>
+               <as:object-type></as:object-type>
+               </as:object>
+               <as:target>
+               <as:object-type></as:object-type>
+               </as:target>
+       </entry>
diff --git a/view/smarty3/threaded_conversation.tpl b/view/smarty3/threaded_conversation.tpl
new file mode 100644 (file)
index 0000000..0830063
--- /dev/null
@@ -0,0 +1,16 @@
+{{$live_update}}
+
+{{foreach $threads as $thread}}
+{{include file="file:{{$thread.template}}" item=$thread}}
+{{/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>
+<img id="item-delete-selected-rotator" class="like-rotator" src="images/rotator.gif" style="display: none;" />
+<div id="item-delete-selected-end"></div>
+{{/if}}
diff --git a/view/smarty3/toggle_mobile_footer.tpl b/view/smarty3/toggle_mobile_footer.tpl
new file mode 100644 (file)
index 0000000..82c0197
--- /dev/null
@@ -0,0 +1,2 @@
+<a id="toggle_mobile_link" href="{{$toggle_link}}">{{$toggle_text}}</a>
+
diff --git a/view/smarty3/uexport.tpl b/view/smarty3/uexport.tpl
new file mode 100644 (file)
index 0000000..efdcd6d
--- /dev/null
@@ -0,0 +1,9 @@
+<h3>{{$title}}</h3>\r
+\r
+\r
+{{foreach $options as $o}}\r
+<dl>\r
+    <dt><a href="{{$baseurl}}/{{$o.0}}">{{$o.1}}</a></dt>\r
+    <dd>{{$o.2}}</dd>\r
+</dl>\r
+{{/foreach}}
\ No newline at end of file
diff --git a/view/smarty3/uimport.tpl b/view/smarty3/uimport.tpl
new file mode 100644 (file)
index 0000000..f9ec290
--- /dev/null
@@ -0,0 +1,13 @@
+<form action="uimport" method="post" id="uimport-form" enctype="multipart/form-data">\r
+<h1>{{$import.title}}</h1>\r
+    <p>{{$import.intro}}</p>\r
+    <p>{{$import.instruct}}</p>\r
+    <p><b>{{$import.warn}}</b></p>\r
+     {{include file="file:{{$field_custom}}" field=$import.field}}\r
+     \r
+     \r
+       <div id="register-submit-wrapper">\r
+               <input type="submit" name="submit" id="register-submit-button" value="{{$regbutt}}" />\r
+       </div>\r
+       <div id="register-submit-end" ></div>    \r
+</form>\r
diff --git a/view/smarty3/vcard-widget.tpl b/view/smarty3/vcard-widget.tpl
new file mode 100644 (file)
index 0000000..1a4f90c
--- /dev/null
@@ -0,0 +1,5 @@
+       <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>
+
diff --git a/view/smarty3/viewcontact_template.tpl b/view/smarty3/viewcontact_template.tpl
new file mode 100644 (file)
index 0000000..4a3b0ef
--- /dev/null
@@ -0,0 +1,9 @@
+<h3>{{$title}}</h3>
+
+{{foreach $contacts as $c}}
+       {{include file="file:{{$contact_template}}" contact=$c}}
+{{/foreach}}
+
+<div id="view-contact-end"></div>
+
+{{$paginate}}
diff --git a/view/smarty3/voting_fakelink.tpl b/view/smarty3/voting_fakelink.tpl
new file mode 100644 (file)
index 0000000..ddba96b
--- /dev/null
@@ -0,0 +1,2 @@
+               <span class="fakelink" onclick="openClose('{{$vote_id}}');">{{$count}} {{$people}}</span> {{$vote_mood}}<br />
+
diff --git a/view/smarty3/wall_thread.tpl b/view/smarty3/wall_thread.tpl
new file mode 100644 (file)
index 0000000..86da6f5
--- /dev/null
@@ -0,0 +1,120 @@
+{{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-outside-wrapper {{$item.indent}}{{$item.previewing}}{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-outside-wrapper-{{$item.id}}" >
+       <div class="wall-item-content-wrapper {{$item.indent}} {{$item.shiny}}" id="wall-item-content-wrapper-{{$item.id}}" >
+               <div class="wall-item-info{{if $item.owner_url}} wallwall{{/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}}" /></a>
+                       </div>
+                       <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="{{$item.wall}}" /></div>
+                       {{/if}}
+                       <div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}}" 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="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}}" 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 class="body-tag">
+                                               {{foreach $item.tags as $tag}}
+                                                       <span class='tag'>{{$tag}}</span>
+                                               {{/foreach}}
+                                       </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="{{$item.remove}}">[{{$item.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="{{$item.remove}}">[{{$item.remove}}]</a>{{/if}}{{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="#" class="icon like" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></a>
+                               {{if $item.vote.dislike}}<a href="#" class="icon dislike" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></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="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="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" 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}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" 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 {{$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>
+
+                       {{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="file:{{$child.template}}" item=$child}}
+{{/foreach}}
+
+{{if $item.flatten}}
+<div class="wall-item-comment-wrapper" >
+       {{$item.comment}}
+</div>
+{{/if}}
+</div>
+{{if $item.comment_lastcollapsed}}</div>{{/if}}
diff --git a/view/smarty3/wallmessage.tpl b/view/smarty3/wallmessage.tpl
new file mode 100644 (file)
index 0000000..bea386b
--- /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/smarty3/wallmsg-end.tpl b/view/smarty3/wallmsg-end.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/smarty3/wallmsg-header.tpl b/view/smarty3/wallmsg-header.tpl
new file mode 100644 (file)
index 0000000..09f5b30
--- /dev/null
@@ -0,0 +1,82 @@
+
+<script language="javascript" type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
+<script language="javascript" type="text/javascript">
+
+var plaintext = '{{$editselect}}';
+
+if(plaintext != 'none') {
+       tinyMCE.init({
+               theme : "advanced",
+               mode : "specific_textareas",
+               editor_selector: /(profile-jot-text|prvmail-text)/,
+               plugins : "bbcode,paste",
+               theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
+               theme_advanced_buttons2 : "",
+               theme_advanced_buttons3 : "",
+               theme_advanced_toolbar_location : "top",
+               theme_advanced_toolbar_align : "center",
+               theme_advanced_blockformats : "blockquote,code",
+               gecko_spellcheck : true,
+               paste_text_sticky : true,
+               entity_encoding : "raw",
+               add_unload_trigger : false,
+               remove_linebreaks : false,
+               force_p_newlines : false,
+               force_br_newlines : true,
+               forced_root_block : '',
+               convert_urls: false,
+               content_css: "{{$baseurl}}/view/custom_tinymce.css",
+                    //Character count
+               theme_advanced_path : false,
+               setup : function(ed) {
+                       ed.onInit.add(function(ed) {
+                               ed.pasteAsPlainText = true;
+                               var editorId = ed.editorId;
+                               var textarea = $('#'+editorId);
+                               if (typeof(textarea.attr('tabindex')) != "undefined") {
+                                       $('#'+editorId+'_ifr').attr('tabindex', textarea.attr('tabindex'));
+                                       textarea.attr('tabindex', null);
+                               }
+                       });
+               }
+       });
+}
+else
+       $("#prvmail-text").contact_autocomplete(baseurl+"/acl");
+
+
+</script>
+<script>
+
+       function jotGetLink() {
+               reply = prompt("{{$linkurl}}");
+               if(reply && reply.length) {
+                       $('#profile-rotator').show();
+                       $.get('parse_url?url=' + reply, function(data) {
+                               tinyMCE.execCommand('mceInsertRawHTML',false,data);
+                               $('#profile-rotator').hide();
+                       });
+               }
+       }
+
+       function linkdropper(event) {
+               var linkFound = event.dataTransfer.types.contains("text/uri-list");
+               if(linkFound)
+                       event.preventDefault();
+       }
+
+       function linkdrop(event) {
+               var reply = event.dataTransfer.getData("text/uri-list");
+               event.target.textContent = reply;
+               event.preventDefault();
+               if(reply && reply.length) {
+                       $('#profile-rotator').show();
+                       $.get('parse_url?url=' + reply, function(data) {
+                               tinyMCE.execCommand('mceInsertRawHTML',false,data);
+                               $('#profile-rotator').hide();
+                       });
+               }
+       }
+
+</script>
+
diff --git a/view/smarty3/xrd_diaspora.tpl b/view/smarty3/xrd_diaspora.tpl
new file mode 100644 (file)
index 0000000..aa0d8c7
--- /dev/null
@@ -0,0 +1,3 @@
+       <Link rel="http://joindiaspora.com/seed_location" type="text/html" href="{{$baseurl}}/" />
+       <Link rel="http://joindiaspora.com/guid" type="text/html" href="{{$dspr_guid}}" />
+       <Link rel="diaspora-public-key" type="RSA" href="{{$dspr_key}}" />
diff --git a/view/smarty3/xrd_host.tpl b/view/smarty3/xrd_host.tpl
new file mode 100644 (file)
index 0000000..4bcc5bb
--- /dev/null
@@ -0,0 +1,18 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'
+     xmlns:hm='http://host-meta.net/xrd/1.0'>
+    <hm:Host>{{$zhost}}</hm:Host>
+    <Link rel='lrdd' template='{{$domain}}/xrd/?uri={uri}' />
+    <Link rel='acct-mgmt' href='{{$domain}}/amcd' />
+    <Link rel='http://services.mozilla.com/amcd/0.1' href='{{$domain}}/amcd' />
+       <Link rel="http://oexchange.org/spec/0.8/rel/resident-target" type="application/xrd+xml" 
+        href="{{$domain}}/oexchange/xrd" />
+
+    <Property xmlns:mk="http://salmon-protocol.org/ns/magic-key"
+        type="http://salmon-protocol.org/ns/magic-key"
+        mk:key_id="1">{{$bigkey}}</Property>
+
+
+</XRD>
diff --git a/view/smarty3/xrd_person.tpl b/view/smarty3/xrd_person.tpl
new file mode 100644 (file)
index 0000000..a9d075a
--- /dev/null
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
+    <Subject>{{$accturi}}</Subject>
+       <Alias>{{$accturi}}</Alias>
+    <Alias>{{$profile_url}}</Alias>
+    <Link rel="http://purl.org/macgirvin/dfrn/1.0"
+          href="{{$profile_url}}" />
+    <Link rel="http://schemas.google.com/g/2010#updates-from" 
+          type="application/atom+xml" 
+          href="{{$atom}}" />
+    <Link rel="http://webfinger.net/rel/profile-page"
+          type="text/html"
+          href="{{$profile_url}}" />
+    <Link rel="http://microformats.org/profile/hcard"
+          type="text/html"
+          href="{{$hcard_url}}" />
+    <Link rel="http://portablecontacts.net/spec/1.0"
+          href="{{$poco_url}}" />
+    <Link rel="http://webfinger.net/rel/avatar"
+          type="image/jpeg"
+          href="{{$photo}}" />
+       {{$dspr}}
+    <Link rel="salmon" 
+          href="{{$salmon}}" />
+    <Link rel="http://salmon-protocol.org/ns/salmon-replies" 
+          href="{{$salmon}}" />
+    <Link rel="http://salmon-protocol.org/ns/salmon-mention" 
+          href="{{$salmen}}" />
+    <Link rel="magic-public-key" 
+          href="{{$modexp}}" />
+       <Property xmlns:mk="http://salmon-protocol.org/ns/magic-key"
+          type="http://salmon-protocol.org/ns/magic-key"
+          mk:key_id="1">{{$bigkey}}</Property>
+
+</XRD>
index 656336496c0b6be7248d3ad0f0ce8efd1bd36f61..cab2ba83aeec6c93ca57ca623f32b07dd311db2d 100644 (file)
@@ -14,7 +14,7 @@
 <div class="intro-form-end"></div>
 
 <form class="intro-approve-form" action="$request" method="get">
-{{inc field_checkbox.tpl with $field=$hidden }}{{endinc}}
+{{inc $field_checkbox with $field=$hidden }}{{endinc}}
 <input class="intro-submit-approve" type="submit" name="submit" value="$approve" />
 </form>
 </div>
diff --git a/view/sv/smarty3/cmnt_received_eml.tpl b/view/sv/smarty3/cmnt_received_eml.tpl
new file mode 100644 (file)
index 0000000..937a7d4
--- /dev/null
@@ -0,0 +1,17 @@
+
+{{$username}},
+
+'{{$from}}' har kommenterat något som du följer.
+
+-----
+{{$body}}
+-----
+
+Logga in på {{$siteurl}} för att se hela konversationen:
+
+{{$display}}
+
+Hälsningar,
+{{$sitename}} admin
+
diff --git a/view/sv/smarty3/follow_notify_eml.tpl b/view/sv/smarty3/follow_notify_eml.tpl
new file mode 100644 (file)
index 0000000..1ef5334
--- /dev/null
@@ -0,0 +1,12 @@
+{{$myname}},
+
+'{{$requestor}}' på {{$sitename}} vill följa dina uppdateringar här på Friendica.
+
+Besök dennes profil på {{$url}}.
+
+Logga in för att godkänna eller avslå förfrågan.
+
+{{$siteurl}}
+
+Hälsningar,
+{{$sitename}} admin
diff --git a/view/sv/smarty3/friend_complete_eml.tpl b/view/sv/smarty3/friend_complete_eml.tpl
new file mode 100644 (file)
index 0000000..cc20902
--- /dev/null
@@ -0,0 +1,17 @@
+{{$username}},
+
+Goda nyheter... '{{$fn}}' på '{{$dfrn_url}}' har accepterat din kontaktförfrågan på '{{$sitename}}'.
+
+Ni är nu ömsesidiga vänner och kan se varandras statusuppdateringar samt skicka foton och meddelanden
+utan begränsningar.
+
+Gå in på din sida 'Kontakter' på {{$sitename}} om du vill göra några 
+ändringar när det gäller denna kontakt. 
+
+{{$siteurl}}
+
+[Du kan exempelvis skapa en separat profil med information som inte
+är tillgänglig för vem som helst, och ge visningsrättigheter till '{{$fn}}'].
+
+Hälsningar,
+{{$sitename}} admin
diff --git a/view/sv/smarty3/htconfig.tpl b/view/sv/smarty3/htconfig.tpl
new file mode 100644 (file)
index 0000000..75d6a77
--- /dev/null
@@ -0,0 +1,68 @@
+<?php
+
+// Set the following for your MySQL installation
+// Copy or rename this file to .htconfig.php
+
+$db_host = '{{$dbhost}}';
+$db_user = '{{$dbuser}}';
+$db_pass = '{{$dbpass}}';
+$db_data = '{{$dbdata}}';
+
+// If you are using a subdirectory of your domain you will need to put the
+// relative path (from the root of your domain) here.
+// For instance if your URL is 'http://example.com/directory/subdirectory',
+// set $a->path to 'directory/subdirectory'. 
+
+$a->path = '{{$urlpath}}';
+// Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
+// It can be changed later and only applies to timestamps for anonymous viewers.
+
+$default_timezone = '{{$timezone}}';
+
+// What is your site name?
+
+$a->config['sitename'] = "My Friend Network";
+
+// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
+// Be certain to create your own personal account before setting 
+// REGISTER_CLOSED. 'register_text' (if set) will be displayed prominently on 
+// the registration page. REGISTER_APPROVE requires you set 'admin_email'
+// to the email address of an already registered person who can authorise
+// and/or approve/deny the request.
+
+$a->config['register_policy'] = REGISTER_OPEN;
+$a->config['register_text'] = '';
+$a->config['admin_email'] = '{{$adminmail}}';
+
+// Maximum size of an imported message, 0 is unlimited
+
+$a->config['max_import_size'] = 200000;
+
+// maximum size of uploaded photos
+
+$a->config['system']['maximagesize'] = 800000;
+
+// Location of PHP command line processor
+
+$a->config['php_path'] = '{{$phpath}}';
+
+// Location of global directory submission page.
+
+$a->config['system']['directory_submit_url'] = 'http://dir.friendica.com/submit';
+$a->config['system']['directory_search_url'] = 'http://dir.friendica.com/directory?search=';
+
+// PuSH - aka pubsubhubbub URL. This makes delivery of public posts as fast as private posts
+
+$a->config['system']['huburl'] = 'http://pubsubhubbub.appspot.com';
+
+// Server-to-server private message encryption (RINO) is allowed by default. 
+// Encryption will only be provided if this setting is true and the
+// PHP mcrypt extension is installed on both systems 
+
+$a->config['system']['rino_encrypt'] = true;
+
+// default system theme
+
+$a->config['system']['theme'] = 'duepuntozero';
+
diff --git a/view/sv/smarty3/intro_complete_eml.tpl b/view/sv/smarty3/intro_complete_eml.tpl
new file mode 100644 (file)
index 0000000..b9dac4f
--- /dev/null
@@ -0,0 +1,19 @@
+{{$username}},
+
+'{{$fn}}' på '{{$dfrn_url}}' har accepterat din kontaktförfrågan på '{{$sitename}}'.
+
+'{{$fn}}' har valt att acceptera dig som ett "fan" vilket innebär vissa begränsningar 
+i kommunikationen mellan er - som till exempel personliga meddelanden och viss interaktion
+mellan profiler. Om detta är en kändis eller en gemenskap så har dessa inställningar gjorts
+per automatik.
+
+'{{$fn}}' kan välja att utöka detta till vanlig tvåvägskommunikation eller någon annan mer 
+tillåtande kommunikationsform i framtiden. 
+
+Du kommer hädanefter att få statusuppdateringar från '{{$fn}}', 
+vilka kommer att synas på din Nätverk-sida på 
+
+{{$siteurl}}
+
+Hälsningar,
+{{$sitename}} admin
diff --git a/view/sv/smarty3/lostpass_eml.tpl b/view/sv/smarty3/lostpass_eml.tpl
new file mode 100644 (file)
index 0000000..11f1bb2
--- /dev/null
@@ -0,0 +1,29 @@
+{{$username}},
+
+En begäran om återställning av lösenord på {{$sitename}} har mottagits. 
+Gå till adressen nedan för att bekräfta denna begäran. Du kan också 
+klistra in länken i adressfältet i din webbläsare. 
+
+Gå INTE till länken nedan om du INTE har begärt lösenordsåterställning. 
+Då kan du ignorera det här meddelandet. 
+
+Ditt lösenord kommer inte att återställas om vi inte kan säkerställa att du 
+initierat detta.
+
+Med den här länken kan du bekräfta din identitet:
+
+{{$reset_link}}
+
+Sedan kommer du att få ett meddelande med ett nytt lösenord.
+
+Lösenordet kan sedan ändras i dina inställningar efter att du loggat in.
+
+Detaljerna ser ut så här:
+
+Webbplats:             {{$siteurl}}
+Inloggningsnamn:       {{$email}}
+
+Hälsningar,
+{{$sitename}} admin
+
\ No newline at end of file
diff --git a/view/sv/smarty3/mail_received_html_body_eml.tpl b/view/sv/smarty3/mail_received_html_body_eml.tpl
new file mode 100644 (file)
index 0000000..8914073
--- /dev/null
@@ -0,0 +1,25 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional //EN">
+<html>
+<head>
+       <title>Meddelande p&aring; Friendica</title>
+       <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+</head>
+<body>
+<table style="border:1px solid #ccc">
+       <tbody>
+       <tr><td colspan="2" style="background:#3b5998; color:#FFFFFF; font-weight:bold; font-family:'lucida grande', tahoma, verdana,arial, sans-serif; padding: 4px 8px; vertical-align: middle; font-size:16px; letter-spacing: -0.03em; text-align: left;"><img style="width:32px;height:32px;" src='{{$siteurl}}/images/friendica-32.png'><span style="padding:7px;">Friendica</span></td></tr>
+
+       <tr><td style="padding-top:22px;" colspan="2">{{$from}} har skickat ett personligt meddelande till dig p&aring; {{$siteName}}.</td></tr>
+
+
+       <tr><td style="padding-left:22px;padding-top:22px;width:60px;" valign="top" rowspan=3><a href="{{$url}}"><img style="border:0px;width:48px;height:48px;" src="{{$thumb}}"></a></td>
+               <td style="padding-top:22px;"><a href="{{$url}}">{{$from}}</a></td></tr>
+       <tr><td style="font-weight:bold;padding-bottom:5px;">{{$title}}</td></tr>
+       <tr><td style="padding-right:22px;">{{$htmlversion}}</td></tr>
+       <tr><td style="padding-top:11px;padding-bottom:11px;" colspan="2">Logga in p&aring; <a href="{{$siteurl}}">{{$siteurl}}</a> f&ouml;r att l&auml;sa och svara p&aring; personliga meddelanden.</td></tr>
+       <tr><td></td><td>H&auml;lsningar,</td></tr>
+       <tr><td></td><td>{{$siteName}} admin</td></tr>
+       </tbody>
+</table>
+</body>
+</html>
\ No newline at end of file
diff --git a/view/sv/smarty3/mail_received_text_body_eml.tpl b/view/sv/smarty3/mail_received_text_body_eml.tpl
new file mode 100644 (file)
index 0000000..b829e80
--- /dev/null
@@ -0,0 +1,10 @@
+{{$from}} har skickat ett personligt meddelande till dig på {{$siteName}}.
+       
+{{$title}}
+
+{{$textversion}}
+                               
+Logga in på {{$siteurl}} för att läsa och svara på personliga meddelanden.
+
+Hälsningar,
+{{$siteName}} admin
diff --git a/view/sv/smarty3/passchanged_eml.tpl b/view/sv/smarty3/passchanged_eml.tpl
new file mode 100644 (file)
index 0000000..821344f
--- /dev/null
@@ -0,0 +1,18 @@
+
+{{$username}},
+
+Lösenordet har ändrats enligt din begäran. Behåll den här 
+informationen om den skulle behövas i framtiden. (eller ändra lösenord 
+på en gång till något som du kommer ihåg).
+
+
+Här är dina inloggningsuppgifter:
+
+Webbplats:     {{$siteurl}}
+Användarnamn: {{$email}}
+Lösenord:     {{$new_password}}
+
+När du loggat in kan du byta lösenord bland inställningarna.
+
+Hälsningar,
+{{$sitename}} admin
diff --git a/view/sv/smarty3/register_open_eml.tpl b/view/sv/smarty3/register_open_eml.tpl
new file mode 100644 (file)
index 0000000..101fe62
--- /dev/null
@@ -0,0 +1,17 @@
+{{$username}},
+Tack för att du registrerat dig på {{$sitename}}. Kontot har skapats. 
+Här är dina inloggningsuppgifter:
+
+Webbplats:     {{$siteurl}}
+Användarnamn: {{$email}}
+Lösenord:     {{$password}}
+
+Lösenordet kan ändras på sidan Inställningar efter att du loggat in.
+
+Ägna en liten stund åt att gå igenom alla kontoinställningar där. 
+
+Välkommen till {{$sitename}}.
+
+Hälsningar,
+{{$sitename}} admin
+
diff --git a/view/sv/smarty3/register_verify_eml.tpl b/view/sv/smarty3/register_verify_eml.tpl
new file mode 100644 (file)
index 0000000..051c388
--- /dev/null
@@ -0,0 +1,17 @@
+En registreringsförfrågan som kräver svar har mottagits 
+på {{$sitename}} 
+
+
+Här är inloggningsuppgifterna:
+
+Fullständigt namn:    {{$username}}
+Webbplats:             {{$siteurl}}
+Användarnamn:         {{$email}}
+
+
+Gå till denna adress om du vill godkänna:
+{{$siteurl}}/regmod/allow/{{$hash}} 
+
+Gå till denna adress om du vill avslå förfrågan och ta bort kontot:
+{{$siteurl}}/regmod/deny/{{$hash}}
+
diff --git a/view/sv/smarty3/request_notify_eml.tpl b/view/sv/smarty3/request_notify_eml.tpl
new file mode 100644 (file)
index 0000000..3caa620
--- /dev/null
@@ -0,0 +1,13 @@
+{{$myname}},
+
+Du har just fått en kontaktförfrågan på {{$sitename}} från '{{$requestor}}'
+
+Profilen finns på {{$url}}.
+
+Logga in för att se hela förfrågan och godkänna eller 
+avslå den.
+
+{{$siteurl}}
+
+Hälsningar,
+{{$sitename}} admin
diff --git a/view/sv/smarty3/wall_received_eml.tpl b/view/sv/smarty3/wall_received_eml.tpl
new file mode 100644 (file)
index 0000000..d184b6b
--- /dev/null
@@ -0,0 +1,16 @@
+{{$username}},
+
+'{{$from}}' har skrivit på din profilsida.
+
+-----
+{{$body}}
+-----
+
+Logga in på {{$siteurl}} för att kolla eller ta bort:
+
+{{$display}}
+
+Hälsningar,
+{{$sitename}} admin
+
index 312e9d3dd2c7fdb1036c34a81227db2c50486178..a81b05b8fed1971add5f8ab15504309e77f1bf98 100644 (file)
@@ -75,8 +75,15 @@ function cleanzero_form(&$a, $color,$font_size,$resize,$theme_width){
                "wide"=>"wide",
                );
 
-       $t = file_get_contents( dirname(__file__). "/theme_settings.tpl" );
-       $o .= replace_macros($t, array(
+//     $t = file_get_contents( dirname(__file__). "/theme_settings.tpl" );
+       $t = get_markup_template("theme_settings.tpl" );
+
+       $includes = array(
+               '$field_select' => 'field_select.tpl',
+       );
+       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+       $o .= replace_macros($t, $includes + array(
                '$submit' => t('Submit'),
                '$baseurl' => $a->get_baseurl(),
                '$title' => t("Theme settings"),
diff --git a/view/theme/cleanzero/smarty3/nav.tpl b/view/theme/cleanzero/smarty3/nav.tpl
new file mode 100644 (file)
index 0000000..ccc5115
--- /dev/null
@@ -0,0 +1,85 @@
+ <nav>
+       {{$langselector}}
+
+       <div id="site-location">{{$sitelocation}}</div>
+
+
+       <span id="nav-commlink-wrapper">
+
+       {{if $nav.register}}<a id="nav-register-link" class="nav-commlink {{$nav.register.2}} {{$sel.register}}" href="{{$nav.register.0}}" title="{{$nav.register.3}}" >{{$nav.register.1}}</a>{{/if}}
+               
+
+
+       {{if $nav.network}}
+       <a id="nav-network-link" class="nav-commlink {{$nav.network.2}} {{$sel.network}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
+       <span id="net-update" class="nav-ajax-left"></span>
+       {{/if}}
+       {{if $nav.home}}
+       <a id="nav-home-link" class="nav-commlink {{$nav.home.2}} {{$sel.home}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a>
+       <span id="home-update" class="nav-ajax-left"></span>
+       {{/if}}
+       {{if $nav.community}}
+       <a id="nav-community-link" class="nav-commlink {{$nav.community.2}} {{$sel.community}}" href="{{$nav.community.0}}" title="{{$nav.community.3}}" >{{$nav.community.1}}</a>
+       {{/if}}
+       {{if $nav.introductions}}
+       <a id="nav-notify-link" class="nav-commlink {{$nav.introductions.2}} {{$sel.introductions}}" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}" >{{$nav.introductions.1}}</a>
+       <span id="intro-update" class="nav-ajax-left"></span>
+       {{/if}}
+       {{if $nav.messages}}
+       <a id="nav-messages-link" class="nav-commlink {{$nav.messages.2}} {{$sel.messages}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}}</a>
+       <span id="mail-update" class="nav-ajax-left"></span>
+       {{/if}}
+               {{if $nav.notifications}}
+                       <a id="nav-notifications-linkmenu" class="nav-commlink" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}">{{$nav.notifications.1}}</a>
+                               <span id="notify-update" class="nav-ajax-left"></span>
+                               <ul id="nav-notifications-menu" class="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>
+               {{/if}} 
+       </span>
+       <span id="banner">{{$banner}}</span>
+       <span id="nav-link-wrapper">
+       {{if $nav.logout}}<a id="nav-logout-link" class="nav-link {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a> {{/if}}
+       {{if $nav.login}}<a id="nav-login-link" class="nav-login-link {{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a> {{/if}}
+       {{if $nav.help}} <a id="nav-help-link" class="nav-link {{$nav.help.2}}" target="friendica-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a>{{/if}}
+               
+       {{if $nav.apps}}<a id="nav-apps-link" class="nav-link {{$nav.apps.2}}" href="{{$nav.apps.0}}" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>{{/if}}
+
+       <a id="nav-search-link" class="nav-link {{$nav.search.2}}" href="{{$nav.search.0}}" title="{{$nav.search.3}}" >{{$nav.search.1}}</a>
+       <a id="nav-directory-link" class="nav-link {{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a>
+
+       {{if $nav.admin}}<a id="nav-admin-link" class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a>{{/if}}
+
+
+
+       
+
+       {{if $nav.settings}}<a id="nav-settings-link" class="nav-link {{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a>{{/if}}
+       {{if $nav.profiles}}<a id="nav-profiles-link" class="nav-link {{$nav.profiles.2}}" href="{{$nav.profiles.0}}" title="{{$nav.profiles.3}}" >{{$nav.profiles.1}}</a>{{/if}}
+
+       {{if $nav.contacts}}<a id="nav-contacts-link" class="nav-link {{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}" >{{$nav.contacts.1}}</a>{{/if}}
+
+
+       {{if $nav.manage}}<a id="nav-manage-link" class="nav-link {{$nav.manage.2}} {{$sel.manage}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a>{{/if}}
+       </span>
+       <span id="nav-end"></span>
+       
+</nav>
+
+<ul id="nav-notifications-template" style="display:none;" rel="template">
+       <li class="{4}"><a href="{0}"><img src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
+</ul>
+<script>
+var pagetitle = null;
+$("nav").bind('nav-update', function(e,data){
+if (pagetitle==null) pagetitle = document.title;
+var count = $(data).find('notif').attr('count');
+if (count>0) {
+document.title = "("+count+") "+pagetitle;
+} else {
+document.title = pagetitle;
+}
+});
+</script>
diff --git a/view/theme/cleanzero/smarty3/theme_settings.tpl b/view/theme/cleanzero/smarty3/theme_settings.tpl
new file mode 100644 (file)
index 0000000..5df8e28
--- /dev/null
@@ -0,0 +1,10 @@
+{{include file="file:{{$field_select}}" field=$color}}
+{{include file="file:{{$field_select}}" field=$font_size}}
+{{include file="file:{{$field_select}}" field=$resize}}
+{{include file="file:{{$field_select}}" field=$theme_width}}
+
+
+<div class="settings-submit-wrapper">
+       <input type="submit" value="{{$submit}}" class="settings-submit" name="cleanzero-settings-submit" />
+</div>
+
index f65890f3f1c509595809ca50614f0a9ac0c9de90..c7c0b2d640bd47f778750e12c72ecfdf110bac51 100644 (file)
@@ -8,6 +8,8 @@
 $a->theme_info = array(
   'extends' => 'duepuntozero',
 );
+$a->theme['template_engine'] = 'smarty3';
+
 function cleanzero_init(&$a) {
 $a->page['htmlhead'] .= <<< EOT
 <script>
index bfe18af27d9e3445fec331440f6d3ed84a71600b..b2dbf9fec77fc8ed22057da46efd08ff3439032f 100644 (file)
@@ -1,7 +1,7 @@
-{{inc field_select.tpl with $field=$color}}{{endinc}}
-{{inc field_select.tpl with $field=$font_size}}{{endinc}}
-{{inc field_select.tpl with $field=$resize}}{{endinc}}
-{{inc field_select.tpl with $field=$theme_width}}{{endinc}}
+{{inc $field_select with $field=$color}}{{endinc}}
+{{inc $field_select with $field=$font_size}}{{endinc}}
+{{inc $field_select with $field=$resize}}{{endinc}}
+{{inc $field_select with $field=$theme_width}}{{endinc}}
 
 
 <div class="settings-submit-wrapper">
diff --git a/view/theme/comix-plain/smarty3/comment_item.tpl b/view/theme/comix-plain/smarty3/comment_item.tpl
new file mode 100644 (file)
index 0000000..c91da3f
--- /dev/null
@@ -0,0 +1,33 @@
+               <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" />
+                               <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-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>
+                               <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty triangle-isosceles left" style="display: block;" name="body" onFocus="commentOpen(this,{{$id}});" onBlur="commentClose(this,{{$id}});" >{{$comment}}</textarea>
+                               {{if $qcomment}}
+                               {{foreach $qcomment as $qc}}                            
+                                       <span class="fakelink qcomment" onclick="commentInsert(this,{{$id}}); return false;" >{{$qc}}</span>
+                                       &nbsp;
+                               {{/foreach}}
+                               {{/if}}
+
+                               <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/comix-plain/smarty3/search_item.tpl b/view/theme/comix-plain/smarty3/search_item.tpl
new file mode 100644 (file)
index 0000000..676cd44
--- /dev/null
@@ -0,0 +1,54 @@
+<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="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}}">{{$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 triangle-isosceles left" id="wall-item-body-{{$item.id}}" >{{$item.body}}</div>
+               </div>
+               <div class="wall-item-tools" id="wall-item-tools-{{$item.id}}">
+                       <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" >
+                               {{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{/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>
+
+
index be3180dc9815d652531b688fd4f1780e0de6a53f..a85d535a72ad472e7d256753a22025e8cdbf551e 100644 (file)
@@ -11,6 +11,7 @@
 $a->theme_info = array(
   'extends' => 'duepuntozero',
 );
+$a->theme['template_engine'] = 'smarty3';
 
 $a->page['htmlhead'] .= <<< EOT
 <script>
diff --git a/view/theme/comix/smarty3/comment_item.tpl b/view/theme/comix/smarty3/comment_item.tpl
new file mode 100644 (file)
index 0000000..c91da3f
--- /dev/null
@@ -0,0 +1,33 @@
+               <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" />
+                               <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-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>
+                               <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty triangle-isosceles left" style="display: block;" name="body" onFocus="commentOpen(this,{{$id}});" onBlur="commentClose(this,{{$id}});" >{{$comment}}</textarea>
+                               {{if $qcomment}}
+                               {{foreach $qcomment as $qc}}                            
+                                       <span class="fakelink qcomment" onclick="commentInsert(this,{{$id}}); return false;" >{{$qc}}</span>
+                                       &nbsp;
+                               {{/foreach}}
+                               {{/if}}
+
+                               <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/comix/smarty3/search_item.tpl b/view/theme/comix/smarty3/search_item.tpl
new file mode 100644 (file)
index 0000000..c43b8f2
--- /dev/null
@@ -0,0 +1,54 @@
+<div class="wall-item-outside-wrapper {{$item.indent}} {{$item.shiny}}{{$item.previewing}}" id="wall-item-outside-wrapper-{{$item.id}}" >
+       <div class="wall-item-content-wrapper {{$item.indent}} {{$item.shiny}}" id="wall-item-content-wrapper-{{$item.id}}" >
+               <div class="wall-item-info" id="wall-item-info-{{$item.id}}">
+                       <div class="wall-item-photo-wrapper" 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="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}}">{{$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 triangle-isosceles left" id="wall-item-body-{{$item.id}}" >{{$item.body}}</div>
+               </div>
+               <div class="wall-item-tools" id="wall-item-tools-{{$item.id}}">
+                       <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" >
+                               {{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{/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}} {{$item.shiny}}" ></div>
+
+</div>
+
+
index e2f7f4db38d4bc71e71965c450ef7e2c582aa6d4..52aa0a927dcc45ac73ce4b13493c441b3a919f05 100644 (file)
@@ -11,6 +11,7 @@
 $a->theme_info = array(
   'extends' => 'duepuntozero',
 );
+$a->theme['template_engine'] = 'smarty3';
 
 $a->page['htmlhead'] .= <<< EOT
 <script>
index 053730c21addff7f97963c0ae0f6dc14ebc72543..6a2266dd8067484a6e0b414987a4dd1f17fed0b2 100644 (file)
@@ -10,6 +10,7 @@
 $a->theme_info = array(
   'extends' => 'testbubble',
 );
+$a->theme['template_engine'] = 'smarty3';
 
 
 $a->page['htmlhead'] .= <<< EOT
index dcb65589c1731b937f48fc7c6372adf37cc34466..9fa248ceacba6d36a928e30013c1531b8f9781ff 100644 (file)
@@ -11,6 +11,7 @@
 $a->theme_info = array(
   'extends' => 'duepuntozero',
 );
+$a->theme['template_engine'] = 'smarty3';
 
 function darkzero_init(&$a) {
 $a->page['htmlhead'] .= <<< EOT
index caefed3b38034a33eb0b44db3c3acd196bd25bc1..e140bff3000c6b2f340a7a5cde9925126df855fe 100644 (file)
@@ -1,7 +1,7 @@
 
 <div id="twittersettings" style="display:none">
 <form id="twittersettingsform" action="network" method="post" >
-{{inc field_input.tpl with $field=$TSearchTerm}}{{endinc}}
+{{inc $field_input with $field=$TSearchTerm}}{{endinc}}
 <div class="settings-submit-wrapper">
 <input id="twittersub" type="submit" value="$sub" class="settings-submit" name="diabook-settings-sub"></input>
 </div>
@@ -13,9 +13,9 @@
 <div id="layermanager" style="width: 350px;position: relative;float: right;right:20px;height: 300px;"></div>
 <div id="map2" style="height:350px;width:350px;"></div>
 <div id="mouseposition" style="width: 350px;"></div>
-{{inc field_input.tpl with $field=$ELZoom}}{{endinc}}
-{{inc field_input.tpl with $field=$ELPosX}}{{endinc}}
-{{inc field_input.tpl with $field=$ELPosY}}{{endinc}}
+{{inc $field_input with $field=$ELZoom}}{{endinc}}
+{{inc $field_input with $field=$ELPosX}}{{endinc}}
+{{inc $field_input with $field=$ELPosY}}{{endinc}}
 <div class="settings-submit-wrapper">
 <input id="mapsub" type="submit" value="$sub" class="settings-submit" name="diabook-settings-map-sub"></input>
 </div>
@@ -35,16 +35,16 @@ just contact me, if you are intesrested in joining</p>
 <div id="boxsettings" style="display:none">
 <form id="boxsettingsform" action="network" method="post" >
 <fieldset><legend>$boxsettings.title.1</legend>
-{{inc field_select.tpl with $field=$close_pages}}{{endinc}}
-{{inc field_select.tpl with $field=$close_profiles}}{{endinc}}
-{{inc field_select.tpl with $field=$close_helpers}}{{endinc}}
-{{inc field_select.tpl with $field=$close_services}}{{endinc}}
-{{inc field_select.tpl with $field=$close_friends}}{{endinc}}
-{{inc field_select.tpl with $field=$close_lastusers}}{{endinc}}
-{{inc field_select.tpl with $field=$close_lastphotos}}{{endinc}}
-{{inc field_select.tpl with $field=$close_lastlikes}}{{endinc}}
-{{inc field_select.tpl with $field=$close_twitter}}{{endinc}}
-{{inc field_select.tpl with $field=$close_mapquery}}{{endinc}}
+{{inc $field_select with $field=$close_pages}}{{endinc}}
+{{inc $field_select with $field=$close_profiles}}{{endinc}}
+{{inc $field_select with $field=$close_helpers}}{{endinc}}
+{{inc $field_select with $field=$close_services}}{{endinc}}
+{{inc $field_select with $field=$close_friends}}{{endinc}}
+{{inc $field_select with $field=$close_lastusers}}{{endinc}}
+{{inc $field_select with $field=$close_lastphotos}}{{endinc}}
+{{inc $field_select with $field=$close_lastlikes}}{{endinc}}
+{{inc $field_select with $field=$close_twitter}}{{endinc}}
+{{inc $field_select with $field=$close_mapquery}}{{endinc}}
 <div class="settings-submit-wrapper">
 <input id="boxsub" type="submit" value="$sub" class="settings-submit" name="diabook-settings-box-sub"></input>
 </div>
@@ -169,4 +169,4 @@ $nv.search
 <div style="font-size:9px;margin-left:3px;">Data CC-By-SA by <a href="http://openstreetmap.org/">OpenStreetMap</a></div>
 {{ endif }}
 </div>
-</div>
\ No newline at end of file
+</div>
index 88c073a44f70cf8a251a9fb5f82237e96db4bf69..5ea024ec5e7297c18a733af244d65fd4d0d1ce24 100644 (file)
@@ -147,8 +147,16 @@ function diabook_form(&$a, $font_size, $line_height, $resolution, $color, $TSear
 
 
 
-       $t = file_get_contents( dirname(__file__). "/theme_settings.tpl" );
-       $o .= replace_macros($t, array(
+//     $t = file_get_contents( dirname(__file__). "/theme_settings.tpl" );
+       $t = get_markup_template("theme_settings.tpl" );
+
+       $includes = array(
+               '$field_select' => 'field_select.tpl',
+               '$field_input' => 'field_input.tpl',
+       );
+       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+       $o .= replace_macros($t, $includes + array(
                '$submit' => t('Submit'),
                '$baseurl' => $a->get_baseurl(),
                '$title' => t("Theme settings"),
index 70d19795513ced1dea3bafbefdbb2cb608d79372..9a040fa49b17215f138fbdee098fbd82bb001ca6 100644 (file)
@@ -2,14 +2,14 @@
 <div class="directory-item" id="directory-item-$id" >
        <div class="directory-photo-wrapper" id="directory-photo-wrapper-$id" > 
                <div class="directory-photo" id="directory-photo-$id" >
-                       <a href="$profile-link" class="directory-profile-link" id="directory-profile-link-$id" >
-                               <img class="directory-photo-img photo" src="$photo" alt="$alt-text" title="$alt-text" />
+                       <a href="$profile_link" class="directory-profile-link" id="directory-profile-link-$id" >
+                               <img class="directory-photo-img photo" src="$photo" alt="$alt_text" title="$alt_text" />
                        </a>
                </div>
        </div>
        <div class="directory-profile-wrapper" id="directory-profile-wrapper-$id" >
                <div class="contact-name" id="directory-name-$id">$name</div>
-               <div class="page-type">$page-type</div>
+               <div class="page-type">$page_type</div>
                {{ if $pdesc }}<div class="directory-profile-title">$profile.pdesc</div>{{ endif }}
        <div class="directory-detailcolumns-wrapper" id="directory-detailcolumns-wrapper-$id">
                <div class="directory-detailscolumn-wrapper" id="directory-detailscolumn1-wrapper-$id"> 
index 1d94cb6d3c05752da8b856a4bad13386413ab6a3..2c7e5211036de3a3011470641664c0c346e4d0bd 100644 (file)
@@ -14,7 +14,9 @@
                <input type="hidden" name="post_id" value="$post_id" />
                <input type="hidden" name="preview" id="jot-preview" value="0" />
                <input name="title" id="jot-title" type="text" placeholder="$placeholdertitle" value="$title" class="jothidden" style="display:none">
-               <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="$placeholdercategory" value="$category" class="jothidden" style="display:none" /></div>           
+               {{ if $placeholdercategory }}
+               <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="$placeholdercategory" value="$category" class="jothidden" style="display:none" /></div>
+               {{ endif }}
                <div id="character-counter" class="grey"></div>         
                <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" >{{ if $content }}$content{{ else }}$share{{ endif }}</textarea>
index efa7c2d6dde35776ae6d4661e64a4e8c1e383fa3..dc9c51682a1211fef483b4b05b13ed33522bb90a 100644 (file)
@@ -3,13 +3,13 @@
        <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 }}
+       {{ inc $field_input with $field=$lname }}{{ endinc }}
+       {{ inc $field_password with $field=$lpassword }}{{ endinc }}
        </div>
        
        {{ if $openid }}
                        <div id="login_openid">
-                       {{ inc field_openid.tpl with $field=$lopenid }}{{ endinc }}
+                       {{ inc $field_openid with $field=$lopenid }}{{ endinc }}
                        </div>
        {{ endif }}
        
index 8b82e95c6041df4a060d308a7ae9b54a3aad0eca..fa69f48a0098d274eba362fd0fbee27e4950edae 100644 (file)
@@ -3,10 +3,10 @@
        <a href="message/dropconv/$thread_id" onclick="return confirmDelete();"  title="$delete" class="mail-delete icon s22 delete"></a>
 </div>
 
-{{ for $mails as $mail }}
-       <div id="tread-wrapper-$mail.id" class="tread-wrapper">
-               {{ inc mail_conv.tpl }}{{endinc}}
+{{ for $mails as $mail_item }}
+       <div id="tread-wrapper-$mail_item.id" class="tread-wrapper">
+               {{ inc $mail_conv with $mail=$mail_item }}{{endinc}}
        </div>
 {{ endfor }}
 
-{{ inc prv_message.tpl }}{{ endinc }}
+{{ inc $prv_message with $reply=$reply_info }}{{ endinc }}
index b982a20693ba33f3005d5de8a494dab37960dd0c..7afe59f7e9072720d40c7bc5ffdc9b37f156939c 100644 (file)
@@ -48,7 +48,7 @@
 
        {{ 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 }}
+       {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
        
        <div id="profile-extra-links">
                <ul>
index c59cc622ffdcebf197207eeeaa9c4306335b4456..8ccab1a1ea22cb59eabd414311401ba00d9ac343 100644 (file)
@@ -1,38 +1,38 @@
 
-<h3>$header</h3>
+<h3>$reply.header</h3>
 
 <div id="prvmail-wrapper" >
 <form id="prvmail-form" action="message" method="post" >
 
-$parent
+$reply.parent
 
-<div id="prvmail-to-label">$to</div>
+<div id="prvmail-to-label">$reply.to</div>
 
-{{ if $showinputs }}
+{{ if $reply.showinputs }}
 <input type="text" id="recip" style="background: none repeat scroll 0 0 white;border: 1px solid #CCC;border-radius: 5px 5px 5px 5px;height: 20px;margin: 0 0 5px;
-vertical-align: middle;" name="messageto" value="$prefill" maxlength="255" size="64" tabindex="10" />
-<input type="hidden" id="recip-complete" name="messageto" value="$preid">
+vertical-align: middle;" name="messageto" value="$reply.prefill" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="$reply.preid">
 {{ else }}
-$select
+$reply.select
 {{ endif }}
 
-<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-subject-label">$reply.subject</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$reply.subjtxt" $reply.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-message-label">$reply.yourmessage</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$reply.text</textarea>
 
 
 <div id="prvmail-submit-wrapper" >
-       <input type="submit" id="prvmail-submit" name="submit" value="Submit" tabindex="13" />
+       <input type="submit" id="prvmail-submit" name="submit" value="$reply.submit" tabindex="13" />
        <div id="prvmail-upload-wrapper" >
-               <div id="prvmail-upload" class="icon border camera" title="$upload" ></div>
+               <div id="prvmail-upload" class="icon border camera" title="$reply.upload" ></div>
        </div> 
        <div id="prvmail-link-wrapper" >
-               <div id="prvmail-link" class="icon border link" title="$insert" onclick="jotGetLink();" ></div>
+               <div id="prvmail-link" class="icon border link" title="$reply.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;" />
+               <img id="prvmail-rotator" src="images/rotator.gif" alt="$reply.wait" title="$reply.wait" style="display: none;" />
        </div> 
 </div>
 <div id="prvmail-end"></div>
diff --git a/view/theme/diabook/smarty3/admin_users.tpl b/view/theme/diabook/smarty3/admin_users.tpl
new file mode 100644 (file)
index 0000000..67a079a
--- /dev/null
@@ -0,0 +1,88 @@
+<script>
+       function confirm_delete(uname){
+               return confirm( "{{$confirm_delete}}".format(uname));
+       }
+       function confirm_delete_multi(){
+               return confirm("{{$confirm_delete_multi}}");
+       }
+       function selectall(cls){
+               $("."+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='icon like'></span></a>
+                                               <a href="{{$baseurl}}/regmod/deny/{{$u.hash}}" title='{{$deny}}'><span class='icon 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}}</td>
+                                               <td class="checkbox"><input type="checkbox" class="users_ckbx" id="id_user_{{$u.uid}}" name="user[]" value="{{$u.uid}}"/></td>
+                                               <td class="tools" style="width:60px;">
+                                                       <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 ad_drop'></span></a>
+                                               </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/diabook/smarty3/bottom.tpl b/view/theme/diabook/smarty3/bottom.tpl
new file mode 100644 (file)
index 0000000..65de108
--- /dev/null
@@ -0,0 +1,155 @@
+<script type="text/javascript" src="{{$baseurl}}/view/theme/diabook/js/jquery.autogrow.textarea.js"></script>
+<script type="text/javascript">
+
+$(document).ready(function() {
+    $("iframe").each(function(){
+        var ifr_source = $(this).attr("src");
+        var wmode = "wmode=transparent";
+        if(ifr_source.indexOf("?") != -1) {
+            var getQString = ifr_source.split("?");
+            var oldString = getQString[1];
+            var newString = getQString[0];
+            $(this).attr("src",newString+"?"+wmode+"&"+oldString);
+        }
+        else $(this).attr("src",ifr_source+"?"+wmode);
+       
+    });
+    
+    $("div#pause").attr("style", "position: fixed;bottom: 43px;left: 5px;");
+    $("div#pause").html("<img src='images/pause.gif' alt='pause' title='pause live-updates (ctrl+space)' style='border: 1px solid black;opacity: 0.2;'>");
+    $(document).keydown(function(event) {
+    if (!$("div#pause").html()){
+    $("div#pause").html("<img src='images/pause.gif' alt='pause' title='pause live-updates (ctrl+space)' style='border: 1px solid black;opacity: 0.2;'>");
+               }});  
+    $(".autocomplete").attr("style", "width: 350px;color: black;border: 1px solid #D2D2D2;background: white;cursor: pointer;text-align: left;max-height: 350px;overflow: auto;");
+        
+       });
+       
+       $(document).ready(function(){
+               $("#sortable_boxes").sortable({
+                       update: function(event, ui) {
+                               var BoxOrder = $(this).sortable("toArray").toString();
+                               $.cookie("Boxorder", BoxOrder , { expires: 365, path: "/" });
+                       }
+               });
+
+       var cookie = $.cookie("Boxorder");              
+       if (!cookie) return;
+       var SavedID = cookie.split(",");
+          for (var Sitem=0, m = SavedID.length; Sitem < m; Sitem++) {
+           $("#sortable_boxes").append($("#sortable_boxes").children("#" + SavedID[Sitem]));
+              }
+            
+       });
+       
+       
+       function tautogrow(id){
+               $("textarea#comment-edit-text-" +id).autogrow();        
+       };
+       
+       function open_boxsettings() {
+               $("div#boxsettings").attr("style","display: block;height:500px;width:300px;");
+               $("label").attr("style","width: 150px;");
+               };
+       
+       function yt_iframe() {
+       $("iframe").load(function() { 
+       var ifr_src = $(this).contents().find("body iframe").attr("src");
+       $("iframe").contents().find("body iframe").attr("src", ifr_src+"&wmode=transparent");
+    });
+
+       };
+
+       function scrolldown(){
+                       $("html, body").animate({scrollTop:$(document).height()}, "slow");
+                       return false;
+               };
+               
+       function scrolltop(){
+                       $("html, body").animate({scrollTop:0}, "slow");
+                       return false;
+               };
+               
+       $(window).scroll(function () { 
+               
+               var footer_top = $(document).height() - 30;
+               $("div#footerbox").css("top", footer_top);
+       
+               var scrollInfo = $(window).scrollTop();      
+               
+               if (scrollInfo <= "900"){
+      $("a#top").attr("id","down");
+      $("a#down").attr("onclick","scrolldown()");
+               $("img#scroll_top_bottom").attr("src","view/theme/diabook/icons/scroll_bottom.png");
+               $("img#scroll_top_bottom").attr("title","Scroll to bottom");
+               } 
+                   
+      if (scrollInfo > "900"){
+      $("a#down").attr("id","top");
+      $("a#top").attr("onclick","scrolltop()");
+               $("img#scroll_top_bottom").attr("src","view/theme/diabook/icons/scroll_top.png");
+               $("img#scroll_top_bottom").attr("title","Back to top");
+               }
+               
+    });
+  
+
+       function insertFormatting(comment,BBcode,id) {
+       
+               var tmpStr = $("#comment-edit-text-" + id).val();
+               if(tmpStr == comment) {
+                       tmpStr = "";
+                       $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
+                       $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
+                       openMenu("comment-edit-submit-wrapper-" + id);
+                                                               }
+
+       textarea = document.getElementById("comment-edit-text-" +id);
+       if (document.selection) {
+               textarea.focus();
+               selected = document.selection.createRange();
+               if (BBcode == "url"){
+                       selected.text = "["+BBcode+"]" + "http://" +  selected.text + "[/"+BBcode+"]";
+                       } else                  
+               selected.text = "["+BBcode+"]" + selected.text + "[/"+BBcode+"]";
+       } else if (textarea.selectionStart || textarea.selectionStart == "0") {
+               var start = textarea.selectionStart;
+               var end = textarea.selectionEnd;
+               if (BBcode == "url"){
+                       textarea.value = textarea.value.substring(0, start) + "["+BBcode+"]" + "http://" + textarea.value.substring(start, end) + "[/"+BBcode+"]" + textarea.value.substring(end, textarea.value.length);
+                       } else
+               textarea.value = textarea.value.substring(0, start) + "["+BBcode+"]" + textarea.value.substring(start, end) + "[/"+BBcode+"]" + textarea.value.substring(end, textarea.value.length);
+       }
+       return true;
+       }
+
+       function cmtBbOpen(id) {
+       $(".comment-edit-bb-" + id).show();
+       }
+       function cmtBbClose(id) {
+       $(".comment-edit-bb-" + id).hide();
+       }
+       
+       /*$(document).ready(function(){
+       var doctitle = document.title;
+       function checkNotify() {
+       if(document.getElementById("notify-update").innerHTML != "")
+       document.title = "("+document.getElementById("notify-update").innerHTML+") " + doctitle;
+       else
+       document.title = doctitle;
+       };
+       setInterval(function () {checkNotify();}, 10 * 1000);
+       })*/
+</script>
+<script>
+var pagetitle = null;
+$("nav").bind('nav-update',  function(e,data){
+  if (pagetitle==null) pagetitle = document.title;
+  var count = $(data).find('notif').attr('count');
+  if (count>0) {
+    document.title = "("+count+") "+pagetitle;
+  } else {
+    document.title = pagetitle;
+  }
+});
+</script>
diff --git a/view/theme/diabook/smarty3/ch_directory_item.tpl b/view/theme/diabook/smarty3/ch_directory_item.tpl
new file mode 100644 (file)
index 0000000..5fb1198
--- /dev/null
@@ -0,0 +1,10 @@
+
+<div class="directory-item" id="directory-item-{{$id}}" >
+       <div class="directory-photo-wrapper" id="directory-photo-wrapper-{{$id}}" > 
+               <div class="directory-photo" id="directory-photo-{{$id}}" >
+                       <a href="{{$profile}}-link" class="directory-profile-link" id="directory-profile-link-{{$id}}" >
+                               <img class="directory-photo-img" src="{{$photo}}" alt="{{$alt}}-text" title="{{$alt}}-text" />
+                       </a>
+               </div>
+       </div>
+</div>
diff --git a/view/theme/diabook/smarty3/comment_item.tpl b/view/theme/diabook/smarty3/comment_item.tpl
new file mode 100644 (file)
index 0000000..1dde07d
--- /dev/null
@@ -0,0 +1,43 @@
+               <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>
+                               <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$id}});tautogrow({{$id}});cmtBbOpen({{$id}});"  >{{$comment}}</textarea>
+                               <div class="comment-edit-bb-{{$id}}" style="display:none;">                             
+                               <a class="icon bb-image" style="cursor: pointer;" title="{{$edimg}}" onclick="insertFormatting('{{$comment}}','img',{{$id}});">img</a>  
+                               <a class="icon bb-url" style="cursor: pointer;" title="{{$edurl}}" onclick="insertFormatting('{{$comment}}','url',{{$id}});">url</a>
+                               <a class="icon bb-video" style="cursor: pointer;" title="{{$edvideo}}" onclick="insertFormatting('{{$comment}}','video',{{$id}});">video</a>                                                                                                            
+                               <a class="icon underline" style="cursor: pointer;" title="{{$eduline}}" onclick="insertFormatting('{{$comment}}','u',{{$id}});">u</a>
+                               <a class="icon italic" style="cursor: pointer;" title="{{$editalic}}" onclick="insertFormatting('{{$comment}}','i',{{$id}});">i</a>
+                               <a class="icon bold" style="cursor: pointer;"  title="{{$edbold}}" onclick="insertFormatting('{{$comment}}','b',{{$id}});">b</a>
+                               <a class="icon quote" style="cursor: pointer;" title="{{$edquote}}" onclick="insertFormatting('{{$comment}}','quote',{{$id}});">quote</a>                                                                                                                                                       
+                               </div>                          
+                               {{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}}" 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/diabook/smarty3/communityhome.tpl b/view/theme/diabook/smarty3/communityhome.tpl
new file mode 100644 (file)
index 0000000..864dc55
--- /dev/null
@@ -0,0 +1,172 @@
+
+<div id="twittersettings" style="display:none">
+<form id="twittersettingsform" action="network" method="post" >
+{{include file="file:{{$field_input}}" field=$TSearchTerm}}
+<div class="settings-submit-wrapper">
+<input id="twittersub" type="submit" value="{{$sub}}" class="settings-submit" name="diabook-settings-sub"></input>
+</div>
+</form>
+</div>
+
+<div id="mapcontrol" style="display:none;">
+<form id="mapform" action="network" method="post" >
+<div id="layermanager" style="width: 350px;position: relative;float: right;right:20px;height: 300px;"></div>
+<div id="map2" style="height:350px;width:350px;"></div>
+<div id="mouseposition" style="width: 350px;"></div>
+{{include file="file:{{$field_input}}" field=$ELZoom}}
+{{include file="file:{{$field_input}}" field=$ELPosX}}
+{{include file="file:{{$field_input}}" field=$ELPosY}}
+<div class="settings-submit-wrapper">
+<input id="mapsub" type="submit" value="{{$sub}}" class="settings-submit" name="diabook-settings-map-sub"></input>
+</div>
+<span style="width: 500px;"><p>this ist still under development. 
+the idea is to provide a map with different layers(e.g. earth population, atomic power plants, wheat growing acreages, sunrise or what you want) 
+and markers(events, demos, friends, anything, that is intersting for you). 
+These layer and markers should be importable and deletable by the user.</p>
+<p>help on this feature is very appreciated. i am not that good in js so it's a start, but needs tweaks and further dev.
+just contact me, if you are intesrested in joining</p>
+<p>https://toktan.org/profile/thomas</p>
+<p>this is build with <b>mapquery</b> http://mapquery.org/ and 
+<b>openlayers</b>http://openlayers.org/</p>
+</span>
+</form>
+</div>
+
+<div id="boxsettings" style="display:none">
+<form id="boxsettingsform" action="network" method="post" >
+<fieldset><legend>{{$boxsettings.title.1}}</legend>
+{{include file="file:{{$field_select}}" field=$close_pages}}
+{{include file="file:{{$field_select}}" field=$close_profiles}}
+{{include file="file:{{$field_select}}" field=$close_helpers}}
+{{include file="file:{{$field_select}}" field=$close_services}}
+{{include file="file:{{$field_select}}" field=$close_friends}}
+{{include file="file:{{$field_select}}" field=$close_lastusers}}
+{{include file="file:{{$field_select}}" field=$close_lastphotos}}
+{{include file="file:{{$field_select}}" field=$close_lastlikes}}
+{{include file="file:{{$field_select}}" field=$close_twitter}}
+{{include file="file:{{$field_select}}" field=$close_mapquery}}
+<div class="settings-submit-wrapper">
+<input id="boxsub" type="submit" value="{{$sub}}" class="settings-submit" name="diabook-settings-box-sub"></input>
+</div>
+</fieldset>
+</form>
+</div>
+
+<div id="pos_null" style="margin-bottom:-30px;">
+</div>
+
+<div id="sortable_boxes">
+
+<div id="close_pages" style="margin-top:30px;">
+{{if $page}}
+<div>{{$page}}</div>
+{{/if}}
+</div>
+
+<div id="close_profiles">
+{{if $comunity_profiles_title}}
+<h3>{{$comunity_profiles_title}}<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="{{$close}}"></a></h3>
+<div id='lastusers-wrapper' class='items-wrapper'>
+{{foreach $comunity_profiles_items as $i}}
+       {{$i}}
+{{/foreach}}
+</div>
+{{/if}}
+</div>
+
+<div id="close_helpers">
+{{if $helpers}}
+<h3>{{$helpers.title.1}}<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="{{$close}}"></a></h3>
+<a href="http://friendica.com/resources" title="How-to's" style="margin-left: 10px; " target="blank">How-To Guides</a><br>
+<a href="http://kakste.com/profile/newhere" title="@NewHere" style="margin-left: 10px; " target="blank">NewHere</a><br>
+<a href="https://helpers.pyxis.uberspace.de/profile/helpers" style="margin-left: 10px; " title="Friendica Support" target="blank">Friendica Support</a><br>
+<a href="https://letstalk.pyxis.uberspace.de/profile/letstalk" style="margin-left: 10px; " title="Let's talk" target="blank">Let's talk</a><br>
+<a href="http://newzot.hydra.uberspace.de/profile/newzot" title="Local Friendica" style="margin-left: 10px; " target="blank">Local Friendica</a>
+{{/if}}
+</div>
+
+<div id="close_services">
+{{if $con_services}}
+<h3>{{$con_services.title.1}}<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="{{$close}}"></a></h3>
+<div id="right_service_icons" style="margin-left: 16px; margin-top: 5px;">
+<a href="{{$url}}/facebook"><img alt="Facebook" src="view/theme/diabook/icons/facebook.png" title="Facebook"></a>
+<a href="{{$url}}/settings/connectors"><img alt="StatusNet" src="view/theme/diabook/icons/StatusNet.png?" title="StatusNet"></a>
+<a href="{{$url}}/settings/connectors"><img alt="LiveJournal" src="view/theme/diabook/icons/livejournal.png?" title="LiveJournal"></a>
+<a href="{{$url}}/settings/connectors"><img alt="Posterous" src="view/theme/diabook/icons/posterous.png?" title="Posterous"></a>
+<a href="{{$url}}/settings/connectors"><img alt="Tumblr" src="view/theme/diabook/icons/tumblr.png?" title="Tumblr"></a>
+<a href="{{$url}}/settings/connectors"><img alt="Twitter" src="view/theme/diabook/icons/twitter.png?" title="Twitter"></a>
+<a href="{{$url}}/settings/connectors"><img alt="WordPress" src="view/theme/diabook/icons/wordpress.png?" title="WordPress"></a>
+<a href="{{$url}}/settings/connectors"><img alt="E-Mail" src="view/theme/diabook/icons/email.png?" title="E-Mail"></a>
+</div>
+{{/if}}
+</div>
+
+<div id="close_friends" style="margin-bottom:53px;">
+{{if $nv}}
+<h3>{{$nv.title.1}}<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="{{$close}}"></a></h3>
+<a class="{{$nv.directory.2}}" href="{{$nv.directory.0}}" style="margin-left: 10px; " title="{{$nv.directory.3}}" >{{$nv.directory.1}}</a><br>
+<a class="{{$nv.global_directory.2}}" href="{{$nv.global_directory.0}}" target="blank" style="margin-left: 10px; " title="{{$nv.global_directory.3}}" >{{$nv.global_directory.1}}</a><br>
+<a class="{{$nv.match.2}}" href="{{$nv.match.0}}" style="margin-left: 10px; " title="{{$nv.match.3}}" >{{$nv.match.1}}</a><br>
+<a class="{{$nv.suggest.2}}" href="{{$nv.suggest.0}}" style="margin-left: 10px; " title="{{$nv.suggest.3}}" >{{$nv.suggest.1}}</a><br>
+<a class="{{$nv.invite.2}}" href="{{$nv.invite.0}}" style="margin-left: 10px; " title="{{$nv.invite.3}}" >{{$nv.invite.1}}</a>
+{{$nv.search}}
+{{/if}}
+</div>
+
+<div id="close_lastusers">
+{{if $lastusers_title}}
+<h3>{{$lastusers_title}}<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="{{$close}}"></a></h3>
+<div id='lastusers-wrapper' class='items-wrapper'>
+{{foreach $lastusers_items as $i}}
+       {{$i}}
+{{/foreach}}
+</div>
+{{/if}}
+</div>
+
+{{if $activeusers_title}}
+<h3>{{$activeusers_title}}</h3>
+<div class='items-wrapper'>
+{{foreach $activeusers_items as $i}}
+       {{$i}}
+{{/foreach}}
+</div>
+{{/if}}
+
+<div id="close_lastphotos">
+{{if $photos_title}}
+<h3>{{$photos_title}}<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="{{$close}}"></a></h3>
+<div id='ra-photos-wrapper' class='items-wrapper'>
+{{foreach $photos_items as $i}}
+       {{$i}}
+{{/foreach}}
+</div>
+{{/if}}
+</div>
+
+<div id="close_lastlikes">
+{{if $like_title}}
+<h3>{{$like_title}}<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="{{$close}}"></a></h3>
+<ul id='likes'>
+{{foreach $like_items as $i}}
+       <li id='ra-photos-wrapper'>{{$i}}</li>
+{{/foreach}}
+</ul>
+{{/if}}
+</div>
+
+<div id="close_twitter">
+<h3 style="height:1.17em">{{$twitter.title.1}}<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="{{$close}}"></a></h3>
+<div id="twitter">
+</div>
+</div>
+
+<div id="close_mapquery">
+{{if $mapquery}}
+<h3>{{$mapquery.title.1}}<a id="closeicon" href="#boxsettings" onClick="open_boxsettings(); return false;" style="text-decoration:none;" class="icon close_box" title="{{$close}}"></a></h3>
+<div id="map" style="height:165px;width:165px;margin-left:3px;margin-top:3px;margin-bottom:1px;">
+</div>
+<div style="font-size:9px;margin-left:3px;">Data CC-By-SA by <a href="http://openstreetmap.org/">OpenStreetMap</a></div>
+{{/if}}
+</div>
+</div>
diff --git a/view/theme/diabook/smarty3/contact_template.tpl b/view/theme/diabook/smarty3/contact_template.tpl
new file mode 100644 (file)
index 0000000..790431a
--- /dev/null
@@ -0,0 +1,25 @@
+
+<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}}); openMenu('contact-photo-menu-button-{{$contact.id}}')" 
+               onmouseout="t{{$contact.id}}=setTimeout('closeMenu(\'contact-photo-menu-button-{{$contact.id}}\'); 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>
+
+                       {{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>
+                        {{$contact.photo_menu}}
+                    </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>
+
+       <div class="contact-entry-end" ></div>
+</div>
diff --git a/view/theme/diabook/smarty3/directory_item.tpl b/view/theme/diabook/smarty3/directory_item.tpl
new file mode 100644 (file)
index 0000000..dd5f7f3
--- /dev/null
@@ -0,0 +1,42 @@
+
+<div class="directory-item" id="directory-item-{{$id}}" >
+       <div class="directory-photo-wrapper" id="directory-photo-wrapper-{{$id}}" > 
+               <div class="directory-photo" id="directory-photo-{{$id}}" >
+                       <a href="{{$profile_link}}" class="directory-profile-link" id="directory-profile-link-{{$id}}" >
+                               <img class="directory-photo-img photo" src="{{$photo}}" alt="{{$alt_text}}" title="{{$alt_text}}" />
+                       </a>
+               </div>
+       </div>
+       <div class="directory-profile-wrapper" id="directory-profile-wrapper-{{$id}}" >
+               <div class="contact-name" id="directory-name-{{$id}}">{{$name}}</div>
+               <div class="page-type">{{$page_type}}</div>
+               {{if $pdesc}}<div class="directory-profile-title">{{$profile.pdesc}}</div>{{/if}}
+       <div class="directory-detailcolumns-wrapper" id="directory-detailcolumns-wrapper-{{$id}}">
+               <div class="directory-detailscolumn-wrapper" id="directory-detailscolumn1-wrapper-{{$id}}">     
+                       {{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}}
+                       </div>  
+                       <div class="directory-detailscolumn-wrapper" id="directory-detailscolumn2-wrapper-{{$id}}">     
+                               {{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}}
+                       </div>
+               </div>
+               <div class="directory-copy-wrapper" id="directory-copy-wrapper-{{$id}}" >
+                       {{if $about}}<dl class="directory-copy"><dt class="directory-copy-label">{{$about}}</dt><dd class="directory-copy-data">{{$profile.about}}</dd></dl>{{/if}}
+               </div>
+       </div>
+</div>
diff --git a/view/theme/diabook/smarty3/footer.tpl b/view/theme/diabook/smarty3/footer.tpl
new file mode 100644 (file)
index 0000000..25058a7
--- /dev/null
@@ -0,0 +1,3 @@
+<div id="footerbox" style="display:none">
+<a style="float:right; color:#333;margin-right:10px;display: table;margin-top: 5px;" href="friendica" title="Site Info / Impressum" >Info / Impressum</a>
+</div>
\ No newline at end of file
diff --git a/view/theme/diabook/smarty3/generic_links_widget.tpl b/view/theme/diabook/smarty3/generic_links_widget.tpl
new file mode 100644 (file)
index 0000000..b90c8fc
--- /dev/null
@@ -0,0 +1,11 @@
+<div id="widget_{{$title}}">
+       {{if $title}}<h3 style="border-bottom: 1px solid #D2D2D2;">{{$title}}</h3>{{/if}}
+       {{if $desc}}<div class="desc">{{$desc}}</div>{{/if}}
+       
+       <ul  class="rs_tabs">
+               {{foreach $items as $item}}
+                       <li><a href="{{$item.url}}" class="rs_tab button {{if $item.selected}}selected{{/if}}">{{$item.label}}</a></li>
+               {{/foreach}}
+       </ul>
+       
+</div>
diff --git a/view/theme/diabook/smarty3/group_side.tpl b/view/theme/diabook/smarty3/group_side.tpl
new file mode 100644 (file)
index 0000000..f7ceb06
--- /dev/null
@@ -0,0 +1,34 @@
+<div id="profile_side" >
+       <div class="">
+               <h3 style="margin-left: 2px;">{{$title}}<a href="group/new" title="{{$createtext}}" class="icon text_add"></a></h3>
+       </div>
+
+       <div id="sidebar-group-list">
+               <ul class="menu-profile-side">
+                       {{foreach $groups as $group}}
+                       <li class="menu-profile-list">
+                               <a href="{{$group.href}}" class="menu-profile-list-item">
+                                       <span class="menu-profile-icon {{if $group.selected}}group_selected{{else}}group_unselected{{/if}}"></span>
+                                       {{$group.text}}
+                               </a>
+                               {{if $group.edit}}
+                                       <a href="{{$group.edit.href}}" class="action"><span class="icon text_edit" ></span></a>
+                               {{/if}}
+                               {{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}}
+                       </li>
+                       {{/foreach}}
+               </ul>
+       </div>
+  {{if $ungrouped}}
+  <div id="sidebar-ungrouped">
+  <a href="nogroup">{{$ungrouped}}</a>
+  </div>
+  {{/if}}
+</div> 
+
diff --git a/view/theme/diabook/smarty3/jot.tpl b/view/theme/diabook/smarty3/jot.tpl
new file mode 100644 (file)
index 0000000..87290d5
--- /dev/null
@@ -0,0 +1,87 @@
+
+<div id="profile-jot-wrapper" >
+       <div id="profile-jot-banner-wrapper">
+               <div id="profile-jot-desc" >&nbsp;</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="preview" id="jot-preview" value="0" />
+               <input name="title" id="jot-title" type="text" placeholder="{{$placeholdertitle}}" value="{{$title}}" class="jothidden" style="display:none">
+               {{if $placeholdercategory}}
+               <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" /></div>
+               {{/if}}
+               <div id="character-counter" class="grey"></div>         
+               <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" >{{if $content}}{{$content}}{{else}}{{$share}}{{/if}}</textarea>
+
+
+<div id="profile-jot-submit-wrapper" class="jothidden">
+       
+       <div id="profile-upload-wrapper" style="display: {{$visitor}};" >
+               <div id="wall-image-upload-div" ><a href="#" onclick="return false;" id="wall-image-upload" class="camera" title="{{$upload}}"></a></div>
+       </div> 
+       <div id="profile-attach-wrapper" style="display: {{$visitor}};" >
+               <div id="wall-file-upload-div" ><a href="#" onclick="return false;" id="wall-file-upload" class="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="weblink" title="{{$weblink}}" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;"></a>
+       </div> 
+       <div id="profile-video-wrapper" style="display: {{$visitor}};" >
+               <a id="profile-video" class="video2" title="{{$video}}" onclick="jotVideoURL();return false;"></a>
+       </div> 
+       <div id="profile-audio-wrapper" style="display: {{$visitor}};" >
+               <a id="profile-audio" class="audio2" title="{{$audio}}" onclick="jotAudioURL();return false;"></a>
+       </div> 
+       <div id="profile-location-wrapper" style="display: {{$visitor}};" >
+               <a id="profile-location" class="globe" title="{{$setloc}}" onclick="jotGetLocation();return false;"></a>
+       </div> 
+       <div id="profile-nolocation-wrapper" style="/*display: none;*/" >
+               <a id="profile-nolocation" class="noglobe" title="{{$noloc}}" onclick="jotClearLocation();return false;"></a>
+       </div> 
+
+       <input type="submit" id="profile-jot-submit" class="button creation2" name="submit" value="{{$share}}" />
+  
+   <span onclick="preview_post();" id="jot-preview-link" class="tab button">{{$preview}}</span>
+   
+       <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>
+
+
+       <div id="profile-jot-plugin-wrapper">
+       {{$jotplugins}}
+       </div>
+       
+       <div id="profile-rotator-wrapper" style="display: {{$visitor}};" >
+               <img id="profile-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
+       </div> 
+       
+       </div>
+   <div id="profile-jot-perms-end"></div>
+       
+       <div id="jot-preview-content" style="display:none;"></div>
+
+       <div style="display: none;">
+               <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
+                       {{$acl}}
+                       <hr style="clear:both;"/>
+                       <div id="profile-jot-email-label">{{$emailcc}}</div><input type="text" name="emailcc" id="profile-jot-email" title="{{$emtitle}}" />
+                       <div id="profile-jot-email-end"></div>
+                       {{$jotnets}}
+               </div>
+       </div>
+
+
+
+
+</form>
+</div>
+               {{if $content}}<script>initEditor();</script>{{/if}}
diff --git a/view/theme/diabook/smarty3/login.tpl b/view/theme/diabook/smarty3/login.tpl
new file mode 100644 (file)
index 0000000..330e379
--- /dev/null
@@ -0,0 +1,33 @@
+
+<form action="{{$dest_url}}" method="post" >
+       <input type="hidden" name="auth-params" value="login" />
+
+       <div id="login_standard">
+       {{include file="file:{{$field_input}}" field=$lname}}
+       {{include file="file:{{$field_password}}" field=$lpassword}}
+       </div>
+       
+       {{if $openid}}
+                       <div id="login_openid">
+                       {{include file="file:{{$field_openid}}" field=$lopenid}}
+                       </div>
+       {{/if}}
+       
+       <div id="login-submit-wrapper" >
+               <input type="submit" name="submit" id="login-submit-button" value="{{$login}}" />
+       </div>
+       
+   <div id="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>  
+       
+       {{foreach $hiddens as $k=>$v}}
+               <input type="hidden" name="{{$k}}" value="{{$v}}" />
+       {{/foreach}}
+       
+       
+</form>
+
+
+<script type="text/javascript"> $(document).ready(function() { $("#id_{{$lname.0}}").focus();} );</script>
diff --git a/view/theme/diabook/smarty3/mail_conv.tpl b/view/theme/diabook/smarty3/mail_conv.tpl
new file mode 100644 (file)
index 0000000..e7a313e
--- /dev/null
@@ -0,0 +1,60 @@
+<div class="wall-item-container {{$item.indent}}">
+       <div class="wall-item-item">
+               <div class="wall-item-info">
+                       <div class="contact-photo-wrapper"
+                               <a href="{{$mail.profile_url}}" target="redir" title="{{$mail.from_name}}" class="contact-photo-link" id="wall-item-photo-link-{{$mail.id}}">
+                                       <img src="{{$mail.from_photo}}" class="contact-photo{{$mail.sparkle}}" id="wall-item-photo-{{$mail.id}}" alt="{{$mail.from_name}}" />
+                               </a>
+                       </div>
+               </div>
+               <div class="wall-item-content">
+                       {{$mail.body}}
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="wall-item-links">
+               </div>
+               <div class="wall-item-tags">
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="">
+               </div>
+               <div class="wall-item-actions">
+                       <div class="wall-item-actions-author">
+                               <a href="{{$mail.from_url}}" target="redir" class="wall-item-name-link"><span class="wall-item-name{{$mail.sparkle}}">{{$mail.from_name}}</span></a> <span class="wall-item-ago">{{$mail.date}}</span>
+                       </div>
+                       
+                       <div class="wall-item-actions-social">
+                       </div>
+                       
+                       <div class="wall-item-actions-tools">
+                               <a href="message/drop/{{$mail.id}}" onclick="return confirmDelete();" class="icon delete s16" title="{{$mail.delete}}">{{$mail.delete}}</a>
+                       </div>
+                       
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+       </div>
+</div>
+
+
+{{*
+
+
+<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 class="mail-conv-body">{{$mail.body}}</div>
+       <div class="mail-conv-delete-wrapper" id="mail-conv-delete-wrapper-{{$mail.id}}" ><a href="message/drop/{{$mail.id}}" class="icon drophide delete-icon mail-list-delete-icon" onclick="return confirmDelete();" 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>
+       <div class="mail-conv-outside-wrapper-end"></div>
+</div>
+</div>
+<hr class="mail-conv-break" />
+
+*}}
diff --git a/view/theme/diabook/smarty3/mail_display.tpl b/view/theme/diabook/smarty3/mail_display.tpl
new file mode 100644 (file)
index 0000000..3400227
--- /dev/null
@@ -0,0 +1,12 @@
+<div id="mail-display-subject">
+       <span class="{{if $thread_seen}}seen{{else}}unseen{{/if}}">{{$thread_subject}}</span>
+       <a href="message/dropconv/{{$thread_id}}" onclick="return confirmDelete();"  title="{{$delete}}" class="mail-delete icon s22 delete"></a>
+</div>
+
+{{foreach $mails as $mail_item}}
+       <div id="tread-wrapper-{{$mail_item.id}}" class="tread-wrapper">
+               {{include file="file:{{$mail_conv}}" mail=$mail_item}}
+       </div>
+{{/foreach}}
+
+{{include file="file:{{$prv_message}}" reply=$reply_info}}
diff --git a/view/theme/diabook/smarty3/mail_list.tpl b/view/theme/diabook/smarty3/mail_list.tpl
new file mode 100644 (file)
index 0000000..3342559
--- /dev/null
@@ -0,0 +1,8 @@
+<div class="mail-list-wrapper">
+       <span class="mail-subject {{if $seen}}seen{{else}}unseen{{/if}}"><a href="message/{{$id}}" class="mail-link">{{$subject}}</a></span>
+       <span class="mail-from">{{$from_name}}</span>
+       <span class="mail-date">{{$date}}</span>
+       <span class="mail-count">{{$count}}</span>
+       
+       <a href="message/dropconv/{{$id}}" onclick="return confirmDelete();"  title="{{$delete}}" class="mail-delete icon s22 delete"></a>
+</div>
diff --git a/view/theme/diabook/smarty3/message_side.tpl b/view/theme/diabook/smarty3/message_side.tpl
new file mode 100644 (file)
index 0000000..c8a372c
--- /dev/null
@@ -0,0 +1,10 @@
+<div id="message-sidebar" class="widget">
+       <div id="message-new" class="{{if $new.sel}}selected{{/if}}"><a href="{{$new.url}}">{{$new.label}}</a> </div>
+       
+       <ul class="message-ul">
+               {{foreach $tabs as $t}}
+                       <li class="tool {{if $t.sel}}selected{{/if}}"><a href="{{$t.url}}" class="message-link">{{$t.label}}</a></li>
+               {{/foreach}}
+       </ul>
+       
+</div>
diff --git a/view/theme/diabook/smarty3/nav.tpl b/view/theme/diabook/smarty3/nav.tpl
new file mode 100644 (file)
index 0000000..2e6198f
--- /dev/null
@@ -0,0 +1,188 @@
+<header>
+       <div id="site-location">{{$sitelocation}}</div>
+       <div id="banner">{{$banner}}</div>
+</header>
+<nav>
+                       
+                       
+       <ul>
+                       
+                       
+                       {{if $nav.network}}
+                       <li id="nav-network-link" class="nav-menu-icon">
+                               <a class="{{$nav.network.2}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >
+                               <span class="icon notifications">Benachrichtigungen</span>
+                               <span id="net-update" class="nav-notify"></span></a>
+                       </li>
+                   {{/if}}
+       
+                       {{if $nav.contacts}}
+                       <li class="nav-menu-icon" id="nav-contacts-linkmenu">
+                               <a href="{{$nav.contacts.0}}" rel="#nav-contacts-menu" title="{{$nav.contacts.1}}">
+                               <span class="icon contacts">{{$nav.contacts.1}}</span>
+                               <span id="intro-update" class="nav-notify"></span></a>
+                               <ul id="nav-contacts-menu" class="menu-popup">
+                                       <li id="nav-contacts-see-intro"><a href="{{$nav.notifications.0}}">{{$nav.introductions.1}}</a><span id="intro-update-li" class="nav-notify"></span></li>
+                                       <li id="nav-contacts-all"><a href="contacts">{{$nav.contacts.1}}</a></li> 
+                               </ul>
+                       </li>   
+
+                       {{/if}}
+                       
+                       {{if $nav.messages}}
+                       <li  id="nav-messages-linkmenu" class="nav-menu-icon">
+                         <a href="{{$nav.messages.0}}" rel="#nav-messages-menu" title="{{$nav.messages.1}}">
+                         <span class="icon messages">{{$nav.messages.1}}</span>
+                               <span id="mail-update" class="nav-notify"></span></a>
+                               <ul id="nav-messages-menu" class="menu-popup">
+                                       <li id="nav-messages-see-all"><a href="{{$nav.messages.0}}">{{$nav.messages.1}}</a></li>
+                                       <li id="nav-messages-see-all"><a href="{{$nav.messages.new.0}}">{{$nav.messages.new.1}}</a></li>
+                               </ul>
+                       </li>           
+                       {{/if}}
+               
+      {{if $nav.notifications}}
+                       <li  id="nav-notifications-linkmenu" class="nav-menu-icon">
+                       <a href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}">
+                       <span class="icon notify">{{$nav.notifications.1}}</span>
+                               <span id="notify-update" class="nav-notify"></span></a>
+                               <ul id="nav-notifications-menu" class="menu-popup">
+                                       <li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">{{$nav.notifications.mark.1}}</a></li>
+                                       <li id="nav-notifications-see-all"><a href="{{$nav.notifications.all.0}}">{{$nav.notifications.all.1}}</a></li>
+                                       <li class="empty">{{$emptynotifications}}</li>
+                               </ul>
+                       </li>           
+               {{/if}} 
+                       
+               {{if $nav.search}}
+               <li id="search-box">
+                       <form method="get" action="{{$nav.search.0}}">
+                               <input id="search-text" class="nav-menu-search" type="text" value="" name="search">
+                       </form>
+               </li>           
+               {{/if}} 
+               
+               <li  style="width: 1%; height: 1px;float: right;"></li> 
+               
+               <li id="nav-site-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-site-menu"><span class="icon s22 gear">Site</span></a>
+                       <ul id="nav-site-menu" class="menu-popup">
+                               {{if $nav.manage}}<li><a class="{{$nav.manage.2}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a></li>{{/if}}                         
+                                       
+                               {{if $nav.help}} <li><a class="{{$nav.help.2}}" target="friendica-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a></li>{{/if}}                                                                 
+                                                                               
+                                                                                <li><a class="{{$nav.search.2}}" href="friendica" title="Site Info / Impressum" >Info/Impressum</a></li>
+                                                                               
+                               {{if $nav.settings}}<li><a class="menu-sep {{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a></li>{{/if}}
+                               {{if $nav.admin}}<li><a class="{{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a></li>{{/if}}
+
+                               {{if $nav.logout}}<li><a class="menu-sep {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a></li>{{/if}}
+
+                               
+                       </ul>           
+               </li>
+               
+               
+               {{if $nav.directory}}
+               <li id="nav-directory-link" class="nav-menu {{$sel.directory}}">
+                       <a class="{{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a>
+               </li>
+               {{/if}}
+               
+               {{if $nav.apps}}
+                       <li id="nav-apps-link" class="nav-menu {{$sel.apps}}">
+                               <a class=" {{$nav.apps.2}}" href="#" rel="#nav-apps-menu" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>
+                               <ul id="nav-apps-menu" class="menu-popup">
+                                       {{foreach $apps as $ap}}
+                                       <li>{{$ap}}</li>
+                                       {{/foreach}}
+                               </ul>
+                       </li>   
+               {{/if}}         
+               
+      {{if $nav.home}}
+                       <li id="nav-home-link" class="nav-menu {{$sel.home}}">
+                               <a class="{{$nav.home.2}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}
+                               <span id="home-update" class="nav-notify"></span></a>
+                       </li>
+               {{/if}}         
+               
+               {{if $userinfo}}
+                       <li id="nav-user-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-user-menu" title="{{$sitelocation}}"><img src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"></a>
+                               <ul id="nav-user-menu" class="menu-popup">
+                                       {{foreach $nav.usermenu as $usermenu}}
+                                               <li><a class="{{$usermenu.2}}" href="{{$usermenu.0}}" title="{{$usermenu.3}}">{{$usermenu.1}}</a></li>
+                                       {{/foreach}}
+                                       
+                                       {{if $nav.profiles}}<li><a class="menu-sep {{$nav.profiles.2}}" href="{{$nav.profiles.0}}" title="{{$nav.profiles.3}}" >{{$nav.profiles.3}}</a></li>{{/if}}
+                                       {{if $nav.notifications}}<li><a class="{{$nav.notifications.2}}" href="{{$nav.notifications.0}}" title="{{$nav.notifications.3}}" >{{$nav.notifications.1}}</a></li>{{/if}}
+                                       {{if $nav.messages}}<li><a class="{{$nav.messages.2}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}}</a></li>{{/if}}
+                                       {{if $nav.contacts}}<li><a class="{{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}" >{{$nav.contacts.1}}</a></li>{{/if}}      
+                               </ul>
+                       </li>
+               {{/if}}
+               
+                                       {{if $nav.login}}
+                                       <li id="nav-home-link" class="nav-menu {{$sel.home}}">
+                                               <a class="{{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a>
+                                       <li>
+                                       {{/if}}
+               
+               
+               
+       </ul>   
+
+
+       
+</nav>
+
+
+<div id="scrollup" style="position: fixed; bottom: 5px; right: 10px;z-index: 97;"><a id="down" onclick="scrolldown()" ><img id="scroll_top_bottom" src="view/theme/diabook/icons/scroll_bottom.png" style="display:cursor !important;" alt="back to top" title="Scroll to bottom"></a></div>
+<div style="position: fixed; bottom: 61px; left: 6px;">{{$langselector}}</div>
+<div style="position: fixed; bottom: 23px; left: 5px;"><a href="http://pad.toktan.org/p/diabook" target="blank" ><img src="view/theme/diabook/icons/bluebug.png" title="report bugs for the theme diabook"/></a></div>
+
+
+
+
+<ul id="nav-notifications-template" style="display:none;" rel="template">
+       <li class="{4}"><a href="{0}"><img src="{1}">{2} <span class="notif-when">{3}</span></a></li>
+</ul>
+
+
+
+{{*
+
+{{if $nav.logout}}<a id="nav-logout-link" class="nav-link {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a> {{/if}}
+{{if $nav.login}}<a id="nav-login-link" class="nav-login-link {{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a> {{/if}}
+
+<span id="nav-link-wrapper" >
+
+{{if $nav.register}}<a id="nav-register-link" class="nav-commlink {{$nav.register.2}}" href="{{$nav.register.0}}" title="{{$nav.register.3}}" >{{$nav.register.1}}</a>{{/if}}
+       
+<a id="nav-help-link" class="nav-link {{$nav.help.2}}" target="friendica-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a>
+       
+{{if $nav.apps}}<a id="nav-apps-link" class="nav-link {{$nav.apps.2}}" href="{{$nav.apps.0}}" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>{{/if}}
+
+<a id="nav-search-link" class="nav-link {{$nav.search.2}}" href="{{$nav.search.0}}" title="{{$nav.search.3}}" >{{$nav.search.1}}</a>
+<a id="nav-directory-link" class="nav-link {{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a>
+
+{{if $nav.admin}}<a id="nav-admin-link" class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a>{{/if}}
+
+{{if $nav.notifications}}
+<a id="nav-notify-link" class="nav-commlink {{$nav.notifications.2}}" href="{{$nav.notifications.0}}" title="{{$nav.notifications.3}}" >{{$nav.notifications.1}}</a>
+<span id="notify-update" class="nav-ajax-left"></span>
+{{/if}}
+{{if $nav.messages}}
+<a id="nav-messages-link" class="nav-commlink {{$nav.messages.2}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}}</a>
+<span id="mail-update" class="nav-ajax-left"></span>
+{{/if}}
+
+{{if $nav.manage}}<a id="nav-manage-link" class="nav-commlink {{$nav.manage.2}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a>{{/if}}
+
+{{if $nav.settings}}<a id="nav-settings-link" class="nav-link {{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a>{{/if}}
+{{if $nav.profiles}}<a id="nav-profiles-link" class="nav-link {{$nav.profiles.2}}" href="{{$nav.profiles.0}}" title="{{$nav.profiles.3}}" >{{$nav.profiles.1}}</a>{{/if}}
+
+
+</span>
+<span id="nav-end"></span>
+<span id="banner">{{$banner}}</span>
+*}}
diff --git a/view/theme/diabook/smarty3/nets.tpl b/view/theme/diabook/smarty3/nets.tpl
new file mode 100644 (file)
index 0000000..26e6b01
--- /dev/null
@@ -0,0 +1,17 @@
+<div id="profile_side">
+       <h3 style="margin-left: 2px;">{{$title}}</h3>
+       <div id="nets-desc">{{$desc}}</div>
+   
+       <ul class="menu-profile-side">
+       <li class="menu-profile-list">
+       <span class="menu-profile-icon {{if $sel_all}}group_selected{{else}}group_unselected{{/if}}"></span>    
+       <a style="text-decoration: none;" href="{{$base}}?nets=all" class="menu-profile-list-item">{{$all}}</a></li>
+       {{foreach $nets as $net}}
+       <li class="menu-profile-list">
+       <a href="{{$base}}?nets={{$net.ref}}" class="menu-profile-list-item">
+       <span class="menu-profile-icon {{if $net.selected}}group_selected{{else}}group_unselected{{/if}}"></span>               
+       {{$net.name}}   
+       </a></li>
+       {{/foreach}}
+       </ul>
+</div>
diff --git a/view/theme/diabook/smarty3/oembed_video.tpl b/view/theme/diabook/smarty3/oembed_video.tpl
new file mode 100644 (file)
index 0000000..2d73f8d
--- /dev/null
@@ -0,0 +1,4 @@
+<a class="embed_yt" href='{{$embedurl}}' onclick='this.innerHTML=Base64.decode("{{$escapedhtml}}"); yt_iframe();javascript:$(this).parent().css("height", "450px"); return false;' style='float:left; margin: 1em; position: relative;'>
+       <img width='{{$tw}}' height='{{$th}}' src='{{$turl}}' >
+       <div style='position: absolute; top: 0px; left: 0px; width: {{$twpx}}; height: {{$thpx}}; background: url(images/icons/48/play.png) no-repeat center center;'></div>
+</a>
diff --git a/view/theme/diabook/smarty3/photo_item.tpl b/view/theme/diabook/smarty3/photo_item.tpl
new file mode 100644 (file)
index 0000000..3eeb6bc
--- /dev/null
@@ -0,0 +1,65 @@
+{{if $indent}}{{else}}
+<div class="wall-item-decor">
+       <img id="like-rotator-{{$id}}" class="like-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
+</div>
+{{/if}}
+
+<div class="wall-item-photo-container {{$indent}}">
+       <div class="wall-item-item">
+               <div class="wall-item-info">
+                       <div class="contact-photo-wrapper" >
+                               <a href="{{$profile_url}}" target="redir" title="" class="contact-photo-link" id="wall-item-photo-link-{{$id}}">
+                                       <img src="{{$thumb}}" class="contact-photo{{$sparkle}}" id="wall-item-photo-{{$id}}" alt="{{$name}}" />
+                               </a>
+                               <a href="#" rel="#wall-item-photo-menu-{{$id}}" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-{{$id}}">menu</a>
+                               <ul class="contact-menu menu-popup" id="wall-item-photo-menu-{{$id}}">
+                               {{$photo_menu}}
+                               </ul>
+                               
+                       </div>
+               </div>
+                       <div class="wall-item-actions-author">
+                               <a href="{{$profile_url}}" target="redir" title="{{$name}}" class="wall-item-name-link"><span class="wall-item-name{{$sparkle}}">{{$name}}</span></a> 
+                       <span class="wall-item-ago">-
+                       {{if $plink}}<a class="link" title="{{$plink.title}}" href="{{$plink.href}}" style="color: #999">{{$ago}}</a>{{else}} {{$ago}} {{/if}}
+                       {{if $lock}} - <span class="fakelink" style="color: #999" onclick="lockview(event,{{$id}});">{{$lock}}</span> {{/if}}
+                       </span>
+                       </div>
+               <div class="wall-item-content">
+                       {{if $title}}<h2><a href="{{$plink.href}}">{{$title}}</a></h2>{{/if}}
+                       {{$body}}
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="wall-item-links">
+               </div>
+               <div class="wall-item-tags">
+                       {{foreach $tags as $tag}}
+                               <span class='tag'>{{$tag}}</span>
+                       {{/foreach}}
+               </div>
+       </div>
+       
+       <div class="wall-item-bottom" style="display: table-row;">
+               <div class="wall-item-actions">
+          </div>
+               <div class="wall-item-actions">
+                       
+                       <div class="wall-item-actions-tools">
+
+                               {{if $drop.dropping}}
+                                       <input type="checkbox" title="{{$drop.select}}" name="itemselected[]" class="item-select" value="{{$id}}" />
+                                       <a href="item/drop/{{$id}}" onclick="return confirmDelete();" class="icon drop" title="{{$drop.delete}}">{{$drop.delete}}</a>
+                               {{/if}}
+                               {{if $edpost}}
+                                       <a class="icon pencil" href="{{$edpost.0}}" title="{{$edpost.1}}"></a>
+                               {{/if}}
+                       </div>
+
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+                       
+       </div>
+</div>
+
diff --git a/view/theme/diabook/smarty3/photo_view.tpl b/view/theme/diabook/smarty3/photo_view.tpl
new file mode 100644 (file)
index 0000000..f4c713a
--- /dev/null
@@ -0,0 +1,33 @@
+<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>
+
+{{if $prevlink}}<div id="photo-prev-link"><a href="{{$prevlink.0}}">{{$prevlink.1}}</a></div>{{/if}}
+<div id="photo-photo"><a href="{{$photo.href}}" class="lightbox" title="{{$photo.title}}"><img src="{{$photo.src}}" /></a></div>
+{{if $nextlink}}<div id="photo-next-link"><a href="{{$nextlink.0}}">{{$nextlink.1}}</a></div>{{/if}}
+<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}}{{/if}}
+
+<div style="margin-top:20px">
+</div>
+<div id="wall-photo-container">
+{{$comments}}
+</div>
+
+{{$paginate}}
+
diff --git a/view/theme/diabook/smarty3/profile_side.tpl b/view/theme/diabook/smarty3/profile_side.tpl
new file mode 100644 (file)
index 0000000..8d1ff97
--- /dev/null
@@ -0,0 +1,21 @@
+<div id="profile_side">
+       <div id="ps-usernameicon">
+               <a href="{{$ps.usermenu.status.0}}" title="{{$userinfo.name}}">
+                       <img src="{{$userinfo.icon}}" id="ps-usericon" alt="{{$userinfo.name}}">
+               </a>
+               <a href="{{$ps.usermenu.status.0}}" id="ps-username" title="{{$userinfo.name}}">{{$userinfo.name}}</a>
+       </div>
+       
+<ul id="profile-side-menu" class="menu-profile-side">
+       <li id="profile-side-status" class="menu-profile-list"><a class="menu-profile-list-item" href="{{$ps.usermenu.status.0}}">{{$ps.usermenu.status.1}}<span class="menu-profile-icon home"></span></a></li>
+       <li id="profile-side-photos" class="menu-profile-list photos"><a class="menu-profile-list-item" href="{{$ps.usermenu.photos.0}}">{{$ps.usermenu.photos.1}}<span class="menu-profile-icon photos"></span></a></li>
+       <li id="profile-side-photos" class="menu-profile-list pscontacts"><a class="menu-profile-list-item" href="{{$ps.usermenu.contacts.0}}">{{$ps.usermenu.contacts.1}}<span class="menu-profile-icon pscontacts"></span></a></li>           
+       <li id="profile-side-events" class="menu-profile-list events"><a class="menu-profile-list-item" href="{{$ps.usermenu.events.0}}">{{$ps.usermenu.events.1}}<span class="menu-profile-icon events"></span></a></li>
+       <li id="profile-side-notes" class="menu-profile-list notes"><a class="menu-profile-list-item" href="{{$ps.usermenu.notes.0}}">{{$ps.usermenu.notes.1}}<span class="menu-profile-icon notes"></span></a></li>
+       <li id="profile-side-foren" class="menu-profile-list foren"><a class="menu-profile-list-item" href="{{$ps.usermenu.pgroups.0}}" target="blanc">{{$ps.usermenu.pgroups.1}}<span class="menu-profile-icon foren"></span></a></li>
+       <li id="profile-side-foren" class="menu-profile-list com_side"><a class="menu-profile-list-item" href="{{$ps.usermenu.community.0}}">{{$ps.usermenu.community.1}}<span class="menu-profile-icon com_side"></span></a></li>
+</ul>
+
+</div>
+
+                               
diff --git a/view/theme/diabook/smarty3/profile_vcard.tpl b/view/theme/diabook/smarty3/profile_vcard.tpl
new file mode 100644 (file)
index 0000000..a8b0eba
--- /dev/null
@@ -0,0 +1,64 @@
+<div class="vcard">
+
+       <div class="tool">
+               <div class="fn label">{{$profile.name}}</div>
+               {{if $profile.edit}}
+                       <div class="action">
+                       <a class="icon s16 edit ttright" href="#" rel="#profiles-menu" title="{{$profile.edit.3}}"><span>{{$profile.edit.1}}</span></a>
+                       <ul id="profiles-menu" class="menu-popup">
+                               {{foreach $profile.menu.entries as $e}}
+                               <li>
+                                       <a href="profiles/{{$e.id}}"><img src='{{$e.photo}}'>{{$e.profile_name}}</a>
+                               </li>
+                               {{/foreach}}
+                               <li><a href="profile_photo" >{{$profile.menu.chg_photo}}</a></li>
+                               <li><a href="profiles/new" id="profile-listing-new-link">{{$profile.menu.cr_new}}</a></li>
+                               <li><a href="profiles" >{{$profile.edit.3}}</a></li>
+                                                               
+                       </ul>
+                       </div>
+               {{/if}}
+       </div>
+                               
+       
+
+       <div id="profile-photo-wrapper"><img class="photo" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}" /></div>
+       {{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
+
+
+       {{if $location}}
+               <dl class="location"><dt class="location-label">{{$location}}</dt><br> 
+               <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="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+       
+       <div id="profile-extra-links">
+               <ul>
+                       {{if $connect}}
+                               <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
+                       {{/if}}
+               </ul>
+       </div>
+</div>
+
+{{$contact_block}}
+
+
diff --git a/view/theme/diabook/smarty3/prv_message.tpl b/view/theme/diabook/smarty3/prv_message.tpl
new file mode 100644 (file)
index 0000000..8ac9a4a
--- /dev/null
@@ -0,0 +1,40 @@
+
+<h3>{{$reply.header}}</h3>
+
+<div id="prvmail-wrapper" >
+<form id="prvmail-form" action="message" method="post" >
+
+{{$reply.parent}}
+
+<div id="prvmail-to-label">{{$reply.to}}</div>
+
+{{if $reply.showinputs}}
+<input type="text" id="recip" style="background: none repeat scroll 0 0 white;border: 1px solid #CCC;border-radius: 5px 5px 5px 5px;height: 20px;margin: 0 0 5px;
+vertical-align: middle;" name="messageto" value="{{$reply.prefill}}" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="{{$reply.preid}}">
+{{else}}
+{{$reply.select}}
+{{/if}}
+
+<div id="prvmail-subject-label">{{$reply.subject}}</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$reply.subjtxt}}" {{$reply.readonly}} tabindex="11" />
+
+<div id="prvmail-message-label">{{$reply.yourmessage}}</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$reply.text}}</textarea>
+
+
+<div id="prvmail-submit-wrapper" >
+       <input type="submit" id="prvmail-submit" name="submit" value="{{$reply.submit}}" tabindex="13" />
+       <div id="prvmail-upload-wrapper" >
+               <div id="prvmail-upload" class="icon border camera" title="{{$reply.upload}}" ></div>
+       </div> 
+       <div id="prvmail-link-wrapper" >
+               <div id="prvmail-link" class="icon border link" title="{{$reply.insert}}" onclick="jotGetLink();" ></div>
+       </div> 
+       <div id="prvmail-rotator-wrapper" >
+               <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$reply.wait}}" title="{{$reply.wait}}" style="display: none;" />
+       </div> 
+</div>
+<div id="prvmail-end"></div>
+</form>
+</div>
diff --git a/view/theme/diabook/smarty3/right_aside.tpl b/view/theme/diabook/smarty3/right_aside.tpl
new file mode 100644 (file)
index 0000000..8b11356
--- /dev/null
@@ -0,0 +1,20 @@
+<div id="profile_side">
+       <div id="ps-usernameicon">
+               <a href="{{$ps.usermenu.status.0}}" title="{{$userinfo.name}}">
+                       <img src="{{$userinfo.icon}}" id="ps-usericon" alt="{{$userinfo.name}}">
+               </a>
+               <a href="{{$ps.usermenu.status.0}}" id="ps-username" title="{{$userinfo.name}}">{{$userinfo.name}}</a>
+       </div>
+       
+<ul id="profile-side-menu" class="menu-profile-side">
+       <li id="profile-side-status" class="menu-profile-list home"><a class="menu-profile-list-item" href="{{$ps.usermenu.status.0}}">{{$ps.usermenu.status.1}}</a></li>
+       <li id="profile-side-photos" class="menu-profile-list photos"><a class="menu-profile-list-item" href="{{$ps.usermenu.photos.0}}">{{$ps.usermenu.photos.1}}</a></li>
+       <li id="profile-side-events" class="menu-profile-list events"><a class="menu-profile-list-item" href="{{$ps.usermenu.events.0}}">{{$ps.usermenu.events.1}}</a></li>
+       <li id="profile-side-notes" class="menu-profile-list notes"><a class="menu-profile-list-item" href="{{$ps.usermenu.notes.0}}">{{$ps.usermenu.notes.1}}</a></li>
+       <li id="profile-side-foren" class="menu-profile-list foren"><a class="menu-profile-list-item" href="http://dir.friendica.com/directory/forum" target="blanc">Public Groups</a></li>
+       <li id="profile-side-foren" class="menu-profile-list com_side"><a class="menu-profile-list-item" href="{{$ps.usermenu.community.0}}">{{$ps.usermenu.community.1}}</a></li>
+</ul>
+
+</div>
+
+                               
\ No newline at end of file
diff --git a/view/theme/diabook/smarty3/search_item.tpl b/view/theme/diabook/smarty3/search_item.tpl
new file mode 100644 (file)
index 0000000..0544e5e
--- /dev/null
@@ -0,0 +1,111 @@
+{{if $item.indent}}{{else}}
+<div class="wall-item-decor">
+       <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
+</div>
+{{/if}}
+<div class="wall-item-container {{$item.indent}}">
+       <div class="wall-item-item">
+               <div class="wall-item-info">
+                       <div class="contact-photo-wrapper"
+                               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="contact-photo-link" id="wall-item-photo-link-{{$item.id}}">
+                                       <img src="{{$item.thumb}}" class="contact-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
+                               </a>
+                               <a href="#" rel="#wall-item-photo-menu-{{$item.id}}" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-{{$item.id}}">menu</a>
+                               <ul class="contact-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
+                               {{$item.item_photo_menu}}
+                               </ul>
+                               
+                       </div>
+               </div>
+                       <div class="wall-item-actions-author">
+                               <a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}">{{$item.name}}</span></a> 
+                       <span class="wall-item-ago">-
+                       {{if $item.plink}}<a class="link" title="{{$item.plink.title}}" href="{{$item.plink.href}}" style="color: #999">{{$item.ago}}</a>{{else}} {{$item.ago}} {{/if}}
+                       {{if $item.lock}} - <span class="fakelink" style="color: #999" onclick="lockview(event,{{$item.id}});">{{$item.lock}}</span> {{/if}}
+                       </span>
+                       </div>
+               <div class="wall-item-content">
+                       {{if $item.title}}<h2><a href="{{$item.plink.href}}">{{$item.title}}</a></h2>{{/if}}
+                       {{$item.body}}
+                       {{if $item.has_cats}}
+                       <div class="categorytags"><span>{{$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"><span>{{$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-bottom">
+               <div class="wall-item-links">
+               </div>
+               <div class="wall-item-tags">
+                       {{foreach $item.tags as $tag}}
+                               <span class='tag'>{{$tag}}</span>
+                       {{/foreach}}
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="">
+
+               </div>
+               <div class="wall-item-actions">
+
+                       <div class="wall-item-actions-social">
+                       
+                       
+                       {{if $item.vote}}
+                               <a href="#" id="like-{{$item.id}}" class="icon like" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false">{{$item.vote.like.1}}</a>
+                               <a href="#" id="dislike-{{$item.id}}" class="icon dislike" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></a>
+                       {{/if}}
+                                               
+                       {{if $item.vote.share}}
+                               <a href="#" id="share-{{$item.id}}" class="icon recycle" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"></a>
+                       {{/if}} 
+
+
+                       {{if $item.star}}
+                               <a href="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="star-item icon {{$item.isstarred}}" title="{{$item.star.toggle}}">
+                               <img src="images/star_dummy.png" class="icon star" alt="{{$item.star.do}}" /> </a>
+                               <a href="#" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="tag-item icon tagged" title="{{$item.star.tagger}}"></a>                                       
+                       {{/if}} 
+                       
+                       {{if $item.filer}}
+                       <a href="#" id="filer-{{$item.id}}" onclick="itemFiler({{$item.id}}); return false;" class="filer-item icon file-as" title="{{$item.star.filer}}"></a>
+                       {{/if}}                         
+                       
+                       {{if $item.plink}}<a class="icon link" title="{{$item.plink.title}}" href="{{$item.plink.href}}">{{$item.plink.title}}</a>{{/if}}
+                       
+                                       
+                                       
+                       </div>
+                       
+                       <div class="wall-item-actions-tools">
+
+                               {{if $item.drop.pagedrop}}
+                                       <input type="checkbox" title="{{$item.drop.select}}" name="itemselected[]" class="item-select" value="{{$item.id}}" />
+                               {{/if}}
+                               {{if $item.drop.dropping}}
+                                       <a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drop" title="{{$item.drop.delete}}">{{$item.drop.delete}}</a>
+                               {{/if}}
+                               {{if $item.edpost}}
+                                       <a class="icon pencil" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a>
+                               {{/if}}
+                       </div>
+                       <div class="wall-item-location">{{$item.location}}&nbsp;</div>
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="wall-item-links"></div>
+               <div class="wall-item-like" id="wall-item-like-{{$item.id}}">{{$item.like}}</div>
+               <div class="wall-item-dislike" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div>      
+       </div>
+</div>
+
+<div class="wall-item-comment-wrapper" >
+       {{$item.comment}}
+</div>
diff --git a/view/theme/diabook/smarty3/theme_settings.tpl b/view/theme/diabook/smarty3/theme_settings.tpl
new file mode 100644 (file)
index 0000000..a9bc042
--- /dev/null
@@ -0,0 +1,41 @@
+{{include file="file:{{$field_select}}" field=$color}}
+
+{{include file="file:{{$field_select}}" field=$font_size}}
+
+{{include file="file:{{$field_select}}" field=$line_height}}
+
+{{include file="file:{{$field_select}}" field=$resolution}}
+
+<div class="settings-submit-wrapper">
+       <input type="submit" value="{{$submit}}" class="settings-submit" name="diabook-settings-submit" />
+</div>
+<br>
+<h3>Show/hide boxes at right-hand column</h3>
+{{include file="file:{{$field_select}}" field=$close_pages}}
+{{include file="file:{{$field_select}}" field=$close_profiles}}
+{{include file="file:{{$field_select}}" field=$close_helpers}}
+{{include file="file:{{$field_select}}" field=$close_services}}
+{{include file="file:{{$field_select}}" field=$close_friends}}
+{{include file="file:{{$field_select}}" field=$close_lastusers}}
+{{include file="file:{{$field_select}}" field=$close_lastphotos}}
+{{include file="file:{{$field_select}}" field=$close_lastlikes}}
+{{include file="file:{{$field_select}}" field=$close_twitter}}
+{{include file="file:{{$field_input}}" field=$TSearchTerm}}
+{{include file="file:{{$field_select}}" field=$close_mapquery}}
+
+{{include file="file:{{$field_input}}" field=$ELPosX}}
+
+{{include file="file:{{$field_input}}" field=$ELPosY}}
+
+{{include file="file:{{$field_input}}" field=$ELZoom}}
+
+<div class="settings-submit-wrapper">
+       <input type="submit" value="{{$submit}}" class="settings-submit" name="diabook-settings-submit" />
+</div>
+
+<br>
+
+<div class="field select">
+<a onClick="restore_boxes()" title="Restore boxorder at right-hand column" style="cursor: pointer;">Restore boxorder at right-hand column</a>
+</div>
+
diff --git a/view/theme/diabook/smarty3/wall_thread.tpl b/view/theme/diabook/smarty3/wall_thread.tpl
new file mode 100644 (file)
index 0000000..e721226
--- /dev/null
@@ -0,0 +1,141 @@
+{{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}}">
+{{if $item.indent}}{{else}}
+<div class="wall-item-decor">
+       <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
+</div>
+{{/if}}
+<div class="wall-item-container {{$item.indent}}">
+       <div class="wall-item-item">
+               <div class="wall-item-info">
+                       <div class="contact-photo-wrapper"
+                               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="contact-photo-link" id="wall-item-photo-link-{{$item.id}}">
+                                       <img src="{{$item.thumb}}" class="contact-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
+                               </a>
+                               <a href="#" rel="#wall-item-photo-menu-{{$item.id}}" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-{{$item.id}}">menu</a>
+                               <ul class="contact-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
+                               {{$item.item_photo_menu}}
+                               </ul>
+                               
+                       </div>
+               </div>
+                       <div class="wall-item-actions-author">
+                               <a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}">{{$item.name}}</span></a> 
+                       <span class="wall-item-ago">-
+                       {{if $item.plink}}<a class="link{{$item.sparkle}}" title="{{$item.plink.title}}" href="{{$item.plink.href}}" style="color: #999">{{$item.ago}}</a>{{else}} {{$item.ago}} {{/if}}
+                       {{if $item.lock}} - <span class="fakelink" style="color: #999" onclick="lockview(event,{{$item.id}});">{{$item.lock}}</span> {{/if}}
+                       </span>
+                       </div>
+               <div class="wall-item-content">
+                       {{if $item.title}}<h2><a href="{{$item.plink.href}}">{{$item.title}}</a></h2>{{/if}}
+                       {{$item.body}}
+                       {{if $item.has_cats}}
+                       <div class="categorytags"><span>{{$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"><span>{{$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-bottom">
+               <div class="wall-item-links">
+               </div>
+               <div class="wall-item-tags">
+                       {{foreach $item.tags as $tag}}
+                               <span class='tag'>{{$tag}}</span>
+                       {{/foreach}}
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="">
+
+               </div>
+               <div class="wall-item-actions">
+
+                       <div class="wall-item-actions-social">
+                       
+                       
+                       {{if $item.vote}}
+                               <a href="#" id="like-{{$item.id}}" class="icon like" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false">{{$item.vote.like.1}}</a>
+                               {{if $item.vote.dislike}}
+                               <a href="#" id="dislike-{{$item.id}}" class="icon dislike" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></a>
+                               {{/if}}
+                       {{/if}}
+                                               
+                       {{if $item.vote.share}}
+                               <a href="#" id="share-{{$item.id}}" class="icon recycle" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"></a>
+                       {{/if}} 
+
+
+                       {{if $item.star}}
+                               <a href="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="star-item icon {{$item.isstarred}}" title="{{$item.star.toggle}}">
+                               <img src="images/star_dummy.png" class="icon star" alt="{{$item.star.do}}" /> </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 icon file-as" title="{{$item.star.filer}}"></a>
+                       {{/if}}                         
+                       
+                       {{if $item.plink}}<a class="icon link" title="{{$item.plink.title}}" href="{{$item.plink.href}}">{{$item.plink.title}}</a>{{/if}}
+                       
+                                       
+                                       
+                       </div>
+                       
+                       <div class="wall-item-actions-tools">
+
+                               {{if $item.drop.pagedrop}}
+                                       <input type="checkbox" title="{{$item.drop.select}}" name="itemselected[]" class="item-select" value="{{$item.id}}" />
+                               {{/if}}
+                               {{if $item.drop.dropping}}
+                                       <a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drop" title="{{$item.drop.delete}}">{{$item.drop.delete}}</a>
+                               {{/if}}
+                               {{if $item.edpost}}
+                                       <a class="icon pencil" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a>
+                               {{/if}}
+                       </div>
+                       <div class="wall-item-location">{{$item.location}}&nbsp;</div>
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="wall-item-links"></div>
+               <div class="wall-item-like" id="wall-item-like-{{$item.id}}">{{$item.like}}</div>
+               <div class="wall-item-dislike" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div>      
+       </div>
+</div>
+
+{{if $item.threaded}}
+{{if $item.comment}}
+<div class="wall-item-comment-wrapper {{$item.indent}}" >
+       {{$item.comment}}
+</div>
+{{/if}}
+{{/if}}
+
+{{if $item.flatten}}
+<div class="wall-item-comment-wrapper" >
+       {{$item.comment}}
+</div>
+{{/if}}
+
+
+{{foreach $item.children as $child_item}}
+       {{include file="file:{{$child_item.template}}" item=$child_item}}
+{{/foreach}}
+
+</div>
+{{if $item.comment_lastcollapsed}}</div>{{/if}}
index cf454417575c365b0f9a8ea60dcd1fb45a2cbbc1..dbfe5a8e8c7884afdce478a467831a8231a3cc1d 100644 (file)
@@ -8,6 +8,7 @@
  */
 
 $a = get_app();
+$a->theme['template_engine'] = 'smarty3';
 
 function get_diabook_config($key, $default = false) {
        if (local_user()) {
@@ -385,7 +386,7 @@ if ($color=="dark") $color_path = "/diabook-dark/";
        $aside['$comunity_profiles_items'] = array();
        $r = q("select gcontact.* from gcontact left join glink on glink.gcid = gcontact.id
                          where glink.cid = 0 and glink.uid = 0 order by rand() limit 9");
-       $tpl = file_get_contents( dirname(__file__).'/ch_directory_item.tpl');
+       $tpl = get_markup_template('ch_directory_item.tpl');
        if(count($r)) {
                $photo = 'photo';
                foreach($r as $rr) {
@@ -414,7 +415,7 @@ if ($color=="dark") $color_path = "/diabook-dark/";
                0,
                9
        );
-       $tpl = file_get_contents( dirname(__file__).'/ch_directory_item.tpl');
+       $tpl = get_markup_template('ch_directory_item.tpl');
        if(count($r)) {
                $photo = 'thumb';
                foreach($r as $rr) {
@@ -493,7 +494,7 @@ if ($color=="dark") $color_path = "/diabook-dark/";
                                dbesc(t('Profile Photos'))
                                );
                if(count($r)) {
-               $tpl = file_get_contents( dirname(__file__).'/ch_directory_item.tpl');
+               $tpl = get_markup_template('ch_directory_item.tpl');
                foreach($r as $rr) {
                        $photo_page = $a->get_baseurl() . '/photos/' . $rr['nickname'] . '/image/' . $rr['resource-id'];
                        $photo_url = $a->get_baseurl() . '/photo/' .  $rr['resource-id'] . '-' . $rr['scale'] .'.jpg';
@@ -661,8 +662,15 @@ if ($color=="dark") $color_path = "/diabook-dark/";
    $url = $a->get_baseurl($ssl_state);
    $aside['$url'] = $url;
        //print right_aside
-       $tpl = file_get_contents(dirname(__file__).'/communityhome.tpl');
-       $a->page['right_aside'] = replace_macros($tpl, $aside);
+       $tpl = get_markup_template('communityhome.tpl');
+
+       $includes = array(
+               '$field_select' => 'field_select.tpl',
+               '$field_input' => 'field_input.tpl',
+       );
+       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+       $a->page['right_aside'] = replace_macros($tpl, $includes + $aside);
 
  }
 
@@ -672,7 +680,7 @@ if ($color=="dark") $color_path = "/diabook-dark/";
        $a = get_app();
        $baseurl = $a->get_baseurl($ssl_state);
        $bottom['$baseurl'] = $baseurl;
-       $tpl = file_get_contents(dirname(__file__) . '/bottom.tpl');
+       $tpl = get_markup_template('bottom.tpl');
        $a->page['footer'] = $a->page['footer'].replace_macros($tpl, $bottom);
  }
 
index ad024dfe998f033384abf3234db9768f800eae88..4bf2abb9b1f1352c20436a5b4fadb10bf4dea68e 100644 (file)
@@ -1,33 +1,33 @@
-{{inc field_select.tpl with $field=$color}}{{endinc}}
+{{inc $field_select with $field=$color}}{{endinc}}
 
-{{inc field_select.tpl with $field=$font_size}}{{endinc}}
+{{inc $field_select with $field=$font_size}}{{endinc}}
 
-{{inc field_select.tpl with $field=$line_height}}{{endinc}}
+{{inc $field_select with $field=$line_height}}{{endinc}}
 
-{{inc field_select.tpl with $field=$resolution}}{{endinc}}
+{{inc $field_select with $field=$resolution}}{{endinc}}
 
 <div class="settings-submit-wrapper">
        <input type="submit" value="$submit" class="settings-submit" name="diabook-settings-submit" />
 </div>
 <br>
 <h3>Show/hide boxes at right-hand column</h3>
-{{inc field_select.tpl with $field=$close_pages}}{{endinc}}
-{{inc field_select.tpl with $field=$close_profiles}}{{endinc}}
-{{inc field_select.tpl with $field=$close_helpers}}{{endinc}}
-{{inc field_select.tpl with $field=$close_services}}{{endinc}}
-{{inc field_select.tpl with $field=$close_friends}}{{endinc}}
-{{inc field_select.tpl with $field=$close_lastusers}}{{endinc}}
-{{inc field_select.tpl with $field=$close_lastphotos}}{{endinc}}
-{{inc field_select.tpl with $field=$close_lastlikes}}{{endinc}}
-{{inc field_select.tpl with $field=$close_twitter}}{{endinc}}
-{{inc field_input.tpl with $field=$TSearchTerm}}{{endinc}}
-{{inc field_select.tpl with $field=$close_mapquery}}{{endinc}}
-
-{{inc field_input.tpl with $field=$ELPosX}}{{endinc}}
-
-{{inc field_input.tpl with $field=$ELPosY}}{{endinc}}
-
-{{inc field_input.tpl with $field=$ELZoom}}{{endinc}}
+{{inc $field_select with $field=$close_pages}}{{endinc}}
+{{inc $field_select with $field=$close_profiles}}{{endinc}}
+{{inc $field_select with $field=$close_helpers}}{{endinc}}
+{{inc $field_select with $field=$close_services}}{{endinc}}
+{{inc $field_select with $field=$close_friends}}{{endinc}}
+{{inc $field_select with $field=$close_lastusers}}{{endinc}}
+{{inc $field_select with $field=$close_lastphotos}}{{endinc}}
+{{inc $field_select with $field=$close_lastlikes}}{{endinc}}
+{{inc $field_select with $field=$close_twitter}}{{endinc}}
+{{inc $field_input with $field=$TSearchTerm}}{{endinc}}
+{{inc $field_select with $field=$close_mapquery}}{{endinc}}
+
+{{inc $field_input with $field=$ELPosX}}{{endinc}}
+
+{{inc $field_input with $field=$ELPosY}}{{endinc}}
+
+{{inc $field_input with $field=$ELZoom}}{{endinc}}
 
 <div class="settings-submit-wrapper">
        <input type="submit" value="$submit" class="settings-submit" name="diabook-settings-submit" />
index 95d30602d5f87908a68f91de000e27efd0aba017..c4c0ac35fefeb4bcc76ae9289f0653c38b217379 100644 (file)
@@ -67,7 +67,9 @@
                        
                        {{ if $item.vote }}
                                <a href="#" id="like-$item.id" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false">$item.vote.like.1</a>
+                               {{ if $item.vote.dislike }}
                                <a href="#" id="dislike-$item.id" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
+                               {{ endif }}
                        {{ endif }}
                                                
                        {{ if $item.vote.share }}
                        {{ if $item.star }}
                                <a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle">
                                <img src="images/star_dummy.png" class="icon star" alt="$item.star.do" /> </a>
-                               <a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>                                   
+                       {{ endif }}
+
+                       {{ if $item.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 }}
 {{ endif }}
 
 
-{{ for $item.children as $item }}
-       {{ inc $item.template }}{{ endinc }}
+{{ for $item.children as $child_item }}
+       {{ inc $child_item.template with $item=$child_item }}{{ endinc }}
 {{ endfor }}
 
 </div>
index 25663c10baf348fb255ecca436c789a8574e0e0c..f2fe11b3d2932331351059c86e235ad2abbd83b0 100644 (file)
@@ -65,8 +65,15 @@ function dispy_form(&$a, $font_size, $line_height, $colour) {
                'dark' => 'dark',                                               
        );
 
-       $t = file_get_contents( dirname(__file__). "/theme_settings.tpl" );
-       $o .= replace_macros($t, array(
+       //$t = file_get_contents( dirname(__file__). "/theme_settings.tpl" );
+       $t = get_markup_template("theme_settings.tpl" );
+
+       $includes = array(
+               '$field_select' => 'field_select.tpl',
+       );
+       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+       $o .= replace_macros($t, $includes + array(
                '$submit' => t('Submit'),
                '$baseurl' => $a->get_baseurl(),
                '$title' => t("Theme settings"),
index f73a127659bfceafd07bcbdb159e7efb055be5f6..bae9db41ee7bcbc2b450e6c27aa3bfc37c8206d6 100644 (file)
@@ -13,6 +13,7 @@ $a->theme_info = array(
     'family' => 'dispy',
     'name' => 'dark',
 );
+$a->theme['template_engine'] = 'smarty3';
 
 function dispy_dark_init(&$a) {
     /** @purpose set some theme defaults
index 94a699b703f072d238c95e57a538eefbc6c581cf..806f30624d4147e26331236330aab35199ebfcb8 100644 (file)
@@ -13,6 +13,7 @@ $a->theme_info = array(
     'family' => 'dispy',
        'name' => 'light',
 );
+$a->theme['template_engine'] = 'smarty3';
 
 function dispy_light_init(&$a) {
 
index cf0054a675ee85a5aded3174318e66f4dcb867cc..ac19ad935b8f74acf448a71c9d34788535a480e1 100644 (file)
@@ -67,7 +67,7 @@
     target="external-link">$profile.homepage</a></span>
     </div>{{ endif }}
 
-       {{ inc diaspora_vcard.tpl }}{{ endinc }}
+       {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
        
        <div id="profile-extra-links">
                <ul>
diff --git a/view/theme/dispy/smarty3/bottom.tpl b/view/theme/dispy/smarty3/bottom.tpl
new file mode 100644 (file)
index 0000000..984ffd0
--- /dev/null
@@ -0,0 +1,71 @@
+<script type="text/javascript" src="{{$baseurl}}/view/theme/dispy/js/jquery.autogrow.textarea.js"></script>
+<script type="text/javascript">
+$(document).ready(function() {
+
+});
+function tautogrow(id) {
+       $("textarea#comment-edit-text-" + id).autogrow();
+};
+
+function insertFormatting(comment, BBcode, id) {
+       var tmpStr = $("#comment-edit-text-" + id).val();
+       if(tmpStr == comment) {
+               tmpStr = "";
+               $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
+               $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
+               openMenu("comment-edit-submit-wrapper-" + id);
+       }
+       textarea = document.getElementById("comment-edit-text-" + id);
+       if (document.selection) {
+               textarea.focus();
+               selected = document.selection.createRange();
+               if (BBcode == "url") {
+                       selected.text = "["+BBcode+"]" + "http://" +  selected.text + "[/"+BBcode+"]";
+               } else {
+                       selected.text = "["+BBcode+"]" + selected.text + "[/"+BBcode+"]";
+               }
+       } else if (textarea.selectionStart || textarea.selectionStart == "0") {
+               var start = textarea.selectionStart;
+               var end = textarea.selectionEnd;
+               if (BBcode == "url") {
+                       textarea.value = textarea.value.substring(0, start) + "["+BBcode+"]"
+                       + "http://" + textarea.value.substring(start, end)
+                       + "[/"+BBcode+"]" + textarea.value.substring(end, textarea.value.length);
+               } else {
+                       textarea.value = textarea.value.substring(0, start)
+                       + "["+BBcode+"]" + textarea.value.substring(start, end) + "[/"+BBcode+"]"
+                       + textarea.value.substring(end, textarea.value.length);
+               }
+       }
+       return true;
+}
+
+function cmtBbOpen(id) {
+       $(".comment-edit-bb-" + id).show();
+}
+function cmtBbClose(id) {
+    $(".comment-edit-bb-" + id).hide();
+}
+
+var doctitle = document.title;
+function checkNotify() {
+       if(document.getElementById("notify-update").innerHTML != "") {
+               document.title = "("+document.getElementById("notify-update").innerHTML+") " + doctitle;
+       } else {
+               document.title = doctitle;
+    };
+    setInterval(function () {checkNotify();}, 10 * 1000);
+}
+
+$(document).ready(function(){
+var doctitle = document.title;
+function checkNotify() {
+if(document.getElementById("notify-update").innerHTML != "")
+document.title = "("+document.getElementById("notify-update").innerHTML+") " + doctitle;
+else
+document.title = doctitle;
+};
+setInterval(function () {checkNotify();}, 10 * 1000);
+})
+
+</script>
diff --git a/view/theme/dispy/smarty3/comment_item.tpl b/view/theme/dispy/smarty3/comment_item.tpl
new file mode 100644 (file)
index 0000000..e506ebb
--- /dev/null
@@ -0,0 +1,70 @@
+               <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" />
+                               <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-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>
+                               <ul class="comment-edit-bb-{{$id}}">
+                                       <li><a class="editicon boldbb shadow"
+                                               style="cursor: pointer;"
+                                               onclick="insertFormatting('{{$comment}}','b', {{$id}});"></a></li>
+                                       <li><a class="editicon italicbb shadow"
+                                               style="cursor: pointer;"
+                                               onclick="insertFormatting('{{$comment}}','i', {{$id}});"></a></li>
+                                       <li><a class="editicon underlinebb shadow"
+                                               style="cursor: pointer;"
+                                               onclick="insertFormatting('{{$comment}}','u', {{$id}});"></a></li>
+                                       <li><a class="editicon quotebb shadow"
+                                               style="cursor: pointer;"
+                                               onclick="insertFormatting('{{$comment}}','quote', {{$id}});"></a></li>
+                                       <li><a class="editicon codebb shadow"
+                                               style="cursor: pointer;"
+                                               onclick="insertFormatting('{{$comment}}','code', {{$id}});"></a></li>
+                                       <li><a class="editicon imagebb shadow"
+                                               style="cursor: pointer;"
+                                               onclick="insertFormatting('{{$comment}}','img', {{$id}});"></a></li>
+                                       <li><a class="editicon urlbb shadow"
+                                               style="cursor: pointer;"
+                                               onclick="insertFormatting('{{$comment}}','url', {{$id}});"></a></li>
+                                       <li><a class="editicon videobb shadow"
+                                               style="cursor: pointer;"
+                                               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}});tautogrow({{$id}});cmtBbOpen({{$id}});"
+                                       onblur="commentClose(this,{{$id}});"
+                                       placeholder="Comment">{{$comment}}</textarea>
+                               {{if $qcomment}}
+                <div class="qcomment-wrapper">
+                                       <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>
+                               </div>
+                               {{/if}}
+
+                               <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/dispy/smarty3/communityhome.tpl b/view/theme/dispy/smarty3/communityhome.tpl
new file mode 100644 (file)
index 0000000..abc2d0e
--- /dev/null
@@ -0,0 +1,35 @@
+{{if $page}}
+<div>{{$page}}</div>
+{{/if}}
+
+<h3 id="extra-help-header">Help or '@NewHere'?</h3>
+<div id="extra-help">
+<a href="https://helpers.pyxis.uberspace.de/profile/helpers"
+       title="Friendica Support" target="_blank">Friendica Support</a><br />
+<a href="https://letstalk.pyxis.uberspace.de/profile/letstalk"
+       title="Let's talk" target="_blank">Let's talk</a><br />
+<a href="http://newzot.hydra.uberspace.de/profile/newzot"
+       title="Local Friendica" target="_blank">Local Friendica</a><br />
+<a href="http://kakste.com/profile/newhere" title="@NewHere" target="_blank">NewHere</a>
+</div>
+
+<h3 id="connect-services-header">Connectable Services</h3>
+<ul id="connect-services">
+<li><a href="{{$url}}/facebook"><img alt="Facebook"
+       src="view/theme/dispy/icons/facebook.png" title="Facebook" /></a></li>
+<li><a href="{{$url}}/settings/connectors"><img
+       alt="StatusNet" src="view/theme/dispy/icons/StatusNet.png" title="StatusNet" /></a></li>
+<li><a href="{{$url}}/settings/connectors"><img
+       alt="LiveJournal" src="view/theme/dispy/icons/livejournal.png" title="LiveJournal" /></a></li>
+<li><a href="{{$url}}/settings/connectors"><img
+       alt="Posterous" src="view/theme/dispy/icons/posterous.png" title="Posterous" /></a></li>
+<li><a href="{{$url}}/settings/connectors"><img
+       alt="Tumblr" src="view/theme/dispy/icons/tumblr.png" title="Tumblr" /></a></li>
+<li><a href="{{$url}}/settings/connectors"><img
+       alt="Twitter" src="view/theme/dispy/icons/twitter.png" title="Twitter" /></a></li>
+<li><a href="{{$url}}/settings/connectors"><img
+       alt="WordPress" src="view/theme/dispy/icons/wordpress.png" title="WordPress" /></a></li>
+<li><a href="{{$url}}/settings/connectors"><img
+       alt="E-Mail" src="view/theme/dispy/icons/email.png" title="E-Mail" /></a></li>
+</ul>
+
diff --git a/view/theme/dispy/smarty3/contact_template.tpl b/view/theme/dispy/smarty3/contact_template.tpl
new file mode 100644 (file)
index 0000000..a25f210
--- /dev/null
@@ -0,0 +1,30 @@
+
+<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}}); openMenu('contact-photo-menu-button-{{$contact.id}}')" 
+               onmouseout="t{{$contact.id}}=setTimeout('closeMenu(\'contact-photo-menu-button-{{$contact.id}}\'); 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>
+
+                       {{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>
+                        {{$contact.photo_menu}}
+                    </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>
+{{if $contact.alt_text}}<div class="contact-entry-details" id="contact-entry-rel-{{$contact.id}}" >{{$contact.alt_text}}</div>{{/if}}
+       <div class="contact-entry-details" id="contact-entry-url-{{$contact.id}}" >
+               <a href="{{$contact.itemurl}}" title="{{$contact.itemurl}}">Profile URL</a></div>
+       <div class="contact-entry-details" id="contact-entry-network-{{$contact.id}}" >{{$contact.network}}</div>
+
+       <div class="contact-entry-end" ></div>
+</div>
+
diff --git a/view/theme/dispy/smarty3/conversation.tpl b/view/theme/dispy/smarty3/conversation.tpl
new file mode 100644 (file)
index 0000000..302f717
--- /dev/null
@@ -0,0 +1,29 @@
+{{$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="file:{{$item.template}}"}}
+               
+               
+       {{/foreach}}
+</div>
+{{/foreach}}
+
+<div id="conversation-end"></div>
+
+{{if $dropping}}
+<div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems(); return false;">
+  <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/dispy/smarty3/group_side.tpl b/view/theme/dispy/smarty3/group_side.tpl
new file mode 100644 (file)
index 0000000..14c11fe
--- /dev/null
@@ -0,0 +1,29 @@
+<div id="group-sidebar" class="widget">
+<h3 class="label">{{$title}}</h3>
+
+<div id="sidebar-group-list">
+       <ul id="sidebar-group-ul">
+               {{foreach $groups as $group}}
+                       <li class="sidebar-group-li">
+                               <a href="{{$group.href}}" class="sidebar-group-element {{if $group.selected}}group-selected{{else}}group-other{{/if}}">{{$group.text}}</a>
+                               {{if $group.edit}}
+                                       <a class="groupsideedit"
+                        href="{{$group.edit.href}}" title="{{$group.edit.title}}"><span class="icon small-pencil"></span></a>
+                               {{/if}}
+                               {{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}}
+                       </li>
+               {{/foreach}}
+       </ul>
+       </div>
+  <div id="sidebar-new-group">
+  <a href="group/new" title="{{$createtext}}"><span class="action text add">{{$createtext}}</span></a>
+  </div>
+</div>
+
+
diff --git a/view/theme/dispy/smarty3/head.tpl b/view/theme/dispy/smarty3/head.tpl
new file mode 100644 (file)
index 0000000..4f5cdef
--- /dev/null
@@ -0,0 +1,100 @@
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+<meta charset="UTF-8" />
+<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" />
+
+<!--[if IE]>
+<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+<![endif]-->
+<script type="text/javascript" src="{{$baseurl}}/js/jquery.js"></script>
+<script type="text/javascript" src="{{$baseurl}}/js/jquery.textinputs.js"></script>
+<script type="text/javascript" src="{{$baseurl}}/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}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
+<script type="text/javascript" src="{{$baseurl}}/js/acl.js"></script>
+<script type="text/javascript" src="{{$baseurl}}/js/webtoolkit.base64.js"></script>
+<script type="text/javascript" src="{{$baseurl}}/js/main.js"></script>
+<!-- in dispy -->
+<script>
+       var updateInterval = {{$update_interval}};
+       var localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
+
+       function confirmDelete() { return confirm("{{$delitem}}"); }
+       function commentOpen(obj,id) {
+               if(obj.value == '{{$comment}}') {
+                       obj.value = '';
+                       $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
+                       $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
+                       $("#mod-cmnt-wrap-" + id).show();
+                       openMenu("comment-edit-submit-wrapper-" + id);
+               }
+       }
+       function commentClose(obj,id) {
+               if(obj.value == '') {
+                       obj.value = '{{$comment}}';
+                       $("#comment-edit-text-" + id).removeClass("comment-edit-text-full");
+                       $("#comment-edit-text-" + id).addClass("comment-edit-text-empty");
+                       $("#mod-cmnt-wrap-" + id).hide();
+                       closeMenu("comment-edit-submit-wrapper-" + id);
+               }
+       }
+
+
+       function commentInsert(obj,id) {
+               var tmpStr = $("#comment-edit-text-" + id).val();
+               if(tmpStr == '{{$comment}}') {
+                       tmpStr = '';
+                       $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
+                       $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
+                       openMenu("comment-edit-submit-wrapper-" + id);
+               }
+               var ins = $(obj).html();
+               ins = ins.replace('&lt;','<');
+               ins = ins.replace('&gt;','>');
+               ins = ins.replace('&amp;','&');
+               ins = ins.replace('&quot;','"');
+               $("#comment-edit-text-" + id).val(tmpStr + ins);
+       }
+
+       function qCommentInsert(obj,id) {
+               var tmpStr = $("#comment-edit-text-" + id).val();
+               if(tmpStr == '{{$comment}}') {
+                       tmpStr = '';
+                       $("#comment-edit-text-" + id).addClass("comment-edit-text-full");
+                       $("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
+                       openMenu("comment-edit-submit-wrapper-" + id);
+               }
+               var ins = $(obj).val();
+               ins = ins.replace('&lt;','<');
+               ins = ins.replace('&gt;','>');
+               ins = ins.replace('&amp;','&');
+               ins = ins.replace('&quot;','"');
+               $("#comment-edit-text-" + id).val(tmpStr + ins);
+               $(obj).val('');
+       }
+
+       window.showMore = "{{$showmore}}";
+       window.showFewer = "{{$showfewer}}";
+
+       function showHideCommentBox(id) {
+               if( $('#comment-edit-form-' + id).is(':visible')) {
+                       $('#comment-edit-form-' + id).hide();
+               }
+               else {
+                       $('#comment-edit-form-' + id).show();
+               }
+       }
+
+
+</script>
diff --git a/view/theme/dispy/smarty3/header.tpl b/view/theme/dispy/smarty3/header.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/theme/dispy/smarty3/jot-header.tpl b/view/theme/dispy/smarty3/jot-header.tpl
new file mode 100644 (file)
index 0000000..a663327
--- /dev/null
@@ -0,0 +1,345 @@
+<script type="text/javascript">
+var editor=false;
+var textlen = 0;
+var plaintext = '{{$editselect}}';
+
+function initEditor(cb) {
+       if (editor==false) {
+               $("#profile-jot-text-loading").show();
+               if(plaintext == 'none') {
+                       $("#profile-jot-text-loading").hide();
+                       $("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
+                       $("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
+                       editor = true;
+                       $("a#jot-perms-icon").fancybox({
+                               'transitionIn' : 'elastic',
+                               'transitionOut' : 'elastic'
+                       });
+                       $(".jothidden").show();
+                       if (typeof cb!="undefined") cb();
+                       return;
+               }
+               tinyMCE.init({
+                       theme : "advanced",
+                       mode : "specific_textareas",
+                       editor_selector: {{$editselect}},
+                       auto_focus: "profile-jot-text",
+                       plugins : "bbcode,paste,fullscreen,autoresize,inlinepopups,contextmenu,style",
+                       theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code,fullscreen,charmap",
+                       theme_advanced_buttons2 : "",
+                       theme_advanced_buttons3 : "",
+                       theme_advanced_toolbar_location : "top",
+                       theme_advanced_toolbar_align : "center",
+                       theme_advanced_blockformats : "blockquote,code",
+                       gecko_spellcheck : true,
+                       paste_text_sticky : true,
+                       entity_encoding : "raw",
+                       add_unload_trigger : false,
+                       remove_linebreaks : false,
+                       force_p_newlines : false,
+                       force_br_newlines : true,
+                       forced_root_block : '',
+                       convert_urls: false,
+                       content_css: "{{$baseurl}}/view/custom_tinymce.css",
+                       theme_advanced_path : false,
+                       file_browser_callback : "fcFileBrowser",
+                       setup : function(ed) {
+                               cPopup = null;
+                               ed.onKeyDown.add(function(ed,e) {
+                                       if(cPopup !== null)
+                                               cPopup.onkey(e);
+                               });
+
+                               ed.onKeyUp.add(function(ed, e) {
+                                       var txt = tinyMCE.activeEditor.getContent();
+                                       match = txt.match(/@([^ \n]+)$/);
+                                       if(match!==null) {
+                                               if(cPopup === null) {
+                                                       cPopup = new ACPopup(this,baseurl+"/acl");
+                                               }
+                                               if(cPopup.ready && match[1]!==cPopup.searchText) cPopup.search(match[1]);
+                                               if(! cPopup.ready) cPopup = null;
+                                       }
+                                       else {
+                                               if(cPopup !== null) { cPopup.close(); cPopup = null; }
+                                       }
+
+                                       textlen = txt.length;
+                                       if(textlen != 0 && $('#jot-perms-icon').is('.unlock')) {
+                                               $('#profile-jot-desc').html(ispublic);
+                                       }
+                                       else {
+                                               $('#profile-jot-desc').html('&#160;');
+                                       }        
+
+                                //Character count
+
+                                       if(textlen <= 140) {
+                                               $('#character-counter').removeClass('red');
+                                               $('#character-counter').removeClass('orange');
+                                               $('#character-counter').addClass('grey');
+                                       }
+                                       if((textlen > 140) && (textlen <= 420)) {
+                                               $('#character-counter').removeClass('grey');
+                                               $('#character-counter').removeClass('red');
+                                               $('#character-counter').addClass('orange');
+                                       }
+                                       if(textlen > 420) {
+                                               $('#character-counter').removeClass('grey');
+                                               $('#character-counter').removeClass('orange');
+                                               $('#character-counter').addClass('red');
+                                       }
+                                       $('#character-counter').text(textlen);
+                               });
+
+                               ed.onInit.add(function(ed) {
+                                       ed.pasteAsPlainText = true;
+                                       $("#profile-jot-text-loading").hide();
+                                       $(".jothidden").show();
+                                       if (typeof cb!="undefined") cb();
+                               });
+                       }
+               });
+               editor = true;
+               // setup acl popup
+               $("a#jot-perms-icon").fancybox({
+                       'transitionIn' : 'elastic',
+                       'transitionOut' : 'elastic'
+               }); 
+       } else {
+               if (typeof cb!="undefined") cb();
+       }
+}
+
+function enableOnUser(){
+       if (editor) return;
+       $(this).val("");
+       initEditor();
+}
+
+</script>
+<script type="text/javascript" src="{{$baseurl}}/js/ajaxupload.js"></script>
+<script type="text/javascript">
+       var ispublic = '{{$ispublic}}';
+       var addtitle = '{{$addtitle}}';
+
+       $(document).ready(function() {
+               
+               /* enable tinymce on focus and click */
+               $("#profile-jot-text").focus(enableOnUser);
+               $("#profile-jot-text").click(enableOnUser);
+               /* enable character counter */
+               $("#profile-jot-text").focus(charCounter);
+               $("#profile-jot-text").click(charCounter);
+
+               var uploader = new window.AjaxUpload(
+                       'wall-image-upload',
+                       { action: 'wall_upload/{{$nickname}}',
+                               name: 'userfile',
+                               onSubmit: function(file,ext) { $('#profile-rotator').show(); },
+                               onComplete: function(file,response) {
+                                       addeditortext(response);
+                                       $('#profile-rotator').hide();
+                               }                                
+                       }
+               );
+               var file_uploader = new window.AjaxUpload(
+                       'wall-file-upload',
+                       { action: 'wall_attach/{{$nickname}}',
+                               name: 'userfile',
+                               onSubmit: function(file,ext) { $('#profile-rotator').show(); },
+                               onComplete: function(file,response) {
+                                       addeditortext(response);
+                                       $('#profile-rotator').hide();
+                               }                                
+                       }
+               );
+       });
+
+       function deleteCheckedItems() {
+               var checkedstr = '';
+
+               $('.item-select').each( function() {
+                       if($(this).is(':checked')) {
+                               if(checkedstr.length != 0) {
+                                       checkedstr = checkedstr + ',' + $(this).val();
+                               }
+                               else {
+                                       checkedstr = $(this).val();
+                               }
+                       }       
+               });
+               $.post('item', { dropitems: checkedstr }, function(data) {
+                       window.location.reload();
+               });
+       }
+
+       function jotGetLink() {
+               reply = prompt("{{$linkurl}}");
+               if(reply && reply.length) {
+                       reply = bin2hex(reply);
+                       $('#profile-rotator').show();
+                       $.get('parse_url?binurl=' + reply, function(data) {
+                               addeditortext(data);
+                               $('#profile-rotator').hide();
+                       });
+               }
+       }
+
+       function jotVideoURL() {
+               reply = prompt("{{$vidurl}}");
+               if(reply && reply.length) {
+                       addeditortext('[video]' + reply + '[/video]');
+               }
+       }
+
+       function jotAudioURL() {
+               reply = prompt("{{$audurl}}");
+               if(reply && reply.length) {
+                       addeditortext('[audio]' + reply + '[/audio]');
+               }
+       }
+
+
+       function jotGetLocation() {
+               reply = prompt("{{$whereareu}}", $('#jot-location').val());
+               if(reply && reply.length) {
+                       $('#jot-location').val(reply);
+               }
+       }
+
+       function jotShare(id) {
+               if ($('#jot-popup').length != 0) $('#jot-popup').show();
+
+               $('#like-rotator-' + id).show();
+               $.get('share/' + id, function(data) {
+                       if (!editor) $("#profile-jot-text").val("");
+                       initEditor(function(){
+                               addeditortext(data);
+                               $('#like-rotator-' + id).hide();
+                               $(window).scrollTop(0);
+                       });
+
+               });
+       }
+
+       function linkdropper(event) {
+               var linkFound = event.dataTransfer.types.contains("text/uri-list");
+               if(linkFound)
+                       event.preventDefault();
+       }
+
+       function linkdrop(event) {
+               var reply = event.dataTransfer.getData("text/uri-list");
+               event.target.textContent = reply;
+               event.preventDefault();
+               if(reply && reply.length) {
+                       reply = bin2hex(reply);
+                       $('#profile-rotator').show();
+                       $.get('parse_url?binurl=' + reply, function(data) {
+                               if (!editor) $("#profile-jot-text").val("");
+                               initEditor(function(){
+                                       addeditortext(data);
+                                       $('#profile-rotator').hide();
+                               });
+                       });
+               }
+       }
+
+       function itemTag(id) {
+               reply = prompt("{{$term}}");
+               if(reply && reply.length) {
+                       reply = reply.replace('#','');
+                       if(reply.length) {
+
+                               commentBusy = true;
+                               $('body').css('cursor', 'wait');
+
+                               $.get('tagger/' + id + '?term=' + reply);
+                               if(timer) clearTimeout(timer);
+                               timer = setTimeout(NavUpdate,3000);
+                               liking = 1;
+                       }
+               }
+       }
+
+       function itemFiler(id) {
+               
+               var bordercolor = $("input").css("border-color");
+               
+               $.get('filer/', function(data){
+                       $.fancybox(data);
+                       $("#id_term").keypress(function(){
+                               $(this).css("border-color",bordercolor);
+                       })
+                       $("#select_term").change(function(){
+                               $("#id_term").css("border-color",bordercolor);
+                       })
+                       
+                       $("#filer_save").click(function(e){
+                               e.preventDefault();
+                               reply = $("#id_term").val();
+                               if(reply && reply.length) {
+                                       commentBusy = true;
+                                       $('body').css('cursor', 'wait');
+                                       $.get('filer/' + id + '?term=' + reply);
+                                       if(timer) clearTimeout(timer);
+                                       timer = setTimeout(NavUpdate,3000);
+                                       liking = 1;
+                                       $.fancybox.close();
+                               } else {
+                                       $("#id_term").css("border-color","#FF0000");
+                               }
+                               return false;
+                       });
+               });
+               
+       }
+
+       function jotClearLocation() {
+               $('#jot-coord').val('');
+               $('#profile-nolocation-wrapper').hide();
+       }
+
+       function addeditortext(data) {
+               if(plaintext == 'none') {
+                       var currentText = $("#profile-jot-text").val();
+                       $("#profile-jot-text").val(currentText + data);
+               }
+               else
+                       tinyMCE.execCommand('mceInsertRawHTML',false,data);
+       }       
+
+       {{$geotag}}
+
+       function charCounter() {
+               // character count part deux
+               //$(this).val().length is not a function Line 282(3)
+               $('#profile-jot-text').keyup(function() {
+                       var textlen = 0;
+                       var maxLen1 = 140;
+                       var maxLen2 = 420;
+
+                       $('#character-counter').removeClass('jothidden');
+
+                       textLen = $(this).val().length;
+                       if(textLen <= maxLen1) {
+                               $('#character-counter').removeClass('red');
+                               $('#character-counter').removeClass('orange');
+                               $('#character-counter').addClass('grey');
+                       }
+                       if((textLen > maxLen1) && (textlen <= maxLen2)) {
+                               $('#character-counter').removeClass('grey');
+                               $('#character-counter').removeClass('red');
+                               $('#character-counter').addClass('orange');
+                       }
+                       if(textLen > maxLen2) {
+                               $('#character-counter').removeClass('grey');
+                               $('#character-counter').removeClass('orange');
+                               $('#character-counter').addClass('red');
+                       }
+                       $('#character-counter').text( textLen );
+               });
+               $('#profile-jot-text').keyup();
+       }
+</script>
diff --git a/view/theme/dispy/smarty3/jot.tpl b/view/theme/dispy/smarty3/jot.tpl
new file mode 100644 (file)
index 0000000..b57f94c
--- /dev/null
@@ -0,0 +1,79 @@
+<form id="profile-jot-form" action="{{$action}}" method="post">
+       <div id="jot">
+               <div id="profile-jot-desc" class="jothidden">&#160;</div>
+
+               <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="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" style="display:none" /></div>
+               <div id="character-counter" class="grey jothidden"></div>
+               {{if $placeholdercategory}}
+               <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" /></div>
+               {{/if}}
+               <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body">{{if $content}}{{$content}}{{else}}{{$share}}{{/if}}
+               </textarea>
+
+<div id="profile-jot-submit-wrapper" class="jothidden">
+<div id="jot-tools" class="jothidden" style="display:none">
+       <div id="profile-jot-submit-wrapper" class="jothidden">
+
+       <div id="profile-upload-wrapper" style="display: {{$visitor}};">
+               <div id="wall-image-upload-div"><a 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"><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" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;" title="{{$weblink}}"></a>
+       </div>
+       <div id="profile-video-wrapper" style="display: {{$visitor}};">
+               <a id="profile-video" class="icon video" onclick="jotVideoURL();return false;" title="{{$video}}"></a>
+       </div>
+       <div id="profile-audio-wrapper" style="display: {{$visitor}};">
+               <a id="profile-audio" class="icon audio" onclick="jotAudioURL();return false;" title="{{$audio}}"></a>
+       </div>
+       <div id="profile-location-wrapper" style="display: {{$visitor}};">
+               <a id="profile-location" class="icon globe" onclick="jotGetLocation();return false;" title="{{$setloc}}"></a>
+       </div>
+       <div id="profile-nolocation-wrapper" style="display: none;">
+               <a id="profile-nolocation" class="icon noglobe" onclick="jotClearLocation();return false;" title="{{$noloc}}"></a>
+       </div>
+
+       <div id="profile-jot-plugin-wrapper">
+       {{$jotplugins}}
+       </div>
+
+       <a class="icon-text-preview pointer"></a><a id="jot-preview-link" class="pointer" onclick="preview_post(); return false;" title="{{$preview}}">{{$preview}}</a>
+       <input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" />
+       <div id="profile-jot-perms" class="profile-jot-perms">
+               <a id="jot-perms-icon" href="#profile-jot-acl-wrapper" class="icon {{$lockstate}} {{$bang}}" title="{{$permset}}"></a>
+       </div>
+       <span id="profile-rotator" class="loading" style="display: none"><img src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" /></span>
+       </div>
+
+       </div> <!-- /#profile-jot-submit-wrapper -->
+</div> <!-- /#jot-tools -->
+       
+       <div id="jot-preview-content" style="display:none;"></div>
+
+       <div style="display: none;">
+               <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
+                       {{$acl}}
+                       <hr style="clear:both" />
+                       <div id="profile-jot-email-label">{{$emailcc}}</div><input type="text" name="emailcc" id="profile-jot-email" title="{{$emtitle}}" />
+                       <div id="profile-jot-email-end"></div>
+                       {{$jotnets}}
+               </div>
+       </div>
+</div>
+
+<div id="profile-jot-end"></div>
+</form>
+</div>
+               {{if $content}}<script>initEditor();</script>{{/if}}
diff --git a/view/theme/dispy/smarty3/lang_selector.tpl b/view/theme/dispy/smarty3/lang_selector.tpl
new file mode 100644 (file)
index 0000000..945cbf5
--- /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();" >
+                       {{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/dispy/smarty3/mail_head.tpl b/view/theme/dispy/smarty3/mail_head.tpl
new file mode 100644 (file)
index 0000000..c362eb6
--- /dev/null
@@ -0,0 +1,5 @@
+<h3>{{$messages}}</h3>
+
+<div class="tabs-wrapper">
+{{$tab_content}}
+</div>
diff --git a/view/theme/dispy/smarty3/nav.tpl b/view/theme/dispy/smarty3/nav.tpl
new file mode 100644 (file)
index 0000000..51c1fa3
--- /dev/null
@@ -0,0 +1,145 @@
+<nav id="pagenav">
+
+<div id="banner">{{$banner}}</div>
+<div id="site-location">{{$sitelocation}}</div>
+
+<a name="top" id="top"></a>
+<div id="nav-floater">
+    <ul id="nav-buttons">
+    {{if $nav.login}}
+    <li><a id="nav-login-link" class="nav-login-link {{$nav.login.2}}"
+            href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a></li>
+    {{/if}}
+    {{if $nav.home}}
+    <li><a id="nav-home-link" class="nav-link {{$nav.home.2}}"
+            href="{{$nav.home.0}}" title="{{$nav.home.1}}">{{$nav.home.1}}</a></li>
+    {{/if}}
+    {{if $nav.network}}
+    <li><a id="nav-network-link" class="nav-link {{$nav.network.2}}"
+            href="{{$nav.network.0}}" title="{{$nav.network.1}}">{{$nav.network.1}}</a></li>
+    {{/if}}
+    {{if $nav.notifications}}
+    <li><a id="nav-notifications-linkmenu" class="nav-link {{$nav.notifications.2}}"
+            href="{{$nav.notifications.0}}"
+            rel="#nav-notifications-menu" title="{{$nav.notifications.1}}">{{$nav.notifications.1}}</a></li>
+        <ul id="nav-notifications-menu" class="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>
+    {{/if}}
+    {{if $nav.messages}}
+    <li><a id="nav-messages-link" class="nav-link {{$nav.messages.2}}"
+            href="{{$nav.messages.0}}" title="{{$nav.messages.1}}">{{$nav.messages.1}}</a></li>
+    {{/if}}
+    {{if $nav.community}}
+    <li><a id="nav-community-link" class="nav-link {{$nav.community.2}}"
+            href="{{$nav.community.0}}" title="{{$nav.community.1}}">{{$nav.community.1}}</a></li>
+    {{/if}}
+    <li><a id="nav-directory-link" class="nav-link {{$nav.directory.2}}"
+            href="{{$nav.directory.0}}" title="{{$nav.directory.1}}">{{$nav.directory.1}}</a></li>
+    <li><a id="nav-search-link" class="nav-link {{$nav.search.2}}"
+            href="{{$nav.search.0}}" title="{{$nav.search.1}}">{{$nav.search.1}}</a></li>
+    {{if $nav.apps}}
+    <li><a id="nav-apps-link" class="nav-link {{$nav.apps.2}}"
+        href="{{$nav.apps.0}}" title="{{$nav.apps.1}}">{{$nav.apps.1}}</a></li>
+    {{/if}}
+    </ul>
+
+    <div id="user-menu">
+        <a id="user-menu-label" onclick="openClose('user-menu-popup'); return false;" href="{{$nav.home.0}}"><span class="">User Menu</span></a>
+        <ul id="user-menu-popup"
+            onmouseover="if (typeof tmenu != 'undefined') clearTimeout(tmenu); openMenu('user-menu-popup')"
+            onmouseout="tmenu=setTimeout('closeMenu(\'user-menu-popup\');',200)">
+
+        {{if $nav.register}}
+        <li>
+        <a id="nav-register-link" class="nav-commlink {{$nav.register.2}}" href="{{$nav.register.0}}" title="{{$nav.register.1}}"></a>
+        </li>
+        {{/if}}
+        {{if $nav.contacts}}
+        <li><a id="nav-contacts-link" class="nav-commlink {{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.1}}">{{$nav.contacts.1}}</a></li>
+        {{/if}}
+        {{if $nav.profiles}}
+        <li><a id="nav-profiles-link" class="nav-commlink {{$nav.profiles.2}}" href="{{$nav.profiles.0}}" title="{{$nav.profiles.1}}">{{$nav.profiles.1}}</a></li>
+        {{/if}}
+        {{if $nav.settings}}
+        <li><a id="nav-settings-link" class="nav-commlink {{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.1}}">{{$nav.settings.1}}</a></li>
+        {{/if}}
+        {{if $nav.login}}
+        <li><a id="nav-login-link" class="nav-commlink {{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.1}}">{{$nav.login.1}}</a></li>
+        {{/if}}
+        {{if $nav.logout}}
+        <li><a id="nav-logout-link" class="nav-commlink {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a></li>
+        {{/if}}
+        </ul>
+    </div>
+
+    <ul id="nav-buttons-2">
+    {{if $nav.introductions}}
+    <li><a id="nav-intro-link" class="nav-link {{$nav.introductions.2}} {{$sel.introductions}}" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}" >{{$nav.introductions.1}}</a></li>
+    {{/if}}
+    {{if $nav.admin}}
+    <li><a id="nav-admin-link" class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.1}}">{{$nav.admin.1}}</a></li>
+    {{/if}}
+    {{if $nav.manage}}
+    <li><a id="nav-manage-link" class="nav-link {{$nav.manage.2}}" href="{{$nav.manage.0}}" title="{{$nav.manage.1}}">{{$nav.manage.1}}</a></li>
+    {{/if}}
+    {{if $nav.help}}
+    <li><a id="nav-help-link" class="nav-link {{$nav.help.2}}"
+            href="{{$nav.help.0}}" title="{{$nav.help.1}}">{{$nav.help.1}}</a></li>
+    {{/if}}
+    </ul>
+
+{{if $userinfo}}
+        <ul id="nav-user-menu" class="menu-popup">
+            {{foreach $nav.usermenu as $usermenu}}
+                <li>
+                    <a class="{{$usermenu.2}}" href="{{$usermenu.0}}" title="{{$usermenu.3}}">{{$usermenu.1}}</a>
+                </li>
+            {{/foreach}}
+        </ul>
+{{/if}}
+
+    <div id="notifications">
+        {{if $nav.home}}
+        <a id="home-update" class="nav-ajax-left" href="{{$nav.home.0}}" title="{{$nav.home.1}}"></a>
+        {{/if}}
+        {{if $nav.network}}
+        <a id="net-update" class="nav-ajax-left" href="{{$nav.network.0}}" title="{{$nav.network.1}}"></a>
+        {{/if}}
+        {{if $nav.notifications}}
+        <a id="notify-update" class="nav-ajax-left" href="{{$nav.notifications.0}}" title="{{$nav.notifications.1}}"></a>
+        {{/if}}
+        {{if $nav.messages}}
+        <a id="mail-update" class="nav-ajax-left" href="{{$nav.messages.0}}" title="{{$nav.messages.1}}"></a>
+        {{/if}}
+        {{if $nav.introductions}}
+        <a id="intro-update" class="nav-ajax-left" href="{{$nav.introductions.0}}"></a>
+        {{/if}}
+    </div>
+</div>
+    <a href="#" class="floaterflip"></a>
+</nav>
+
+<div id="lang-sel-wrap">
+{{$langselector}}
+</div>
+
+<div id="scrollup">
+<a href="#top"><img src="view/theme/dispy/icons/scroll_top.png"
+    alt="back to top" title="Back to top" /></a>
+</div>
+
+<div class="search-box">
+    <form method="get" action="{{$nav.search.0}}">
+        <input id="mini-search-text" class="nav-menu-search" type="search" placeholder="Search" value="" id="search" name="search" />
+    </form>
+</div>
+
+<ul id="nav-notifications-template" style="display:none;" rel="template">
+    <li class="{4}">
+    <a href="{0}"><img src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a>
+    </li>
+</ul>
+
diff --git a/view/theme/dispy/smarty3/photo_edit.tpl b/view/theme/dispy/smarty3/photo_edit.tpl
new file mode 100644 (file)
index 0000000..16c9577
--- /dev/null
@@ -0,0 +1,53 @@
+
+<form action="photos/{{$nickname}}/{{$resource_id}}" method="post" id="photo_edit_form" >
+
+       <input type="hidden" name="item_id" value="{{$item_id}}" />
+
+       <label id="photo-edit-albumname-label" for="photo-edit-albumname">{{$newalbum}}</label>
+       <input id="photo-edit-albumname" type="text" name="albname" value="{{$album}}" />
+
+       <div id="photo-edit-albumname-end"></div>
+
+       <label id="photo-edit-caption-label" for="photo-edit-caption">{{$capt_label}}</label>
+       <input id="photo-edit-caption" type="text" name="desc" value="{{$caption}}" />
+
+       <div id="photo-edit-caption-end"></div>
+
+       <label id="photo-edit-tags-label" for="photo-edit-newtag" >{{$tag_label}}</label>
+       <input name="newtag" id="photo-edit-newtag" title="{{$help_tags}}" type="text" />
+
+       <div id="photo-edit-tags-end"></div>
+       <div id="photo-edit-rotate-wrapper">
+               <div id="photo-edit-rotate-label">{{$rotate}}</div>
+               <input type="checkbox" name="rotate" value="1" />
+       </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="button"
+                       title="{{$permissions}}"/><span id="jot-perms-icon"
+                       class="icon {{$lockstate}}" ></span>{{$permissions}}</a>
+               <div id="photo-edit-perms-menu-end"></div>
+
+               <div style="display: none;">
+                       <div id="photo-edit-perms-select" >
+                               {{$aclselect}}
+                       </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()"; />
+
+       <div id="photo-edit-end"></div>
+</form>
+
+<script type="text/javascript">
+       $("a#photo-edit-perms-menu").fancybox({
+               'transitionIn' : 'none',
+               'transitionOut' : 'none'
+       }); 
+</script>
diff --git a/view/theme/dispy/smarty3/photo_view.tpl b/view/theme/dispy/smarty3/photo_view.tpl
new file mode 100644 (file)
index 0000000..913cbb7
--- /dev/null
@@ -0,0 +1,36 @@
+<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>
+
+{{if $prevlink}}<div id="photo-prev-link"><a href="{{$prevlink.0}}">{{$prevlink.1}}</a></div>{{/if}}
+<div id="photo-photo"><a href="{{$photo.href}}" class="lightbox" title="{{$photo.title}}"><img src="{{$photo.src}}" /></a></div>
+{{if $nextlink}}<div id="photo-next-link"><a href="{{$nextlink.0}}">{{$nextlink.1}}</a></div>{{/if}}
+<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}}{{/if}}
+
+{{if $likebuttons}}
+<div id="photo-like-div">
+       {{$likebuttons}} {{$like}} {{$dislike}}
+</div>
+{{/if}}
+<div id="wall-photo-container">
+{{$comments}}
+</div>
+
+{{$paginate}}
+
diff --git a/view/theme/dispy/smarty3/profile_vcard.tpl b/view/theme/dispy/smarty3/profile_vcard.tpl
new file mode 100644 (file)
index 0000000..1334183
--- /dev/null
@@ -0,0 +1,82 @@
+<div class="vcard">
+
+       {{if $profile.edit}}
+       <div class="action">
+       <span class="icon-profile-edit" rel="#profiles-menu"></span>
+       <a href="#" rel="#profiles-menu" class="ttright" id="profiles-menu-trigger" title="{{$profile.edit.3}}">{{$profile.edit.1}}</a>
+       <ul id="profiles-menu" class="menu-popup">
+               {{foreach $profile.menu.entries as $e}}
+               <li>
+                       <a href="profiles/{{$e.id}}"><img src='{{$e.photo}}'>{{$e.profile_name}}</a>
+               </li>
+               {{/foreach}}
+               <li><a href="profile_photo">{{$profile.menu.chg_photo}}</a></li>
+               <li><a href="profiles/new" id="profile-listing-new-link">{{$profile.menu.cr_new}}</a></li>
+       </ul>
+       </div>
+       {{/if}}
+
+       <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}}
+               <div class="location">
+        <span class="location-label">{{$location}}</span>
+               <div 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}}
+               </div>
+               </div>
+       {{/if}}
+
+       {{if $gender}}
+    <div class="mf">
+        <span class="gender-label">{{$gender}}</span>
+        <span class="x-gender">{{$profile.gender}}</span>
+    </div>
+    {{/if}}
+       
+       {{if $profile.pubkey}}
+    <div class="key" style="display:none;">{{$profile.pubkey}}</div>
+    {{/if}}
+
+       {{if $marital}}
+    <div class="marital">
+    <span class="marital-label">
+    <span class="heart">&hearts;</span>{{$marital}}</span>
+    <span class="marital-text">{{$profile.marital}}</span>
+    </div>
+    {{/if}}
+
+       {{if $homepage}}
+    <div class="homepage">
+    <span class="homepage-label">{{$homepage}}</span>
+    <span class="homepage-url"><a href="{{$profile.homepage}}"
+    target="external-link">{{$profile.homepage}}</a></span>
+    </div>{{/if}}
+
+       {{include file="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+       
+       <div id="profile-extra-links">
+               <ul>
+                       {{if $connect}}
+                               <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
+                       {{/if}}
+               </ul>
+       </div>
+</div>
+
+{{$contact_block}}
+
diff --git a/view/theme/dispy/smarty3/saved_searches_aside.tpl b/view/theme/dispy/smarty3/saved_searches_aside.tpl
new file mode 100644 (file)
index 0000000..5771d79
--- /dev/null
@@ -0,0 +1,14 @@
+<div class="widget" id="saved-search-list">
+       <h3 id="search">{{$title}}</h3>
+       {{$searchbox}}
+       
+       <ul id="saved-search-ul">
+               {{foreach $saved as $search}}
+               <li class="saved-search-li clear">
+                       <a title="{{$search.delete}}" onclick="return confirmDelete();" onmouseout="imgdull(this);" onmouseover="imgbright(this);" id="drop-saved-search-term-{{$search.id}}" class="icon savedsearchdrop drophide" href="network/?f=&amp;remove=1&amp;search={{$search.encodedterm}}"></a>
+                       <a id="saved-search-term-{{$search.id}}" class="savedsearchterm" href="network/?f=&amp;search={{$search.encodedterm}}">{{$search.term}}</a>
+               </li>
+               {{/foreach}}
+       </ul>
+       <div class="clear"></div>
+</div>
diff --git a/view/theme/dispy/smarty3/search_item.tpl b/view/theme/dispy/smarty3/search_item.tpl
new file mode 100644 (file)
index 0000000..a78bbcf
--- /dev/null
@@ -0,0 +1,64 @@
+<div class="wall-item-outside-wrapper {{$item.indent}} {{$item.shiny}}{{$item.previewing}}" id="wall-item-outside-wrapper-{{$item.id}}" >
+       <div class="wall-item-content-wrapper {{$item.indent}} {{$item.shiny}}" id="wall-item-content-wrapper-{{$item.id}}" >
+               <div class="wall-item-info" id="wall-item-info-{{$item.id}}">
+                       <div class="wall-item-photo-wrapper" 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="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}}">{{$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}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{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}} <a href="{{$cat.removeurl}}" title="{{$remove}}">[{{$remove}}]</a> {{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}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" 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}} {{$item.shiny}}" ></div>
+
+</div>
+
+
diff --git a/view/theme/dispy/smarty3/theme_settings.tpl b/view/theme/dispy/smarty3/theme_settings.tpl
new file mode 100644 (file)
index 0000000..9fcf76b
--- /dev/null
@@ -0,0 +1,10 @@
+{{include file="field_select.tpl" field=$colour}}
+
+{{include file="field_select.tpl" field=$font_size}}
+
+{{include file="field_select.tpl" field=$line_height}}
+
+<div class="settings-submit-wrapper">
+       <input type="submit" value="{{$submit}}" class="settings-submit" name="dispy-settings-submit" />
+</div>
+
diff --git a/view/theme/dispy/smarty3/threaded_conversation.tpl b/view/theme/dispy/smarty3/threaded_conversation.tpl
new file mode 100644 (file)
index 0000000..367698b
--- /dev/null
@@ -0,0 +1,15 @@
+{{$live_update}}
+
+{{foreach $threads as $thread}}
+{{include file="file:{{$thread.template}}" item=$thread}}
+{{/foreach}}
+
+<div id="conversation-end"></div>
+
+{{if $dropping}}
+<div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems(); return false;">
+  <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/dispy/smarty3/wall_thread.tpl b/view/theme/dispy/smarty3/wall_thread.tpl
new file mode 100644 (file)
index 0000000..9f418b6
--- /dev/null
@@ -0,0 +1,139 @@
+{{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-outside-wrapper {{$item.indent}} {{$item.shiny}}{{$item.previewing}}{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-outside-wrapper-{{$item.id}}" >
+       <div class="wall-item-content-wrapper {{$item.indent}} {{$item.shiny}}" id="wall-item-content-wrapper-{{$item.id}}" >
+               <div class="wall-item-info{{if $item.owner_url}} wallwall{{/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}}" /></a>
+                       </div>
+                       <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="{{$item.wall}}" /></div>
+                       {{/if}}
+                       <div class="wall-item-photo-wrapper{{if $item.owner_url}} wwfrom{{/if}}" id="wall-item-photo-wrapper-{{$item.id}}" 
+                               onmouseover="if (typeof t{{$item.id}} != 'undefined') clearTimeout(t{{$item.id}}); openMenu('wall-item-photo-menu-button-{{$item.id}}')"
+                onmouseout="t{{$item.id}}=setTimeout('closeMenu(\'wall-item-photo-menu-button-{{$item.id}}\'); closeMenu(\'wall-item-photo-menu-{{$item.id}}\');',200)">
+                               <a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}">
+                               <img src="{{$item.thumb}}" class="wall-item-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.name}}" /></a>
+                               <span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span>
+                <div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}">
+                    <ul>
+                        {{$item.item_photo_menu}}
+                    </ul>
+                </div>
+
+                       </div>
+                       <div class="wall-item-photo-end"></div>
+                       <div class="wall-item-location" id="wall-item-location-{{$item.id}}">
+                               {{if $item.location}}<span class="icon globe"></span>{{$item.location}} {{/if}}
+                       </div>
+                       <div class="wall-item-author">
+                               <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}">{{$item.name}}</span></a>
+                       </div>
+                       <div class="wall-item-ago" id="wall-item-ago-{{$item.id}}">
+                               {{$item.ago}}
+                       </div>
+               </div>
+               <div class="wall-item-tools" id="wall-item-tools-{{$item.id}}">
+                       <div class="wall-item-lock-wrapper">
+                               {{if $item.lock}}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" /></div>
+                               {{else}}<div class="wall-item-lock"></div>{{/if}}
+                       </div>
+                       <ul class="wall-item-subtools1">
+                               {{if $item.star}}
+                               <li>
+                                       <a href="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="star-item icon {{$item.isstarred}}" title="{{$item.star.toggle}}"></a>
+                               </li>
+                               {{/if}}
+                               {{if $item.tagger}}
+                               <li>
+                                       <a href="#" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="tag-item icon tagged" title="{{$item.tagger.add}}"></a>
+                               </li>
+                               {{/if}}
+                               {{if $item.vote}}
+                               <li class="wall-item-like-buttons" id="wall-item-like-buttons-{{$item.id}}">
+                                       <a href="#" class="icon like" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></a>
+                                       {{if $item.vote.dislike}}
+                                       <a href="#" class="icon dislike" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></a>
+                                       {{/if}}
+                                       {{if $item.vote.share}}
+                                       <a href="#" id="share-{{$item.id}}"
+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;" />
+                               </li>
+                               {{/if}}
+                       </ul><br style="clear:left;" />
+                       <ul class="wall-item-subtools2">
+                       {{if $item.filer}}
+                               <li class="wall-item-filer-wrapper"><a href="#" id="filer-{{$item.id}}" onclick="itemFiler({{$item.id}}); return false;" class="filer-item icon file-as" title="{{$item.star.filer}}"></a></li>
+                       {{/if}}
+                       {{if $item.plink}}
+                               <li class="wall-item-links-wrapper{{$item.sparkle}}"><a href="{{$item.plink.href}}" title="{{$item.plink.title}}" target="external-link" class="icon remote-link"></a></li>
+                       {{/if}}
+                       {{if $item.edpost}}
+                               <li><a class="editpost icon pencil" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a></li>
+                       {{/if}}
+
+                       <li class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" >
+                               {{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{/if}}
+                               {{if $item.drop.pagedrop}}<input type="checkbox" onclick="checkboxhighlight(this);" title="{{$item.drop.select}}" class="item-select" name="itemselected[]" value="{{$item.id}}" />{{/if}}
+                       </li>
+                       </ul>
+                       <div class="wall-item-delete-end"></div>
+               </div>
+               <div class="wall-item-content" id="wall-item-content-{{$item.id}}">
+                       <div class="wall-item-title" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
+                       <div class="wall-item-title-end"></div>
+                       <div class="wall-item-body" id="wall-item-body-{{$item.id}}">
+                               {{$item.body}}
+                               <div class="body-tag">
+                                       {{foreach $item.tags as $tag}}
+                                               <span class="tag">{{$tag}}</span>
+                                       {{/foreach}}
+                               </div>                  
+                       {{if $item.has_cats}}
+                       <div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} <a href="{{$cat.removeurl}}" title="{{$item.remove}}">[{{$item.remove}}]</a> {{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}} <a href="{{$cat.removeurl}}" title="{{$item.remove}}">[{{$item.remove}}]</a> {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
+                       </div>
+                       {{/if}}
+
+                       </div>
+               </div>
+       </div>  
+       <div class="wall-item-wrapper-end"></div>
+       <div class="wall-item-like {{$item.indent}} {{$item.shiny}}" id="wall-item-like-{{$item.id}}">{{$item.like}}</div>
+       <div class="wall-item-dislike {{$item.indent}} {{$item.shiny}}" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div>
+       <div class="wall-item-comment-separator"></div>
+
+       {{if $item.threaded}}
+       {{if $item.comment}}
+       <div class="wall-item-comment-wrapper {{$item.indent}} {{$item.shiny}}" >
+               {{$item.comment}}
+       </div>
+       {{/if}}
+       {{/if}}
+
+       {{if $item.flatten}}
+       <div class="wall-item-comment-wrapper" >
+               {{$item.comment}}
+       </div>
+       {{/if}}
+
+<div class="wall-item-outside-wrapper-end {{$item.indent}} {{$item.shiny}}" ></div>
+</div>
+{{foreach $item.children as $child}}
+       {{include file="file:{{$child.template}}" item=$child}}
+{{/foreach}}
+
+</div>
+{{if $item.comment_lastcollapsed}}</div>{{/if}}
index 2d423a9280ec5e28547270375d4eb45841da4867..71e4e62e19a14d93dfa0ffcf8cc8e861f866f829 100644 (file)
@@ -22,6 +22,7 @@ $a->theme_info = array(
     'family' => 'dispy',
        'version' => '1.2.2'
 );
+$a->theme['template_engine'] = 'smarty3';
 
 function dispy_init(&$a) {
 
index 3afb02c6ad62511b8c328af92a160bf9f69a7a72..3deb7b947737cd85bcb59e628e4647c1d2c00440 100644 (file)
@@ -1,7 +1,7 @@
 $live_update
 
-{{ for $threads as $item }}
-{{ inc $item.template }}{{ endinc }}
+{{ for $threads as $thread }}
+{{ inc $thread.template with $item=$thread }}{{ endinc }}
 {{ endfor }}
 
 <div id="conversation-end"></div>
index 3524c95684883b66e9c0c1388a9c4b6226c4a2c0..128b287e7aef1e5408692ca3d0ff34a9cfa1608e 100644 (file)
@@ -98,12 +98,12 @@ class="icon recycle wall-item-share-buttons"  title="$item.vote.share.0" onclick
                                        {{ endfor }}
                                </div>                  
                        {{ if $item.has_cats }}
-                       <div class="categorytags"><span>$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 class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a> {{ 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 <a href="$cat.removeurl" title="$remove">[$remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
+                       <div class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
                        </div>
                        {{ endif }}
 
@@ -131,8 +131,8 @@ class="icon recycle wall-item-share-buttons"  title="$item.vote.share.0" onclick
 
 <div class="wall-item-outside-wrapper-end $item.indent $item.shiny" ></div>
 </div>
-{{ for $item.children as $item }}
-       {{ inc $item.template }}{{ endinc }}
+{{ for $item.children as $child }}
+       {{ inc $child.template with $item=$child }}{{ endinc }}
 {{ endfor }}
 
 </div>
index bcb5baeeb5935607d8033e8b8dcb9ae1baeaaea8..c36f0d54a8054e0bcd74fe3a522b55eeca024ae3 100644 (file)
@@ -31,7 +31,7 @@
 
        {{ 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 }}
+       {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
 
        <div id="profile-vcard-break"></div>    
        <div id="profile-extra-links">
index e103497e10030c1d2912edc5d06dadba75ce7185..5ef411c4aaf4c13482fef730786319d667e0ddf5 100644 (file)
@@ -1,37 +1,37 @@
 
-<h3>$header</h3>
+<h3>$reply.header</h3>
 
 <div id="prvmail-wrapper" >
 <form id="prvmail-form" action="message" method="post" >
 
-$parent
+$reply.parent
 
-<div id="prvmail-to-label">$to</div>
+<div id="prvmail-to-label">$reply.to</div>
 
-{{ if $showinputs }}
-<input type="text" id="recip" name="messagerecip" value="$prefill" maxlength="255" size="64" tabindex="10" />
-<input type="hidden" id="recip-complete" name="messageto" value="$preid">
+{{ if $reply.showinputs }}
+<input type="text" id="recip" name="messagerecip" value="$reply.prefill" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="$reply.preid">
 {{ else }}
-$select
+$reply.select
 {{ endif }}
 
-<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-subject-label">$reply.subject</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$reply.subjtxt" $reply.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-message-label">$reply.yourmessage</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$reply.text</textarea>
 
 
 <div id="prvmail-submit-wrapper" >
-       <input type="submit" id="prvmail-submit" name="submit" value="Submit" tabindex="13" />
+       <input type="submit" id="prvmail-submit" name="submit" value="$reply.submit" tabindex="13" />
        <div id="prvmail-upload-wrapper" >
-               <div id="prvmail-upload" class="icon border camera" title="$upload" ></div>
+               <div id="prvmail-upload" class="icon border camera" title="$reply.upload" ></div>
        </div> 
        <div id="prvmail-link-wrapper" >
-               <div id="prvmail-link" class="icon border link" title="$insert" onclick="jotGetLink();" ></div>
+               <div id="prvmail-link" class="icon border link" title="$reply.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;" />
+               <img id="prvmail-rotator" src="images/rotator.gif" alt="$reply.wait" title="$reply.wait" style="display: none;" />
        </div> 
 </div>
 <div id="prvmail-end"></div>
diff --git a/view/theme/duepuntozero/smarty3/comment_item.tpl b/view/theme/duepuntozero/smarty3/comment_item.tpl
new file mode 100644 (file)
index 0000000..67b9fb0
--- /dev/null
@@ -0,0 +1,66 @@
+               {{if $threaded}}
+               <div class="comment-wwedit-wrapper threaded" id="comment-edit-wrapper-{{$id}}" style="display: block;">
+               {{else}}
+               <div class="comment-wwedit-wrapper" id="comment-edit-wrapper-{{$id}}" style="display: block;">
+               {{/if}}
+                       <form class="comment-edit-form" style="display: block;" 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" />
+                               <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-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>
+                               <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(this, {{$id}});" onBlur="commentClose(this,{{$id}});cmtBbClose(this,{{$id}});" >{{$comment}}</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}}" 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/duepuntozero/smarty3/lang_selector.tpl b/view/theme/duepuntozero/smarty3/lang_selector.tpl
new file mode 100644 (file)
index 0000000..945cbf5
--- /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();" >
+                       {{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/duepuntozero/smarty3/moderated_comment.tpl b/view/theme/duepuntozero/smarty3/moderated_comment.tpl
new file mode 100644 (file)
index 0000000..8fbdf4b
--- /dev/null
@@ -0,0 +1,61 @@
+               <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/duepuntozero/smarty3/nav.tpl b/view/theme/duepuntozero/smarty3/nav.tpl
new file mode 100644 (file)
index 0000000..e71e64e
--- /dev/null
@@ -0,0 +1,70 @@
+<nav>
+       {{$langselector}}
+
+       <div id="site-location">{{$sitelocation}}</div>
+
+       {{if $nav.logout}}<a id="nav-logout-link" class="nav-link {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a> {{/if}}
+       {{if $nav.login}}<a id="nav-login-link" class="nav-login-link {{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a> {{/if}}
+
+       <span id="nav-link-wrapper" >
+
+       {{if $nav.register}}<a id="nav-register-link" class="nav-commlink {{$nav.register.2}} {{$sel.register}}" href="{{$nav.register.0}}" title="{{$nav.register.3}}" >{{$nav.register.1}}</a>{{/if}}
+               
+       {{if $nav.help}} <a id="nav-help-link" class="nav-link {{$nav.help.2}}" target="friendica-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a>{{/if}}
+               
+       {{if $nav.apps}}<a id="nav-apps-link" class="nav-link {{$nav.apps.2}}" href="{{$nav.apps.0}}" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>{{/if}}
+
+       <a id="nav-search-link" class="nav-link {{$nav.search.2}}" href="{{$nav.search.0}}" title="{{$nav.search.3}}" >{{$nav.search.1}}</a>
+       <a id="nav-directory-link" class="nav-link {{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a>
+
+       {{if $nav.admin}}<a id="nav-admin-link" class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a>{{/if}}
+
+       {{if $nav.network}}
+       <a id="nav-network-link" class="nav-commlink {{$nav.network.2}} {{$sel.network}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
+       <span id="net-update" class="nav-ajax-left"></span>
+       {{/if}}
+       {{if $nav.home}}
+       <a id="nav-home-link" class="nav-commlink {{$nav.home.2}} {{$sel.home}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a>
+       <span id="home-update" class="nav-ajax-left"></span>
+       {{/if}}
+       {{if $nav.community}}
+       <a id="nav-community-link" class="nav-commlink {{$nav.community.2}} {{$sel.community}}" href="{{$nav.community.0}}" title="{{$nav.community.3}}" >{{$nav.community.1}}</a>
+       {{/if}}
+       {{if $nav.introductions}}
+       <a id="nav-notify-link" class="nav-commlink {{$nav.introductions.2}} {{$sel.introductions}}" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}" >{{$nav.introductions.1}}</a>
+       <span id="intro-update" class="nav-ajax-left"></span>
+       {{/if}}
+       {{if $nav.messages}}
+       <a id="nav-messages-link" class="nav-commlink {{$nav.messages.2}} {{$sel.messages}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}}</a>
+       <span id="mail-update" class="nav-ajax-left"></span>
+       {{/if}}
+
+
+
+
+
+               {{if $nav.notifications}}
+                       <a id="nav-notifications-linkmenu" class="nav-commlink" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}">{{$nav.notifications.1}}</a>
+                               <span id="notify-update" class="nav-ajax-left"></span>
+                               <ul id="nav-notifications-menu" class="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>
+               {{/if}}         
+
+       {{if $nav.settings}}<a id="nav-settings-link" class="nav-link {{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a>{{/if}}
+       {{if $nav.profiles}}<a id="nav-profiles-link" class="nav-link {{$nav.profiles.2}}" href="{{$nav.profiles.0}}" title="{{$nav.profiles.3}}" >{{$nav.profiles.1}}</a>{{/if}}
+
+       {{if $nav.contacts}}<a id="nav-contacts-link" class="nav-link {{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}" >{{$nav.contacts.1}}</a>{{/if}}
+
+
+       {{if $nav.manage}}<a id="nav-manage-link" class="nav-link {{$nav.manage.2}} {{$sel.manage}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a>{{/if}}
+       </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 src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
+</ul>
diff --git a/view/theme/duepuntozero/smarty3/profile_vcard.tpl b/view/theme/duepuntozero/smarty3/profile_vcard.tpl
new file mode 100644 (file)
index 0000000..993626d
--- /dev/null
@@ -0,0 +1,51 @@
+<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="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+
+       <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/duepuntozero/smarty3/prv_message.tpl b/view/theme/duepuntozero/smarty3/prv_message.tpl
new file mode 100644 (file)
index 0000000..2711f55
--- /dev/null
@@ -0,0 +1,39 @@
+
+<h3>{{$reply.header}}</h3>
+
+<div id="prvmail-wrapper" >
+<form id="prvmail-form" action="message" method="post" >
+
+{{$reply.parent}}
+
+<div id="prvmail-to-label">{{$reply.to}}</div>
+
+{{if $reply.showinputs}}
+<input type="text" id="recip" name="messagerecip" value="{{$reply.prefill}}" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="{{$reply.preid}}">
+{{else}}
+{{$reply.select}}
+{{/if}}
+
+<div id="prvmail-subject-label">{{$reply.subject}}</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$reply.subjtxt}}" {{$reply.readonly}} tabindex="11" />
+
+<div id="prvmail-message-label">{{$reply.yourmessage}}</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$reply.text}}</textarea>
+
+
+<div id="prvmail-submit-wrapper" >
+       <input type="submit" id="prvmail-submit" name="submit" value="{{$reply.submit}}" tabindex="13" />
+       <div id="prvmail-upload-wrapper" >
+               <div id="prvmail-upload" class="icon border camera" title="{{$reply.upload}}" ></div>
+       </div> 
+       <div id="prvmail-link-wrapper" >
+               <div id="prvmail-link" class="icon border link" title="{{$reply.insert}}" onclick="jotGetLink();" ></div>
+       </div> 
+       <div id="prvmail-rotator-wrapper" >
+               <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$reply.wait}}" title="{{$reply.wait}}" style="display: none;" />
+       </div> 
+</div>
+<div id="prvmail-end"></div>
+</form>
+</div>
index 5b87dcd420db89037ef6cacff02290a56da09fd7..6c9048ad7e3257a517e383e66c33aac30393edb1 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 $a->theme_info = array();
+$a->theme['template_engine'] = 'smarty3';
 
 function duepuntozero_init(&$a) {
 $a->page['htmlhead'] .= <<< EOT
index 154f22363ce6118ce3c80c104a449d4024b503d1..b8e52e5f6bd0361aab8f5fc410c03c27fe370d9d 100644 (file)
@@ -31,7 +31,7 @@
 
        {{ 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 }}
+       {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
        
        <div id="profile-extra-links">
                <ul>
diff --git a/view/theme/facepark/smarty3/comment_item.tpl b/view/theme/facepark/smarty3/comment_item.tpl
new file mode 100644 (file)
index 0000000..4118355
--- /dev/null
@@ -0,0 +1,33 @@
+               <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" />
+                               <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-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>
+                               <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$id}});" onBlur="commentClose(this,{{$id}});" >{{$comment}}</textarea>
+                               {{if $qcomment}}
+                               {{foreach $qcomment as $qc}}                            
+                                       <span class="fakelink qcomment" onclick="commentInsert(this,{{$id}}); return false;" >{{$qc}}</span>
+                                       &nbsp;
+                               {{/foreach}}
+                               {{/if}}
+
+                               <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/facepark/smarty3/group_side.tpl b/view/theme/facepark/smarty3/group_side.tpl
new file mode 100644 (file)
index 0000000..d2d8a77
--- /dev/null
@@ -0,0 +1,28 @@
+<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>
+</div>
+
+
diff --git a/view/theme/facepark/smarty3/jot.tpl b/view/theme/facepark/smarty3/jot.tpl
new file mode 100644 (file)
index 0000000..56b1b65
--- /dev/null
@@ -0,0 +1,85 @@
+
+<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="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" style="display:none"></div>
+               <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" >{{if $content}}{{$content}}{{else}}{{$share}}{{/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-upload-wrapper" style="display: {{$visitor}};" >
+               <div id="wall-image-upload-div" ><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" ><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> 
+       <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="profile-rotator-wrapper" style="display: {{$visitor}};" >
+               <img id="profile-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
+       </div> 
+       
+       <div id="jot-preview-content" style="display:none;"></div>
+
+       <div style="display: none;">
+               <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
+                       {{$acl}}
+                       <hr style="clear:both"/>
+                       <div id="profile-jot-email-label">{{$emailcc}}</div><input type="text" name="emailcc" id="profile-jot-email" title="{{$emtitle}}" />
+                       <div id="profile-jot-email-end"></div>
+                       {{$jotnets}}
+               </div>
+       </div>
+
+
+</div>
+
+<div id="profile-jot-end"></div>
+</form>
+</div>
+               {{if $content}}<script>initEditor();</script>{{/if}}
diff --git a/view/theme/facepark/smarty3/nav.tpl b/view/theme/facepark/smarty3/nav.tpl
new file mode 100644 (file)
index 0000000..832d9f1
--- /dev/null
@@ -0,0 +1,68 @@
+<nav>
+       {{$langselector}}
+
+       <div id="site-location">{{$sitelocation}}</div>
+
+       {{if $nav.logout}}<a id="nav-logout-link" class="nav-link {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a> {{/if}}
+       {{if $nav.login}}<a id="nav-login-link" class="nav-login-link {{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a> {{/if}}
+
+       <span id="nav-link-wrapper" >
+
+       {{if $nav.register}}<a id="nav-register-link" class="nav-commlink {{$nav.register.2}} {{$sel.register}}" href="{{$nav.register.0}}" title="{{$nav.register.3}}" >{{$nav.register.1}}</a>{{/if}}
+               
+       {{if $nav.help}} <a id="nav-help-link" class="nav-link {{$nav.help.2}}" target="friendica-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a>{{/if}}
+               
+       {{if $nav.apps}}<a id="nav-apps-link" class="nav-link {{$nav.apps.2}}" href="{{$nav.apps.0}}" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>{{/if}}
+
+       <a id="nav-search-link" class="nav-link {{$nav.search.2}}" href="{{$nav.search.0}}" title="{{$nav.search.3}}" >{{$nav.search.1}}</a>
+       <a id="nav-directory-link" class="nav-link {{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a>
+
+       {{if $nav.admin}}<a id="nav-admin-link" class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a>{{/if}}
+
+       {{if $nav.network}}
+       <a id="nav-network-link" class="nav-commlink {{$nav.network.2}} {{$sel.network}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
+       <span id="net-update" class="nav-ajax-left"></span>
+       {{/if}}
+       {{if $nav.home}}
+       <a id="nav-home-link" class="nav-commlink {{$nav.home.2}} {{$sel.home}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a>
+       <span id="home-update" class="nav-ajax-left"></span>
+       {{/if}}
+       {{if $nav.community}}
+       <a id="nav-community-link" class="nav-commlink {{$nav.community.2}} {{$sel.community}}" href="{{$nav.community.0}}" title="{{$nav.community.3}}" >{{$nav.community.1}}</a>
+       {{/if}}
+       {{if $nav.introductions}}
+       <a id="nav-notify-link" class="nav-commlink {{$nav.introductions.2}} {{$sel.introductions}}" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}" >{{$nav.introductions.1}}</a>
+       <span id="intro-update" class="nav-ajax-left"></span>
+       {{/if}}
+       {{if $nav.messages}}
+       <a id="nav-messages-link" class="nav-commlink {{$nav.messages.2}} {{$sel.messages}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}}</a>
+       <span id="mail-update" class="nav-ajax-left"></span>
+       {{/if}}
+
+
+
+       {{if $nav.manage}}<a id="nav-manage-link" class="nav-commlink {{$nav.manage.2}} {{$sel.manage}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a>{{/if}}
+
+
+               {{if $nav.notifications}}
+                       <a id="nav-notifications-linkmenu" class="nav-commlink" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}">{{$nav.notifications.1}}</a>
+                               <span id="notify-update" class="nav-ajax-left"></span>
+                               <ul id="nav-notifications-menu" class="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>
+               {{/if}}         
+
+       {{if $nav.settings}}<a id="nav-settings-link" class="nav-link {{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a>{{/if}}
+       {{if $nav.profiles}}<a id="nav-profiles-link" class="nav-link {{$nav.profiles.2}}" href="{{$nav.profiles.0}}" title="{{$nav.profiles.3}}" >{{$nav.profiles.1}}</a>{{/if}}
+
+       {{if $nav.contacts}}<a id="nav-contacts-link" class="nav-link {{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}" >{{$nav.contacts.1}}</a>{{/if}}
+       </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 src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
+</ul>
diff --git a/view/theme/facepark/smarty3/profile_vcard.tpl b/view/theme/facepark/smarty3/profile_vcard.tpl
new file mode 100644 (file)
index 0000000..88d380b
--- /dev/null
@@ -0,0 +1,47 @@
+<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="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+       
+       <div id="profile-extra-links">
+               <ul>
+                       {{if $connect}}
+                               <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
+                       {{/if}}
+               </ul>
+       </div>
+</div>
+
+{{$contact_block}}
+
+
diff --git a/view/theme/facepark/smarty3/search_item.tpl b/view/theme/facepark/smarty3/search_item.tpl
new file mode 100644 (file)
index 0000000..ac650f4
--- /dev/null
@@ -0,0 +1,54 @@
+<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="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}}">{{$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>
+               </div>
+               <div class="wall-item-tools" id="wall-item-tools-{{$item.id}}">
+                       <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" >
+                               {{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{/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>
+
+
index 701fb134918df80fb101b77e7a2c648131a16863..eeb484194809d8a20bde9e688cafd4adfa14bf71 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 $a->theme_info = array();
+$a->theme['template_engine'] = 'smarty3';
 
 $a->page['htmlhead'] .= <<< EOT
 <script>
index 087de4f7dbca41328d27d5e91872b0730e657309..9fd18e40753564a82c18a906924c699a8f0425f2 100644 (file)
@@ -5,55 +5,55 @@
        <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 }}
+       {{ inc $field_input with $field=$sitename }}{{ endinc }}
+       {{ inc $field_textarea with $field=$banner }}{{ endinc }}
+       {{ inc $field_select with $field=$language }}{{ endinc }}
+       {{ inc $field_select with $field=$theme }}{{ endinc }}
+       {{ inc $field_select with $field=$theme_mobile }}{{ endinc }}
+       {{ inc $field_select 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_input with $field=$register_text }}{{ endinc }}
+       {{ inc $field_select 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 }}
+       {{ inc $field_checkbox with $field=$no_multi_reg }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$no_openid }}{{ endinc }}
+       {{ inc $field_checkbox 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 }}
+       {{ inc $field_input with $field=$maximagesize }}{{ endinc }}
+       {{ inc $field_input with $field=$maximagelength }}{{ endinc }}
+       {{ inc $field_input 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 }}
+       {{ inc $field_input with $field=$allowed_sites }}{{ endinc }}
+       {{ inc $field_input with $field=$allowed_email }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$block_public }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$force_publish }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$no_community_page }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$ostatus_disabled }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$diaspora_enabled }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$dfrn_only }}{{ endinc }}
+       {{ inc $field_input with $field=$global_directory }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$thread_allow }}{{ endinc }}
+       {{ inc $field_checkbox 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 }}
+       {{ inc $field_checkbox with $field=$no_utf }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$verifyssl }}{{ endinc }}
+       {{ inc $field_input with $field=$proxy }}{{ endinc }}
+       {{ inc $field_input with $field=$proxyuser }}{{ endinc }}
+       {{ inc $field_input with $field=$timeout }}{{ endinc }}
+       {{ inc $field_input with $field=$delivery_interval }}{{ endinc }}
+       {{ inc $field_input with $field=$poll_interval }}{{ endinc }}
+       {{ inc $field_input with $field=$maxloadavg }}{{ endinc }}
+       {{ inc $field_input with $field=$abandon_days }}{{ endinc }}
        
        <div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
        
index 76254c1ca8209b446317818f3ad18899ea4ef858..b148fb4a6965b245426297756ee61a2c97252ebe 100644 (file)
@@ -15,8 +15,8 @@ $tabs
 
 
 <div id="contacts-display-wrapper">
-{{ for $contacts as $contact }}
-       {{ inc contact_template.tpl }}{{ endinc }}
+{{ for $contacts as $c }}
+       {{ inc $contact_template with $contact=$c }}{{ endinc }}
 {{ endfor }}
 </div>
 <div id="contact-edit-end"></div>
index 6946cc031b78be00912d5cb6d5804953b067ea4d..2d1fd856b207d681805a1ffc91951a60f0ff4c51 100644 (file)
@@ -4,13 +4,13 @@
        <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 }}
+       {{ inc $field_input with $field=$lname }}{{ endinc }}
+       {{ inc $field_password with $field=$lpassword }}{{ endinc }}
        </div>
        
        {{ if $openid }}
                        <div id="login_openid">
-                       {{ inc field_openid.tpl with $field=$lopenid }}{{ endinc }}
+                       {{ inc $field_openid with $field=$lopenid }}{{ endinc }}
                        </div>
        {{ endif }}
 
        </div>-->
 
        <br />
+       {{ inc $field_checkbox with $field=$lremember }}{{ endinc }}
+
        <div id="login-submit-wrapper" >
                <input type="submit" name="submit" id="login-submit-button" value="$login" />
        </div>
 
-       {{ inc field_checkbox.tpl with $field=$lremember }}{{ endinc }}
-
        <br /><br />
        <div class="login-extra-links">
                {{ if $register }}<a href="register" title="$register.title" id="register-link">$register.desc</a>{{ endif }}
index bcb5baeeb5935607d8033e8b8dcb9ae1baeaaea8..c36f0d54a8054e0bcd74fe3a522b55eeca024ae3 100644 (file)
@@ -31,7 +31,7 @@
 
        {{ 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 }}
+       {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
 
        <div id="profile-vcard-break"></div>    
        <div id="profile-extra-links">
index 9a20c6c6983032d3fb66faeb1c4a4e715a0cfe4a..840ca3221b8cb1348a4f5b136a9d8a4088a5b363 100644 (file)
@@ -1,37 +1,37 @@
 
-<h3>$header</h3>
+<h3>$reply.header</h3>
 
 <div id="prvmail-wrapper" >
 <form id="prvmail-form" action="message" method="post" >
 
-$parent
+$reply.parent
 
-<div id="prvmail-to-label">$to</div>
+<div id="prvmail-to-label">$reply.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">
+{{ if $reply.showinputs }}
+<input type="text" id="recip" name="messageto" value="$reply.prefill" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="$reply.preid">
 {{ else }}
-$select
+$reply.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-subject-label">$reply.subject</div>
+<input type="text" size="28" maxlength="255" id="prvmail-subject" name="subject" value="$reply.subjtxt" $reply.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-message-label">$reply.yourmessage</div>
+<textarea rows="8" cols="32" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$reply.text</textarea>
 
 
 <div id="prvmail-submit-wrapper" >
-       <input type="submit" id="prvmail-submit" name="submit" value="Submit" tabindex="13" />
+       <input type="submit" id="prvmail-submit" name="submit" value="$reply.submit" tabindex="13" />
        <div id="prvmail-upload-wrapper" >
-               <div id="prvmail-upload" class="icon border camera" title="$upload" ></div>
+               <div id="prvmail-upload" class="icon border camera" title="$reply.upload" ></div>
        </div> 
        <div id="prvmail-link-wrapper" >
-               <div id="prvmail-link" class="icon border link" title="$insert" onclick="jotGetLink();" ></div>
+               <div id="prvmail-link" class="icon border link" title="$reply.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;" />
+               <img id="prvmail-rotator" src="images/rotator.gif" alt="$reply.wait" title="$reply.wait" style="display: none;" />
        </div> 
 </div>
 <div id="prvmail-end"></div>
index 5a40b96bca5c114a1a5fdc4454990bd6b7ca7ab8..f82d672cdf84c30495fa731617064ea92115f333 100644 (file)
@@ -7,11 +7,11 @@ $nickname_block
 
 <h3 class="settings-heading">$h_pass</h3>
 
-{{inc field_password.tpl with $field=$password1 }}{{endinc}}
-{{inc field_password.tpl with $field=$password2 }}{{endinc}}
+{{inc $field_password with $field=$password1 }}{{endinc}}
+{{inc $field_password with $field=$password2 }}{{endinc}}
 
 {{ if $oid_enable }}
-{{inc field_input.tpl with $field=$openid }}{{endinc}}
+{{inc $field_input with $field=$openid }}{{endinc}}
 {{ endif }}
 
 <div class="settings-submit-wrapper" >
@@ -21,11 +21,11 @@ $nickname_block
 
 <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}}
+{{inc $field_input with $field=$username }}{{endinc}}
+{{inc $field_input with $field=$email }}{{endinc}}
+{{inc $field_custom with $field=$timezone }}{{endinc}}
+{{inc $field_input with $field=$defloc }}{{endinc}}
+{{inc $field_checkbox with $field=$allowloc }}{{endinc}}
 
 
 <div class="settings-submit-wrapper" >
@@ -38,7 +38,7 @@ $nickname_block
 
 <input type="hidden" name="visibility" value="$visibility" />
 
-{{inc field_input.tpl with $field=$maxreq }}{{endinc}}
+{{inc $field_input with $field=$maxreq }}{{endinc}}
 
 $profile_in_dir
 
@@ -57,9 +57,9 @@ $suggestme
 $unkmail
 
 
-{{inc field_input.tpl with $field=$cntunkmail }}{{endinc}}
+{{inc $field_input with $field=$cntunkmail }}{{endinc}}
 
-{{inc field_input.tpl with $field=$expire.days }}{{endinc}}
+{{inc $field_input with $field=$expire.days }}{{endinc}}
 
 
 <div class="field input">
@@ -67,10 +67,10 @@ $unkmail
        <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}}
+                       {{ inc $field_yesno with $field=$expire.items }}{{endinc}}
+                       {{ inc $field_yesno with $field=$expire.notes }}{{endinc}}
+                       {{ inc $field_yesno with $field=$expire.starred }}{{endinc}}
+                       {{ inc $field_yesno with $field=$expire.network_only }}{{endinc}}
                </div>
        </div>
 
@@ -108,21 +108,21 @@ $group_select
 
 <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}}
+{{inc $field_checkbox with $field=$post_newfriend }}{{endinc}}
+{{inc $field_checkbox with $field=$post_joingroup }}{{endinc}}
+{{inc $field_checkbox 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}}
+{{inc $field_intcheckbox with $field=$notify1 }}{{endinc}}
+{{inc $field_intcheckbox with $field=$notify2 }}{{endinc}}
+{{inc $field_intcheckbox with $field=$notify3 }}{{endinc}}
+{{inc $field_intcheckbox with $field=$notify4 }}{{endinc}}
+{{inc $field_intcheckbox with $field=$notify5 }}{{endinc}}
+{{inc $field_intcheckbox with $field=$notify6 }}{{endinc}}
+{{inc $field_intcheckbox with $field=$notify7 }}{{endinc}}
 </div>
 
 </div>
diff --git a/view/theme/frost-mobile/smarty3/acl_selector.tpl b/view/theme/frost-mobile/smarty3/acl_selector.tpl
new file mode 100644 (file)
index 0000000..5b330de
--- /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 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/frost-mobile/smarty3/admin_aside.tpl b/view/theme/frost-mobile/smarty3/admin_aside.tpl
new file mode 100644 (file)
index 0000000..f60a22a
--- /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>
+{{/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/frost-mobile/smarty3/admin_site.tpl b/view/theme/frost-mobile/smarty3/admin_site.tpl
new file mode 100644 (file)
index 0000000..a62f039
--- /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}}'>
+
+       {{include file="file:{{$field_input}}" field=$sitename}}
+       {{include file="file:{{$field_textarea}}" field=$banner}}
+       {{include file="file:{{$field_select}}" field=$language}}
+       {{include file="file:{{$field_select}}" field=$theme}}
+       {{include file="file:{{$field_select}}" field=$theme_mobile}}
+       {{include file="file:{{$field_select}}" field=$ssl_policy}}
+       
+       <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
+       
+       <h3>{{$registration}}</h3>
+       {{include file="file:{{$field_input}}" field=$register_text}}
+       {{include file="file:{{$field_select}}" field=$register_policy}}
+       
+       {{include file="file:{{$field_checkbox}}" field=$no_multi_reg}}
+       {{include file="file:{{$field_checkbox}}" field=$no_openid}}
+       {{include file="file:{{$field_checkbox}}" field=$no_regfullname}}
+       
+       <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
+
+       <h3>{{$upload}}</h3>
+       {{include file="file:{{$field_input}}" field=$maximagesize}}
+       {{include file="file:{{$field_input}}" field=$maximagelength}}
+       {{include file="file:{{$field_input}}" field=$jpegimagequality}}
+       
+       <h3>{{$corporate}}</h3>
+       {{include file="file:{{$field_input}}" field=$allowed_sites}}
+       {{include file="file:{{$field_input}}" field=$allowed_email}}
+       {{include file="file:{{$field_checkbox}}" field=$block_public}}
+       {{include file="file:{{$field_checkbox}}" field=$force_publish}}
+       {{include file="file:{{$field_checkbox}}" field=$no_community_page}}
+       {{include file="file:{{$field_checkbox}}" field=$ostatus_disabled}}
+       {{include file="file:{{$field_checkbox}}" field=$diaspora_enabled}}
+       {{include file="file:{{$field_checkbox}}" field=$dfrn_only}}
+       {{include file="file:{{$field_input}}" field=$global_directory}}
+       {{include file="file:{{$field_checkbox}}" field=$thread_allow}}
+       {{include file="file:{{$field_checkbox}}" field=$newuser_private}}
+       
+       <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
+       
+       <h3>{{$advanced}}</h3>
+       {{include file="file:{{$field_checkbox}}" field=$no_utf}}
+       {{include file="file:{{$field_checkbox}}" field=$verifyssl}}
+       {{include file="file:{{$field_input}}" field=$proxy}}
+       {{include file="file:{{$field_input}}" field=$proxyuser}}
+       {{include file="file:{{$field_input}}" field=$timeout}}
+       {{include file="file:{{$field_input}}" field=$delivery_interval}}
+       {{include file="file:{{$field_input}}" field=$poll_interval}}
+       {{include file="file:{{$field_input}}" field=$maxloadavg}}
+       {{include file="file:{{$field_input}}" field=$abandon_days}}
+       
+       <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
+       
+       </form>
+</div>
diff --git a/view/theme/frost-mobile/smarty3/comment_item.tpl b/view/theme/frost-mobile/smarty3/comment_item.tpl
new file mode 100644 (file)
index 0000000..0c987db
--- /dev/null
@@ -0,0 +1,78 @@
+<!--           <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;" >
+                       <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;">-->
+                               <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="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-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}});" >
+                                       <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}}" 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>-->
+                               </div>
+
+                               <!--<div class="comment-edit-end"></div>-->
+                       </form>
+
+               </div>
diff --git a/view/theme/frost-mobile/smarty3/contact_edit.tpl b/view/theme/frost-mobile/smarty3/contact_edit.tpl
new file mode 100644 (file)
index 0000000..d5ade11
--- /dev/null
@@ -0,0 +1,93 @@
+
+<h2>{{$header}}</h2>
+
+<div id="contact-edit-wrapper" >
+
+       {{$tab_str}}
+
+       <div id="contact-edit-drop-link" >
+               <a href="contacts/{{$contact_id}}/drop" class="icon drophide" id="contact-edit-drop-link" onclick="return confirmDelete();"  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/frost-mobile/smarty3/contact_head.tpl b/view/theme/frost-mobile/smarty3/contact_head.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/theme/frost-mobile/smarty3/contact_template.tpl b/view/theme/frost-mobile/smarty3/contact_template.tpl
new file mode 100644 (file)
index 0000000..91b5bae
--- /dev/null
@@ -0,0 +1,30 @@
+
+<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}}">
+                       <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>-->
+                <div class="contact-photo-menu" id="contact-photo-menu-{{$contact.id}}">
+                    <ul>
+                        {{$contact.photo_menu}}
+                    </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/frost-mobile/smarty3/contacts-end.tpl b/view/theme/frost-mobile/smarty3/contacts-end.tpl
new file mode 100644 (file)
index 0000000..bf19b00
--- /dev/null
@@ -0,0 +1,4 @@
+
+<script src="{{$baseurl}}/library/jquery_ac/friendica.complete.min.js" ></script>
+
+
diff --git a/view/theme/frost-mobile/smarty3/contacts-head.tpl b/view/theme/frost-mobile/smarty3/contacts-head.tpl
new file mode 100644 (file)
index 0000000..5ae97f9
--- /dev/null
@@ -0,0 +1,5 @@
+
+<script>
+       window.autocompleteType = 'contacts-head';
+</script>
+
diff --git a/view/theme/frost-mobile/smarty3/contacts-template.tpl b/view/theme/frost-mobile/smarty3/contacts-template.tpl
new file mode 100644 (file)
index 0000000..a6cc66a
--- /dev/null
@@ -0,0 +1,28 @@
+<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 $c}}
+       {{include file="file:{{$contact_template}}" contact=$c}}
+{{/foreach}}
+</div>
+<div id="contact-edit-end"></div>
+
+{{$paginate}}
+
+
+
+
diff --git a/view/theme/frost-mobile/smarty3/contacts-widget-sidebar.tpl b/view/theme/frost-mobile/smarty3/contacts-widget-sidebar.tpl
new file mode 100644 (file)
index 0000000..c0b923e
--- /dev/null
@@ -0,0 +1,2 @@
+{{$follow_widget}}
+
diff --git a/view/theme/frost-mobile/smarty3/conversation.tpl b/view/theme/frost-mobile/smarty3/conversation.tpl
new file mode 100644 (file)
index 0000000..aa6bee0
--- /dev/null
@@ -0,0 +1,29 @@
+{{$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="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/frost-mobile/smarty3/cropbody.tpl b/view/theme/frost-mobile/smarty3/cropbody.tpl
new file mode 100644 (file)
index 0000000..2678488
--- /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/frost-mobile/smarty3/cropend.tpl b/view/theme/frost-mobile/smarty3/cropend.tpl
new file mode 100644 (file)
index 0000000..a56c71d
--- /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/frost-mobile/smarty3/crophead.tpl b/view/theme/frost-mobile/smarty3/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/frost-mobile/smarty3/display-head.tpl b/view/theme/frost-mobile/smarty3/display-head.tpl
new file mode 100644 (file)
index 0000000..1fc82ae
--- /dev/null
@@ -0,0 +1,4 @@
+<script>
+       window.autoCompleteType = 'display-head';
+</script>
+
diff --git a/view/theme/frost-mobile/smarty3/end.tpl b/view/theme/frost-mobile/smarty3/end.tpl
new file mode 100644 (file)
index 0000000..1c2f81f
--- /dev/null
@@ -0,0 +1,17 @@
+<!--[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}}/view/theme/frost-mobile/js/main.min.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/js/jquery.textinputs.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/view/theme/frost-mobile/js/fk.autocomplete.min.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/frost-mobile/js/acl.min.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/js/webtoolkit.base64.min.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/view/theme/frost-mobile/js/theme.min.js"></script>
+
diff --git a/view/theme/frost-mobile/smarty3/event_end.tpl b/view/theme/frost-mobile/smarty3/event_end.tpl
new file mode 100644 (file)
index 0000000..40c64ea
--- /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/frost-mobile/smarty3/event_head.tpl b/view/theme/frost-mobile/smarty3/event_head.tpl
new file mode 100644 (file)
index 0000000..a1e8789
--- /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/frost-mobile/smarty3/field_checkbox.tpl b/view/theme/frost-mobile/smarty3/field_checkbox.tpl
new file mode 100644 (file)
index 0000000..eaf4c8a
--- /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"{{/if}}><br />
+               <span class='field_help' id='help_id_{{$field.0}}'>{{$field.3}}</span>
+       </div>
diff --git a/view/theme/frost-mobile/smarty3/field_input.tpl b/view/theme/frost-mobile/smarty3/field_input.tpl
new file mode 100644 (file)
index 0000000..e2c519b
--- /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/frost-mobile/smarty3/field_openid.tpl b/view/theme/frost-mobile/smarty3/field_openid.tpl
new file mode 100644 (file)
index 0000000..69319b0
--- /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/frost-mobile/smarty3/field_password.tpl b/view/theme/frost-mobile/smarty3/field_password.tpl
new file mode 100644 (file)
index 0000000..1b51d01
--- /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/frost-mobile/smarty3/field_themeselect.tpl b/view/theme/frost-mobile/smarty3/field_themeselect.tpl
new file mode 100644 (file)
index 0000000..f1cd793
--- /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);"{{/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/frost-mobile/smarty3/generic_links_widget.tpl b/view/theme/frost-mobile/smarty3/generic_links_widget.tpl
new file mode 100644 (file)
index 0000000..e72ae47
--- /dev/null
@@ -0,0 +1,11 @@
+<div class="widget{{if $class}} {{$class}}{{/if}}">
+<!--   {{if $title}}<h3>{{$title}}</h3>{{/if}}-->
+       {{if $desc}}<div class="desc">{{$desc}}</div>{{/if}}
+       
+       <ul class="tabs">
+               {{foreach $items as $item}}
+                       <li class="tool"><a href="{{$item.url}}" class="tab {{if $item.selected}}selected{{/if}}">{{$item.label}}</a></li>
+               {{/foreach}}
+       </ul>
+       
+</div>
diff --git a/view/theme/frost-mobile/smarty3/head.tpl b/view/theme/frost-mobile/smarty3/head.tpl
new file mode 100644 (file)
index 0000000..3ebf11e
--- /dev/null
@@ -0,0 +1,33 @@
+<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>
+<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/frost-mobile/js/jquery.divgrow-1.3.1.f1.min.js" ></script>
+
diff --git a/view/theme/frost-mobile/smarty3/jot-end.tpl b/view/theme/frost-mobile/smarty3/jot-end.tpl
new file mode 100644 (file)
index 0000000..079481a
--- /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/frost-mobile/smarty3/jot-header.tpl b/view/theme/frost-mobile/smarty3/jot-header.tpl
new file mode 100644 (file)
index 0000000..08fae23
--- /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.ajaxType = 'jot-header';
+</script>
+
+
diff --git a/view/theme/frost-mobile/smarty3/jot.tpl b/view/theme/frost-mobile/smarty3/jot.tpl
new file mode 100644 (file)
index 0000000..c7656fb
--- /dev/null
@@ -0,0 +1,89 @@
+
+<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" style="display:none"></div>
+               {{if $placeholdercategory}}
+               <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" /></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" >{{if $content}}{{$content}}{{else}}{{$share}}{{/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-upload-wrapper" style="display: {{$visitor}};" >
+               <div id="wall-image-upload-div" ><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" ><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> 
+       <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="profile-rotator-wrapper" style="display: {{$visitor}};" >
+               <img id="profile-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" />
+       </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}}" />
+                       <div id="profile-jot-email-end"></div>
+                       {{$jotnets}}
+               </div>
+       </div>
+
+
+</div>
+
+<div id="profile-jot-end"></div>
+</form>
+</div>
+               {{if $content}}<script>window.jotInit = true;</script>{{/if}}
diff --git a/view/theme/frost-mobile/smarty3/jot_geotag.tpl b/view/theme/frost-mobile/smarty3/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/frost-mobile/smarty3/lang_selector.tpl b/view/theme/frost-mobile/smarty3/lang_selector.tpl
new file mode 100644 (file)
index 0000000..945cbf5
--- /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();" >
+                       {{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/frost-mobile/smarty3/login.tpl b/view/theme/frost-mobile/smarty3/login.tpl
new file mode 100644 (file)
index 0000000..cd57c79
--- /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">
+       {{include file="file:{{$field_input}}" field=$lname}}
+       {{include file="file:{{$field_password}}" field=$lpassword}}
+       </div>
+       
+       {{if $openid}}
+                       <div id="login_openid">
+                       {{include file="file:{{$field_openid}}" 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="file:{{$field_checkbox}}" 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/frost-mobile/smarty3/login_head.tpl b/view/theme/frost-mobile/smarty3/login_head.tpl
new file mode 100644 (file)
index 0000000..9e5320e
--- /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/frost-mobile/smarty3/lostpass.tpl b/view/theme/frost-mobile/smarty3/lostpass.tpl
new file mode 100644 (file)
index 0000000..4072478
--- /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/frost-mobile/smarty3/mail_conv.tpl b/view/theme/frost-mobile/smarty3/mail_conv.tpl
new file mode 100644 (file)
index 0000000..bd72f4e
--- /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}}" class="icon drophide delete-icon mail-list-delete-icon" onclick="return confirmDelete();" 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/frost-mobile/smarty3/message-end.tpl b/view/theme/frost-mobile/smarty3/message-end.tpl
new file mode 100644 (file)
index 0000000..bf19b00
--- /dev/null
@@ -0,0 +1,4 @@
+
+<script src="{{$baseurl}}/library/jquery_ac/friendica.complete.min.js" ></script>
+
+
diff --git a/view/theme/frost-mobile/smarty3/message-head.tpl b/view/theme/frost-mobile/smarty3/message-head.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/theme/frost-mobile/smarty3/moderated_comment.tpl b/view/theme/frost-mobile/smarty3/moderated_comment.tpl
new file mode 100644 (file)
index 0000000..8fbdf4b
--- /dev/null
@@ -0,0 +1,61 @@
+               <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/frost-mobile/smarty3/msg-header.tpl b/view/theme/frost-mobile/smarty3/msg-header.tpl
new file mode 100644 (file)
index 0000000..5b3418f
--- /dev/null
@@ -0,0 +1,9 @@
+
+<script language="javascript" type="text/javascript">
+       window.nickname = "{{$nickname}}";
+       window.linkURL = "{{$linkurl}}";
+       var plaintext = "none";
+       window.ajaxType = 'msg-header';
+       window.autocompleteType = 'msg-header';
+</script>
+
diff --git a/view/theme/frost-mobile/smarty3/nav.tpl b/view/theme/frost-mobile/smarty3/nav.tpl
new file mode 100644 (file)
index 0000000..9e88404
--- /dev/null
@@ -0,0 +1,146 @@
+<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">-->
+       <img rel="#system-menu-list" class="nav-link" src="{{$baseurl}}/view/theme/frost-mobile/images/menu.png">
+<!--   </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}}">-->
+       <img rel="#nav-notifications-menu" class="nav-link" src="{{$baseurl}}/view/theme/frost-mobile/images/notifications.png">
+<!--   </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>-->
+       <div class="nav-button-container">
+<!--   <a class="contacts-menu-link nav-link" href="#contacts-menu" title="Contacts">-->
+       <img rel="#contacts-menu-list"  class="nav-link" src="{{$baseurl}}/view/theme/frost-mobile/images/contacts.png">
+       <!--</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 $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="{{$baseurl}}/view/theme/frost-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>-->
+       <div class="nav-button-container">
+<!--   <a class="network-menu-link nav-link" href="#network-menu" title="Network">-->
+       <img rel="#network-menu-list" class="nav-link" src="{{$baseurl}}/view/theme/frost-mobile/images/network.png">
+<!--   </a>-->
+       {{if $nav.network}}
+       <span id="net-update" class="nav-ajax-left"></span>
+       {{/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>
+               <!--<span id="net-update" class="nav-ajax-left"></span>-->
+               {{/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>
+               <!--<span id="home-update" class="nav-ajax-left"></span>-->
+               {{/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 src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
+</ul>
diff --git a/view/theme/frost-mobile/smarty3/photo_edit.tpl b/view/theme/frost-mobile/smarty3/photo_edit.tpl
new file mode 100644 (file)
index 0000000..420d57c
--- /dev/null
@@ -0,0 +1,53 @@
+
+<form action="photos/{{$nickname}}/{{$resource_id}}" method="post" id="photo_edit_form" >
+
+       <input type="hidden" name="item_id" value="{{$item_id}}" />
+
+       <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 id="photo-edit-albumname-end"></div>
+
+       <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 id="photo-edit-caption-end"></div>
+
+       <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 id="photo-edit-tags-end"></div>
+       <div id="photo-edit-rotate-wrapper">
+               <div class="photo-edit-rotate-label">
+                       {{$rotatecw}}
+               </div>
+               <input class="photo-edit-rotate" type="radio" name="rotate" value="1" /><br />
+
+               <div class="photo-edit-rotate-label">
+                       {{$rotateccw}}
+               </div>
+               <input 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}}
+                       </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()"; />
+
+       <div id="photo-edit-end"></div>
+</form>
+
+
diff --git a/view/theme/frost-mobile/smarty3/photo_edit_head.tpl b/view/theme/frost-mobile/smarty3/photo_edit_head.tpl
new file mode 100644 (file)
index 0000000..5d91e11
--- /dev/null
@@ -0,0 +1,7 @@
+
+<script>
+       window.prevLink = "{{$prevlink}}";
+       window.nextLink = "{{$nextlink}}";
+       window.photoEdit = true;
+
+</script>
diff --git a/view/theme/frost-mobile/smarty3/photo_view.tpl b/view/theme/frost-mobile/smarty3/photo_view.tpl
new file mode 100644 (file)
index 0000000..b2d637a
--- /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>
+{{/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/frost-mobile/images/arrow-left.png"></a></div>{{/if}}
+       {{if $nextlink}}<div id="photo-next-link"><a href="{{$nextlink.0}}"><img src="view/theme/frost-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/frost-mobile/smarty3/photos_head.tpl b/view/theme/frost-mobile/smarty3/photos_head.tpl
new file mode 100644 (file)
index 0000000..f733d62
--- /dev/null
@@ -0,0 +1,5 @@
+
+<script>
+       window.isPublic = "{{$ispublic}}";
+</script>
+
diff --git a/view/theme/frost-mobile/smarty3/photos_upload.tpl b/view/theme/frost-mobile/smarty3/photos_upload.tpl
new file mode 100644 (file)
index 0000000..2017ae7
--- /dev/null
@@ -0,0 +1,48 @@
+<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>
+
+       <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}}
+               </div>
+       </div>
+
+       <div id="photos-upload-spacer"></div>
+
+       {{$uploader}}
+
+       {{$default}}
+
+       <div class="photos-upload-end" ></div>
+</form>
+
diff --git a/view/theme/frost-mobile/smarty3/profed_end.tpl b/view/theme/frost-mobile/smarty3/profed_end.tpl
new file mode 100644 (file)
index 0000000..261e23d
--- /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/frost-mobile/smarty3/profed_head.tpl b/view/theme/frost-mobile/smarty3/profed_head.tpl
new file mode 100644 (file)
index 0000000..83d22d1
--- /dev/null
@@ -0,0 +1,5 @@
+
+<script language="javascript" type="text/javascript">
+       window.editSelect = "none";
+</script>
+
diff --git a/view/theme/frost-mobile/smarty3/profile_edit.tpl b/view/theme/frost-mobile/smarty3/profile_edit.tpl
new file mode 100644 (file)
index 0000000..15127ac
--- /dev/null
@@ -0,0 +1,322 @@
+{{$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>
+<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>
+<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/frost-mobile/smarty3/profile_photo.tpl b/view/theme/frost-mobile/smarty3/profile_photo.tpl
new file mode 100644 (file)
index 0000000..269102c
--- /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/frost-mobile/smarty3/profile_vcard.tpl b/view/theme/frost-mobile/smarty3/profile_vcard.tpl
new file mode 100644 (file)
index 0000000..993626d
--- /dev/null
@@ -0,0 +1,51 @@
+<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="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+
+       <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/frost-mobile/smarty3/prv_message.tpl b/view/theme/frost-mobile/smarty3/prv_message.tpl
new file mode 100644 (file)
index 0000000..2926569
--- /dev/null
@@ -0,0 +1,39 @@
+
+<h3>{{$reply.header}}</h3>
+
+<div id="prvmail-wrapper" >
+<form id="prvmail-form" action="message" method="post" >
+
+{{$reply.parent}}
+
+<div id="prvmail-to-label">{{$reply.to}}</div>
+
+{{if $reply.showinputs}}
+<input type="text" id="recip" name="messageto" value="{{$reply.prefill}}" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="{{$reply.preid}}">
+{{else}}
+{{$reply.select}}
+{{/if}}
+
+<div id="prvmail-subject-label">{{$reply.subject}}</div>
+<input type="text" size="28" maxlength="255" id="prvmail-subject" name="subject" value="{{$reply.subjtxt}}" {{$reply.readonly}} tabindex="11" />
+
+<div id="prvmail-message-label">{{$reply.yourmessage}}</div>
+<textarea rows="8" cols="32" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$reply.text}}</textarea>
+
+
+<div id="prvmail-submit-wrapper" >
+       <input type="submit" id="prvmail-submit" name="submit" value="{{$reply.submit}}" tabindex="13" />
+       <div id="prvmail-upload-wrapper" >
+               <div id="prvmail-upload" class="icon border camera" title="{{$reply.upload}}" ></div>
+       </div> 
+       <div id="prvmail-link-wrapper" >
+               <div id="prvmail-link" class="icon border link" title="{{$reply.insert}}" onclick="jotGetLink();" ></div>
+       </div> 
+       <div id="prvmail-rotator-wrapper" >
+               <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$reply.wait}}" title="{{$reply.wait}}" style="display: none;" />
+       </div> 
+</div>
+<div id="prvmail-end"></div>
+</form>
+</div>
diff --git a/view/theme/frost-mobile/smarty3/register.tpl b/view/theme/frost-mobile/smarty3/register.tpl
new file mode 100644 (file)
index 0000000..62b147a
--- /dev/null
@@ -0,0 +1,78 @@
+<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 />
+       <div id="register-openid-wrapper"  class="field input" >
+                       {{$oidhtml}}
+       </div>
+       <div id="register-openid-end" ></div>
+
+       <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/frost-mobile/smarty3/settings-head.tpl b/view/theme/frost-mobile/smarty3/settings-head.tpl
new file mode 100644 (file)
index 0000000..f733d62
--- /dev/null
@@ -0,0 +1,5 @@
+
+<script>
+       window.isPublic = "{{$ispublic}}";
+</script>
+
diff --git a/view/theme/frost-mobile/smarty3/settings.tpl b/view/theme/frost-mobile/smarty3/settings.tpl
new file mode 100644 (file)
index 0000000..71c40d9
--- /dev/null
@@ -0,0 +1,144 @@
+<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="file:{{$field_password}}" field=$password1}}
+{{include file="file:{{$field_password}}" field=$password2}}
+
+{{if $oid_enable}}
+{{include file="file:{{$field_input}}" 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="file:{{$field_input}}" field=$username}}
+{{include file="file:{{$field_input}}" field=$email}}
+{{include file="file:{{$field_custom}}" field=$timezone}}
+{{include file="file:{{$field_input}}" field=$defloc}}
+{{include file="file:{{$field_checkbox}}" 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="file:{{$field_input}}" field=$maxreq}}
+
+{{$profile_in_dir}}
+
+{{$profile_in_net_dir}}
+
+{{$hide_friends}}
+
+{{$hide_wall}}
+
+{{$blockwall}}
+
+{{$blocktags}}
+
+{{$suggestme}}
+
+{{$unkmail}}
+
+
+{{include file="file:{{$field_input}}" field=$cntunkmail}}
+
+{{include file="file:{{$field_input}}" 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="file:{{$field_yesno}}" field=$expire.items}}
+                       {{include file="file:{{$field_yesno}}" field=$expire.notes}}
+                       {{include file="file:{{$field_yesno}}" field=$expire.starred}}
+                       {{include file="file:{{$field_yesno}}" field=$expire.network_only}}
+               </div>
+       </div>
+
+</div>
+
+
+<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}}
+               </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="file:{{$field_checkbox}}" field=$post_newfriend}}
+{{include file="file:{{$field_checkbox}}" field=$post_joingroup}}
+{{include file="file:{{$field_checkbox}}" field=$post_profilechange}}
+
+
+<div id="settings-notify-desc">{{$lbl_not}}</div>
+
+<div class="group">
+{{include file="file:{{$field_intcheckbox}}" field=$notify1}}
+{{include file="file:{{$field_intcheckbox}}" field=$notify2}}
+{{include file="file:{{$field_intcheckbox}}" field=$notify3}}
+{{include file="file:{{$field_intcheckbox}}" field=$notify4}}
+{{include file="file:{{$field_intcheckbox}}" field=$notify5}}
+{{include file="file:{{$field_intcheckbox}}" field=$notify6}}
+{{include file="file:{{$field_intcheckbox}}" 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/frost-mobile/smarty3/settings_display_end.tpl b/view/theme/frost-mobile/smarty3/settings_display_end.tpl
new file mode 100644 (file)
index 0000000..894e447
--- /dev/null
@@ -0,0 +1,2 @@
+       <script>$j(function(){ previewTheme($j("#id_{{$theme.0}}")[0]); });</script>
+
diff --git a/view/theme/frost-mobile/smarty3/threaded_conversation.tpl b/view/theme/frost-mobile/smarty3/threaded_conversation.tpl
new file mode 100644 (file)
index 0000000..0c96b30
--- /dev/null
@@ -0,0 +1,15 @@
+{{$live_update}}
+
+{{foreach $threads as $thread}}
+{{include file="file:{{$thread.template}}" item=$thread}}
+{{/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/frost-mobile/smarty3/voting_fakelink.tpl b/view/theme/frost-mobile/smarty3/voting_fakelink.tpl
new file mode 100644 (file)
index 0000000..44e7d37
--- /dev/null
@@ -0,0 +1,2 @@
+               <span class="fakelink-wrapper" id={{$vote_id}}-wrapper><span class="fakelink" onclick="openClose('{{$vote_id}}');">{{$count}} {{$people}}</span> {{$vote_mood}}</span>
+
diff --git a/view/theme/frost-mobile/smarty3/wall_thread.tpl b/view/theme/frost-mobile/smarty3/wall_thread.tpl
new file mode 100644 (file)
index 0000000..b7706f3
--- /dev/null
@@ -0,0 +1,126 @@
+{{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-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="{{$item.remove}}">[{{$item.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="{{$item.remove}}">[{{$item.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="#" class="icon like" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></a>
+                               {{if $item.vote.dislike}}
+                               <a href="#" class="icon dislike" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></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="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" 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}}" onclick="return confirmDelete();" 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 {{$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>
+
+       {{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="file:{{$child.template}}" item=$child}}
+{{/foreach}}
+
+{{if $item.flatten}}
+<!--<div class="wall-item-comment-wrapper" >-->
+       {{$item.comment}}
+<!--</div>-->
+{{/if}}
+</div>
+{{if $item.comment_lastcollapsed}}</div>{{/if}}
+
diff --git a/view/theme/frost-mobile/smarty3/wallmsg-end.tpl b/view/theme/frost-mobile/smarty3/wallmsg-end.tpl
new file mode 100644 (file)
index 0000000..d9e34d6
--- /dev/null
@@ -0,0 +1,5 @@
+
+<script language="javascript" type="text/javascript">
+wallInitEditor();
+</script>
+
diff --git a/view/theme/frost-mobile/smarty3/wallmsg-header.tpl b/view/theme/frost-mobile/smarty3/wallmsg-header.tpl
new file mode 100644 (file)
index 0000000..fc95f4d
--- /dev/null
@@ -0,0 +1,6 @@
+
+<script language="javascript" type="text/javascript">
+window.editSelect = "none";
+window.ajaxType = "wallmsg-header";
+</script>
+
index c295a91a6545dbe150a22c8dc60abc8a6d57d456..7a2602e602d7b4ea52e58f4de884bfccaf478acf 100644 (file)
@@ -15,6 +15,7 @@ $a->videowidth = 250;
 $a->videoheight = 200;
 $a->theme_thread_allow = false;
 $a->force_max_items = 10;
+$a->theme['template_engine'] = 'smarty3';
 
 function frost_mobile_content_loaded(&$a) {
 
index 26ff683f264d26c74f7936d028c358ce0c2784df..25cfe662146663a38f48a4de9eb0f8585551ba63 100644 (file)
@@ -1,7 +1,7 @@
 $live_update
 
-{{ for $threads as $item }}
-{{ inc $item.template }}{{ endinc }}
+{{ for $threads as $thread }}
+{{ inc $thread.template with $item=$thread }}{{ endinc }}
 {{ endfor }}
 
 <div id="conversation-end"></div>
diff --git a/view/theme/frost-mobile/voting_fakelink.tpl b/view/theme/frost-mobile/voting_fakelink.tpl
new file mode 100644 (file)
index 0000000..c342046
--- /dev/null
@@ -0,0 +1,2 @@
+               <span class="fakelink-wrapper" id=$vote_id-wrapper><span class="fakelink" onclick="openClose('$vote_id');">$count $people</span> $vote_mood</span>
+
index 2b3b3d42d846061742a400d6ce4cc5e44b29fa86..a6a8f9615df53f4f3a67c595c4e3a22a7f2b65d6 100644 (file)
                                                {{ 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 class="categorytags">$item.txt_cats {{ for $item.categories as $cat }}$cat.name <a href="$cat.removeurl" title="$item.remove">[$item.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 class="filesavetags">$item.txt_folders {{ for $item.folders as $cat }}$cat.name <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
                        </div>
                        {{ endif }}
                        </div>
 
 <!--<div class="wall-item-outside-wrapper-end $item.indent" ></div>-->
 <!--</div>-->
-{{ for $item.children as $item }}
-       {{ inc $item.template }}{{ endinc }}
+{{ for $item.children as $child }}
+       {{ inc $child.template with $item=$child }}{{ endinc }}
 {{ endfor }}
 
 {{ if $item.flatten }}
index 087de4f7dbca41328d27d5e91872b0730e657309..90f1190e9d480d4db89e5ca14066d4a4fc68a8bb 100644 (file)
@@ -5,55 +5,55 @@
        <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 }}
+       {{ inc $field_input with $field=$sitename }}{{ endinc }}
+       {{ inc $field_textarea with $field=$banner }}{{ endinc }}
+       {{ inc $field_select with $field=$language }}{{ endinc }}
+       {{ inc $field_select with $field=$theme }}{{ endinc }}
+       {{ inc $field_select with $field=$theme_mobile }}{{ endinc }}
+       {{ inc $field_select 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 }}
+       {{ inc $field_input with $field=$register_text }}{{ endinc }}
+       {{ inc $field_select with $field=$register_policy }}{{ endinc }}
+       {{ inc $field_input with $field=$daily_registrations }}{{ endinc }}     
+       {{ inc $field_checkbox with $field=$no_multi_reg }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$no_openid }}{{ endinc }}
+       {{ inc $field_checkbox 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 }}
+       {{ inc $field_input with $field=$maximagesize }}{{ endinc }}
+       {{ inc $field_input with $field=$maximagelength }}{{ endinc }}
+       {{ inc $field_input 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 }}
+       {{ inc $field_input with $field=$allowed_sites }}{{ endinc }}
+       {{ inc $field_input with $field=$allowed_email }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$block_public }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$force_publish }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$no_community_page }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$ostatus_disabled }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$diaspora_enabled }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$dfrn_only }}{{ endinc }}
+       {{ inc $field_input with $field=$global_directory }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$thread_allow }}{{ endinc }}
+       {{ inc $field_checkbox 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 }}
+       {{ inc $field_checkbox with $field=$no_utf }}{{ endinc }}
+       {{ inc $field_checkbox with $field=$verifyssl }}{{ endinc }}
+       {{ inc $field_input with $field=$proxy }}{{ endinc }}
+       {{ inc $field_input with $field=$proxyuser }}{{ endinc }}
+       {{ inc $field_input with $field=$timeout }}{{ endinc }}
+       {{ inc $field_input with $field=$delivery_interval }}{{ endinc }}
+       {{ inc $field_input with $field=$poll_interval }}{{ endinc }}
+       {{ inc $field_input with $field=$maxloadavg }}{{ endinc }}
+       {{ inc $field_input with $field=$abandon_days }}{{ endinc }}
        
        <div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
        
index 76254c1ca8209b446317818f3ad18899ea4ef858..b148fb4a6965b245426297756ee61a2c97252ebe 100644 (file)
@@ -15,8 +15,8 @@ $tabs
 
 
 <div id="contacts-display-wrapper">
-{{ for $contacts as $contact }}
-       {{ inc contact_template.tpl }}{{ endinc }}
+{{ for $contacts as $c }}
+       {{ inc $contact_template with $contact=$c }}{{ endinc }}
 {{ endfor }}
 </div>
 <div id="contact-edit-end"></div>
index bc99e6d95f6396c7158f69c1c36a104fc93e1d7b..1ba66ba1e6a94ecc9003b4e216038cabf868ebd6 100644 (file)
@@ -4,14 +4,14 @@
        <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 }}
+       {{ inc $field_input with $field=$lname }}{{ endinc }}
+       {{ inc $field_password with $field=$lpassword }}{{ endinc }}
        </div>
        
        {{ if $openid }}
                        <br /><br />
                        <div id="login_openid">
-                       {{ inc field_openid.tpl with $field=$lopenid }}{{ endinc }}
+                       {{ inc $field_openid with $field=$lopenid }}{{ endinc }}
                        </div>
        {{ endif }}
 
        </div>-->
 
        <br /><br />
+       {{ inc $field_checkbox with $field=$lremember }}{{ endinc }}
+
        <div id="login-submit-wrapper" >
                <input type="submit" name="submit" id="login-submit-button" value="$login" />
        </div>
 
-       {{ inc field_checkbox.tpl with $field=$lremember }}{{ endinc }}
+       <br /><br />
 
-       <br /><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>
index bcb5baeeb5935607d8033e8b8dcb9ae1baeaaea8..c36f0d54a8054e0bcd74fe3a522b55eeca024ae3 100644 (file)
@@ -31,7 +31,7 @@
 
        {{ 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 }}
+       {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
 
        <div id="profile-vcard-break"></div>    
        <div id="profile-extra-links">
index b5cda9c85ec216cdf150a0c0e4844672f557064f..171947f8575197fc80fe108938f027759519a487 100644 (file)
@@ -1,37 +1,37 @@
 
-<h3>$header</h3>
+<h3>$reply.header</h3>
 
 <div id="prvmail-wrapper" >
 <form id="prvmail-form" action="message" method="post" >
 
-$parent
+$reply.parent
 
-<div id="prvmail-to-label">$to</div>
+<div id="prvmail-to-label">$reply.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">
+{{ if $reply.showinputs }}
+<input type="text" id="recip" name="messageto" value="$reply.prefill" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="$reply.preid">
 {{ else }}
-$select
+$reply.select
 {{ endif }}
 
-<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-subject-label">$reply.subject</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$reply.subjtxt" $reply.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-message-label">$reply.yourmessage</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$reply.text</textarea>
 
 
 <div id="prvmail-submit-wrapper" >
-       <input type="submit" id="prvmail-submit" name="submit" value="Submit" tabindex="13" />
+       <input type="submit" id="prvmail-submit" name="submit" value="$reply.submit" tabindex="13" />
        <div id="prvmail-upload-wrapper" >
-               <div id="prvmail-upload" class="icon border camera" title="$upload" ></div>
+               <div id="prvmail-upload" class="icon border camera" title="$reply.upload" ></div>
        </div> 
        <div id="prvmail-link-wrapper" >
-               <div id="prvmail-link" class="icon border link" title="$insert" onclick="jotGetLink();" ></div>
+               <div id="prvmail-link" class="icon border link" title="$reply.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;" />
+               <img id="prvmail-rotator" src="images/rotator.gif" alt="$reply.wait" title="$reply.wait" style="display: none;" />
        </div> 
 </div>
 <div id="prvmail-end"></div>
diff --git a/view/theme/frost/smarty3/acl_selector.tpl b/view/theme/frost/smarty3/acl_selector.tpl
new file mode 100644 (file)
index 0000000..5b330de
--- /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 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/frost/smarty3/admin_aside.tpl b/view/theme/frost/smarty3/admin_aside.tpl
new file mode 100644 (file)
index 0000000..f60a22a
--- /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>
+{{/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/frost/smarty3/admin_site.tpl b/view/theme/frost/smarty3/admin_site.tpl
new file mode 100644 (file)
index 0000000..249c1da
--- /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}}'>
+
+       {{include file="file:{{$field_input}}" field=$sitename}}
+       {{include file="file:{{$field_textarea}}" field=$banner}}
+       {{include file="file:{{$field_select}}" field=$language}}
+       {{include file="file:{{$field_select}}" field=$theme}}
+       {{include file="file:{{$field_select}}" field=$theme_mobile}}
+       {{include file="file:{{$field_select}}" field=$ssl_policy}}
+       
+       <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
+       
+       <h3>{{$registration}}</h3>
+       {{include file="file:{{$field_input}}" field=$register_text}}
+       {{include file="file:{{$field_select}}" field=$register_policy}}
+       {{include file="file:{{$field_input}}" field=$daily_registrations}}     
+       {{include file="file:{{$field_checkbox}}" field=$no_multi_reg}}
+       {{include file="file:{{$field_checkbox}}" field=$no_openid}}
+       {{include file="file:{{$field_checkbox}}" field=$no_regfullname}}
+       
+       <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
+
+       <h3>{{$upload}}</h3>
+       {{include file="file:{{$field_input}}" field=$maximagesize}}
+       {{include file="file:{{$field_input}}" field=$maximagelength}}
+       {{include file="file:{{$field_input}}" field=$jpegimagequality}}
+       
+       <h3>{{$corporate}}</h3>
+       {{include file="file:{{$field_input}}" field=$allowed_sites}}
+       {{include file="file:{{$field_input}}" field=$allowed_email}}
+       {{include file="file:{{$field_checkbox}}" field=$block_public}}
+       {{include file="file:{{$field_checkbox}}" field=$force_publish}}
+       {{include file="file:{{$field_checkbox}}" field=$no_community_page}}
+       {{include file="file:{{$field_checkbox}}" field=$ostatus_disabled}}
+       {{include file="file:{{$field_checkbox}}" field=$diaspora_enabled}}
+       {{include file="file:{{$field_checkbox}}" field=$dfrn_only}}
+       {{include file="file:{{$field_input}}" field=$global_directory}}
+       {{include file="file:{{$field_checkbox}}" field=$thread_allow}}
+       {{include file="file:{{$field_checkbox}}" field=$newuser_private}}
+       
+       <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
+       
+       <h3>{{$advanced}}</h3>
+       {{include file="file:{{$field_checkbox}}" field=$no_utf}}
+       {{include file="file:{{$field_checkbox}}" field=$verifyssl}}
+       {{include file="file:{{$field_input}}" field=$proxy}}
+       {{include file="file:{{$field_input}}" field=$proxyuser}}
+       {{include file="file:{{$field_input}}" field=$timeout}}
+       {{include file="file:{{$field_input}}" field=$delivery_interval}}
+       {{include file="file:{{$field_input}}" field=$poll_interval}}
+       {{include file="file:{{$field_input}}" field=$maxloadavg}}
+       {{include file="file:{{$field_input}}" field=$abandon_days}}
+       
+       <div class="submit"><input type="submit" name="page_site" value="{{$submit}}" /></div>
+       
+       </form>
+</div>
diff --git a/view/theme/frost/smarty3/comment_item.tpl b/view/theme/frost/smarty3/comment_item.tpl
new file mode 100644 (file)
index 0000000..f571be9
--- /dev/null
@@ -0,0 +1,77 @@
+<!--           <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;">
+                       <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;">-->
+                               <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" />
+                               <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="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-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}});" >
+                                       <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}}" 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/frost/smarty3/contact_end.tpl b/view/theme/frost/smarty3/contact_end.tpl
new file mode 100644 (file)
index 0000000..8d48e5d
--- /dev/null
@@ -0,0 +1,6 @@
+
+<script language="javascript" type="text/javascript">
+window.editSelect = "{{$editselect}}";
+contactInitEditor();
+</script>
+
diff --git a/view/theme/frost/smarty3/contact_head.tpl b/view/theme/frost/smarty3/contact_head.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/theme/frost/smarty3/contact_template.tpl b/view/theme/frost/smarty3/contact_template.tpl
new file mode 100644 (file)
index 0000000..31febae
--- /dev/null
@@ -0,0 +1,27 @@
+
+<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}}); openMenu('contact-photo-menu-button-{{$contact.id}}')" 
+               onmouseout="t{{$contact.id}}=setTimeout('closeMenu(\'contact-photo-menu-button-{{$contact.id}}\'); 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>
+
+                       {{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>
+                        {{$contact.photo_menu}}
+                    </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/frost/smarty3/contacts-end.tpl b/view/theme/frost/smarty3/contacts-end.tpl
new file mode 100644 (file)
index 0000000..bf19b00
--- /dev/null
@@ -0,0 +1,4 @@
+
+<script src="{{$baseurl}}/library/jquery_ac/friendica.complete.min.js" ></script>
+
+
diff --git a/view/theme/frost/smarty3/contacts-head.tpl b/view/theme/frost/smarty3/contacts-head.tpl
new file mode 100644 (file)
index 0000000..5ae97f9
--- /dev/null
@@ -0,0 +1,5 @@
+
+<script>
+       window.autocompleteType = 'contacts-head';
+</script>
+
diff --git a/view/theme/frost/smarty3/contacts-template.tpl b/view/theme/frost/smarty3/contacts-template.tpl
new file mode 100644 (file)
index 0000000..a6cc66a
--- /dev/null
@@ -0,0 +1,28 @@
+<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 $c}}
+       {{include file="file:{{$contact_template}}" contact=$c}}
+{{/foreach}}
+</div>
+<div id="contact-edit-end"></div>
+
+{{$paginate}}
+
+
+
+
diff --git a/view/theme/frost/smarty3/cropbody.tpl b/view/theme/frost/smarty3/cropbody.tpl
new file mode 100644 (file)
index 0000000..2678488
--- /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/frost/smarty3/cropend.tpl b/view/theme/frost/smarty3/cropend.tpl
new file mode 100644 (file)
index 0000000..a56c71d
--- /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/frost/smarty3/crophead.tpl b/view/theme/frost/smarty3/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/frost/smarty3/display-head.tpl b/view/theme/frost/smarty3/display-head.tpl
new file mode 100644 (file)
index 0000000..1fc82ae
--- /dev/null
@@ -0,0 +1,4 @@
+<script>
+       window.autoCompleteType = 'display-head';
+</script>
+
diff --git a/view/theme/frost/smarty3/end.tpl b/view/theme/frost/smarty3/end.tpl
new file mode 100644 (file)
index 0000000..dc8cb63
--- /dev/null
@@ -0,0 +1,20 @@
+<!--[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/frost/js/jquery.divgrow-1.3.1.f1.min.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/js/jquery.textinputs.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/fk.autocomplete.min.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/frost/js/acl.min.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/js/webtoolkit.base64.min.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/main.min.js" ></script>
+<script type="text/javascript" src="{{$baseurl}}/view/theme/frost/js/theme.min.js"></script>
+
diff --git a/view/theme/frost/smarty3/event_end.tpl b/view/theme/frost/smarty3/event_end.tpl
new file mode 100644 (file)
index 0000000..740c428
--- /dev/null
@@ -0,0 +1,7 @@
+<script language="javascript" type="text/javascript"
+          src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script>
+
+<script language="javascript" type="text/javascript">
+eventInitEditor();
+</script>
+
diff --git a/view/theme/frost/smarty3/event_head.tpl b/view/theme/frost/smarty3/event_head.tpl
new file mode 100644 (file)
index 0000000..a1e8789
--- /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/frost/smarty3/field_combobox.tpl b/view/theme/frost/smarty3/field_combobox.tpl
new file mode 100644 (file)
index 0000000..4d12304
--- /dev/null
@@ -0,0 +1,18 @@
+       
+       <div class='field combobox'>
+               <label for='id_{{$field.0}}' id='id_{{$field.0}}_label'>{{$field.1}}</label>
+               {{* html5 don't work on Chrome, Safari and IE9
+               <input id="id_{{$field.0}}" type="text" list="data_{{$field.0}}" >
+               <datalist id="data_{{$field.0}}" >
+                  {{foreach $field.4 as $opt=>$val}}<option value="{{$val}}">{{/foreach}}
+               </datalist> *}}
+               
+               <input id="id_{{$field.0}}" type="text" value="{{$field.2}}">
+               <select id="select_{{$field.0}}" onChange="$j('#id_{{$field.0}}').val($j(this).val())">
+                       <option value="">{{$field.5}}</option>
+                       {{foreach $field.4 as $opt=>$val}}<option value="{{$val}}">{{$val}}</option>{{/foreach}}
+               </select>
+               
+               <span class='field_help'>{{$field.3}}</span>
+       </div>
+
diff --git a/view/theme/frost/smarty3/field_input.tpl b/view/theme/frost/smarty3/field_input.tpl
new file mode 100644 (file)
index 0000000..41a636f
--- /dev/null
@@ -0,0 +1,6 @@
+       
+       <div class='field input' id='wrapper_{{$field.0}}'>
+               <label for='id_{{$field.0}}'>{{$field.1}}</label>
+               <input name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
+               <span class='field_help'>{{$field.3}}</span>
+       </div>
diff --git a/view/theme/frost/smarty3/field_openid.tpl b/view/theme/frost/smarty3/field_openid.tpl
new file mode 100644 (file)
index 0000000..d8a9394
--- /dev/null
@@ -0,0 +1,6 @@
+       
+       <div class='field input openid' id='wrapper_{{$field.0}}'>
+               <label for='id_{{$field.0}}'>{{$field.1}}</label>
+               <input name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.2}}">
+               <span class='field_help'>{{$field.3}}</span>
+       </div>
diff --git a/view/theme/frost/smarty3/field_password.tpl b/view/theme/frost/smarty3/field_password.tpl
new file mode 100644 (file)
index 0000000..5dd2c5d
--- /dev/null
@@ -0,0 +1,6 @@
+       
+       <div class='field password' id='wrapper_{{$field.0}}'>
+               <label for='id_{{$field.0}}'>{{$field.1}}</label>
+               <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/frost/smarty3/field_themeselect.tpl b/view/theme/frost/smarty3/field_themeselect.tpl
new file mode 100644 (file)
index 0000000..f1cd793
--- /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);"{{/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/frost/smarty3/filebrowser.tpl b/view/theme/frost/smarty3/filebrowser.tpl
new file mode 100644 (file)
index 0000000..2a24671
--- /dev/null
@@ -0,0 +1,84 @@
+<!DOCTYPE html>
+<html>
+       <head>
+       <script type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_popup.js"></script>
+       <style>
+               .panel_wrapper div.current{.overflow: auto; height: auto!important; }
+               .filebrowser.path { font-family: fixed; font-size: 10px; background-color: #f0f0ee; height:auto; overflow:auto;}
+               .filebrowser.path a { border-left: 1px solid #C0C0AA; background-color: #E0E0DD; display: block; float:left; padding: 0.3em 1em;}
+               .filebrowser ul{ list-style-type: none; padding:0px; }
+               .filebrowser.folders a { display: block; padding: 0.3em }
+               .filebrowser.folders a:hover { background-color: #f0f0ee; }
+               .filebrowser.files.image { overflow: auto; height: auto; }
+               .filebrowser.files.image img { height:100px;}
+               .filebrowser.files.image li { display: block; padding: 5px; float: left; }
+               .filebrowser.files.image span { display: none;}
+               .filebrowser.files.file img { height:16px; vertical-align: bottom;}
+               .filebrowser.files a { display: block;  padding: 0.3em}
+               .filebrowser.files a:hover { background-color: #f0f0ee; }
+               .filebrowser a { text-decoration: none; }
+       </style>
+       <script>
+               var FileBrowserDialogue = {
+                       init : function () {
+                               // Here goes your code for setting your custom things onLoad.
+                       },
+                       mySubmit : function (URL) {
+                               //var URL = document.my_form.my_field.value;
+                               var win = tinyMCEPopup.getWindowArg("window");
+
+                               // insert information now
+                               win.document.getElementById(tinyMCEPopup.getWindowArg("input")).value = URL;
+
+                               // are we an image browser
+                               if (typeof(win.ImageDialog) != "undefined") {
+                                       // we are, so update image dimensions...
+                                       if (win.ImageDialog.getImageData)
+                                               win.ImageDialog.getImageData();
+
+                                       // ... and preview if necessary
+                                       if (win.ImageDialog.showPreviewImage)
+                                               win.ImageDialog.showPreviewImage(URL);
+                               }
+
+                               // close popup window
+                               tinyMCEPopup.close();
+                       }
+               }
+
+               tinyMCEPopup.onInit.add(FileBrowserDialogue.init, FileBrowserDialogue);
+       </script>
+       </head>
+       <body>
+       
+       <div class="tabs">
+               <ul >
+                       <li class="current"><span>FileBrowser</span></li>
+               </ul>
+       </div>
+       <div class="panel_wrapper">
+
+               <div id="general_panel" class="panel current">
+                       <div class="filebrowser path">
+                               {{foreach $path as $p}}<a href="{{$p.0}}">{{$p.1}}</a>{{/foreach}}
+                       </div>
+                       <div class="filebrowser folders">
+                               <ul>
+                                       {{foreach $folders as $f}}<li><a href="{{$f.0}}/">{{$f.1}}</a></li>{{/foreach}}
+                               </ul>
+                       </div>
+                       <div class="filebrowser files {{$type}}">
+                               <ul>
+                               {{foreach $files as $f}}
+                                       <li><a href="#" onclick="FileBrowserDialogue.mySubmit('{{$f.0}}'); return false;"><img src="{{$f.2}}"><span>{{$f.1}}</span></a></li>
+                               {{/foreach}}
+                               </ul>
+                       </div>
+               </div>
+       </div>
+       <div class="mceActionPanel">
+               <input type="button" id="cancel" name="cancel" value="{{*cancel}" onclick="tinyMCEPopup.close();" />
+       </div>  
+       </body>
+       
+</html>
diff --git a/view/theme/frost/smarty3/head.tpl b/view/theme/frost/smarty3/head.tpl
new file mode 100644 (file)
index 0000000..111f05f
--- /dev/null
@@ -0,0 +1,23 @@
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+<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/frost/smarty3/jot-end.tpl b/view/theme/frost/smarty3/jot-end.tpl
new file mode 100644 (file)
index 0000000..079481a
--- /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/frost/smarty3/jot-header.tpl b/view/theme/frost/smarty3/jot-header.tpl
new file mode 100644 (file)
index 0000000..6e852af
--- /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.ajaxType = 'jot-header';
+       window.delItems = '{{$delitems}}';
+</script>
+
diff --git a/view/theme/frost/smarty3/jot.tpl b/view/theme/frost/smarty3/jot.tpl
new file mode 100644 (file)
index 0000000..119f0d2
--- /dev/null
@@ -0,0 +1,90 @@
+
+<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="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" style="display:none"></div>
+               {{if $placeholdercategory}}
+               <div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" /></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" >{{if $content}}{{$content}}{{else}}{{$share}}{{/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-upload-wrapper" style="display: {{$visitor}};" >
+               <div id="wall-image-upload-div" ><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" ><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> 
+       <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>
+
+<!--   <span id="jot-display-location" style="display: none;"></span>-->
+
+       <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="jot-preview-content" style="display:none;"></div>
+
+       <div style="display: none;">
+               <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
+                       {{$acl}}
+                       <hr style="clear:both"/>
+                       <div id="profile-jot-email-label">{{$emailcc}}</div><input type="text" name="emailcc" id="profile-jot-email" title="{{$emtitle}}" />
+                       <div id="profile-jot-email-end"></div>
+                       {{$jotnets}}
+               </div>
+       </div>
+
+
+</div>
+
+<div id="profile-jot-end"></div>
+</form>
+</div>
+               {{if $content}}<script>window.jotInit = true;</script>{{/if}}
diff --git a/view/theme/frost/smarty3/jot_geotag.tpl b/view/theme/frost/smarty3/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/frost/smarty3/lang_selector.tpl b/view/theme/frost/smarty3/lang_selector.tpl
new file mode 100644 (file)
index 0000000..945cbf5
--- /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();" >
+                       {{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/frost/smarty3/login.tpl b/view/theme/frost/smarty3/login.tpl
new file mode 100644 (file)
index 0000000..81dad28
--- /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">
+       {{include file="file:{{$field_input}}" field=$lname}}
+       {{include file="file:{{$field_password}}" field=$lpassword}}
+       </div>
+       
+       {{if $openid}}
+                       <br /><br />
+                       <div id="login_openid">
+                       {{include file="file:{{$field_openid}}" field=$lopenid}}
+                       </div>
+       {{/if}}
+
+<!--   <br /><br />
+       <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 /><br />
+       {{include file="file:{{$field_checkbox}}" 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>
+       
+       {{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/frost/smarty3/login_head.tpl b/view/theme/frost/smarty3/login_head.tpl
new file mode 100644 (file)
index 0000000..8e217ac
--- /dev/null
@@ -0,0 +1,2 @@
+<!--<link rel="stylesheet" href="{{$baseurl}}/view/theme/frost/login-style.css" type="text/css" media="all" />-->
+
diff --git a/view/theme/frost/smarty3/lostpass.tpl b/view/theme/frost/smarty3/lostpass.tpl
new file mode 100644 (file)
index 0000000..4add629
--- /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>
+        <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/frost/smarty3/message-end.tpl b/view/theme/frost/smarty3/message-end.tpl
new file mode 100644 (file)
index 0000000..bf19b00
--- /dev/null
@@ -0,0 +1,4 @@
+
+<script src="{{$baseurl}}/library/jquery_ac/friendica.complete.min.js" ></script>
+
+
diff --git a/view/theme/frost/smarty3/message-head.tpl b/view/theme/frost/smarty3/message-head.tpl
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/view/theme/frost/smarty3/moderated_comment.tpl b/view/theme/frost/smarty3/moderated_comment.tpl
new file mode 100644 (file)
index 0000000..8fbdf4b
--- /dev/null
@@ -0,0 +1,61 @@
+               <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/frost/smarty3/msg-end.tpl b/view/theme/frost/smarty3/msg-end.tpl
new file mode 100644 (file)
index 0000000..7b63efd
--- /dev/null
@@ -0,0 +1,9 @@
+
+<!--<script language="javascript" type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>-->
+<script type="text/javascript" src="js/ajaxupload.min.js" ></script>
+
+<script language="javascript" type="text/javascript">
+       msgInitEditor();
+</script>
+
+
diff --git a/view/theme/frost/smarty3/msg-header.tpl b/view/theme/frost/smarty3/msg-header.tpl
new file mode 100644 (file)
index 0000000..760d2ad
--- /dev/null
@@ -0,0 +1,9 @@
+
+<script language="javascript" type="text/javascript">
+       window.nickname = "{{$nickname}}";
+       window.linkURL = "{{$linkurl}}";
+       var plaintext = "{{$editselect}}";
+       window.ajaxType = 'msg-header';
+       window.autocompleteType = 'msg-header';
+</script>
+
diff --git a/view/theme/frost/smarty3/nav.tpl b/view/theme/frost/smarty3/nav.tpl
new file mode 100644 (file)
index 0000000..6b1d64f
--- /dev/null
@@ -0,0 +1,148 @@
+<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 nav-menu-link" rel="#system-menu-list">
+       <a class="system-menu-link nav-link" href="{{$nav.settings.0}}" title="Main Menu">
+       <img class="system-menu-link" src="{{$baseurl}}/view/theme/frost/images/menu.png">
+       </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}}">
+       <img rel="#nav-notifications-menu" src="{{$baseurl}}/view/theme/frost/images/notifications.png">
+       </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>-->
+       <div class="nav-button-container nav-menu-link" rel="#contacts-menu-list">
+       <a class="contacts-menu-link nav-link" href="{{$nav.contacts.0}}" title="Contacts">
+       <img class="contacts-menu-link" src="{{$baseurl}}/view/theme/frost/images/contacts.png">
+       </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 $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-link {{$nav.messages.2}} {{$sel.messages}} nav-load-page-link" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >
+       <img src="{{$baseurl}}/view/theme/frost/images/message.png">
+       </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>-->
+       <div class="nav-button-container nav-menu-link" rel="#network-menu-list">
+       <a class="network-menu-link nav-link" href="{{$nav.network.0}}" title="Network">
+       <img class="network-menu-link" src="{{$baseurl}}/view/theme/frost/images/network.png">
+       </a>
+       {{if $nav.network}}
+       <span id="net-update" class="nav-ajax-left"></span>
+       {{/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>
+               <!--<span id="net-update" class="nav-ajax-left"></span>-->
+               {{/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>
+               <!--<span id="home-update" class="nav-ajax-left"></span>-->
+               {{/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>
+               
+       {{if $nav.network}}
+       <div class="nav-button-container nav-menu-link" rel="#network-reset-button">
+       <a class="nav-menu-icon network-reset-link nav-link" href="{{$nav.net_reset.0}}" title="{{$nav.net_reset.3}}">
+       <img class="network-reset-link" src="{{$baseurl}}/view/theme/frost/images/net-reset.png">
+       </a>
+       </div>
+       {{/if}}
+               
+       </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 src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
+</ul>
diff --git a/view/theme/frost/smarty3/photo_edit.tpl b/view/theme/frost/smarty3/photo_edit.tpl
new file mode 100644 (file)
index 0000000..3ef8879
--- /dev/null
@@ -0,0 +1,58 @@
+
+<form action="photos/{{$nickname}}/{{$resource_id}}" method="post" id="photo_edit_form" >
+
+       <input type="hidden" name="item_id" value="{{$item_id}}" />
+
+       <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 id="photo-edit-albumname-end"></div>
+
+       <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 id="photo-edit-caption-end"></div>
+
+       <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 id="photo-edit-tags-end"></div>
+       <div id="photo-edit-rotate-wrapper">
+               <div class="photo-edit-rotate-label">
+                       {{$rotatecw}}
+               </div>
+               <input class="photo-edit-rotate" type="radio" name="rotate" value="1" /><br />
+
+               <div class="photo-edit-rotate-label">
+                       {{$rotateccw}}
+               </div>
+               <input 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}}
+                       </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()"; />
+
+       <div id="photo-edit-end"></div>
+</form>
+
+<!--<script>
+       $("a#photo-edit-perms-menu").fancybox({
+               'transitionIn' : 'none',
+               'transitionOut' : 'none'
+       }); 
+</script>-->
diff --git a/view/theme/frost/smarty3/photo_edit_head.tpl b/view/theme/frost/smarty3/photo_edit_head.tpl
new file mode 100644 (file)
index 0000000..5d91e11
--- /dev/null
@@ -0,0 +1,7 @@
+
+<script>
+       window.prevLink = "{{$prevlink}}";
+       window.nextLink = "{{$nextlink}}";
+       window.photoEdit = true;
+
+</script>
diff --git a/view/theme/frost/smarty3/photo_view.tpl b/view/theme/frost/smarty3/photo_view.tpl
new file mode 100644 (file)
index 0000000..b2d637a
--- /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>
+{{/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/frost-mobile/images/arrow-left.png"></a></div>{{/if}}
+       {{if $nextlink}}<div id="photo-next-link"><a href="{{$nextlink.0}}"><img src="view/theme/frost-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/frost/smarty3/photos_head.tpl b/view/theme/frost/smarty3/photos_head.tpl
new file mode 100644 (file)
index 0000000..f733d62
--- /dev/null
@@ -0,0 +1,5 @@
+
+<script>
+       window.isPublic = "{{$ispublic}}";
+</script>
+
diff --git a/view/theme/frost/smarty3/photos_upload.tpl b/view/theme/frost/smarty3/photos_upload.tpl
new file mode 100644 (file)
index 0000000..9cc29b0
--- /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" size="4">
+               {{$albumselect}}
+               </select>
+       </div>
+       <div id="photos-upload-exist-end"></div>
+
+       <div id="photos-upload-choosefile-outer-wrapper">
+       <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">
+               <label id="photos-upload-noshare-text" for="photos-upload-noshare" >{{$nosharetext}}</label>
+               </div>
+       </div>
+
+       <div id="photos-upload-perms" class="photos-upload-perms" >
+               <a href="#photos-upload-permissions-wrapper" id="photos-upload-perms-menu" class="popupbox button" />
+               <span id="jot-perms-icon" class="icon {{$lockstate}}  photo-perms-icon" ></span><div class="photo-jot-perms-text">{{$permissions}}</div>
+               </a>
+       </div>
+       <div id="photos-upload-perms-end"></div>
+
+       <div style="display: none;">
+               <div id="photos-upload-permissions-wrapper">
+                       {{$aclselect}}
+               </div>
+       </div>
+
+       <div id="photos-upload-spacer"></div>
+
+       {{$uploader}}
+
+       {{$default}}
+
+       <div class="photos-upload-end" ></div>
+       </div>
+</form>
+
diff --git a/view/theme/frost/smarty3/posted_date_widget.tpl b/view/theme/frost/smarty3/posted_date_widget.tpl
new file mode 100644 (file)
index 0000000..d3d0c19
--- /dev/null
@@ -0,0 +1,9 @@
+<div id="datebrowse-sidebar" class="widget">
+       <h3>{{$title}}</h3>
+<script>function dateSubmit(dateurl) { window.location.href = dateurl; } </script>
+<select id="posted-date-selector" name="posted-date-select" onchange="dateSubmit($j(this).val());" size="{{$size}}">
+{{foreach $dates as $d}}
+<option value="{{$url}}/{{$d.1}}/{{$d.2}}" >{{$d.0}}</option>
+{{/foreach}}
+</select>
+</div>
diff --git a/view/theme/frost/smarty3/profed_end.tpl b/view/theme/frost/smarty3/profed_end.tpl
new file mode 100644 (file)
index 0000000..21b20a6
--- /dev/null
@@ -0,0 +1,9 @@
+
+<script type="text/javascript" src="js/country.min.js" ></script>
+
+<script language="javascript" type="text/javascript">
+       profInitEditor();
+       Fill_Country('{{$country_name}}');
+       Fill_States('{{$region}}');
+</script>
+
diff --git a/view/theme/frost/smarty3/profed_head.tpl b/view/theme/frost/smarty3/profed_head.tpl
new file mode 100644 (file)
index 0000000..bd300a6
--- /dev/null
@@ -0,0 +1,5 @@
+
+<script language="javascript" type="text/javascript">
+       window.editSelect = "{{$editselect}}";
+</script>
+
diff --git a/view/theme/frost/smarty3/profile_edit.tpl b/view/theme/frost/smarty3/profile_edit.tpl
new file mode 100644 (file)
index 0000000..15127ac
--- /dev/null
@@ -0,0 +1,322 @@
+{{$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>
+<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>
+<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/frost/smarty3/profile_vcard.tpl b/view/theme/frost/smarty3/profile_vcard.tpl
new file mode 100644 (file)
index 0000000..993626d
--- /dev/null
@@ -0,0 +1,51 @@
+<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="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+
+       <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/frost/smarty3/prv_message.tpl b/view/theme/frost/smarty3/prv_message.tpl
new file mode 100644 (file)
index 0000000..e7fd32c
--- /dev/null
@@ -0,0 +1,39 @@
+
+<h3>{{$reply.header}}</h3>
+
+<div id="prvmail-wrapper" >
+<form id="prvmail-form" action="message" method="post" >
+
+{{$reply.parent}}
+
+<div id="prvmail-to-label">{{$reply.to}}</div>
+
+{{if $reply.showinputs}}
+<input type="text" id="recip" name="messageto" value="{{$reply.prefill}}" maxlength="255" size="64" tabindex="10" />
+<input type="hidden" id="recip-complete" name="messageto" value="{{$reply.preid}}">
+{{else}}
+{{$reply.select}}
+{{/if}}
+
+<div id="prvmail-subject-label">{{$reply.subject}}</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$reply.subjtxt}}" {{$reply.readonly}} tabindex="11" />
+
+<div id="prvmail-message-label">{{$reply.yourmessage}}</div>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$reply.text}}</textarea>
+
+
+<div id="prvmail-submit-wrapper" >
+       <input type="submit" id="prvmail-submit" name="submit" value="{{$reply.submit}}" tabindex="13" />
+       <div id="prvmail-upload-wrapper" >
+               <div id="prvmail-upload" class="icon border camera" title="{{$reply.upload}}" ></div>
+       </div> 
+       <div id="prvmail-link-wrapper" >
+               <div id="prvmail-link" class="icon border link" title="{{$reply.insert}}" onclick="jotGetLink();" ></div>
+       </div> 
+       <div id="prvmail-rotator-wrapper" >
+               <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$reply.wait}}" title="{{$reply.wait}}" style="display: none;" />
+       </div> 
+</div>
+<div id="prvmail-end"></div>
+</form>
+</div>
diff --git a/view/theme/frost/smarty3/register.tpl b/view/theme/frost/smarty3/register.tpl
new file mode 100644 (file)
index 0000000..6b8e85a
--- /dev/null
@@ -0,0 +1,78 @@
+<div class='register-form'>
+<h2>{{$regtitle}}</h2>
+<br /><br />
+
+<form action="register" method="post" id="register-form">
+
+       <input type="hidden" name="photo" value="{{$photo}}" />
+
+       {{$registertext}}
+
+       <p id="register-realpeople">{{$realpeople}}</p>
+
+       <br />
+       <div id="register-openid-wrapper"  class="field input" >
+                       {{$oidhtml}}
+       </div>
+       <div id="register-openid-end" ></div>
+
+       <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>
+               <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>
+               <input type="text" maxlength="60" size="32" name="email" id="register-email" value="{{$email}}" >
+       </div>
+       <div id="register-email-end" ></div>
+       <br /><br />
+
+       <div id="register-nickname-wrapper" class="field input" >
+               <label for="register-nickname" id="label-register-nickname" >{{$nicklabel}}</label>
+               <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}}
+
+       <br />
+<!--   <br><br>
+       <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><br>
+
+       <div id="register-submit-wrapper">
+               <input type="submit" name="submit" id="register-submit-button" value="{{$regbutt}}" />
+       </div>
+       <div id="register-submit-end" ></div>
+</form>
+
+{{$license}}
+
+</div>
diff --git a/view/theme/frost/smarty3/settings-head.tpl b/view/theme/frost/smarty3/settings-head.tpl
new file mode 100644 (file)
index 0000000..f733d62
--- /dev/null
@@ -0,0 +1,5 @@
+
+<script>
+       window.isPublic = "{{$ispublic}}";
+</script>
+
diff --git a/view/theme/frost/smarty3/settings_display_end.tpl b/view/theme/frost/smarty3/settings_display_end.tpl
new file mode 100644 (file)
index 0000000..894e447
--- /dev/null
@@ -0,0 +1,2 @@
+       <script>$j(function(){ previewTheme($j("#id_{{$theme.0}}")[0]); });</script>
+
diff --git a/view/theme/frost/smarty3/threaded_conversation.tpl b/view/theme/frost/smarty3/threaded_conversation.tpl
new file mode 100644 (file)
index 0000000..6bf8e8e
--- /dev/null
@@ -0,0 +1,24 @@
+{{if $dropping}}
+<div id="item-delete-selected-top" class="fakelink" onclick="deleteCheckedItems('#item-delete-selected-top');">
+  <div id="item-delete-selected-top-icon" class="icon drophide" title="{{$dropping}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div>
+  <div id="item-delete-selected-top-desc" >{{$dropping}}</div>
+</div>
+<img id="item-delete-selected-top-rotator" class="like-rotator" src="images/rotator.gif" style="display: none;" />
+{{/if}}
+
+{{$live_update}}
+
+{{foreach $threads as $thread}}
+{{include file="file:{{$thread.template}}" item=$thread}}
+{{/foreach}}
+
+<div id="conversation-end"></div>
+
+{{if $dropping}}
+<div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems('#item-delete-selected');">
+  <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>
+<img id="item-delete-selected-rotator" class="like-rotator" src="images/rotator.gif" style="display: none;" />
+<div id="item-delete-selected-end"></div>
+{{/if}}
diff --git a/view/theme/frost/smarty3/voting_fakelink.tpl b/view/theme/frost/smarty3/voting_fakelink.tpl
new file mode 100644 (file)
index 0000000..44e7d37
--- /dev/null
@@ -0,0 +1,2 @@
+               <span class="fakelink-wrapper" id={{$vote_id}}-wrapper><span class="fakelink" onclick="openClose('{{$vote_id}}');">{{$count}} {{$people}}</span> {{$vote_mood}}</span>
+
diff --git a/view/theme/frost/smarty3/wall_thread.tpl b/view/theme/frost/smarty3/wall_thread.tpl
new file mode 100644 (file)
index 0000000..cbfa7ff
--- /dev/null
@@ -0,0 +1,125 @@
+{{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-outside-wrapper {{$item.indent}}{{$item.previewing}} wallwall" id="wall-item-outside-wrapper-{{$item.id}}" >-->
+       <div class="wall-item-content-wrapper {{$item.indent}} {{$item.previewing}}{{if $item.owner_url}} wallwall{{/if}}" 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)">
+                               <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}}" 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 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="{{$item.remove}}">[{{$item.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="{{$item.remove}}">[{{$item.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="#" class="tool like" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></a>
+                               {{if $item.vote.dislike}}
+                               <a href="#" class="tool dislike" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></a>
+                               {{/if}}
+                               {{if $item.vote.share}}<a href="#" class="tool 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 tool pencil" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a>
+                       {{/if}}
+                        
+                       {{if $item.star}}
+                       <a href="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" class="star-item tool {{$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 tool 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}}" onclick="return confirmDelete();" 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 {{$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>
+
+       {{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="file:{{$child.template}}" item=$child}}
+{{/foreach}}
+
+{{if $item.flatten}}
+<!--<div class="wall-item-comment-wrapper" >-->
+       {{$item.comment}}
+<!--</div>-->
+{{/if}}
+</div>
+{{if $item.comment_lastcollapsed}}</div>{{/if}}
+
diff --git a/view/theme/frost/smarty3/wallmsg-end.tpl b/view/theme/frost/smarty3/wallmsg-end.tpl
new file mode 100644 (file)
index 0000000..d9e34d6
--- /dev/null
@@ -0,0 +1,5 @@
+
+<script language="javascript" type="text/javascript">
+wallInitEditor();
+</script>
+
diff --git a/view/theme/frost/smarty3/wallmsg-header.tpl b/view/theme/frost/smarty3/wallmsg-header.tpl
new file mode 100644 (file)
index 0000000..e3dba23
--- /dev/null
@@ -0,0 +1,6 @@
+
+<script language="javascript" type="text/javascript">
+window.editSelect = "{{$editselect}}";
+window.ajaxType = "wallmsg-header";
+</script>
+
index e515f13c8a07bd602c9f50447c2c3b7ed0d1fdcb..3faf73d2fc948087461d5c3347e3dc2059d671e0 100644 (file)
@@ -13,6 +13,7 @@ $a->theme_info = array();
 $a->videowidth = 400;
 $a->videoheight = 330;
 $a->theme_thread_allow = false;
+$a->theme['template_engine'] = 'smarty3';
 
 function frost_content_loaded(&$a) {
 
index 0f7f9a986f70d417d7a5b2069fea41ef6ddca81d..ccf345fac04a0ea5b266fcbdcb8359d407b3cbb1 100644 (file)
@@ -8,8 +8,8 @@
 
 $live_update
 
-{{ for $threads as $item }}
-{{ inc $item.template }}{{ endinc }}
+{{ for $threads as $thread }}
+{{ inc $thread.template with $item=$thread }}{{ endinc }}
 {{ endfor }}
 
 <div id="conversation-end"></div>
diff --git a/view/theme/frost/voting_fakelink.tpl b/view/theme/frost/voting_fakelink.tpl
new file mode 100644 (file)
index 0000000..c342046
--- /dev/null
@@ -0,0 +1,2 @@
+               <span class="fakelink-wrapper" id=$vote_id-wrapper><span class="fakelink" onclick="openClose('$vote_id');">$count $people</span> $vote_mood</span>
+
index b8e77d7fa83b23be6005a1857ba9bdf5185f5206..43d9db60818a0a994f968a21cffb02a163121ea0 100644 (file)
                                                {{ 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 class="categorytags">$item.txt_cats {{ for $item.categories as $cat }}$cat.name <a href="$cat.removeurl" title="$item.remove">[$item.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 class="filesavetags">$item.txt_folders {{ for $item.folders as $cat }}$cat.name <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a> {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
                        </div>
                        {{ endif }}
                        </div>
 
 <!--<div class="wall-item-outside-wrapper-end $item.indent" ></div>-->
 <!--</div>-->
-{{ for $item.children as $item }}
-       {{ inc $item.template }}{{ endinc }}
+{{ for $item.children as $child }}
+       {{ inc $child.template with $item=$child }}{{ endinc }}
 {{ endfor }}
 
 {{ if $item.flatten }}
index a63d8a235aa00e166b986416e35154d193880525..0818091f635fca6136072ab6417c9a5d345bc218 100644 (file)
@@ -2,6 +2,7 @@
 $a->theme_info = array(
   'extends' => 'duepuntozero',
 );
+$a->theme['template_engine'] = 'smarty3';
 
 function greenzero_init(&$a) {
 $a->page['htmlhead'] .= <<< EOT
@@ -86,4 +87,4 @@ $('.savedsearchterm').hover(
 
 </script>
 EOT;
-}
\ No newline at end of file
+}
index 4ae9d579f0eece7cd1b60665c169fd3f11717cb9..a514da669ddb59fd2435abc0b8e1426ca4ae75f7 100644 (file)
@@ -2,6 +2,7 @@
 $a->theme_info = array(
   'extends' => 'duepuntozero',
 );
+$a->theme['template_engine'] = 'smarty3';
 
 function purplezero_init(&$a) {
 $a->page['htmlhead'] .= <<< EOT
@@ -86,4 +87,4 @@ $('.savedsearchterm').hover(
 
 </script>
 EOT;
-}
\ No newline at end of file
+}
index 0f2fc53ca08eb4f105a0c97bf3686ea5d45d3d37..32179dd9e2b0214cb5d0c1ec8dd4fc6743a790c4 100644 (file)
@@ -59,8 +59,14 @@ function quattro_form(&$a, $align, $color, $tfs, $pfs){
     if ($tfs===false) $tfs="20";
     if ($pfs===false) $pfs="12";
     
-       $t = file_get_contents( dirname(__file__). "/theme_settings.tpl" );
-       $o .= replace_macros($t, array(
+       $t = get_markup_template("theme_settings.tpl" );
+
+       $includes = array(
+               '$field_select' => 'field_select.tpl',
+       );
+       $includes = set_template_includes($a->theme['template_engine'], $includes);
+
+       $o .= replace_macros($t, $includes + array(
                '$submit' => t('Submit'),
                '$baseurl' => $a->get_baseurl(),
                '$title' => t("Theme settings"),
index 8b82e95c6041df4a060d308a7ae9b54a3aad0eca..fa69f48a0098d274eba362fd0fbee27e4950edae 100644 (file)
@@ -3,10 +3,10 @@
        <a href="message/dropconv/$thread_id" onclick="return confirmDelete();"  title="$delete" class="mail-delete icon s22 delete"></a>
 </div>
 
-{{ for $mails as $mail }}
-       <div id="tread-wrapper-$mail.id" class="tread-wrapper">
-               {{ inc mail_conv.tpl }}{{endinc}}
+{{ for $mails as $mail_item }}
+       <div id="tread-wrapper-$mail_item.id" class="tread-wrapper">
+               {{ inc $mail_conv with $mail=$mail_item }}{{endinc}}
        </div>
 {{ endfor }}
 
-{{ inc prv_message.tpl }}{{ endinc }}
+{{ inc $prv_message with $reply=$reply_info }}{{ endinc }}
index e7264cfecf6ea179ec8ace84156184936038083d..373b47a4f062963f911ebace67c71d2064d184ec 100644 (file)
@@ -49,7 +49,7 @@
         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 }}
+       {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
        
        <div id="profile-extra-links">
                <ul>
index 5aa03688aa23d3c0ce657477651e8a041100c034..e070c68d3c824af3e8fecdc1af3c95bf136ce1e9 100644 (file)
@@ -1,31 +1,31 @@
 
-<h3>$header</h3>
+<h3>$reply.header</h3>
 
 <div id="prvmail-wrapper" >
 <form id="prvmail-form" action="message" method="post" >
 
-$parent
+$reply.parent
 
-<div id="prvmail-to-label">$to</div>
-$select
+<div id="prvmail-to-label">$reply.to</div>
+$reply.select
 
-<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-subject-label">$reply.subject</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$reply.subjtxt" $reply.readonly tabindex="11" />
 
-<div id="prvmail-message-label">$yourmessage</div>
-<textarea rows="20" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$text</textarea>
+<div id="prvmail-message-label">$reply.yourmessage</div>
+<textarea rows="20" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">$reply.text</textarea>
 
 
 <div id="prvmail-submit-wrapper" >
-       <input type="submit" id="prvmail-submit" name="submit" value="$submit" tabindex="13" />
+       <input type="submit" id="prvmail-submit" name="submit" value="$reply.submit" tabindex="13" />
        <div id="prvmail-upload-wrapper" >
-               <div id="prvmail-upload" class="icon border camera" title="$upload" ></div>
+               <div id="prvmail-upload" class="icon border camera" title="$reply.upload" ></div>
        </div> 
        <div id="prvmail-link-wrapper" >
-               <div id="prvmail-link" class="icon border link" title="$insert" onclick="jotGetLink();" ></div>
+               <div id="prvmail-link" class="icon border link" title="$reply.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;" />
+               <img id="prvmail-rotator" src="images/rotator.gif" alt="$reply.wait" title="$reply.wait" style="display: none;" />
        </div> 
 </div>
 <div id="prvmail-end"></div>
diff --git a/view/theme/quattro/smarty3/birthdays_reminder.tpl b/view/theme/quattro/smarty3/birthdays_reminder.tpl
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/view/theme/quattro/smarty3/comment_item.tpl b/view/theme/quattro/smarty3/comment_item.tpl
new file mode 100644 (file)
index 0000000..0b3036b
--- /dev/null
@@ -0,0 +1,63 @@
+               <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" />
+                               <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-link" href="{{$mylink}}" title="{{$mytitle}}"><img class="my-comment-photo" src="{{$myphoto}}" alt="{{$mytitle}}" title="{{$mytitle}}" /></a>
+                               </div>
+                               <ul id="comment-edit-bb-{{$id}}"
+                                       class="comment-edit-bb">
+                                       <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>   
+                               <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>
+                               {{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-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>
+
+                       </form>
+
+               </div>
diff --git a/view/theme/quattro/smarty3/contact_template.tpl b/view/theme/quattro/smarty3/contact_template.tpl
new file mode 100644 (file)
index 0000000..cf2ac7b
--- /dev/null
@@ -0,0 +1,26 @@
+
+<div class="contact-wrapper" id="contact-entry-wrapper-{{$id}}" >
+       <div class="contact-photo-wrapper" >
+               <div class="contact-photo mframe" id="contact-entry-photo-{{$contact.id}}"
+               onmouseover="if (typeof t{{$contact.id}} != 'undefined') clearTimeout(t{{$contact.id}}); openMenu('contact-photo-menu-button-{{$contact.id}}')" 
+               onmouseout="t{{$contact.id}}=setTimeout('closeMenu(\'contact-photo-menu-button-{{$contact.id}}\'); 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>
+
+                       {{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}}
+                       </ul>
+                       {{/if}}
+               </div>
+                       
+       </div>
+       <div class="contact-name" id="contact-entry-name-{{$contact.id}}" >{{$contact.name}}</div>
+       {{if $contact.alt_text}}<div class="contact-details" id="contact-entry-rel-{{$contact.id}}" >{{$contact.alt_text}}</div>{{/if}}
+       <div class="contact-details" id="contact-entry-url-{{$contact.id}}" >{{$contact.itemurl}}</div>
+       <div class="contact-details" id="contact-entry-network-{{$contact.id}}" >{{$contact.network}}</div>
+
+
+</div>
+
diff --git a/view/theme/quattro/smarty3/conversation.tpl b/view/theme/quattro/smarty3/conversation.tpl
new file mode 100644 (file)
index 0000000..f22b11a
--- /dev/null
@@ -0,0 +1,49 @@
+{{$live_update}}
+
+{{foreach $threads as $thread}}
+<div id="tread-wrapper-{{$thread.id}}" class="tread-wrapper">
+       {{foreach $thread.items as $item}}
+        {{if $mode == display}}
+        {{else}}
+               {{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}}
+        {{/if}}
+        
+               {{if $item.type == tag}}
+                       {{include file="wall_item_tag.tpl"}}
+               {{else}}
+                       {{include file="file:{{$item.template}}"}}
+               {{/if}}
+               
+       {{/foreach}}
+</div>
+{{/foreach}}
+
+<div id="conversation-end"></div>
+
+{{if $dropping}}
+<a href="#" onclick="deleteCheckedItems();return false;">
+       <span class="icon s22 delete text">{{$dropping}}</span>
+</a>
+{{/if}}
+
+<script>
+// jquery color plugin from https://raw.github.com/gist/1891361/17747b50ad87f7a59a14b4e0f38d8f3fb6a18b27/gistfile1.js
+    (function(d){d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(f,e){d.fx.step[e]=function(g){if(!g.colorInit){g.start=c(g.elem,e);g.end=b(g.end);g.colorInit=true}g.elem.style[e]="rgb("+[Math.max(Math.min(parseInt((g.pos*(g.end[0]-g.start[0]))+g.start[0]),255),0),Math.max(Math.min(parseInt((g.pos*(g.end[1]-g.start[1]))+g.start[1]),255),0),Math.max(Math.min(parseInt((g.pos*(g.end[2]-g.start[2]))+g.start[2]),255),0)].join(",")+")"}});function b(f){var e;if(f&&f.constructor==Array&&f.length==3){return f}if(e=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(f)){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}if(e=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(f)){return[parseFloat(e[1])*2.55,parseFloat(e[2])*2.55,parseFloat(e[3])*2.55]}if(e=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(f)){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}if(e=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(f)){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}if(e=/rgba\(0, 0, 0, 0\)/.exec(f)){return a.transparent}return a[d.trim(f).toLowerCase()]}function c(g,e){var f;do{f=d.curCSS(g,e);if(f!=""&&f!="transparent"||d.nodeName(g,"body")){break}e="backgroundColor"}while(g=g.parentNode);return b(f)}var a={transparent:[255,255,255]}})(jQuery);
+    var colWhite = {backgroundColor:'#EFF0F1'};
+    var colShiny = {backgroundColor:'#FCE94F'};
+</script>
+
+{{if $mode == display}}
+<script>
+    var id = window.location.pathname.split("/").pop();
+    $(window).scrollTop($('#item-'+id).position().top);
+    $('#item-'+id).animate(colWhite, 1000).animate(colShiny).animate(colWhite, 2000);   
+</script>
+{{/if}}
+
diff --git a/view/theme/quattro/smarty3/events_reminder.tpl b/view/theme/quattro/smarty3/events_reminder.tpl
new file mode 100644 (file)
index 0000000..34410dd
--- /dev/null
@@ -0,0 +1,39 @@
+<link rel='stylesheet' type='text/css' href='{{$baseurl}}/library/fullcalendar/fullcalendar.css' />
+<script language="javascript" type="text/javascript"
+          src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script>
+<script>
+       // start calendar from yesterday
+       var yesterday= new Date()
+       yesterday.setDate(yesterday.getDate()-1)
+       
+       function showEvent(eventid) {
+               $.get(
+                       '{{$baseurl}}/events/?id='+eventid,
+                       function(data){
+                               $.fancybox(data);
+                       }
+               );                      
+       }
+       $(document).ready(function() {
+               $('#events-reminder').fullCalendar({
+                       firstDay: yesterday.getDay(),
+                       year: yesterday.getFullYear(),
+                       month: yesterday.getMonth(),
+                       date: yesterday.getDate(),
+                       events: '{{$baseurl}}/events/json/',
+                       header: {
+                               left: '',
+                               center: '',
+                               right: ''
+                       },                      
+                       timeFormat: 'H(:mm)',
+                       defaultView: 'basicWeek',
+                       height: 50,
+                       eventClick: function(calEvent, jsEvent, view) {
+                               showEvent(calEvent.id);
+                       }
+               });
+       });
+</script>
+<div id="events-reminder"></div>
+<br>
diff --git a/view/theme/quattro/smarty3/fileas_widget.tpl b/view/theme/quattro/smarty3/fileas_widget.tpl
new file mode 100644 (file)
index 0000000..23d001d
--- /dev/null
@@ -0,0 +1,12 @@
+<div id="fileas-sidebar" class="widget">
+       <h3>{{$title}}</h3>
+       <div id="nets-desc">{{$desc}}</div>
+       
+       <ul class="fileas-ul">
+               <li class="tool {{if $sel_all}}selected{{/if}}"><a href="{{$base}}" class="fileas-link fileas-all">{{$all}}</a></li>
+               {{foreach $terms as $term}}
+                       <li class="tool {{if $term.selected}}selected{{/if}}"><a href="{{$base}}?f=&file={{$term.name}}" class="fileas-link">{{$term.name}}</a></li>
+               {{/foreach}}
+       </ul>
+       
+</div>
diff --git a/view/theme/quattro/smarty3/generic_links_widget.tpl b/view/theme/quattro/smarty3/generic_links_widget.tpl
new file mode 100644 (file)
index 0000000..e10ded9
--- /dev/null
@@ -0,0 +1,11 @@
+<div class="widget">
+       {{if $title}}<h3>{{$title}}</h3>{{/if}}
+       {{if $desc}}<div class="desc">{{$desc}}</div>{{/if}}
+       
+       <ul>
+               {{foreach $items as $item}}
+                       <li class="tool {{if $item.selected}}selected{{/if}}"><a href="{{$item.url}}" class="link">{{$item.label}}</a></li>
+               {{/foreach}}
+       </ul>
+       
+</div>
diff --git a/view/theme/quattro/smarty3/group_side.tpl b/view/theme/quattro/smarty3/group_side.tpl
new file mode 100644 (file)
index 0000000..d0fb5d6
--- /dev/null
@@ -0,0 +1,29 @@
+<div id="group-sidebar" class="widget">
+       <div class="title tool">
+               <h3 class="label">{{$title}}</h3>
+               <a href="group/new" title="{{$createtext}}" class="action"><span class="icon text s16 add"> {{$add}}</span></a>
+       </div>
+
+       <div id="sidebar-group-list">
+               <ul>
+                       {{foreach $groups as $group}}
+                       <li class="tool  {{if $group.selected}}selected{{/if}}">
+                               <a href="{{$group.href}}" class="label">
+                                       {{$group.text}}
+                               </a>
+                               {{if $group.edit}}
+                                       <a href="{{$group.edit.href}}" class="action"><span class="icon text s10 edit">{{$group.edit.title}}</span></a>
+                               {{/if}}
+                               {{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}}
+                       </li>
+                       {{/foreach}}
+               </ul>
+       </div>
+</div> 
+
diff --git a/view/theme/quattro/smarty3/jot.tpl b/view/theme/quattro/smarty3/jot.tpl
new file mode 100644 (file)
index 0000000..21df47d
--- /dev/null
@@ -0,0 +1,56 @@
+<form id="profile-jot-form" action="{{$action}}" method="post">
+       <div id="jot">
+               <div id="profile-jot-desc" class="jothidden">&nbsp;</div>
+               <input name="title" id="jot-title" type="text" placeholder="{{$placeholdertitle}}" title="{{$placeholdertitle}}" value="{{$title}}" class="jothidden" style="display:none" />
+               {{if $placeholdercategory}}
+               <input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" title="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" />
+               {{/if}}
+               <div id="character-counter" class="grey jothidden"></div>
+               
+
+
+               <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="preview" id="jot-preview" value="0" />
+               <input type="hidden" name="post_id_random" value="{{$rand_num}}" />
+
+               <textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{if $content}}{{$content}}{{else}}{{$share}}{{/if}}</textarea>
+
+               <ul id="jot-tools" class="jothidden" style="display:none">
+                       <li><a href="#" onclick="return false;" id="wall-image-upload" title="{{$upload}}">{{$shortupload}}</a></a></li>
+                       <li><a href="#" onclick="return false;" id="wall-file-upload"  title="{{$attach}}">{{$shortattach}}</a></li>
+                       <li><a id="profile-link"  ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;" title="{{$weblink}}">{{$shortweblink}}</a></li>
+                       <li><a id="profile-video" onclick="jotVideoURL();return false;" title="{{$video}}">{{$shortvideo}}</a></li>
+                       <li><a id="profile-audio" onclick="jotAudioURL();return false;" title="{{$audio}}">{{$shortaudio}}</a></li>
+                       <!-- TODO: waiting for a better placement 
+                       <li><a id="profile-location" onclick="jotGetLocation();return false;" title="{{$setloc}}">{{$shortsetloc}}</a></li>
+                       <li><a id="profile-nolocation" onclick="jotClearLocation();return false;" title="{{$noloc}}">{{$shortnoloc}}</a></li>
+                       -->
+                       <li><a id="jot-preview-link" onclick="preview_post(); return false;" title="{{$preview}}">{{$preview}}</a></li>
+                       {{$jotplugins}}
+
+                       <li class="perms"><a id="jot-perms-icon" href="#profile-jot-acl-wrapper" class="icon s22 {{$lockstate}} {{$bang}}"  title="{{$permset}}" ></a></li>
+                       <li class="submit"><input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" /></li>
+                       <li id="profile-rotator" class="loading" style="display: none"><img src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}"  /></li>
+               </ul>
+       </div>
+       
+       <div id="jot-preview-content" style="display:none;"></div>
+
+       <div style="display: none;">
+               <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
+                       {{$acl}}
+                       <hr style="clear:both"/>
+                       <div id="profile-jot-email-label">{{$emailcc}}</div><input type="text" name="emailcc" id="profile-jot-email" title="{{$emtitle}}" />
+                       <div id="profile-jot-email-end"></div>
+                       {{$jotnets}}
+               </div>
+       </div>
+
+</form>
+
+{{if $content}}<script>initEditor();</script>{{/if}}
diff --git a/view/theme/quattro/smarty3/mail_conv.tpl b/view/theme/quattro/smarty3/mail_conv.tpl
new file mode 100644 (file)
index 0000000..6967347
--- /dev/null
@@ -0,0 +1,63 @@
+<div class="wall-item-container {{$item.indent}}">
+       <div class="wall-item-item">
+               <div class="wall-item-info">
+                       <div class="contact-photo-wrapper"
+                               <a href="{{$mail.profile_url}}" target="redir" title="{{$mail.from_name}}" class="contact-photo-link" id="wall-item-photo-link-{{$mail.id}}">
+                                       <img src="{{$mail.from_photo}}" class="contact-photo{{$mail.sparkle}}" id="wall-item-photo-{{$mail.id}}" alt="{{$mail.from_name}}" />
+                               </a>
+                       </div>
+               </div>
+               <div class="wall-item-content">
+                       {{$mail.body}}
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="wall-item-links">
+               </div>
+               <div class="wall-item-tags">
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="">
+               </div>
+               <div class="wall-item-actions">
+                       <div class="wall-item-actions-author">
+                               <a href="{{$mail.from_url}}" target="redir"
+                                class="wall-item-name-link"><span
+                                class="wall-item-name{{$mail.sparkle}}">{{$mail.from_name}}</span></a>
+                                <span class="wall-item-ago" title="{{$mail.date}}">{{$mail.ago}}</span>
+                       </div>
+                       
+                       <div class="wall-item-actions-social">
+                       </div>
+                       
+                       <div class="wall-item-actions-tools">
+                               <a href="message/drop/{{$mail.id}}" onclick="return confirmDelete();" class="icon delete s16" title="{{$mail.delete}}">{{$mail.delete}}</a>
+                       </div>
+                       
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+       </div>
+</div>
+
+
+{{*
+
+
+<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 class="mail-conv-body">{{$mail.body}}</div>
+       <div class="mail-conv-delete-wrapper" id="mail-conv-delete-wrapper-{{$mail.id}}" ><a href="message/drop/{{$mail.id}}" class="icon drophide delete-icon mail-list-delete-icon" onclick="return confirmDelete();" 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>
+       <div class="mail-conv-outside-wrapper-end"></div>
+</div>
+</div>
+<hr class="mail-conv-break" />
+
+*}}
diff --git a/view/theme/quattro/smarty3/mail_display.tpl b/view/theme/quattro/smarty3/mail_display.tpl
new file mode 100644 (file)
index 0000000..3400227
--- /dev/null
@@ -0,0 +1,12 @@
+<div id="mail-display-subject">
+       <span class="{{if $thread_seen}}seen{{else}}unseen{{/if}}">{{$thread_subject}}</span>
+       <a href="message/dropconv/{{$thread_id}}" onclick="return confirmDelete();"  title="{{$delete}}" class="mail-delete icon s22 delete"></a>
+</div>
+
+{{foreach $mails as $mail_item}}
+       <div id="tread-wrapper-{{$mail_item.id}}" class="tread-wrapper">
+               {{include file="file:{{$mail_conv}}" mail=$mail_item}}
+       </div>
+{{/foreach}}
+
+{{include file="file:{{$prv_message}}" reply=$reply_info}}
diff --git a/view/theme/quattro/smarty3/mail_list.tpl b/view/theme/quattro/smarty3/mail_list.tpl
new file mode 100644 (file)
index 0000000..038607e
--- /dev/null
@@ -0,0 +1,8 @@
+<div class="mail-list-wrapper">
+       <span class="mail-subject {{if $seen}}seen{{else}}unseen{{/if}}"><a href="message/{{$id}}" class="mail-link">{{$subject}}</a></span>
+       <span class="mail-from">{{$from_name}}</span>
+       <span class="mail-date" title="{{$date}}">{{$ago}}</span>
+       <span class="mail-count">{{$count}}</span>
+       
+       <a href="message/dropconv/{{$id}}" onclick="return confirmDelete();"  title="{{$delete}}" class="mail-delete icon s22 delete"></a>
+</div>
diff --git a/view/theme/quattro/smarty3/message_side.tpl b/view/theme/quattro/smarty3/message_side.tpl
new file mode 100644 (file)
index 0000000..c8a372c
--- /dev/null
@@ -0,0 +1,10 @@
+<div id="message-sidebar" class="widget">
+       <div id="message-new" class="{{if $new.sel}}selected{{/if}}"><a href="{{$new.url}}">{{$new.label}}</a> </div>
+       
+       <ul class="message-ul">
+               {{foreach $tabs as $t}}
+                       <li class="tool {{if $t.sel}}selected{{/if}}"><a href="{{$t.url}}" class="message-link">{{$t.label}}</a></li>
+               {{/foreach}}
+       </ul>
+       
+</div>
diff --git a/view/theme/quattro/smarty3/nav.tpl b/view/theme/quattro/smarty3/nav.tpl
new file mode 100644 (file)
index 0000000..a31c3d8
--- /dev/null
@@ -0,0 +1,95 @@
+<header>
+       {{* {{$langselector}} *}}
+
+       <div id="site-location">{{$sitelocation}}</div>
+       <div id="banner">{{$banner}}</div>
+</header>
+<nav>
+       <ul>
+               {{if $userinfo}}
+                       <li id="nav-user-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-user-menu" title="{{$sitelocation}}"><img src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"></a>
+                               <ul id="nav-user-menu" class="menu-popup">
+                                       {{foreach $nav.usermenu as $usermenu}}
+                                               <li><a class="{{$usermenu.2}}" href="{{$usermenu.0}}" title="{{$usermenu.3}}">{{$usermenu.1}}</a></li>
+                                       {{/foreach}}
+                                       
+                                       {{if $nav.notifications}}<li><a class="{{$nav.notifications.2}}" href="{{$nav.notifications.0}}" title="{{$nav.notifications.3}}" >{{$nav.notifications.1}}</a></li>{{/if}}
+                                       {{if $nav.messages}}<li><a class="{{$nav.messages.2}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}}</a></li>{{/if}}
+                                       {{if $nav.contacts}}<li><a class="{{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}" >{{$nav.contacts.1}}</a></li>{{/if}}      
+                               </ul>
+                       </li>
+               {{/if}}
+               
+               {{if $nav.community}}
+                       <li id="nav-community-link" class="nav-menu {{$sel.community}}">
+                               <a class="{{$nav.community.2}}" href="{{$nav.community.0}}" title="{{$nav.community.3}}" >{{$nav.community.1}}</a>
+                       </li>
+               {{/if}}
+               
+               {{if $nav.network}}
+                       <li id="nav-network-link" class="nav-menu {{$sel.network}}">
+                               <a class="{{$nav.network.2}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
+                               <span id="net-update" class="nav-notify"></span>
+                       </li>
+               {{/if}}
+               {{if $nav.home}}
+                       <li id="nav-home-link" class="nav-menu {{$sel.home}}">
+                               <a class="{{$nav.home.2}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a>
+                               <span id="home-update" class="nav-notify"></span>
+                       </li>
+               {{/if}}
+               
+               {{if $nav.notifications}}
+                       <li  id="nav-notifications-linkmenu" class="nav-menu-icon"><a href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}"><span class="icon s22 notify">{{$nav.notifications.1}}</span></a>
+                               <span id="notify-update" class="nav-notify"></span>
+                               <ul id="nav-notifications-menu" class="menu-popup">
+                                       <!-- TODO: better icons! -->
+                                       <li id="nav-notifications-mark-all" class="toolbar"><a href="#" onclick="notifyMarkAll(); return false;" title="{{$nav.notifications.mark.1}}"><span class="icon s10 edit"></span></a></a><a href="{{$nav.notifications.all.0}}" title="{{$nav.notifications.all.1}}"><span class="icon s10 plugin"></span></a></li>
+                                       <li class="empty">{{$emptynotifications}}</li>
+                               </ul>
+                       </li>           
+               {{/if}}         
+               
+               <li id="nav-site-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-site-menu"><span class="icon s22 gear">Site</span></a>
+                       <ul id="nav-site-menu" class="menu-popup">
+                               {{if $nav.manage}}<li><a class="{{$nav.manage.2}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a></li>{{/if}}                         
+
+                               {{if $nav.settings}}<li><a class="{{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a></li>{{/if}}
+                               {{if $nav.admin}}<li><a class="{{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a></li>{{/if}}
+
+                               {{if $nav.logout}}<li><a class="menu-sep {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a></li>{{/if}}
+                               {{if $nav.login}}<li><a class="{{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a><li>{{/if}}
+                       </ul>           
+               </li>
+               
+               {{if $nav.help}} 
+               <li id="nav-help-link" class="nav-menu {{$sel.help}}">
+                       <a class="{{$nav.help.2}}" target="friendica-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a>
+               </li>
+               {{/if}}
+
+               <li id="nav-search-link" class="nav-menu {{$sel.search}}">
+                       <a class="{{$nav.search.2}}" href="{{$nav.search.0}}" title="{{$nav.search.3}}" >{{$nav.search.1}}</a>
+               </li>
+               <li id="nav-directory-link" class="nav-menu {{$sel.directory}}">
+                       <a class="{{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a>
+               </li>
+               
+               {{if $nav.apps}}
+                       <li id="nav-apps-link" class="nav-menu {{$sel.apps}}">
+                               <a class=" {{$nav.apps.2}}" href="#" rel="#nav-apps-menu" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>
+                               <ul id="nav-apps-menu" class="menu-popup">
+                                       {{foreach $apps as $ap}}
+                                       <li>{{$ap}}</li>
+                                       {{/foreach}}
+                               </ul>
+                       </li>
+               {{/if}}
+       </ul>
+
+</nav>
+<ul id="nav-notifications-template" style="display:none;" rel="template">
+       <li><a href="{0}"><img src="{1}">{2} <span class="notif-when">{3}</span></a></li>
+</ul>
+
+<div style="position: fixed; top: 3px; left: 5px; z-index:9999">{{$langselector}}</div>
diff --git a/view/theme/quattro/smarty3/nets.tpl b/view/theme/quattro/smarty3/nets.tpl
new file mode 100644 (file)
index 0000000..981bd8d
--- /dev/null
@@ -0,0 +1,12 @@
+<div id="nets-sidebar" class="widget">
+       <h3>{{$title}}</h3>
+       <div id="nets-desc">{{$desc}}</div>
+       
+       <ul class="nets-ul">
+               <li class="tool {{if $sel_all}}selected{{/if}}"><a href="{{$base}}?nets=all" class="nets-link nets-all">{{$all}}</a>
+               {{foreach $nets as $net}}
+                       <li class="tool {{if $net.selected}}selected{{/if}}"><a href="{{$base}}?f=&nets={{$net.ref}}" class="nets-link">{{$net.name}}</a></li>
+               {{/foreach}}
+       </ul>
+       
+</div>
diff --git a/view/theme/quattro/smarty3/photo_view.tpl b/view/theme/quattro/smarty3/photo_view.tpl
new file mode 100644 (file)
index 0000000..8456a27
--- /dev/null
@@ -0,0 +1,37 @@
+<div id="live-display"></div>
+<h3 id="photo-album-title"><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-photo"><a href="{{$photo.href}}" title="{{$photo.title}}"><img src="{{$photo.src}}" /></a></div>
+{{if $prevlink}}<div id="photo-prev-link"><a href="{{$prevlink.0}}">{{$prevlink.1}}</a></div>{{/if}}
+{{if $nextlink}}<div id="photo-next-link"><a href="{{$nextlink.0}}">{{$nextlink.1}}</a></div>{{/if}}
+<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}}{{/if}}
+
+{{if $likebuttons}}
+<div id="photo-like-div">
+       {{$likebuttons}}
+       {{$like}}
+       {{$dislike}}    
+</div>
+{{/if}}
+<div class="wall-item-comment-wrapper">
+    {{$comments}}
+</div>
+
+{{$paginate}}
+
diff --git a/view/theme/quattro/smarty3/profile_vcard.tpl b/view/theme/quattro/smarty3/profile_vcard.tpl
new file mode 100644 (file)
index 0000000..f50a89d
--- /dev/null
@@ -0,0 +1,68 @@
+<div class="vcard">
+
+       <div class="tool">
+               <div class="fn label">{{$profile.name}}</div>
+               {{if $profile.edit}}
+                       <div class="action">
+                       <a class="icon s16 edit ttright" href="#" rel="#profiles-menu" title="{{$profile.edit.3}}"><span>{{$profile.edit.1}}</span></a>
+                       <ul id="profiles-menu" class="menu-popup">
+                               {{foreach $profile.menu.entries as $e}}
+                               <li>
+                                       <a href="profiles/{{$e.id}}"><img src='{{$e.photo}}'>{{$e.profile_name}}</a>
+                               </li>
+                               {{/foreach}}
+                               <li><a href="profile_photo" >{{$profile.menu.chg_photo}}</a></li>
+                               <li><a href="profiles/new" id="profile-listing-new-link">{{$profile.menu.cr_new}}</a></li>
+                               
+                       </ul>
+                       </div>
+               {{/if}}
+       </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="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+       
+       <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/quattro/smarty3/prv_message.tpl b/view/theme/quattro/smarty3/prv_message.tpl
new file mode 100644 (file)
index 0000000..651478c
--- /dev/null
@@ -0,0 +1,33 @@
+
+<h3>{{$reply.header}}</h3>
+
+<div id="prvmail-wrapper" >
+<form id="prvmail-form" action="message" method="post" >
+
+{{$reply.parent}}
+
+<div id="prvmail-to-label">{{$reply.to}}</div>
+{{$reply.select}}
+
+<div id="prvmail-subject-label">{{$reply.subject}}</div>
+<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$reply.subjtxt}}" {{$reply.readonly}} tabindex="11" />
+
+<div id="prvmail-message-label">{{$reply.yourmessage}}</div>
+<textarea rows="20" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$reply.text}}</textarea>
+
+
+<div id="prvmail-submit-wrapper" >
+       <input type="submit" id="prvmail-submit" name="submit" value="{{$reply.submit}}" tabindex="13" />
+       <div id="prvmail-upload-wrapper" >
+               <div id="prvmail-upload" class="icon border camera" title="{{$reply.upload}}" ></div>
+       </div> 
+       <div id="prvmail-link-wrapper" >
+               <div id="prvmail-link" class="icon border link" title="{{$reply.insert}}" onclick="jotGetLink();" ></div>
+       </div> 
+       <div id="prvmail-rotator-wrapper" >
+               <img id="prvmail-rotator" src="images/rotator.gif" alt="{{$reply.wait}}" title="{{$reply.wait}}" style="display: none;" />
+       </div> 
+</div>
+<div id="prvmail-end"></div>
+</form>
+</div>
diff --git a/view/theme/quattro/smarty3/saved_searches_aside.tpl b/view/theme/quattro/smarty3/saved_searches_aside.tpl
new file mode 100644 (file)
index 0000000..007d1d9
--- /dev/null
@@ -0,0 +1,15 @@
+<div id="saved-search-list" class="widget">
+       <h3 class="title">{{$title}}</h3>
+
+       <ul id="saved-search-ul">
+               {{foreach $saved as $search}}
+                       <li class="tool {{if $search.selected}}selected{{/if}}">
+                                       <a href="network/?f=&search={{$search.encodedterm}}" class="label" >{{$search.term}}</a>
+                                       <a href="network/?f=&remove=1&search={{$search.encodedterm}}" class="action icon s10 delete" title="{{$search.delete}}" onclick="return confirmDelete();"></a>
+                       </li>
+               {{/foreach}}
+       </ul>
+       
+       {{$searchbox}}
+       
+</div>
diff --git a/view/theme/quattro/smarty3/search_item.tpl b/view/theme/quattro/smarty3/search_item.tpl
new file mode 100644 (file)
index 0000000..15fb811
--- /dev/null
@@ -0,0 +1,93 @@
+
+<div class="wall-item-decor">
+       <span class="icon s22 star {{$item.isstarred}}" id="starred-{{$item.id}}" title="{{$item.star.starred}}">{{$item.star.starred}}</span>
+       {{if $item.lock}}<span class="icon s22 lock fakelink" onclick="lockview(event,{{$item.id}});" title="{{$item.lock}}">{{$item.lock}}</span>{{/if}}       
+       <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
+</div>
+
+<div class="wall-item-container {{$item.indent}}">
+       <div class="wall-item-item">
+               <div class="wall-item-info">
+                       <div class="contact-photo-wrapper"
+                               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="contact-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
+                               </a>
+                               <a href="#" rel="#wall-item-photo-menu-{{$item.id}}" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-{{$item.id}}">menu</a>
+                               <ul class="wall-item-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
+                               {{$item.item_photo_menu}}
+                               </ul>
+                               
+                       </div>
+                       <div class="wall-item-location">{{$item.location}}</div>        
+               </div>
+               <div class="wall-item-content">
+                       {{if $item.title}}<h2><a href="{{$item.plink.href}}">{{$item.title}}</a></h2>{{/if}}
+                       {{$item.body}}
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="wall-item-links">
+               </div>
+               <div class="wall-item-tags">
+                       {{foreach $item.tags as $tag}}
+                               <span class='tag'>{{$tag}}</span>
+                       {{/foreach}}
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="">
+                       {{if $item.plink}}<a class="icon s16 link" title="{{$item.plink.title}}" href="{{$item.plink.href}}">{{$item.plink.title}}</a>{{/if}}
+               </div>
+               <div class="wall-item-actions">
+                       <div class="wall-item-actions-author">
+                               <a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}">{{$item.name}}</span></a> <span class="wall-item-ago" title="{{$item.localtime}}">{{$item.ago}}</span>
+                       </div>
+                       
+                       <div class="wall-item-actions-social">
+                       {{if $item.star}}
+                               <a href="#" id="star-{{$item.id}}" onclick="dostar({{$item.id}}); return false;"  class="{{$item.star.classdo}}"  title="{{$item.star.do}}">{{$item.star.do}}</a>
+                               <a href="#" id="unstar-{{$item.id}}" onclick="dostar({{$item.id}}); return false;"  class="{{$item.star.classundo}}"  title="{{$item.star.undo}}">{{$item.star.undo}}</a>
+                               <a href="#" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="{{$item.star.classtagger}}" title="{{$item.star.tagger}}">{{$item.star.tagger}}</a>
+                       {{/if}}
+                       
+                       {{if $item.vote}}
+                               <a href="#" id="like-{{$item.id}}" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false">{{$item.vote.like.1}}</a>
+                               <a href="#" id="dislike-{{$item.id}}" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false">{{$item.vote.dislike.1}}</a>
+                       {{/if}}
+                                               
+                       {{if $item.vote.share}}
+                               <a href="#" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false">{{$item.vote.share.1}}</a>
+                       {{/if}}                 
+                       </div>
+                       
+                       <div class="wall-item-actions-tools">
+
+                               {{if $item.drop.pagedrop}}
+                                       <input type="checkbox" title="{{$item.drop.select}}" name="itemselected[]" class="item-select" value="{{$item.id}}" />
+                               {{/if}}
+                               {{if $item.drop.dropping}}
+                                       <a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon delete s16" title="{{$item.drop.delete}}">{{$item.drop.delete}}</a>
+                               {{/if}}
+                               {{if $item.edpost}}
+                                       <a class="icon edit s16" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a>
+                               {{/if}}
+                       </div>
+                       
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="wall-item-links"></div>
+               <div class="wall-item-like" id="wall-item-like-{{$item.id}}">{{$item.like}}</div>
+               <div class="wall-item-dislike" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div>
+               {{if $item.conv}}
+               <div class="wall-item-conv" id="wall-item-conv-{{$item.id}}" >
+                       <a href='{{$item.conv.href}}' id='context-{{$item.id}}' title='{{$item.conv.title}}'>{{$item.conv.title}}</a>
+               {{/if}}
+               </div>
+       </div>
+       
+       
+</div>
+
diff --git a/view/theme/quattro/smarty3/theme_settings.tpl b/view/theme/quattro/smarty3/theme_settings.tpl
new file mode 100644 (file)
index 0000000..cf2a493
--- /dev/null
@@ -0,0 +1,32 @@
+ <script src="{{$baseurl}}/view/theme/quattro/jquery.tools.min.js"></script>
+{{include file="field_select.tpl" field=$color}}
+
+{{include file="field_select.tpl" field=$align}}
+
+
+<div class="field">
+    <label for="id_{{$pfs.0}}">{{$pfs.1}}</label>
+    <input type="range" class="inputRange" id="id_{{$pfs.0}}" name="{{$pfs.0}}" value="{{$pfs.2}}" min="10" max="22" step="1"  />
+    <span class="field_help"></span>
+</div>
+
+
+<div class="field">
+    <label for="id_{{$tfs.0}}">{{$tfs.1}}</label>
+    <input type="range" class="inputRange" id="id_{{$tfs.0}}" name="{{$tfs.0}}" value="{{$tfs.2}}" min="10" max="22" step="1"  />
+    <span class="field_help"></span>
+</div>
+
+
+
+
+
+<div class="settings-submit-wrapper">
+       <input type="submit" value="{{$submit}}" class="settings-submit" name="quattro-settings-submit" />
+</div>
+
+<script>
+    
+    $(".inputRange").rangeinput();
+</script>
\ No newline at end of file
diff --git a/view/theme/quattro/smarty3/threaded_conversation.tpl b/view/theme/quattro/smarty3/threaded_conversation.tpl
new file mode 100644 (file)
index 0000000..a7516a8
--- /dev/null
@@ -0,0 +1,40 @@
+{{$live_update}}
+
+{{foreach $threads as $thread}}
+
+<div id="tread-wrapper-{{$thread.id}}" class="tread-wrapper {{if $thread.threaded}}threaded{{/if}}  {{$thread.toplevel}}">
+       
+       
+               {{if $thread.type == tag}}
+                       {{include file="wall_item_tag.tpl" item=$thread}}
+               {{else}}
+                       {{include file="file:{{$thread.template}}" item=$thread}}
+               {{/if}}
+               
+</div>
+{{/foreach}}
+
+<div id="conversation-end"></div>
+
+{{if $dropping}}
+<a id="item-delete-selected" href="#" onclick="deleteCheckedItems();return false;">
+       <span class="icon s22 delete text">{{$dropping}}</span>
+</a>
+<img id="item-delete-selected-rotator" class="like-rotator" src="images/rotator.gif" style="display: none;" />
+{{/if}}
+
+<script>
+// jquery color plugin from https://raw.github.com/gist/1891361/17747b50ad87f7a59a14b4e0f38d8f3fb6a18b27/gistfile1.js
+    (function(d){d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(f,e){d.fx.step[e]=function(g){if(!g.colorInit){g.start=c(g.elem,e);g.end=b(g.end);g.colorInit=true}g.elem.style[e]="rgb("+[Math.max(Math.min(parseInt((g.pos*(g.end[0]-g.start[0]))+g.start[0]),255),0),Math.max(Math.min(parseInt((g.pos*(g.end[1]-g.start[1]))+g.start[1]),255),0),Math.max(Math.min(parseInt((g.pos*(g.end[2]-g.start[2]))+g.start[2]),255),0)].join(",")+")"}});function b(f){var e;if(f&&f.constructor==Array&&f.length==3){return f}if(e=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(f)){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}if(e=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(f)){return[parseFloat(e[1])*2.55,parseFloat(e[2])*2.55,parseFloat(e[3])*2.55]}if(e=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(f)){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}if(e=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(f)){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}if(e=/rgba\(0, 0, 0, 0\)/.exec(f)){return a.transparent}return a[d.trim(f).toLowerCase()]}function c(g,e){var f;do{f=d.curCSS(g,e);if(f!=""&&f!="transparent"||d.nodeName(g,"body")){break}e="backgroundColor"}while(g=g.parentNode);return b(f)}var a={transparent:[255,255,255]}})(jQuery);
+    var colWhite = {backgroundColor:'#EFF0F1'};
+    var colShiny = {backgroundColor:'#FCE94F'};
+</script>
+
+{{if $mode == display}}
+<script>
+    var id = window.location.pathname.split("/").pop();
+    $(window).scrollTop($('#item-'+id).position().top);
+    $('#item-'+id).animate(colWhite, 1000).animate(colShiny).animate(colWhite, 2000);   
+</script>
+{{/if}}
+
diff --git a/view/theme/quattro/smarty3/wall_item_tag.tpl b/view/theme/quattro/smarty3/wall_item_tag.tpl
new file mode 100644 (file)
index 0000000..efcb528
--- /dev/null
@@ -0,0 +1,67 @@
+{{if $mode == display}}
+{{else}}
+{{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>
+                       {{if $item.thread_level==3}} - 
+                       <span id="hide-thread-{{$item}}-id"
+                               class="fakelink"
+                               onclick="showThread({{$item.id}});">expand</span> /
+                       <span id="hide-thread-{{$item}}-id"
+                               class="fakelink"
+                               onclick="hideThread({{$item.id}});">collapse</span> thread{{/if}}
+       </div>
+       <div id="collapsed-comments-{{$item.id}}" class="collapsed-comments" style="display: none;">
+{{/if}}
+{{/if}}
+
+{{if $item.thread_level!=1}}<div class="children">{{/if}}
+
+
+<div class="wall-item-container item-tag {{$item.indent}} {{$item.shiny}}">
+       <div class="wall-item-item">
+               <div class="wall-item-info">
+                       <div class="contact-photo-wrapper">
+                               <a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="contact-photo-link" id="wall-item-photo-link-{{$item.id}}">
+                                       <img src="{{$item.thumb}}" class="contact-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
+                               </a>
+                               <ul class="contact-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
+                               {{$item.item_photo_menu}}
+                               </ul>
+                               
+                       </div>
+                       <div class="wall-item-location">{{$item.location}}</div>        
+               </div>
+               <div class="wall-item-content">
+                       {{$item.ago}} {{$item.body}} 
+               </div>
+                       <div class="wall-item-tools">
+                               {{if $item.drop.pagedrop}}
+                                       <input type="checkbox" title="{{$item.drop.select}}" name="itemselected[]" class="item-select" value="{{$item.id}}" />
+                               {{/if}}
+                               {{if $item.drop.dropping}}
+                                       <a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon delete s16" title="{{$item.drop.delete}}">{{$item.drop.delete}}</a>
+                               {{/if}}
+                       </div>
+       </div>
+</div>
+
+{{if $item.thread_level!=1}}</div>{{/if}}
+
+{{if $mode == display}}
+{{else}}
+{{if $item.comment_lastcollapsed}}</div>{{/if}}
+{{/if}}
+
+{{* top thread comment box *}}
+{{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}}
+<div class="wall-item-comment-wrapper" >{{$item.comment}}</div>
+{{/if}}{{/if}}{{/if}}
+
+{{if $item.flatten}}
+<div class="wall-item-comment-wrapper" >{{$item.comment}}</div>
+{{/if}}
diff --git a/view/theme/quattro/smarty3/wall_thread.tpl b/view/theme/quattro/smarty3/wall_thread.tpl
new file mode 100644 (file)
index 0000000..de11895
--- /dev/null
@@ -0,0 +1,172 @@
+{{if $mode == display}}
+{{else}}
+{{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>
+                       {{if $item.thread_level==3}} - 
+                       <span id="hide-thread-{{$item}}-id"
+                               class="fakelink"
+                               onclick="showThread({{$item.id}});">expand</span> /
+                       <span id="hide-thread-{{$item}}-id"
+                               class="fakelink"
+                               onclick="hideThread({{$item.id}});">collapse</span> thread{{/if}}
+       </div>
+       <div id="collapsed-comments-{{$item.id}}" class="collapsed-comments" style="display: none;">
+{{/if}}
+{{/if}}
+
+{{if $item.thread_level!=1}}<div class="children">{{/if}}
+
+<div class="wall-item-decor">
+       <span class="icon s22 star {{$item.isstarred}}" id="starred-{{$item.id}}" title="{{$item.star.starred}}">{{$item.star.starred}}</span>
+       {{if $item.lock}}<span class="icon s22 lock fakelink" onclick="lockview(event,{{$item.id}});" title="{{$item.lock}}">{{$item.lock}}</span>{{/if}}       
+       <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
+</div>
+
+<div class="wall-item-container {{$item.indent}} {{$item.shiny}}" id="item-{{$item.id}}">
+       <div class="wall-item-item">
+               <div class="wall-item-info">
+                       <div class="contact-photo-wrapper mframe{{if $item.owner_url}} wwfrom{{/if}}"
+                               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="contact-photo-link" id="wall-item-photo-link-{{$item.id}}">
+                                       <img src="{{$item.thumb}}" class="contact-photo {{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
+                               </a>
+                               <a href="#" rel="#wall-item-photo-menu-{{$item.id}}" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-{{$item.id}}">menu</a>
+                               <ul class="contact-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
+                               {{$item.item_photo_menu}}
+                               </ul>
+                               
+                       </div>  
+                       {{if $item.owner_url}}
+                       <div class="contact-photo-wrapper mframe wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" >
+                               <a href="{{$item.owner_url}}" target="redir" title="{{$item.olinktitle}}" class="contact-photo-link" id="wall-item-ownerphoto-link-{{$item.id}}">
+                                       <img src="{{$item.owner_photo}}" class="contact-photo {{$item.osparkle}}" id="wall-item-ownerphoto-{{$item.id}}" alt="{{$item.owner_name}}" />
+                               </a>
+                       </div>
+                       {{/if}}                 
+                       <div class="wall-item-location">{{$item.location}}</div>        
+               </div>
+               <div class="wall-item-content">
+                       {{if $item.title}}<h2><a href="{{$item.plink.href}}" class="{{$item.sparkle}}">{{$item.title}}</a></h2>{{/if}}
+                       {{$item.body}}
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="wall-item-links">
+               </div>
+               <div class="wall-item-tags">
+                       {{foreach $item.hashtags as $tag}}
+                               <span class='tag'>{{$tag}}</span>
+                       {{/foreach}}
+                       {{foreach $item.mentions as $tag}}
+                               <span class='mention'>{{$tag}}</span>
+                       {{/foreach}}
+               {{foreach $item.folders as $cat}}
+                    <span class='folder'>{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$item.remove}}">x</a>) {{/if}} </span>
+               {{/foreach}}
+                {{foreach $item.categories as $cat}}
+                    <span class='category'>{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$item.remove}}">x</a>) {{/if}} </span>
+                {{/foreach}}
+               </div>
+       </div>  
+       <div class="wall-item-bottom">
+               <div class="wall-item-links">
+                       {{if $item.plink}}<a class="icon s16 link{{$item.sparkle}}" title="{{$item.plink.title}}" href="{{$item.plink.href}}">{{$item.plink.title}}</a>{{/if}}
+               </div>
+               <div class="wall-item-actions">
+                       <div class="wall-item-actions-author">
+                               <a href="{{$item.profile_url}}" target="redir"
+                                title="{{$item.linktitle}}"
+                                class="wall-item-name-link"><span
+                                class="wall-item-name{{$item.sparkle}}">{{$item.name}}</span></a>
+                                <span class="wall-item-ago" title="{{$item.localtime}}">{{$item.ago}}</span>
+                                {{if $item.owner_url}}<br/>{{$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}}
+                       </div>
+                       
+                       <div class="wall-item-actions-social">
+                       {{if $item.star}}
+                               <a href="#" id="star-{{$item.id}}" onclick="dostar({{$item.id}}); return false;"  class="{{$item.star.classdo}}"  title="{{$item.star.do}}">{{$item.star.do}}</a>
+                               <a href="#" id="unstar-{{$item.id}}" onclick="dostar({{$item.id}}); return false;"  class="{{$item.star.classundo}}"  title="{{$item.star.undo}}">{{$item.star.undo}}</a>
+                       {{/if}}
+                       {{if $item.tagger}}
+                               <a href="#" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="{{$item.tagger.class}}" title="{{$item.tagger.add}}">{{$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}}">{{$item.filer}}</a>
+                       {{/if}}                 
+                       
+                       {{if $item.vote}}
+                               <a href="#" id="like-{{$item.id}}" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false">{{$item.vote.like.1}}</a>
+                               {{if $item.vote.dislike}}
+                               <a href="#" id="dislike-{{$item.id}}" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false">{{$item.vote.dislike.1}}</a>
+                               {{/if}}
+                       {{/if}}
+                                               
+                       {{if $item.vote.share}}
+                               <a href="#" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false">{{$item.vote.share.1}}</a>
+                       {{/if}}                 
+                       </div>
+                       
+                       <div class="wall-item-actions-tools">
+
+                               {{if $item.drop.pagedrop}}
+                                       <input type="checkbox" title="{{$item.drop.select}}" name="itemselected[]" class="item-select" value="{{$item.id}}" />
+                               {{/if}}
+                               {{if $item.drop.dropping}}
+                                       <a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon delete s16" title="{{$item.drop.delete}}">{{$item.drop.delete}}</a>
+                               {{/if}}
+                               {{if $item.edpost}}
+                                       <a class="icon edit s16" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a>
+                               {{/if}}
+                       </div>
+                       
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="wall-item-links"></div>
+               <div class="wall-item-like" id="wall-item-like-{{$item.id}}">{{$item.like}}</div>
+               <div class="wall-item-dislike" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div>      
+       </div>
+       
+       {{if $item.threaded}}{{if $item.comment}}{{if $item.indent==comment}}
+       <div class="wall-item-bottom commentbox">
+               <div class="wall-item-links"></div>
+               <div class="wall-item-comment-wrapper">
+                                       {{$item.comment}}
+               </div>
+       </div>
+       {{/if}}{{/if}}{{/if}}
+</div>
+
+
+{{foreach $item.children as $child}}
+       {{if $child.type == tag}}
+               {{include file="wall_item_tag.tpl" item=$child}}
+       {{else}}
+               {{include file="file:{{$item.template}}" item=$child}}
+       {{/if}}
+{{/foreach}}
+
+{{if $item.thread_level!=1}}</div>{{/if}}
+
+
+{{if $mode == display}}
+{{else}}
+{{if $item.comment_lastcollapsed}}</div>{{/if}}
+{{/if}}
+
+{{* top thread comment box *}}
+{{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}}
+<div class="wall-item-comment-wrapper" >{{$item.comment}}</div>
+{{/if}}{{/if}}{{/if}}
+
+
+{{if $item.flatten}}
+<div class="wall-item-comment-wrapper" >{{$item.comment}}</div>
+{{/if}}
index 62f67e42ea74d0918838f6f3d0cf9effd3bf861a..e21deb8ab536bc6fb4437e8fc7ecaf83c2b13e78 100644 (file)
@@ -8,6 +8,7 @@
  */
  
 $a->theme_info = array();
+$a->theme['template_engine'] = 'smarty3';
 
 function quattro_init(&$a) {
 $a->page['htmlhead'] .= <<< EOT
index 5c534b5856ff20be27fdee6e1ae83f37fc6bd8bb..82e071134e677197cca584a11ef0ffd8d62c2269 100644 (file)
@@ -1,14 +1,14 @@
 $live_update
 
-{{ for $threads as $item }}
+{{ for $threads as $thread }}
 
-<div id="tread-wrapper-$item.id" class="tread-wrapper {{ if $item.threaded }}threaded{{ endif }}  $item.toplevel">
+<div id="tread-wrapper-$thread.id" class="tread-wrapper {{ if $thread.threaded }}threaded{{ endif }}  $thread.toplevel">
        
        
-               {{ if $item.type == tag }}
-                       {{ inc wall_item_tag.tpl }}{{ endinc }}
+               {{ if $thread.type == tag }}
+                       {{ inc wall_item_tag.tpl with $item=$thread }}{{ endinc }}
                {{ else }}
-                       {{ inc $item.template }}{{ endinc }}
+                       {{ inc $thread.template with $item=$thread }}{{ endinc }}
                {{ endif }}
                
 </div>
index eee27776be6ebdbb414c030f097089423aed8764..d9fa083c546ad4854528fddb75a4765c291f8d03 100644 (file)
                                <span class='mention'>$tag</span>
                        {{ endfor }}
                {{ for $item.folders as $cat }}
-                    <span class='folder'>$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$remove">x</a>) {{endif}} </span>
+                    <span class='folder'>$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$item.remove">x</a>) {{endif}} </span>
                {{ endfor }}
                 {{ for $item.categories as $cat }}
-                    <span class='category'>$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$remove">x</a>) {{endif}} </span>
+                    <span class='category'>$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$item.remove">x</a>) {{endif}} </span>
                 {{ endfor }}
                </div>
        </div>  
diff --git a/view/theme/slackr/smarty3/birthdays_reminder.tpl b/view/theme/slackr/smarty3/birthdays_reminder.tpl
new file mode 100644 (file)
index 0000000..f577d30
--- /dev/null
@@ -0,0 +1,8 @@
+{{if $classtoday}}
+<script>
+       $(document).ready(function() {{$lbr}}
+               $('#events-reminder').addClass($.trim('{{$classtoday}}'));
+       {{$rbr}});
+</script>
+{{/if}}
+
diff --git a/view/theme/slackr/smarty3/events_reminder.tpl b/view/theme/slackr/smarty3/events_reminder.tpl
new file mode 100644 (file)
index 0000000..b3cc5bc
--- /dev/null
@@ -0,0 +1,39 @@
+<link rel='stylesheet' type='text/css' href='{{$baseurl}}/library/fullcalendar/fullcalendar.css' />
+<script language="javascript" type="text/javascript"
+          src="{{$baseurl}}/library/fullcalendar/fullcalendar.min.js"></script>
+<script>
+       // start calendar from yesterday
+       var yesterday= new Date()
+       yesterday.setDate(yesterday.getDate()-1)
+       
+       function showEvent(eventid) {
+               $.get(
+                       '{{$baseurl}}/events/?id='+eventid,
+                       function(data){
+                               $.fancybox(data);
+                       }
+               );                      
+       }
+       $(document).ready(function() {
+               $('#events-reminder').fullCalendar({
+                       firstDay: yesterday.getDay(),
+                       year: yesterday.getFullYear(),
+                       month: yesterday.getMonth(),
+                       date: yesterday.getDate(),
+                       events: '{{$baseurl}}/events/json/',
+                       header: {
+                               left: '',
+                               center: '',
+                               right: ''
+                       },                      
+                       timeFormat: 'HH(:mm)',
+                       defaultView: 'basicWeek',
+                       height: 50,
+                       eventClick: function(calEvent, jsEvent, view) {
+                               showEvent(calEvent.id);
+                       }
+               });
+       });
+</script>
+<div id="events-reminder" class="{{$classtoday}}"></div>
+<br>
index 65a92c1845c3b92d738b41afa3bef4af1fb6a21a..cbd028f7d6827db5169620f6ed853c0f0a5f497f 100644 (file)
@@ -2,6 +2,7 @@
 $a->theme_info = array(
   'extends' => 'duepuntozero',
 );
+$a->theme['template_engine'] = 'smarty3';
 
 function slackr_init(&$a) {
 $a->page['htmlhead'] .= <<< EOT
@@ -105,4 +106,4 @@ $('.savedsearchterm').hover(
 
 </script>
 EOT;
-}
\ No newline at end of file
+}
index 281890f4236f5e1d1a0e76bf2936c5ffe9eea901..3cf1f25934e5ed83b07a3706b7b891b3496ee540 100644 (file)
@@ -5,13 +5,13 @@
        <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 }}
+               {{ inc $field_input with $field=$lname }}{{ endinc }}
+               {{ inc $field_password with $field=$lpassword }}{{ endinc }}
        </div>
 
        {{ if $openid }}
                <div id="login_openid">
-                       {{ inc field_openid.tpl with $field=$lopenid }}{{ endinc }}
+                       {{ inc $field_openid with $field=$lopenid }}{{ endinc }}
                </div>
        {{ endif }}
 
diff --git a/view/theme/smoothly/smarty3/bottom.tpl b/view/theme/smoothly/smarty3/bottom.tpl
new file mode 100644 (file)
index 0000000..0de9253
--- /dev/null
@@ -0,0 +1,52 @@
+<script type="text/javascript" src="{{$baseurl}}/view/theme/smoothly/js/jquery.autogrow.textarea.js"></script>
+<script type="text/javascript">
+$(document).ready(function() {
+
+});
+function tautogrow(id) {
+$("textarea#comment-edit-text-" + id).autogrow();
+};
+
+function insertFormatting(comment, BBcode, id) {
+var tmpStr = $("#comment-edit-text-" + id).val();
+if(tmpStr == comment) {
+tmpStr = "";
+$("#comment-edit-text-" + id).addClass("comment-edit-text-full");
+$("#comment-edit-text-" + id).removeClass("comment-edit-text-empty");
+openMenu("comment-edit-submit-wrapper-" + id);
+}
+textarea = document.getElementById("comment-edit-text-" + id);
+if (document.selection) {
+textarea.focus();
+selected = document.selection.createRange();
+if (BBcode == "url") {
+selected.text = "["+BBcode+"]" + "http://" + selected.text + "[/"+BBcode+"]";
+} else {
+selected.text = "["+BBcode+"]" + selected.text + "[/"+BBcode+"]";
+}
+} else if (textarea.selectionStart || textarea.selectionStart == "0") {
+var start = textarea.selectionStart;
+var end = textarea.selectionEnd;
+if (BBcode == "url") {
+textarea.value = textarea.value.substring(0, start) + "["+BBcode+"]"
++ "http://" + textarea.value.substring(start, end)
++ "[/"+BBcode+"]" + textarea.value.substring(end, textarea.value.length);
+} else {
+textarea.value = textarea.value.substring(0, start)
++ "["+BBcode+"]" + textarea.value.substring(start, end) + "[/"+BBcode+"]"
++ textarea.value.substring(end, textarea.value.length);
+}
+}
+return true;
+}
+
+function cmtBbOpen(id) {
+$(".comment-edit-bb-" + id).show();
+}
+function cmtBbClose(id) {
+    $(".comment-edit-bb-" + id).hide();
+}
+
+
+
+</script>
diff --git a/view/theme/smoothly/smarty3/follow.tpl b/view/theme/smoothly/smarty3/follow.tpl
new file mode 100644 (file)
index 0000000..36ea0c7
--- /dev/null
@@ -0,0 +1,8 @@
+<div id="follow-sidebar" class="widget">
+       <h3>{{$connect}}</h3>
+       <div id="connect-desc">{{$desc}}</div>
+       <form action="follow" method="post" >
+               <input id="side-follow-url" type="text-sidebar" name="url" size="24" title="{{$hint}}" /><input id="side-follow-submit" type="submit" name="submit" value="{{$follow}}" />
+       </form>
+</div>
+
diff --git a/view/theme/smoothly/smarty3/jot-header.tpl b/view/theme/smoothly/smarty3/jot-header.tpl
new file mode 100644 (file)
index 0000000..c4831f3
--- /dev/null
@@ -0,0 +1,374 @@
+
+<script language="javascript" type="text/javascript">
+
+var editor=false;
+var textlen = 0;
+var plaintext = '{{$editselect}}';
+
+function initEditor(cb){
+       if (editor==false){
+               $("#profile-jot-text-loading").show();
+               if(plaintext == 'none') {
+                       $("#profile-jot-text-loading").hide();
+                       $("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
+                       $("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
+                       $(".jothidden").show();
+                       editor = true;
+                       $("a#jot-perms-icon").fancybox({
+                               'transitionIn' : 'elastic',
+                               'transitionOut' : 'elastic'
+                       });
+                                   $("#profile-jot-submit-wrapper").show();
+                                                               {{if $newpost}}
+                                   $("#profile-upload-wrapper").show();
+                                       $("#profile-attach-wrapper").show();
+                                   $("#profile-link-wrapper").show();
+                                       $("#profile-video-wrapper").show();
+                                   $("#profile-audio-wrapper").show();
+                                       $("#profile-location-wrapper").show();
+                                   $("#profile-nolocation-wrapper").show();
+                                       $("#profile-title-wrapper").show();
+                                       $("#profile-jot-plugin-wrapper").show();
+                                       $("#jot-preview-link").show();
+                                                               {{/if}}   
+
+
+                       if (typeof cb!="undefined") cb();
+                       return;
+        }
+        tinyMCE.init({
+                theme : "advanced",
+                mode : "specific_textareas",
+                editor_selector: /(profile-jot-text|prvmail-text)/,
+                plugins : "bbcode,paste,fullscreen,autoresize",
+                theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code,fullscreen",
+                theme_advanced_buttons2 : "",
+                theme_advanced_buttons3 : "",
+                theme_advanced_toolbar_location : "top",
+                theme_advanced_toolbar_align : "center",
+                theme_advanced_blockformats : "blockquote,code",
+                //theme_advanced_resizing : true,
+                //theme_advanced_statusbar_location : "bottom",
+                paste_text_sticky : true,
+                entity_encoding : "raw",
+                add_unload_trigger : false,
+                remove_linebreaks : false,
+                force_p_newlines : false,
+                force_br_newlines : true,
+                forced_root_block : '',
+                convert_urls: false,
+                content_css: "{{$baseurl}}/view/custom_tinymce.css",
+                theme_advanced_path : false,
+                setup : function(ed) {
+                                       cPopup = null;
+                                       ed.onKeyDown.add(function(ed,e) {
+                                               if(cPopup !== null)
+                                                       cPopup.onkey(e);
+                                       });
+
+
+
+                                       ed.onKeyUp.add(function(ed, e) {
+                                               var txt = tinyMCE.activeEditor.getContent();
+                                               match = txt.match(/@([^ \n]+)$/);
+                                               if(match!==null) {
+                                                       if(cPopup === null) {
+                                                               cPopup = new ACPopup(this,baseurl+"/acl");
+                                                       }
+                                                       if(cPopup.ready && match[1]!==cPopup.searchText) cPopup.search(match[1]);
+                                                       if(! cPopup.ready) cPopup = null;
+                                               }
+                                               else {
+                                                       if(cPopup !== null) { cPopup.close(); cPopup = null; }
+                                               }
+
+                                               textlen = txt.length;
+                                               if(textlen != 0 && $('#jot-perms-icon').is('.unlock')) {
+                                                       $('#profile-jot-desc').html(ispublic);
+                                               }
+                        else {
+                            $('#profile-jot-desc').html('&nbsp;');
+                        }
+
+                               //Character count
+
+                                if(textlen <= 140) {
+                                        $('#character-counter').removeClass('red');
+                                        $('#character-counter').removeClass('orange');
+                                        $('#character-counter').addClass('grey');
+                                }
+                                if((textlen > 140) && (textlen <= 420)) {
+                                        $('#character-counter').removeClass('grey');
+                                        $('#character-counter').removeClass('red');
+                                        $('#character-counter').addClass('orange');
+                                }
+                                if(textlen > 420) {
+                                        $('#character-counter').removeClass('grey');
+                                        $('#character-counter').removeClass('orange');
+                                        $('#character-counter').addClass('red');
+                                }
+                                $('#character-counter').text(textlen);
+                        });
+                        ed.onInit.add(function(ed) {
+                                ed.pasteAsPlainText = true;
+                                                               $("#profile-jot-text-loading").hide();
+                                                               $(".jothidden").show();
+                                   $("#profile-jot-submit-wrapper").show();
+                                                               {{if $newpost}}
+                                   $("#profile-upload-wrapper").show();
+                                       $("#profile-attach-wrapper").show();
+                                   $("#profile-link-wrapper").show();
+                                       $("#profile-video-wrapper").show();
+                                   $("#profile-audio-wrapper").show();
+                                       $("#profile-location-wrapper").show();
+                                   $("#profile-nolocation-wrapper").show();
+                                       $("#profile-title-wrapper").show();
+                                       $("#profile-jot-plugin-wrapper").show();
+                                       $("#jot-preview-link").show();
+                                                               {{/if}}   
+                             $("#character-counter").show();
+                                if (typeof cb!="undefined") cb();
+                        });
+                }
+        });
+        editor = true;
+        // setup acl popup
+        $("a#jot-perms-icon").fancybox({
+            'transitionIn' : 'none',
+            'transitionOut' : 'none'
+        }); 
+    } else {
+        if (typeof cb!="undefined") cb();
+    }
+} // initEditor
+
+function enableOnUser(){
+       if (editor) return;
+       $(this).val("");
+       initEditor();
+}
+
+</script>
+
+<script type="text/javascript" src="js/ajaxupload.js" >
+</script>
+
+<script>
+       var ispublic = '{{$ispublic}}';
+
+       $(document).ready(function() {
+               
+               /* enable tinymce on focus and click */
+               $("#profile-jot-text").focus(enableOnUser);
+               $("#profile-jot-text").click(enableOnUser);
+
+               var uploader = new window.AjaxUpload(
+                       'wall-image-upload',
+                       { action: 'wall_upload/{{$nickname}}',
+                               name: 'userfile',
+                               onSubmit: function(file,ext) { $('#profile-rotator').show(); },
+                               onComplete: function(file,response) {
+                                       addeditortext(response);
+                                       $('#profile-rotator').hide();
+                               }                                
+                       }
+               );
+
+               var file_uploader = new window.AjaxUpload(
+                       'wall-file-upload',
+                       { action: 'wall_attach/{{$nickname}}',
+                               name: 'userfile',
+                               onSubmit: function(file,ext) { $('#profile-rotator').show(); },
+                               onComplete: function(file,response) {
+                                       addeditortext(response);
+                                       $('#profile-rotator').hide();
+                               }                                
+                       }
+               );              
+               $('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
+                       var selstr;
+                       $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
+                               selstr = $(this).text();
+                               $('#jot-perms-icon').removeClass('unlock').addClass('lock');
+                               $('#jot-public').hide();
+                               $('.profile-jot-net input').attr('disabled', 'disabled');
+                       });
+                       if(selstr == null) { 
+                               $('#jot-perms-icon').removeClass('lock').addClass('unlock');
+                               $('#jot-public').show();
+                               $('.profile-jot-net input').attr('disabled', false);
+                       }
+
+               }).trigger('change');
+
+       });
+
+       function deleteCheckedItems() {
+               if(confirm('{{$delitems}}')) {
+                       var checkedstr = '';
+
+                       $("#item-delete-selected").hide();
+                       $('#item-delete-selected-rotator').show();
+
+                       $('.item-select').each( function() {
+                               if($(this).is(':checked')) {
+                                       if(checkedstr.length != 0) {
+                                               checkedstr = checkedstr + ',' + $(this).val();
+                                       }
+                                       else {
+                                               checkedstr = $(this).val();
+                                       }
+                               }       
+                       });
+                       $.post('item', { dropitems: checkedstr }, function(data) {
+                               window.location.reload();
+                       });
+               }
+       }
+
+       function jotGetLink() {
+               reply = prompt("{{$linkurl}}");
+               if(reply && reply.length) {
+                       reply = bin2hex(reply);
+                       $('#profile-rotator').show();
+                       $.get('parse_url?binurl=' + reply, function(data) {
+                               addeditortext(data);
+                               $('#profile-rotator').hide();
+                       });
+               }
+       }
+
+       function jotVideoURL() {
+               reply = prompt("{{$vidurl}}");
+               if(reply && reply.length) {
+                       addeditortext('[video]' + reply + '[/video]');
+               }
+       }
+
+       function jotAudioURL() {
+               reply = prompt("{{$audurl}}");
+               if(reply && reply.length) {
+                       addeditortext('[audio]' + reply + '[/audio]');
+               }
+       }
+
+
+       function jotGetLocation() {
+               reply = prompt("{{$whereareu}}", $('#jot-location').val());
+               if(reply && reply.length) {
+                       $('#jot-location').val(reply);
+               }
+       }
+
+       function jotTitle() {
+               reply = prompt("{{$title}}", $('#jot-title').val());
+               if(reply && reply.length) {
+                       $('#jot-title').val(reply);
+               }
+       }
+
+       function jotShare(id) {
+               $('#like-rotator-' + id).show();
+               $.get('share/' + id, function(data) {
+                               if (!editor) $("#profile-jot-text").val("");
+                               initEditor(function(){
+                                       addeditortext(data);
+                                       $('#like-rotator-' + id).hide();
+                                       $(window).scrollTop(0);
+                               });
+               });
+       }
+
+       function linkdropper(event) {
+               var linkFound = event.dataTransfer.types.contains("text/uri-list");
+               if(linkFound)
+                       event.preventDefault();
+       }
+
+       function linkdrop(event) {
+               var reply = event.dataTransfer.getData("text/uri-list");
+               event.target.textContent = reply;
+               event.preventDefault();
+               if(reply && reply.length) {
+                       reply = bin2hex(reply);
+                       $('#profile-rotator').show();
+                       $.get('parse_url?binurl=' + reply, function(data) {
+                               if (!editor) $("#profile-jot-text").val("");
+                               initEditor(function(){
+                                       addeditortext(data);
+                                       $('#profile-rotator').hide();
+                               });
+                       });
+               }
+       }
+
+       function itemTag(id) {
+               reply = prompt("{{$term}}");
+               if(reply && reply.length) {
+                       reply = reply.replace('#','');
+                       if(reply.length) {
+
+                               commentBusy = true;
+                               $('body').css('cursor', 'wait');
+
+                               $.get('tagger/' + id + '?term=' + reply);
+                               if(timer) clearTimeout(timer);
+                               timer = setTimeout(NavUpdate,3000);
+                               liking = 1;
+                       }
+               }
+       }
+       
+       function itemFiler(id) {
+               
+               var bordercolor = $("input").css("border-color");
+               
+               $.get('filer/', function(data){
+                       $.fancybox(data);
+                       $("#id_term").keypress(function(){
+                               $(this).css("border-color",bordercolor);
+                       })
+                       $("#select_term").change(function(){
+                               $("#id_term").css("border-color",bordercolor);
+                       })
+                       
+                       $("#filer_save").click(function(e){
+                               e.preventDefault();
+                               reply = $("#id_term").val();
+                               if(reply && reply.length) {
+                                       commentBusy = true;
+                                       $('body').css('cursor', 'wait');
+                                       $.get('filer/' + id + '?term=' + reply, NavUpdate);
+//                                     if(timer) clearTimeout(timer);
+//                                     timer = setTimeout(NavUpdate,3000);
+                                       liking = 1;
+                                       $.fancybox.close();
+                               } else {
+                                       $("#id_term").css("border-color","#FF0000");
+                               }
+                               return false;
+                       });
+               });
+               
+       }
+
+       
+
+       function jotClearLocation() {
+               $('#jot-coord').val('');
+               $('#profile-nolocation-wrapper').hide();
+       }
+
+  function addeditortext(data) {
+        if(plaintext == 'none') {
+            var currentText = $("#profile-jot-text").val();
+            $("#profile-jot-text").val(currentText + data);
+        }
+        else
+            tinyMCE.execCommand('mceInsertRawHTML',false,data);
+    }
+
+
+       {{$geotag}}
+
+</script>
diff --git a/view/theme/smoothly/smarty3/jot.tpl b/view/theme/smoothly/smarty3/jot.tpl
new file mode 100644 (file)
index 0000000..67242de
--- /dev/null
@@ -0,0 +1,84 @@
+
+<div id="profile-jot-wrapper" > 
+       <div id="profile-jot-banner-wrapper">
+               <div id="profile-jot-desc" >&nbsp;</div>
+               <div id="character-counter" class="grey" style="display: none;">0</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="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" style="display:none">
+               </div>
+               {{if $placeholdercategory}}
+               <div id="jot-category-wrap">
+                       <input name="category" id="jot-category" type="text" placeholder="{{$placeholdercategory}}" value="{{$category}}" class="jothidden" style="display:none" />
+               </div>
+               {{/if}}
+               <div id="jot-text-wrap">
+                       <img id="profile-jot-text-loading" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display: none;" /><br>
+                       <textarea rows="5" cols="80" class="profile-jot-text" id="profile-jot-text" name="body" >
+                       {{if $content}}{{$content}}{{else}}{{$share}}
+                       {{/if}}
+                       </textarea>
+               </div>
+
+       <div id="profile-upload-wrapper" class="jot-tool" style="display: none;" >
+               <div id="wall-image-upload-div" ><a onclick="return false;" id="wall-image-upload" class="icon border camera" title="{{$upload}}"></a></div>
+       </div>
+       <div id="profile-attach-wrapper" class="jot-tool" style="display: none;" >
+               <div id="wall-file-upload-div" ><a href="#" onclick="return false;" id="wall-file-upload" class="icon border attach" title="{{$attach}}"></a></div>
+       </div>  
+       <div id="profile-link-wrapper" class="jot-tool" style="display: none;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
+               <a href="#" id="profile-link" class="icon border  link" title="{{$weblink}}" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;"></a>
+       </div> 
+       <div id="profile-video-wrapper" class="jot-tool" style="display: none;" >
+               <a href="#" id="profile-video" class="icon border  video" title="{{$video}}" onclick="jotVideoURL(); return false;"></a>
+       </div> 
+       <div id="profile-audio-wrapper" class="jot-tool" style="display: none;" >
+               <a href="#" id="profile-audio" class="icon border  audio" title="{{$audio}}" onclick="jotAudioURL(); return false;"></a>
+       </div> 
+       <div id="profile-location-wrapper" class="jot-tool" style="display: none;" >
+               <a href="#" id="profile-location" class="icon border  globe" title="{{$setloc}}" onclick="jotGetLocation(); return false;"></a>
+       </div> 
+       <div id="profile-nolocation-wrapper" class="jot-tool" style="display: none;" >
+               <a href="#" id="profile-nolocation" class="icon border  noglobe" title="{{$noloc}}" onclick="jotClearLocation(); return false;"></a>
+       </div> 
+
+       <span onclick="preview_post();" id="jot-preview-link" class="fakelink" style="display: none;" >{{$preview}}</span>
+
+       <div id="profile-jot-submit-wrapper" style="display:none;padding-left: 400px;">
+               <input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" />
+               <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}} sharePerms" title="{{$permset}}"></a>{{$bang}}</div>
+       </div>
+
+       <div id="profile-jot-plugin-wrapper" style="display: none;">
+       {{$jotplugins}}
+       </div>
+       <div id="profile-jot-tools-end"></div>
+       
+       <div id="jot-preview-content" style="display:none;"></div>
+
+        <div style="display: none;">
+            <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
+                {{$acl}}
+                <hr style="clear:both"/>
+                <div id="profile-jot-email-label">{{$emailcc}}</div><input type="text" name="emailcc" id="profile-jot-email" title="{{$emtitle}}" />
+                <div id="profile-jot-email-end"></div>
+                {{$jotnets}}
+            </div>
+        </div>
+
+<div id="profile-jot-end"></div>
+</form>
+</div>
+                {{if $content}}<script>initEditor();</script>{{/if}}
diff --git a/view/theme/smoothly/smarty3/lang_selector.tpl b/view/theme/smoothly/smarty3/lang_selector.tpl
new file mode 100644 (file)
index 0000000..945cbf5
--- /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();" >
+                       {{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/smoothly/smarty3/login.tpl b/view/theme/smoothly/smarty3/login.tpl
new file mode 100644 (file)
index 0000000..518a130
--- /dev/null
@@ -0,0 +1,38 @@
+<img style="float:left; margin:5px 20px 0 0" src="/images/friendica-128.png" title="friendica">
+
+<div class="login-form">
+<form action="{{$dest_url}}" method="post" >
+       <input type="hidden" name="auth-params" value="login" />
+
+       <div id="login_standard">
+               {{include file="file:{{$field_input}}" field=$lname}}
+               {{include file="file:{{$field_password}}" field=$lpassword}}
+       </div>
+
+       {{if $openid}}
+               <div id="login_openid">
+                       {{include file="file:{{$field_openid}}" field=$lopenid}}
+               </div>
+       {{/if}}
+
+       <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><br />
+                       <a href="lostpass" title="{{$lostpass}}" id="lost-password-link" >{{$lostlink}}</a>
+               {{/if}}
+       </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/smoothly/smarty3/nav.tpl b/view/theme/smoothly/smarty3/nav.tpl
new file mode 100644 (file)
index 0000000..a89e9b8
--- /dev/null
@@ -0,0 +1,81 @@
+<nav>
+       <span id="banner">{{$banner}}</span>
+
+       <div id="notifications">        
+               {{if $nav.network}}<a id="net-update" class="nav-ajax-update" href="{{$nav.network.0}}" title="{{$nav.network.1}}"></a>{{/if}}
+               {{if $nav.home}}<a id="home-update" class="nav-ajax-update" href="{{$nav.home.0}}" title="{{$nav.home.1}}"></a>{{/if}}
+<!--           {{if $nav.notifications}}<a id="intro-update" class="nav-ajax-update" href="{{$nav.notifications.0}}" title="{{$nav.notifications.1}}"></a>{{/if}} -->
+               {{if $nav.introductions}}<a id="intro-update" class="nav-ajax-update" href="{{$nav.introductions.0}}" title="{{$nav.introductions.1}}"></a>{{/if}}
+               {{if $nav.messages}}<a id="mail-update" class="nav-ajax-update" href="{{$nav.messages.0}}" title="{{$nav.messages.1}}"></a>{{/if}}
+               {{if $nav.notifications}}<a rel="#nav-notifications-menu" id="notify-update" class="nav-ajax-update" href="{{$nav.notifications.0}}"  title="{{$nav.notifications.1}}"></a>{{/if}}
+
+               <ul id="nav-notifications-menu" class="menu-popup">
+                       <li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">{{$nav.notifications.mark.1}}</a></li>
+                       <li id="nav-notifications-see-all"><a href="{{$nav.notifications.all.0}}">{{$nav.notifications.all.1}}</a></li>
+                       <li class="empty">{{$emptynotifications}}</li>
+               </ul>
+       </div>
+       
+       <div id="user-menu" >
+               <a id="user-menu-label" onclick="openClose('user-menu-popup'); return false" href="{{$nav.home.0}}">{{$sitelocation}}</a>
+               
+               <ul id="user-menu-popup" 
+                        onmouseover="if (typeof tmenu != 'undefined') clearTimeout(tmenu); openMenu('user-menu-popup')" 
+                        onmouseout="tmenu=setTimeout('closeMenu(\'user-menu-popup\');',200)">
+
+                       {{if $nav.register}}<li><a id="nav-register-link" class="nav-commlink {{$nav.register.2}}" href="{{$nav.register.0}}">{{$nav.register.1}}</a></li>{{/if}}
+                       
+                       {{if $nav.home}}<li><a id="nav-home-link" class="nav-commlink {{$nav.home.2}}" href="{{$nav.home.0}}">{{$nav.home.1}}</a></li>{{/if}}
+               
+                       {{if $nav.network}}<li><a id="nav-network-link" class="nav-commlink {{$nav.network.2}}" href="{{$nav.network.0}}">{{$nav.network.1}}</a></li>{{/if}}
+               
+                               {{if $nav.community}}
+                               <li><a id="nav-community-link" class="nav-commlink {{$nav.community.2}}" href="{{$nav.community.0}}">{{$nav.community.1}}</a></li>
+                               {{/if}}
+
+                       <li><a id="nav-search-link" class="nav-link {{$nav.search.2}}" href="{{$nav.search.0}}">{{$nav.search.1}}</a></li>
+                       <li><a id="nav-directory-link" class="nav-link {{$nav.directory.2}}" href="{{$nav.directory.0}}">{{$nav.directory.1}}</a></li>
+                       {{if $nav.apps}}<li><a id="nav-apps-link" class="nav-link {{$nav.apps.2}}" href="{{$nav.apps.0}}">{{$nav.apps.1}}</a></li>{{/if}}
+                       
+                       {{if $nav.notifications}}<li><a id="nav-notify-link" class="nav-commlink nav-sep {{$nav.notifications.2}}" href="{{$nav.notifications.0}}">{{$nav.notifications.1}}</a></li>{{/if}}
+                       {{if $nav.messages}}<li><a id="nav-messages-link" class="nav-commlink {{$nav.messages.2}}" href="{{$nav.messages.0}}">{{$nav.messages.1}}</a></li>{{/if}}
+                       {{if $nav.contacts}}<li><a id="nav-contacts-link" class="nav-commlink {{$nav.contacts.2}}" href="{{$nav.contacts.0}}">{{$nav.contacts.1}}</a></li>{{/if}}
+               
+                       {{if $nav.profiles}}<li><a id="nav-profiles-link" class="nav-commlink nav-sep {{$nav.profiles.2}}" href="{{$nav.profiles.0}}">{{$nav.profiles.1}}</a></li>{{/if}}
+                       {{if $nav.settings}}<li><a id="nav-settings-link" class="nav-commlink {{$nav.settings.2}}" href="{{$nav.settings.0}}">{{$nav.settings.1}}</a></li>{{/if}}
+                       
+                       {{if $nav.manage}}<li><a id="nav-manage-link" class="nav-commlink {{$nav.manage.2}}" href="{{$nav.manage.0}}">{{$nav.manage.1}}</a></li>{{/if}}
+               
+                       {{if $nav.admin}}<li><a id="nav-admin-link" class="nav-commlink {{$nav.admin.2}}" href="{{$nav.admin.0}}">{{$nav.admin.1}}</a></li>{{/if}}
+                       
+                       {{if $nav.help}}<li><a id="nav-help-link" class="nav-link {{$nav.help.2}}" href="{{$nav.help.0}}">{{$nav.help.1}}</a></li>{{/if}}
+
+                       {{if $nav.login}}<li><a id="nav-login-link" class="nav-link {{$nav.login.2}}" href="{{$nav.login.0}}">{{$nav.login.1}}</a></li> {{/if}}
+                       {{if $nav.logout}}<li><a id="nav-logout-link" class="nav-commlink nav-sep {{$nav.logout.2}}" href="{{$nav.logout.0}}">{{$nav.logout.1}}</a></li> {{/if}}
+               </ul>
+       </div>
+</nav>
+
+<div id="scrollup" >
+<a href="javascript:scrollTo(0,0)"><img src="view/theme/smoothly/images/totop.png" alt="to top" title="to top" /></a><br />
+<a href="javascript:ScrollToBottom()"><img src="view/theme/smoothly/images/tobottom.png" alt="to bottom" title="to bottom" /></a>
+</div>
+
+<ul id="nav-notifications-template" style="display:none;" rel="template">
+       <li class="{4}"><a href="{0}"><img src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
+</ul>
+
+<div style="position: fixed; top: 3px; left: 5px; z-index:9999">{{$langselector}}</div>
+
+<script>
+var pagetitle = null;
+$("nav").bind('nav-update', function(e,data){
+if (pagetitle==null) pagetitle = document.title;
+var count = $(data).find('notif').attr('count');
+if (count>0) {
+document.title = "("+count+") "+pagetitle;
+} else {
+document.title = pagetitle;
+}
+});
+</script>
diff --git a/view/theme/smoothly/smarty3/search_item.tpl b/view/theme/smoothly/smarty3/search_item.tpl
new file mode 100644 (file)
index 0000000..a319676
--- /dev/null
@@ -0,0 +1,53 @@
+<div class="wall-item-outside-wrapper {{$item.indent}} {{$item.shiny}}{{$item.previewing}}" id="wall-item-outside-wrapper-{{$item.id}}" >
+       <div class="wall-item-content-wrapper {{$item.indent}} {{$item.shiny}}" id="wall-item-content-wrapper-{{$item.id}}" >
+               <div class="wall-item-info" id="wall-item-info-{{$item.id}}">
+                       <div class="wall-item-photo-wrapper mframe" id="wall-item-photo-wrapper-{{$item.id}}" 
+                                onmouseover="if (typeof t{{$item.id}} != 'undefined') clearTimeout(t{{$item.id}}); openMenu('wall-item-photo-menu-button-{{$item.id}}')" 
+                                onmouseout="t{{$item.id}}=setTimeout('closeMenu(\'wall-item-photo-menu-button-{{$item.id}}\'); closeMenu(\'wall-item-photo-menu-{{$item.id}}\');',200)">
+                               <a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}">
+                               <img src="{{$item.thumb}}" class="wall-item-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.name}}" /></a>
+                               <span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span>
+                               <div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}">
+                                       <ul>
+                                               {{$item.item_photo_menu}}
+                                       </ul>
+                               </div>
+                       </div>
+                       <div class="wall-item-photo-end"></div> 
+                       <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{if $item.location}}<span class="icon globe"></span>{{$item.location}} {{/if}}</div>
+               </div>
+               <div class="wall-item-lock-wrapper">
+                               {{if $item.lock}}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" /></div>
+                               {{else}}<div class="wall-item-lock"></div>{{/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}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" 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 class="wall-item-content" id="wall-item-content-{{$item.id}}" >
+                       <div class="wall-item-title" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
+                       <div class="wall-item-title-end"></div>
+                       <div class="wall-item-body" id="wall-item-body-{{$item.id}}" >{{$item.body}}</div>
+               </div>
+               <div class="wall-item-author">
+                               <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span></a>
+                               <div class="wall-item-ago"  id="wall-item-ago-{{$item.id}}">{{$item.ago}}</div>
+                               
+               </div>                  
+               
+       </div>
+       <div class="wall-item-wrapper-end"></div>
+
+
+       <div class="wall-item-conv" id="wall-item-conv-{{$item.id}}" >
+       {{if $item.conv}}
+                       <a href='{{$item.conv.href}}' id='context-{{$item.id}}' title='{{$item.conv.title}}'>{{$item.conv.title}}</a>
+       {{/if}}
+       </div>
+       <div class="wall-item-wrapper-end"></div>
+</div>
+
+<div class="wall-item-outside-wrapper-end {{$item.indent}} {{$item.shiny}}" ></div>
diff --git a/view/theme/smoothly/smarty3/wall_thread.tpl b/view/theme/smoothly/smarty3/wall_thread.tpl
new file mode 100644 (file)
index 0000000..019a836
--- /dev/null
@@ -0,0 +1,160 @@
+{{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}}">
+<div class="wall-item-outside-wrapper {{$item.indent}} {{$item.shiny}} wallwall" id="wall-item-outside-wrapper-{{$item.id}}" >
+<div class="wall-item-content-wrapper {{$item.indent}} {{$item.shiny}}" id="wall-item-content-wrapper-{{$item.id}}" >
+
+               <div class="wall-item-info{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-info-{{$item.id}}">
+                       {{if $item.owner_url}}
+                       <div class="wall-item-photo-wrapper mframe wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" >
+                               <a href="{{$item.owner_url}}" 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}}" /></a>
+                       </div>
+                       <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="{{$item.wall}}" /></div>
+                       {{/if}}
+                       <div class="wall-item-photo-wrapper mframe{{if $item.owner_url}} wwfrom{{/if}}" 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}}" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}">
+                               <img src="{{$item.thumb}}" class="wall-item-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.name}}" /></a>
+                               <span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span>
+                <div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}">
+                    <ul>
+                        {{$item.item_photo_menu}}
+                    </ul>
+                </div>
+
+                       </div>
+                       <div class="wall-item-photo-end"></div>
+                       <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{if $item.location}}<span class="icon globe"></span>{{$item.location}} {{/if}}</div>
+               </div>
+               <div class="wall-item-lock-wrapper">
+                       {{if $item.lock}}
+                       <div class="wall-item-lock">
+                       <img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" />
+                       </div>
+                       {{else}}
+                       <div class="wall-item-lock"></div>
+                       {{/if}}
+               </div>
+               <div class="wall-item-content" id="wall-item-content-{{$item.id}}" >
+               <div class="wall-item-author">
+                       <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link">
+                       <span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span>
+                       </a>
+                       <div class="wall-item-ago">&bull;</div>
+                       <div class="wall-item-ago" id="wall-item-ago-{{$item.id}}" title="{{$item.localtime}}">{{$item.ago}}</div>
+               </div>  
+
+               <div>
+               <hr class="line-dots">
+               </div>
+                       <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='tag'>{{$tag}}</span>
+                                       {{/foreach}}
+                               </div>
+
+                               {{if $item.has_cats}}
+                               <div class="categorytags"><span>{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} 
+                               <a href="{{$cat.removeurl}}" title="{{$item.remove}}">[{{$item.remove}}]</a> 
+                               {{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}} 
+                               <a href="{{$cat.removeurl}}" title="{{$item.remove}}">[{{$item.remove}}]</a> 
+                               {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
+                               </div>
+                               {{/if}}
+
+                       </div>
+               </div>
+               <div class="wall-item-social" id="wall-item-social-{{$item.id}}">
+
+                       {{if $item.vote}}
+                       <div class="wall-item-like-buttons" id="wall-item-like-buttons-{{$item.id}}">
+                               <a href="#" class="icon like" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></a>
+                               {{if $item.vote.dislike}}
+                               <a href="#" class="icon dislike" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></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="icon remote-link"></a>
+                       </div>
+                       {{/if}}
+                
+                       {{if $item.star}}
+                       <a href="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" 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>
+
+               <div class="wall-item-tools" id="wall-item-tools-{{$item.id}}">
+                       {{if $item.edpost}}
+                       <a class="editpost icon pencil" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></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}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" 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" id="wall-item-like-{{$item.id}}">{{$item.like}}</div>
+       <div class="wall-item-dislike" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div>
+
+       {{if $item.threaded}}
+       {{if $item.comment}}
+        <div class="wall-item-comment-wrapper {{$item.indent}} {{$item.shiny}}" >
+               {{$item.comment}}
+       </div>
+       {{/if}}
+       {{/if}}
+</div>
+
+<div class="wall-item-outside-wrapper-end {{$item.indent}} {{$item.shiny}}" ></div>
+
+{{foreach $item.children as $child}}
+       {{include file="file:{{$child.template}}" item=$child}}
+{{/foreach}}
+
+{{if $item.flatten}}
+<div class="wall-item-comment-wrapper" >
+       {{$item.comment}}
+</div>
+{{/if}}
+</div>
+{{if $item.comment_lastcollapsed}}</div>{{/if}}
index f5defdfe5cfd2a8b4d3c1a0309aa655ec548fdae..3dff381b220487aa97cab4c04ded90c94844251d 100644 (file)
@@ -11,6 +11,7 @@
 
 $a = get_app();
 $a->theme_info = array();
+$a->theme['template_engine'] = 'smarty3';
 
 function smoothly_init(&$a) {
        $cssFile = null;
index e31f343e2fd7c5a028c0e4448c08452e76874df4..e192ca61ca01848a5f498354e98dcbadef6b49f5 100644 (file)
 
                                {{ if $item.has_cats }}
                                <div class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name 
-                               <a href="$cat.removeurl" title="$remove">[$remove]</a> 
+                               <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a> 
                                {{ 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 
-                               <a href="$cat.removeurl" title="$remove">[$remove]</a> 
+                               <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a> 
                                {{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
                                </div>
                                {{ endif }}
 
 <div class="wall-item-outside-wrapper-end $item.indent $item.shiny" ></div>
 
-{{ for $item.children as $item }}
-       {{ inc $item.template }}{{ endinc }}
+{{ for $item.children as $child }}
+       {{ inc $child.template with $item=$child }}{{ endinc }}
 {{ endfor }}
 
 {{ if $item.flatten }}
index 0ee6919bc950fcea7e9c48605afb34e1c355008e..06f7ed86024eefe53fbe4abf9d9b1c465b89f336 100644 (file)
@@ -29,7 +29,7 @@
 
        {{ 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 }}
+       {{ inc $diaspora_vcard with $diaspora=$diaspora_info }}{{ endinc }}
        
        <div id="profile-extra-links">
                <ul>
diff --git a/view/theme/testbubble/smarty3/comment_item.tpl b/view/theme/testbubble/smarty3/comment_item.tpl
new file mode 100644 (file)
index 0000000..2235bbe
--- /dev/null
@@ -0,0 +1,33 @@
+               <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" />
+                               <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-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>
+                               <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$id}});" onBlur="commentClose(this,{{$id}});" >{{$comment}}</textarea>
+                               {{if $qcomment}}
+                               {{foreach $qcomment as $qc}}                            
+                                       <span class="fakelink qcomment" onclick="commentInsert(this,{{$id}}); return false;" >{{$qc}}</span>
+                                       &nbsp;
+                               {{/foreach}}
+                               {{/if}}
+
+                               <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>
+
+                               <div class="comment-edit-end"></div>
+                       </form>
+
+               </div>
+               <div id="comment-edit-preview-{{$id}}" class="comment-edit-preview" style="display:none;"></div>
diff --git a/view/theme/testbubble/smarty3/group_drop.tpl b/view/theme/testbubble/smarty3/group_drop.tpl
new file mode 100644 (file)
index 0000000..1f703c3
--- /dev/null
@@ -0,0 +1,8 @@
+<div class="group-delete-wrapper" id="group-delete-wrapper-{{$id}}" >
+       <a href="group/drop/{{$id}}" 
+               onclick="return confirmDelete();" 
+               title="{{$delete}}" 
+               id="group-delete-icon-{{$id}}" 
+               class="drophide group-delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" >Delete Group</a>
+</div>
+<div class="group-delete-end"></div>
diff --git a/view/theme/testbubble/smarty3/group_edit.tpl b/view/theme/testbubble/smarty3/group_edit.tpl
new file mode 100644 (file)
index 0000000..cbb394b
--- /dev/null
@@ -0,0 +1,16 @@
+<h2>{{$title}}</h2>
+
+
+<div id="group-edit-wrapper" >
+       <form action="group/{{$gid}}" id="group-edit-form" method="post" >
+               <div id="group-edit-name-wrapper" >
+                       <label id="group-edit-name-label" for="group-edit-name" >{{$gname}}</label>
+                       <input type="text" id="group-edit-name" name="groupname" value="{{$name}}" />
+                       <input type="submit" name="submit" value="{{$submit}}">
+                       {{$drop}}
+               </div>
+               <div id="group-edit-name-end"></div>
+               <div id="group-edit-desc">{{$desc}}</div>
+               <div id="group-edit-select-end" ></div>
+       </form>
+</div>
diff --git a/view/theme/testbubble/smarty3/group_side.tpl b/view/theme/testbubble/smarty3/group_side.tpl
new file mode 100644 (file)
index 0000000..b417a0e
--- /dev/null
@@ -0,0 +1,28 @@
+<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}}"><span class="icon small-pencil"></span></a>
+                               {{/if}}
+                               <a 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>
+</div>
+
+
diff --git a/view/theme/testbubble/smarty3/jot-header.tpl b/view/theme/testbubble/smarty3/jot-header.tpl
new file mode 100644 (file)
index 0000000..13d1673
--- /dev/null
@@ -0,0 +1,366 @@
+
+<script language="javascript" type="text/javascript" src="{{$baseurl}}/library/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
+<script language="javascript" type="text/javascript">
+
+var editor=false;
+var textlen = 0;
+var plaintext = '{{$editselect}}';
+
+function initEditor(cb) {
+    if (editor==false) {
+        $("#profile-jot-text-loading").show();
+ if(plaintext == 'none') {
+            $("#profile-jot-text-loading").hide();
+            $("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
+            $(".jothidden").show();
+            editor = true;
+            $("a#jot-perms-icon").fancybox({
+                'transitionIn' : 'elastic',
+                'transitionOut' : 'elastic'
+            });
+                                   $("#profile-jot-submit-wrapper").show();
+                                                               {{if $newpost}}
+                                   $("#profile-upload-wrapper").show();
+                                       $("#profile-attach-wrapper").show();
+                                   $("#profile-link-wrapper").show();
+                                       $("#profile-video-wrapper").show();
+                                   $("#profile-audio-wrapper").show();
+                                       $("#profile-location-wrapper").show();
+                                   $("#profile-nolocation-wrapper").show();
+                                       $("#profile-title-wrapper").show();
+                                       $("#profile-jot-plugin-wrapper").show();
+                                       $("#jot-preview-link").show();
+                                                               {{/if}}   
+
+
+            if (typeof cb!="undefined") cb();
+            return;
+        }
+        tinyMCE.init({
+                theme : "advanced",
+                mode : "specific_textareas",
+                editor_selector: /(profile-jot-text|prvmail-text)/,
+                plugins : "bbcode,paste,fullscreen,autoresize",
+                theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code,fullscreen",
+                theme_advanced_buttons2 : "",
+                theme_advanced_buttons3 : "",
+                theme_advanced_toolbar_location : "top",
+                theme_advanced_toolbar_align : "center",
+                theme_advanced_blockformats : "blockquote,code",
+                //theme_advanced_resizing : true,
+                //theme_advanced_statusbar_location : "bottom",
+                paste_text_sticky : true,
+                entity_encoding : "raw",
+                add_unload_trigger : false,
+                remove_linebreaks : false,
+                force_p_newlines : false,
+                force_br_newlines : true,
+                forced_root_block : '',
+                convert_urls: false,
+                content_css: "{{$baseurl}}/view/custom_tinymce.css",
+                theme_advanced_path : false,
+                setup : function(ed) {
+                                       cPopup = null;
+                                       ed.onKeyDown.add(function(ed,e) {
+                                               if(cPopup !== null)
+                                                       cPopup.onkey(e);
+                                       });
+
+
+
+                                       ed.onKeyUp.add(function(ed, e) {
+                                               var txt = tinyMCE.activeEditor.getContent();
+                                               match = txt.match(/@([^ \n]+)$/);
+                                               if(match!==null) {
+                                                       if(cPopup === null) {
+                                                               cPopup = new ACPopup(this,baseurl+"/acl");
+                                                       }
+                                                       if(cPopup.ready && match[1]!==cPopup.searchText) cPopup.search(match[1]);
+                                                       if(! cPopup.ready) cPopup = null;
+                                               }
+                                               else {
+                                                       if(cPopup !== null) { cPopup.close(); cPopup = null; }
+                                               }
+
+                                               textlen = txt.length;
+                                               if(textlen != 0 && $('#jot-perms-icon').is('.unlock')) {
+                                                       $('#profile-jot-desc').html(ispublic);
+                                               }
+                        else {
+                            $('#profile-jot-desc').html('&nbsp;');
+                        }
+
+                                                               //Character count
+
+                                if(textlen <= 140) {
+                                        $('#character-counter').removeClass('red');
+                                        $('#character-counter').removeClass('orange');
+                                        $('#character-counter').addClass('grey');
+                                }
+                                if((textlen > 140) && (textlen <= 420)) {
+                                        $('#character-counter').removeClass('grey');
+                                        $('#character-counter').removeClass('red');
+                                        $('#character-counter').addClass('orange');
+                                }
+                                if(textlen > 420) {
+                                        $('#character-counter').removeClass('grey');
+                                        $('#character-counter').removeClass('orange');
+                                        $('#character-counter').addClass('red');
+                                }
+                                $('#character-counter').text(textlen);
+                        });
+                        ed.onInit.add(function(ed) {
+                                ed.pasteAsPlainText = true;
+                                                               $("#profile-jot-text-loading").hide();
+                                                               $(".jothidden").show();
+                                   $("#profile-jot-submit-wrapper").show();
+                                                               {{if $newpost}}
+                                   $("#profile-upload-wrapper").show();
+                                       $("#profile-attach-wrapper").show();
+                                   $("#profile-link-wrapper").show();
+                                       $("#profile-video-wrapper").show();
+                                   $("#profile-audio-wrapper").show();
+                                       $("#profile-location-wrapper").show();
+                                   $("#profile-nolocation-wrapper").show();
+                                       $("#profile-title-wrapper").show();
+                                       $("#profile-jot-plugin-wrapper").show();
+                                       $("#jot-preview-link").show();
+                                                               {{/if}}   
+                             $("#character-counter").show();
+                                if (typeof cb!="undefined") cb();
+                        });
+                }
+        });
+        editor = true;
+        // setup acl popup
+        $("a#jot-perms-icon").fancybox({
+            'transitionIn' : 'none',
+            'transitionOut' : 'none'
+        }); 
+    } else {
+        if (typeof cb!="undefined") cb();
+    }
+} // initEditor
+</script>
+<script type="text/javascript" src="js/ajaxupload.js" ></script>
+<script>
+    var ispublic = '{{$ispublic}}';
+       $(document).ready(function() {
+                /* enable tinymce on focus */
+                $("#profile-jot-text").focus(function(){
+                    if (editor) return;
+                    $(this).val("");
+                    initEditor();
+                }); 
+
+
+               var uploader = new window.AjaxUpload(
+                       'wall-image-upload',
+                       { action: 'wall_upload/{{$nickname}}',
+                               name: 'userfile',
+                               onSubmit: function(file,ext) { $('#profile-rotator').show(); },
+                               onComplete: function(file,response) {
+                                       addeditortext(response);
+                                       $('#profile-rotator').hide();
+                               }                                
+                       }
+               );
+               var file_uploader = new window.AjaxUpload(
+                       'wall-file-upload',
+                       { action: 'wall_attach/{{$nickname}}',
+                               name: 'userfile',
+                               onSubmit: function(file,ext) { $('#profile-rotator').show(); },
+                               onComplete: function(file,response) {
+                                       addeditortext(response);
+                                       $('#profile-rotator').hide();
+                               }                                
+                       }
+               );              
+               $('#contact_allow, #contact_deny, #group_allow, #group_deny').change(function() {
+                       var selstr;
+                       $('#contact_allow option:selected, #contact_deny option:selected, #group_allow option:selected, #group_deny option:selected').each( function() {
+                               selstr = $(this).text();
+                               $('#jot-perms-icon').removeClass('unlock').addClass('lock');
+                               $('#jot-public').hide();
+                               $('.profile-jot-net input').attr('disabled', 'disabled');
+                       });
+                       if(selstr == null) { 
+                               $('#jot-perms-icon').removeClass('lock').addClass('unlock');
+                               $('#jot-public').show();
+                               $('.profile-jot-net input').attr('disabled', false);
+                       }
+
+               }).trigger('change');
+
+       });
+
+       function deleteCheckedItems() {
+               if(confirm('{{$delitems}}')) {
+                       var checkedstr = '';
+
+                       $("#item-delete-selected").hide();
+                       $('#item-delete-selected-rotator').show();
+
+                       $('.item-select').each( function() {
+                               if($(this).is(':checked')) {
+                                       if(checkedstr.length != 0) {
+                                               checkedstr = checkedstr + ',' + $(this).val();
+                                       }
+                                       else {
+                                               checkedstr = $(this).val();
+                                       }
+                               }       
+                       });
+                       $.post('item', { dropitems: checkedstr }, function(data) {
+                               window.location.reload();
+                       });
+               }
+       }
+
+       function jotGetLink() {
+               reply = prompt("{{$linkurl}}");
+               if(reply && reply.length) {
+                       reply = bin2hex(reply);
+                       $('#profile-rotator').show();
+                       $.get('parse_url?binurl=' + reply, function(data) {
+                               addeditortext(data);
+                               $('#profile-rotator').hide();
+                       });
+               }
+       }
+
+       function jotVideoURL() {
+               reply = prompt("{{$vidurl}}");
+               if(reply && reply.length) {
+                       addeditortext('[video]' + reply + '[/video]');
+               }
+       }
+
+       function jotAudioURL() {
+               reply = prompt("{{$audurl}}");
+               if(reply && reply.length) {
+                       addeditortext('[audio]' + reply + '[/audio]');
+               }
+       }
+
+
+       function jotGetLocation() {
+               reply = prompt("{{$whereareu}}", $('#jot-location').val());
+               if(reply && reply.length) {
+                       $('#jot-location').val(reply);
+               }
+       }
+
+       function jotTitle() {
+               reply = prompt("{{$title}}", $('#jot-title').val());
+               if(reply && reply.length) {
+                       $('#jot-title').val(reply);
+               }
+       }
+
+       function jotShare(id) {
+               $('#like-rotator-' + id).show();
+               $.get('share/' + id, function(data) {
+                               if (!editor) $("#profile-jot-text").val("");
+                               initEditor(function(){
+                                       addeditortext(data);
+                                       $('#like-rotator-' + id).hide();
+                                       $(window).scrollTop(0);
+                               });
+               });
+       }
+
+       function linkdropper(event) {
+               var linkFound = event.dataTransfer.types.contains("text/uri-list");
+               if(linkFound)
+                       event.preventDefault();
+       }
+
+       function linkdrop(event) {
+               var reply = event.dataTransfer.getData("text/uri-list");
+               event.target.textContent = reply;
+               event.preventDefault();
+               if(reply && reply.length) {
+                       reply = bin2hex(reply);
+                       $('#profile-rotator').show();
+                       $.get('parse_url?binurl=' + reply, function(data) {
+                               if (!editor) $("#profile-jot-text").val("");
+                               initEditor(function(){
+                                       addeditortext(data);
+                                       $('#profile-rotator').hide();
+                               });
+                       });
+               }
+       }
+
+       function itemTag(id) {
+               reply = prompt("{{$term}}");
+               if(reply && reply.length) {
+                       reply = reply.replace('#','');
+                       if(reply.length) {
+
+                               commentBusy = true;
+                               $('body').css('cursor', 'wait');
+
+                               $.get('tagger/' + id + '?term=' + reply);
+                               if(timer) clearTimeout(timer);
+                               timer = setTimeout(NavUpdate,3000);
+                               liking = 1;
+                       }
+               }
+       }
+       
+       function itemFiler(id) {
+               
+               var bordercolor = $("input").css("border-color");
+               
+               $.get('filer/', function(data){
+                       $.fancybox(data);
+                       $("#id_term").keypress(function(){
+                               $(this).css("border-color",bordercolor);
+                       })
+                       $("#select_term").change(function(){
+                               $("#id_term").css("border-color",bordercolor);
+                       })
+                       
+                       $("#filer_save").click(function(e){
+                               e.preventDefault();
+                               reply = $("#id_term").val();
+                               if(reply && reply.length) {
+                                       commentBusy = true;
+                                       $('body').css('cursor', 'wait');
+                                       $.get('filer/' + id + '?term=' + reply);
+                                       if(timer) clearTimeout(timer);
+                                       timer = setTimeout(NavUpdate,3000);
+                                       liking = 1;
+                                       $.fancybox.close();
+                               } else {
+                                       $("#id_term").css("border-color","#FF0000");
+                               }
+                               return false;
+                       });
+               });
+               
+       }
+
+       
+
+       function jotClearLocation() {
+               $('#jot-coord').val('');
+               $('#profile-nolocation-wrapper').hide();
+       }
+
+  function addeditortext(data) {
+        if(plaintext == 'none') {
+            var currentText = $("#profile-jot-text").val();
+            $("#profile-jot-text").val(currentText + data);
+        }
+        else
+            tinyMCE.execCommand('mceInsertRawHTML',false,data);
+    }
+
+
+       {{$geotag}}
+
+</script>
+
diff --git a/view/theme/testbubble/smarty3/jot.tpl b/view/theme/testbubble/smarty3/jot.tpl
new file mode 100644 (file)
index 0000000..b035cb0
--- /dev/null
@@ -0,0 +1,75 @@
+
+<div id="profile-jot-wrapper" > 
+       <div id="profile-jot-banner-wrapper">
+               <div id="profile-jot-desc" >&nbsp;</div>
+               <div id="character-counter" class="grey" style="display: none;">0</div>
+               <div id="profile-rotator-wrapper" style="display: {{$visitor}};" >
+                       <img id="profile-rotator" src="images/rotator.gif" alt="{{$wait}}" title="{{$wait}}" style="display:none;"  />
+               </div>          
+       </div>
+
+       <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="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" style="display:none"></div>
+               <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" >{{if $content}}{{$content}}{{else}}{{$share}}{{/if}}</textarea>
+               </div>
+       <div id="profile-upload-wrapper" class="jot-tool" style="display: none;" >
+               <div id="wall-image-upload-div" ><a onclick="return false;" id="wall-image-upload" class="icon border camera" title="{{$upload}}"></a></div>
+       </div>
+       <div id="profile-attach-wrapper" class="jot-tool" style="display: none;" >
+               <div id="wall-file-upload-div" ><a href="#" onclick="return false;" id="wall-file-upload" class="icon border attach" title="{{$attach}}"></a></div>
+       </div>  
+       <div id="profile-link-wrapper" class="jot-tool" style="display: none;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
+               <a id="profile-link" class="icon border  link" title="{{$weblink}}" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;"></a>
+       </div> 
+       <div id="profile-video-wrapper" class="jot-tool" style="display: none;" >
+               <a id="profile-video" class="icon border  video" title="{{$video}}" onclick="jotVideoURL(); return false;"></a>
+       </div> 
+       <div id="profile-audio-wrapper" class="jot-tool" style="display: none;" >
+               <a id="profile-audio" class="icon border  audio" title="{{$audio}}" onclick="jotAudioURL(); return false;"></a>
+       </div> 
+       <div id="profile-location-wrapper" class="jot-tool" style="display: none;" >
+               <a id="profile-location" class="icon border  globe" title="{{$setloc}}" onclick="jotGetLocation(); return false;"></a>
+       </div> 
+       <div id="profile-nolocation-wrapper" class="jot-tool" style="display: none;" >
+               <a id="profile-nolocation" class="icon border  noglobe" title="{{$noloc}}" onclick="jotClearLocation(); return false;"></a>
+       </div> 
+
+       <span onclick="preview_post();" id="jot-preview-link" class="fakelink" style="display: none;" >{{$preview}}</span>
+
+       <div id="profile-jot-submit-wrapper" style="display:none;padding-left: 400px;">
+               <input type="submit" id="profile-jot-submit" name="submit" value="{{$share}}" />
+               <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}} sharePerms" title="{{$permset}}"></a>{{$bang}}</div>
+       </div>
+
+       <div id="profile-jot-plugin-wrapper" style="display: none;">
+       {{$jotplugins}}
+       </div>
+       <div id="profile-jot-tools-end"></div>
+       
+       <div id="jot-preview-content" style="display:none;"></div>
+
+        <div style="display: none;">
+            <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
+                {{$acl}}
+                <hr style="clear:both"/>
+                <div id="profile-jot-email-label">{{$emailcc}}</div><input type="text" name="emailcc" id="profile-jot-email" title="{{$emtitle}}" />
+                <div id="profile-jot-email-end"></div>
+                {{$jotnets}}
+            </div>
+        </div>
+
+<div id="profile-jot-end"></div>
+</form>
+</div>
+                {{if $content}}<script>initEditor();</script>{{/if}}
diff --git a/view/theme/testbubble/smarty3/match.tpl b/view/theme/testbubble/smarty3/match.tpl
new file mode 100644 (file)
index 0000000..03938ab
--- /dev/null
@@ -0,0 +1,13 @@
+<div class="profile-match-wrapper">
+       <div class="profile-match-photo">
+               <a href="{{$url}}">
+                       <img src="{{$photo}}" alt="{{$name}}" />
+               </a>
+       </div>
+       <span><a href="{{$url}}">{{$name}}</a>{{$inttxt}}<br />{{$tags}}</span>
+       <div class="profile-match-break"></div>
+       {{if $connlnk}}
+       <div class="profile-match-connect"><a href="{{$connlnk}}" title="{{$conntxt}}">{{$conntxt}}</a></div>
+       {{/if}}
+       <div class="profile-match-end"></div>
+</div>
\ No newline at end of file
diff --git a/view/theme/testbubble/smarty3/nav.tpl b/view/theme/testbubble/smarty3/nav.tpl
new file mode 100644 (file)
index 0000000..527ecc8
--- /dev/null
@@ -0,0 +1,66 @@
+<nav>
+       {{$langselector}}
+
+       <span id="banner">{{$banner}}</span>
+
+       <div id="notifications">        
+               {{if $nav.network}}<a id="net-update" class="nav-ajax-update" href="{{$nav.network.0}}" title="{{$nav.network.1}}"></a>{{/if}}
+               {{if $nav.home}}<a id="home-update" class="nav-ajax-update" href="{{$nav.home.0}}" title="{{$nav.home.1}}"></a>{{/if}}
+<!--           {{if $nav.notifications}}<a id="intro-update" class="nav-ajax-update" href="{{$nav.notifications.0}}" title="{{$nav.notifications.1}}"></a>{{/if}} -->
+               {{if $nav.introductions}}<a id="intro-update" class="nav-ajax-update" href="{{$nav.introductions.0}}" title="{{$nav.introductions.1}}"></a>{{/if}}
+               {{if $nav.messages}}<a id="mail-update" class="nav-ajax-update" href="{{$nav.messages.0}}" title="{{$nav.messages.1}}"></a>{{/if}}
+               {{if $nav.notifications}}<a rel="#nav-notifications-menu" id="notify-update" class="nav-ajax-update" href="{{$nav.notifications.0}}"  title="{{$nav.notifications.1}}"></a>{{/if}}
+
+               <ul id="nav-notifications-menu" class="menu-popup">
+                       <li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">{{$nav.notifications.mark.1}}</a></li>
+                       <li id="nav-notifications-see-all"><a href="{{$nav.notifications.all.0}}">{{$nav.notifications.all.1}}</a></li>
+                       <li class="empty">{{$emptynotifications}}</li>
+               </ul>
+       </div>
+       
+       <div id="user-menu" >
+               <a id="user-menu-label" onclick="openClose('user-menu-popup'); return false" href="{{$nav.home.0}}">{{$sitelocation}}</a>
+               
+               <ul id="user-menu-popup" 
+                        onmouseover="if (typeof tmenu != 'undefined') clearTimeout(tmenu); openMenu('user-menu-popup')" 
+                        onmouseout="tmenu=setTimeout('closeMenu(\'user-menu-popup\');',200)">
+
+                       {{if $nav.register}}<li><a id="nav-register-link" class="nav-commlink {{$nav.register.2}}" href="{{$nav.register.0}}">{{$nav.register.1}}</a></li>{{/if}}
+                       
+                       {{if $nav.home}}<li><a id="nav-home-link" class="nav-commlink {{$nav.home.2}}" href="{{$nav.home.0}}">{{$nav.home.1}}</a></li>{{/if}}
+               
+                       {{if $nav.network}}<li><a id="nav-network-link" class="nav-commlink {{$nav.network.2}}" href="{{$nav.network.0}}">{{$nav.network.1}}</a></li>{{/if}}
+               
+                               {{if $nav.community}}
+                               <li><a id="nav-community-link" class="nav-commlink {{$nav.community.2}}" href="{{$nav.community.0}}">{{$nav.community.1}}</a></li>
+                               {{/if}}
+
+                       <li><a id="nav-search-link" class="nav-link {{$nav.search.2}}" href="{{$nav.search.0}}">{{$nav.search.1}}</a></li>
+                       <li><a id="nav-directory-link" class="nav-link {{$nav.directory.2}}" href="{{$nav.directory.0}}">{{$nav.directory.1}}</a></li>
+                       {{if $nav.apps}}<li><a id="nav-apps-link" class="nav-link {{$nav.apps.2}}" href="{{$nav.apps.0}}">{{$nav.apps.1}}</a></li>{{/if}}
+                       
+                       {{if $nav.notifications}}<li><a id="nav-notify-link" class="nav-commlink nav-sep {{$nav.notifications.2}}" href="{{$nav.notifications.0}}">{{$nav.notifications.1}}</a></li>{{/if}}
+                       {{if $nav.messages}}<li><a id="nav-messages-link" class="nav-commlink {{$nav.messages.2}}" href="{{$nav.messages.0}}">{{$nav.messages.1}}</a></li>{{/if}}
+                       {{if $nav.contacts}}<li><a id="nav-contacts-link" class="nav-commlink {{$nav.contacts.2}}" href="{{$nav.contacts.0}}">{{$nav.contacts.1}}</a></li>{{/if}}
+               
+                       {{if $nav.profiles}}<li><a id="nav-profiles-link" class="nav-commlink nav-sep {{$nav.profiles.2}}" href="{{$nav.profiles.0}}">{{$nav.profiles.1}}</a></li>{{/if}}
+                       {{if $nav.settings}}<li><a id="nav-settings-link" class="nav-commlink {{$nav.settings.2}}" href="{{$nav.settings.0}}">{{$nav.settings.1}}</a></li>{{/if}}
+                       
+                       {{if $nav.manage}}<li><a id="nav-manage-link" class="nav-commlink {{$nav.manage.2}}" href="{{$nav.manage.0}}">{{$nav.manage.1}}</a></li>{{/if}}
+               
+                       {{if $nav.admin}}<li><a id="nav-admin-link" class="nav-commlink {{$nav.admin.2}}" href="{{$nav.admin.0}}">{{$nav.admin.1}}</a></li>{{/if}}
+                       
+                       {{if $nav.help}}<li><a id="nav-help-link" class="nav-link {{$nav.help.2}}" href="{{$nav.help.0}}">{{$nav.help.1}}</a></li>{{/if}}
+
+                       {{if $nav.login}}<li><a id="nav-login-link" class="nav-link {{$nav.login.2}}" href="{{$nav.login.0}}">{{$nav.login.1}}</a></li> {{/if}}
+                       {{if $nav.logout}}<li><a id="nav-logout-link" class="nav-commlink nav-sep {{$nav.logout.2}}" href="{{$nav.logout.0}}">{{$nav.logout.1}}</a></li> {{/if}}
+               </ul>
+       </div>
+</nav>
+
+
+<ul id="nav-notifications-template" style="display:none;" rel="template">
+       <li class="{4}"><a href="{0}"><img src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
+</ul>
+
+
diff --git a/view/theme/testbubble/smarty3/photo_album.tpl b/view/theme/testbubble/smarty3/photo_album.tpl
new file mode 100644 (file)
index 0000000..40c95aa
--- /dev/null
@@ -0,0 +1,8 @@
+<div class="photo-album-image-wrapper" id="photo-album-image-wrapper-{{$id}}">
+       <a href="{{$photolink}}" class="photo-album-photo-link" id="photo-album-photo-link-{{$id}}" title="{{$phototitle}}">
+               <img src="{{$imgsrc}}" alt="{{$imgalt}}" title="{{$phototitle}}" class="photo-album-photo lframe  resize" id="photo-album-photo-{{$id}}" />
+       </div>
+               <p class='caption'>{{$desc}}</p>                
+       </a>
+       </div>
+<div class="photo-album-image-wrapper-end"></div>
diff --git a/view/theme/testbubble/smarty3/photo_top.tpl b/view/theme/testbubble/smarty3/photo_top.tpl
new file mode 100644 (file)
index 0000000..6057e6c
--- /dev/null
@@ -0,0 +1,8 @@
+
+<div class="photo-top-image-wrapper lframe" id="photo-top-image-wrapper-{{$id}}">
+       <div id="photo-album-wrapper-inner">
+       <a href="{{$photo.link}}" class="photo-top-photo-link" id="photo-top-photo-link-{{$id}}" title="{{$photo.title}}"><img src="{{$photo.src}}" alt="{{$phoyo.alt}}" title="{{$photo.title}}" class="photo-top-photo" id="photo-top-photo-{{$id}}" /></a>
+       </div>
+       <div class="photo-top-album-name"><a href="{{$photo.album.link}}" class="photo-top-album-link" title="{{$photo.album.alt}}" >{{$photo.album.name}}</a></div>
+</div>
+<div class="photo-top-image-wrapper-end"></div>
diff --git a/view/theme/testbubble/smarty3/photo_view.tpl b/view/theme/testbubble/smarty3/photo_view.tpl
new file mode 100644 (file)
index 0000000..31f9082
--- /dev/null
@@ -0,0 +1,40 @@
+<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-photo" class="lframe">
+       {{if $prevlink}}<div id="photo-prev-link"><a href="{{$prevlink.0}}">{{$prevlink.1}}</a></div>{{/if}}
+       <a href="{{$photo.href}}" title="{{$photo.title}}"><img src="{{$photo.src}}" /></a>
+       {{if $nextlink}}<div id="photo-next-link"><a href="{{$nextlink.0}}">{{$nextlink.1}}</a></div>{{/if}}
+</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}}{{/if}}
+
+{{if $likebuttons}}
+<div id="photo-like-div">
+       {{$likebuttons}}
+       {{$like}}
+       {{$dislike}}    
+</div>
+{{/if}}
+
+{{$comments}}
+
+{{$paginate}}
+
diff --git a/view/theme/testbubble/smarty3/profile_entry.tpl b/view/theme/testbubble/smarty3/profile_entry.tpl
new file mode 100644 (file)
index 0000000..ad3e179
--- /dev/null
@@ -0,0 +1,11 @@
+
+<div class="profile-listing" >
+<div class="profile-listing-photo-wrapper" >
+<a href="profiles/{{$id}}" class="profile-listing-edit-link"><img class="profile-listing-photo mframe" id="profile-listing-photo-{{$id}}" src="{{$photo}}" alt="{{$alt}}" /></a>
+</div>
+<div class="profile-listing-photo-end"></div>
+<div class="profile-listing-name" id="profile-listing-name-{{$id}}"><a href="profiles/{{$id}}" class="profile-listing-edit-link" >{{$profile_name}}</a></div>
+<div class='profile-visible'>{{$visible}}</div>
+</div>
+<div class="profile-listing-end"></div>
+
diff --git a/view/theme/testbubble/smarty3/profile_vcard.tpl b/view/theme/testbubble/smarty3/profile_vcard.tpl
new file mode 100644 (file)
index 0000000..5fc11b7
--- /dev/null
@@ -0,0 +1,45 @@
+<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}}" 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="file:{{$diaspora_vcard}}" diaspora=$diaspora_info}}
+       
+       <div id="profile-extra-links">
+               <ul>
+                       {{if $connect}}
+                               <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
+                       {{/if}}
+               </ul>
+       </div>
+</div>
+
+{{$contact_block}}
+
+
diff --git a/view/theme/testbubble/smarty3/saved_searches_aside.tpl b/view/theme/testbubble/smarty3/saved_searches_aside.tpl
new file mode 100644 (file)
index 0000000..2ec7992
--- /dev/null
@@ -0,0 +1,14 @@
+<div class="widget" id="saved-search-list">
+       <h3 id="search">{{$title}}</h3>
+       {{$searchbox}}
+       
+       <ul id="saved-search-ul">
+               {{foreach $saved as $search}}
+               <li class="saved-search-li clear">
+                       <a onmouseout="imgdull(this);" onmouseover="imgbright(this);" onclick="return confirmDelete();" class="icon savedsearchdrop drophide" href="network/?f=&amp;remove=1&amp;search={{$search.encodedterm}}"></a>
+                       <a class="savedsearchterm" href="network/?f=&amp;search={{$search.encodedterm}}">{{$search.term}}</a>
+               </li>
+               {{/foreach}}
+       </ul>
+       <div class="clear"></div>
+</div>
diff --git a/view/theme/testbubble/smarty3/search_item.tpl b/view/theme/testbubble/smarty3/search_item.tpl
new file mode 100644 (file)
index 0000000..a319676
--- /dev/null
@@ -0,0 +1,53 @@
+<div class="wall-item-outside-wrapper {{$item.indent}} {{$item.shiny}}{{$item.previewing}}" id="wall-item-outside-wrapper-{{$item.id}}" >
+       <div class="wall-item-content-wrapper {{$item.indent}} {{$item.shiny}}" id="wall-item-content-wrapper-{{$item.id}}" >
+               <div class="wall-item-info" id="wall-item-info-{{$item.id}}">
+                       <div class="wall-item-photo-wrapper mframe" id="wall-item-photo-wrapper-{{$item.id}}" 
+                                onmouseover="if (typeof t{{$item.id}} != 'undefined') clearTimeout(t{{$item.id}}); openMenu('wall-item-photo-menu-button-{{$item.id}}')" 
+                                onmouseout="t{{$item.id}}=setTimeout('closeMenu(\'wall-item-photo-menu-button-{{$item.id}}\'); closeMenu(\'wall-item-photo-menu-{{$item.id}}\');',200)">
+                               <a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}">
+                               <img src="{{$item.thumb}}" class="wall-item-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.name}}" /></a>
+                               <span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span>
+                               <div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}">
+                                       <ul>
+                                               {{$item.item_photo_menu}}
+                                       </ul>
+                               </div>
+                       </div>
+                       <div class="wall-item-photo-end"></div> 
+                       <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{if $item.location}}<span class="icon globe"></span>{{$item.location}} {{/if}}</div>
+               </div>
+               <div class="wall-item-lock-wrapper">
+                               {{if $item.lock}}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" /></div>
+                               {{else}}<div class="wall-item-lock"></div>{{/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}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" 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 class="wall-item-content" id="wall-item-content-{{$item.id}}" >
+                       <div class="wall-item-title" id="wall-item-title-{{$item.id}}">{{$item.title}}</div>
+                       <div class="wall-item-title-end"></div>
+                       <div class="wall-item-body" id="wall-item-body-{{$item.id}}" >{{$item.body}}</div>
+               </div>
+               <div class="wall-item-author">
+                               <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span></a>
+                               <div class="wall-item-ago"  id="wall-item-ago-{{$item.id}}">{{$item.ago}}</div>
+                               
+               </div>                  
+               
+       </div>
+       <div class="wall-item-wrapper-end"></div>
+
+
+       <div class="wall-item-conv" id="wall-item-conv-{{$item.id}}" >
+       {{if $item.conv}}
+                       <a href='{{$item.conv.href}}' id='context-{{$item.id}}' title='{{$item.conv.title}}'>{{$item.conv.title}}</a>
+       {{/if}}
+       </div>
+       <div class="wall-item-wrapper-end"></div>
+</div>
+
+<div class="wall-item-outside-wrapper-end {{$item.indent}} {{$item.shiny}}" ></div>
diff --git a/view/theme/testbubble/smarty3/wall_thread.tpl b/view/theme/testbubble/smarty3/wall_thread.tpl
new file mode 100644 (file)
index 0000000..8a0150e
--- /dev/null
@@ -0,0 +1,107 @@
+{{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}}">
+<div class="wall-item-outside-wrapper {{$item.indent}} {{$item.shiny}} wallwall" id="wall-item-outside-wrapper-{{$item.id}}" >
+       <div class="wall-item-content-wrapper {{$item.indent}} {{$item.shiny}}" id="wall-item-content-wrapper-{{$item.id}}" >
+               <div class="wall-item-info{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-info-{{$item.id}}">
+                       {{if $item.owner_url}}
+                       <div class="wall-item-photo-wrapper mframe wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" >
+                               <a href="{{$item.owner_url}}" 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}}" /></a>
+                       </div>
+                       <div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="{{$item.wall}}" /></div>
+                       {{/if}}
+                       <div class="wall-item-photo-wrapper mframe{{if $item.owner_url}} wwfrom{{/if}}" 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}}" title="{{$item.linktitle}}" class="wall-item-photo-link" id="wall-item-photo-link-{{$item.id}}">
+                               <img src="{{$item.thumb}}" class="wall-item-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" style="height: 80px; width: 80px;" alt="{{$item.name}}" /></a>
+                               <span onclick="openClose('wall-item-photo-menu-{{$item.id}}');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-{{$item.id}}">menu</span>
+                <div class="wall-item-photo-menu" id="wall-item-photo-menu-{{$item.id}}">
+                    <ul>
+                        {{$item.item_photo_menu}}
+                    </ul>
+                </div>
+
+                       </div>
+                       <div class="wall-item-photo-end"></div>
+                       <div class="wall-item-location" id="wall-item-location-{{$item.id}}">{{if $item.location}}<span class="icon globe"></span>{{$item.location}} {{/if}}</div>
+               </div>
+               <div class="wall-item-lock-wrapper">
+                               {{if $item.lock}}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="{{$item.lock}}" onclick="lockview(event,{{$item.id}});" /></div>
+                               {{else}}<div class="wall-item-lock"></div>{{/if}}
+               </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='tag'>{{$tag}}</span>
+                                               {{/foreach}}
+                                       </div>
+                       </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="#" class="icon like" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false"></a>
+                               {{if $item.vote.dislike}}<a href="#" class="icon dislike" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"></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="icon remote-link"></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="#" id="starred-{{$item.id}}" onclick="dostar({{$item.id}}); return false;" 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}}
+                       
+                       <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-{{$item.id}}" >
+                               {{if $item.drop.dropping}}<a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon drophide" title="{{$item.drop.delete}}" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{/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 class="wall-item-author">
+                       <a href="{{$item.profile_url}}" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}" id="wall-item-name-{{$item.id}}" >{{$item.name}}</span></a>
+                       <div class="wall-item-ago"  id="wall-item-ago-{{$item.id}}">{{$item.ago}}</div>
+               </div>  
+       </div>  
+       <div class="wall-item-wrapper-end"></div>
+       <div class="wall-item-like" id="wall-item-like-{{$item.id}}">{{$item.like}}</div>
+       <div class="wall-item-dislike" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div>
+       {{if $item.threaded}}
+       {{if $item.comment}}
+       <div class="wall-item-comment-wrapper {{$item.indent}} {{$item.shiny}}" >
+               {{$item.comment}}
+       </div>
+       {{/if}}
+       {{/if}}
+</div>
+
+<div class="wall-item-outside-wrapper-end {{$item.indent}} {{$item.shiny}}" ></div>
+
+{{foreach $item.children as $child}}
+       {{include file="file:{{$child.template}}" item=$child}}
+{{/foreach}}
+
+{{if $item.flatten}}
+<div class="wall-item-comment-wrapper" >
+       {{$item.comment}}
+</div>
+{{/if}}
+</div>
+{{if $item.comment_lastcollapsed}}</div>{{/if}}
index 591d9e066b2c91a52b1ce9300f404dc87c04bb61..b71ab06f791efc0a05c3c408c4604c0ad5aacd0b 100644 (file)
@@ -8,6 +8,8 @@
  * Maintainer: Mike Macgirvin <mike@macgirvin.com>
  */
 
+$a->theme['template_engine'] = 'smarty3';
+
 $a->page['htmlhead'] .= <<< EOT
 <script>
 $(document).ready(function() {
index 634ae7f0021c8f98b904697f6bafa6f3145ab652..c2ccf9d7213a962f0c63ae3a8a805490ac79e882 100644 (file)
@@ -94,8 +94,8 @@
 
 <div class="wall-item-outside-wrapper-end $item.indent $item.shiny" ></div>
 
-{{ for $item.children as $item }}
-       {{ inc $item.template }}{{ endinc }}
+{{ for $item.children as $child }}
+       {{ inc $child.template with $item=$child }}{{ endinc }}
 {{ endfor }}
 
 {{ if $item.flatten }}
diff --git a/view/theme/vier/smarty3/comment_item.tpl b/view/theme/vier/smarty3/comment_item.tpl
new file mode 100644 (file)
index 0000000..22115b3
--- /dev/null
@@ -0,0 +1,50 @@
+               {{if $threaded}}
+               <div class="comment-wwedit-wrapper threaded" id="comment-edit-wrapper-{{$id}}" style="display: block;">
+               {{else}}
+               <div class="comment-wwedit-wrapper" id="comment-edit-wrapper-{{$id}}" style="display: block;">
+               {{/if}}
+                       <form class="comment-edit-form" style="display: block;" 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" />
+                               <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-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>
+                               <textarea id="comment-edit-text-{{$id}}" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,{{$id}});">{{$comment}}</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}}" style="display: none;" >
+
+                               <div class="comment-edit-bb-{{$id}}">
+                                       <a class="icon bb-image" style="cursor: pointer;" title="{{$edimg}}" onclick="insertFormatting('{{$comment}}','img',{{$id}});">img</a>      
+                                       <a class="icon bb-url" style="cursor: pointer;" title="{{$edurl}}" onclick="insertFormatting('{{$comment}}','url',{{$id}});">url</a>
+                                       <a class="icon bb-video" style="cursor: pointer;" title="{{$edvideo}}" onclick="insertFormatting('{{$comment}}','video',{{$id}});">video</a>                                
+                                                                                
+                                       <a class="icon underline" style="cursor: pointer;" title="{{$eduline}}" onclick="insertFormatting('{{$comment}}','u',{{$id}});">u</a>
+                                       <a class="icon italic" style="cursor: pointer;" title="{{$editalic}}" onclick="insertFormatting('{{$comment}}','i',{{$id}});">i</a>
+                                       <a class="icon bold" style="cursor: pointer;"  title="{{$edbold}}" onclick="insertFormatting('{{$comment}}','b',{{$id}});">b</a>
+                                       <a class="icon quote" style="cursor: pointer;" title="{{$edquote}}" onclick="insertFormatting('{{$comment}}','quote',{{$id}});">quote</a>
+                                </div>
+                                       <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/vier/smarty3/mail_list.tpl b/view/theme/vier/smarty3/mail_list.tpl
new file mode 100644 (file)
index 0000000..dcb56d0
--- /dev/null
@@ -0,0 +1,8 @@
+<div class="mail-list-wrapper">
+       <span class="mail-subject {{if $seen}}seen{{else}}unseen{{/if}}"><a href="message/{{$id}}" class="mail-link">{{$subject}}</a></span>
+       <span class="mail-from">{{$from_name}}</span>
+       <span class="mail-date">{{$date}}</span>
+       <span class="mail-count">{{$count}}</span>
+       
+       <a href="message/dropconv/{{$id}}" onclick="return confirmDelete();"  title="{{$delete}}" class="mail-delete"><i class="icon-trash icon-large"></i></a>
+</div>
diff --git a/view/theme/vier/smarty3/nav.tpl b/view/theme/vier/smarty3/nav.tpl
new file mode 100644 (file)
index 0000000..2793e6f
--- /dev/null
@@ -0,0 +1,145 @@
+<header>
+       {{* {{$langselector}} *}}
+
+       <div id="site-location">{{$sitelocation}}</div>
+       <div id="banner">{{$banner}}</div>
+</header>
+<nav>
+       <ul>
+               {{if $nav.community}}
+                       <li id="nav-community-link" class="nav-menu {{$sel.community}}">
+                               <a class="{{$nav.community.2}}" href="{{$nav.community.0}}" title="{{$nav.community.3}}" >{{$nav.community.1}}</a>
+                       </li>
+               {{/if}}
+               
+               {{if $nav.network}}
+                       <li id="nav-network-link" class="nav-menu {{$sel.network}}">
+                               <a class="{{$nav.network.2}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
+                               <span id="net-update" class="nav-notify"></span>
+                       </li>
+               {{/if}}
+               {{if $nav.home}}
+                       <li id="nav-home-link" class="nav-menu {{$sel.home}}">
+                               <a class="{{$nav.home.2}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a>
+                               <span id="home-update" class="nav-notify"></span>
+                       </li>
+               {{/if}}
+               {{if $nav.messages}}
+                       <li id="nav-messages-linkmenu" class="nav-menu">
+                               <a href="{{$nav.messages.0}}" rel="#nav-messages-menu" title="{{$nav.messages.1}}">{{$nav.messages.1}}
+                               <span id="mail-update" class="nav-notify"></span></a>
+                               <ul id="nav-messages-menu" class="menu-popup">
+                                       <li id="nav-messages-see-all"><a href="{{$nav.messages.0}}">{{$nav.messages.1}}</a></li>
+                                        <li id="nav-messages-see-all"><a href="{{$nav.messages.new.0}}">{{$nav.messages.new.1}}</a></li>
+                               </ul>
+                        </li>           
+                {{/if}}
+
+               <li id="nav-site-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-site-menu"><span class="icon s22 gear">Site</span></a>
+                       <ul id="nav-site-menu" class="menu-popup">
+                               {{if $nav.manage}}<li><a class="{{$nav.manage.2}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a></li>{{/if}}                         
+                               {{if $nav.help}} <li><a class="{{$nav.help.2}}" target="friendica-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a></li>{{/if}}
+                               <li><a class="{{$nav.search.2}}" href="friendica" title="Site Info / Impressum" >Info/Impressum</a></li>
+                               <li><a class="{{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a></li>
+                               {{if $nav.delegations}}<li><a class="{{$nav.delegations.2}}" href="{{$nav.delegations.0}}" title="{{$nav.delegations.3}}">{{$nav.delegations.1}}</a></li>{{/if}}
+                               {{if $nav.settings}}<li><a class="{{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a></li>{{/if}}
+                               {{if $nav.admin}}<li><a class="{{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a></li>{{/if}}
+
+                               {{if $nav.logout}}<li><a class="menu-sep {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a></li>{{/if}}
+                               {{if $nav.login}}<li><a class="{{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a><li>{{/if}}
+                       </ul>           
+               </li>
+               {{if $nav.notifications}}
+                       <li  id="nav-notifications-linkmenu" class="nav-menu-icon"><a href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}"><span class="icon s22 notify">{{$nav.notifications.1}}</span></a>
+                               <span id="notify-update" class="nav-notify"></span>
+                               <ul id="nav-notifications-menu" class="menu-popup">
+                                       <li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">{{$nav.notifications.mark.1}}</a></li>
+                                       <li id="nav-notifications-see-all"><a href="{{$nav.notifications.all.0}}">{{$nav.notifications.all.1}}</a></li>
+                                       <li class="empty">{{$emptynotifications}}</li>
+                               </ul>
+                       </li>           
+               {{/if}}         
+               
+<!--           
+               {{if $nav.help}} 
+               <li id="nav-help-link" class="nav-menu {{$sel.help}}">
+                       <a class="{{$nav.help.2}}" target="friendica-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a>
+               </li>
+               {{/if}}
+-->
+
+               {{if $userinfo}}
+                       <li id="nav-user-linklabel" class="nav-menu"><a href="#" rel="#nav-user-menu" title="{{$sitelocation}}">{{$userinfo.name}}</a>
+                       <li id="nav-user-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-user-menu" title="{{$sitelocation}}"><img src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"></a>
+                               <ul id="nav-user-menu" class="menu-popup">
+                                       {{foreach $nav.usermenu as $usermenu}}
+                                               <li><a class="{{$usermenu.2}}" href="{{$usermenu.0}}" title="{{$usermenu.3}}">{{$usermenu.1}}</a></li>
+                                       {{/foreach}}
+                                       {{if $nav.notifications}}<li><a class="{{$nav.notifications.2}}" href="{{$nav.notifications.0}}" title="{{$nav.notifications.3}}" >{{$nav.notifications.1}}</a></li>{{/if}}
+                                       {{if $nav.messages}}<li><a class="{{$nav.messages.2}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}}</a></li>{{/if}}
+                                       {{if $nav.contacts}}<li><a class="{{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}" >{{$nav.contacts.1}}</a></li>{{/if}}      
+                               </ul>
+                       </li>
+               {{/if}}
+               
+               {{if $nav.search}}
+                <li id="search-box">
+                        <form method="get" action="{{$nav.search.0}}">
+                               <input id="search-text" class="nav-menu-search" type="text" value="" name="search">
+                        </form>
+                </li>
+               {{/if}}
+               
+               {{if $nav.apps}}
+                       <li id="nav-apps-link" class="nav-menu {{$sel.apps}}">
+                               <a class=" {{$nav.apps.2}}" href="#" rel="#nav-apps-menu" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>
+                               <ul id="nav-apps-menu" class="menu-popup">
+                                       {{foreach $apps as $ap}}
+                                       <li>{{$ap}}</li>
+                                       {{/foreach}}
+                               </ul>
+                       </li>
+               {{/if}}
+       </ul>
+
+</nav>
+<ul id="nav-notifications-template" style="display:none;" rel="template">
+       <li><a href="{0}"><img src="{1}">{2} <span class="notif-when">{3}</span></a></li>
+</ul>
+
+{{*
+
+{{if $nav.logout}}<a id="nav-logout-link" class="nav-link {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a> {{/if}}
+{{if $nav.login}}<a id="nav-login-link" class="nav-login-link {{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a> {{/if}}
+
+<span id="nav-link-wrapper" >
+
+{{if $nav.register}}<a id="nav-register-link" class="nav-commlink {{$nav.register.2}}" href="{{$nav.register.0}}" title="{{$nav.register.3}}" >{{$nav.register.1}}</a>{{/if}}
+
+<a id="nav-help-link" class="nav-link {{$nav.help.2}}" target="friendica-help" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a>
+       
+{{if $nav.apps}}<a id="nav-apps-link" class="nav-link {{$nav.apps.2}}" href="{{$nav.apps.0}}" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>{{/if}}
+
+<a id="nav-search-link" class="nav-link {{$nav.search.2}}" href="{{$nav.search.0}}" title="{{$nav.search.3}}" >{{$nav.search.1}}</a>
+<a id="nav-directory-link" class="nav-link {{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a>
+
+{{if $nav.admin}}<a id="nav-admin-link" class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" >{{$nav.admin.1}}</a>{{/if}}
+
+{{if $nav.notifications}}
+<a id="nav-notify-link" class="nav-commlink {{$nav.notifications.2}}" href="{{$nav.notifications.0}}" title="{{$nav.notifications.3}}" >{{$nav.notifications.1}}</a>
+<span id="notify-update" class="nav-ajax-left"></span>
+{{/if}}
+{{if $nav.messages}}
+<a id="nav-messages-link" class="nav-commlink {{$nav.messages.2}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}}</a>
+<span id="mail-update" class="nav-ajax-left"></span>
+{{/if}}
+
+{{if $nav.manage}}<a id="nav-manage-link" class="nav-commlink {{$nav.manage.2}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a>{{/if}}
+{{if $nav.settings}}<a id="nav-settings-link" class="nav-link {{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a>{{/if}}
+{{if $nav.profiles}}<a id="nav-profiles-link" class="nav-link {{$nav.profiles.2}}" href="{{$nav.profiles.0}}" title="{{$nav.profiles.3}}" >{{$nav.profiles.1}}</a>{{/if}}
+
+
+</span>
+<span id="nav-end"></span>
+<span id="banner">{{$banner}}</span>
+*}}
diff --git a/view/theme/vier/smarty3/search_item.tpl b/view/theme/vier/smarty3/search_item.tpl
new file mode 100644 (file)
index 0000000..af559cb
--- /dev/null
@@ -0,0 +1,91 @@
+
+<div class="wall-item-decor">
+       <span class="icon star {{$item.isstarred}}" id="starred-{{$item.id}}" title="{{$item.star.starred}}">{{$item.star.starred}}</span>
+       {{if $item.lock}}<span class="icon lock fakelink" onclick="lockview(event,{{$item.id}});" title="{{$item.lock}}">{{$item.lock}}</span>{{/if}}   
+       <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
+</div>
+
+<div class="wall-item-container {{$item.indent}} {{$item.shiny}} ">
+       <div class="wall-item-item">
+               <div class="wall-item-info">
+                       <div class="contact-photo-wrapper"
+                               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="contact-photo{{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
+                               </a>
+                               <a href="#" rel="#wall-item-photo-menu-{{$item.id}}" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-{{$item.id}}">menu</a>
+                               <ul class="wall-item-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
+                               {{$item.item_photo_menu}}
+                               </ul>
+                               
+                       </div>
+               </div>
+               <div class="wall-item-actions-author">
+                       <a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}">{{$item.name}}</span></a> 
+                       <span class="wall-item-ago">- &nbsp;
+                               {{if $item.plink}}<a class="link" title="{{$item.plink.title}}" href="{{$item.plink.href}}" style="color: #999">{{$item.ago}}</a>{{else}} {{$item.ago}} {{/if}}
+                               {{if $item.lock}} - <span class="fakelink" style="color: #999" onclick="lockview(event,{{$item.id}});">{{$item.lock}}</span> {{/if}}
+                       </span>
+               </div>
+               <div class="wall-item-content">
+                       {{if $item.title}}<h2><a href="{{$item.plink.href}}">{{$item.title}}</a></h2>{{/if}}
+                       {{$item.body}}
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="wall-item-links">
+               </div>
+               <div class="wall-item-tags">
+                       {{foreach $item.tags as $tag}}
+                               <span class='tag'>{{$tag}}</span>
+                       {{/foreach}}
+
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="">
+                       {{if $item.plink}}<a title="{{$item.plink.title}}" href="{{$item.plink.href}}"><i class="icon-link icon-large"></i></a>{{/if}}
+               </div>
+               <div class="wall-item-actions">
+
+                       <div class="wall-item-location">{{$item.location}}&nbsp;</div>  
+                       
+                       <div class="wall-item-actions-social">
+                       {{if $item.star}}
+                               <a href="#" id="star-{{$item.id}}" onclick="dostar({{$item.id}}); return false;"  class="{{$item.star.classdo}}"  title="{{$item.star.do}}">{{$item.star.do}}</a>
+                               <a href="#" id="unstar-{{$item.id}}" onclick="dostar({{$item.id}}); return false;"  class="{{$item.star.classundo}}"  title="{{$item.star.undo}}">{{$item.star.undo}}</a>
+                               <a href="#" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="{{$item.star.classtagger}}" title="{{$item.star.tagger}}">{{$item.star.tagger}}</a>
+                       {{/if}}
+                       
+                       {{if $item.vote}}
+                               <a href="#" id="like-{{$item.id}}" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false">{{$item.vote.like.1}}</a>
+                               <a href="#" id="dislike-{{$item.id}}" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false">{{$item.vote.dislike.1}}</a>
+                       {{/if}}
+                                               
+                       {{if $item.vote.share}}
+                               <a href="#" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false">{{$item.vote.share.1}}</a>
+                       {{/if}}                 
+                       </div>
+                       
+                       <div class="wall-item-actions-tools">
+
+                               {{if $item.drop.pagedrop}}
+                                       <input type="checkbox" title="{{$item.drop.select}}" name="itemselected[]" class="item-select" value="{{$item.id}}" />
+                               {{/if}}
+                               {{if $item.drop.dropping}}
+                                       <a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" class="icon delete s16" title="{{$item.drop.delete}}">{{$item.drop.delete}}</a>
+                               {{/if}}
+                               {{if $item.edpost}}
+                                       <a class="icon edit s16" href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"></a>
+                               {{/if}}
+                       </div>
+                       
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="wall-item-links"></div>
+               <div class="wall-item-like" id="wall-item-like-{{$item.id}}">{{$item.like}}</div>
+               <div class="wall-item-dislike" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div>      
+       </div>
+</div>
diff --git a/view/theme/vier/smarty3/threaded_conversation.tpl b/view/theme/vier/smarty3/threaded_conversation.tpl
new file mode 100644 (file)
index 0000000..a7516a8
--- /dev/null
@@ -0,0 +1,40 @@
+{{$live_update}}
+
+{{foreach $threads as $thread}}
+
+<div id="tread-wrapper-{{$thread.id}}" class="tread-wrapper {{if $thread.threaded}}threaded{{/if}}  {{$thread.toplevel}}">
+       
+       
+               {{if $thread.type == tag}}
+                       {{include file="wall_item_tag.tpl" item=$thread}}
+               {{else}}
+                       {{include file="file:{{$thread.template}}" item=$thread}}
+               {{/if}}
+               
+</div>
+{{/foreach}}
+
+<div id="conversation-end"></div>
+
+{{if $dropping}}
+<a id="item-delete-selected" href="#" onclick="deleteCheckedItems();return false;">
+       <span class="icon s22 delete text">{{$dropping}}</span>
+</a>
+<img id="item-delete-selected-rotator" class="like-rotator" src="images/rotator.gif" style="display: none;" />
+{{/if}}
+
+<script>
+// jquery color plugin from https://raw.github.com/gist/1891361/17747b50ad87f7a59a14b4e0f38d8f3fb6a18b27/gistfile1.js
+    (function(d){d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(f,e){d.fx.step[e]=function(g){if(!g.colorInit){g.start=c(g.elem,e);g.end=b(g.end);g.colorInit=true}g.elem.style[e]="rgb("+[Math.max(Math.min(parseInt((g.pos*(g.end[0]-g.start[0]))+g.start[0]),255),0),Math.max(Math.min(parseInt((g.pos*(g.end[1]-g.start[1]))+g.start[1]),255),0),Math.max(Math.min(parseInt((g.pos*(g.end[2]-g.start[2]))+g.start[2]),255),0)].join(",")+")"}});function b(f){var e;if(f&&f.constructor==Array&&f.length==3){return f}if(e=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(f)){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}if(e=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(f)){return[parseFloat(e[1])*2.55,parseFloat(e[2])*2.55,parseFloat(e[3])*2.55]}if(e=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(f)){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}if(e=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(f)){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}if(e=/rgba\(0, 0, 0, 0\)/.exec(f)){return a.transparent}return a[d.trim(f).toLowerCase()]}function c(g,e){var f;do{f=d.curCSS(g,e);if(f!=""&&f!="transparent"||d.nodeName(g,"body")){break}e="backgroundColor"}while(g=g.parentNode);return b(f)}var a={transparent:[255,255,255]}})(jQuery);
+    var colWhite = {backgroundColor:'#EFF0F1'};
+    var colShiny = {backgroundColor:'#FCE94F'};
+</script>
+
+{{if $mode == display}}
+<script>
+    var id = window.location.pathname.split("/").pop();
+    $(window).scrollTop($('#item-'+id).position().top);
+    $('#item-'+id).animate(colWhite, 1000).animate(colShiny).animate(colWhite, 2000);   
+</script>
+{{/if}}
+
diff --git a/view/theme/vier/smarty3/wall_thread.tpl b/view/theme/vier/smarty3/wall_thread.tpl
new file mode 100644 (file)
index 0000000..df8240c
--- /dev/null
@@ -0,0 +1,170 @@
+{{if $mode == display}}
+{{else}}
+{{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>
+                       {{if $item.thread_level==3}} - 
+                       <span id="hide-thread-{{$item}}-id"
+                               class="fakelink"
+                               onclick="showThread({{$item.id}});">expand</span> /
+                       <span id="hide-thread-{{$item}}-id"
+                               class="fakelink"
+                               onclick="hideThread({{$item.id}});">collapse</span> thread{{/if}}
+       </div>
+       <div id="collapsed-comments-{{$item.id}}" class="collapsed-comments" style="display: none;">
+{{/if}}
+{{/if}}
+
+{{if $item.thread_level!=1}}<div class="children">{{/if}}
+
+<div class="wall-item-decor">
+       <span class="icon s22 star {{$item.isstarred}}" id="starred-{{$item.id}}" title="{{$item.star.starred}}">{{$item.star.starred}}</span>
+       {{if $item.lock}}<span class="icon s22 lock fakelink" onclick="lockview(event,{{$item.id}});" title="{{$item.lock}}">{{$item.lock}}</span>{{/if}}       
+       <img id="like-rotator-{{$item.id}}" class="like-rotator" src="images/rotator.gif" alt="{{$item.wait}}" title="{{$item.wait}}" style="display: none;" />
+</div>
+
+<div class="wall-item-container {{$item.indent}} {{$item.shiny}} " id="item-{{$item.id}}">
+       <div class="wall-item-item">
+               <div class="wall-item-info">
+                       <div class="contact-photo-wrapper mframe{{if $item.owner_url}} wwfrom{{/if}}"
+                               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="contact-photo-link" id="wall-item-photo-link-{{$item.id}}">
+                                       <img src="{{$item.thumb}}" class="contact-photo {{$item.sparkle}}" id="wall-item-photo-{{$item.id}}" alt="{{$item.name}}" />
+                               </a>
+                               <a href="#" rel="#wall-item-photo-menu-{{$item.id}}" class="contact-photo-menu-button icon s16 menu" id="wall-item-photo-menu-button-{{$item.id}}">menu</a>
+                               <ul class="contact-menu menu-popup" id="wall-item-photo-menu-{{$item.id}}">
+                               {{$item.item_photo_menu}}
+                               </ul>
+                               
+                       </div>
+                       {{if $item.owner_url}}
+                       <div class="contact-photo-wrapper mframe wwto" id="wall-item-ownerphoto-wrapper-{{$item.id}}" >
+                               <a href="{{$item.owner_url}}" target="redir" title="{{$item.olinktitle}}" class="contact-photo-link" id="wall-item-ownerphoto-link-{{$item.id}}">
+                                       <img src="{{$item.owner_photo}}" class="contact-photo {{$item.osparkle}}" id="wall-item-ownerphoto-{{$item.id}}" alt="{{$item.owner_name}}" />
+                               </a>
+                       </div>
+                       {{/if}}                 
+               </div>
+               <div class="wall-item-actions-author">
+                       <a href="{{$item.profile_url}}" target="redir" title="{{$item.linktitle}}" class="wall-item-name-link"><span class="wall-item-name{{$item.sparkle}}">{{$item.name}}</span></a>
+                        {{if $item.owner_url}}{{$item.via}} <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}}
+                       <span class="wall-item-ago">-
+                               {{if $item.plink}}<a class="link" title="{{$item.plink.title}}" href="{{$item.plink.href}}" style="color: #999">{{$item.ago}}</a>{{else}} {{$item.ago}} {{/if}}
+                               {{if $item.lock}} - <span class="fakelink" style="color: #999" onclick="lockview(event,{{$item.id}});">{{$item.lock}}</span> {{/if}}
+                       </span>
+               </div>
+
+               <div class="wall-item-content">
+                       {{if $item.title}}<h2><a href="{{$item.plink.href}}" class="{{$item.sparkle}}">{{$item.title}}</a></h2>{{/if}}
+                       {{$item.body}}
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="wall-item-links">
+               </div>
+               <div class="wall-item-tags">
+                       {{foreach $item.hashtags as $tag}}
+                               <span class='tag'>{{$tag}}</span>
+                       {{/foreach}}
+                       {{foreach $item.mentions as $tag}}
+                               <span class='mention'>{{$tag}}</span>
+                       {{/foreach}}
+               {{foreach $item.folders as $cat}}
+                    <span class='folder'>{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$item.remove}}">x</a>) {{/if}} </span>
+               {{/foreach}}
+                {{foreach $item.categories as $cat}}
+                    <span class='category'>{{$cat.name}}</a>{{if $cat.removeurl}} (<a href="{{$cat.removeurl}}" title="{{$item.remove}}">x</a>) {{/if}} </span>
+                {{/foreach}}
+               </div>
+       </div>  
+       <div class="wall-item-bottom">
+               <div class="wall-item-links">
+                       {{if $item.plink}}<a title="{{$item.plink.title}}" href="{{$item.plink.href}}"><i class="icon-link icon-large"></i></a>{{/if}}
+               </div>
+               <div class="wall-item-actions">
+                       <div class="wall-item-actions-social">
+                       {{if $item.threaded}}{{if $item.comment}}
+                               <span id="comment-{{$item.id}}" class="fakelink togglecomment" onclick="openClose('item-comments-{{$item.id}}');"><i class="icon-comment"></i></span>
+                       {{/if}}{{/if}}
+                       {{if $item.vote}}
+                               <a href="#" id="like-{{$item.id}}" title="{{$item.vote.like.0}}" onclick="dolike({{$item.id}},'like'); return false"><i class="icon-thumbs-up icon-large"></i></a>
+                               {{if $item.vote.dislike}}
+                               <a href="#" id="dislike-{{$item.id}}" title="{{$item.vote.dislike.0}}" onclick="dolike({{$item.id}},'dislike'); return false"><i class="icon-thumbs-down icon-large"></i></a>
+                               {{/if}}
+                       {{/if}}
+                       {{if $item.vote.share}}
+                               <a href="#" id="share-{{$item.id}}" title="{{$item.vote.share.0}}" onclick="jotShare({{$item.id}}); return false"><i class="icon-share icon-large"></i></a>
+                       {{/if}}
+                       {{if $item.star}}
+                               <a href="#" id="star-{{$item.id}}" onclick="dostar({{$item.id}}); return false;"  class="{{$item.star.classdo}}"  title="{{$item.star.do}}"><i class="icon-star icon-large"></i></a>
+                               <a href="#" id="unstar-{{$item.id}}" onclick="dostar({{$item.id}}); return false;"  class="{{$item.star.classundo}}"  title="{{$item.star.undo}}"><i class="icon-star-empty icon-large"></i></a>
+                       {{/if}}
+                       {{if $item.tagger}}
+                               <a href="#" id="tagger-{{$item.id}}" onclick="itemTag({{$item.id}}); return false;" class="{{$item.tagger.class}}" title="{{$item.tagger.add}}"><i class="icon-tags icon-large"></i></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}}"><i class="icon-folder-close icon-large"></i></a>
+                       {{/if}}
+                       </div>
+                       <div class="wall-item-location">{{$item.location}}</div>                                
+                       <div class="wall-item-actions-tools">
+
+                               {{if $item.drop.pagedrop}}
+                                       <input type="checkbox" title="{{$item.drop.select}}" name="itemselected[]" class="item-select" value="{{$item.id}}" />
+                               {{/if}}
+                               {{if $item.drop.dropping}}
+                                       <a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" title="{{$item.drop.delete}}"><i class="icon-trash icon-large"></i></a>
+                               {{/if}}
+                               {{if $item.edpost}}
+                                       <a href="{{$item.edpost.0}}" title="{{$item.edpost.1}}"><i class="icon-edit icon-large"></i></a>
+                               {{/if}}
+                       </div>
+                       
+               </div>
+       </div>
+       <div class="wall-item-bottom">
+               <div class="wall-item-links"></div>
+               <div class="wall-item-like" id="wall-item-like-{{$item.id}}">{{$item.like}}</div>
+               <div class="wall-item-dislike" id="wall-item-dislike-{{$item.id}}">{{$item.dislike}}</div>      
+       </div>
+       
+       {{if $item.threaded}}{{if $item.comment}}
+       <div class="wall-item-bottom">
+               <div class="wall-item-links"></div>
+               <div class="wall-item-comment-wrapper" id="item-comments-{{$item.id}}" style="display: none;">
+                                       {{$item.comment}}
+               </div>
+       </div>
+       {{/if}}{{/if}}
+</div>
+
+
+{{foreach $item.children as $child}}
+       {{if $item.type == tag}}
+               {{include file="wall_item_tag.tpl" item=$child}}
+       {{else}}
+               {{include file="file:{{$item.template}}" item=$child}}
+       {{/if}}
+{{/foreach}}
+
+{{if $item.thread_level!=1}}</div>{{/if}}
+
+
+{{if $mode == display}}
+{{else}}
+{{if $item.comment_lastcollapsed}}</div>{{/if}}
+{{/if}}
+
+{{if $item.threaded}}{{if $item.comment}}{{if $item.thread_level==1}}
+<div class="wall-item-comment-wrapper" id="item-comments-{{$item.id}}">{{$item.comment}}</div>
+{{/if}}{{/if}}{{/if}}
+
+
+{{if $item.flatten}}
+<div class="wall-item-comment-wrapper" id="item-comments-{{$item.id}}">{{$item.comment}}</div>
+{{/if}}
index db74385c8b23c42a58622634c17b32b06439d563..e9e638fa04217977121fb1623b909d54098f241d 100644 (file)
@@ -7,6 +7,8 @@
  * Maintainer: Ike <http://pirati.ca/profile/heluecht>
  */
 
+$a->theme['template_engine'] = 'smarty3';
+
 $a->theme_info = array();
 
 function vier_init(&$a) {
@@ -106,3 +108,4 @@ $('.savedsearchterm').hover(
 </script>
 EOT;
 }
+
index 5c534b5856ff20be27fdee6e1ae83f37fc6bd8bb..82e071134e677197cca584a11ef0ffd8d62c2269 100644 (file)
@@ -1,14 +1,14 @@
 $live_update
 
-{{ for $threads as $item }}
+{{ for $threads as $thread }}
 
-<div id="tread-wrapper-$item.id" class="tread-wrapper {{ if $item.threaded }}threaded{{ endif }}  $item.toplevel">
+<div id="tread-wrapper-$thread.id" class="tread-wrapper {{ if $thread.threaded }}threaded{{ endif }}  $thread.toplevel">
        
        
-               {{ if $item.type == tag }}
-                       {{ inc wall_item_tag.tpl }}{{ endinc }}
+               {{ if $thread.type == tag }}
+                       {{ inc wall_item_tag.tpl with $item=$thread }}{{ endinc }}
                {{ else }}
-                       {{ inc $item.template }}{{ endinc }}
+                       {{ inc $thread.template with $item=$thread }}{{ endinc }}
                {{ endif }}
                
 </div>
index 84f164b8e0c54e53f40d8fff888d267dd2c8496c..b104fe1dcd5291629d39503e844fab1f1e77d1ca 100644 (file)
                                <span class='mention'>$tag</span>
                        {{ endfor }}
                {{ for $item.folders as $cat }}
-                    <span class='folder'>$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$remove">x</a>) {{endif}} </span>
+                    <span class='folder'>$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$item.remove">x</a>) {{endif}} </span>
                {{ endfor }}
                 {{ for $item.categories as $cat }}
-                    <span class='category'>$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$remove">x</a>) {{endif}} </span>
+                    <span class='category'>$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$item.remove">x</a>) {{endif}} </span>
                 {{ endfor }}
                </div>
        </div>  
index 24dab9c57bdd9f9071f2926e1aa57bd37e20ebe5..c95ab5296751a795ec84a6d351e070028e63c38b 100644 (file)
@@ -1,7 +1,7 @@
 $live_update
 
-{{ for $threads as $item }}
-{{ inc $item.template }}{{ endinc }}
+{{ for $threads as $thread }}
+{{ inc $thread.template with $item=$thread }}{{ endinc }}
 {{ endfor }}
 
 <div id="conversation-end"></div>
index fb34addd4ec141353336159ee395d5d63a1f369d..fed8e898a4cc91f892ee7d66def99be704ede02b 100644 (file)
@@ -1,11 +1,13 @@
 <form action="uimport" method="post" id="uimport-form" enctype="multipart/form-data">\r
 <h1>$import.title</h1>\r
-    <p>$import.text</p>\r
-     {{inc field_custom.tpl with $field=$import.field }}{{ endinc }}\r
+    <p>$import.intro</p>\r
+    <p>$import.instruct</p>\r
+    <p><b>$import.warn</b></p>\r
+     {{inc $field_custom with $field=$import.field }}{{ endinc }}\r
      \r
      \r
        <div id="register-submit-wrapper">\r
                <input type="submit" name="submit" id="register-submit-button" value="$regbutt" />\r
        </div>\r
        <div id="register-submit-end" ></div>    \r
-</form>
\ No newline at end of file
+</form>\r
index d6f01643ea6893dbc88150e7d11e2febcdbe8a29..be4676f06965a0b21552fd57be5dbaa6749f8cce 100644 (file)
@@ -1,7 +1,7 @@
 <h3>$title</h3>
 
-{{ for $contacts as $contact }}
-       {{ inc contact_template.tpl }}{{ endinc }}
+{{ for $contacts as $c }}
+       {{ inc $contact_template with $contact=$c }}{{ endinc }}
 {{ endfor }}
 
 <div id="view-contact-end"></div>
diff --git a/view/voting_fakelink.tpl b/view/voting_fakelink.tpl
new file mode 100644 (file)
index 0000000..cf1e4be
--- /dev/null
@@ -0,0 +1,2 @@
+               <span class="fakelink" onclick="openClose('$vote_id');">$count $people</span> $vote_mood<br />
+
index e22cb4c3fbd82ba9bc2f156a6674c36ff7944c54..799c986634e5e6ef6707544c4b6e044918a708b1 100644 (file)
                                                {{ endfor }}
                                        </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 class="categorytags"><span>$item.txt_cats {{ for $item.categories as $cat }}$cat.name{{ if $cat.removeurl }} <a href="$cat.removeurl" title="$item.remove">[$item.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 class="filesavetags"><span>$item.txt_folders {{ for $item.folders as $cat }}$cat.name{{ if $cat.removeurl}} <a href="$cat.removeurl" title="$item.remove">[$item.remove]</a>{{ endif }}{{ if $cat.last }}{{ else }}, {{ endif }}{{ endfor }}
                        </div>
                        {{ endif }}
                        </div>
 
 <div class="wall-item-outside-wrapper-end $item.indent" ></div>
 </div>
-{{ for $item.children as $item }}
-       {{ inc $item.template }}{{ endinc }}
+{{ for $item.children as $child }}
+       {{ inc $child.template with $item=$child }}{{ endinc }}
 {{ endfor }}
 
 {{ if $item.flatten }}
diff --git a/view/zh-cn/smarty3/follow_notify_eml.tpl b/view/zh-cn/smarty3/follow_notify_eml.tpl
new file mode 100644 (file)
index 0000000..2e1bb69
--- /dev/null
@@ -0,0 +1,14 @@
+
+尊敬的{{$myname}},
+
+您有新关注的在{{$sitename}}-「{{$requestor}}」。
+
+您能看他的简介在{{$url}}。
+
+请再您的网页登记为确认或取消要求。
+
+{{$siteurl}}
+
+谨上,
+
+       {{$sitename}}行政人员
\ No newline at end of file
diff --git a/view/zh-cn/smarty3/friend_complete_eml.tpl b/view/zh-cn/smarty3/friend_complete_eml.tpl
new file mode 100644 (file)
index 0000000..d5f9b8c
--- /dev/null
@@ -0,0 +1,22 @@
+
+尊敬的{{$username}},
+
+       精彩新闻... 「{{$fn}}」在「{{$dfrn_url}}」接受了 
+您的连通要求在「{{$sitename}}」。
+
+您们现在是共同的朋友们,会兑换现状更新,照片和邮件
+无限
+
+请看您的联络页在{{$sitename}}如果您想做 
+什么变化关于这个关系。 
+
+{{$siteurl}}
+
+[例如,您会想造成区分的简介括无
+公开-和分配看权利给「{{$fn}}」
+
+谨上,
+
+       {{$sitename}}行政人员
+
\ No newline at end of file
diff --git a/view/zh-cn/smarty3/intro_complete_eml.tpl b/view/zh-cn/smarty3/intro_complete_eml.tpl
new file mode 100644 (file)
index 0000000..a7a510a
--- /dev/null
@@ -0,0 +1,22 @@
+
+尊敬的{{$username}},
+
+       「{{$fn}}」在「{{$dfrn_url}}」接受了 
+您的联络要求在「{{$sitename}}」
+
+       「{{$fn}}」接受您为迷。这限制 
+有的种类沟通,例如私人信息和简介
+操作。如果这是名人或社会页,这些设置是
+自动地应用。
+
+       「{{$fn}}」会将来选择延长关系成双向的或更允许的 
+关系。 
+
+       您会开始受到公开的现状更新从「{{$fn}}」, 
+它们出现在您的「网络」页在  
+
+{{$siteurl}}
+
+谨上,
+
+       {{$sitename}}行政人员
\ No newline at end of file
diff --git a/view/zh-cn/smarty3/lostpass_eml.tpl b/view/zh-cn/smarty3/lostpass_eml.tpl
new file mode 100644 (file)
index 0000000..07e6c10
--- /dev/null
@@ -0,0 +1,32 @@
+
+尊敬的{{$username}},
+       {{$sitename}}最近收到一个要求复位您的账户 
+密码。为肯定这个要求,请点击肯定按钮
+在下边或粘贴在您的游览器地址条 
+
+如果您没有要求这个变化,请别点击这个按努i
+和不理或删除这个邮件。 
+
+您密码没有被变化直到我们证实您
+发送这个要求时。 
+
+点击这个按钮为证实您的同一个人:
+
+{{$reset_link}}
+
+然后您收到后续通信包括新密码。
+
+您会变化密码在您的账户设置页登记后。
+
+登记细节是:
+
+网站位置:  {{$siteurl}}
+登记名:     {{$email}}
+
+
+
+
+谨上,
+       {{$sitename}}行政人员
+
\ No newline at end of file
diff --git a/view/zh-cn/smarty3/passchanged_eml.tpl b/view/zh-cn/smarty3/passchanged_eml.tpl
new file mode 100644 (file)
index 0000000..5170830
--- /dev/null
@@ -0,0 +1,20 @@
+
+尊敬的{{$username}}。
+       您的随您要求密码变化了。请保持这 
+信息为您的备案(或立即变化您的密码成 
+什么容易记住)。
+
+
+您的登记信息是:
+
+网站位置:  {{$siteurl}}
+登记名:     {{$email}}
+密码:        {{$new_password}}
+
+您会变化这个密码在您的账户设置页登记后。
+
+
+谨上,
+       {{$sitename}}行政人员
+
\ No newline at end of file
diff --git a/view/zh-cn/smarty3/register_open_eml.tpl b/view/zh-cn/smarty3/register_open_eml.tpl
new file mode 100644 (file)
index 0000000..2d8f780
--- /dev/null
@@ -0,0 +1,34 @@
+
+尊敬的{{$username}},
+       谢谢注册在{{$sitename}}。您的账户造成了。 
+登记信息是:
+
+
+网页位置:  {{$siteurl}}
+用户名:     {{$email}}
+密码:        {{$password}}
+
+您会变化您的密码在您的账户「设置」页 
+登记后。
+
+请抽几片刻评论别的账户设置在这个页。
+
+您也可能想添加一些基础信息给您的默认简介 
+(在「简介」页)为让别人容易地搜索。
+
+我们建议您指定您全名,添加简介照片,
+添加一些简介关键字(很有用找朋友们)和 
+也许您的国家,如果您不想更具体
+的。
+
+我们完全尊敬您隐私权利,这些项目没有必要的。 
+您新注册,人们熟,他们会帮您
+找新和有意思的朋友们。  
+
+
+谢谢您,{{$sitename}}欢迎您。
+
+谨上
+       {{$sitename}}行政人员
+
\ No newline at end of file
diff --git a/view/zh-cn/smarty3/register_verify_eml.tpl b/view/zh-cn/smarty3/register_verify_eml.tpl
new file mode 100644 (file)
index 0000000..c2401e2
--- /dev/null
@@ -0,0 +1,25 @@
+
+受到新的用户注册要求在{{$sitename}},要 
+您的批准。 
+
+
+登记信息是:
+
+全名:        {{$username}}
+网站位置:  {{$siteurl}}
+登记名:     {{$email}}
+
+
+为批准这个要求请点击这个按钮:
+
+
+{{$siteurl}}/regmod/allow/{{$hash}} 
+
+
+为否定这个要求和删除账户,请点击这个按钮:
+
+
+{{$siteurl}}/regmod/deny/{{$hash}}
+
+
+谢谢您。
diff --git a/view/zh-cn/smarty3/request_notify_eml.tpl b/view/zh-cn/smarty3/request_notify_eml.tpl
new file mode 100644 (file)
index 0000000..e859704
--- /dev/null
@@ -0,0 +1,17 @@
+
+尊敬的{{$myname}},
+
+您刚才受到了一个连接要求在{{$sitename}} 
+
+从「{{$requestor}}」。
+
+您会看他的简介在[{{$url}}]。
+
+请登记在您的网站为看他们全介绍 
+和批准或不理/注销要求。
+
+{{$siteurl}}
+
+谨上,
+
+       {{$sitename}}行政人员
\ No newline at end of file
diff --git a/view/zh-cn/smarty3/update_fail_eml.tpl b/view/zh-cn/smarty3/update_fail_eml.tpl
new file mode 100644 (file)
index 0000000..ebc9a09
--- /dev/null
@@ -0,0 +1,11 @@
+Hey, \r
+I'm {{$sitename}}.   \r
+The friendica developers released update {{$update}} recently, \r
+but when I tried to install it, something went terribly wrong.  \r
+This needs to be fixed soon and I can't do it alone. Please contact a \r
+friendica developer if you can not help me on your own. My database might be invalid. \r
+\r
+The error message is '{{$error}}'.   \r
+\r
+I'm sorry, \r
+your friendica server at {{$siteurl}}
\ No newline at end of file