-rw-r--r-- | content/browser.xul | 11 | ||||
-rw-r--r-- | content/help.xml | 4 | ||||
-rw-r--r-- | content/icons/16x16/toolbar-button.png | bin | 0 -> 351 bytes | |||
-rw-r--r-- | locale/en-US/fireflix.dtd | 1 |
4 files changed, 16 insertions, 0 deletions
diff --git a/content/browser.xul b/content/browser.xul index aaff443..0c699d9 100644 --- a/content/browser.xul +++ b/content/browser.xul | |||
@@ -1,19 +1,30 @@ | |||
1 | <?xml version="1.0"?> | 1 | <?xml version="1.0"?> |
2 | <!DOCTYPE overlay SYSTEM "chrome://fireflix/locale/fireflix.dtd"> | 2 | <!DOCTYPE overlay SYSTEM "chrome://fireflix/locale/fireflix.dtd"> |
3 | <overlay id="fireflixOverlay" | 3 | <overlay id="fireflixOverlay" |
4 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" > | 4 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" > |
5 | 5 | ||
6 | <menupopup id="viewSidebarMenu"> | 6 | <menupopup id="viewSidebarMenu"> |
7 | <menuitem observes="viewFireflixSidebar" /> | 7 | <menuitem observes="viewFireflixSidebar" /> |
8 | </menupopup> | 8 | </menupopup> |
9 | 9 | ||
10 | <broadcasterset id="mainBroadcasterSet"> | 10 | <broadcasterset id="mainBroadcasterSet"> |
11 | <broadcaster id="viewFireflixSidebar" | 11 | <broadcaster id="viewFireflixSidebar" |
12 | autoCheck="false" label="&browser.sidebar.label;" | 12 | autoCheck="false" label="&browser.sidebar.label;" |
13 | tooltiptext="&browser.sidebar.tooltip;" | ||
13 | type="checkbox" group="sidebar" | 14 | type="checkbox" group="sidebar" |
14 | sidebarurl="chrome://fireflix/content/fireflix-panel.xul" | 15 | sidebarurl="chrome://fireflix/content/fireflix-panel.xul" |
15 | sidebartitle="&browser.sidebar.title;" | 16 | sidebartitle="&browser.sidebar.title;" |
16 | oncommand="toggleSidebar('viewFireflixSidebar')" /> | 17 | oncommand="toggleSidebar('viewFireflixSidebar')" /> |
17 | </broadcasterset> | 18 | </broadcasterset> |
19 | |||
20 | <toolbarpalette id="BrowserToolbarPalette"> | ||
21 | <toolbarbutton id="fireflix-button" | ||
22 | oncommand="toggleSidebar('viewFireflixSidebar')" | ||
23 | image="chrome://fireflix/content/icons/16x16/toolbar-button.png" > | ||
24 | <observes element="viewFireflixSidebar" attribute="label"/> | ||
25 | <observes element="viewFireflixSidebar" attribute="tooltiptext"/> | ||
26 | </toolbarbutton> | ||
27 | </toolbarpalette> | ||
28 | |||
18 | </overlay> | 29 | </overlay> |
19 | 30 | ||
diff --git a/content/help.xml b/content/help.xml index 51e4ce5..ab4f4e2 100644 --- a/content/help.xml +++ b/content/help.xml | |||
@@ -1,53 +1,57 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | <html id="help" xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> | 2 | <html id="help" xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> |
3 | <head> | 3 | <head> |
4 | <title>Fireflix</title> | 4 | <title>Fireflix</title> |
5 | <link rel="stylesheet" href="fireflix.css" type="text/css"/> | 5 | <link rel="stylesheet" href="fireflix.css" type="text/css"/> |
6 | </head> | 6 | </head> |
7 | <body> | 7 | <body> |
8 | 8 | ||
9 | <p>This is a brief overview of things you can do with <a href="http://kin.klever.net/fireflix/">fireflix</a>.</p> | 9 | <p>This is a brief overview of things you can do with <a href="http://kin.klever.net/fireflix/">fireflix</a>.</p> |
10 | 10 | ||
11 | <p>First, you should proceed with authorization. If you haven't done it yet, | 11 | <p>First, you should proceed with authorization. If you haven't done it yet, |
12 | it should happen automatically once you open fireflix sidebar. To clear | 12 | it should happen automatically once you open fireflix sidebar. To clear |
13 | authorization token off of the preferences, right-click on the 'Authorization | 13 | authorization token off of the preferences, right-click on the 'Authorization |
14 | info' part of the sidebar and select 'Sign off' from the pop up menu.</p> | 14 | info' part of the sidebar and select 'Sign off' from the pop up menu.</p> |
15 | 15 | ||
16 | <h1>In the 'Search' tab</h1> | 16 | <h1>In the 'Search' tab</h1> |
17 | 17 | ||
18 | <p>Basically, you can search flickr photos here. Either all or yours (keep | 18 | <p>Basically, you can search flickr photos here. Either all or yours (keep |
19 | 'mine' checked to search your own photos).</p> | 19 | 'mine' checked to search your own photos).</p> |
20 | 20 | ||
21 | <p>Once you have acquired search results you can browse through them. To open | 21 | <p>Once you have acquired search results you can browse through them. To open |
22 | any particular picture in a new tab either doubleclick it or hit ENTER.</p> | 22 | any particular picture in a new tab either doubleclick it or hit ENTER.</p> |
23 | 23 | ||
24 | <p>While moving through the list of pictures found you should have a little | 24 | <p>While moving through the list of pictures found you should have a little |
25 | preview at the bottom of the window.</p> | 25 | preview at the bottom of the window.</p> |
26 | 26 | ||
27 | <h1>In the 'Sets' tab</h1> | 27 | <h1>In the 'Sets' tab</h1> |
28 | 28 | ||
29 | <p>This is where you can browse your sets. You can edit some sets properties | 29 | <p>This is where you can browse your sets. You can edit some sets properties |
30 | here and, most importantly, you can generate HTML of linked thumbnails for | 30 | here and, most importantly, you can generate HTML of linked thumbnails for |
31 | sets contents. Use your right mouse button on the photoset.</p> | 31 | sets contents. Use your right mouse button on the photoset.</p> |
32 | 32 | ||
33 | <h1>In The 'Uploads' tab</h1> | 33 | <h1>In The 'Uploads' tab</h1> |
34 | 34 | ||
35 | <p>To upload pictures you don't even have to select this tab. Drag'n'drop into | 35 | <p>To upload pictures you don't even have to select this tab. Drag'n'drop into |
36 | fireflix sidebar should do. There is nothing wrong with going into the tab and | 36 | fireflix sidebar should do. There is nothing wrong with going into the tab and |
37 | using 'Add' button either.</p> | 37 | using 'Add' button either.</p> |
38 | 38 | ||
39 | <p>You can add photos to the list, edit their titles and/or tags and once | 39 | <p>You can add photos to the list, edit their titles and/or tags and once |
40 | you're done with it, trigger upload procedure. Once your images have been | 40 | you're done with it, trigger upload procedure. Once your images have been |
41 | uploaded, you will be prompted to create a photoset for newly uploaded photos. | 41 | uploaded, you will be prompted to create a photoset for newly uploaded photos. |
42 | You don't have to, though.</p> | 42 | You don't have to, though.</p> |
43 | 43 | ||
44 | <h1>Beyond that</h1> | ||
45 | |||
46 | <p>You can also add the <img src="chrome://fireflix/content/icons/16x16/toolbar-button.png" alt="Fireflix" title="Fireflix"/> button to your toolbar. Just go to View/Toolbars/Customize and drag it to wherever you want it to be.</p> | ||
47 | |||
44 | <h1>Feedback</h1> | 48 | <h1>Feedback</h1> |
45 | 49 | ||
46 | <p>As the extension is at the very early stage of development, feel free to | 50 | <p>As the extension is at the very early stage of development, feel free to |
47 | provide feedback at <a href="http://kin.klever.net/fireflix/feedback" title="click here to proceed to feedback form">http://kin.klever.net/fireflix/feedback/</a>.</p> | 51 | provide feedback at <a href="http://kin.klever.net/fireflix/feedback" title="click here to proceed to feedback form">http://kin.klever.net/fireflix/feedback/</a>.</p> |
48 | 52 | ||
49 | <div class="copyright"> | 53 | <div class="copyright"> |
50 | <a href="http://www.klever.net/">© Klever Group</a> | 54 | <a href="http://www.klever.net/">© Klever Group</a> |
51 | </div> | 55 | </div> |
52 | </body> | 56 | </body> |
53 | </html> | 57 | </html> |
diff --git a/content/icons/16x16/toolbar-button.png b/content/icons/16x16/toolbar-button.png new file mode 100644 index 0000000..8d95411 --- a/dev/null +++ b/content/icons/16x16/toolbar-button.png | |||
Binary files differ | |||
diff --git a/locale/en-US/fireflix.dtd b/locale/en-US/fireflix.dtd index 46409ed..09112dc 100644 --- a/locale/en-US/fireflix.dtd +++ b/locale/en-US/fireflix.dtd | |||
@@ -1,84 +1,85 @@ | |||
1 | <!ENTITY % autoconf SYSTEM "chrome://fireflix/content/autoconf.dtd"> | 1 | <!ENTITY % autoconf SYSTEM "chrome://fireflix/content/autoconf.dtd"> |
2 | %autoconf; | 2 | %autoconf; |
3 | 3 | ||
4 | <!-- About Box --> | 4 | <!-- About Box --> |
5 | 5 | ||
6 | <!ENTITY aboutFireflix "About Fireflix" > | 6 | <!ENTITY aboutFireflix "About Fireflix" > |
7 | <!ENTITY about.ok.label "OK"> | 7 | <!ENTITY about.ok.label "OK"> |
8 | <!ENTITY about.license.label "License"> | 8 | <!ENTITY about.license.label "License"> |
9 | <!ENTITY about.license.tip "Show copying policy"> | 9 | <!ENTITY about.license.tip "Show copying policy"> |
10 | 10 | ||
11 | <!-- COPYING --> | 11 | <!-- COPYING --> |
12 | 12 | ||
13 | <!ENTITY copying.title "Filreflix: copying policy"> | 13 | <!ENTITY copying.title "Filreflix: copying policy"> |
14 | 14 | ||
15 | <!-- Sidebar --> | 15 | <!-- Sidebar --> |
16 | 16 | ||
17 | <!ENTITY panel.auth_info "Authorization info"> | 17 | <!ENTITY panel.auth_info "Authorization info"> |
18 | <!ENTITY panel.no_auth_info "No auth info available"> | 18 | <!ENTITY panel.no_auth_info "No auth info available"> |
19 | 19 | ||
20 | <!ENTITY panel.auth.auth.label "Authorize"> | 20 | <!ENTITY panel.auth.auth.label "Authorize"> |
21 | <!ENTITY panel.auth.done.label "Authorization complete"> | 21 | <!ENTITY panel.auth.done.label "Authorization complete"> |
22 | <!ENTITY panel.auth.flickr.label "Flickr"> | 22 | <!ENTITY panel.auth.flickr.label "Flickr"> |
23 | <!ENTITY panel.auth.flickr.tip "Open Flickr in new tab"> | 23 | <!ENTITY panel.auth.flickr.tip "Open Flickr in new tab"> |
24 | <!ENTITY panel.auth.unauth.label "Sign off"> | 24 | <!ENTITY panel.auth.unauth.label "Sign off"> |
25 | 25 | ||
26 | <!ENTITY panel.tabs.search "Search" > | 26 | <!ENTITY panel.tabs.search "Search" > |
27 | <!ENTITY panel.tabs.sets "Sets" > | 27 | <!ENTITY panel.tabs.sets "Sets" > |
28 | <!ENTITY panel.tabs.tags "Tags" > | 28 | <!ENTITY panel.tabs.tags "Tags" > |
29 | <!ENTITY panel.tabs.upload "Upload" > | 29 | <!ENTITY panel.tabs.upload "Upload" > |
30 | 30 | ||
31 | <!ENTITY panel.search.cmd_search.label "Search" > | 31 | <!ENTITY panel.search.cmd_search.label "Search" > |
32 | <!ENTITY panel.search.search_for.label "Search for:" > | 32 | <!ENTITY panel.search.search_for.label "Search for:" > |
33 | <!ENTITY panel.search.mode.tagsonly.label "tags"> | 33 | <!ENTITY panel.search.mode.tagsonly.label "tags"> |
34 | <!ENTITY panel.search.mode.tagsonly.tip "Search tags only"> | 34 | <!ENTITY panel.search.mode.tagsonly.tip "Search tags only"> |
35 | <!ENTITY panel.search.mode.mine.label "mine"> | 35 | <!ENTITY panel.search.mode.mine.label "mine"> |
36 | <!ENTITY panel.search.col.title.label "Title"> | 36 | <!ENTITY panel.search.col.title.label "Title"> |
37 | <!ENTITY panel.search.cmd_search_open.label "Open"> | 37 | <!ENTITY panel.search.cmd_search_open.label "Open"> |
38 | <!ENTITY panel.search.cmd_search_prev_page.label " « "> | 38 | <!ENTITY panel.search.cmd_search_prev_page.label " « "> |
39 | <!ENTITY panel.search.cmd_search_next_page.label " » "> | 39 | <!ENTITY panel.search.cmd_search_next_page.label " » "> |
40 | 40 | ||
41 | <!ENTITY panel.sets.name.label "Set"> | 41 | <!ENTITY panel.sets.name.label "Set"> |
42 | <!ENTITY panel.sets.name.tip "Photoset name"> | 42 | <!ENTITY panel.sets.name.tip "Photoset name"> |
43 | <!ENTITY panel.sets.photos.label "Photos"> | 43 | <!ENTITY panel.sets.photos.label "Photos"> |
44 | <!ENTITY panel.sets.photos.tip "Number of photos in set"> | 44 | <!ENTITY panel.sets.photos.tip "Number of photos in set"> |
45 | 45 | ||
46 | <!ENTITY panel.sets.cmd_refresh_sets "Refresh"> | 46 | <!ENTITY panel.sets.cmd_refresh_sets "Refresh"> |
47 | <!ENTITY panel.sets.cmd_properties "Properties"> | 47 | <!ENTITY panel.sets.cmd_properties "Properties"> |
48 | 48 | ||
49 | <!ENTITY panel.sets.generate_html "Generate HTML"> | 49 | <!ENTITY panel.sets.generate_html "Generate HTML"> |
50 | 50 | ||
51 | <!ENTITY panel.setphotos.title.label "Title"> | 51 | <!ENTITY panel.setphotos.title.label "Title"> |
52 | <!ENTITY panel.setphotos.title.tip "Picture title"> | 52 | <!ENTITY panel.setphotos.title.tip "Picture title"> |
53 | <!ENTITY panel.setphotos.taken.label "Taken"> | 53 | <!ENTITY panel.setphotos.taken.label "Taken"> |
54 | <!ENTITY panel.setphotos.taken.tip "When the picture was taken"> | 54 | <!ENTITY panel.setphotos.taken.tip "When the picture was taken"> |
55 | <!ENTITY panel.setphotos.upload.label "Uploaded"> | 55 | <!ENTITY panel.setphotos.upload.label "Uploaded"> |
56 | <!ENTITY panel.setphotos.upload.tip "When the picure was uploaded"> | 56 | <!ENTITY panel.setphotos.upload.tip "When the picure was uploaded"> |
57 | 57 | ||
58 | <!ENTITY panel.tagslist.tag.label "Tag"> | 58 | <!ENTITY panel.tagslist.tag.label "Tag"> |
59 | 59 | ||
60 | <!ENTITY panel.uploadlist.file.label "File name"> | 60 | <!ENTITY panel.uploadlist.file.label "File name"> |
61 | <!ENTITY panel.uploadlist.title.label "Title"> | 61 | <!ENTITY panel.uploadlist.title.label "Title"> |
62 | <!ENTITY panel.uploadlist.status.label "Status"> | 62 | <!ENTITY panel.uploadlist.status.label "Status"> |
63 | 63 | ||
64 | <!ENTITY panel.upload_props.filename.label "File:"> | 64 | <!ENTITY panel.upload_props.filename.label "File:"> |
65 | <!ENTITY panel.upload_props.title.label "Title:"> | 65 | <!ENTITY panel.upload_props.title.label "Title:"> |
66 | <!ENTITY panel.upload_props.tags.label "Tags:"> | 66 | <!ENTITY panel.upload_props.tags.label "Tags:"> |
67 | 67 | ||
68 | <!ENTITY panel.uploads.upload.label "Upload"> | 68 | <!ENTITY panel.uploads.upload.label "Upload"> |
69 | <!ENTITY panel.uploads.clear.label "Clear"> | 69 | <!ENTITY panel.uploads.clear.label "Clear"> |
70 | <!ENTITY panel.uploads.remove.label "Remove"> | 70 | <!ENTITY panel.uploads.remove.label "Remove"> |
71 | <!ENTITY panel.uploads.add.label "Add"> | 71 | <!ENTITY panel.uploads.add.label "Add"> |
72 | <!ENTITY panel.uploads.generate_html "Generate HTML"> | 72 | <!ENTITY panel.uploads.generate_html "Generate HTML"> |
73 | 73 | ||
74 | <!ENTITY generated.title "Fireflix: Generated content"> | 74 | <!ENTITY generated.title "Fireflix: Generated content"> |
75 | <!ENTITY generated.copy "copy"> | 75 | <!ENTITY generated.copy "copy"> |
76 | <!ENTITY generated.nolf "remove linebreaks"> | 76 | <!ENTITY generated.nolf "remove linebreaks"> |
77 | 77 | ||
78 | <!ENTITY browser.sidebar.label "Fireflix"> | 78 | <!ENTITY browser.sidebar.label "Fireflix"> |
79 | <!ENTITY browser.sidebar.title "Fireflix"> | 79 | <!ENTITY browser.sidebar.title "Fireflix"> |
80 | <!ENTITY browser.sidebar.tooltip "Fireflix"> | ||
80 | 81 | ||
81 | <!ENTITY photosetprops.title "Photoset properties"> | 82 | <!ENTITY photosetprops.title "Photoset properties"> |
82 | <!ENTITY photosetprops.set_title.label "Photoset title:"> | 83 | <!ENTITY photosetprops.set_title.label "Photoset title:"> |
83 | <!ENTITY photosetprops.set_desc.label "Photoset description:"> | 84 | <!ENTITY photosetprops.set_desc.label "Photoset description:"> |
84 | 85 | ||