选择文件名文件大小最后修改时间操作
[📄] 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@univ-lyon1.fr */ function table_copy_button(id, text, help, toggled, unsensitive) { id = 'table_copy_' + id ; if ( toggled ) toggled = ' toggled' ; else toggled = '' ; if ( unsensitive === undefined ) return '  ' + hidden_txt(text, help) + '  ' ; else { if ( unsensitive ) unsensitive = ' disabled="disabled" ' ; else unsensitive = '' ; return hidden_txt('', help) ; } } function tablecopy_toggle(id, toggle) { var e = document.getElementById('table_copy_' + id) ; var toggled = e.className.indexOf('toggled') != -1 ; if ( toggle ) { if ( toggled ) e.className = 'button_toggle' ; else e.className += ' toggled' ; } return toggled ; } function tablecopy_do(t) { var id = t.id.replace('table_copy_', '') ; var option = 'columns' ; if ( tablecopy_toggle('H') ) option = 'history' ; else if ( tablecopy_toggle('C') ) option = 'content' ; var iframe = '', "", false) ; break ; case 'P': var previous_ys = previous_year_semester(year, semester) ; create_popup('export_div', _("TITLE_tablecopy_from_past"), _("MSG_tablecopy_feedback") + iframe + previous_ys[0] + '/' + previous_ys[1] + '/' + ue + '/tablecopy/' + year + '/' + semester + '/' + option + '">' + '', "", false) ; break ; case 'PY': create_popup('export_div', _("TITLE_tablecopy_from_past_year"), _("MSG_tablecopy_feedback") + iframe + (year-1) + '/' + semester + '/' + ue + '/tablecopy/' + year + '/' + semester + '/' + option + '">' + '', "", false) ; break ; case 'R': var newname = document.getElementById('newname').value ; if ( newname == ue ) Alert("ALERT_tablecopy_copy_same") ; else create_popup('export_div', _("TITLE_tablecopy_copy"), _("MSG_tablecopy_feedback") + iframe + year + '/' + semester + '/' + ue + '/tablecopy/' + year + '/' + semester + '/' + option + '/' + newname + '">' + '', "", false) ; break ; } else { tablecopy_toggle(id, true) ; if ( ! tablecopy_toggle('c') ) { tablecopy_toggle('c', true) ; Alert("ALERT_tablecopy_columns") ; } if ( tablecopy_toggle('H') && ! tablecopy_toggle('C') ) { if ( id != 'H' ) Alert("ALERT_tablecopy_history_without_content") ; tablecopy_toggle('C', true) ; } } } function table_copy() { var future, past, ts, st, current, previous, next, rename ; var next_ys = next_year_semester(year, semester) ; var previous_ys = previous_year_semester(year, semester) ; current = year + '
' + semester + '
' + ue ; previous_year = '' + (year-1) + '
' + semester + '
' + ue ; previous = previous_ys[0] + '
' + previous_ys[1] + '
' + ue ; next = next_ys[0] + '
' + next_ys[1] + '
' + ue ; future = table_copy_button('F', ' → ', _("TITLE_tablecopy_to_future") + '
' + _("TIP_tablecopy_warning_from"), false, false) ; past_year = table_copy_button('PY', ' → ', _("TITLE_tablecopy_from_past_year") + '
' + _("TIP_tablecopy_warning_to"), false, false) ; past = table_copy_button('P', ' → ', _("TITLE_tablecopy_from_past") + '
' + _("TIP_tablecopy_warning_to"), false, false) ; rename = table_copy_button('R', '↓', _("TITLE_tablecopy_copy") + '
' + _("TIP_tablecopy_warning_from"), false, false) ; st= table_copy_button('ST','↓',_("TITLE_tablecopy_import"),false,false); ts= table_copy_button('TS','↑',_("TITLE_tablecopy_export"),false,false); create_popup('import_div', _("TITLE_tablecopy"), _("MSG_tablecopy") + '
' + table_copy_button('c', _("B_tablecopy_columns"), _("TIP_tablecopy_columns"), true) + _("TIP_tablecopy_and") + table_copy_button('C', _("B_tablecopy_content"), _("TIP_tablecopy_content")) + _("TIP_tablecopy_and") + table_copy_button('H', _("TIP_tablecopy_history"), _("TIP_tablecopy_history")) + '
 
' + '' + '' + '' + '
' + _("MSG_tablecopy_arrow") + '' + _("MSG_tablecopy_spreadsheet") + '
' + st + ' ' + ts + '
' + previous_year + '' + past_year + '' + current + '' +future+ '' +next+ '
' + previous + '' + past + '
' + rename + '
' + year + '
' + semester + '
' + '' + '
' , '', false) ; }