Commit 10ae020a authored by Francois Marier's avatar Francois Marier
Browse files
parents 105a648a 6447a026
......@@ -269,10 +269,10 @@ function FileBrowser(element, source, statevars, changedircallback, actionname,
var editformtitle = get_string(fileinfo.artefacttype == 'folder' ? 'editfolder' : 'editfile');
var edittable = TABLE({'align':'center'},TBODY(null,
TR(null,TH({'colspan':2},LABEL(editformtitle))),
TR(null,TH(null,LABEL(get_string('name'))),
TR(null,TH(null,LABEL(get_string('Name'))),
TD(null,INPUT({'type':'text','class':'text','name':'name',
'value':fileinfo.title,'size':40}))),
TR(null,TH(null,LABEL(get_string('description'))),
TR(null,TH(null,LABEL(get_string('Description'))),
TD(null,INPUT({'type':'text','class':'text','name':'description',
'value':fileinfo.description,'size':40}))),
TR(null, TH(null, LABEL(null, get_string('tags'))),
......@@ -321,10 +321,10 @@ function FileBrowser(element, source, statevars, changedircallback, actionname,
TR(null,TH({'colSpan':2},LABEL(null,get_string('createfolder')))),
TR(null,TH(null,LABEL(get_string('destination'))),
TD(null, SPAN({'id':'createdest'},self.generatePath(self.currentDirectory)))),
TR(null,TH(null,LABEL(get_string('name'))),
TR(null,TH(null,LABEL(get_string('Name'))),
TD(null,INPUT({'type':'text','class':'text','name':'name','value':'',
'size':40}), namehelp)),
TR(null,TH(null,LABEL(get_string('description'))),
TR(null,TH(null,LABEL(get_string('Description'))),
TD(null,INPUT({'type':'text','class':'text','name':'description',
'value':'','size':40}), deschelp)),
TR(null, TH(null, LABEL(null, get_string('tags'))), TD({'colspan':'2'}, create_tags_control('tags'))),
......@@ -543,9 +543,9 @@ function FileUploader(element, uploadscript, statevars, foldername, folderid, up
TD(null, INPUT({'type':'file','class':'file','name':'userfile','size':40,'onchange':function () {
self.form.title.value = basename(self.form.userfile.value);
}}))),
TR(null, TH(null, LABEL(null, get_string('title'))),
TR(null, TH(null, LABEL(null, get_string('Name'))),
TD(null, INPUT({'type':'text', 'class':'text', 'name':'title', 'size':40}), titlehelp)),
TR(null, TH(null, LABEL(null, get_string('description'))),
TR(null, TH(null, LABEL(null, get_string('Description'))),
TD(null, INPUT({'type':'text', 'class':'text', 'name':'description', 'size':40}), deschelp)),
TR(null, TH(null, LABEL(null, get_string('tags'))),
TD({'colspan': 2}, create_tags_control('tags'))),
......
......@@ -34,14 +34,15 @@ $string['changessaved'] = 'Changes saved';
$string['contents'] = 'Contents';
$string['copyrightnotice'] = 'Copyright notice';
$string['create'] = 'Create';
$string['Created'] = 'Created';
$string['createfolder'] = 'Create folder';
$string['defaultquota'] = 'Default Quota';
$string['defaultquotadescription'] = 'You can set the amount of disk space that new users will have as their quota here. Existing user quotas will not be changed.';
$string['deletefile?'] = 'Are you sure you want to delete this file?';
$string['deletefolder?'] = 'Are you sure you want to delete this folder?';
$string['description'] = 'Description';
$string['Description'] = 'Description';
$string['destination'] = 'Destination';
$string['download'] = 'Download';
$string['Download'] = 'Download';
$string['editfile'] = 'Edit file';
$string['editfolder'] = 'Edit folder';
$string['emptyfolder'] = 'Empty folder';
......@@ -62,8 +63,9 @@ $string['folder'] = 'Folder';
$string['foldercreated'] = 'Folder created';
$string['home'] = 'Home';
$string['image'] = 'Image';
$string['lastmodified'] = 'Last Modified';
$string['myfiles'] = 'My Files';
$string['name'] = 'Name';
$string['Name'] = 'Name';
$string['namefieldisrequired'] = 'The name field is required';
$string['movefaileddestinationinartefact'] = 'You cannot put a folder inside itself.';
$string['movefaileddestinationnotfolder'] = 'You can only move files into folders.';
......@@ -72,11 +74,13 @@ $string['movefailednotowner'] = 'You do not have permission to move the file int
$string['movefailed'] = 'Move failed.';
$string['nofilesfound'] = 'No files found';
$string['overwrite'] = 'Overwrite';
$string['Owner'] = 'Owner';
$string['parentfolder'] = 'Parent folder';
$string['savechanges'] = 'Save changes';
$string['size'] = 'Size';
$string['Size'] = 'Size';
$string['title'] = 'Name';
$string['titlefieldisrequired'] = 'The name field is required';
$string['Type'] = 'Type';
$string['unlinkthisfilefromblogposts?'] = 'This file is attached to one or more blog posts. If you delete the file, it will be removed from these posts.';
$string['upload'] = 'Upload';
$string['uploadfile'] = 'Upload file';
......@@ -88,6 +92,7 @@ $string['uploadoffiletofoldercomplete'] = 'Upload of %s to %s complete';
$string['uploadoffiletofolderfailed'] = 'Upload of %s to %s failed';
$string['youmustagreetothecopyrightnotice'] = 'You must agree to the copyright notice';
// File types
$string['ai'] = 'Postscript Document';
$string['aiff'] = 'AIFF Audio File';
......
......@@ -113,8 +113,7 @@ class PluginArtefactFile extends PluginArtefact {
'createfolder',
'deletefile?',
'deletefolder?',
'description',
'description',
'Description',
'destination',
'editfile',
'editfolder',
......@@ -122,7 +121,7 @@ class PluginArtefactFile extends PluginArtefact {
'fileexistsoverwritecancel',
'filenamefieldisrequired',
'home',
'name',
'Name',
'namefieldisrequired',
'nofilesfound',
'overwrite',
......
......@@ -4,11 +4,11 @@
</div>
<table class="filedata">
<tr><th>Type:</th><td>{$filetype}</td></tr>
<tr><th>Description:</th><td>{$description|escape}</td></tr>
<tr><th>Owner:</th><td>{$owner}</td></tr>
<tr><th>Created:</th><td>{$created}</td></tr>
<tr><th>Last modified:</th><td>{$modified}</td></tr>
<tr><th>Size:</th><td>{$size|escape}</td></tr>
<tr><th>{str tag=download section=artefact.file}:</th><td><a href="{$downloadpath|escape}">{str tag=download section=artefact.file}</a></td></tr>
<tr><th>{str tag=Type section=artefact.file}:</th><td>{$filetype}</td></tr>
<tr><th>{str tag=Description section=artefact.file}:</th><td>{$description|escape}</td></tr>
<tr><th>{str tag=Owner section=artefact.file}:</th><td>{$owner}</td></tr>
<tr><th>{str tag=Created section=artefact.file}:</th><td>{$created}</td></tr>
<tr><th>{str tag=lastmodified section=artefact.file}:</th><td>{$modified}</td></tr>
<tr><th>{str tag=Size section=artefact.file}:</th><td>{$size|escape}</td></tr>
<tr><th>{str tag=Download section=artefact.file}:</th><td><a href="{$downloadpath|escape}">{str tag=Download section=artefact.file}</a></td></tr>
</table>
......@@ -8,9 +8,9 @@
<table id="filelist" class="hidden tablerenderer">
<thead><tr>
<th></th>
<th>{str tag=name section=artefact.file}</th>
<th>{str tag=description section=artefact.file}</th>
<th>{str tag=size section=artefact.file}</th>
<th>{str tag=Name section=artefact.file}</th>
<th>{str tag=Description section=artefact.file}</th>
<th>{str tag=Size section=artefact.file}</th>
<th>{str tag=date}</th>
<th></th>
</tr></thead>
......
......@@ -346,6 +346,7 @@ $string['addemail'] = 'Add email address';
// Search
$string['search'] = 'Search';
$string['Query'] = 'Query';
$string['advancedsearch'] = 'Advanced search';
$string['query'] = 'Query';
$string['querydescription'] = 'The words to be searched for';
......@@ -359,13 +360,6 @@ $string['artefact'] = 'artefact';
$string['Artefact'] = 'Artefact';
$string['artefactnotfound'] = 'Artefact with id %s not found';
$string['artefactnotrendered'] = 'Artefact not rendered';
$string['created'] = 'Created';
$string['lastmodified'] = 'Last modified';
$string['owner'] = 'Owner';
$string['size'] = 'Size';
$string['title'] = 'Title';
$string['type'] = 'Type';
$string['download'] = 'Download';
$string['belongingto'] = 'Belonging to';
$string['allusers'] = 'All users';
......
......@@ -8,9 +8,9 @@
<table id="filelist" class="hidden tablerenderer">
<thead><tr>
<th></th>
<th>{str tag=name section=artefact.file}</th>
<th>{str tag=description section=artefact.file}</th>
<th>{str tag=size section=artefact.file}</th>
<th>{str tag=Name section=artefact.file}</th>
<th>{str tag=Description section=artefact.file}</th>
<th>{str tag=Size section=artefact.file}</th>
<th>{str tag=date}</th>
<th></th>
</tr></thead>
......
......@@ -4,7 +4,7 @@
<div class="searchform">
<h2>{str tag="search"}</h2>
<form action="" method="get" onsubmit="doSearch(); return false;">
<label>Query:
<label>{str tag=Query}:
<input type="text" name="search_query" id="search_query" value="{$search_query_value|escape}">
</label>
<select id="search_type">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment