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":{
|
"option_other_comments_count_refresh_title":{
|
||||||
"message": "Page title"
|
"message": "Page title"
|
||||||
},
|
},
|
||||||
|
"option_other_move_all_to_menu":{
|
||||||
|
"message": "Move \"All posts\" to left menu"
|
||||||
|
},
|
||||||
"option_other_post_draft_save":{
|
"option_other_post_draft_save":{
|
||||||
"message": "Save post drafts"
|
"message": "Save post drafts"
|
||||||
},
|
},
|
||||||
|
|
|
@ -174,6 +174,9 @@
|
||||||
"option_other_comments_count_refresh_title":{
|
"option_other_comments_count_refresh_title":{
|
||||||
"message": "В заголовке страницы"
|
"message": "В заголовке страницы"
|
||||||
},
|
},
|
||||||
|
"option_other_move_all_to_menu":{
|
||||||
|
"message": "Переместить \"Всё подряд\" в левое меню"
|
||||||
|
},
|
||||||
"option_other_post_draft_save":{
|
"option_other_post_draft_save":{
|
||||||
"message": "Сохранение черновика поста"
|
"message": "Сохранение черновика поста"
|
||||||
},
|
},
|
||||||
|
|
|
@ -41,8 +41,14 @@ function PointPlus(ppVersion) {
|
||||||
try {
|
try {
|
||||||
console.debug('Options loaded: %O', options.getOptions());
|
console.debug('Options loaded: %O', options.getOptions());
|
||||||
} catch(e){}
|
} catch(e){}
|
||||||
|
|
||||||
create_tag_system();
|
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
|
// Embedding
|
||||||
if (options.is('option_embedding')) {
|
if (options.is('option_embedding')) {
|
||||||
// Load pictures from Booru, Tumblr and some other sites
|
// Load pictures from Booru, Tumblr and some other sites
|
||||||
|
@ -546,7 +552,7 @@ function PointPlus(ppVersion) {
|
||||||
if (options.is('option_embedding_twitter_tweets')) {
|
if (options.is('option_embedding_twitter_tweets')) {
|
||||||
twitter_tweet_embedding_init();
|
twitter_tweet_embedding_init();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Post drafts
|
// Post drafts
|
||||||
if (options.is('option_other_post_draft_save')) {
|
if (options.is('option_other_post_draft_save')) {
|
||||||
draft_set_save_handler();
|
draft_set_save_handler();
|
||||||
|
|
|
@ -227,6 +227,11 @@
|
||||||
<span data-i18n="option_other_comments_user_system"></span>
|
<span data-i18n="option_other_comments_user_system"></span>
|
||||||
</label>
|
</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">
|
<label class="option-node">
|
||||||
<input type="checkbox" name="option-other-post-draft-save">
|
<input type="checkbox" name="option-other-post-draft-save">
|
||||||
<span data-i18n="option_other_post_draft_save"></span>
|
<span data-i18n="option_other_post_draft_save"></span>
|
||||||
|
|
Loading…
Reference in a new issue