merge master into navigation
commit
586cc9a83b
@ -0,0 +1,165 @@
|
||||
/**
|
||||
* Copyright (c) 2012 Erik Sargent <esthepiking at gmail dot com>
|
||||
* This file is licensed under the Affero General Public License version 3 or
|
||||
* later.
|
||||
*/
|
||||
/*****************************
|
||||
* Keyboard shortcuts for Files app
|
||||
* ctrl/cmd+n: new folder
|
||||
* ctrl/cmd+shift+n: new file
|
||||
* esc (while new file context menu is open): close menu
|
||||
* up/down: select file/folder
|
||||
* enter: open file/folder
|
||||
* delete/backspace: delete file/folder
|
||||
*****************************/
|
||||
var Files = Files || {};
|
||||
(function(Files) {
|
||||
var keys = [];
|
||||
var keyCodes = {
|
||||
shift: 16,
|
||||
n: 78,
|
||||
cmdFirefox: 224,
|
||||
cmdOpera: 17,
|
||||
leftCmdWebKit: 91,
|
||||
rightCmdWebKit: 93,
|
||||
ctrl: 17,
|
||||
esc: 27,
|
||||
downArrow: 40,
|
||||
upArrow: 38,
|
||||
enter: 13,
|
||||
del: 46
|
||||
};
|
||||
|
||||
function removeA(arr) {
|
||||
var what, a = arguments,
|
||||
L = a.length,
|
||||
ax;
|
||||
while (L > 1 && arr.length) {
|
||||
what = a[--L];
|
||||
while ((ax = arr.indexOf(what)) !== -1) {
|
||||
arr.splice(ax, 1);
|
||||
}
|
||||
}
|
||||
return arr;
|
||||
}
|
||||
|
||||
function newFile() {
|
||||
$("#new").addClass("active");
|
||||
$(".popup.popupTop").toggle(true);
|
||||
$('#new li[data-type="file"]').trigger('click');
|
||||
removeA(keys, keyCodes.n);
|
||||
}
|
||||
|
||||
function newFolder() {
|
||||
$("#new").addClass("active");
|
||||
$(".popup.popupTop").toggle(true);
|
||||
$('#new li[data-type="folder"]').trigger('click');
|
||||
removeA(keys, keyCodes.n);
|
||||
}
|
||||
|
||||
function esc() {
|
||||
$("#controls").trigger('click');
|
||||
}
|
||||
|
||||
function down() {
|
||||
var select = -1;
|
||||
$("#fileList tr").each(function(index) {
|
||||
if ($(this).hasClass("mouseOver")) {
|
||||
select = index + 1;
|
||||
$(this).removeClass("mouseOver");
|
||||
}
|
||||
});
|
||||
if (select === -1) {
|
||||
$("#fileList tr:first").addClass("mouseOver");
|
||||
} else {
|
||||
$("#fileList tr").each(function(index) {
|
||||
if (index === select) {
|
||||
$(this).addClass("mouseOver");
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function up() {
|
||||
var select = -1;
|
||||
$("#fileList tr").each(function(index) {
|
||||
if ($(this).hasClass("mouseOver")) {
|
||||
select = index - 1;
|
||||
$(this).removeClass("mouseOver");
|
||||
}
|
||||
});
|
||||
if (select === -1) {
|
||||
$("#fileList tr:last").addClass("mouseOver");
|
||||
} else {
|
||||
$("#fileList tr").each(function(index) {
|
||||
if (index === select) {
|
||||
$(this).addClass("mouseOver");
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function enter() {
|
||||
$("#fileList tr").each(function(index) {
|
||||
if ($(this).hasClass("mouseOver")) {
|
||||
$(this).removeClass("mouseOver");
|
||||
$(this).find("span.nametext").trigger('click');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function del() {
|
||||
$("#fileList tr").each(function(index) {
|
||||
if ($(this).hasClass("mouseOver")) {
|
||||
$(this).removeClass("mouseOver");
|
||||
$(this).find("a.action.delete").trigger('click');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function rename() {
|
||||
$("#fileList tr").each(function(index) {
|
||||
if ($(this).hasClass("mouseOver")) {
|
||||
$(this).removeClass("mouseOver");
|
||||
$(this).find("a[data-action='Rename']").trigger('click');
|
||||
}
|
||||
});
|
||||
}
|
||||
Files.bindKeyboardShortcuts = function(document, $) {
|
||||
$(document).keydown(function(event) { //check for modifier keys
|
||||
var preventDefault = false;
|
||||
if ($.inArray(event.keyCode, keys) === -1) keys.push(event.keyCode);
|
||||
if (
|
||||
$.inArray(keyCodes.n, keys) !== -1 && ($.inArray(keyCodes.cmdFirefox, keys) !== -1 || $.inArray(keyCodes.cmdOpera, keys) !== -1 || $.inArray(keyCodes.leftCmdWebKit, keys) !== -1 || $.inArray(keyCodes.rightCmdWebKit, keys) !== -1 || $.inArray(keyCodes.ctrl, keys) !== -1 || event.ctrlKey)) {
|
||||
preventDefault = true; //new file/folder prevent browser from responding
|
||||
}
|
||||
if (preventDefault) {
|
||||
event.preventDefault(); //Prevent web browser from responding
|
||||
event.stopPropagation();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
$(document).keyup(function(event) {
|
||||
// do your event.keyCode checks in here
|
||||
if (
|
||||
$.inArray(keyCodes.n, keys) !== -1 && ($.inArray(keyCodes.cmdFirefox, keys) !== -1 || $.inArray(keyCodes.cmdOpera, keys) !== -1 || $.inArray(keyCodes.leftCmdWebKit, keys) !== -1 || $.inArray(keyCodes.rightCmdWebKit, keys) !== -1 || $.inArray(keyCodes.ctrl, keys) !== -1 || event.ctrlKey)) {
|
||||
if ($.inArray(keyCodes.shift, keys) !== -1) { //16=shift, New File
|
||||
newFile();
|
||||
} else { //New Folder
|
||||
newFolder();
|
||||
}
|
||||
} else if ($("#new").hasClass("active") && $.inArray(keyCodes.esc, keys) !== -1) { //close new window
|
||||
esc();
|
||||
} else if ($.inArray(keyCodes.downArrow, keys) !== -1) { //select file
|
||||
down();
|
||||
} else if ($.inArray(keyCodes.upArrow, keys) !== -1) { //select file
|
||||
up();
|
||||
} else if (!$("#new").hasClass("active") && $.inArray(keyCodes.enter, keys) !== -1) { //open file
|
||||
enter();
|
||||
} else if (!$("#new").hasClass("active") && $.inArray(keyCodes.del, keys) !== -1) { //delete file
|
||||
del();
|
||||
}
|
||||
removeA(keys, event.keyCode);
|
||||
});
|
||||
};
|
||||
})(Files);
|
||||
@ -1,42 +1,62 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"There is no error, the file uploaded with success" => "업로드에 성공하였습니다.",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini" => "업로드한 파일이 php.ini에서 지정한 upload_max_filesize보다 더 큼",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini: " => "업로드한 파일이 php.ini의 upload_max_filesize보다 큽니다:",
|
||||
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" => "업로드한 파일이 HTML 문서에 지정한 MAX_FILE_SIZE보다 더 큼",
|
||||
"The uploaded file was only partially uploaded" => "파일이 부분적으로 업로드됨",
|
||||
"No file was uploaded" => "업로드된 파일 없음",
|
||||
"Missing a temporary folder" => "임시 폴더가 사라짐",
|
||||
"Failed to write to disk" => "디스크에 쓰지 못했습니다",
|
||||
"Files" => "파일",
|
||||
"Unshare" => "공유 해제",
|
||||
"Delete" => "삭제",
|
||||
"replace" => "대체",
|
||||
"Rename" => "이름 바꾸기",
|
||||
"{new_name} already exists" => "{new_name}이(가) 이미 존재함",
|
||||
"replace" => "바꾸기",
|
||||
"suggest name" => "이름 제안",
|
||||
"cancel" => "취소",
|
||||
"undo" => "복구",
|
||||
"generating ZIP-file, it may take some time." => "ZIP파일 생성에 시간이 걸릴 수 있습니다.",
|
||||
"Unable to upload your file as it is a directory or has 0 bytes" => "이 파일은 디렉토리이거나 0 바이트이기 때문에 업로드 할 수 없습니다.",
|
||||
"Upload Error" => "업로드 에러",
|
||||
"replaced {new_name}" => "{new_name}을(를) 대체함",
|
||||
"undo" => "실행 취소",
|
||||
"replaced {new_name} with {old_name}" => "{old_name}이(가) {new_name}(으)로 대체됨",
|
||||
"unshared {files}" => "{files} 공유 해제됨",
|
||||
"deleted {files}" => "{files} 삭제됨",
|
||||
"Invalid name, '\\', '/', '<', '>', ':', '\"', '|', '?' and '*' are not allowed." => "폴더 이름이 올바르지 않습니다. 이름에 문자 '\\', '/', '<', '>', ':', '\"', '|', '? ', '*'는 사용할 수 없습니다.",
|
||||
"generating ZIP-file, it may take some time." => "ZIP 파일을 생성하고 있습니다. 시간이 걸릴 수도 있습니다.",
|
||||
"Unable to upload your file as it is a directory or has 0 bytes" => "이 파일은 디렉터리이거나 비어 있기 때문에 업로드할 수 없습니다",
|
||||
"Upload Error" => "업로드 오류",
|
||||
"Close" => "닫기",
|
||||
"Pending" => "보류 중",
|
||||
"Upload cancelled." => "업로드 취소.",
|
||||
"Invalid name, '/' is not allowed." => "잘못된 이름, '/' 은 허용이 되지 않습니다.",
|
||||
"1 file uploading" => "파일 1개 업로드 중",
|
||||
"{count} files uploading" => "파일 {count}개 업로드 중",
|
||||
"Upload cancelled." => "업로드가 취소되었습니다.",
|
||||
"File upload is in progress. Leaving the page now will cancel the upload." => "파일 업로드가 진행 중입니다. 이 페이지를 벗어나면 업로드가 취소됩니다.",
|
||||
"Invalid folder name. Usage of \"Shared\" is reserved by Owncloud" => "폴더 이름이 올바르지 않습니다. \"Shared\" 폴더는 ownCloud에서 예약되었습니다.",
|
||||
"{count} files scanned" => "파일 {count}개 검색됨",
|
||||
"error while scanning" => "검색 중 오류 발생",
|
||||
"Name" => "이름",
|
||||
"Size" => "크기",
|
||||
"Modified" => "수정됨",
|
||||
"1 folder" => "폴더 1개",
|
||||
"{count} folders" => "폴더 {count}개",
|
||||
"1 file" => "파일 1개",
|
||||
"{count} files" => "파일 {count}개",
|
||||
"File handling" => "파일 처리",
|
||||
"Maximum upload size" => "최대 업로드 크기",
|
||||
"max. possible: " => "최대. 가능한:",
|
||||
"Needed for multi-file and folder downloads." => "멀티 파일 및 폴더 다운로드에 필요.",
|
||||
"Enable ZIP-download" => "ZIP- 다운로드 허용",
|
||||
"0 is unlimited" => "0은 무제한 입니다",
|
||||
"Maximum input size for ZIP files" => "ZIP 파일에 대한 최대 입력 크기",
|
||||
"max. possible: " => "최대 가능:",
|
||||
"Needed for multi-file and folder downloads." => "다중 파일 및 폴더 다운로드에 필요합니다.",
|
||||
"Enable ZIP-download" => "ZIP 다운로드 허용",
|
||||
"0 is unlimited" => "0은 무제한입니다",
|
||||
"Maximum input size for ZIP files" => "ZIP 파일 최대 크기",
|
||||
"Save" => "저장",
|
||||
"New" => "새로 만들기",
|
||||
"Text file" => "텍스트 파일",
|
||||
"Folder" => "폴더",
|
||||
"From link" => "링크에서",
|
||||
"Upload" => "업로드",
|
||||
"Cancel upload" => "업로드 취소",
|
||||
"Nothing in here. Upload something!" => "내용이 없습니다. 업로드할 수 있습니다!",
|
||||
"Share" => "공유",
|
||||
"Download" => "다운로드",
|
||||
"Upload too large" => "업로드 용량 초과",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "이 파일이 서버에서 허용하는 최대 업로드 가능 용량보다 큽니다.",
|
||||
"Files are being scanned, please wait." => "파일을 검색중입니다, 기다려 주십시오.",
|
||||
"Current scanning" => "커런트 스캐닝"
|
||||
"Files are being scanned, please wait." => "파일을 검색하고 있습니다. 기다려 주십시오.",
|
||||
"Current scanning" => "현재 검색"
|
||||
);
|
||||
|
||||
@ -0,0 +1,8 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"Close" => "داخستن",
|
||||
"Name" => "ناو",
|
||||
"Save" => "پاشکهوتکردن",
|
||||
"Folder" => "بوخچه",
|
||||
"Upload" => "بارکردن",
|
||||
"Download" => "داگرتن"
|
||||
);
|
||||
@ -0,0 +1,3 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"Save" => "Zapisz"
|
||||
);
|
||||
@ -1,38 +1,48 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"There is no error, the file uploaded with success" => "නිවැරදි ව ගොනුව උඩුගත කෙරිනි",
|
||||
"The uploaded file exceeds the upload_max_filesize directive in php.ini" => "php.ini හි upload_max_filesize නියමයට වඩා උඩුගත කළ ගොනුව විශාලයි",
|
||||
"The uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the HTML form" => "උඩුගත කළ ගොනුවේ විශාලත්වය HTML පෝරමයේ නියම කළ ඇති MAX_FILE_SIZE විශාලත්වයට වඩා වැඩිය",
|
||||
"The uploaded file was only partially uploaded" => "උඩුගත කළ ගොනුවේ කොටසක් පමණක් උඩුගත විය",
|
||||
"No file was uploaded" => "කිසිදු ගොනවක් උඩුගත නොවිනි",
|
||||
"Missing a temporary folder" => "තාවකාලික ෆොල්ඩරයක් සොයාගත නොහැක",
|
||||
"Failed to write to disk" => "තැටිගත කිරීම අසාර්ථකයි",
|
||||
"Files" => "ගොනු",
|
||||
"Unshare" => "නොබෙදු",
|
||||
"Delete" => "මකන්න",
|
||||
"Rename" => "නැවත නම් කරන්න",
|
||||
"replace" => "ප්රතිස්ථාපනය කරන්න",
|
||||
"suggest name" => "නමක් යෝජනා කරන්න",
|
||||
"cancel" => "අත් හරින්න",
|
||||
"undo" => "නිෂ්ප්රභ කරන්න",
|
||||
"generating ZIP-file, it may take some time." => "ගොනුවක් සෑදෙමින් පවතී. කෙටි වේලාවක් ගත විය හැක",
|
||||
"Upload Error" => "උඩුගත කිරීමේ දෝශයක්",
|
||||
"Close" => "වසන්න",
|
||||
"1 file uploading" => "1 ගොනුවක් උඩගත කෙරේ",
|
||||
"Upload cancelled." => "උඩුගත කිරීම අත් හරින්න ලදී",
|
||||
"File upload is in progress. Leaving the page now will cancel the upload." => "උඩුගතකිරීමක් සිදුවේ. පිටුව හැර යාමෙන් එය නැවතෙනු ඇත",
|
||||
"error while scanning" => "පරීක්ෂා කිරීමේදී දෝෂයක්",
|
||||
"Name" => "නම",
|
||||
"Size" => "ප්රමාණය",
|
||||
"Modified" => "වෙනස් කළ",
|
||||
"1 folder" => "1 ෆොල්ඩරයක්",
|
||||
"1 file" => "1 ගොනුවක්",
|
||||
"today" => "අද",
|
||||
"yesterday" => "පෙර දින",
|
||||
"File handling" => "ගොනු පරිහරණය",
|
||||
"Maximum upload size" => "උඩුගත කිරීමක උපරිම ප්රමාණය",
|
||||
"max. possible: " => "හැකි උපරිමය:",
|
||||
"Needed for multi-file and folder downloads." => "බහු-ගොනු හා ෆොල්ඩර බාගත කිරීමට අවශ්යයි",
|
||||
"Enable ZIP-download" => "ZIP-බාගත කිරීම් සක්රිය කරන්න",
|
||||
"0 is unlimited" => "0 යනු සීමාවක් නැති බවය",
|
||||
"Maximum input size for ZIP files" => "ZIP ගොනු සඳහා දැමිය හැකි උපරිම විශාලතවය",
|
||||
"Save" => "සුරකින්න",
|
||||
"New" => "නව",
|
||||
"Text file" => "පෙළ ගොනුව",
|
||||
"Folder" => "ෆෝල්ඩරය",
|
||||
"From link" => "යොමුවෙන්",
|
||||
"Upload" => "උඩුගත කිරීම",
|
||||
"Cancel upload" => "උඩුගත කිරීම අත් හරින්න",
|
||||
"Nothing in here. Upload something!" => "මෙහි කිසිවක් නොමැත. යමක් උඩුගත කරන්න",
|
||||
"Share" => "බෙදාහදාගන්න",
|
||||
"Download" => "බාගත කිරීම",
|
||||
"Upload too large" => "උඩුගත කිරීම විශාල වැඩිය",
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "ඔබ උඩුගත කිරීමට තැත් කරන ගොනු මෙම සේවාදායකයා උඩුගත කිරීමට ඉඩදී ඇති උපරිම ගොනු විශාලත්වයට වඩා වැඩිය"
|
||||
"The files you are trying to upload exceed the maximum size for file uploads on this server." => "ඔබ උඩුගත කිරීමට තැත් කරන ගොනු මෙම සේවාදායකයා උඩුගත කිරීමට ඉඩදී ඇති උපරිම ගොනු විශාලත්වයට වඩා වැඩිය",
|
||||
"Files are being scanned, please wait." => "ගොනු පරික්ෂා කෙරේ. මඳක් රැඳී සිටින්න",
|
||||
"Current scanning" => "වර්තමාන පරික්ෂාව"
|
||||
);
|
||||
|
||||
@ -1,17 +1,25 @@
|
||||
<?php OCP\Util::addscript('files','admin'); ?>
|
||||
<?php OCP\Util::addscript('files', 'admin'); ?>
|
||||
|
||||
<form name="filesForm" action='#' method='post'>
|
||||
<fieldset class="personalblock">
|
||||
<legend><strong><?php echo $l->t('File handling');?></strong></legend>
|
||||
<?php if($_['uploadChangable']):?>
|
||||
<label for="maxUploadSize"><?php echo $l->t( 'Maximum upload size' ); ?> </label><input name='maxUploadSize' id="maxUploadSize" value='<?php echo $_['uploadMaxFilesize'] ?>'/>(<?php echo $l->t('max. possible: '); echo $_['maxPossibleUploadSize'] ?>)<br/>
|
||||
<label for="maxUploadSize"><?php echo $l->t( 'Maximum upload size' ); ?> </label>
|
||||
<input name='maxUploadSize' id="maxUploadSize" value='<?php echo $_['uploadMaxFilesize'] ?>'/>
|
||||
(<?php echo $l->t('max. possible: '); echo $_['maxPossibleUploadSize'] ?>)<br/>
|
||||
<?php endif;?>
|
||||
<input type="checkbox" name="allowZipDownload" id="allowZipDownload" value="1" title="<?php echo $l->t( 'Needed for multi-file and folder downloads.' ); ?>"<?php if ($_['allowZipDownload']) echo ' checked="checked"'; ?> /> <label for="allowZipDownload"><?php echo $l->t( 'Enable ZIP-download' ); ?></label> <br/>
|
||||
<input type="checkbox" name="allowZipDownload" id="allowZipDownload" value="1"
|
||||
title="<?php echo $l->t( 'Needed for multi-file and folder downloads.' ); ?>"
|
||||
<?php if ($_['allowZipDownload']): ?> checked="checked"<?php endif; ?> />
|
||||
<label for="allowZipDownload"><?php echo $l->t( 'Enable ZIP-download' ); ?></label><br/>
|
||||
|
||||
<input name="maxZipInputSize" id="maxZipInputSize" style="width:180px;" value='<?php echo $_['maxZipInputSize'] ?>' title="<?php echo $l->t( '0 is unlimited' ); ?>"<?php if (!$_['allowZipDownload']) echo ' disabled="disabled"'; ?> />
|
||||
<label for="maxZipInputSize"><?php echo $l->t( 'Maximum input size for ZIP files' ); ?> </label><br />
|
||||
<input name="maxZipInputSize" id="maxZipInputSize" style="width:180px;" value='<?php echo $_['maxZipInputSize'] ?>'
|
||||
title="<?php echo $l->t( '0 is unlimited' ); ?>"
|
||||
<?php if (!$_['allowZipDownload']): ?> disabled="disabled"<?php endif; ?> />
|
||||
<label for="maxZipInputSize"><?php echo $l->t( 'Maximum input size for ZIP files' ); ?> </label><br />
|
||||
|
||||
<input type="hidden" value="<?php echo $_['requesttoken']; ?>" name="requesttoken" />
|
||||
<input type="submit" name="submitFilesAdminSettings" id="submitFilesAdminSettings" value="<?php echo $l->t( 'Save' ); ?>"/>
|
||||
<input type="submit" name="submitFilesAdminSettings" id="submitFilesAdminSettings"
|
||||
value="<?php echo $l->t( 'Save' ); ?>"/>
|
||||
</fieldset>
|
||||
</form>
|
||||
</form>
|
||||
@ -0,0 +1,6 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"Encryption" => "التشفير",
|
||||
"Exclude the following file types from encryption" => "استبعد أنواع الملفات التالية من التشفير",
|
||||
"None" => "لا شيء",
|
||||
"Enable Encryption" => "تفعيل التشفير"
|
||||
);
|
||||
@ -1,5 +1,6 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"Encryption" => "رمزگذاری",
|
||||
"Exclude the following file types from encryption" => "نادیده گرفتن فایل های زیر برای رمز گذاری",
|
||||
"None" => "هیچکدام",
|
||||
"Enable Encryption" => "فعال کردن رمزگذاری"
|
||||
);
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"Encryption" => "Encriptado",
|
||||
"Exclude the following file types from encryption" => "Excluír os seguintes tipos de ficheiro da encriptación",
|
||||
"Encryption" => "Cifrado",
|
||||
"Exclude the following file types from encryption" => "Excluír os seguintes tipos de ficheiro do cifrado",
|
||||
"None" => "Nada",
|
||||
"Enable Encryption" => "Habilitar encriptación"
|
||||
"Enable Encryption" => "Activar o cifrado"
|
||||
);
|
||||
|
||||
@ -0,0 +1,6 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"Encryption" => "암호화",
|
||||
"Exclude the following file types from encryption" => "다음 파일 형식은 암호화하지 않음",
|
||||
"None" => "없음",
|
||||
"Enable Encryption" => "암호화 사용"
|
||||
);
|
||||
@ -0,0 +1,6 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"Encryption" => "மறைக்குறியீடு",
|
||||
"Exclude the following file types from encryption" => "மறைக்குறியாக்கலில் பின்வரும் கோப்பு வகைகளை நீக்கவும்",
|
||||
"None" => "ஒன்றுமில்லை",
|
||||
"Enable Encryption" => "மறைக்குறியாக்கலை இயலுமைப்படுத்துக"
|
||||
);
|
||||
@ -1,6 +1,6 @@
|
||||
<?php $TRANSLATIONS = array(
|
||||
"Encryption" => "Mã hóa",
|
||||
"Exclude the following file types from encryption" => "Loại trừ các loại tập tin sau đây từ mã hóa",
|
||||
"None" => "none",
|
||||
"None" => "Không có gì hết",
|
||||
"Enable Encryption" => "BẬT mã hóa"
|
||||
);
|
||||
|
||||
@ -1,12 +1,14 @@
|
||||
<form id="calendar">
|
||||
<fieldset class="personalblock">
|
||||
<strong><?php echo $l->t('Encryption'); ?></strong>
|
||||
<?php echo $l->t("Exclude the following file types from encryption"); ?>
|
||||
<?php echo $l->t('Exclude the following file types from encryption'); ?>
|
||||
<select id='encryption_blacklist' title="<?php echo $l->t('None')?>" multiple="multiple">
|
||||
<?php foreach($_["blacklist"] as $type): ?>
|
||||
<?php foreach ($_['blacklist'] as $type): ?>
|
||||
<option selected="selected" value="<?php echo $type;?>"><?php echo $type;?></option>
|
||||
<?php endforeach;?>
|
||||
</select>
|
||||
<input type='checkbox' id='enable_encryption' <?php if($_['encryption_enabled']) {echo 'checked="checked"';} ?>></input><label for='enable_encryption'><?php echo $l->t('Enable Encryption')?></label>
|
||||
<input type='checkbox'<?php if ($_['encryption_enabled']): ?> checked="checked"<?php endif; ?>
|
||||
id='enable_encryption' ></input>
|
||||
<label for='enable_encryption'><?php echo $l->t('Enable Encryption')?></label>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue