1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-08 01:14:24 +03:00

Merge pull request #33 from stfalcon-studio/crlf

поправил ошибки валидации, переводы строк, пробелы в конце строк и отступы
This commit is contained in:
Mzhelskiy Maxim 2011-10-10 02:44:35 -07:00
commit 49e9ac31c2
145 changed files with 3308 additions and 3404 deletions

View file

@ -1,19 +1,20 @@
<?php
/*-------------------------------------------------------
*
* LiveStreet Engine Social Networking
* Copyright © 2008 Mzhelskiy Maxim
*
*--------------------------------------------------------
*
* Official site: www.livestreet.ru
* Contact e-mail: rus.engine@gmail.com
*
* GNU General Public License, version 2:
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
---------------------------------------------------------
*/
/* -------------------------------------------------------
*
* LiveStreet Engine Social Networking
* Copyright © 2008 Mzhelskiy Maxim
*
* --------------------------------------------------------
*
* Official site: www.livestreet.ru
* Contact e-mail: rus.engine@gmail.com
*
* GNU General Public License, version 2:
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
---------------------------------------------------------
*/
/**
* English language file.
@ -31,7 +32,6 @@ return array(
'blogs_personal_title' => "Blogger's name",
'blogs_personal_description' => 'This is your personal blog.',
'blog_closed' => 'Private blog',
'blog_no_topic' => 'No one posted here yet',
'blog_rss' => 'RSS feed',
'blog_rating' => 'Rating',
@ -148,7 +148,6 @@ return array(
'blog_admin_users_submit_notice' => "After pushing \"Save\" button, user's permissions will be saved",
'blog_admin_users_submit_ok' => 'Permissions saved',
'blog_admin_users_submit_error' => "Hmm... Something's wrong",
'blog_admin_delete_confirm' => 'Are you sure you want to create blog?',
'blog_admin_delete_move' => 'Move topics to the blog',
'blog_delete_clear' => 'Delete topics',
@ -156,7 +155,6 @@ return array(
'blog_admin_delete_not_empty' => "You can't delete blog containing records. Please delete all records first.",
'blog_admin_delete_move_error' => 'Unable to move topics from the blog which is being deleted',
'blog_admin_delete_move_personal' => "Can't move topics to personal blog",
'blog_admin_user_add_label' => 'Invite users:',
'blog_admin_user_invited' => 'List of invitees:',
'blog_close_show' => "It's a 'close blog', you don't have enought rights to see it's content",
@ -171,7 +169,6 @@ return array(
'blog_user_invite_accept' => 'Invitation accepted',
'blog_user_invite_reject' => 'Invitation rejected',
'blog_user_invite_readd' => 'Re-add',
/**
* Topics
*/
@ -196,7 +193,6 @@ return array(
'topic_favourite_del' => 'Remove from favourites',
'topic_favourite_del_ok' => 'Topic removed from favourites',
'error_favorite_topic_is_draft' => 'Topic of the draft can not be added to favorites',
'block_stream_comments_all' => 'All comment block',
'block_stream_topics_all' => 'All topics block',
'comments_all' => 'All comments',
@ -243,7 +239,6 @@ return array(
'topic_create_submit_notice' => 'Pushing «save to drafts» will save topic to the drafts and will be viewable by you only, showing lock alongside. Push «publish» to make it viewable by everyone.',
'topic_create_notice' => "Note: <cut> tag shortens long articles, hiding them totally or partially under the link («Read more»). Hidden part is not visible in the blog but will be available on the full Topic's page.",
'topic_create_error' => "During topic creation we've experienced some technical difficulties. Please try again later.",
'topic_edit' => 'Edit',
'topic_delete' => 'Delete',
'topic_delete_confirm' => 'Do you really want to delete this topic?',
@ -303,7 +298,6 @@ return array(
'topic_vote_ok' => 'Your vote counted',
'topic_vote_ok_abstain' => 'You\'ve abstained in order to view topic raiting',
'topic_vote_count' => 'All votes',
/**
* Photoset
*/
@ -332,11 +326,10 @@ return array(
'topic_photoset_title_create' => 'Create a photoset',
'topic_photoset_error_bad_filesize' => 'Photo size must be less than %%MAX%% Kb',
'topic_photoset_photos' => 'photos',
/**
* Comments
*/
'comment_title' => 'Comments',
'comment_title' => 'Comments',
'comment_collapse' => 'Collapse comments',
'comment_expand' => 'Expand comments',
'comment_goto_parent' => 'Reply to',
@ -362,21 +355,16 @@ return array(
'comment_vote_error_self' => "You can't vote for your own comment!",
'comment_vote_error_noexists' => "You're voting for comment wich doesn't exist!",
'comment_vote_ok' => 'Your vote counted',
'comment_favourite_add' => 'Add to favoutites',
'comment_favourite_add_ok' => 'Comment added to favourites',
'comment_favourite_add_no' => 'This comment is not in your favourites',
'comment_favourite_add_already' => 'This comment is already in your favourites',
'comment_favourite_del' => 'Delete from favourites',
'comment_favourite_del_ok' => 'Comment deleted from favourites',
/**
* People
*/
'people' => 'People',
/**
* User
*/
@ -401,7 +389,6 @@ return array(
'user_authorization' => 'Authorisation',
'user_registration' => 'Registration',
'user_write_prvmsg' => 'Write private message',
'user_friend_add' => 'Add to friends',
'user_friend_add_ok' => 'You\'ve got a new friend',
'user_friend_add_self' => 'Your friend is - yourself!',
@ -425,7 +412,6 @@ return array(
'user_friend_reject_notice_text' => 'User %%login%% rejected your friendship offer',
'user_friend_del_notice_title' => 'You\'ve been removed from friendship list',
'user_friend_del_notice_text' => 'User %%login%% is not your friend anymore',
'user_rating' => 'Rating',
'user_skill' => 'Power',
'user_date_last' => 'Last visit',
@ -438,10 +424,8 @@ return array(
'user_stats_sex_man' => 'Males',
'user_stats_sex_woman' => 'Females',
'user_stats_sex_other' => 'Gender not specified',
'user_not_found' => 'User <b>%%login%%</b> wasn\'t not found',
'user_not_found_by_id' => 'User <b>#%%id%%</b> wasn\'t not found',
/**
* User's profile menu
*/
@ -449,7 +433,6 @@ return array(
'people_menu_users_all' => 'All',
'people_menu_users_online' => 'Online',
'people_menu_users_new' => 'New',
/**
* Registration
*/
@ -481,7 +464,6 @@ return array(
'registration_captcha_error' => 'Wrong code',
'registration_submit' => 'Submit registration',
'registration_ok' => 'Congratulation with successful registration!',
/**
* Vote for users
*/
@ -493,22 +475,18 @@ return array(
'user_vote_error_acl' => 'You don\'t have enough rating and power to vote!',
'user_vote_ok' => 'Your vote counted',
'user_vote_count' => 'Votes',
/**
* User profile menu
*/
'user_menu_profile' => 'Profile',
'user_menu_profile_whois' => 'Whois',
'user_menu_profile_favourites' => 'Favourite topics',
'user_menu_profile_favourites_comments' => 'Favourite comments',
'user_menu_profile_tags' => 'Tags',
'user_menu_publication' => 'Publications',
'user_menu_publication_blog' => 'Blog',
'user_menu_publication_comment' => 'Comments',
'user_menu_publication_comment_rss' => 'RSS feed',
/**
* Profile
*/
@ -532,7 +510,6 @@ return array(
'profile_date_registration' => 'Registered at',
'profile_date_last' => 'Last visit',
'profile_social_contacts' => 'Contacts and social services',
/**
* UserFields
*/
@ -551,8 +528,6 @@ return array(
'user_field_error_add_no_name' => 'You must specify the name of the field',
'user_field_error_add_no_title' => 'You must specify a title field',
'user_field_error_name_exists' => 'Field with that name already exists',
/**
* Configs.
*/
@ -608,8 +583,6 @@ return array(
'settings_tuning_notice_new_friend' => 'On joining to a friends list',
'settings_tuning_submit' => 'Save configs',
'settings_tuning_submit_ok' => 'Configs saved',
/**
* Configs menu
*/
@ -617,7 +590,6 @@ return array(
'settings_menu_profile' => 'Profile',
'settings_menu_tuning' => 'Configs',
'settings_menu_invite' => 'Invites',
/**
* Password restore
*/
@ -628,7 +600,6 @@ return array(
'password_reminder_send_link' => 'Link for password reset sent to your e-mail address.',
'password_reminder_bad_code' => 'Wrong code for password reset.',
'password_reminder_bad_email' => 'Can\'t find user with this e-mail address',
/**
* Panel
*/
@ -656,7 +627,6 @@ return array(
'panel_clear_tags' => 'clean up the tags',
'panel_user' => 'user inserted',
'panel_user_promt' => 'Enter the user login',
/**
* Blocks
*/
@ -678,15 +648,12 @@ return array(
'block_stream_comments' => 'Comments',
'block_stream_comments_no' => 'No comments.',
'block_stream_comments_all' => 'All comments',
'block_friends' => 'Friends',
'block_friends_check' => 'Check all',
'block_friends_uncheck' => 'Uncheck',
'block_friends_empty' => 'Empty friends list',
'site_history_back' => 'Go back',
'site_go_main' => 'Go to the main page',
/**
* Search
*/
@ -696,7 +663,6 @@ return array(
'search_results_empty' => 'Thats strange. No results found.',
'search_results_count_topics' => 'topics',
'search_results_count_comments' => 'comments',
/**
* Malbox
*/
@ -722,7 +688,6 @@ return array(
'talk_create_text_error' => 'Message text should consist of 2 upto 3000 chars',
'talk_create_submit' => 'Send',
'talk_time_limit' => 'You can\'t send messages in such a frequent rate',
'talk_favourite_inbox' => 'Favourite messages',
'talk_favourite_add' => 'Add to favourites',
'talk_favourite_add_ok' => 'Message added to favourites',
@ -731,7 +696,6 @@ return array(
'talk_favourite_del' => 'remove from favourites',
'talk_favourite_del_ok' => 'Message removed from Favourites\' list',
'talk_favourite_empty' => 'No letters to favorites',
'talk_filter_title' => 'Filter',
'talk_filter_erase' => 'Remove filter',
'talk_filter_erase_form' => 'Empty form',
@ -746,7 +710,6 @@ return array(
'talk_filter_error_date_format' => 'Wrong date format',
'talk_filter_result_count' => 'Found %%count%% messages',
'talk_filter_result_empty' => 'No messages found according to specified criteria',
'talk_user_in_blacklist' => 'User <b>%%login%%</b> blacklisted your messages',
'talk_blacklist_title' => 'Blacklist messages from:',
'talk_blacklist_empty' => 'Accept from all',
@ -758,7 +721,6 @@ return array(
'talk_blacklist_delete_ok' => 'User <b>%%login%%</b> removed from blacklist',
'talk_blacklist_user_not_found' => 'User <b>%%login%%</b> is not in your black list',
'talk_blacklist_add_self' => 'You can\'t add yourself to the blacklist',
'talk_speaker_title' => 'Message members',
'talk_speaker_add_label' => 'Add member',
'talk_speaker_delete_ok' => 'Member <b>%%login%%</b> deleted successfully',
@ -767,77 +729,64 @@ return array(
'talk_speaker_add_ok' => 'User <b>%%login%%</b> added successfully',
'talk_speaker_delete_by_self' => 'Member <b>%%login%%</b> deleted this message',
'talk_speaker_add_self' => 'You can\'t add yourself as a member',
'talk_not_found' => 'Message not found',
/**
* Userfeed
*/
'userfeed_block_blogs_title' => 'Blogs',
'userfeed_block_users_title' => 'Users',
'userfeed_block_users_append' => 'Add',
'userfeed_block_users_friends' => 'Friends',
'userfeed_subscribes_already_subscribed' => 'You are already subscribed to the topics of this user',
'userfeed_subscribes_updated' => 'Settings saved',
'userfeed_get_more' => 'Get more topics',
* Userfeed
*/
'userfeed_block_blogs_title' => 'Blogs',
'userfeed_block_users_title' => 'Users',
'userfeed_block_users_append' => 'Add',
'userfeed_block_users_friends' => 'Friends',
'userfeed_subscribes_already_subscribed' => 'You are already subscribed to the topics of this user',
'userfeed_subscribes_updated' => 'Settings saved',
'userfeed_get_more' => 'Get more topics',
'userfeed_title' => 'Feed',
'userfeed_settings_note_follow_blogs' => 'Choose the blogs that you\'d like to read',
'userfeed_settings_note_follow_user' => 'Add users, topics you\'d like to read',
'userfeed_settings_note_follow_friend' => 'Select friends topics you\'d like to read',
'userfeed_no_subscribed_users' => 'You have not yet subscribed to the user',
'userfeed_no_blogs' => 'You have not entered into any blog',
'userfeed_error_subscribe_to_yourself' => 'You can not sign up for yourself',
/**
* Stream
*/
'stream_block_config_title' => 'Settings stream',
'stream_block_users_title' => 'Users',
'stream_block_config_append' => 'Add',
'stream_block_users_friends' => 'Friends',
'stream_subscribes_already_subscribed' => 'You are already subscribed to this member',
'stream_subscribes_updated' => 'Settings saved',
'stream_get_more' => 'Get more events',
'stream_event_type_add_topic' => 'Add a topic',
'stream_event_type_add_comment' => 'Add comment',
'stream_event_type_add_blog' => 'Adding a blog',
'stream_event_type_vote_topic' => 'Vote for Topic',
'stream_event_type_vote_comment' => 'Vote for your comment',
'stream_event_type_vote_blog' => 'Vote for blog',
'stream_event_type_vote_user' => 'Voting for the user',
'stream_event_type_add_friend' => 'Add to Friends',
'stream_event_type_join_blog' => 'Join to Blog',
'stream_no_subscribed_users' => 'You have not yet subscribed to the user',
'stream_no_events' => 'Stream is empty',
'stream_error_subscribe_to_yourself' => 'You can not sign up for yourself',
'stream_list_user' => 'User',
'stream_list_event_add_topic' => 'added a new topic',
'stream_list_event_add_blog' => 'added a new blog',
'stream_list_event_add_comment' => 'commented on the topic',
'stream_list_event_vote_topic' => 'voted topic',
'stream_list_event_vote_blog' => 'voted blog',
'stream_list_event_vote_user' => 'voted user',
'stream_list_event_vote_comment' => 'voted comment',
'stream_list_event_join_blog' => 'join to blog',
'stream_list_event_add_friend' => 'add to friends',
'stream_personal_title' => 'Stream',
'stream_settings_note_filter' => 'Select the actions that will be tracked',
'stream_settings_note_follow_user' => 'Add people to the activity that you would like to watch',
'stream_settings_note_follow_friend' => 'Choose your friends for the activity that you would like to watch',
'admin_list_plugins' => 'Manage plugins',
'admin_list_userfields' => 'Configuring custom fields',
'admin_list_restorecomment' => 'Rebuilding a tree comments',
'admin_list_recalcfavourite' => 'Recalculate counters of favorites',
'userfeed_settings_note_follow_blogs' => 'Choose the blogs that you\'d like to read',
'userfeed_settings_note_follow_user' => 'Add users, topics you\'d like to read',
'userfeed_settings_note_follow_friend' => 'Select friends topics you\'d like to read',
'userfeed_no_subscribed_users' => 'You have not yet subscribed to the user',
'userfeed_no_blogs' => 'You have not entered into any blog',
'userfeed_error_subscribe_to_yourself' => 'You can not sign up for yourself',
/**
* Stream
*/
'stream_block_config_title' => 'Settings stream',
'stream_block_users_title' => 'Users',
'stream_block_config_append' => 'Add',
'stream_block_users_friends' => 'Friends',
'stream_subscribes_already_subscribed' => 'You are already subscribed to this member',
'stream_subscribes_updated' => 'Settings saved',
'stream_get_more' => 'Get more events',
'stream_event_type_add_topic' => 'Add a topic',
'stream_event_type_add_comment' => 'Add comment',
'stream_event_type_add_blog' => 'Adding a blog',
'stream_event_type_vote_topic' => 'Vote for Topic',
'stream_event_type_vote_comment' => 'Vote for your comment',
'stream_event_type_vote_blog' => 'Vote for blog',
'stream_event_type_vote_user' => 'Voting for the user',
'stream_event_type_add_friend' => 'Add to Friends',
'stream_event_type_join_blog' => 'Join to Blog',
'stream_no_subscribed_users' => 'You have not yet subscribed to the user',
'stream_no_events' => 'Stream is empty',
'stream_error_subscribe_to_yourself' => 'You can not sign up for yourself',
'stream_list_user' => 'User',
'stream_list_event_add_topic' => 'added a new topic',
'stream_list_event_add_blog' => 'added a new blog',
'stream_list_event_add_comment' => 'commented on the topic',
'stream_list_event_vote_topic' => 'voted topic',
'stream_list_event_vote_blog' => 'voted blog',
'stream_list_event_vote_user' => 'voted user',
'stream_list_event_vote_comment' => 'voted comment',
'stream_list_event_join_blog' => 'join to blog',
'stream_list_event_add_friend' => 'add to friends',
'stream_personal_title' => 'Stream',
'stream_settings_note_filter' => 'Select the actions that will be tracked',
'stream_settings_note_follow_user' => 'Add people to the activity that you would like to watch',
'stream_settings_note_follow_friend' => 'Choose your friends for the activity that you would like to watch',
'admin_list_plugins' => 'Manage plugins',
'admin_list_userfields' => 'Configuring custom fields',
'admin_list_restorecomment' => 'Rebuilding a tree comments',
'admin_list_recalcfavourite' => 'Recalculate counters of favorites',
/**
* Rating TOP
*/
@ -845,12 +794,10 @@ return array(
'top_blogs' => 'TOP Blogs',
'top_topics' => 'TOP Topics',
'top_comments' => 'TOP Comments',
/**
* Tag search
*/
'tag_title' => 'Tag search',
/**
* Paging
*/
@ -859,7 +806,6 @@ return array(
'paging_last' => 'Last',
'paging_first' => 'First',
'paging' => 'Pages',
/**
* Image upload
*/
@ -879,7 +825,6 @@ return array(
'uploadimg_submit' => 'Submit',
'uploadimg_cancel' => 'Cancel',
'uploadimg_title' => 'Title',
/**
* Notifications
*/
@ -895,14 +840,12 @@ return array(
'notify_subject_blog_invite_new' => 'You\'ve got a blog membership offer',
'notify_subject_reminder_code' => 'Password reminder',
'notify_subject_reminder_password' => 'New password',
/**
* Админка
*/
'admin_title' => 'Admin',
'admin_comment_restore_tree' => 'Tree comments restore successful',
'admin_favourites_recalculated' => 'Favourites counters has been recalculated',
'admin_favourites_recalculated' => 'Favourites counters has been recalculated',
/**
* Plugin administration page
*/
@ -924,8 +867,6 @@ return array(
'plugins_activation_requires_error' => 'Plugin requires activated <b>%%plugin%%</b> plugin',
'plugins_submit_delete' => 'Delete plugins',
'plugins_delete_confirm' => 'Do you really want to delete those plugins?',
'system_error_event_args' => 'Wrong number of arguments during event addition',
'system_error_event_method' => 'Added event method not found',
'system_error_404' => 'Unfortunately there is no such page. Probably deleted or wasn\'t there in the first place.',
@ -934,7 +875,6 @@ return array(
'system_error_cache_type' => 'Wrong cache type',
'system_error_template' => 'Can\'t find template',
'system_error_template_block' => 'Can\'t find template of added blog',
'error' => 'Error',
'attention' => 'Attention',
'system_error' => 'System error. Please try later.',
@ -948,24 +888,21 @@ return array(
'delete' => 'Delete',
'date_day' => 'day',
'date_month' => 'month',
'month_array' => array(
1=>array('January','January','January'),
2=>array('February','February','February'),
3=>array('March','March','March'),
4=>array('April','April','April'),
5=>array('May','May','May'),
6=>array('June','June','June'),
7=>array('July','July','July'),
8=>array('August','August','August'),
9=>array('September','September','September'),
10=>array('October','October','October'),
11=>array('November','November','November'),
12=>array('December','December','December'),
1 => array('January', 'January', 'January'),
2 => array('February', 'February', 'February'),
3 => array('March', 'March', 'March'),
4 => array('April', 'April', 'April'),
5 => array('May', 'May', 'May'),
6 => array('June', 'June', 'June'),
7 => array('July', 'July', 'July'),
8 => array('August', 'August', 'August'),
9 => array('September', 'September', 'September'),
10 => array('October', 'October', 'October'),
11 => array('November', 'November', 'November'),
12 => array('December', 'December', 'December'),
),
'date_year' => 'year',
'date_now' => 'Today\'s date',
'date_today' => 'Today at',
'date_yesterday' => 'Yesterday at',
@ -975,5 +912,4 @@ return array(
'date_hours_back' => '%%hours%% hours ago; %%hours%% hours ago; %%hours%% hours ago',
'date_hours_back_less' => 'Less than an hour ago',
);
?>

View file

@ -1,19 +1,20 @@
<?php
/*-------------------------------------------------------
*
* LiveStreet Engine Social Networking
* Copyright © 2008 Mzhelskiy Maxim
*
*--------------------------------------------------------
*
* Official site: www.livestreet.ru
* Contact e-mail: rus.engine@gmail.com
*
* GNU General Public License, version 2:
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
---------------------------------------------------------
*/
/* -------------------------------------------------------
*
* LiveStreet Engine Social Networking
* Copyright © 2008 Mzhelskiy Maxim
*
* --------------------------------------------------------
*
* Official site: www.livestreet.ru
* Contact e-mail: rus.engine@gmail.com
*
* GNU General Public License, version 2:
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
---------------------------------------------------------
*/
/**
* Русский языковой файл.
@ -31,7 +32,6 @@ return array(
'blogs_personal_title' => 'Блог им.',
'blogs_personal_description' => 'Это ваш персональный блог.',
'blog_closed' => 'Закрытый блог',
'blog_no_topic' => 'Сюда еще никто не успел написать',
'blog_rss' => 'RSS лента',
'blog_rating' => 'Рейтинг',
@ -148,7 +148,6 @@ return array(
'blog_admin_users_submit_notice' => 'После нажатия на кнопку «Сохранить» права пользователей будут сохранены',
'blog_admin_users_submit_ok' => 'Права сохранены',
'blog_admin_users_submit_error' => 'Что-то не так',
'blog_admin_delete_confirm' => 'Вы уверены, что хотите удалить блог?',
'blog_admin_delete_move' => 'Переместить топики в блог',
'blog_delete_clear' => 'Удалить топики',
@ -156,7 +155,6 @@ return array(
'blog_admin_delete_not_empty' => 'Вы не можете удалить блок с записями. Предварительно удалите из блога все записи.',
'blog_admin_delete_move_error' => 'Не удалось переместить топики из удаляемого блога',
'blog_admin_delete_move_personal' => 'Нельзя перемещать топики в персональный блог',
'blog_admin_user_add_label' => 'Пригласить пользователей:',
'blog_admin_user_invited' => 'Список приглашенных:',
'blog_close_show' => 'Это закрытый блог, у вас нет прав на просмотр контента',
@ -171,7 +169,6 @@ return array(
'blog_user_invite_accept' => 'Приглашение принято',
'blog_user_invite_reject' => 'Приглашение отклонено',
'blog_user_invite_readd' => 'повторить',
/**
* Топики
*/
@ -206,7 +203,7 @@ return array(
'topic_menu_add_topic' => 'Топик',
'topic_menu_add_question' => 'Опрос',
'topic_menu_add_link' => 'Ссылка',
'topic_menu_add_photoset' => 'Фотосет',
'topic_menu_add_photoset' => 'Фотосет',
'topic_menu_saved' => 'Черновики',
'topic_menu_published' => 'Опубликованные',
/**
@ -242,7 +239,6 @@ return array(
'topic_create_submit_notice' => 'Если нажать кнопку «Сохранить в черновиках», текст топика будет виден только Вам, а рядом с его заголовком будет отображаться замочек. Чтобы топик был виден всем, нажмите «Опубликовать».',
'topic_create_notice' => 'Не забывайте: тег <cut> сокращает длинные записи, скрывая их целиком или частично под ссылкой («читать дальше»). Скрытая часть не видна в блоге, но доступна в полной записи на странице топика.',
'topic_create_error' => 'Возникли технические неполадки при добавлении топика. Пожалуйста, повторите позже.',
'topic_edit' => 'Редактировать',
'topic_delete' => 'Удалить',
'topic_delete_confirm' => 'Вы действительно хотите удалить топик?',
@ -302,37 +298,34 @@ return array(
'topic_vote_ok' => 'Ваш голос учтен',
'topic_vote_ok_abstain' => 'Вы воздержались для просмотра рейтинга топика',
'topic_vote_count' => 'всего проголосовало',
/**
* Фотосет
*/
'topic_photoset_create' => 'Создание фотосета',
'topic_photoset_edit' => 'Редактирование фотосета',
'topic_photoset_upload_title' => 'Загрузка изображений',
'topic_photoset_upload_choose' => 'Загрузить фото',
'topic_photoset_upload_close' => 'Закрыть',
'topic_photoset_upload_rules' => 'Доступна загрузка изображений в формат JPG, PNG, GIF<br />Размер изображений не должен превышать %%SIZE%% Kб<br />Максимальное число загружаемых изображений: %%COUNT%%',
'topic_photoset_choose_image' => 'Выберите изображение для загрузки',
'topic_photoset_is_preview' => 'Отмечено как превью к топику',
'topic_photoset_mark_as_preview' => 'Отметить как превью',
'topic_photoset_show_all' => 'Показать все %%COUNT%% фото',
'topic_photoset_count_images' => 'изображение;изображения;изображений',
'topic_photoset_show_more' => 'Показать ещё фото',
'topic_photoset_error_count_photos' => 'В топике может быть от %%MIN%% до %%MAX%% фото',
'topic_photoset_error_size' => 'У изображения слишком большое разрешение',
'topic_photoset_title' => 'Фотосет',
'topic_photoset_photo_deleted' => 'Фото удалено',
'topic_photoset_photo_deleted_error_last' => 'Нельзя удалить последню фотографию',
'topic_photoset_photo_delete' => 'Удалить',
'topic_photoset_photo_delete_confirm' => 'Удалить фото?',
'topic_photoset_photo_added' => 'Фото добавлено',
'topic_photoset_error_too_much_photos' => 'Топик может содержать не более %%MAX%% фото',
'topic_photoset_title_edit' => 'Редактирование фотосета',
'topic_photoset_title_create' => 'Создание фотосета',
'topic_photoset_error_bad_filesize' => 'Размер фото должен быть не более %%MAX%% Кб',
'topic_photoset_photos' => 'фото',
/**
* Фотосет
*/
'topic_photoset_create' => 'Создание фотосета',
'topic_photoset_edit' => 'Редактирование фотосета',
'topic_photoset_upload_title' => 'Загрузка изображений',
'topic_photoset_upload_choose' => 'Загрузить фото',
'topic_photoset_upload_close' => 'Закрыть',
'topic_photoset_upload_rules' => 'Доступна загрузка изображений в формат JPG, PNG, GIF<br />Размер изображений не должен превышать %%SIZE%% Kб<br />Максимальное число загружаемых изображений: %%COUNT%%',
'topic_photoset_choose_image' => 'Выберите изображение для загрузки',
'topic_photoset_is_preview' => 'Отмечено как превью к топику',
'topic_photoset_mark_as_preview' => 'Отметить как превью',
'topic_photoset_show_all' => 'Показать все %%COUNT%% фото',
'topic_photoset_count_images' => 'изображение;изображения;изображений',
'topic_photoset_show_more' => 'Показать ещё фото',
'topic_photoset_error_count_photos' => 'В топике может быть от %%MIN%% до %%MAX%% фото',
'topic_photoset_error_size' => 'У изображения слишком большое разрешение',
'topic_photoset_title' => 'Фотосет',
'topic_photoset_photo_deleted' => 'Фото удалено',
'topic_photoset_photo_deleted_error_last' => 'Нельзя удалить последню фотографию',
'topic_photoset_photo_delete' => 'Удалить',
'topic_photoset_photo_delete_confirm' => 'Удалить фото?',
'topic_photoset_photo_added' => 'Фото добавлено',
'topic_photoset_error_too_much_photos' => 'Топик может содержать не более %%MAX%% фото',
'topic_photoset_title_edit' => 'Редактирование фотосета',
'topic_photoset_title_create' => 'Создание фотосета',
'topic_photoset_error_bad_filesize' => 'Размер фото должен быть не более %%MAX%% Кб',
'topic_photoset_photos' => 'фото',
/**
* Комментарии
*/
@ -362,21 +355,16 @@ return array(
'comment_vote_error_self' => 'Вы не можете голосовать за свой комментарий!',
'comment_vote_error_noexists' => 'Вы голосуете за несуществующий комментарий!',
'comment_vote_ok' => 'Ваш голос учтен',
'comment_favourite_add' => 'добавить в избранное',
'comment_favourite_add_ok' => 'Комментарий добавлен в избранное',
'comment_favourite_add_no' => 'Этого комментария нет в вашем избранном',
'comment_favourite_add_already' => 'Этот комментарий уже есть в вашем избранном',
'comment_favourite_del' => 'удалить из избранного',
'comment_favourite_del_ok' => 'Комментарий удален из избранного',
/**
* Люди
*/
'people' => 'Люди',
/**
* Пользователь
*/
@ -401,7 +389,6 @@ return array(
'user_authorization' => 'Авторизация',
'user_registration' => 'Регистрация',
'user_write_prvmsg' => 'Написать письмо',
'user_friend_add' => 'Добавить в друзья',
'user_friend_add_ok' => 'У вас появился новый друг',
'user_friend_add_self' => 'Ваш друг - это вы!',
@ -425,7 +412,6 @@ return array(
'user_friend_reject_notice_text' => 'Пользователь %%login%% отказался с вами дружить',
'user_friend_del_notice_title' => 'Вас удалили из друзей',
'user_friend_del_notice_text' => 'У вас больше нет друга %%login%%',
'user_rating' => 'Рейтинг',
'user_skill' => 'Сила',
'user_date_last' => 'Последний визит',
@ -438,10 +424,8 @@ return array(
'user_stats_sex_man' => 'Мужчины',
'user_stats_sex_woman' => 'Женщины',
'user_stats_sex_other' => 'Пол не указан',
'user_not_found' => 'Пользователь <b>%%login%%</b> не найден',
'user_not_found_by_id' => 'Пользователь <b>#%%id%%</b> не найден',
/**
* Меню профиля пользователя
*/
@ -449,7 +433,6 @@ return array(
'people_menu_users_all' => 'Все',
'people_menu_users_online' => 'Онлайн',
'people_menu_users_new' => 'Новые',
/**
* Регистрация
*/
@ -481,7 +464,6 @@ return array(
'registration_captcha_error' => 'Неверный код',
'registration_submit' => 'Зарегистрироваться',
'registration_ok' => 'Поздравляем! Регистрация прошла успешно',
/**
* Голосование за пользователя
*/
@ -493,22 +475,18 @@ return array(
'user_vote_error_acl' => 'У вас не хватает рейтинга и силы для голосования!',
'user_vote_ok' => 'Ваш голос учтен',
'user_vote_count' => 'голосов',
/**
* Меню профиля пользователя
*/
'user_menu_profile' => 'Профиль',
'user_menu_profile_whois' => 'Whois',
'user_menu_profile_favourites' => 'Избранные топики',
'user_menu_profile_favourites_comments' => 'Избранные комментарии',
'user_menu_profile_tags' => 'Метки',
'user_menu_publication' => 'Публикации',
'user_menu_publication_blog' => 'Блог',
'user_menu_publication_comment' => 'Комментарии',
'user_menu_publication_comment_rss' => 'RSS лента',
/**
* Профиль
*/
@ -532,27 +510,24 @@ return array(
'profile_date_registration' => 'Зарегистрирован',
'profile_date_last' => 'Последний визит',
'profile_social_contacts' => 'Контакты и социальные сервисы',
/**
* UserFields
*/
'user_field_admin_title' => 'Поля контактов пользователей',
'user_field_add' => 'Добавить',
'user_field_cancel' => 'Отмена',
'user_field_added' => 'Поле успешно добавлено',
'user_field_update' => 'Изменить',
'user_field_updated' => 'Поле успешно изменено',
'user_field_delete' => 'Удалить',
'user_field_delete_confirm' => 'Удалить поле?',
'user_field_deleted' => 'Поле удалено',
'userfield_form_name' => 'Имя',
'userfield_form_title' => 'Заголовок',
'userfield_form_pattern' => 'Шаблон (значение подставляется в токен {*})',
'user_field_error_add_no_name' => 'Необходимо указать название поля',
'user_field_error_add_no_title' => 'Необходимо указать заголовок поля',
'user_field_error_name_exists' => 'Поле с таким именем уже существует',
/**
* UserFields
*/
'user_field_admin_title' => 'Поля контактов пользователей',
'user_field_add' => 'Добавить',
'user_field_cancel' => 'Отмена',
'user_field_added' => 'Поле успешно добавлено',
'user_field_update' => 'Изменить',
'user_field_updated' => 'Поле успешно изменено',
'user_field_delete' => 'Удалить',
'user_field_delete_confirm' => 'Удалить поле?',
'user_field_deleted' => 'Поле удалено',
'userfield_form_name' => 'Имя',
'userfield_form_title' => 'Заголовок',
'userfield_form_pattern' => 'Шаблон (значение подставляется в токен {*})',
'user_field_error_add_no_name' => 'Необходимо указать название поля',
'user_field_error_add_no_title' => 'Необходимо указать заголовок поля',
'user_field_error_name_exists' => 'Поле с таким именем уже существует',
/**
* Настройки
*/
@ -608,8 +583,6 @@ return array(
'settings_tuning_notice_new_friend' => 'при добавлении вас в друзья',
'settings_tuning_submit' => 'сохранить настройки',
'settings_tuning_submit_ok' => 'Настройки успешно сохранены',
/**
* Меню настроек
*/
@ -617,7 +590,6 @@ return array(
'settings_menu_profile' => 'Профиль',
'settings_menu_tuning' => 'Тюнинг',
'settings_menu_invite' => 'Инвайты',
/**
* Восстановление пароля
*/
@ -628,7 +600,6 @@ return array(
'password_reminder_send_link' => 'Ссылка для восстановления пароля отправлена на ваш адрес электронной почты.',
'password_reminder_bad_code' => 'Неверный код на восстановление пароля.',
'password_reminder_bad_email' => 'Пользователь с таким e-mail не найден',
/**
* Панель
*/
@ -656,7 +627,6 @@ return array(
'panel_clear_tags' => 'очистить от тегов',
'panel_user' => 'вставить пользователя',
'panel_user_promt' => 'Введите логин пользователя',
/**
* Блоки
*/
@ -678,15 +648,12 @@ return array(
'block_stream_comments' => 'Комментарии',
'block_stream_comments_no' => 'Нет комментариев.',
'block_stream_comments_all' => 'Весь эфир',
'block_friends' => 'Друзья',
'block_friends_check' => 'Отметить всех',
'block_friends_uncheck' => 'Снять отметку',
'block_friends_empty' => 'Список ваших друзей пуст',
'site_history_back' => 'Вернуться назад',
'site_go_main' => 'перейти на главную',
/**
* Поиск
*/
@ -696,7 +663,6 @@ return array(
'search_results_empty' => 'Удивительно, но поиск не дал результатов',
'search_results_count_topics' => 'топиков',
'search_results_count_comments' => 'комментариев',
/**
* Почта
*/
@ -722,7 +688,6 @@ return array(
'talk_create_text_error' => 'Текст сообщения должен быть от 2 до 3000 символов',
'talk_create_submit' => 'Отправить',
'talk_time_limit' => 'Вам нельзя отправлять инбоксы слишком часто',
'talk_favourite_inbox' => 'Избранные письма',
'talk_favourite_add' => 'добавить в избранное',
'talk_favourite_add_ok' => 'Письмо добавлено в избранное',
@ -731,7 +696,6 @@ return array(
'talk_favourite_del' => 'удалить из избранного',
'talk_favourite_del_ok' => 'Письмо удалено из избранного',
'talk_favourite_empty' => 'Нет писем в избранном',
'talk_filter_title' => 'Фильтровать',
'talk_filter_erase' => 'Сбросить фильтр',
'talk_filter_erase_form' => 'Очистить форму',
@ -746,7 +710,6 @@ return array(
'talk_filter_error_date_format' => 'Указан неверный формат даты',
'talk_filter_result_count' => 'Найдено писем: %%count%%',
'talk_filter_result_empty' => 'По вашим критериям писем не найдено',
'talk_user_in_blacklist' => 'Пользователь <b>%%login%%</b> не принимает от вас писем',
'talk_blacklist_title' => 'Не принимать писем от:',
'talk_blacklist_empty' => 'Принимать от всех',
@ -758,7 +721,6 @@ return array(
'talk_blacklist_delete_ok' => 'Пользователь <b>%%login%%</b> успешно удален',
'talk_blacklist_user_not_found' => 'Пользователя <b>%%login%%</b> нет в вашем black list`е',
'talk_blacklist_add_self' => 'Нельзя добавлять в black list себя',
'talk_speaker_title' => 'Участники разговора',
'talk_speaker_add_label' => 'Добавить пользователя',
'talk_speaker_delete_ok' => 'Участник <b>%%login%%</b> успешно удален',
@ -767,75 +729,64 @@ return array(
'talk_speaker_add_ok' => 'Участник <b>%%login%%</b> успешно добавлен',
'talk_speaker_delete_by_self' => 'Участник <b>%%login%%</b> удалил этот разговор',
'talk_speaker_add_self' => 'Нельзя добавлять в участники себя',
'talk_not_found' => 'Разговор не найден',
/**
* Userfeed
*/
'userfeed_block_blogs_title' => 'Блоги',
'userfeed_block_users_title' => 'Люди',
'userfeed_block_users_append' => 'Добавить',
'userfeed_block_users_friends' => 'Друзья',
'userfeed_subscribes_already_subscribed' => 'Вы уже подписаны на топики этого пользователя',
'userfeed_subscribes_updated' => 'Настройки ленты сохранены',
'userfeed_get_more' => 'Получить ещё топики',
/**
* Userfeed
*/
'userfeed_block_blogs_title' => 'Блоги',
'userfeed_block_users_title' => 'Люди',
'userfeed_block_users_append' => 'Добавить',
'userfeed_block_users_friends' => 'Друзья',
'userfeed_subscribes_already_subscribed' => 'Вы уже подписаны на топики этого пользователя',
'userfeed_subscribes_updated' => 'Настройки ленты сохранены',
'userfeed_get_more' => 'Получить ещё топики',
'userfeed_title' => 'Лента',
'userfeed_settings_note_follow_blogs' => 'Выберите блоги которые вы хотели бы читать',
'userfeed_settings_note_follow_user' => 'Добавьте людей, топики которых вы хотели бы читать',
'userfeed_settings_note_follow_friend' => 'Выберите друзей, топики которых вы хотели бы читать',
'userfeed_no_subscribed_users' => 'Вы ещё не подписались на пользователей, чьи топики хотите видеть',
'userfeed_no_blogs' => 'Вы не вступили ни в один блог',
'userfeed_error_subscribe_to_yourself' => 'Вы не можете подписаться на себя',
/**
* Stream
*/
'stream_block_config_title' => 'Настройка событий',
'stream_block_users_title' => 'Люди',
'stream_block_config_append' => 'Добавить',
'stream_block_users_friends' => 'Друзья',
'stream_subscribes_already_subscribed' => 'Вы уже подписаны на этого пользователя',
'stream_subscribes_updated' => 'Настройки ленты сохранены',
'stream_get_more' => 'Получить ещё события',
'stream_event_type_add_topic' => 'Добавление топика',
'stream_event_type_add_comment' => 'Добавление комментария',
'stream_event_type_add_blog' => 'Добавление блога',
'stream_event_type_vote_topic' => 'Голосование за топик',
'stream_event_type_vote_comment' => 'Голосование за комментарий',
'stream_event_type_vote_blog' => 'Голосование за блог',
'stream_event_type_vote_user' => 'Голосование за пользователя',
'stream_event_type_add_friend' => 'Добавление в друзья',
'stream_event_type_join_blog' => 'Вступление в блог',
'stream_no_subscribed_users' => 'Вы ещё не подписались на пользователей, чью активность хотите видеть',
'stream_no_events' => 'Лента активности пуста',
'stream_error_subscribe_to_yourself' => 'Вы не можете подписаться на себя',
'stream_list_user' => 'Пользователь',
'stream_list_event_add_topic' => 'добавил новый топик',
'stream_list_event_add_blog' => 'добавил новый блог',
'stream_list_event_add_comment' => 'прокомментировал топик',
'stream_list_event_vote_topic' => 'оценил топик',
'stream_list_event_vote_blog' => 'оценил блог',
'stream_list_event_vote_user' => 'оценил пользователя',
'stream_list_event_vote_comment' => 'оценил комментарий к топику',
'stream_list_event_join_blog' => 'вступил в блог',
'stream_list_event_add_friend' => 'добавил в друзья пользователя',
'stream_personal_title' => 'Активность',
'stream_settings_note_filter' => 'Выберите действия которые будут отслеживаться',
'stream_settings_note_follow_user' => 'Добавьте людей за активностью которых вы хотели бы следить',
'stream_settings_note_follow_friend' => 'Выберите друзей за активностью которых вы хотели бы следить',
'admin_list_plugins' => 'Управление плагинами',
'admin_list_userfields' => 'Настройка пользовательских полей',
'admin_list_restorecomment' => 'Перестроение дерева комментариев',
'admin_list_recalcfavourite' => 'Пересчитать счетчики избранных',
'userfeed_settings_note_follow_blogs' => 'Выберите блоги которые вы хотели бы читать',
'userfeed_settings_note_follow_user' => 'Добавьте людей, топики которых вы хотели бы читать',
'userfeed_settings_note_follow_friend' => 'Выберите друзей, топики которых вы хотели бы читать',
'userfeed_no_subscribed_users' => 'Вы ещё не подписались на пользователей, чьи топики хотите видеть',
'userfeed_no_blogs' => 'Вы не вступили ни в один блог',
'userfeed_error_subscribe_to_yourself' => 'Вы не можете подписаться на себя',
/**
* Stream
*/
'stream_block_config_title' => 'Настройка событий',
'stream_block_users_title' => 'Люди',
'stream_block_config_append' => 'Добавить',
'stream_block_users_friends' => 'Друзья',
'stream_subscribes_already_subscribed' => 'Вы уже подписаны на этого пользователя',
'stream_subscribes_updated' => 'Настройки ленты сохранены',
'stream_get_more' => 'Получить ещё события',
'stream_event_type_add_topic' => 'Добавление топика',
'stream_event_type_add_comment' => 'Добавление комментария',
'stream_event_type_add_blog' => 'Добавление блога',
'stream_event_type_vote_topic' => 'Голосование за топик',
'stream_event_type_vote_comment' => 'Голосование за комментарий',
'stream_event_type_vote_blog' => 'Голосование за блог',
'stream_event_type_vote_user' => 'Голосование за пользователя',
'stream_event_type_add_friend' => 'Добавление в друзья',
'stream_event_type_join_blog' => 'Вступление в блог',
'stream_no_subscribed_users' => 'Вы ещё не подписались на пользователей, чью активность хотите видеть',
'stream_no_events' => 'Лента активности пуста',
'stream_error_subscribe_to_yourself' => 'Вы не можете подписаться на себя',
'stream_list_user' => 'Пользователь',
'stream_list_event_add_topic' => 'добавил новый топик',
'stream_list_event_add_blog' => 'добавил новый блог',
'stream_list_event_add_comment' => 'прокомментировал топик',
'stream_list_event_vote_topic' => 'оценил топик',
'stream_list_event_vote_blog' => 'оценил блог',
'stream_list_event_vote_user' => 'оценил пользователя',
'stream_list_event_vote_comment' => 'оценил комментарий к топику',
'stream_list_event_join_blog' => 'вступил в блог',
'stream_list_event_add_friend' => 'добавил в друзья пользователя',
'stream_personal_title' => 'Активность',
'stream_settings_note_filter' => 'Выберите действия которые будут отслеживаться',
'stream_settings_note_follow_user' => 'Добавьте людей за активностью которых вы хотели бы следить',
'stream_settings_note_follow_friend' => 'Выберите друзей за активностью которых вы хотели бы следить',
'admin_list_plugins' => 'Управление плагинами',
'admin_list_userfields' => 'Настройка пользовательских полей',
'admin_list_restorecomment' => 'Перестроение дерева комментариев',
'admin_list_recalcfavourite' => 'Пересчитать счетчики избранных',
/**
* Рейтинг TOP
*/
@ -843,12 +794,10 @@ return array(
'top_blogs' => 'TOP Блогов',
'top_topics' => 'TOP топиков',
'top_comments' => 'TOP комментариев',
/**
* Поиск по тегам
*/
'tag_title' => 'Поиск по тегам',
/**
* Постраничность
*/
@ -857,7 +806,6 @@ return array(
'paging_last' => 'последняя',
'paging_first' => 'первая',
'paging' => 'Страницы',
/**
* Загрузка изображений
*/
@ -877,7 +825,6 @@ return array(
'uploadimg_submit' => 'Загрузить',
'uploadimg_cancel' => 'Отмена',
'uploadimg_title' => 'Описание',
/**
* Уведомления
*/
@ -893,14 +840,12 @@ return array(
'notify_subject_blog_invite_new' => 'Вас пригласили вступить в блог',
'notify_subject_reminder_code' => 'Восстановление пароля',
'notify_subject_reminder_password' => 'Новый пароль',
/**
* Админка
*/
'admin_title' => 'Админка',
'admin_comment_restore_tree' => 'Дерево комментариев перестроенно',
'admin_favourites_recalculated' => 'Счетчики избранных пересчитаны',
/**
* Страница администрирования плагинов
*/
@ -922,8 +867,6 @@ return array(
'plugins_activation_requires_error' => 'Для работы плагина необходим активированный плагин <b>%%plugin%%</b>',
'plugins_submit_delete' => 'Удалить плагины',
'plugins_delete_confirm' => 'Вы уверены, что желаете удалить указанные плагины?',
'system_error_event_args' => 'Некорректное число аргументов при добавлении евента',
'system_error_event_method' => 'Добавляемый метод евента не найден',
'system_error_404' => 'К сожалению, такой страницы не существует. Вероятно, она была удалена с сервера, либо ее здесь никогда не было.',
@ -932,7 +875,6 @@ return array(
'system_error_cache_type' => 'Неверный тип кеширования',
'system_error_template' => 'Не найден шаблон',
'system_error_template_block' => 'Не найден шаблон подключаемого блока',
'error' => 'Ошибка',
'attention' => 'Внимание',
'system_error' => 'Системная ошибка, повторите позже',
@ -946,24 +888,21 @@ return array(
'delete' => 'Удалить',
'date_day' => 'день',
'date_month' => 'месяц',
'month_array' => array(
1=>array('январь','января','январе'),
2=>array('февраль','февраля','феврале'),
3=>array('март','марта','марте'),
4=>array('апрель','апреля','апреле'),
5=>array('май','мая','мае'),
6=>array('июнь','июня','июне'),
7=>array('июль','июля','июле'),
8=>array('август','августа','августе'),
9=>array('сентябрь','сентября','сентябре'),
10=>array('октябрь','октября','октябре'),
11=>array('ноябрь','ноября','ноябре'),
12=>array('декабрь','декабря','декабре'),
1 => array('январь', 'января', 'январе'),
2 => array('февраль', 'февраля', 'феврале'),
3 => array('март', 'марта', 'марте'),
4 => array('апрель', 'апреля', 'апреле'),
5 => array('май', 'мая', 'мае'),
6 => array('июнь', 'июня', 'июне'),
7 => array('июль', 'июля', 'июле'),
8 => array('август', 'августа', 'августе'),
9 => array('сентябрь', 'сентября', 'сентябре'),
10 => array('октябрь', 'октября', 'октябре'),
11 => array('ноябрь', 'ноября', 'ноябре'),
12 => array('декабрь', 'декабря', 'декабре'),
),
'date_year' => 'год',
'date_now' => 'Только что',
'date_today' => 'Сегодня в',
'date_yesterday' => 'Вчера в',
@ -973,5 +912,4 @@ return array(
'date_hours_back' => '%%hours%% час назад; %%hours%% часа назад; %%hours%% часов назад',
'date_hours_back_less' => 'Менее часа назад',
);
?>

View file

@ -1,11 +1,11 @@
{include file='header.tpl'}
<ul>
<li><a href="{router page="admin"}plugins">{$aLang.admin_list_plugins}</a></li>
<li><a href="{router page="admin"}userfields">{$aLang.admin_list_userfields}</a></li>
<li><a href="{router page="admin"}restorecomment">{$aLang.admin_list_restorecomment}</a></li>
<li><a href="{router page="admin"}recalcfavourite">{$aLang.admin_list_recalcfavourite}</a></li>
{hook run='admin_action_item'}
<li><a href="{router page="admin"}plugins">{$aLang.admin_list_plugins}</a></li>
<li><a href="{router page="admin"}userfields">{$aLang.admin_list_userfields}</a></li>
<li><a href="{router page="admin"}restorecomment">{$aLang.admin_list_restorecomment}</a></li>
<li><a href="{router page="admin"}recalcfavourite">{$aLang.admin_list_recalcfavourite}</a></li>
{hook run='admin_action_item'}
</ul>
{include file='footer.tpl'}

View file

@ -3,14 +3,14 @@
<form action="{router page='admin'}plugins/" method="post" id="form_plugins_list">
<table class="table">
<table class="table plugins-list">
<thead>
<tr>
<td width="20"><input type="checkbox" name="" onclick="ls.tools.checkAll('form_plugins_checkbox', this, true);" /></td>
<td>{$aLang.plugins_plugin_name}</td>
<td>{$aLang.plugins_plugin_version}</td>
<td>{$aLang.plugins_plugin_author}</td>
<td>{$aLang.plugins_plugin_settings}</td>
<td>{$aLang.plugins_plugin_settings}</td>
<td>{$aLang.plugins_plugin_action}</td>
</tr>
</thead>
@ -26,12 +26,12 @@
</td>
<td>{$aPlugin.property->version|escape:'html'}</td>
<td>{$aPlugin.property->author->data|escape:'html'}</td>
<td>{if $aPlugin.is_active}<a href="{$aPlugin.property->settings}">{$aPlugin.property->settings}</a>{else}{$aPlugin.property->settings}{/if}</td>
<td>{if $aPlugin.is_active}<a href="{$aPlugin.property->settings}">{$aPlugin.property->settings}</a>{else}{$aPlugin.property->settings}{/if}</td>
<td>
{if $aPlugin.is_active}
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=deactivate&security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.plugins_plugin_deactivate}</a>
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&amp;action=deactivate&amp;security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.plugins_plugin_deactivate}</a>
{else}
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&action=activate&security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.plugins_plugin_activate}</a>
<a href="{router page='admin'}plugins/?plugin={$aPlugin.code}&amp;action=activate&amp;security_ls_key={$LIVESTREET_SECURITY_KEY}">{$aLang.plugins_plugin_activate}</a>
{/if}
</td>
</tr>

View file

@ -5,13 +5,13 @@
<div class="userfield-form jqmWindow" id="userfield_form">
<p><label for="user_fields_add_name">{$aLang.userfield_form_name}</label><br />
<p><label for="user_fields_form_name">{$aLang.userfield_form_name}</label><br />
<input type="text" id="user_fields_form_name" class="input-text" /></p>
<p><label for="user_fields_add_title">{$aLang.userfield_form_title}</label><br />
<p><label for="user_fields_form_title">{$aLang.userfield_form_title}</label><br />
<input type="text" id="user_fields_form_title" class="input-text" /></p>
<p><label for="user_fields_add_pattern">{$aLang.userfield_form_pattern}</label><br />
<p><label for="user_fields_form_pattern">{$aLang.userfield_form_pattern}</label><br />
<input type="text" id="user_fields_form_pattern" class="input-text" /></p>
<input type="hidden" id="user_fields_form_action" />
@ -29,7 +29,7 @@
{foreach from=$aUserFields item=oField}
<li id="field_{$oField->getId()}"><span class="userfield_admin_name">{$oField->getName()|escape:"html"}</span>
/ <span class="userfield_admin_title">{$oField->getTitle()|escape:"html"}</span>
/ <span class="userfield_admin_pattern">{$oField->getPattern()|escape:"html"}</span>
/ <span class="userfield_admin_pattern">{$oField->getPattern()|escape:"html"}</span>
<div class="uf-actions">
<a href="javascript:ls.userfield.showEditForm({$oField->getId()})" title="{$aLang.user_field_update}"><img src="{cfg name='path.static.skin'}/images/edit.gif" alt="image" /></a>

View file

@ -16,50 +16,50 @@
<script type="text/javascript" src="{cfg name='path.root.engine_lib'}/external/tinymce-jq/tiny_mce.js"></script>
<script type="text/javascript">
{literal}
tinyMCE.init({
mode : "textareas",
theme : "advanced",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "lshselect,bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,lslink,unlink,lsvideo,lsimage,pagebreak,code",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
theme_advanced_resize_horizontal : 0,
theme_advanced_resizing_use_cookie : 0,
theme_advanced_path : false,
object_resizing : true,
force_br_newlines : true,
forced_root_block : '', // Needed for 3.x
force_p_newlines : false,
plugins : "lseditor,safari,inlinepopups,media,pagebreak",
convert_urls : false,
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]",
pagebreak_separator :"<cut>",
media_strict : false,
language : TINYMCE_LANG,
inline_styles:false,
formats : {
underline : {inline : 'u', exact : true},
strikethrough : {inline : 's', exact : true}
}
});
{/literal}
{literal}
tinyMCE.init({
mode : "textareas",
theme : "advanced",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "lshselect,bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,lslink,unlink,lsvideo,lsimage,pagebreak,code",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
theme_advanced_resize_horizontal : 0,
theme_advanced_resizing_use_cookie : 0,
theme_advanced_path : false,
object_resizing : true,
force_br_newlines : true,
forced_root_block : '', // Needed for 3.x
force_p_newlines : false,
plugins : "lseditor,safari,inlinepopups,media,pagebreak",
convert_urls : false,
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]",
pagebreak_separator :"<cut>",
media_strict : false,
language : TINYMCE_LANG,
inline_styles:false,
formats : {
underline : {inline : 'u', exact : true},
strikethrough : {inline : 's', exact : true}
}
});
{/literal}
</script>
{else}
{include file='window_load_img.tpl' sToLoad='topic_text'}
<script type="text/javascript">
jQuery(document).ready(function($){
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li"});
// Подключаем редактор
$('#blog_description').markItUp(getMarkitupSettings());
});
jQuery(document).ready(function($){
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li"});
// Подключаем редактор
$('#blog_description').markItUp(getMarkitupSettings());
});
</script>
{/if}
<form action="" method="POST" enctype="multipart/form-data">
<form action="#" method="POST" enctype="multipart/form-data">
{hook run='form_add_blog_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
@ -80,9 +80,9 @@
<span id="blog_type_note_open" style="display:none;">{$aLang.blog_create_type_open_notice}</span>
<span id="blog_type_note_close" style="display:none;">{$aLang.blog_create_type_close_notice}</span></p>
<script type="text/javascript">
jQuery(document).ready(function($){
ls.blog.loadInfoType($('#blog_type').val());
});
jQuery(document).ready(function($){
ls.blog.loadInfoType($('#blog_type').val());
});
</script>
<p><label for="blog_description">{$aLang.blog_create_description}:</label><br />

View file

@ -2,7 +2,7 @@
{include file='menu.blog_edit.tpl'}
{if $aBlogUsers}
<form action="" method="POST" enctype="multipart/form-data">
<form action="#" method="POST" enctype="multipart/form-data">
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<table class="table">
<thead>

View file

@ -79,7 +79,7 @@
{foreach from=$aBlogAdministrators item=oBlogUser}
{assign var="oUser" value=$oBlogUser->getUser()}
<li>
<a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(48)}" alt="" title="{$oUser->getLogin()}"/></a>
<a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(48)}" alt="" title="{$oUser->getLogin()}"/></a>
<a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a>
</li>
{/foreach}
@ -94,7 +94,7 @@
{foreach from=$aBlogModerators item=oBlogUser}
{assign var="oUser" value=$oBlogUser->getUser()}
<li>
<a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(48)}" alt="" title="{$oUser->getLogin()}"/></a>
<a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(48)}" alt="" title="{$oUser->getLogin()}"/></a>
<a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a>
</li>
{/foreach}

View file

@ -1,4 +1,3 @@
{include file='header.tpl' menu='blog'}
{include file='topic_list.tpl'}
{include file='footer.tpl'}

View file

@ -29,8 +29,8 @@
<br/>
{include file='paging.tpl' aPaging=$aPaging}
{else}
{$aLang.blog_user_readers_empty}
{/if}
{$aLang.blog_user_readers_empty}
{/if}
</div>

View file

@ -4,4 +4,3 @@
{include file='comment_list.tpl'}
{include file='footer.tpl'}

View file

@ -1,4 +1,3 @@
{include file='header.tpl' menu='blog'}
{include file='topic_list.tpl'}
{include file='footer.tpl'}

View file

@ -12,7 +12,7 @@
{/if}
{hook run='add_topic_link_begin'}
<form action="" method="POST" enctype="multipart/form-data">
<form action="#" method="POST" enctype="multipart/form-data">
{hook run='form_add_topic_link_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
@ -25,11 +25,11 @@
{/foreach}
</select></p>
<script language="JavaScript" type="text/javascript">
<script type="text/javascript">
jQuery(document).ready(function($){
ls.blog.loadInfo($('#blog_id').val());
});
</script>
</script>
<p><label for="topic_title">{$aLang.topic_create_title}:</label><br />
<input type="text" id="topic_title" name="topic_title" value="{$_aRequest.topic_title}" class="input-wide" /><br />

View file

@ -7,7 +7,7 @@
<h2>{$aLang.password_reminder}</h2>
<p><label for="mail">{$aLang.password_reminder_email}<br />
<input type="text" name="mail" id="name" class="input-200" /></label></p>
<input type="text" name="mail" id="mail" class="input-200" /></label></p>
<input type="submit" name="submit_reminder" class="button" value="{$aLang.password_reminder_submit}" />
</form>

View file

@ -1,4 +1,3 @@
{include file='header.tpl' menu="profile"}
{include file='topic_list.tpl'}
{include file='footer.tpl'}

View file

@ -1,4 +1,3 @@
{include file='header.tpl' menu='blog'}
{include file='topic_list.tpl'}
{include file='footer.tpl'}

View file

@ -12,18 +12,18 @@
<table class="table table-people">
<thead>
<tr>
<td>{$aLang.user}</td>
<td align="center" width="60">{$aLang.user_skill}</td>
<td align="center" width="80">{$aLang.user_rating}</td>
<td class="user-login">{$aLang.user}</td>
<td class="user-skill">{$aLang.user_skill}</td>
<td class="user-rating">{$aLang.user_rating}</td>
</tr>
</thead>
<tbody>
{foreach from=$aUsersRating item=oUser}
<tr>
<td><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td>
<td align="center" class="strength">{$oUser->getSkill()}</td>
<td align="center" class="rating"><strong>{$oUser->getRating()}</strong></td>
<td class="user-login"><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td>
<td class="user-skill strength">{$oUser->getSkill()}</td>
<td class="user-rating rating"><strong>{$oUser->getRating()}</strong></td>
</tr>
{/foreach}
</tbody>

View file

@ -7,20 +7,20 @@
<table class="table table-people">
<thead>
<tr>
<td>{$aLang.user}</td>
<td align="center" width="170">{$aLang.user_date_registration}</td>
<td align="center" width="60">{$aLang.user_skill}</td>
<td align="center" width="80">{$aLang.user_rating}</td>
<td class="user-login">{$aLang.user}</td>
<td class="user-date-registration">{$aLang.user_date_registration}</td>
<td class="user-skill">{$aLang.user_skill}</td>
<td class="user-rating">{$aLang.user_rating}</td>
</tr>
</thead>
<tbody>
{foreach from=$aUsersRegister item=oUser}
<tr>
<td><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td>
<td align="center" class="date">{date_format date=$oUser->getDateRegister()}</td>
<td align="center" class="strength">{$oUser->getSkill()}</td>
<td align="center" class="rating"><strong>{$oUser->getRating()}</strong></td>
<td class="user-login"><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td>
<td class="user-date-registration date">{date_format date=$oUser->getDateRegister()}</td>
<td class="user-skill strength">{$oUser->getSkill()}</td>
<td class="user-rating rating"><strong>{$oUser->getRating()}</strong></td>
</tr>
{/foreach}
</tbody>

View file

@ -7,10 +7,10 @@
<table class="table table-people">
<thead>
<tr>
<td>{$aLang.user}</td>
<td align="center" width="170">{$aLang.user_date_last}</td>
<td align="center" width="80">{$aLang.user_skill}</td>
<td align="center" width="80">{$aLang.user_rating}</td>
<td class="user-login">{$aLang.user}</td>
<td class="user-date-last">{$aLang.user_date_last}</td>
<td class="user-skill">{$aLang.user_skill}</td>
<td class="user-rating">{$aLang.user_rating}</td>
</tr>
</thead>
@ -18,10 +18,10 @@
{foreach from=$aUsersLast item=oUser}
{assign var="oSession" value=$oUser->getSession()}
<tr>
<td><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td>
<td align="center" class="date">{date_format date=$oSession->getDateLast()}</td>
<td align="center" class="strength">{$oUser->getSkill()}</td>
<td align="center" class="rating"><strong>{$oUser->getRating()}</strong></td>
<td class="user-login"><a href="{$oUser->getUserWebPath()}"><img src="{$oUser->getProfileAvatarPath(24)}" alt="" class="avatar" /></a><a href="{$oUser->getUserWebPath()}" class="username">{$oUser->getLogin()}</a></td>
<td class="user-date-last date">{date_format date=$oSession->getDateLast()}</td>
<td class="user-skill strength">{$oUser->getSkill()}</td>
<td class="user-rating rating"><strong>{$oUser->getRating()}</strong></td>
</tr>
{/foreach}
</tbody>

View file

@ -1,4 +1,3 @@
{include file='header.tpl' menu='blog'}
{include file='topic_list.tpl'}
{include file='footer.tpl'}

View file

@ -5,56 +5,56 @@
<script type="text/javascript" src="{cfg name='path.root.engine_lib'}/external/tinymce-jq/tiny_mce.js"></script>
<script type="text/javascript">
{literal}
tinyMCE.init({
mode : "textareas",
theme : "advanced",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "lshselect,bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,lslink,unlink,lsvideo,lsimage,pagebreak,code",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
theme_advanced_resize_horizontal : 0,
theme_advanced_resizing_use_cookie : 0,
theme_advanced_path : false,
object_resizing : true,
force_br_newlines : true,
forced_root_block : '', // Needed for 3.x
force_p_newlines : false,
plugins : "lseditor,safari,inlinepopups,media,pagebreak",
inline_styles:false,
formats : {
underline : {inline : 'u', exact : true},
strikethrough : {inline : 's', exact : true}
},
convert_urls : false,
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]",
pagebreak_separator :"<cut>",
media_strict : false,
language : TINYMCE_LANG
});
{/literal}
{literal}
tinyMCE.init({
mode : "textareas",
theme : "advanced",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "lshselect,bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,lslink,unlink,lsvideo,lsimage,pagebreak,code",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
theme_advanced_resize_horizontal : 0,
theme_advanced_resizing_use_cookie : 0,
theme_advanced_path : false,
object_resizing : true,
force_br_newlines : true,
forced_root_block : '', // Needed for 3.x
force_p_newlines : false,
plugins : "lseditor,safari,inlinepopups,media,pagebreak",
inline_styles:false,
formats : {
underline : {inline : 'u', exact : true},
strikethrough : {inline : 's', exact : true}
},
convert_urls : false,
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]",
pagebreak_separator :"<cut>",
media_strict : false,
language : TINYMCE_LANG
});
{/literal}
</script>
{else}
{include file='window_load_img.tpl' sToLoad='topic_text'}
<script type="text/javascript">
jQuery(document).ready(function($){
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"});
// Подключаем редактор
$('#topic_text').markItUp(getMarkitupSettings());
});
jQuery(document).ready(function($){
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"});
// Подключаем редактор
$('#topic_text').markItUp(getMarkitupSettings());
});
</script>
{/if}
<script type="text/javascript">
if (jQuery.browser.flash) {
ls.photoset.initSwfUpload({
post_params: { 'topic_id':'{$_aRequest.topic_id}' }
});
}
if (jQuery.browser.flash) {
ls.photoset.initSwfUpload({
post_params: { 'topic_id':'{$_aRequest.topic_id}' }
});
}
</script>
<div class="topic" style="display: none;">
@ -67,20 +67,21 @@ if (jQuery.browser.flash) {
{else}
<h2>{$aLang.topic_photoset_edit}</h2>
{/if}
<form id="photoset-upload-form" method="POST" enctype="multipart/form-data" onsubmit="return false;">
<p id="topic-photo-upload-input" class="topic-photo-upload-input">
<label for="">{$aLang.topic_photoset_choose_image}:</label><br />
<input type="file" id="photoset-upload-file" name="Filedata" /><br><br>
<button onclick="ls.photoset.upload();">{$aLang.topic_photoset_upload_choose}</button>
<button onclick="ls.photoset.closeForm();">{$aLang.topic_photoset_upload_close}</button>
<input type="hidden" name="is_iframe" value="true" />
<input type="hidden" name="topic_id" value="{$_aRequest.topic_id}" />
</p>
</form>
<form id="photoset-upload-form" method="POST" enctype="multipart/form-data" onsubmit="return false;">
<p id="topic-photo-upload-input" class="topic-photo-upload-input">
<label for="photoset-upload-file">{$aLang.topic_photoset_choose_image}:</label><br />
<input type="file" id="photoset-upload-file" name="Filedata" /><br><br>
<button onclick="ls.photoset.upload();">{$aLang.topic_photoset_upload_choose}</button>
<button onclick="ls.photoset.closeForm();">{$aLang.topic_photoset_upload_close}</button>
<input type="hidden" name="is_iframe" value="true" />
<input type="hidden" name="topic_id" value="{$_aRequest.topic_id}" />
</p>
</form>
{hook run='add_topic_photoset_begin'}
<form action="" method="POST" enctype="multipart/form-data">
<form action="#" method="POST" enctype="multipart/form-data">
{hook run='form_add_topic_photoset_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
@ -93,10 +94,10 @@ if (jQuery.browser.flash) {
{/foreach}
</select></p>
<script language="JavaScript" type="text/javascript">
jQuery(document).ready(function($){
ls.blog.loadInfo($('#blog_id').val());
});
<script type="text/javascript">
jQuery(document).ready(function($){
ls.blog.loadInfo($('#blog_id').val());
});
</script>
<p><label for="topic_title">{$aLang.topic_create_title}:</label><br />
@ -118,26 +119,26 @@ if (jQuery.browser.flash) {
</div>
<input type="hidden" name="topic_main_photo" id="topic_main_photo" value="{$_aRequest.topic_main_photo}" />
<ul id="swfu_images">
{if count($aPhotos)}
{foreach from=$aPhotos item=oPhoto}
{if $_aRequest.topic_main_photo && $_aRequest.topic_main_photo == $oPhoto->getId()}
{assign var=bIsMainPhoto value=true}
{/if}
<li id="photo_{$oPhoto->getId()}" {if $bIsMainPhoto}class="marked-as-preview"{/if}>
<img src="{$oPhoto->getWebPath('100crop')}" alt="image" />
<textarea onBlur="ls.photoset.setPreviewDescription({$oPhoto->getId()}, this.value)">{$oPhoto->getDescription()}</textarea><br />
<a href="javascript:ls.photoset.deletePhoto({$oPhoto->getId()})" class="image-delete">{$aLang.topic_photoset_photo_delete}</a>
<span id="photo_preview_state_{$oPhoto->getId()}" class="photo-preview-state">
{if $bIsMainPhoto}
{$aLang.topic_photoset_is_preview}
{else}
<a href="javascript:ls.photoset.setPreview({$oPhoto->getId()})" class="mark-as-preview">{$aLang.topic_photoset_mark_as_preview}</a>
{/if}
</span>
</li>
{assign var=bIsMainPhoto value=false}
{/foreach}
{/if}
{if count($aPhotos)}
{foreach from=$aPhotos item=oPhoto}
{if $_aRequest.topic_main_photo && $_aRequest.topic_main_photo == $oPhoto->getId()}
{assign var=bIsMainPhoto value=true}
{/if}
<li id="photo_{$oPhoto->getId()}" {if $bIsMainPhoto}class="marked-as-preview"{/if}>
<img src="{$oPhoto->getWebPath('100crop')}" alt="image" />
<textarea onBlur="ls.photoset.setPreviewDescription({$oPhoto->getId()}, this.value)">{$oPhoto->getDescription()}</textarea><br />
<a href="javascript:ls.photoset.deletePhoto({$oPhoto->getId()})" class="image-delete">{$aLang.topic_photoset_photo_delete}</a>
<span id="photo_preview_state_{$oPhoto->getId()}" class="photo-preview-state">
{if $bIsMainPhoto}
{$aLang.topic_photoset_is_preview}
{else}
<a href="javascript:ls.photoset.setPreview({$oPhoto->getId()})" class="mark-as-preview">{$aLang.topic_photoset_mark_as_preview}</a>
{/if}
</span>
</li>
{assign var=bIsMainPhoto value=false}
{/foreach}
{/if}
</ul>
<a href="javascript:ls.photoset.showForm()" id="photoset-start-upload">{$aLang.topic_photoset_upload_choose}</a>
</div>

View file

@ -1,4 +1,3 @@
{include file='header.tpl' menu="profile"}
{include file='topic_list.tpl'}
{include file='footer.tpl'}

View file

@ -1,15 +1,15 @@
{if $oUserFriend and ($oUserFriend->getFriendStatus()==$USER_FRIEND_ACCEPT+$USER_FRIEND_OFFER or $oUserFriend->getFriendStatus()==$USER_FRIEND_ACCEPT+$USER_FRIEND_ACCEPT)}
<li id="delete_friend_item"><a href="#" title="{$aLang.user_friend_del}" onclick="return ls.user.removeFriend(this,{$oUserProfile->getId()},'del');">{$aLang.user_friend_del}</a></li>
<li id="delete_friend_item"><a href="#" title="{$aLang.user_friend_del}" onclick="return ls.user.removeFriend(this,{$oUserProfile->getId()},'del');">{$aLang.user_friend_del}</a></li>
{elseif $oUserFriend and $oUserFriend->getStatusTo()==$USER_FRIEND_REJECT and $oUserFriend->getStatusFrom()==$USER_FRIEND_OFFER and $oUserFriend->getUserTo()==$oUserCurrent->getId()}
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" onclick="return ls.user.addFriend(this,{$oUserProfile->getId()},'accept');">{$aLang.user_friend_add}</a></li>
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" onclick="return ls.user.addFriend(this,{$oUserProfile->getId()},'accept');">{$aLang.user_friend_add}</a></li>
{elseif $oUserFriend and $oUserFriend->getFriendStatus()==$USER_FRIEND_OFFER+$USER_FRIEND_REJECT and $oUserFriend->getUserTo()!=$oUserCurrent->getId()}
<li>{$aLang.user_friend_offer_reject}</li>
{elseif $oUserFriend and $oUserFriend->getFriendStatus()==$USER_FRIEND_OFFER+$USER_FRIEND_NULL and $oUserFriend->getUserFrom()==$oUserCurrent->getId()}
<li>{$aLang.user_friend_offer_send}</li>
{elseif $oUserFriend and $oUserFriend->getFriendStatus()==$USER_FRIEND_OFFER+$USER_FRIEND_NULL and $oUserFriend->getUserTo()==$oUserCurrent->getId()}
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" onclick="return ls.user.addFriend(this,{$oUserProfile->getId()},'accept');">{$aLang.user_friend_add}</a></li>
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" onclick="return ls.user.addFriend(this,{$oUserProfile->getId()},'accept');">{$aLang.user_friend_add}</a></li>
{elseif !$oUserFriend}
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" id="add_friend_show">{$aLang.user_friend_add}</a>
<li id="add_friend_item"><a href="#" title="{$aLang.user_friend_add}" id="add_friend_show">{$aLang.user_friend_add}</a>
<form id="add_friend_form" class="add-friend-form jqmWindow" onsubmit="return ls.user.addFriend(this,{$oUserProfile->getId()},'add');">
<a href="#" class="close jqmClose"></a>

View file

@ -86,14 +86,14 @@
</td>
</tr>
{/if}
{if count($aUserFields)}
{foreach from=$aUserFields item=oField}
<tr>
<td class="var">{$oField->getTitle()|escape:'html'}:</td>
<td>{$oField->getValue(true,true)}</td>
</tr>
{/foreach}
{/if}
{if count($aUserFields)}
{foreach from=$aUserFields item=oField}
<tr>
<td class="var">{$oField->getTitle()|escape:'html'}:</td>
<td>{$oField->getValue(true,true)}</td>
</tr>
{/foreach}
{/if}
{hook run='profile_whois_privat_item' oUserProfile=$oUserProfile}
</table>
{/if}

View file

@ -13,7 +13,7 @@
{/if}
{hook run='add_topic_question_begin'}
<form action="" method="POST" enctype="multipart/form-data">
<form action="#" method="POST" enctype="multipart/form-data">
{hook run='form_add_topic_question_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
@ -26,11 +26,11 @@
{/foreach}
</select></p>
<script language="JavaScript" type="text/javascript">
<script type="text/javascript">
jQuery(document).ready(function($){
ls.blog.loadInfo($('#blog_id').val());
});
</script>
</script>
<p><label for="topic_title">{$aLang.topic_question_create_title}:</label><br />
<input type="text" id="topic_title" name="topic_title" value="{$_aRequest.topic_title}" class="input-wide" {if $bEditDisabled}disabled{/if} /><br />

View file

@ -24,7 +24,7 @@
<input type="password" value="" id="repass" name="password_confirm" class="input-text input-wide" /></label></p>
{$aLang.registration_captcha}<br />
<img src="{cfg name='path.root.engine_lib'}/external/kcaptcha/index.php?{$_sPhpSessionName}={$_sPhpSessionId}" onclick="this.src='{cfg name='path.root.engine_lib'}/external/kcaptcha/index.php?{$_sPhpSessionName}={$_sPhpSessionId}&n='+Math.random();" />
<img src="{cfg name='path.root.engine_lib'}/external/kcaptcha/index.php?{$_sPhpSessionName}={$_sPhpSessionId}" onclick="this.src='{cfg name='path.root.engine_lib'}/external/kcaptcha/index.php?{$_sPhpSessionName}={$_sPhpSessionId}&amp;n='+Math.random();" alt="it's img captcha" />
<p><input type="text" name="captcha" value="" maxlength="3" class="input-text input-100" /></p>

View file

@ -3,7 +3,7 @@
<h2>{$aLang.settings_invite}</h2>
<form action="" method="POST" enctype="multipart/form-data">
<form action="#" method="POST" enctype="multipart/form-data">
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
<p>

View file

@ -3,7 +3,7 @@
<h2>{$aLang.settings_profile_edit}</h2>
<form action="" method="POST" enctype="multipart/form-data">
<form action="#" method="POST" enctype="multipart/form-data">
{hook run='form_settings_profile_begin'}
@ -23,10 +23,10 @@
{$aLang.settings_profile_sex}:<br />
<label><input type="radio" name="profile_sex" id="profile_sex_m" value="man" {if $oUserCurrent->getProfileSex()=='man'}checked{/if} class="checkbox" />{$aLang.settings_profile_sex_man}</label><br />
<label><input type="radio" name="profile_sex" id="profile_sex_w" value="woman" {if $oUserCurrent->getProfileSex()=='woman'}checked{/if} class="checkbox" />{$aLang.settings_profile_sex_woman}</label><br />
<label><input type="radio" name="profile_sex" id="profile_sex_o" value="other" {if $oUserCurrent->getProfileSex()=='other'}checked{/if} class="checkbox" />{$aLang.settings_profile_sex_other}</label>
<label><input type="radio" name="profile_sex" id="profile_sex_o" value="other" {if $oUserCurrent->getProfileSex()=='other'}checked{/if} class="checkbox" />{$aLang.settings_profile_sex_other}</label>
</p>
<p>
<label for="">{$aLang.settings_profile_birthday}:</label><br />
<label>{$aLang.settings_profile_birthday}:</label><br />
<select name="profile_birthday_day">
<option value="">{$aLang.date_day}</option>
{section name=date_day start=1 loop=32 step=1}
@ -59,11 +59,11 @@
<label for="profile_site"><input type="text" style="margin-bottom: 5px;" id="profile_site" name="profile_site" class="input-200" value="{$oUserCurrent->getProfileSite()|escape:'html'}" /> &mdash; {$aLang.settings_profile_site_url}</label><br />
<label for="profile_site_name"><input type="text" id="profile_site_name" name="profile_site_name" class="input-200" value="{$oUserCurrent->getProfileSiteName()|escape:'html'}" /> &mdash; {$aLang.settings_profile_site_name}</label>
</p>
{if count($aUserFields)}
{foreach from=$aUserFields item=oField}
<p><label for="profile_user_field_{$oField->getId()}">{$oField->getTitle()|escape:'html'}:</label><br /><input type="text" class="input-200" name="profile_user_field_{$oField->getId()}" id="profile_user_field_{$oField->getId()}" value="{$oField->getValue()|escape:'html'}"/></p>
{/foreach}
{/if}
{if count($aUserFields)}
{foreach from=$aUserFields item=oField}
<p><label for="profile_user_field_{$oField->getId()}">{$oField->getTitle()|escape:'html'}:</label><br /><input type="text" class="input-200" name="profile_user_field_{$oField->getId()}" id="profile_user_field_{$oField->getId()}" value="{$oField->getValue()|escape:'html'}"/></p>
{/foreach}
{/if}
<p>
<label for="profile_about">{$aLang.settings_profile_about}:</label><br />
<textarea cols="50" rows="5" name="profile_about" id="profile_about">{$oUserCurrent->getProfileAbout()|escape:'html'}</textarea>

View file

@ -8,12 +8,12 @@
{include file='actions/ActionStream/events.tpl'}
</ul>
{if !$bDisableGetMoreButton}
<input type="hidden" id="stream_last_id" value="{$iStreamLastId}" />
<a class="stream-get-more" id="stream_get_more" href="javascript:ls.stream.getMore()">{$aLang.stream_get_more} &darr;</a>
{/if}
{if !$bDisableGetMoreButton}
<input type="hidden" id="stream_last_id" value="{$iStreamLastId}" />
<a class="stream-get-more" id="stream_get_more" href="javascript:ls.stream.getMore()">{$aLang.stream_get_more} &darr;</a>
{/if}
{else}
{$aLang.stream_no_events}
{$aLang.stream_no_events}
{/if}

View file

@ -1,8 +1,8 @@
{include file='header.tpl'}
<form action="" method="GET" class="tags-search" id="tag_search_form">
<img src="{cfg name='path.static.skin'}/images/tagcloud.gif" border="0" style="margin-left: 13px;">&nbsp;
<form action="#" method="GET" class="tags-search" id="tag_search_form">
<img src="{cfg name='path.static.skin'}/images/tagcloud.gif" class="tagcloud" alt="" />&nbsp;
<input type="text" name="tag" value="{$sTag|escape:'html'}" class="tags-input" id="tag_search" >
</form>

View file

@ -4,46 +4,46 @@
<script type="text/javascript" src="{cfg name='path.root.engine_lib'}/external/tinymce-jq/tiny_mce.js"></script>
<script type="text/javascript">
{literal}
tinyMCE.init({
mode : "textareas",
theme : "advanced",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "lshselect,bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,lslink,unlink,lsvideo,lsimage,pagebreak,code",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
theme_advanced_resize_horizontal : 0,
theme_advanced_resizing_use_cookie : 0,
theme_advanced_path : false,
object_resizing : true,
force_br_newlines : true,
forced_root_block : '', // Needed for 3.x
force_p_newlines : false,
plugins : "lseditor,safari,inlinepopups,media,pagebreak",
convert_urls : false,
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]",
pagebreak_separator :"<cut>",
media_strict : false,
language : TINYMCE_LANG,
inline_styles:false,
formats : {
underline : {inline : 'u', exact : true},
strikethrough : {inline : 's', exact : true}
}
});
{/literal}
{literal}
tinyMCE.init({
mode : "textareas",
theme : "advanced",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "lshselect,bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,lslink,unlink,lsvideo,lsimage,pagebreak,code",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
theme_advanced_resize_horizontal : 0,
theme_advanced_resizing_use_cookie : 0,
theme_advanced_path : false,
object_resizing : true,
force_br_newlines : true,
forced_root_block : '', // Needed for 3.x
force_p_newlines : false,
plugins : "lseditor,safari,inlinepopups,media,pagebreak",
convert_urls : false,
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]",
pagebreak_separator :"<cut>",
media_strict : false,
language : TINYMCE_LANG,
inline_styles:false,
formats : {
underline : {inline : 'u', exact : true},
strikethrough : {inline : 's', exact : true}
}
});
{/literal}
</script>
{else}
{include file='window_load_img.tpl' sToLoad='talk_text'}
<script type="text/javascript">
jQuery(document).ready(function($){
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"});
// Подключаем редактор
$('#talk_text').markItUp(getMarkitupSettings());
});
jQuery(document).ready(function($){
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"});
// Подключаем редактор
$('#talk_text').markItUp(getMarkitupSettings());
});
</script>
{/if}
@ -53,7 +53,7 @@
<h2>{$aLang.talk_create}</h2>
<form action="" method="POST" enctype="multipart/form-data">
<form action="#" method="POST" enctype="multipart/form-data">
{hook run='form_add_talk_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />

View file

@ -5,46 +5,46 @@
<script type="text/javascript" src="{cfg name='path.root.engine_lib'}/external/tinymce-jq/tiny_mce.js"></script>
<script type="text/javascript">
{literal}
tinyMCE.init({
mode : "textareas",
theme : "advanced",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "lshselect,bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,lslink,unlink,lsvideo,lsimage,pagebreak,code",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
theme_advanced_resize_horizontal : 0,
theme_advanced_resizing_use_cookie : 0,
theme_advanced_path : false,
object_resizing : true,
force_br_newlines : true,
forced_root_block : '', // Needed for 3.x
force_p_newlines : false,
plugins : "lseditor,safari,inlinepopups,media,pagebreak",
convert_urls : false,
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]",
pagebreak_separator :"<cut>",
media_strict : false,
language : TINYMCE_LANG,
inline_styles:false,
formats : {
underline : {inline : 'u', exact : true},
strikethrough : {inline : 's', exact : true}
}
});
{/literal}
{literal}
tinyMCE.init({
mode : "textareas",
theme : "advanced",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "lshselect,bold,italic,underline,strikethrough,|,bullist,numlist,|,undo,redo,|,lslink,unlink,lsvideo,lsimage,pagebreak,code",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
theme_advanced_resize_horizontal : 0,
theme_advanced_resizing_use_cookie : 0,
theme_advanced_path : false,
object_resizing : true,
force_br_newlines : true,
forced_root_block : '', // Needed for 3.x
force_p_newlines : false,
plugins : "lseditor,safari,inlinepopups,media,pagebreak",
convert_urls : false,
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]",
pagebreak_separator :"<cut>",
media_strict : false,
language : TINYMCE_LANG,
inline_styles:false,
formats : {
underline : {inline : 'u', exact : true},
strikethrough : {inline : 's', exact : true}
}
});
{/literal}
</script>
{else}
{include file='window_load_img.tpl' sToLoad='topic_text'}
<script type="text/javascript">
jQuery(document).ready(function($){
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"});
// Подключаем редактор
$('#topic_text').markItUp(getMarkitupSettings());
});
jQuery(document).ready(function($){
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"});
// Подключаем редактор
$('#topic_text').markItUp(getMarkitupSettings());
});
</script>
{/if}
@ -62,7 +62,7 @@
{/if}
{hook run='add_topic_topic_begin'}
<form action="" method="POST" enctype="multipart/form-data">
<form action="#" method="POST" enctype="multipart/form-data">
{hook run='form_add_topic_topic_begin'}
<input type="hidden" name="security_ls_key" value="{$LIVESTREET_SECURITY_KEY}" />
@ -75,11 +75,11 @@
{/foreach}
</select></p>
<script language="JavaScript" type="text/javascript">
<script type="text/javascript">
jQuery(document).ready(function($){
ls.blog.loadInfo($('#blog_id').val());
});
</script>
</script>
<p><label for="topic_title">{$aLang.topic_create_title}:</label><br />
<input type="text" id="topic_title" name="topic_title" value="{$_aRequest.topic_title}" class="input-wide" /><br />

View file

@ -4,13 +4,14 @@
{include file='topic_list.tpl'}
{if count($aTopics)}
{if !$bDisableGetMoreButton}
<div id="userfeed_loaded_topics"></div>
<input type="hidden" id="userfeed_last_id" value="{$iUserfeedLastId}" />
<a class="stream-get-more" id="userfeed_get_more" href="javascript:ls.userfeed.getMore()">{$aLang.userfeed_get_more} &darr;</a>
{/if}
{if !$bDisableGetMoreButton}
<div id="userfeed_loaded_topics"></div>
<input type="hidden" id="userfeed_last_id" value="{$iUserfeedLastId}" />
<a class="stream-get-more" id="userfeed_get_more" href="javascript:ls.userfeed.getMore()">{$aLang.userfeed_get_more} &darr;</a>
{/if}
{else}
<p style="margin-left:30px">{$aLang.userfeed_no_events}</p>
<p style="margin-left:30px">{$aLang.userfeed_no_events}</p>
{/if}
{include file='footer.tpl'}

View file

@ -1,14 +1,14 @@
{if $oUserCurrent}
{literal}
<script language="JavaScript" type="text/javascript">
jQuery(document).ready( function() {
ls.autocomplete.add(jQuery('#stream_users_complete'), aRouter['ajax']+'autocompleter/user/?security_ls_key='+LIVESTREET_SECURITY_KEY);
jQuery('#stream_users_complete').keydown(function (event) {
if (event.which == 13) {
ls.stream.appendUser()
}
});
});
<script type="text/javascript">
jQuery(document).ready( function() {
ls.autocomplete.add(jQuery('#stream_users_complete'), aRouter['ajax']+'autocompleter/user/?security_ls_key='+LIVESTREET_SECURITY_KEY);
jQuery('#stream_users_complete').keydown(function (event) {
if (event.which == 13) {
ls.stream.appendUser()
}
});
});
</script>
{/literal}
@ -43,25 +43,25 @@
<div class="stream-settings-userlist">
<p><input type="text" id="stream_users_complete" autocomplete="off" />
<a href="javascript:ls.stream.appendUser()">{$aLang.stream_block_config_append}</a></p>
{if count($aStreamSubscribedUsers)}
<ul id="stream_block_users_list">
{foreach from=$aStreamSubscribedUsers item=oUser}
{assign var=iUserId value=$oUser->getId()}
{if !isset($aStreamFriends.$iUserId)}
<li><input class="streamUserCheckbox input-checkbox"
type="checkbox"
id="strm_u_{$iUserId}"
checked="checked"
onClick="if (jQuery(this).prop('checked')) { ls.stream.subscribe({$iUserId}) } else { ls.stream.unsubscribe({$iUserId}) } " />
<a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a>
</li>
{/if}
{/foreach}
</ul>
{else}
<ul id="stream_block_users_list"></ul>
<p id="stream_no_subscribed_users">{$aLang.stream_no_subscribed_users}</p>
{/if}
{if count($aStreamSubscribedUsers)}
<ul id="stream_block_users_list">
{foreach from=$aStreamSubscribedUsers item=oUser}
{assign var=iUserId value=$oUser->getId()}
{if !isset($aStreamFriends.$iUserId)}
<li><input class="streamUserCheckbox input-checkbox"
type="checkbox"
id="strm_u_{$iUserId}"
checked="checked"
onClick="if (jQuery(this).prop('checked')) { ls.stream.subscribe({$iUserId}) } else { ls.stream.unsubscribe({$iUserId}) } " />
<a href="{$oUser->getUserWebPath()}">{$oUser->getLogin()}</a>
</li>
{/if}
{/foreach}
</ul>
{else}
<ul id="stream_block_users_list"></ul>
<p id="stream_no_subscribed_users">{$aLang.stream_no_subscribed_users}</p>
{/if}
</div>

View file

@ -17,4 +17,3 @@
<div class="bottom">
<a href="{router page='new'}">{$aLang.block_stream_topics_all}</a> | <a href="{router page='rss'}new/">RSS</a>
</div>

View file

@ -17,7 +17,7 @@
{/foreach}
</ul>
{else}
<p>{$aLang.userfeed_no_blogs}</p>
{/if}
<p>{$aLang.userfeed_no_blogs}</p>
{/if}
</div>
{/if}

View file

@ -1,15 +1,15 @@
{if $oUserCurrent}
{literal}
<script language="JavaScript" type="text/javascript">
jQuery(document).ready( function() {
ls.autocomplete.add(jQuery('#userfeed_users_complete'), aRouter['ajax']+'autocompleter/user/?security_ls_key='+LIVESTREET_SECURITY_KEY);
jQuery('#userfeed_users_complete').keydown(function (event) {
if (event.which == 13) {
ls.userfeed.appendUser()
}
});
});
</script>
<script type="text/javascript">
jQuery(document).ready( function() {
ls.autocomplete.add(jQuery('#userfeed_users_complete'), aRouter['ajax']+'autocompleter/user/?security_ls_key='+LIVESTREET_SECURITY_KEY);
jQuery('#userfeed_users_complete').keydown(function (event) {
if (event.which == 13) {
ls.userfeed.appendUser()
}
});
});
</script>
{/literal}
@ -22,8 +22,8 @@
<p><input type="text" id="userfeed_users_complete" autocomplete="off" onclick/>
<a href="javascript:ls.userfeed.appendUser()">{$aLang.userfeed_block_users_append}</a></p>
{if count($aUserfeedSubscribedUsers)}
<ul id="userfeed_block_users_list">
{if count($aUserfeedSubscribedUsers)}
<ul id="userfeed_block_users_list">
{foreach from=$aUserfeedSubscribedUsers item=oUser}
{assign var=iUserId value=$oUser->getId()}
@ -37,11 +37,11 @@
</li>
{/if}
{/foreach}
</ul>
</ul>
{else}
<ul id="userfeed_block_users_list"></ul>
<p id="userfeed_no_subscribed_users">{$aLang.userfeed_no_subscribed_users}</p>
{/if}
<ul id="userfeed_block_users_list"></ul>
<p id="userfeed_no_subscribed_users">{$aLang.userfeed_no_subscribed_users}</p>
{/if}
</div>

View file

@ -1,10 +1,10 @@
<table class="table blog-list-table table-people">
<thead>
<tr>
<td>{$aLang.blogs_title}</td>
{if $oUserCurrent}<td align="center" width="100px">{$aLang.blog_join_leave}</td>{/if}
<td align="center" width="60px">{$aLang.blogs_readers}</td>
<td align="center" width="60px">{$aLang.blogs_rating}</td>
<td class="blog-title">{$aLang.blogs_title}</td>
{if $oUserCurrent}<td class="blog-join-leave">{$aLang.blog_join_leave}</td>{/if}
<td class="blog-readers-count">{$aLang.blogs_readers}</td>
<td class="blog-rating">{$aLang.blogs_rating}</td>
</tr>
</thead>
@ -12,14 +12,14 @@
{foreach from=$aBlogs item=oBlog}
{assign var="oUserOwner" value=$oBlog->getOwner()}
<tr>
<td>
<td class="blog-title">
<a href="{router page='blog'}{$oBlog->getUrl()}/"><img src="{$oBlog->getAvatarPath(24)}" alt="" class="avatar" /></a>
<a href="{router page='blog'}{$oBlog->getUrl()}/" class="title">{$oBlog->getTitle()|escape:'html'}</a>
{if $oBlog->getType()=='close'}<img src="{cfg name='path.static.skin'}/images/lock.png" alt="[x]" title="{$aLang.blog_closed}" class="private" />{/if}
<p>{$aLang.blogs_owner}: <a href="{router page='profile'}{$oUserOwner->getLogin()}/" class="user">{$oUserOwner->getLogin()}</a></p>
</td>
{if $oUserCurrent}
<td align="center">
<td class="blog-join-leave">
{if $oUserCurrent->getId()!=$oBlog->getOwnerId() and $oBlog->getType()=='open'}
<div onclick="ls.blog.toggleJoin(this, {$oBlog->getId()}); return false;" class="join {if $oBlog->getUserIsJoin()}active{/if}"></div>
{else}
@ -27,8 +27,8 @@
{/if}
</td>
{/if}
<td align="center" id="blog_user_count_{$oBlog->getId()}" class="date">{$oBlog->getCountUser()}</td>
<td align="center" class="rating"><strong>{$oBlog->getRating()}</strong></td>
<td class="blog-readers-count date" id="blog_user_count_{$oBlog->getId()}">{$oBlog->getCountUser()}</td>
<td class="blog-rating rating"><strong>{$oBlog->getRating()}</strong></td>
</tr>
{/foreach}
</tbody>

View file

@ -3,7 +3,7 @@
<div id="comment_id_{$oComment->getId()}" class="comment {if !$oUserCurrent or ($oUserCurrent and !$oUserCurrent->isAdministrator())}not-admin{/if} {if $oComment->getDelete()} deleted{elseif $oUserCurrent and $oComment->getUserId()==$oUserCurrent->getId()} self{elseif $sDateReadLast<=$oComment->getDate()} new{/if}" >
{if !$oComment->getDelete() or $bOneComment or ($oUserCurrent and $oUserCurrent->isAdministrator())}
<a name="comment{$oComment->getId()}" ></a>
<a id="comment{$oComment->getId()}"></a>
<div class="folding"></div>
@ -22,7 +22,7 @@
{if $oComment->getTargetType()!='talk'}
<div id="vote_area_comment_{$oComment->getId()}" class="voting {if $oComment->getRating()>0}positive{elseif $oComment->getRating()<0}negative{/if} {if !$oUserCurrent || $oComment->getUserId()==$oUserCurrent->getId() || strtotime($oComment->getDate())<$smarty.now-$oConfig->GetValue('acl.vote.comment.limit_time')}guest{/if} {if $oVote} voted {if $oVote->getDirection()>0}plus{else}minus{/if}{/if} ">
<div id="vote_area_comment_{$oComment->getId()}" class="voting {if $oComment->getRating()>0}positive{elseif $oComment->getRating()<0}negative{/if} {if !$oUserCurrent || $oComment->getUserId()==$oUserCurrent->getId() || strtotime($oComment->getDate())<$smarty.now-$oConfig->GetValue('acl.vote.comment.limit_time')}guest{/if} {if $oVote} voted {if $oVote->getDirection()>0}plus{else}minus{/if}{/if} ">
<a href="#" class="plus" onclick="return ls.vote.vote({$oComment->getId()},this,1,'comment');"></a>
<span id="vote_total_comment_{$oComment->getId()}" class="total">{if $oComment->getRating()>0}+{/if}{$oComment->getRating()}</span>
<a href="#" class="minus" onclick="return ls.vote.vote({$oComment->getId()},this,-1,'comment');"></a>
@ -43,7 +43,7 @@
{/if}
<li class="goto-comment-child"><a href="#" title="{$aLang.comment_goto_child}">↓</a></li>
{if $oUserCurrent and !$bNoCommentFavourites}
<li><a href="#" onclick="return ls.favourite.toggle({$oComment->getId()},this,'comment');" class="favourite {if $oComment->getIsFavourite()}active{/if}"><span class="favourite-count" id="fav_count_comment_{$oComment->getId()}">{if $oComment->getCountFavourite()>0}{$oComment->getCountFavourite()}{else}&nbsp;{/if}</span></a></li>
<li><a href="#" onclick="return ls.favourite.toggle({$oComment->getId()},this,'comment');" class="favourite {if $oComment->getIsFavourite()}active{/if}"><span class="favourite-count" id="fav_count_comment_{$oComment->getId()}">{if $oComment->getCountFavourite()>0}{$oComment->getCountFavourite()}{else}&nbsp;{/if}</span></a></li>
{/if}
{if !$oComment->getDelete() and $oUserCurrent and $oUserCurrent->isAdministrator()}
<li><a href="#" class="delete" onclick="ls.comments.toggle(this,{$oComment->getId()}); return false;">{$aLang.comment_delete}</a></li>

View file

@ -12,7 +12,7 @@
</div>
<div class="comment">
<div class="voting {if $oComment->getRating()>0}positive{elseif $oComment->getRating()<0}negative{/if} {if !$oUserCurrent || $oComment->getUserId()==$oUserCurrent->getId() || strtotime($oComment->getDate())<$smarty.now-$oConfig->GetValue('acl.vote.comment.limit_time')}guest{/if} {if $oVote} voted {if $oVote->getDirection()>0}plus{else}minus{/if}{/if} ">
<div class="voting {if $oComment->getRating()>0}positive{elseif $oComment->getRating()<0}negative{/if} {if !$oUserCurrent || $oComment->getUserId()==$oUserCurrent->getId() || strtotime($oComment->getDate())<$smarty.now-$oConfig->GetValue('acl.vote.comment.limit_time')}guest{/if} {if $oVote} voted {if $oVote->getDirection()>0}plus{else}minus{/if}{/if} ">
<span class="total">{if $oComment->getRating()>0}+{/if}{$oComment->getRating()}</span>
</div>

View file

@ -10,15 +10,12 @@
<div class="comments-header">
<h3>{$aLang.comment_title} (<span id="count-comments">{$iCountComment}</span>)</h3>
{if $sTargetType=='topic'}
<a href="{router page='rss'}comments/{$iTargetId}/" class="rss">RSS</a>
<a href="{router page='rss'}comments/{$iTargetId}/" class="rss">RSS</a>
{/if}
<a href="#" onclick="ls.comments.collapseCommentAll(); return false;" onfocus="blur();">{$aLang.comment_collapse}</a> /
<a href="#" onclick="ls.comments.expandCommentAll(); return false;" onfocus="blur();">{$aLang.comment_expand}</a>
</div>
<a name="comments"></a>
<div class="comments" id="comments">
{assign var="nesting" value="-1"}
{foreach from=$aComments item=oComment name=rublist}
@ -30,7 +27,7 @@
{if $nesting < $cmtlevel}
{elseif $nesting > $cmtlevel}
{section name=closelist1 loop=$nesting-$cmtlevel+1}</div>{/section}
{section name=closelist1 loop=$nesting-$cmtlevel+1}</div>{/section}
{elseif not $smarty.foreach.rublist.first}
</div>
{/if}
@ -60,55 +57,55 @@
{literal}
<script type="text/javascript">
tinyMCE.init({
mode : "textareas",
theme : "advanced",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,lslink,lsquote",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
theme_advanced_resize_horizontal : 0,
theme_advanced_resizing_use_cookie : 0,
theme_advanced_path : false,
object_resizing : true,
force_br_newlines : true,
forced_root_block : '', // Needed for 3.x
force_p_newlines : false,
plugins : "lseditor,safari,inlinepopups,media,pagebreak",
convert_urls : false,
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]",
pagebreak_separator :"<cut>",
media_strict : false,
language : TINYMCE_LANG,
inline_styles:false,
formats : {
underline : {inline : 'u', exact : true},
strikethrough : {inline : 's', exact : true}
},
setup : function(ed) {
// Display an alert onclick
ed.onKeyPress.add(function(ed, e) {
key = e.keyCode || e.which;
if(e.ctrlKey && (key == 13)) {
$('#comment-button-submit').click();
return false;
}
});
}
});
tinyMCE.init({
mode : "textareas",
theme : "advanced",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,lslink,lsquote",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
theme_advanced_resize_horizontal : 0,
theme_advanced_resizing_use_cookie : 0,
theme_advanced_path : false,
object_resizing : true,
force_br_newlines : true,
forced_root_block : '', // Needed for 3.x
force_p_newlines : false,
plugins : "lseditor,safari,inlinepopups,media,pagebreak",
convert_urls : false,
extended_valid_elements : "embed[src|type|allowscriptaccess|allowfullscreen|width|height]",
pagebreak_separator :"<cut>",
media_strict : false,
language : TINYMCE_LANG,
inline_styles:false,
formats : {
underline : {inline : 'u', exact : true},
strikethrough : {inline : 's', exact : true}
},
setup : function(ed) {
// Display an alert onclick
ed.onKeyPress.add(function(ed, e) {
key = e.keyCode || e.which;
if(e.ctrlKey && (key == 13)) {
$('#comment-button-submit').click();
return false;
}
});
}
});
</script>
{/literal}
{else}
{include file='window_load_img.tpl' sToLoad='form_comment_text'}
<script type="text/javascript">
jQuery(document).ready(function($){
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"});
// Подключаем редактор
$('#form_comment_text').markItUp(getMarkitupCommentSettings());
});
jQuery(document).ready(function($){
ls.lang.load({lang_load name="panel_b,panel_i,panel_u,panel_s,panel_url,panel_url_promt,panel_code,panel_video,panel_image,panel_cut,panel_quote,panel_list,panel_list_ul,panel_list_ol,panel_title,panel_clear_tags,panel_video_promt,panel_list_li,panel_image_promt,panel_user,panel_user_promt"});
// Подключаем редактор
$('#form_comment_text').markItUp(getMarkitupCommentSettings());
});
</script>
{/if}
@ -117,7 +114,7 @@
<div class="comment-preview" id="comment_preview_0" style="display: none;"><div class="comment-inner"><div class="content"></div></div></div>
{/if}
<form action="" method="POST" id="form_comment" onsubmit="return false;" enctype="multipart/form-data">
<form action="#" method="POST" id="form_comment" onsubmit="return false;" enctype="multipart/form-data">
<textarea name="comment_text" id="form_comment_text" class="input-wide"></textarea>
<input type="button" value="{$aLang.comment_preview}" onclick="ls.comments.preview();" />
<input type="submit" name="submit_comment" value="{$aLang.comment_add}" id="comment-button-submit" onclick="ls.comments.add('form_comment',{$iTargetId},'{$sTargetType}'); return false;" />
@ -130,5 +127,3 @@
{$aLang.comment_unregistered}
{/if}
{/if}

View file

@ -30,7 +30,7 @@
/* Pagination */
.pagination { }
.pagination { }
.pagination p { font-size: 16px; color: #bbb; margin-bottom: 10px; }
.pagination ul { overflow: hidden; font-family: Verdana, Sans-Serif; }
.pagination ul li { float: left; margin-right: 8px; }
@ -85,27 +85,33 @@
.join { width: 10px; height: 10px; background: url(../images/icons.gif) no-repeat 0 -250px; cursor: pointer; }
.join.active { background-position: -10px -250px; }
.table { width: 100%; margin-bottom: 15px; }
.table td { padding: 5px; }
.table tr.active td { background: #F1FCEF; }
.table thead td { background: #F0F1F1; font-weight: bold; }
.table tbody td { padding: 5px; border-bottom: 1px solid #ddd; font-size: 11px; }
table { width: 100%; margin-bottom: 15px; }
table td { padding: 5px; }
table tr.active td { background: #F1FCEF; }
table thead td { background: #F0F1F1; font-weight: bold; }
table tbody td { padding: 5px; border-bottom: 1px solid #ddd; font-size: 11px; }
.table.table-people { }
.table.table-people .avatar { vertical-align: middle; margin-right: 7px; }
.table.table-people td { padding: 5px 10px; vertical-align: middle; }
.table.table-people .username { font-weight: bold; color: #999; }
.table.table-people .strength { font-weight: bold; color: #70AAE0; }
.table.table-people .date { color: #999; }
.table.table-people .rating strong { font-weight: bold; color: #fff; background: #FF68CF; padding: 5px 10px; }
table.table-people { }
table.table-people td { padding: 5px 10px; vertical-align: middle; }
table.table-people td.user-skill, table.table-people td.user-rating, table.table-people td.user-date-last { text-align: center; }
table.table-people td.user-skill { width: 60px; }
table.table-people td.user-rating { width: 80px; }
table.table-people td.user-date-last, table.table-people td.user-date-registration { width: 170px; }
table.table-people .avatar { vertical-align: middle; margin-right: 7px; }
table.table-people .username { font-weight: bold; color: #999; }
table.table-people .strength { font-weight: bold; color: #70AAE0; }
table.table-people .date { color: #999; }
table.table-people .rating strong { font-weight: bold; color: #fff; background: #FF68CF; padding: 5px 10px; }
.table.table-talk tbody td { color: #999; }
.table.table-talk td { padding: 5px; }
.table.table-talk td .username { padding-left: 13px; background: url(../images/icons.gif) 0 -108px no-repeat; margin-right: 5px; text-decoration: none;}
.table.table-talk td .username.inactive { color: #bbb; }
.table.table-talk a.favourite { float: left; width: 10px; height: 8px; background: url(../images/icons.gif) -40px -40px no-repeat; }
.table.table-talk a.favourite.active { background-position: -50px -40px; }
.table.table-talk a.favourite:hover { background-position: -50px -40px; }
table.table-talk tbody td { color: #999; }
table.table-talk td { padding: 5px; }
table.table-talk td .username { padding-left: 13px; background: url(../images/icons.gif) 0 -108px no-repeat; margin-right: 5px; text-decoration: none;}
table.table-talk td .username.inactive { color: #bbb; }
table.table-talk a.favourite { float: left; width: 10px; height: 8px; background: url(../images/icons.gif) -40px -40px no-repeat; }
table.table-talk a.favourite.active { background-position: -50px -40px; }
table.table-talk a.favourite:hover { background-position: -50px -40px; }
.right { float: right; }
span.green { color: #008000; }
img.tagcloud { border: 0; margin-left: 13px; }

View file

@ -9,7 +9,7 @@
.question-list li input { margin-right: 5px; }
.markItUp { width: 100%; }
.markItUp { width: 100%; }
.markItUpEditor { width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; }
.markItUpHeader { width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; }

View file

@ -6,7 +6,7 @@
#wrapper { overflow: hidden; zoom: 1; padding: 0 20px 20px; }
#wrapper.show-update-button { padding-right: 55px; }
#wrapper.white-back { background: #fff; margin: 0 20px 30px 20px;}
#wrapper.white-back #content { }
#wrapper.white-back #content { }
#content { width: 66.5%; float: left; margin-right: 1.5%; background: #fff; }
#content-inner { padding: 20px; }
#sidebar { width: 32%; float: left; }
@ -116,13 +116,19 @@
.blog .blog-wrapper .user-list li img { display: block; margin: 0 auto 2px; }
.blog-list-table { }
.blog-list-table thead td.blog-join-leave, .blog-list-table thead td.blog-readers-count, .blog-list-table thead td.blog-rating { text-align: center; width: 60px; }
.blog-list-table thead td.blog-join-leave { width: 100px; }
.blog-list-table tbody td.blog-join-leave, .blog-list-table tbody td.blog-readers-count, .blog-list-table tbody td.blog-rating { text-align: center; }
.blog-list-table tbody { color: #999; }
.blog-list-table td.blog-join-leave, .blog-list-table td.blog-readers-count, .blog-list-table td.blog-rating { text-align: center; width: 60px; }
.blog-list-table td.blog-join-leave { width: 100px; }
.blog-list-table td .avatar { float: left; position: relative; top: 2px; }
.blog-list-table td .title { font-size: 18px; line-height: 22px; }
.blog-list-table td .user { font-weight: bold; color: #999; background: url(../images/icons.gif) 0 -108px no-repeat; }
.blog-list-table td .private { position: relative; top: 2px; }
.blog-list-table td p { margin-bottom: 0; color: #999; }
/* User profile */
.user-profile { margin-bottom: 20px; overflow: hidden; zoom: 1; position: relative; }
.user-profile .avatar { float: left; margin-right: 15px; }

View file

@ -5,17 +5,17 @@
the Window's z-index value will be set to 3000 by default (via jqModal.js). */
.jqmWindow {
display: none;
display: none;
position: fixed;
top: 25%;
left: 50%;
position: fixed;
top: 25%;
left: 50%;
z-index: 200;
background-color: #fff;
color: #333;
background-color: #fff;
color: #333;
border: 1px solid #777;
padding: 20px 25px 25px;
padding: 20px 25px 25px;
background: rgb(249,249,249);
background: -moz-linear-gradient(top, rgba(249,249,249,1) 0%, rgba(241,241,241,1) 50%, rgba(222,222,222,1) 100%);
@ -39,14 +39,14 @@
/* Background iframe styling for IE6. Prevents ActiveX bleed-through (<select> form elements, etc.) */
* iframe.jqm {position:absolute;top:0;left:0;z-index:-1;
width: expression(this.parentNode.offsetWidth+'px');
height: expression(this.parentNode.offsetHeight+'px');
width: expression(this.parentNode.offsetWidth+'px');
height: expression(this.parentNode.offsetHeight+'px');
}
/* Fixed posistioning emulation for IE6
Star selector used to hide definition from browsers other than IE6
For valid CSS, use a conditional include instead */
* html .jqmWindow {
position: absolute;
top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
position: absolute;
top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px');
}

View file

@ -1,23 +1,13 @@
body {
font: 12px/18px Tahoma, Arial, Sans-Serif;
color: #333;
background: #F7F8F9;
}
body { font: 12px/18px Tahoma, Arial, Sans-Serif; color: #333; background: #F7F8F9; }
h1, h2, h3, h4, h5, h6 { font: normal 18px Verdana, Arial, Sans-Serif; line-height: 1.3em; margin-bottom: 0.3em; color: #333; }
h2 { font-size: 22px; margin-bottom: 10px; }
h2 span { color: #6EC80D; }
h3 { font-size: 18px; }
a { color: #70AAE0; }
a:hover { text-decoration: none; }
a { color: #70AAE0; }
a:hover { text-decoration: none; }
a.dashed { text-decoration: none; border-bottom: 1px dashed #70AAE0; }
p { margin-bottom: 18px; }

View file

@ -76,13 +76,13 @@
/* Interaction Cues
----------------------------------*/
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee url(images/ui-bg_glass_55_fbf9ee_1x400.png) 50% 50% repeat-x; color: #363636; }
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; }
.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec url(images/ui-bg_glass_95_fef1ec_1x400.png) 50% 50% repeat-x; color: #cd0a0a; }
.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; }
.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; }
.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
/* Icons
@ -357,14 +357,14 @@
.ui-datepicker .ui-datepicker-next { right:2px; }
.ui-datepicker .ui-datepicker-prev-hover { left:1px; }
.ui-datepicker .ui-datepicker-next-hover { right:1px; }
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }
.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }
.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }
.ui-datepicker select.ui-datepicker-month-year {width: 100%;}
.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year { width: 49%;}
.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }
.ui-datepicker td { border: 0; padding: 1px; }
.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }
.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }
@ -398,13 +398,13 @@
/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
.ui-datepicker-cover {
display: none; /*sorry for IE5*/
display/**/: block; /*sorry for IE5*/
position: absolute; /*must have*/
z-index: -1; /*must have*/
filter: mask(); /*must have*/
top: -4px; /*must have*/
left: -4px; /*must have*/
width: 200px; /*must have*/
height: 200px; /*must have*/
display: none; /*sorry for IE5*/
display/**/: block; /*sorry for IE5*/
position: absolute; /*must have*/
z-index: -1; /*must have*/
filter: mask(); /*must have*/
top: -4px; /*must have*/
left: -4px; /*must have*/
width: 200px; /*must have*/
height: 200px; /*must have*/
}

View file

@ -11,7 +11,7 @@
<div id="footer-inner">
<div class="right">{hook run='copyright'}</div>
Design by — <a href="http://www.xeoart.com">Студия XeoArt</a>
<img border="0" src="{cfg name='path.static.skin'}/images/xeoart.gif">
<img src="{cfg name='path.static.skin'}/images/xeoart.gif" alt="xeoart logo" />
{if $oUserCurrent and $oUserCurrent->isAdministrator()}| <a href="{cfg name='path.root.web'}/admin">{$aLang.admin_title}</a>{/if}
{hook run='footer_end'}
</div>

View file

@ -1,16 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML>
<html lang="ru">
<html>
<head>
{hook run='html_head_begin'}
<title>{$sHtmlTitle}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta charset="UTF-8" />
{$aHtmlHeadFiles.css}
{if $bRefreshToHome}
<meta HTTP-EQUIV="Refresh" CONTENT="3; URL={cfg name='path.root.web'}/">
<meta HTTP-EQUIV="Refresh" CONTENT="3; URL={cfg name='path.root.web'}/">
{/if}
{hook run='html_head_end'}
</head>

View file

@ -1,12 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE HTML>
<html lang="ru">
<html>
<head>
{hook run='html_head_begin'}
<title>{$sHtmlTitle}</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta charset="UTF-8" />
<meta name="description" content="{$sHtmlDescription}" />
<meta name="keywords" content="{$sHtmlKeywords}" />
@ -20,31 +20,31 @@
{/if}
{if $bRefreshToHome}
<meta HTTP-EQUIV="Refresh" CONTENT="3; URL={cfg name='path.root.web'}/">
<meta HTTP-EQUIV="Refresh" CONTENT="3; URL={cfg name='path.root.web'}/">
{/if}
<script language="JavaScript" type="text/javascript">
var DIR_WEB_ROOT = '{cfg name="path.root.web"}';
var DIR_STATIC_SKIN = '{cfg name="path.static.skin"}';
var DIR_ROOT_ENGINE_LIB = '{cfg name="path.root.engine_lib"}';
var LIVESTREET_SECURITY_KEY = '{$LIVESTREET_SECURITY_KEY}';
var SESSION_ID = '{$_sPhpSessionId}';
var BLOG_USE_TINYMCE = '{cfg name="view.tinymce"}';
<script type="text/javascript">
var DIR_WEB_ROOT = '{cfg name="path.root.web"}';
var DIR_STATIC_SKIN = '{cfg name="path.static.skin"}';
var DIR_ROOT_ENGINE_LIB = '{cfg name="path.root.engine_lib"}';
var LIVESTREET_SECURITY_KEY = '{$LIVESTREET_SECURITY_KEY}';
var SESSION_ID = '{$_sPhpSessionId}';
var BLOG_USE_TINYMCE = '{cfg name="view.tinymce"}';
var TINYMCE_LANG='en';
{if $oConfig->GetValue('lang.current')=='russian'}
TINYMCE_LANG='ru';
{/if}
var TINYMCE_LANG='en';
{if $oConfig->GetValue('lang.current')=='russian'}
TINYMCE_LANG='ru';
{/if}
var aRouter = new Array();
{foreach from=$aRouter key=sPage item=sPath}
aRouter['{$sPage}'] = '{$sPath}';
{/foreach}
var aRouter = new Array();
{foreach from=$aRouter key=sPage item=sPath}
aRouter['{$sPage}'] = '{$sPath}';
{/foreach}
</script>
{$aHtmlHeadFiles.js}
<script language="JavaScript" type="text/javascript">
<script type="text/javascript">
var tinyMCE=false;
ls.lang.load({json var=$aLangJs});
</script>

View file

@ -29,7 +29,9 @@ ls.favourite = (function ($) {
* Переключение избранного
*/
this.toggle = function(idTarget, objFavourite, type) {
if (!this.options.type[type]) { return false; }
if (!this.options.type[type]) {
return false;
}
this.objFavourite = $(objFavourite);
@ -48,7 +50,7 @@ ls.favourite = (function ($) {
this.objFavourite.addClass(this.options.active);
}
$('#fav_count_'+type+'_'+idTarget).text((result.iCount>0) ? result.iCount : '');
$('#fav_count_'+type+'_'+idTarget).text((result.iCount>0) ? result.iCount : '');
}
}.bind(this));
return false;

View file

@ -209,7 +209,7 @@ ls.tools = (function ($) {
* Предпросмотр
*/
this.textPreview = function(textId, save, divPreview) {
var text =(BLOG_USE_TINYMCE) ? tinyMCE.activeEditor.getContent() : $('#'+textId).val();
var text =(BLOG_USE_TINYMCE) ? tinyMCE.activeEditor.getContent() : $('#'+textId).val();
ls.ajax(aRouter['ajax']+'preview/text/', {text: text, save: save}, function(result){
if (!result) {
ls.msg.error('Error','Please try again later');

View file

@ -12,22 +12,22 @@
function getMarkitupSettings() {
return {
onShiftEnter: {keepDefault:false, replaceWith:'<br />\n'},
onTab: {keepDefault:false, replaceWith:' '},
markupSet: [
onShiftEnter: {keepDefault:false, replaceWith:'<br />\n'},
onTab: {keepDefault:false, replaceWith:' '},
markupSet: [
{name:'H4', className:'editor-h4', openWith:'<h4>', closeWith:'</h4>' },
{name:'H5', className:'editor-h5', openWith:'<h5>', closeWith:'</h5>' },
{name:'H6', className:'editor-h6', openWith:'<h6>', closeWith:'</h6>' },
{separator:'---------------' },
{name: ls.lang.get('panel_b'), className:'editor-bold', key:'B', openWith:'(!(<strong>|!|<b>)!)', closeWith:'(!(</strong>|!|</b>)!)' },
{name: ls.lang.get('panel_i'), className:'editor-italic', key:'I', openWith:'(!(<em>|!|<i>)!)', closeWith:'(!(</em>|!|</i>)!)' },
{name: ls.lang.get('panel_i'), className:'editor-italic', key:'I', openWith:'(!(<em>|!|<i>)!)', closeWith:'(!(</em>|!|</i>)!)' },
{name: ls.lang.get('panel_s'), className:'editor-stroke', key:'S', openWith:'<s>', closeWith:'</s>' },
{name: ls.lang.get('panel_u'), className:'editor-underline', key:'U', openWith:'<u>', closeWith:'</u>' },
{name: ls.lang.get('panel_quote'), className:'editor-quote', key:'Q', replaceWith: function(m) { if (m.selectionOuter) return '<blockquote>'+m.selectionOuter+'</blockquote>'; else if (m.selection) return '<blockquote>'+m.selection+'</blockquote>'; else return '<blockquote></blockquote>' } },
{name: ls.lang.get('panel_code'), className:'editor-code', openWith:'<code>', closeWith:'</code>' },
{separator:'---------------' },
{name: ls.lang.get('panel_list'), className:'editor-ul', openWith:' <li>', closeWith:'</li>', multiline: true, openBlockWith:'<ul>\n', closeBlockWith:'\n</ul>' },
{name: ls.lang.get('panel_list'), className:'editor-ol', openWith:' <li>', closeWith:'</li>', multiline: true, openBlockWith:'<ol>\n', closeBlockWith:'\n</ol>' },
{name: ls.lang.get('panel_list'), className:'editor-ul', openWith:' <li>', closeWith:'</li>', multiline: true, openBlockWith:'<ul>\n', closeBlockWith:'\n</ul>' },
{name: ls.lang.get('panel_list'), className:'editor-ol', openWith:' <li>', closeWith:'</li>', multiline: true, openBlockWith:'<ol>\n', closeBlockWith:'\n</ol>' },
{separator:'---------------' },
{name: ls.lang.get('panel_image'), className:'editor-picture', key:'P', beforeInsert: function(h) { $('#form_upload_img').jqmShow(); } },
{name: ls.lang.get('panel_image'), className:'editor-image', replaceWith:'<img src="[!['+ls.lang.get('panel_image_promt')+':!:http://]!]" />' },
@ -43,11 +43,11 @@ function getMarkitupSettings() {
function getMarkitupCommentSettings() {
return {
onShiftEnter: {keepDefault:false, replaceWith:'<br />\n'},
onTab: {keepDefault:false, replaceWith:' '},
markupSet: [
onShiftEnter: {keepDefault:false, replaceWith:'<br />\n'},
onTab: {keepDefault:false, replaceWith:' '},
markupSet: [
{name: ls.lang.get('panel_b'), className:'editor-bold', key:'B', openWith:'(!(<strong>|!|<b>)!)', closeWith:'(!(</strong>|!|</b>)!)' },
{name: ls.lang.get('panel_i'), className:'editor-italic', key:'I', openWith:'(!(<em>|!|<i>)!)', closeWith:'(!(</em>|!|</i>)!)' },
{name: ls.lang.get('panel_i'), className:'editor-italic', key:'I', openWith:'(!(<em>|!|<i>)!)', closeWith:'(!(</em>|!|</i>)!)' },
{name: ls.lang.get('panel_s'), className:'editor-stroke', key:'S', openWith:'<s>', closeWith:'</s>' },
{name: ls.lang.get('panel_u'), className:'editor-underline', key:'U', openWith:'<u>', closeWith:'</u>' },
{separator:'---------------' },

View file

@ -92,7 +92,7 @@ ls.photoset =( function ($) {
this.setPreviewDescription = function(id, text)
{
ls.ajax(aRouter['photoset']+'setimagedescription', {'id':id, 'text':text}, function(result){
ls.ajax(aRouter['photoset']+'setimagedescription', {'id':id, 'text':text}, function(result){
if (!result.bStateError) {
} else {
@ -159,7 +159,7 @@ ls.photoset =( function ($) {
var pos = $select.offset();
w = $select.outerWidth();
h = $select.outerHeight();
t = pos.top + h - 30 + 'px';
t = pos.top + h - 30 + 'px';
l = pos.left - 15 + 'px';
$('#photoset-upload-form').css({'top':t,'left':l});
}

View file

@ -1,74 +1,86 @@
var ls = ls || {};
ls.stream =( function ($) {
this.isBusy = false;
this.subscribe = function (iTargetUserId) {
ls.ajax(aRouter['stream']+'subscribe/', {'id':iTargetUserId}, function(data) {
if (data.bStateError) {
ls.msg.error(data.sMsgTitle,data.sMsg);
} else {
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
this.isBusy = false;
this.subscribe = function (iTargetUserId) {
ls.ajax(aRouter['stream']+'subscribe/', {
'id':iTargetUserId
}, function(data) {
if (data.bStateError) {
ls.msg.error(data.sMsgTitle,data.sMsg);
} else {
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
});
}
this.unsubscribe = function (iId) {
ls.ajax(aRouter['stream']+'unsubscribe/', {'id':iId}, function(data) {
if (!data.bStateError) {
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
});
}
this.switchEventType = function (iType) {
ls.ajax(aRouter['stream']+'switchEventType/', { 'type':iType}, function(data) {
if (!data.bStateError) {
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
});
}
this.appendUser = function() {
var sLogin = $('#stream_users_complete').val();
if (!sLogin) return;
ls.ajax(aRouter['stream']+'subscribeByLogin/', {'login':sLogin}, function(data) {
if (!data.bStateError) {
$('#stream_no_subscribed_users').remove();
var checkbox = $('#strm_u_'+data.uid);
if (checkbox.length) {
if (checkbox.attr('checked')) {
ls.msg.error(ls.lang.get('error'),ls.lang.get('stream_subscribes_already_subscribed'));
} else {
checkbox.attr('checked', 'on');
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
} else {
var liElement='<li><input type="checkbox" class="streamUserCheckbox input-checkbox" id="usf_u_'+data.uid+'" checked="checked" onClick="if ($(this).get(\'checked\')) {ls.stream.subscribe(\'users\','+data.uid+')} else {ls.stream.unsubscribe(\'users\','+data.uid+')}" /> <a href="'+data.user_web_path+'">'+data.user_login+'</a></li>';
$('#stream_block_users_list').append(liElement);
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
} else {
ls.msg.error(data.sMsgTitle,data.sMsg);
}
});
}
this.getMore = function () {
if (this.isBusy) {
return;
}
var lastId = $('#stream_last_id').val();
if (!lastId) return;
$('#stream_get_more').addClass('stream_loading');
this.isBusy = true;
ls.ajax(aRouter['stream']+'get_more/', {'last_id':lastId}, function(data) {
if (!data.bStateError && data.events_count) {
$('#stream-list').append(data.result);
$('#stream_last_id').attr('value', data.iStreamLastId);
}
if (!data.events_count) {
$('#stream_get_more').css({'display':'none'});
}
$('#stream_get_more').removeClass('stream_loading');
this.isBusy = false;
}.bind(this));
}
return this;
});
}
this.unsubscribe = function (iId) {
ls.ajax(aRouter['stream']+'unsubscribe/', {
'id':iId
}, function(data) {
if (!data.bStateError) {
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
});
}
this.switchEventType = function (iType) {
ls.ajax(aRouter['stream']+'switchEventType/', {
'type':iType
}, function(data) {
if (!data.bStateError) {
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
});
}
this.appendUser = function() {
var sLogin = $('#stream_users_complete').val();
if (!sLogin) return;
ls.ajax(aRouter['stream']+'subscribeByLogin/', {
'login':sLogin
}, function(data) {
if (!data.bStateError) {
$('#stream_no_subscribed_users').remove();
var checkbox = $('#strm_u_'+data.uid);
if (checkbox.length) {
if (checkbox.attr('checked')) {
ls.msg.error(ls.lang.get('error'),ls.lang.get('stream_subscribes_already_subscribed'));
} else {
checkbox.attr('checked', 'on');
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
} else {
var liElement='<li><input type="checkbox" class="streamUserCheckbox input-checkbox" id="usf_u_'+data.uid+'" checked="checked" onClick="if ($(this).get(\'checked\')) {ls.stream.subscribe(\'users\','+data.uid+')} else {ls.stream.unsubscribe(\'users\','+data.uid+')}" /> <a href="'+data.user_web_path+'">'+data.user_login+'</a></li>';
$('#stream_block_users_list').append(liElement);
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
} else {
ls.msg.error(data.sMsgTitle,data.sMsg);
}
});
}
this.getMore = function () {
if (this.isBusy) {
return;
}
var lastId = $('#stream_last_id').val();
if (!lastId) return;
$('#stream_get_more').addClass('stream_loading');
this.isBusy = true;
ls.ajax(aRouter['stream']+'get_more/', {
'last_id':lastId
}, function(data) {
if (!data.bStateError && data.events_count) {
$('#stream-list').append(data.result);
$('#stream_last_id').attr('value', data.iStreamLastId);
}
if (!data.events_count) {
$('#stream_get_more').css({
'display':'none'
});
}
$('#stream_get_more').removeClass('stream_loading');
this.isBusy = false;
}.bind(this));
}
return this;
}).call(ls.stream || {},jQuery);

View file

@ -1,64 +1,76 @@
var ls = ls || {};
ls.userfeed =( function ($) {
this.isBusy = false;
this.subscribe = function (sType, iId) {
ls.ajax(aRouter['feed']+'subscribe/', {'type':sType, 'id':iId}, function(data) {
if (!data.bStateError) {
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
});
}
this.unsubscribe = function (sType, iId) {
ls.ajax(aRouter['feed']+'unsubscribe/', {'type':sType, 'id':iId}, function(data) {
if (!data.bStateError) {
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
});
}
this.appendUser = function() {
var sLogin = $('#userfeed_users_complete').val();
if (!sLogin) return;
ls.ajax(aRouter['feed']+'subscribeByLogin/', {'login':sLogin}, function(data) {
if (data.bStateError) {
ls.msg.error(data.sMsgTitle,data.sMsg);
} else {
$('#userfeed_no_subscribed_users').remove();
var checkbox = $('#usf_u_'+data.uid);
if (checkbox.length) {
if (checkbox.attr('checked')) {
ls.msg.error(data.lang_error_title,data.lang_error_msg);
} else {
checkbox.attr('checked', 'on');
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
} else {
var liElement='<li><input type="checkbox" class="userfeedUserCheckbox" id="usf_u_'+data.uid+'" checked="checked" onClick="if ($(this).get(\'checked\')) {ls.userfeed.subscribe(\'users\','+data.uid+')} else {ls.userfeed.unsubscribe(\'users\','+data.uid+')}" /><a href="'+data.user_web_path+'">'+data.user_login+'</a></li>';
$('#userfeed_block_users_list').append(liElement);
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
}
});
}
this.getMore = function () {
if (this.isBusy) {
return;
}
var lastId = $('#userfeed_last_id').val();
if (!lastId) return;
$('#userfeed_get_more').addClass('userfeed_loading');
this.isBusy = true;
ls.ajax(aRouter['feed']+'get_more/', {'last_id':lastId}, function(data) {
if (!data.bStateError && data.topics_count) {
$('#userfeed_loaded_topics').append(data.result);
$('#userfeed_last_id').attr('value', data.iUserfeedLastId);
}
if (!data.topics_count) {
$('#userfeed_get_more').css({'display':'none'});
}
$('#userfeed_get_more').removeClass('userfeed_loading');
this.isBusy = false;
}.bind(this));
}
return this;
this.isBusy = false;
this.subscribe = function (sType, iId) {
ls.ajax(aRouter['feed']+'subscribe/', {
'type':sType,
'id':iId
}, function(data) {
if (!data.bStateError) {
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
});
}
this.unsubscribe = function (sType, iId) {
ls.ajax(aRouter['feed']+'unsubscribe/', {
'type':sType,
'id':iId
}, function(data) {
if (!data.bStateError) {
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
});
}
this.appendUser = function() {
var sLogin = $('#userfeed_users_complete').val();
if (!sLogin) return;
ls.ajax(aRouter['feed']+'subscribeByLogin/', {
'login':sLogin
}, function(data) {
if (data.bStateError) {
ls.msg.error(data.sMsgTitle,data.sMsg);
} else {
$('#userfeed_no_subscribed_users').remove();
var checkbox = $('#usf_u_'+data.uid);
if (checkbox.length) {
if (checkbox.attr('checked')) {
ls.msg.error(data.lang_error_title,data.lang_error_msg);
} else {
checkbox.attr('checked', 'on');
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
} else {
var liElement='<li><input type="checkbox" class="userfeedUserCheckbox" id="usf_u_'+data.uid+'" checked="checked" onClick="if ($(this).get(\'checked\')) {ls.userfeed.subscribe(\'users\','+data.uid+')} else {ls.userfeed.unsubscribe(\'users\','+data.uid+')}" /><a href="'+data.user_web_path+'">'+data.user_login+'</a></li>';
$('#userfeed_block_users_list').append(liElement);
ls.msg.notice(data.sMsgTitle,data.sMsg);
}
}
});
}
this.getMore = function () {
if (this.isBusy) {
return;
}
var lastId = $('#userfeed_last_id').val();
if (!lastId) return;
$('#userfeed_get_more').addClass('userfeed_loading');
this.isBusy = true;
ls.ajax(aRouter['feed']+'get_more/', {
'last_id':lastId
}, function(data) {
if (!data.bStateError && data.topics_count) {
$('#userfeed_loaded_topics').append(data.result);
$('#userfeed_last_id').attr('value', data.iUserfeedLastId);
}
if (!data.topics_count) {
$('#userfeed_get_more').css({
'display':'none'
});
}
$('#userfeed_get_more').removeClass('userfeed_loading');
this.isBusy = false;
}.bind(this));
}
return this;
}).call(ls.userfeed || {},jQuery);

View file

@ -1,82 +1,98 @@
var ls = ls || {};
ls.userfield =( function ($) {
this.showAddForm = function(){
$('#user_fields_form_name').val( '');
$('#user_fields_form_title').val( '');
$('#user_fields_form_id').val( '');
$('#user_fields_form_action').val('add');
$('#userfield_form').jqmShow();
}
this.showAddForm = function(){
$('#user_fields_form_name').val( '');
$('#user_fields_form_title').val( '');
$('#user_fields_form_id').val( '');
$('#user_fields_form_action').val('add');
$('#userfield_form').jqmShow();
}
this.showEditForm = function(id) {
$('#user_fields_form_action').val('update');
var name = $('#field_'+id+' .userfield_admin_name').text();
var title = $('#field_'+id+' .userfield_admin_title').text();
var pattern = $('#field_'+id+' .userfield_admin_pattern').text();
$('#user_fields_form_name').val(name);
$('#user_fields_form_title').val(title);
$('#user_fields_form_pattern').val(pattern);
$('#user_fields_form_id').val(id);
$('#userfield_form').jqmShow();
}
this.showEditForm = function(id) {
$('#user_fields_form_action').val('update');
var name = $('#field_'+id+' .userfield_admin_name').text();
var title = $('#field_'+id+' .userfield_admin_title').text();
var pattern = $('#field_'+id+' .userfield_admin_pattern').text();
$('#user_fields_form_name').val(name);
$('#user_fields_form_title').val(title);
$('#user_fields_form_pattern').val(pattern);
$('#user_fields_form_id').val(id);
$('#userfield_form').jqmShow();
}
this.applyForm = function(){
$('#userfield_form').jqmHide();
if ($('#user_fields_form_action').val() == 'add') {
this.addUserfield();
} else if ($('#user_fields_form_action').val() == 'update') {
this.updateUserfield();
}
}
this.applyForm = function(){
$('#userfield_form').jqmHide();
if ($('#user_fields_form_action').val() == 'add') {
this.addUserfield();
} else if ($('#user_fields_form_action').val() == 'update') {
this.updateUserfield();
}
}
this.addUserfield = function() {
var name = $('#user_fields_form_name').val();
var title = $('#user_fields_form_title').val();
var pattern = $('#user_fields_form_pattern').val();
ls.ajax(aRouter['admin']+'userfields', {'action':'add', 'name':name, 'title':title, 'pattern':pattern}, function(data) {
if (!data.bStateError) {
liElement = '<li id="field_'+data.id+'"><span class="userfield_admin_name"></span > / <span class="userfield_admin_title"></span> / <span class="userfield_admin_pattern"></span>'+
this.addUserfield = function() {
var name = $('#user_fields_form_name').val();
var title = $('#user_fields_form_title').val();
var pattern = $('#user_fields_form_pattern').val();
ls.ajax(aRouter['admin']+'userfields', {
'action':'add',
'name':name,
'title':title,
'pattern':pattern
}, function(data) {
if (!data.bStateError) {
liElement = '<li id="field_'+data.id+'"><span class="userfield_admin_name"></span > / <span class="userfield_admin_title"></span> / <span class="userfield_admin_pattern"></span>'+
'<div class="uf-actions"><a href="javascript:ls.userfield.showEditForm('+data.id+')"><img src="'+DIR_STATIC_SKIN+'/images/edit.png"></a> '+
'<a href="javascript:ls.userfield.deleteUserfield('+data.id+')"><img src="'+DIR_STATIC_SKIN+'/images/delete.png"></a></div>';
$('#user_field_list').append(liElement);
$('#field_'+data.id+' .userfield_admin_name').text(name);
$('#field_'+data.id+' .userfield_admin_title').text(title);
$('#field_'+data.id+' .userfield_admin_pattern').text(pattern);
ls.msg.notice(data.sMsgTitle,data.sMsg);
} else {
ls.msg.error(data.sMsgTitle,data.sMsg);
}
});
}
$('#user_field_list').append(liElement);
$('#field_'+data.id+' .userfield_admin_name').text(name);
$('#field_'+data.id+' .userfield_admin_title').text(title);
$('#field_'+data.id+' .userfield_admin_pattern').text(pattern);
ls.msg.notice(data.sMsgTitle,data.sMsg);
} else {
ls.msg.error(data.sMsgTitle,data.sMsg);
}
});
}
this.updateUserfield = function() {
var id = $('#user_fields_form_id').val();
var name = $('#user_fields_form_name').val();
var title = $('#user_fields_form_title').val();
var pattern = $('#user_fields_form_pattern').val();
ls.ajax(aRouter['admin']+'userfields', {'action':'update', 'id':id, 'name':name, 'title':title, 'pattern':pattern}, function(data) {
if (!data.bStateError) {
$('#field_'+id+' .userfield_admin_name').text(name);
$('#field_'+id+' .userfield_admin_title').text(title);
$('#field_'+id+' .userfield_admin_pattern').text(pattern);
ls.msg.notice(data.sMsgTitle,data.sMsg);
} else {
ls.msg.error(data.sMsgTitle,data.sMsg);
}
});
}
this.updateUserfield = function() {
var id = $('#user_fields_form_id').val();
var name = $('#user_fields_form_name').val();
var title = $('#user_fields_form_title').val();
var pattern = $('#user_fields_form_pattern').val();
ls.ajax(aRouter['admin']+'userfields', {
'action':'update',
'id':id,
'name':name,
'title':title,
'pattern':pattern
}, function(data) {
if (!data.bStateError) {
$('#field_'+id+' .userfield_admin_name').text(name);
$('#field_'+id+' .userfield_admin_title').text(title);
$('#field_'+id+' .userfield_admin_pattern').text(pattern);
ls.msg.notice(data.sMsgTitle,data.sMsg);
} else {
ls.msg.error(data.sMsgTitle,data.sMsg);
}
});
}
this.deleteUserfield = function(id) {
if (!confirm(ls.lang.get('user_field_delete_confirm'))) {return;}
ls.ajax(aRouter['admin']+'userfields', {'action':'delete', 'id':id}, function(data) {
if (!data.bStateError) {
$('#field_'+id).remove();
ls.msg.notice(data.sMsgTitle,data.sMsg);
} else {
ls.msg.error(data.sMsgTitle,data.sMsg);
}
});
}
return this;
this.deleteUserfield = function(id) {
if (!confirm(ls.lang.get('user_field_delete_confirm'))) {
return;
}
ls.ajax(aRouter['admin']+'userfields', {
'action':'delete',
'id':id
}, function(data) {
if (!data.bStateError) {
$('#field_'+id).remove();
ls.msg.notice(data.sMsgTitle,data.sMsg);
} else {
ls.msg.error(data.sMsgTitle,data.sMsg);
}
});
}
return this;
}).call(ls.userfield || {},jQuery);

View file

@ -9,15 +9,15 @@ ls.vote = (function ($) {
*/
this.options = {
classes: {
voted: 'voted',
plus: 'plus',
minus: 'minus',
voted: 'voted',
plus: 'plus',
minus: 'minus',
positive: 'positive',
negative: 'negative'
negative: 'negative'
},
prefix_area: 'vote_area_',
prefix_total: 'vote_total_',
prefix_count: 'vote_count_',
prefix_area: 'vote_area_',
prefix_total: 'vote_total_',
prefix_count: 'vote_count_',
type: {
comment: {
url: aRouter['ajax']+'vote/comment/',

View file

@ -23,7 +23,3 @@
{hook run='menu_settings'}
</ul>

View file

@ -6,7 +6,7 @@
<li {if $sMenuItemSelect=='topic'}class="active"{/if}><a href="{router page='topic'}{$sMenuSubItemSelect}/">{$aLang.topic_menu_add_topic}</a></li>
<li {if $sMenuItemSelect=='question'}class="active"{/if}><a href="{router page='question'}{$sMenuSubItemSelect}/">{$aLang.topic_menu_add_question}</a></li>
<li {if $sMenuItemSelect=='link'}class="active"{/if}><a href="{router page='link'}{$sMenuSubItemSelect}/">{$aLang.topic_menu_add_link}</a></li>
<li {if $sMenuItemSelect=='photoset'}class="active"{/if}><a href="{router page='photoset'}{$sMenuSubItemSelect}/">{$aLang.topic_menu_add_photoset}</a></li>
<li {if $sMenuItemSelect=='photoset'}class="active"{/if}><a href="{router page='photoset'}{$sMenuSubItemSelect}/">{$aLang.topic_menu_add_photoset}</a></li>
{hook run='menu_topic_action_add_item'}
<li {if $sMenuItemSelect=='add_blog'}class="active"{/if}><a href="{router page='blog'}add/">{$aLang.blog_menu_create}</a></li>
</ul>
@ -24,7 +24,3 @@
{hook run='menu_topic_action'}
</ul>

View file

@ -1,6 +1,5 @@
The user <a href="{$oUserFrom->getUserWebPath()}">{$oUserFrom->getLogin()}</a> invited you to register on the site <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a><br>
The invitation code: <b>{$oInvite->getCode()}</b><br>
The invitation code: <b>{$oInvite->getCode()}</b><br>
To register you need to enter the invitation code on <a href="{router page='login'}"> the main page</a>
<br><br>
Best regards, site administration <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>

View file

@ -1,6 +1,5 @@
Пользователь <a href="{$oUserFrom->getUserWebPath()}">{$oUserFrom->getLogin()}</a> пригласил вас зарегистрироваться на сайте <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a><br>
Код приглашения: <b>{$oInvite->getCode()}</b><br>
Пользователь <a href="{$oUserFrom->getUserWebPath()}">{$oUserFrom->getLogin()}</a> пригласил вас зарегистрироваться на сайте <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a><br>
Код приглашения: <b>{$oInvite->getCode()}</b><br>
Для регистрации вам будет необходимо ввести код приглашения на <a href="{router page='login'}">странице входа</a>
<br><br>
С уважением, администрация сайта <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>

View file

@ -1,4 +1,4 @@
Пользователь <a href="{$oUserTopic->getUserWebPath()}">{$oUserTopic->getLogin()}</a> опубликовал в блоге <b>«{$oBlog->getTitle()|escape:'html'}»</b> новый топик - <a href="{router page='blog'}{$oTopic->getId()}.html">{$oTopic->getTitle()|escape:'html'}</a><br>
Пользователь <a href="{$oUserTopic->getUserWebPath()}">{$oUserTopic->getLogin()}</a> опубликовал в блоге <b>«{$oBlog->getTitle()|escape:'html'}»</b> новый топик - <a href="{router page='blog'}{$oTopic->getId()}.html">{$oTopic->getTitle()|escape:'html'}</a><br>
<br><br>
С уважением, администрация сайта <a href="{cfg name='path.root.web'}">{cfg name='view.name'}</a>

View file

@ -1,15 +1,15 @@
<ul class="poll-result">
{foreach from=$oTopic->getQuestionAnswers() key=key item=aAnswer}
<li {if $oTopic->getQuestionAnswerMax()==$aAnswer.count}class="most"{/if}>
<dl>
<dt>
<strong>{$oTopic->getQuestionAnswerPercent($key)}%</strong><br />
<span>({$aAnswer.count})</span>
</dt>
<dd>{$aAnswer.text|escape:'html'}<div style="width: {$oTopic->getQuestionAnswerPercent($key)}%;" ></div></dd>
</dl>
</li>
{/foreach}
{foreach from=$oTopic->getQuestionAnswers() key=key item=aAnswer}
<li {if $oTopic->getQuestionAnswerMax()==$aAnswer.count}class="most"{/if}>
<dl>
<dt>
<strong>{$oTopic->getQuestionAnswerPercent($key)}%</strong><br />
<span>({$aAnswer.count})</span>
</dt>
<dd>{$aAnswer.text|escape:'html'}<div style="width: {$oTopic->getQuestionAnswerPercent($key)}%;" ></div></dd>
</dl>
</li>
{/foreach}
</ul>
<p class="poll-total">{$aLang.topic_question_vote_result}: {$oTopic->getQuestionCountVote()} | {$aLang.topic_question_abstain_result}: {$oTopic->getQuestionCountVoteAbstain()}</p>

View file

@ -11,7 +11,9 @@
<img src="{cfg name='path.static.skin'}/images/topic_link_big.gif" title="{$aLang.topic_link}" alt="{$aLang.topic_link}" />
</h1>
<a href="#" onclick="return ls.favourite.toggle({$oTopic->getId()},this,'topic');" class="favourite {if $oUserCurrent && $oTopic->getIsFavourite()}active{/if}"><span class="favourite-count" id="fav_count_topic_{$oTopic->getId()}">{if $oTopic->getCountFavourite()>0}{$oTopic->getCountFavourite()}{else}&nbsp;{/if}</span></a>
<a href="#" onclick="return ls.favourite.toggle({$oTopic->getId()},this,'topic');" class="favourite {if $oUserCurrent && $oTopic->getIsFavourite()}active{/if}"><span class="favourite-count" id="fav_count_topic_{$oTopic->getId()}">
{if $oTopic->getCountFavourite()>0}{$oTopic->getCountFavourite()}{else}&nbsp;{/if}</span>
</a>
<div class="info-top">

View file

@ -1,10 +1,10 @@
{if count($aTopics)>0}
{foreach from=$aTopics item=oTopic}
{assign var="sTopicTemplateName" value="topic_`$oTopic->getType()`.tpl"}
{include file=$sTopicTemplateName bTopicList=true}
{assign var="sTopicTemplateName" value="topic_`$oTopic->getType()`.tpl"}
{include file=$sTopicTemplateName bTopicList=true}
{/foreach}
{include file='paging.tpl' aPaging="$aPaging"}
{include file='paging.tpl' aPaging="$aPaging"}
{else}
<div class="padding">{$aLang.blog_no_topic}</div>
{/if}

View file

@ -3,9 +3,9 @@
{assign var="oVote" value=$oTopic->getVote()}
<script type="text/javascript">
jQuery(window).load(function($) {
ls.photoset.showMainPhoto({$oTopic->getId()});
});
jQuery(window).load(function($) {
ls.photoset.showMainPhoto({$oTopic->getId()});
});
</script>
<div class="topic photo">
@ -20,7 +20,9 @@ jQuery(window).load(function($) {
{/if}
</h1>
<a href="#" onclick="return ls.favourite.toggle({$oTopic->getId()},this,'topic');" class="favourite {if $oUserCurrent && $oTopic->getIsFavourite()}active{/if}"><span class="favourite-count" id="fav_count_topic_{$oTopic->getId()}">{if $oTopic->getCountFavourite()>0}{$oTopic->getCountFavourite()}{else}&nbsp;{/if}</span></a>
<a href="#" onclick="return ls.favourite.toggle({$oTopic->getId()},this,'topic');" class="favourite {if $oUserCurrent && $oTopic->getIsFavourite()}active{/if}">
<span class="favourite-count" id="fav_count_topic_{$oTopic->getId()}">{if $oTopic->getCountFavourite()>0}{$oTopic->getCountFavourite()}{else}&nbsp;{/if}</span>
</a>
@ -40,7 +42,7 @@ jQuery(window).load(function($) {
<div class="topic-photo-preview" onclick="window.location='{$oTopic->getUrl()}#photoset'" id="photoset-main-preview-{$oTopic->getId()}">
{assign var=oMainPhoto value=$oTopic->getPhotosetMainPhoto()}
{assign var=oMainPhoto value=$oTopic->getPhotosetMainPhoto()}
<div class="topic-photo-count" id="photoset-photo-count-{$oTopic->getId()}">{$oTopic->getPhotosetCount()} {$aLang.topic_photoset_photos}</div>
{if $oMainPhoto->getDescription()}
<div class="topic-photo-desc" id="photoset-photo-desc-{$oTopic->getId()}">{$oMainPhoto->getDescription()}</div>
@ -71,14 +73,14 @@ jQuery(window).load(function($) {
<script type="text/javascript" src="{cfg name='path.root.engine_lib'}/external/prettyPhoto/js/prettyPhoto.js"></script>
<link rel='stylesheet' type='text/css' href="{cfg name='path.root.engine_lib'}/external/prettyPhoto/css/prettyPhoto.css" />
<script type="text/javascript">
jQuery(document).ready(function($) {
$('.photoset-image').prettyPhoto({
social_tools:'',
show_title: false,
slideshow:false,
deeplinking: false
});
});
jQuery(document).ready(function($) {
$('.photoset-image').prettyPhoto({
social_tools:'',
show_title: false,
slideshow:false,
deeplinking: false
});
});
</script>
<div class="topic-photo-images">
@ -88,7 +90,7 @@ jQuery(window).load(function($) {
{assign var=aPhotos value=$oTopic->getPhotosetPhotos(0, $oConfig->get('module.topic.photoset.per_page'))}
{if count($aPhotos)}
{foreach from=$aPhotos item=oPhoto}
<li><a class="photoset-image" href="{$oPhoto->getWebPath(1000)}" rel="[photoset]" title="{$oPhoto->getDescription()}"><img src="{$oPhoto->getWebPath('50crop')}" alt="{$oPhoto->getDescription()}" /></a></li>
<li><a class="photoset-image" href="{$oPhoto->getWebPath(1000)}" rel="[photoset]" title="{$oPhoto->getDescription()}"><img src="{$oPhoto->getWebPath('50crop')}" alt="{$oPhoto->getDescription()}" /></a></li>
{assign var=iLastPhotoId value=$oPhoto->getId()}
{/foreach}
{/if}

View file

@ -15,7 +15,9 @@
{/if}
</h1>
<a href="#" onclick="return ls.favourite.toggle({$oTopic->getId()},this,'topic');" class="favourite {if $oUserCurrent && $oTopic->getIsFavourite()}active{/if}"><span class="favourite-count" id="fav_count_topic_{$oTopic->getId()}">{if $oTopic->getCountFavourite()>0}{$oTopic->getCountFavourite()}{else}&nbsp;{/if}</span></a>
<a href="#" onclick="return ls.favourite.toggle({$oTopic->getId()},this,'topic');" class="favourite {if $oUserCurrent && $oTopic->getIsFavourite()}active{/if}">
<span class="favourite-count" id="fav_count_topic_{$oTopic->getId()}">{if $oTopic->getCountFavourite()>0}{$oTopic->getCountFavourite()}{else}&nbsp;{/if}</span>
</a>

View file

@ -14,7 +14,9 @@
{/if}
</h1>
<a href="#" onclick="return ls.favourite.toggle({$oTopic->getId()},this,'topic');" class="favourite {if $oUserCurrent && $oTopic->getIsFavourite()}active{/if}"><span class="favourite-count" id="fav_count_topic_{$oTopic->getId()}">{if $oTopic->getCountFavourite()>0}{$oTopic->getCountFavourite()}{else}&nbsp;{/if}</span></a>
<a href="#" onclick="return ls.favourite.toggle({$oTopic->getId()},this,'topic');" class="favourite {if $oUserCurrent && $oTopic->getIsFavourite()}active{/if}">
<span class="favourite-count" id="fav_count_topic_{$oTopic->getId()}">{if $oTopic->getCountFavourite()>0}{$oTopic->getCountFavourite()}{else}&nbsp;{/if}</span>
</a>

View file

@ -1,8 +1,8 @@
<form method="POST" action="" class="upload-form popup jqmWindow" enctype="multipart/form-data" id="form_upload_img">
<form method="POST" action="#" class="upload-form popup jqmWindow" enctype="multipart/form-data" id="form_upload_img">
<h3>{$aLang.uploadimg}</h3>
<p>
<label>{$aLang.uploadimg_file}:<br />
<input type="file" name="img_file" id="img_file" value="" class="input-wide" /></label>
<input type="file" name="img_file" id="img_file" class="input-wide" /></label>
</p>
<p>
<label>{$aLang.uploadimg_url}:<br />
@ -10,8 +10,8 @@
</p>
{hook run="uploadimg_source"}
<p>
<label for="align">{$aLang.uploadimg_align}:</label>
<select name="align" class="input-wide">
<label for="window_load_img_align">{$aLang.uploadimg_align}:</label>
<select name="align" id="window_load_img_align" class="input-wide">
<option value="">{$aLang.uploadimg_align_no}</option>
<option value="left">{$aLang.uploadimg_align_left}</option>
<option value="right">{$aLang.uploadimg_align_right}</option>
@ -24,4 +24,3 @@
<input type="button" value="{$aLang.uploadimg_submit}" class="button" onclick="ls.ajaxUploadImg('form_upload_img','{$sToLoad}');" />
<input type="button" value="{$aLang.uploadimg_cancel}" class="button jqmClose" />
</form>