mirror of
https://bitbucket.org/skobkin/chrome_point_plus.git
synced 2024-11-23 10:46:02 +00:00
#102 done. Move /all page link to left menu.
This commit is contained in:
parent
7715c43ba1
commit
1df716d694
|
@ -174,6 +174,9 @@
|
|||
"option_other_comments_count_refresh_title":{
|
||||
"message": "Page title"
|
||||
},
|
||||
"option_other_move_all_to_menu":{
|
||||
"message": "Move \"All posts\" to left menu"
|
||||
},
|
||||
"option_other_post_draft_save":{
|
||||
"message": "Save post drafts"
|
||||
},
|
||||
|
|
|
@ -174,6 +174,9 @@
|
|||
"option_other_comments_count_refresh_title":{
|
||||
"message": "В заголовке страницы"
|
||||
},
|
||||
"option_other_move_all_to_menu":{
|
||||
"message": "Переместить \"Всё подряд\" в левое меню"
|
||||
},
|
||||
"option_other_post_draft_save":{
|
||||
"message": "Сохранение черновика поста"
|
||||
},
|
||||
|
|
|
@ -41,8 +41,14 @@ function PointPlus(ppVersion) {
|
|||
try {
|
||||
console.debug('Options loaded: %O', options.getOptions());
|
||||
} catch(e){}
|
||||
|
||||
create_tag_system();
|
||||
|
||||
// Move "all posts" to left menu
|
||||
if (options.is('option_other_move_all_to_menu')) {
|
||||
$('div.secret a').insertAfter('a#menu-recent').css('background-image','url("img/icon-private-inactive.png")');
|
||||
}
|
||||
|
||||
// Embedding
|
||||
if (options.is('option_embedding')) {
|
||||
// Load pictures from Booru, Tumblr and some other sites
|
||||
|
@ -546,7 +552,7 @@ function PointPlus(ppVersion) {
|
|||
if (options.is('option_embedding_twitter_tweets')) {
|
||||
twitter_tweet_embedding_init();
|
||||
}
|
||||
|
||||
|
||||
// Post drafts
|
||||
if (options.is('option_other_post_draft_save')) {
|
||||
draft_set_save_handler();
|
||||
|
|
|
@ -227,6 +227,11 @@
|
|||
<span data-i18n="option_other_comments_user_system"></span>
|
||||
</label>
|
||||
|
||||
<label class="option-node">
|
||||
<input type="checkbox" name="option-other-move-all-to-menu">
|
||||
<span data-i18n="option_other_move_all_to_menu"></span>
|
||||
</label>
|
||||
|
||||
<label class="option-node">
|
||||
<input type="checkbox" name="option-other-post-draft-save">
|
||||
<span data-i18n="option_other_post_draft_save"></span>
|
||||
|
|
Loading…
Reference in a new issue