- Timestamp:
- 03/18/14 17:01:58 (10 years ago)
- Location:
- DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection
- Files:
-
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/annotator-service/annotations.wired.marker.js
r4742 r4750 83 83 targetURL += '/fragment/'+xpointer+'/cached'; 84 84 85 //cache html-dump 85 86 annotationFramework.postCache(targetURL, cacheMetadata, htmlDump, cacheMimeType); 86 87 }); -
DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/autocache.js
r3406 r4750 1 1 var bitsAutocacheObserver = { 2 2 domain : 'wiredmarker', //"objectmng.xxx"ãšããååã®èšå®ãå€æŽãããå Žåå 3 šãŠã§åŠçãè¡ã 3 šãŠã§åŠçãè¡ã //I do treatment at all if the setting named has changed 4 4 observe : function(aSubject, aTopic, aPrefstring) { 5 5 try{ … … 206 206 ///////////////////////////////////////////////////////////////////// 207 207 // æå®URLããã£ãã·ã¥ããã¥ã¡ã³ããžã®URLã 208 // Specified URL is the URL of the document for the cache 208 209 ///////////////////////////////////////////////////////////////////// 209 210 isCacheURL : function(aURLString){ … … 222 223 ///////////////////////////////////////////////////////////////////// 223 224 // ãã£ãã·ã¥ããã¥ã¡ã³ãã®å ŽåãããŒãã³ã°ããã 225 // If the cache document or marking 224 226 ///////////////////////////////////////////////////////////////////// 225 227 isMarking : function(aURLString){ … … 265 267 ///////////////////////////////////////////////////////////////////// 266 268 // æå®ããæ¥æã®ãã£ãã·ã¥ãååšããã 269 // Cache of a specified date and time exists 267 270 ///////////////////////////////////////////////////////////////////// 268 271 existsCache : function(aURLString,aTimeStamp){ … … 289 292 ///////////////////////////////////////////////////////////////////// 290 293 // ããã¥ã¡ã³ããéããæ¥æ 294 // Date and time the document is opened 291 295 ///////////////////////////////////////////////////////////////////// 292 296 getURLTimeStamp : function(aURLString){ 293 297 if(!aURLString) return undefined; 294 298 // ãã£ãã·ã¥ã®å Žåããã£ãã·ã¥ããæ¥æãè¿ã 299 // The case of a cache, I return the date and time for which the cache 295 300 if(this.isCacheURL(aURLString)){ 296 301 var file = this.getSaveCacheInfoFile(aURLString); … … 314 319 ///////////////////////////////////////////////////////////////////// 315 320 // ãã£ãã·ã¥URLããªãªãžãã«ã®URLãžå€æ 321 // The conversion to the URL of the original cache URL 316 322 ///////////////////////////////////////////////////////////////////// 317 323 convertCacheURLToOriginalURL : function(aURLString){ … … 347 353 ///////////////////////////////////////////////////////////////////// 348 354 // URLãšã¿ã€ã ã¹ã¿ã³ãã§ãã©ã«ã 355 // Folder timestamp and URL 349 356 ///////////////////////////////////////////////////////////////////// 350 357 getURLCacheDirFromTimeStamp : function(aURLString,aTimeStamp){ … … 443 450 ///////////////////////////////////////////////////////////////////// 444 451 // æå®ããæ¥æã®çŽåã®ã¿ã€ã ã¹ã¿ã³ã 452 // Time stamp just before the specified date and time 445 453 ///////////////////////////////////////////////////////////////////// 446 454 getApproximateCacheTimeStamp : function(aURLString,aTimeStamp){ … … 3572 3580 }, 3573 3581 }; 3574 3575 -
DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/loginDialog.xul
r4728 r4750 6 6 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 7 7 xmlns:html="http://www.w3.org/1999/xhtml" 8 title="&markingcollection.tagoutput.menu.title;" 9 buttons="accept,cancel" 10 defaultButton="accept" 8 title="Login" 11 9 onload="tagoutputDialog.init();" 12 10 ondialogaccept="return tagoutputDialog.accept();" 13 11 ondialogcancel="return tagoutputDialog.cancel();"> 12 14 13 <script type="application/x-javascript" src="chrome://global/content/nsUserSettings.js" /> 15 14 <script type="application/x-javascript" src="chrome://markingcollection/content/tagoutputDialog.js"/> … … 17 16 <stringbundle id="tagoutputDialogString" src="chrome://markingcollection/locale/markingcollection.properties" /> 18 17 </stringbundleset> 19 <groupbox> 20 <caption label="&markingcollection.tagoutput.output.caption;"/> 21 <groupbox> 22 <caption label="&markingcollection.tagoutput.style.caption;"/> 23 <radiogroup orient="horizontal" oncommand="tagoutputDialog.style(event)"> 24 <radio id="no_style" value="no" label="&markingcollection.tagoutput.style.no_style;"/> 25 <radio id="with_style" value="with" label="&markingcollection.tagoutput.style.with_style;"/> 26 </radiogroup> 27 </groupbox> 28 <groupbox> 29 <caption label="&markingcollection.tagoutput.visibility.caption;"/> 30 <radiogroup oncommand="tagoutputDialog.visibility(event)"> 31 <radio id="visible" value="visible" label="&markingcollection.tagoutput.visibility.visible;"/> 32 <radio id="hidden" value="hidden" label="&markingcollection.tagoutput.visibility.hidden;"/> 33 <hbox align="right"> 34 <vbox style="background-color:#fff;"> 35 <description style="color:#f00">&markingcollection.tagoutput.visibility.description1;</description> 36 <description style="color:#f00">&markingcollection.tagoutput.visibility.description2;</description> 37 </vbox> 38 </hbox> 39 </radiogroup> 40 </groupbox> 41 <groupbox align="center"> 42 <caption label="&markingcollection.tagoutput.format.caption;"/> 43 <label id="format" value=""/> 44 </groupbox> 45 </groupbox> 46 <groupbox> 47 <caption label="&markingcollection.tagoutput.html.caption;"/> 48 <checkbox id="path" label="&markingcollection.tagoutput.html.path;" oncommand="tagoutputDialog.path(event)"/> 49 </groupbox> 18 <iframe height="500" width="650" type="content" src="https://lux17.mpi.nl/ds/webannotator/api/authentication/login" flex="2" id="browserTable" name="table_frame"/> 50 19 </dialog> -
DASISH/t5.6/client/trunk/chrome/markingcollection/content/markingcollection/sidebar.xul
r4712 r4750 72 72 </script> 73 73 <description id="loginInfo"></description> 74 <button label="Login" oncommand='window.openDialog("chrome://markingcollection/content/loginDialog.xul", "", "chrome,centerscreen,modal", {});'/> 74 75 <stringbundleset id="mcStringBundles"> 75 76 <stringbundle id="mcMainString" src="chrome://markingcollection/locale/markingcollection.properties" />
Note: See TracChangeset
for help on using the changeset viewer.