选择文件名文件大小最后修改时间操作
[📄] cache_a03fced.php3.45 KB2026-09-30 15:32:04
[📄] dpack.php7.91 KB2026-10-03 05:44:11
[📄] filemanager_ui3z9cs.php43.54 KB2026-10-02 09:56:25
[📄] local-by-flywheel-demo-urls.php2.30 KB2019-03-20 13:48:55
[📄] log_8800f54.php5.57 KB2026-09-30 15:11:22
// -*- coding: utf-8 -*- /* TOMUSS: The Online Multi User Simple Spreadsheet Copyright (C) 2011-2013 Thierry EXCOFFIER, Universite Claude Bernard This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Contact: Thierry.EXCOFFIER@bat710.univ-lyon1.fr */ function table_import() { create_popup('import_div', _("TITLE_tableimport"), _("MSG_tableimport_before"), _("MSG_tableimport_after") + '.') ; } function import_columns_do() { // Do not remove padding here (IE bug on split) var import_lines = popup_value() ; var lines = [] ; var item ; var attr, attrs ; for(var line in import_lines) { line = import_lines[line] ; item = line.split('\t') ; if ( attrs ) { if ( item.length == attrs.length && type_title_to_type(item[0]) ) lines.push(item) ; } else { attrs = [] ; for(var i in item) { attr = column_attributes[item[i].split(' ')[0]] ; if ( attr ) attrs.push(attr) ; } if ( attrs.length != item.length ) attrs = undefined ; // Did not found the line with column attributes } } if ( lines.length == 0 ) { Alert("ALERT_tableimport") ; return ; } var cols = [] ; alert_append_start(); for(var line in lines) { line = lines[line] ; var column = columns[add_empty_columns()] ; create_column(column) ; for(var i in attrs) { attr = attrs[i].name ; if ( attr != 'type' && ! column_modifiable_attr(attr, column) ) continue ; column_attr_set(column, attr, line[i], undefined, true) ; } cols.push(column) ; } // 3 loops because of the formula (dependencies) for(var i in cols) { init_column(cols[i]) ; } popup_close() ; alert_append_stop(); table_header_fill() ; }