nyheder+ Magasinprogram 19. december 1991

Content-type: text/html



    
        
        
        Share Link
        
        
        
        
        
        
        
        
        
            var SSID = "";
            var EP = "";
            var LINK_NAME = "";
            var EXPIRE_TIME = "0";
            var IS_NEED_PASSWD = "0";
            var ERR_CODE = "1";
            var IS_G = "0";
            var THUMBNAIL = "0";
        
        
            /* header */
            .header-toolbar {
                padding: 0;
                background-color: #F2F2F8;
                border: none;
                height: 40px;
                display: flex;
                align-items: center;
            }
            .header-toolbar .languege-btn {
                margin-right: 36px;
            }
            .header-toolbar .languege-btn .x-btn-text {
                font-size: 14px;
                height: 20px;
            }
            .header-toolbar .languege-btn .languege-btn-icon {
                padding-left: 24px;
            }
            .header-toolbar .languege-btn td,
            .header-toolbar .languege-btn.x-btn-over td {
                border: none;
                background-image: none;
            }
            .header-toolbar .header-icon {
                margin-left: 20px;
                height: 18px;
                width: 95px;
                background-repeat: no-repeat;
                background-image: url(/shareLink/images/shlkPluginSlice/qnap_logo.svg);
            }
            .mobile .header-toolbar .languege-btn {
                margin-right: 10px;
            }
            .mobile .header-toolbar .languege-btn button {
                width: 5px;
                overflow: hidden;
            }
            /* languege menu */
            .x-menu.lang-menu {
                border: 1px solid #b0b0b0;
                background-color: #fff;
                background-image: none;
                border-radius: 8px;
            }
            .x-menu.lang-menu .x-menu-list-item {
                padding: 3px 10px 3px 6px;
                font-size: 13px;
                border: none;
            }
            .x-menu.lang-menu .x-menu-list-item * {
                border: none;
            }
            .x-menu.lang-menu .x-menu-list-item.x-menu-item-active {
                background-image: none;
                background-color: #F2F2F8;
            }
            .x-menu.lang-menu .x-menu-list-item .x-menu-check-item  .x-menu-item-icon {
                background-image: none;
            }
            .x-menu.lang-menu .x-menu-list-item.x-menu-item-checked .x-menu-check-item  .x-menu-item-icon {
                background-image: url(/shareLink/images/shlkPluginSlice/ic_check.svg);
            }
            .mobile .x-menu.lang-menu .x-menu-list-item {
                font-size: 14px;
                padding: 10px 60px 10px 0;
            }
            .mobile .x-menu.lang-menu .x-menu-list-item .x-menu-item-icon {
                position: relative;
                top: 0;
                margin-right: 40px;
            }
            .mobile .x-menu.lang-menu .x-menu-list-item .x-menu-item,
            .mobile .x-menu.lang-menu .x-menu-list-item .x-menu-check-item {
                display: flex;
                justify-content: center;
            }
            .x-menu-item.cancel {
                color: #007AFF;
            }
            /* tooltip */
            .x-tip.upload-tooltip {
                background-image: linear-gradient(#fefefe,#e5e4f2);
            }
            .upload-tooltip .x-tool-close {
                background-image: url(/shareLink/images/slice-s467d65a0a8.png);
                background-position: 0 -134px;
                width: 10px;
                height: 10px;
            }
            .upload-tooltip .x-tool-close.x-tool-close-over {
                background-position: 0 -154px;
            }
            .upload-tooltip .content {
                width: 100%;
                line-height: 21px;
                font-size: 12px;
            }
            .upload-tooltip .content td {
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
                max-width: 215px;
            }
            .upload-tooltip .content td:last-child {
                text-align: end;
            }
            /* popup window */
            .popup-win {
                box-shadow:4px 4px 3px rgba(20%,20%,40%,0.5);
                border: 1px solid #AEAEAE;
                background-color: #FFF;
                border-radius: 8px;
                padding: 24px;
            }
            .popup-win * {
                border: none;
                background: none;
            }
            .popup-win .title {
                font-size: 21px;
                display: flex;
                align-items: center;
                margin-bottom: 10px;
            }
            .popup-win .content {
                font-size: 14px;
            }
            .popup-win .title .title-icon {
                height: 32px;
                width: 32px;
                margin-right: 12px;
                background-repeat: no-repeat;
            }
            .popup-win .title .title-text {
                flex: 1;
            }
            .popup-win .x-window-body {
                display: flex;
                flex-wrap: wrap;
                padding: 0 2px 20px 2px;
            }
            .popup-win .x-window-body > div:not(:first-child) {
                margin-left: 44px;
            }
            .popup-win .x-btn {
                height: 30px;
                padding: 0 30px;
                border-radius: 4px;
                border: 1px solid #2F2F2F;
                background-color: #FFF;
            }
            .popup-win .x-btn.x-btn-over {
                background-color: #2F2F2F;
            }
            .popup-win .x-btn.x-btn-over button {
                color: #FFF;
            }
            /* auth window */
            .auth-win .password-container {
                display: flex;
                align-items: center;
                border-radius: 4px;
                border: 1px solid #2F2F2F;
                height: 30px;
                flex: 1 100%;
            }
            .auth-win .password-container .x-btn {
                border: none;
                background: none;
            }
            .auth-win .password-container .x-form-text {
                height: 30px;
                width: 100%;
                padding: 0 10px;
            }
            .auth-win .password-container .x-form-check-wrap input[type="checkbox"]+label::before {
                width: 30px;
                height: 30px;
                left: 0;
                display: block;
                background-repeat: no-repeat;
                background-image: url(/shareLink/images/shlkPluginSlice/ic_hide.svg);
            }
            .auth-win .password-container .x-form-check-wrap input[type="checkbox"]:checked+label::before {
                background-image: url(/shareLink/images/shlkPluginSlice/ic_show.svg);
            }
            .auth-win .title-icon {
                background-image: url(/shareLink/images/shlkPluginSlice/ic_verify_password.svg);
            }
            .auth-win .content {
                margin-bottom: 15px;
            }
            .auth-win .error-message {
                font-size: 14px;
                margin-top: 8px;
                color: #C1272D;
            }
            /* upload */
            .upload-win .x-form-check-wrap input[type="radio"]+label {
                display: flex;
                font-size: 14px;
            }
            .upload-win .x-form-check-wrap input[type="radio"]+label::before {
                content: '';
                width: 30px;
                height: 30px;
                left: 0;
                display: block;
                background-repeat: no-repeat;
                background-image: url(/shareLink/images/shlkPluginSlice/ic_raidobtn.svg);
            }
            .upload-win .x-form-check-wrap input[type="radio"]:checked+label::before {
                content: '';
                background-image: url(/shareLink/images/shlkPluginSlice/ic_raidobtn_s.svg);
            }
            .upload-win .title-icon {
                background-image: url(/cgi-bin/filemanager/shareLink/images/shlkPluginSlice/ic_help.svg);
            }
            /* not exist */
            .not-exist-container {
                width: 100%;
                height: calc(100vh - 100px);
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
            }
            .not-exist-container .not-exist-icon {
                width: 180px;
                height: 170px;
                background-image: url(/shareLink/images/shlkPluginSlice/img_empty.svg);
                background-repeat: no-repeat;
            }
            /* qfile */
            #get-qfile {
                display: none;
            }
            .mobile #get-qfile {
                display: block;
            }
            #get-qfile .qfile-icon {
                width: 40px;
                height: 40px;
                background-image: url(/shareLink/images/shlkPluginSlice/shareFSicon.svg);
                background-repeat: no-repeat;
                background-size: contain;
                margin: 11px 12px;
            }
            #get-qfile .qfile-description {
                margin-left: 12px;
            }
            #get-qfile .title {
                font-size: 15px;
            }
            #get-qfile .subtitle {
                font-size: 12px;
            }
            #get-qfile .x-btn td,
            #get-qfile .x-btn.x-btn-over td {
                border: none;
                background-image: none;
            }
            #get-qfile .x-btn {
                margin-right: 18px;
            }
            #get-qfile .x-btn .x-btn-text {
                font-size: 16px;
                color: #007AFF;
            }
            /* fix style after remove app.css */
            #toolbar-id {
                margin-top: 8px;
                padding: 0 10px;
            }
            #toolbar-id .x-toolbar-left-row .xtb-text.linkName-cls {
                padding: 0 10px;
            }
            #link-name {
                display: none;
            }
            .mobile #link-name {
                display: block;
                height: 40px;
                font-size: 20px;
                display: flex;
                align-items: center;
                padding: 0 20px;
            }
            body {
                width: 100%;
            }
        
        
        
        
    
    
        
