reactivated Upload & New Folder button icons

This commit is contained in:
Jan-Christoph Borchardt 2011-07-06 19:17:28 +02:00
parent 1eb19b63ad
commit 827eb1ae24
3 changed files with 6 additions and 8 deletions

View File

@ -35,12 +35,12 @@
}
#file_upload_filename {
background-image:url(../../img/mimetypes/file.png);
background-image:url(../img/file.png); font-weight:bold;
}
#file_upload_start {opacity:0;filter: alpha(opacity = 0);}
#file_newfolder_name {
background-image:url(../../img/places/folder.png); font-weight: bold;
background-image:url(../img/folder.png); font-weight:bold;
width: 14em;
}
@ -111,4 +111,4 @@ table td.filename a
display: -moz-inline-box; /* fallback for older firefox versions*/
display: inline-block;
background-image:url('../img/drop-arrow.png');
}
}

View File

@ -1,8 +1,6 @@
$(document).ready(function() {
$('#file_action_panel').attr('activeAction', false);
$('#file_newfolder_name').css('width', '14em');
$('#file_newfolder_submit').css('width', '3em');
// Sets browser table behaviour :
$('.browser tr').hover(
function() {
@ -211,4 +209,4 @@ function formatDate(date){
var monthNames = [ "January", "February", "March", "April", "May", "June",
"July", "August", "September", "October", "November", "December" ];
return monthNames[date.getMonth()]+' '+date.getDate()+', '+date.getFullYear()+', '+((date.getHours()<10)?'0':'')+date.getHours()+':'+date.getMinutes();
}
}

View File

@ -5,7 +5,7 @@
<input type="hidden" class="max_human_file_size" value="(max <?php echo $_["uploadMaxHumanFilesize"]; ?>)">
<input type="hidden" name="dir" value="<?php echo $_["dir"] ?>" id="dir">
<div id='file_upload_wrapper'>
<input class="prettybutton" id='file_upload_filename' value="Upload (max <?php echo $_["uploadMaxHumanFilesize"];?>)"/>
<input class="prettybutton" id='file_upload_filename' value="Upload (max. <?php echo $_["uploadMaxHumanFilesize"];?>)"/>
<input class="prettybutton" type="file" id="file_upload_start" name='file'/>
</div>&nbsp;
<input class="prettybutton" type="button" id="file_upload_submit" name="file_upload_submit" value="OK" />