Changeset 76
- Timestamp:
- 11/08/07 17:22:06 (2 years ago)
- Files:
-
- trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/api.js (modified) (2 diffs)
- trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/drag.js (modified) (2 diffs)
- trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/main.xul (modified) (3 diffs)
- trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/meta.js (modified) (1 diff)
- trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/photos.js (modified) (3 diffs)
- trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/photos.xul (modified) (12 diffs)
- trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/settings.js (modified) (1 diff)
- trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/settings.xul (modified) (1 diff)
- trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/threads.js (modified) (1 diff)
- trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/ui.js (modified) (5 diffs)
- trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/users.js (modified) (4 diffs)
- trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/locale/en-US/main.dtd (modified) (3 diffs)
- trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/locale/en-US/main.properties (modified) (1 diff)
- trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/skin/uploadr/main.css (modified) (11 diffs)
- trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/skin/uploadr/settings.css (modified) (1 diff)
- trunk/uploadr/MacUploadr.app/Contents/Resources/components/gm.dylib.mac (modified) (previous)
- trunk/uploadr/strings_extract.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/api.js
r66 r76 505 505 }, 506 506 507 getFrob: function( ) {507 getFrob: function(fresh) { 508 508 _api({ 509 509 'method': 'flickr.auth.getFrob' 510 } );511 }, 512 _getFrob: function(rsp ) {510 }, null, null, null, fresh); 511 }, 512 _getFrob: function(rsp, fresh) { 513 513 if ('object' != typeof rsp || 'ok' != rsp.getAttribute('stat')) { 514 514 users.logout(); … … 524 524 'perms': 'write', 525 525 'frob': users.frob, 526 }, 'http://api.flickr.com/services/auth/' , true);526 }, 'http://api.flickr.com/services/auth/' + (fresh ? 'fresh/' : ''), true); 527 527 pages.go('auth'); 528 528 } trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/drag.js
r73 r76 10 10 return; 11 11 } 12 buttons.upload.disable(); 13 document.getElementById('photos_stack').style.visibility = 'visible'; 14 document.getElementById('photos_init').style.display = 'none'; 15 document.getElementById('photos_new').style.display = 'none'; 16 document.getElementById('no_meta_prompt').style.display = '-moz-box'; 12 var first = true; 17 13 for (var i = 0; i < ii; ++i) { 18 14 if ('-url' == cl.getArgument(i)) { 15 if (first) { 16 buttons.upload.disable(); 17 document.getElementById('photos_stack').style.visibility = 'visible'; 18 document.getElementById('photos_init').style.display = 'none'; 19 document.getElementById('photos_new').style.display = 'none'; 20 document.getElementById('no_meta_prompt').style.visibility = 'visible'; 21 first = false; 22 } 19 23 photos._add(Cc['@mozilla.org/network/protocol;1?name=file'].getService( 20 24 Ci.nsIFileProtocolHandler).getFileFromURLSpec(cl.getArgument(++i)).path); … … 53 57 document.getElementById('photos_init').style.display = 'none'; 54 58 document.getElementById('photos_new').style.display = 'none'; 55 document.getElementById('no_meta_prompt').style. display = '-moz-box';59 document.getElementById('no_meta_prompt').style.visibility = 'visible'; 56 60 data.dataList.forEach(function(d) { 57 61 if (d.first.data.isDirectory()) { trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/main.xul
r73 r76 115 115 <hbox id="head"> 116 116 <hbox id="tools"> 117 <vbox id="bw_remaining">118 <html:p>&bandwidth.remaining;</html:p>119 <html:h3 id="bw_remaining_mb"> </html:h3>120 </vbox>121 117 <vbox> 122 118 <spacer flex="1" /> … … 124 120 ><html:div>&tools.add;</html:div></html:div> 125 121 <spacer flex="1" /> 126 </vbox>127 <vbox id="bw_batch">128 <html:p>&bandwidth.batch;</html:p>129 <html:h3 id="bw_batch_mb"> </html:h3>130 122 </vbox> 131 123 <vbox> … … 147 139 <box><html:p id="free"> </html:p></box> 148 140 <box flex="1" /> 141 <vbox id="bw_remaining"> 142 <html:p>&bandwidth.remaining;</html:p> 143 <html:h3 id="bw_remaining_mb"> </html:h3> 144 </vbox> 145 <vbox id="bw_batch"> 146 <html:p>&bandwidth.batch;</html:p> 147 <html:h3 id="bw_batch_mb"> </html:h3> 148 </vbox> 149 149 <box id="logo" /> 150 150 </hbox> trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/meta.js
r73 r76 84 84 } else { 85 85 document.getElementById('meta_size').value = locale.getFormattedString('mb', 86 [ (Math.round(file.size(p.path) / 102.4) / 10)]);86 [Math.round(file.size(p.path) / 102.4) / 10]); 87 87 } 88 88 document.getElementById('single_title').value = p.title; trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/photos.js
r75 r76 58 58 document.getElementById('photos_init').style.display = 'none'; 59 59 document.getElementById('photos_new').style.display = 'none'; 60 document.getElementById('no_meta_prompt').style. display = '-moz-box';60 document.getElementById('no_meta_prompt').style.visibility = 'visible'; 61 61 mouse.show_photos(); 62 62 } … … 94 94 var size = file.size(photos.list[id].path); 95 95 photos.batch_size += size; 96 if (users.username) { 97 free.update(); 98 } 96 free.update(); 99 97 100 98 }, … … 150 148 document.getElementById('photos_sort_default').style.display = 'block'; 151 149 document.getElementById('photos_sort_revert').style.display = 'none'; 152 document.getElementById('no_meta_prompt').style. display = 'none';150 document.getElementById('no_meta_prompt').style.visibility = 'hidden'; 153 151 } 154 152 trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/photos.xul
r73 r76 25 25 src="chrome://uploadr/skin/badge_pro.gif" width="20" height="12" 26 26 /></html:h1> 27 <label id="username" value="¬loggedin;" /> 27 <html:p id="username">¬loggedin; <html:span id="switch" 28 class="link" onclick="settings.show();">&switch;</html:span></html:p> 28 29 </html:td> 29 30 <html:td id="photostream_tools" width="100%"> 30 31 <vbox align="right"> 31 <box><html:div id=" switch" class="small button"32 <box><html:div id="login" class="small button" 32 33 onclick="buttons.login.click();" 33 34 ><html:div>&login;</html:div></html:div></box> … … 73 74 </vbox> 74 75 </hbox> 75 <html:table cellpadding="0" cellspacing="0"> 76 <html:tr> 77 <html:td> 76 <hbox> 77 <vbox class="column"> 78 78 <label control="single_title" value="&meta.title;" /> 79 </html:td>80 <html:td> </html:td>81 </html:tr>82 <html:tr>83 <html:td>84 79 <textbox id="single_title" tabindex="1" 85 80 onfocus="keyboard._select_all = this;" 86 81 onblur="keyboard._select_all = null;" /> 87 </html:td>88 <html:td style="vertical-align: middle;">89 <label control="single_is_public" value="&settings.privacy.who;" />90 </html:td>91 </html:tr>92 <html:tr>93 <html:td>94 82 <label control="single_description" value="&meta.description;" /> 95 83 <textbox id="single_description" multiline="true" rows="3" tabindex="2" 96 84 onfocus="keyboard._select_all = this;" 97 85 onblur="keyboard._select_all = null;" /> 98 <label control="single_tags" value="&meta.tags;" /> 99 </html:td> 100 <html:td style="padding: 0 0 0 16px;"> 86 <label control="single_tags" value="&meta.tags;" 87 tooltiptext="&meta.single.tags.tooltip;" /> 88 <textbox id="single_tags" multiline="true" rows="2" tabindex="3" 89 onfocus="keyboard._select_all = this;" 90 onblur="keyboard._select_all = null;" 91 tooltiptext="&meta.single.tags.tooltip;" /> 92 </vbox> 93 <vbox class="column"> 94 <label control="single_is_public" value="&meta.single.who;" /> 101 95 <radiogroup id="single_is_public" value="1" tabindex="5" 102 96 oncommand="meta.is_public(this.value);"> … … 108 102 <radio value="1" label="&settings.privacy.public;" /> 109 103 </radiogroup> 110 </html:td> 111 </html:tr> 112 <html:tr> 113 <html:td> 114 <textbox id="single_tags" multiline="true" rows="2" tabindex="3" 115 onfocus="keyboard._select_all = this;" 116 onblur="keyboard._select_all = null;" /> 117 </html:td> 118 <html:td> 104 <html:p> </html:p> 119 105 <checkbox id="single_hidden" label="&settings.hidden;" 120 106 tabindex="8" /> 121 </ html:td>122 </h tml:tr>123 <h tml:tr>124 < html:td>107 </vbox> 108 </hbox> 109 <hbox> 110 <vbox class="column"> 125 111 <label control="single_safety_level" value="&meta.safety_level;" /> 126 112 <menulist id="single_safety_level" tabindex="4"> … … 134 120 </menupopup> 135 121 </menulist> 136 </ html:td>137 < html:td>122 </vbox> 123 <vbox class="column"> 138 124 <label control="single_content_type" value="&meta.content_type;" /> 139 125 <menulist id="single_content_type" tabindex="9"> … … 146 132 </menupopup> 147 133 </menulist> 148 </html:td> 149 </html:tr> 150 </html:table> 134 </vbox> 135 </hbox> 151 136 <hbox id="hide_single_explain" class="status" 152 137 ><html:p>&meta.hidden;</html:p></hbox> … … 156 141 <html:ul id="single_sets_add" onclick="meta.add_to_set(event);" 157 142 ></html:ul> 158 < label id="single_sets_create" class="link"159 value="&meta.sets.create;" onclick="meta.create_set();" />143 <box><html:div id="single_sets_create" onclick="meta.create_set();" 144 class="button"><html:div>&meta.sets.create;</html:div></html:div></box> 160 145 </vbox> 161 146 <vbox> … … 169 154 <vbox id="batch_meta" flex="1"> 170 155 <vbox class="status thumb_height"><html:h3 171 id="batch_prompt"> </html:h3><html:p>&meta.batch.prompt;</html:p>< /vbox>172 <html:table cellpadding="0" cellspacing="0">173 <h tml:tr>174 < html:td>156 id="batch_prompt"> </html:h3><html:p>&meta.batch.prompt;</html:p><html:p 157 >&meta.batch.prompt2;</html:p></vbox> 158 <hbox> 159 <vbox class="column"> 175 160 <label control="batch_title" value="&meta.title;" /> 176 </html:td>177 <html:td> </html:td>178 </html:tr>179 <html:tr>180 <html:td>181 161 <textbox id="batch_title" tabindex="1" 182 162 onfocus="keyboard._select_all = this;" 183 163 onblur="keyboard._select_all = null;" /> 184 </html:td>185 <html:td style="vertical-align: middle;">186 <label control="batch_is_public" value="&settings.privacy.who;" />187 </html:td>188 </html:tr>189 <html:tr>190 <html:td>191 164 <label control="batch_description" value="&meta.description;" /> 192 165 <textbox id="batch_description" multiline="true" rows="3" tabindex="2" 193 166 onfocus="keyboard._select_all = this;" 194 167 onblur="keyboard._select_all = null;" /> 195 <label control="batch_tags" value="&meta.tags;" /> 196 </html:td> 197 <html:td style="padding: 0 0 0 16px;"> 168 <label control="batch_tags" value="&meta.tags;" 169 tooltiptext="&meta.batch.tags.tooltip;" /> 170 <textbox id="batch_tags" multiline="true" rows="2" tabindex="3" 171 onfocus="keyboard._select_all = this;" 172 onblur="keyboard._select_all = null;" 173 tooltiptext="&meta.batch.tags.tooltip;" /> 174 </vbox> 175 <vbox class="column"> 176 <label control="batch_is_public" value="&meta.batch.who;" /> 198 177 <radiogroup id="batch_is_public" value="1" tabindex="5" 199 178 oncommand="meta.is_public(this.value);"> … … 205 184 <radio value="1" label="&settings.privacy.public;" /> 206 185 </radiogroup> 207 </html:td> 208 </html:tr> 209 <html:tr> 210 <html:td> 211 <textbox id="batch_tags" multiline="true" rows="2" tabindex="3" 212 onfocus="keyboard._select_all = this;" 213 onblur="keyboard._select_all = null;" /> 214 </html:td> 215 <html:td> 186 <html:p> </html:p> 216 187 <checkbox id="batch_hidden" label="&settings.hidden;" 217 188 tabindex="8" /> 218 </ html:td>219 </h tml:tr>220 <h tml:tr>221 < html:td>189 </vbox> 190 </hbox> 191 <hbox> 192 <vbox class="column"> 222 193 <label control="batch_safety_level" value="&meta.safety_level;" /> 223 194 <menulist id="batch_safety_level" tabindex="4"> … … 231 202 </menupopup> 232 203 </menulist> 233 </ html:td>234 < html:td>204 </vbox> 205 <vbox class="column"> 235 206 <label control="batch_content_type" value="&meta.content_type;" /> 236 207 <menulist id="batch_content_type" tabindex="9"> … … 243 214 </menupopup> 244 215 </menulist> 245 </html:td> 246 </html:tr> 247 </html:table> 216 </vbox> 217 </hbox> 248 218 <hbox id="hide_batch_explain" class="status" 249 219 ><html:p>&meta.hidden;</html:p></hbox> … … 253 223 <html:ul id="batch_sets_add" onclick="meta.add_to_set(event);" 254 224 ></html:ul> 255 < label id="batch_sets_create" class="link"256 value="&meta.sets.create;" onclick="meta.create_set();" />225 <box><html:div id="batch_sets_create" onclick="meta.create_set();" 226 class="button"><html:div>&meta.sets.create;</html:div></html:div></box> 257 227 </vbox> 258 228 <vbox> … … 265 235 </vbox> 266 236 <vbox id="no_meta" flex="1"> 267 <vbox id="no_meta_prompt" class="status "237 <vbox id="no_meta_prompt" class="status thumb_height" 268 238 ><html:h3>&meta.no.title;</html:h3><html:p>&meta.no.text;</html:p></vbox> 269 239 </vbox> trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/settings.js
r69 r76 115 115 users.after_login = settings.show; 116 116 users.logout(); 117 users.login( );117 users.login(true); 118 118 } 119 119 trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/settings.xul
r73 r76 58 58 <caption label="&settings.privacy;" /> 59 59 <label control="is_public" value="&settings.privacy.who;" /> 60 <radiogroup id="is_public" value="1" style="padding: 0 0 0 16px;"60 <radiogroup id="is_public" value="1" 61 61 oncommand="settings.is_public(this.value);"> 62 62 <radio value="0" label="&settings.privacy.private;" /> trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/threads.js
r75 r76 450 450 document.getElementById('photos_init').style.display = 'none'; 451 451 document.getElementById('photos_new').style.display = 'none'; 452 document.getElementById('no_meta_prompt').style. display = '-moz-box';452 document.getElementById('no_meta_prompt').style.visibility = 'visible'; 453 453 mouse.show_photos(); 454 454 trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/ui.js
r73 r76 25 25 if ('photos' == id) { 26 26 document.getElementById('tools').style.display = '-moz-box'; 27 document.getElementById('bw_batch').style.display = '-moz-box'; 27 28 } else { 28 29 document.getElementById('tools').style.display = 'none'; 30 document.getElementById('bw_batch').style.display = 'none'; 29 31 } 30 32 … … 122 124 update: function() { 123 125 124 // Don't do anything if we're not logged in 125 if (null == users.username) { 126 return; 127 } 128 129 // If this is a pro user, hide the bandwidth bars 130 if (users.is_pro) { 131 free.hide(); 132 } 133 134 // If this is a free user, adjust and show the bandwidth bars 135 else { 136 137 // Calculate the batch size if it hasn't been calculated 138 if (0 == photos.batch_size && 0 != photos.count) { 139 for each (var p in photos.list) { 140 if (null != p) { 141 var size = file.size(p.path); 126 // Calculate the batch size if it hasn't been calculated 127 if (0 == photos.batch_size && 0 != photos.count) { 128 for each (var p in photos.list) { 129 if (null != p) { 130 var size = file.size(p.path); 131 if (users.username) { 142 132 if (!users.is_pro && 143 133 users.bandwidth.remaining - photos.batch_size < size) { … … 146 136 status.clear(); 147 137 } 148 photos.batch_size += size;149 138 } 139 photos.batch_size += size; 150 140 } 151 141 } 152 142 } 143 144 if (users.bandwidth && !users.is_pro) { 153 145 var remaining = document.getElementById('bw_remaining_mb'); 154 146 remaining.firstChild.nodeValue = 155 locale.getFormattedString('mb', [Math.max(0, users.bandwidth.remaining >> 10)]); 147 locale.getFormattedString('mb', [Math.max(0, 148 Math.round(users.bandwidth.remaining / 102.4) / 10)]); 156 149 if (0 >= users.bandwidth.remaining) { 157 150 remaining.className = 'exhausted'; … … 162 155 } 163 156 document.getElementById('bw_remaining').style.display = '-moz-box'; 164 var batch = document.getElementById('bw_batch_mb'); 165 batch.firstChild.nodeValue = 166 locale.getFormattedString('mb', [photos.batch_size >> 10]); 157 } 158 var batch = document.getElementById('bw_batch_mb'); 159 batch.firstChild.nodeValue = 160 locale.getFormattedString('mb', [Math.round(photos.batch_size / 102.4) / 10]); 161 if (users.bandwidth) { 167 162 if (photos.batch_size > users.bandwidth.remaining) { 168 163 batch.className = 'exhausted'; … … 172 167 batch.className = ''; 173 168 } 174 document.getElementById('bw_batch').style.display = '-moz-box'; 175 } 176 177 }, 178 179 hide: function() { 180 document.getElementById('bw_remaining').style.display = 'none'; 181 document.getElementById('bw_batch').style.display = 'none'; 182 //document.getElementById('bandwidth').style.visibility = 'hidden'; 169 } 170 183 171 } 184 172 trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/content/uploadr/users.js
r64 r76 20 20 21 21 // Shortcut for the auth sequence 22 login: function() { 23 free.hide(); 22 login: function(fresh) { 24 23 status.set(locale.getString('status.login')); 25 24 if (users.token) { 26 25 flickr.auth.checkToken(users.token); 27 26 } else { 28 flickr.auth.getFrob( );27 flickr.auth.getFrob(fresh); 29 28 } 30 29 }, … … 40 39 41 40 // Update the UI 42 var username = locale.getFormattedString('username', [users.username]);43 document.getElementById('username').value = username;44 document.getElementById('switch'). firstChild.firstChild.nodeValue =45 locale.getString('switch');41 document.getElementById('username').firstChild.nodeValue = 42 locale.getFormattedString('username', [users.username]) + ' '; 43 document.getElementById('switch').style.display = 'inline'; 44 document.getElementById('login').style.display = 'none'; 46 45 status.set(locale.getString('status.ready')); 47 46 buttons.upload.enable(); … … 70 69 71 70 // Update the UI 72 document.getElementById('username').value = locale.getString('notloggedin'); 73 document.getElementById('switch').firstChild.firstChild.nodeValue = 74 locale.getString('login'); 75 document.getElementById('free').style.display = 'none'; 71 document.getElementById('username').firstChild.nodeValue = 72 locale.getString('notloggedin') + ' '; 73 document.getElementById('switch').style.display = 'none'; 74 document.getElementById('login').style.display = 'block'; 75 document.getElementById('bw_remaining').style.display = 'none'; 76 76 status.set(locale.getString('status.disconnected')); 77 77 meta.logout(); … … 125 125 } 126 126 127 // Force the bandwidth meter if there's no one logged in 128 if (!users.username) { 129 free.update(); 130 } 131 127 132 }, 128 133 trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/locale/en-US/main.dtd
r73 r76 18 18 <!ENTITY notloggedin "You're working offline."> 19 19 <!ENTITY login "Sign in"> 20 <!ENTITY switch "Switch users?"> 20 21 21 22 <!ENTITY auth.confirm "When you've given the Flickr Uploadr permission to connect to your account on the Flickr website, click the big READY! button."> … … 49 50 <!ENTITY settings.users.add "Add new user"> 50 51 <!ENTITY settings.privacy "Default privacy:"> 51 <!ENTITY settings.privacy.who "Who can see this photo?">52 <!ENTITY settings.privacy.who "Who can see your photos?"> 52 53 <!ENTITY settings.privacy.private "Only you"> 53 54 <!ENTITY settings.privacy.friend "Your friends"> … … 73 74 74 75 <!ENTITY meta.title "Title:"> 76 <!ENTITY meta.title.tooltip "This title will overwrite the titles of selected photos."> 75 77 <!ENTITY meta.description "Description:"> 78 <!ENTITY meta.description.tooltip "This description will be appended to the descriptions of selected photos."> 76 79 <!ENTITY meta.tags "Tags:"> 80 <!ENTITY meta.single.tags.tooltip "Separate each tag with a space: cameraphone urban moblog. Or to join 2 words together in one tag, use double quotes: "daily commute"."> 81 <!ENTITY meta.batch.tags.tooltip "These tags will be appended to the tags of selected photos."> 82 <!ENTITY meta.single.who "Who can see this photo?"> 83 <!ENTITY meta.batch.who "Who can see these photos?"> 77 84 <!ENTITY meta.content_type "Content type:"> 78 85 <!ENTITY meta.safety_level "Safety level:"> 79 86 <!ENTITY meta.first "All photos are selected"> 80 87 <!ENTITY meta.batch.prompt "Any changes you make here will affect all selected photos."> 88 <!ENTITY meta.batch.prompt2 "Setting the title here will overwrite the title on each selected photo. Descriptions and tags will be appended to each photo's description and tags."> 81 89 <!ENTITY meta.no.title "Select photos to edit metadata"> 82 90 <!ENTITY meta.no.text "You can select photos by clicking, command/control/shift clicking or dragging across a selection. After you select photos you can add metadata."> trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/locale/en-US/main.properties
r73 r76 3 3 username=Signed in as %1$s. 4 4 notloggedin=You're working offline. 5 login=Sign in6 switch=Switch users?7 5 8 6 users.prompt=Select a user... trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/skin/uploadr/main.css
r73 r76 21 21 width: 100px; 22 22 height: 37px; 23 margin: 0 0 0 320px; 23 24 background: url(logo_flickr.png) no-repeat 0 5px; 24 25 } … … 27 28 #username { 28 29 margin: 5px 5px 0 0; 30 } 31 #switch { 32 display: none; 29 33 } 30 34 … … 217 221 } 218 222 .status h3, .status p { 219 margin: 0 ;223 margin: 0 0 4px 0; 220 224 } 221 225 … … 274 278 /* Bandwidth indicators */ 275 279 #bw_remaining, #bw_batch { 276 display: none;280 margin: 3px 0 3px 10px; 277 281 text-align: center; 282 border: 1px solid #eee; 278 283 } 279 284 #bw_remaining { 280 margin: 0 15px 0 0; 285 display: none; 286 padding: 0 0 0 10px; 287 border-width: 0 0 0 1px; 281 288 } 282 289 #bw_batch { 283 margin: 0 15px; 284 padding: 0 0 0 15px; 285 border-left: 1px solid #eee; 290 padding: 0 10px; 291 border-width: 0 1px; 286 292 } 287 293 #bw_remaining p, #bw_batch p, #bw_remaining_mb, #bw_batch_mb { … … 305 311 306 312 #photos { 307 min-width: 426px;313 min-width: 370px; 308 314 margin: 0; 309 315 padding: 5px; … … 322 328 } 323 329 #photostream h1 { 324 margin: -5px 0 -5px0;330 margin: -5px 0 0 0; 325 331 padding: 0; 326 332 } … … 467 473 #meta, #batch_meta { 468 474 display: none; 469 overflow: hidden;475 overflow: auto; 470 476 } 471 477 #no_meta_prompt { 472 display: none;478 visibility: hidden; 473 479 } 474 480 … … 479 485 480 486 /* Two columns */ 481 #meta table tr td, #batch_meta table tr td{487 .column { 482 488 width: 200px; 483 489 padding: 0 5px; 484 490 vertical-align: top; 485 491 } 486 #meta table tr td label, #batch_meta table tr tdlabel {492 #meta label, #batch_meta label { 487 493 display: block; 488 494 } 489 #meta t able tr td textbox, #batch_meta table tr tdtextbox {495 #meta textbox, #batch_meta textbox { 490 496 width: 180px; 491 497 } … … 494 500 #hide_single_sets, #hide_batch_sets { 495 501 visibility: hidden; 502 margin: 5px; 496 503 } 497 504 … … 517 524 } 518 525 526 /* Indent the privacy options */ 527 #single_is_public, #batch_is_public { 528 padding: 0 0 0 16px; 529 } 530 519 531 /* Sets lists */ 520 #hide_single_sets, #hide_batch_sets {521 margin: 5px;522 }523 532 #single_sets_add, #batch_sets_add, #single_sets_added, #batch_sets_added { 524 533 width: 199px; … … 555 564 #single_sets_create, #batch_sets_create { 556 565 visibility: hidden; 566 margin: 5px 0 0 0; 557 567 } 558 568 trunk/uploadr/MacUploadr.app/Contents/Resources/chrome/skin/uploadr/settings.css
r46 r76 1 1 #dialog_settings { 2 2 width: 700px; 3 } 4 5 #is_public { 6 padding: 0 0 0 16px; 3 7 } 4 8 trunk/uploadr/strings_extract.php
r68 r76 49 49 } 50 50 51 $fh = fopen("$dir/ext_ {$project}_{$file}.txt", 'w');51 $fh = fopen("$dir/ext_uploadr3_{$file}.txt", 'w'); 52 52 fwrite($fh, $content); 53 53 fclose($fh); 54 54 55 echo "wrote $dir/ext_ {$project}_{$file}.txt\n";55 echo "wrote $dir/ext_uploadr3_{$file}.txt\n"; 56 56 } 57 57 … … 84 84 $content); 85 85 86 $fh = fopen("$dir/ext_ {$project}_{$file}.txt", 'w');86 $fh = fopen("$dir/ext_uploadr3_{$file}.txt", 'w'); 87 87 fwrite($fh, $content); 88 88 fclose($fh); 89 89 90 echo "wrote $dir/ext_ {$project}_{$file}.txt\n";90 echo "wrote $dir/ext_uploadr3_{$file}.txt\n"; 91 91 } 92 92