I've shared the following file(s) or folder(s) with you. You can access it via File Station.                                                                
var LANGUAGES = [ [ 'en', 'English', 'ASCII', 'ENG', /en/ ], [ 'zh_CN', '简体中文', 'UTF-8', 'SCH', /cn/ ], [ 'zh_TW', '繁體中文', 'UTF-8', 'TCH', /tw/ ], [ 'cz', 'Czech', 'UTF-8', 'CZE', /cs/ ], [ 'da', 'Dansk', 'UTF-8', 'DAN', /da/ ], [ 'de', 'Deutsch', 'UTF-8', 'GER', /de/ ], [ 'es', 'Español', 'UTF-8', 'SPA', /es/ ], [ 'fr', 'Français', 'UTF-8', 'FRE', /fr/ ], [ 'it', 'Italiano', 'ASCII', 'ITA', /it/ ], [ 'ja', '日本語', 'UTF-8', 'JPN', /ja/ ], [ 'ko', '한글', 'UTF-8', 'KOR', /ko/ ], [ 'no', 'Norsk', 'UTF-8', 'NOR', /no/ ], [ 'pl', 'Polski', 'UTF-8', 'POL', /pl/ ], [ 'ru', 'Русский', 'UTF-8', 'RUS', /ru/ ], [ 'fi', 'Suomi', 'UTF-8', 'FIN', /fi/ ], [ 'sv_SE', 'Svenska', 'UTF-8', 'SWE', /sv/ ], [ 'dut', 'Nederlands', 'UTF-8', 'DUT', /nl/ ], [ 'tur', 'Turk dili', 'UTF-8', 'TUR', /tr/ ], [ 'tha', 'ไทย', 'UTF-8', 'THA', /th/ ], [ 'hun', 'Magyar', 'UTF-8', 'HUN', /hu/ ], [ 'por', 'Português', 'UTF-8', 'POR', /pt/ ], [ 'grk', 'Ελληνικά', 'UTF-8', 'GRK', /el/ ], [ 'rom', 'Român', 'UTF-8', 'ROM', /ro/ ] ]; function checkLanguage () { var lang = Ext.util.Cookies.get('nas_lang') || 'auto'; if (lang !== '' && lang !== 'auto') return lang; var sysLang = (window.navigator.userLanguage || window.navigator.language).toLowerCase(); for (var i = 0, len = LANGUAGES.length ; i < len ; ++i ) if (LANGUAGES[i][4].test(sysLang)) return LANGUAGES[i][3]; return 'ENG'; } function checkIsMobile () { let check = false; (function(a){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4))) check = true;})(navigator.userAgent||navigator.vendor||window.opera); return check; } function setStyleProperty (obj) { for (var key in obj) document.documentElement.style.setProperty(key, obj[key]); } function doUpload (file, options, listeners, uploadListeners) { Ext.Ajax.request({ method: 'GET', url: '/share.cgi', params: { ssid: options.ssid, func: 'start_chunked_upload', ep: options.ep, upload_root_dir: options.upload_root_dir }, success: function (res, opt) { var uploadId = Ext.decode(res.responseText).upload_id; if (!uploadId) return; var baseQuery = ''; var uploadUrl = [ '/share.cgi', '?func=' + 'chunked_upload', '&upload_id=' + uploadId, '&filesize=' + file.size, '&upload_name=' + file.name, '&mtime=' + Math.floor(file.lastModified / 1000) ].join(''); for (var k in options) uploadUrl += '&' + k + '=' + options[k]; var formData = new FormData(); formData.append('fileName', file.name); try { formData.append('file', file); } catch (e) { formData.append('file', file.slice(0, Math.pow(2, 31))); } var xhr = new XMLHttpRequest(); xhr.open('POST', uploadUrl); for (var k in listeners) xhr.addEventListener(k, listeners[k]); for (var k in uploadListeners) xhr.upload.addEventListener(k, uploadListeners[k]); xhr.send(formData); } }); } function getHumanReadableFilesize(v) { var tmp = { v: 0, s: '' }; tmp.v = parseFloat(v); var fileUnit = [{ u: 0, s: 'B/s' }, { u: 1024, s: 'KB/s' }, { u: 1024, s: 'MB/s' }, { u: 1024, s: 'GB/s' }, { u: 1024, s: 'TB/s' }]; for (var i = 0; i < fileUnit.length; i++) { if (tmp.v >= fileUnit[i].u) { if (fileUnit[i].u != 0) { tmp.v = parseFloat(tmp.v / fileUnit[i].u); } tmp.s = fileUnit[i].s; } else { break; } } tmp.v = tmp.v.toFixed(2); tmp.v = parseFloat(tmp.v).toString(); return tmp.v + ' ' + tmp.s; } function main () { setStyleProperty({ '--vh': window.innerHeight / 100 + 'px' }); var menuItems = []; Ext.each(LANGUAGES, function (lang) { menuItems.push({ text: lang[1], itemId: lang[3], handler: function () { Ext.util.Cookies.set('nas_lang', lang[3]); window.location.reload(); } }); }); var langMenu = new Ext.menu.Menu({ cls: 'lang-menu', defaults: { xtype: 'menucheckitem' }, autoScroll: true, enableScrolling: false, items: menuItems, listeners: { show: function (menu) { var menuItem = menu.getComponent(checkLanguage()); if (menuItem) menuItem.setChecked(true); } }, renderTo: 'container' }); if (checkIsMobile()) { var el = document.getElementById('container'); if (el) el.classList.add('mobile'); } var header = new Ext.Toolbar({ cls: 'header-toolbar', items: [{ xtype: 'container', cls: 'header-icon' }, '->', { xtype: 'button', cls: 'languege-btn', icon: '/shareLink/images/shlkPluginSlice/ic_language.svg', iconCls: 'languege-btn-icon', listeners: { afterrender: function (btn) { Ext.each(LANGUAGES, function (lang) { if (checkLanguage() == lang[3]) btn.setText(lang[1]); }); if (!checkIsMobile()) { btn.menu = langMenu; return; } var container = Ext.get('container'); var cancelMenu = new Ext.menu.Menu({ cls: 'lang-menu', allowOtherMenus: true, width: container.getWidth() - 40, items: [{ cls: 'cancel', text: _Q_STRINGS_SFE._LANG_COMMON_CANCEL, handler: function () { cancelMenu.hide(); langMenu.hide(); } }], renderTo: 'container', listeners: { beforeshow: function () { container.mask(); }, hide: function () { container.unmask(); } } }); btn.on('click', function () { langMenu.setSize(container.getWidth() - 40, container.getHeight() - 80); langMenu.showAt([20, 8]); cancelMenu.showAt([20, container.getHeight() - 60]); }); } } }], applyTo: 'header' }); if (!SSID) { new Ext.Container({ cls: 'not-exist-container', defaults: { xtype: 'container', }, items: [{ cls: 'not-exist-icon' }, { cls: 'not-exist-text', html: _Q_STRINGS_SFE._LANG_SHARE_LINK_UNAVAILABLE }], applyTo: 'bodyDiv' }); return; } var PopupWin = Ext.extend(Ext.Window, { constructor: function(config) { var me = this; PopupWin.superclass.constructor.call(me, config); me.addClass('popup-win'); me.maskTarget = me.maskTarget instanceof Ext.Element ? me.maskTarget : Ext.get(me.maskTarget); if (!me.maskTarget) return; me.on('beforeshow', function () { me.maskTarget.mask(); }); me.on('hide', function () { me.maskTarget.unmask(); }); }, width: checkIsMobile() ? 335 : 450, closable: false }); var uploadToolTip = new Ext.ToolTip({ autoHide: false, closable: true, width: 308, cls: 'upload-tooltip', tpl: (function(){ var tpl = new Ext.XTemplate([ '', '', '', '', '', '', '', '', '', '', '
{current:htmlEncode}/{total:htmlEncode}{speed:htmlEncode}', '
{filename:htmlEncode}{percent:htmlEncode}%
' ]); tpl.compile(); return tpl; })(), data: { current: 0, total: 0, speed: '--', filename: '--', percent: 0 } }); var AuthWin = Ext.extend(PopupWin, { constructor: function(config) { var me = this; var textField = new Ext.form.TextField({ inputType: 'password', listeners: { afterrender: function () { this.getEl().set({ placeholder: _Q_STRINGS_SFE._LANG_COMMON_PASSWORD }); } } }); var inputTypeBtn = new Ext.form.Checkbox({ handler: function () { var textEl = textField.getEl(); if (!textEl) return; textEl.set({ type: textEl.getAttribute('type') == 'text' ? 'password' : 'text' }); } }); var errorMessage = new Ext.Container({ cls: 'error-message', html: _Q_STRINGS_SFE._LANG_ERROR_INPUT_ERRORS, hidden: true }); config = Ext.apply({ defaults: { xtype: 'container' }, items: [{ cls: 'title', defaults: { xtype: 'container' }, items: [{ cls: 'title-icon' }, { cls: 'title-text', html: _Q_STRINGS_SFE._LANG_ACTION_VERIFY_PASSWORD }] }, { cls: 'content', html: _Q_STRINGS_SFE._LANG_LINK_IS_PROTECTED }, { cls: 'password-container', items: [ textField, inputTypeBtn ] }, errorMessage], buttons: [{ text: _Q_STRINGS_SFE._LANG_COMMON_OK, handler: function () { var ep = QNAP.lib.encryption.ezEncode(QNAP.lib.encryption.utf16to8(textField.getValue())); Ext.Ajax.request({ url: '/share.cgi', params: { ssid: SSID, func: 'check_passwd', ep: ep }, success: function (response) { var obj = Ext.decode(response.responseText); if (obj.status != 1) { errorMessage.show(); return; } var form = Ext.DomHelper.append(document.body, { tag: 'form', id: '', method: 'POST', action: location.href, target: '_self', children:[{ tag: 'input', name: 'ep', value: ep, hidden: true }] }, false); form.submit(); } }); } }], maskTarget: document.getElementsByClassName('ShareLink')[0] }, config); AuthWin.superclass.constructor.call(me, config); me.addClass('auth-win'); } }); var UploadWin = Ext.extend(PopupWin, { constructor: function(config) { var me = this; var radioGroup = new Ext.form.RadioGroup({ columns: 1, width: 400, defaults: { name: 'uploadMode' }, items: [{ boxLabel: _Q_STRINGS_SFE._LANG_COMMON_SKIP_1, inputValue: '0', checked: true, }, { boxLabel: _Q_STRINGS_SFE._LANG_COMMON_OVERWRITE_1, inputValue: '1', }, { boxLabel: _Q_STRINGS_SFE._LANG_COMMON_RENAME_AUTOMATICALLY, inputValue: '2', }] }); config = Ext.apply({ defaults: { xtype: 'container' }, items: [{ cls: 'title', defaults: { xtype: 'container' }, items: [{ cls: 'title-icon' }, { cls: 'title-text', html: _Q_STRINGS_SFE._LANG_COMMON_MSG_OVERWRITE_EX }] }, { cls: 'content', items: [ radioGroup ] }], buttons: [{ text: _Q_STRINGS_SFE._LANG_COMMON_OK, handler: function () { var selection = radioGroup.getValue(); if (!selection) return; var fileSelector = document.getElementById('fileSelector'); if (!fileSelector || !fileSelector.files.length) return; var filesLength = fileSelector.files.length; var fileList = []; for (var i = 0; i < fileSelector.files.length; i ++) fileList.push(fileSelector.files[i]); var uploadOptions = { ssid: SSID, upload_root_dir: document.getElementById('pathValue-id').value || '/', dest_path: UIMap.gridPanel.store.baseParams.path || '/', offset: 0, settime: 1, ep: EP }; if (selection.inputValue == 2) { uploadOptions.mode = 2; uploadOptions.dup = 'Copy'; } else { uploadOptions.overwrite = selection.inputValue; } function uploadFiles (fileList) { if (!fileList.length) { uploadToolTip.hide(); uploadToolTip.update({ current: 0, total: 0, speed: '--', filename: '--', percent: 0 }); UIMap.gridPanel.store.reload(); return; }; var file = fileList.pop(); var filename = file.name; var current = filesLength - fileList.length; var lastPosition = 0; var lastTime; doUpload(file, uploadOptions, { loadend: function () { uploadFiles(fileList); } }, { progress: function (e) { var deltaTime = e.timeStamp - (lastTime || 0); var deltaPosition = e.loaded - (lastPosition || 0); if (deltaTime < 1000) return; lastPosition = e.loaded; lastTime = e.timeStamp; var speed = deltaPosition / deltaTime * 1000; uploadToolTip.update({ current: current, total: filesLength, speed: getHumanReadableFilesize(Ext.isNumber(speed) ? speed : 0), filename: filename, percent: Math.floor(e.loaded / e.total * 100) }); } }); } uploadToolTip.showBy(document.getElementById('bodyDiv')); uploadFiles(fileList); me.hide(); fileSelector.value = ''; } }, { text: _Q_STRINGS_SFE._LANG_COMMON_CANCEL, handler: function () { var fileSelector = document.getElementById('fileSelector'); if (!fileSelector || !fileSelector.files.length) return; fileSelector.value = ''; me.hide(); } }], maskTarget: Ext.getBody() }, config); UploadWin.superclass.constructor.call(me, config); me.addClass('upload-win'); } }); var notInstalledWin = new PopupWin({ items: [{ xtype: 'container', cls: 'content', html: _Q_STRINGS_SFE._LANG_MSG_QFILE_NOT_INSTALLED }], buttons: [{ text: _Q_STRINGS_SFE._LANG_COMMON_OK, handler: function () { var qFileBtn = qFileToolbar.getComponent('qfile-button'); var qfileSubtitle = qFileToolbar.el.query('.subtitle')[0]; qFileBtn.setText(_Q_STRINGS_SFE._LANG_MSG_COMMON_MOBILE_GET); if(navigator.userAgent.match(/Android/i)) { if (qfileSubtitle) qfileSubtitle.innerHTML = _Q_STRINGS_SFE._LANG_MSG_COMMON_GET_IN_GOOGLE_PLAY; if (qFileBtn) qFileBtn.setHandler(function () { window.location = 'https://play.google.com/store/apps/details?id=com.qnap.qfile'; }); } else if (navigator.userAgent.match(/(iPhone|iPad|iPod)/i)) { if (qfileSubtitle) qfileSubtitle.innerHTML = _Q_STRINGS_SFE._LANG_MSG_COMMON_GET_IN_APP_STORE; if (qFileBtn) qFileBtn.setHandler(function () { window.location = 'https://itunes.apple.com/tw/app/qfile/id526330408'; }); } notInstalledWin.hide(); } }], maskTarget: Ext.getBody() }); var qFileWin = new PopupWin({ items: [{ xtype: 'container', cls: 'content', html: _Q_STRINGS_SFE._LANG_MSG_ASK_OPEN_IN_QFILE }], buttons: [{ text: _Q_STRINGS_SFE._LANG_COMMON_OK, handler: function () { var baseUrl = window.location.href.match(/^.*\//); var scheme_link = 'qfileqnap://sharelink?url=' + baseUrl + '/share.cgi?ssid=' + SSID; window.location = scheme_link; setTimeout(function() { if (!document.webkitHidden) notInstalledWin.show(); }, 1000); qFileWin.hide(); } }, { text: _Q_STRINGS_SFE._LANG_COMMON_CANCEL, handler: function () { qFileWin.hide(); } }], maskTarget: Ext.getBody() }); var qFileToolbar = new Ext.Toolbar({ height: 62, defaults: { xtype: 'container', }, items: [{ cls: 'qfile-icon', }, { cls: 'qfile-description', defaults: { xtype: 'container' }, items: [{ cls: 'title', html: _Q_STRINGS_SFE._LANG_MSG_COMMON_MOBILE_QFILE_DISP }, { cls: 'subtitle', html: _Q_STRINGS_SFE._LANG_MSG_COMMON_OPEN_IN_QFILE }], }, '->', { xtype: 'button', itemId: 'qfile-button', text: _Q_STRINGS_SFE._LANG_ACTION_OPEN_TITLE, handler: function () { qFileWin.show(); } }], applyTo: 'get-qfile' }); var uploadWin = new UploadWin(); var authWin = new AuthWin(); Ext.get('fileSelector').on('change' , function () { uploadWin.show(); }); if (IS_NEED_PASSWD == 1 && !EP) { authWin.show(); if (!checkIsMobile()) return; var hideAuthWinCmps = [ langMenu, notInstalledWin, qFileWin ]; Ext.each(hideAuthWinCmps, function (cmp) { cmp.on('beforeshow', function () { authWin.hide(); }); cmp.on('hide', function () { authWin.show(); }); }); } else { if (checkIsMobile()) { var linkName = new Ext.Container({ html: LINK_NAME, applyTo: 'link-name' }); } initWork(); } } Ext.Loader.load(['/cgi-bin/apps/fileManager/langs/lang_' + checkLanguage() + '.js'], main);
  • trc:01.30:00
  • trc: 02:24:02:Det privat drevene vandværk Hedegården skal medvirke til at få omfanget af forureningen af ledningsnettet gjort i orden, det siger miljøministeriet
  • trc
  • 03:00:03
  • En Busholdeplads det ligge ud til en brakmark, ved Knolde
  • trc:07:14:24
  • Roskilde Byråd har nu besluttet at den gamle Duebrødreskole skal laves til ungdomsboliger
  • trc:09:31:10
  • Der er forsøg med handicapvenlige busser, og muligheden for at Roskilde får en Service bus er stor
  • trc:11:49:15
  • Eleverne på Roskilde Teknisk skole udstiller deres elevarbejde
  • Trc:15:46:11
  • Roskilde Fællesbageri har 100 års jubilæum, men i dag er det ikke bageri det drejer sig om men ejendomme
  • trc:31:51:10:Jul i Roskilde julemanden ankommer med Helikopter
  • Henning Hviid Poulsen fortæller om hvordan julehandlen er gået
  • trc:44:45:17
  • trc:50:07:17
  • Køge Tekniske Skole. den nye erhvervsuddannelse har skabt store kvaler
  • trc:01:11:15:15
  • Wika- Cup i Køge, i Ravnsborg Hallen, formanden for Køge Boldklub, Amtsborgmester Ib Vindelev fortæller om Køge og Herfølge kunne gå sammen, så at Køge kunne få et superliga hold, Ib Vindelev håber at Erik Rasmussen kan blive den nye træner for Køge. Formanden for Herfølge boldklub vil også gerne have et fælles divisions hold: Skomagergade, Algade i Juleudsmykningen
  • Amtsborgmester Ib Vindelev nytårstale
  • Roskilde Amt har i det kommende år 150 års jubilæum
Dato udgivet
Dope sheet: Klik for at downloade
Metainformation for administratorer
Faustnr
9 647 451 2
Varighed tidskode
01:29:54:08
Varighed sekunder
5394
Klassifikationsnummer
Båndnummer
5001
Import må ikke længere overskrive dette
Afbrudt

Kommentarer

Video er online
Tilsluttet