mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
Merge branch 'MDL-30843_b' of git://github.com/rwijaya/moodle
This commit is contained in:
commit
5bfeb5ffd3
108 changed files with 390 additions and 216 deletions
|
@ -217,7 +217,7 @@ class repository_alfresco extends repository {
|
|||
|
||||
public function print_search() {
|
||||
$str = parent::print_search();
|
||||
$str .= '<label>Space: </label><br /><select name="space">';
|
||||
$str .= '<label for="space">Space: </label><br /><select id="space" name="space">';
|
||||
foreach ($this->user_session->stores as $v) {
|
||||
$str .= '<option ';
|
||||
if ($v->__toString() === 'workspace://SpacesStore') {
|
||||
|
|
|
@ -111,6 +111,7 @@ case 'renameform':
|
|||
$home_url->param('draftpath', $draftpath);
|
||||
$home_url->param('action', 'rename');
|
||||
echo ' <form method="post" action="'.$home_url->out().'">';
|
||||
echo ' <label class="accesshide" for="newfilename">' . get_string('enternewname', 'repository') . '</label>';
|
||||
echo ' <input name="newfilename" type="text" value="'.s($filename).'" />';
|
||||
echo ' <input name="filename" type="hidden" value="'.s($filename).'" />';
|
||||
echo ' <input name="draftpath" type="hidden" value="'.s($draftpath).'" />';
|
||||
|
@ -227,7 +228,8 @@ case 'mkdirform':
|
|||
$home_url->param('draftpath', $draftpath);
|
||||
$home_url->param('action', 'mkdir');
|
||||
echo ' <form method="post" action="'.$home_url->out().'">';
|
||||
echo ' <input name="newdirname" type="text" />';
|
||||
echo ' <label class="accesshide" for="newdirname">' . get_string('entername', 'repository') . '</label>';
|
||||
echo ' <input name="newdirname" id="newdirname" type="text" />';
|
||||
echo ' <input name="draftpath" type="hidden" value="'.s($draftpath).'" />';
|
||||
echo ' <input type="submit" value="'.s(get_string('makeafolder', 'moodle')).'" />';
|
||||
echo ' </form>';
|
||||
|
|
|
@ -305,8 +305,8 @@ case 'confirm':
|
|||
echo '<form method="post">';
|
||||
echo '<table>';
|
||||
echo ' <tr>';
|
||||
echo ' <td><label>'.get_string('filename', 'repository').'</label></td>';
|
||||
echo ' <td><input type="text" name="filename" value="'.s($filename).'" /></td>';
|
||||
echo ' <td><label for="filename">'.get_string('filename', 'repository').'</label></td>';
|
||||
echo ' <td><input type="text" id="filename" name="filename" value="'.s($filename).'" /></td>';
|
||||
echo ' <td><input type="hidden" name="fileurl" value="'.s($fileurl).'" /></td>';
|
||||
echo ' <td><input type="hidden" name="action" value="download" /></td>';
|
||||
echo ' <td><input type="hidden" name="itemid" value="'.s($itemid).'" /></td>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue