| 1 |
<?xml version="1.0"?> |
|---|
| 2 |
<!-- |
|---|
| 3 |
|
|---|
| 4 |
Flickr Uploadr |
|---|
| 5 |
|
|---|
| 6 |
Copyright (c) 2007-2008 Yahoo! Inc. All rights reserved. This library is |
|---|
| 7 |
free software; you can redistribute it and/or modify it under the terms of |
|---|
| 8 |
the GNU General Public License (GPL), version 2 only. This library is |
|---|
| 9 |
distributed WITHOUT ANY WARRANTY, whether express or implied. See the GNU |
|---|
| 10 |
GPL for more details (http://www.gnu.org/licenses/gpl.html) |
|---|
| 11 |
|
|---|
| 12 |
--> |
|---|
| 13 |
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
|---|
| 14 |
<?xml-stylesheet href="chrome://uploadr/skin/settings.css" type="text/css"?> |
|---|
| 15 |
<!DOCTYPE dialog SYSTEM "chrome://uploadr/locale/main.dtd"> |
|---|
| 16 |
<dialog id="dialog_settings" title="&settings;" buttons="accept,cancel" |
|---|
| 17 |
ondialogaccept="settings.ok(); return true;" |
|---|
| 18 |
ondialogcancel="settings.cancel(); return true;" onload="settings.load();" |
|---|
| 19 |
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
|---|
| 20 |
xmlns:html="http://www.w3.org/1999/xhtml"> |
|---|
| 21 |
<stringbundleset> |
|---|
| 22 |
<stringbundle id="locale" src="chrome://uploadr/locale/main.properties" /> |
|---|
| 23 |
</stringbundleset> |
|---|
| 24 |
<script src="chrome://uploadr/content/settings_dialog.js" /> |
|---|
| 25 |
<vbox flex="1" id="notloggedin"> |
|---|
| 26 |
<html:h3>&settings.notloggedin;</html:h3> |
|---|
| 27 |
<box align="center"><button label="&login;" |
|---|
| 28 |
oncommand="settings.add_user();" /></box> |
|---|
| 29 |
</vbox> |
|---|
| 30 |
<vbox flex="1" id="loggedin"> |
|---|
| 31 |
<groupbox flex="1"> |
|---|
| 32 |
<caption label="&settings.users;" /> |
|---|
| 33 |
<hbox> |
|---|
| 34 |
<vbox> |
|---|
| 35 |
<spacer flex="1" /> |
|---|
| 36 |
<label value="&settings.users.user;" /> |
|---|
| 37 |
<spacer flex="1" /> |
|---|
| 38 |
</vbox> |
|---|
| 39 |
<vbox flex="1"> |
|---|
| 40 |
<spacer flex="1" /> |
|---|
| 41 |
<menulist id="user" flex="1" oncommand="settings.change_user();"> |
|---|
| 42 |
<menupopup /> |
|---|
| 43 |
</menulist> |
|---|
| 44 |
<spacer flex="1" /> |
|---|
| 45 |
</vbox> |
|---|
| 46 |
<button label="&settings.users.remove;" |
|---|
| 47 |
oncommand="settings.remove_user();" /> |
|---|
| 48 |
<button label="&settings.users.add;" |
|---|
| 49 |
oncommand="settings.add_user();" /> |
|---|
| 50 |
</hbox> |
|---|
| 51 |
</groupbox> |
|---|
| 52 |
<groupbox flex="1"> |
|---|
| 53 |
<caption label="&settings.resize;" /> |
|---|
| 54 |
<html:p id="resize_prompt"> </html:p> |
|---|
| 55 |
<box> |
|---|
| 56 |
<menulist id="resize" oncommand="settings.resize(this.value);"> |
|---|
| 57 |
<menupopup> |
|---|
| 58 |
<menuitem value="-1" label="&settings.resize.dont;" selected="true" /> |
|---|
| 59 |
<menuitem value="800" label="&settings.resize.800;" /> |
|---|
| 60 |
<menuitem value="1280" label="&settings.resize.1280;" /> |
|---|
| 61 |
<menuitem value="1600" label="&settings.resize.1600;" /> |
|---|
| 62 |
<menuitem value="2048" label="&settings.resize.2048;" /> |
|---|
| 63 |
</menupopup> |
|---|
| 64 |
</menulist> |
|---|
| 65 |
</box> |
|---|
| 66 |
</groupbox> |
|---|
| 67 |
<hbox flex="1"> |
|---|
| 68 |
<groupbox flex="1"> |
|---|
| 69 |
<caption label="&settings.privacy;" /> |
|---|
| 70 |
<label control="is_public" value="&settings.privacy.who;" /> |
|---|
| 71 |
<radiogroup id="is_public" value="1" |
|---|
| 72 |
oncommand="settings.is_public(this.value);"> |
|---|
| 73 |
<radio value="0" label="&settings.privacy.private;" /> |
|---|
| 74 |
<checkbox id="is_friend" label="&settings.privacy.friend;" |
|---|
| 75 |
disabled="true" oncommand="settings.is_friend(this.checked);" /> |
|---|
| 76 |
<checkbox id="is_family" label="&settings.privacy.family;" |
|---|
| 77 |
disabled="true" oncommand="settings.is_family(this.checked);" /> |
|---|
| 78 |
<radio value="1" label="&settings.privacy.public;" /> |
|---|
| 79 |
</radiogroup> |
|---|
| 80 |
<checkbox id="hidden" label="&settings.hidden;" |
|---|
| 81 |
oncommand="settings.hidden(this.checked);" /> |
|---|
| 82 |
</groupbox> |
|---|
| 83 |
<groupbox flex="1"> |
|---|
| 84 |
<caption label="&settings.safety_level;" /> |
|---|
| 85 |
<radiogroup id="safety_level" value="1" |
|---|
| 86 |
oncommand="settings.safety_level(this.value);"> |
|---|
| 87 |
<radio value="1" label="&settings.safety_level.safe;" /> |
|---|
| 88 |
<radio value="2" label="&settings.safety_level.moderate;" /> |
|---|
| 89 |
<radio value="3" label="&settings.safety_level.restricted;" /> |
|---|
| 90 |
</radiogroup> |
|---|
| 91 |
</groupbox> |
|---|
| 92 |
<groupbox flex="1"> |
|---|
| 93 |
<caption label="&settings.content_type;" /> |
|---|
| 94 |
<radiogroup id="content_type" value="1" |
|---|
| 95 |
oncommand="settings.content_type(this.value);"> |
|---|
| 96 |
<radio value="1" label="&settings.content_type.photo;" /> |
|---|
| 97 |
<radio value="2" label="&settings.content_type.screenshot;" /> |
|---|
| 98 |
<radio value="3" label="&settings.content_type.other;" /> |
|---|
| 99 |
</radiogroup> |
|---|
| 100 |
</groupbox> |
|---|
| 101 |
</hbox> |
|---|
| 102 |
</vbox> |
|---|
| 103 |
</dialog> |
|---|