* code for task#882.

* add icon for add file and delete file.
This commit is contained in:
chencongzhi520@gmail.com
2012-08-31 02:53:24 +00:00
parent a14c48fb43
commit aaa19e3550
5 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -7,8 +7,8 @@
<input type='file' name='files[]' class='fileControl' tabindex='-1' />
<label tabindex='-1' class='fileLabel'>{$lang->file->label}</label>
<input type='text' name='labels[]' class='text-3' tabindex='-1' />
<input type='button' onclick='addFile(this)' value='add'></input>
<input type='button' onclick='delFile(this)' value='del'></input>
<input type='button' onclick='addFile(this)' class='icon-addFile'></input>
<input type='button' onclick='delFile(this)' class='icon-delFile'></input>
</div>
EOT;
for($i = 1; $i <= $fileCount; $i ++) echo str_replace('$i', $i, $fileRow);
Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 48 KiB

+3
View File
@@ -436,6 +436,9 @@ table.tablesorter thead tr .headerSortDown {background-image: url(./images/table
#searchicon {padding:2px 8px; background:url(images/main/zt-green.png) -102px -80px; margin-left:10px;}
#searchmore {padding:2px 8px; background:url(images/main/zt-green.png) -62px -100px no-repeat; margin-right:10px;}
#searchlite {padding:2px 8px; background:url(images/main/zt-green.png) -82px -100px no-repeat; margin-right:10px}
.icon-addFile {border:none; padding:2px 8px; background:url(images/main/zt-green.png) -120px 0px no-repeat;}
.icon-delFile {border:none; padding:2px 8px; background:url(images/main/zt-green.png) -140px 0px no-repeat;}
.icon-addFile:hover, .icon-delFile:hover {cursor:pointer}
.icon-black-common-edit {padding:2px 8px; background:url(images/main/zt-black.png) 0px -22px no-repeat;}
.icon-green-common-edit {padding:2px 8px; background:url(images/main/zt-green.png) 0px -22px no-repeat;}