* refactory the code.

* rename icon-addFile instead icon-add.
 * rename icon-delFile instead icon-delete.
This commit is contained in:
chencongzhi520@gmail.com
2012-11-20 08:55:35 +00:00
parent ed2ad7306d
commit 68f73144df
2 changed files with 4 additions and 4 deletions

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)' class='icon-addFile' value='&nbsp;'></input>
<input type='button' onclick='delFile(this)' class='icon-delFile' value='&nbsp;'></input>
<input type='button' onclick='addFile(this)' class='icon-add' value='&nbsp;'></input>
<input type='button' onclick='delFile(this)' class='icon-delele' value='&nbsp;'></input>
</div>
EOT;
for($i = 1; $i <= $fileCount; $i ++) echo str_replace('$i', $i, $fileRow);

View File

@@ -434,8 +434,8 @@ table.tablesorter thead tr .headerSortDown {background-image: url(./images/table
#searchicon {padding:2px 8px; background:url(images/main/zt-icons.png) -102px -80px; margin-left:10px;}
#searchmore {padding:2px 8px; background:url(images/main/zt-icons.png) -62px -80px no-repeat; margin-right:10px;}
#searchlite {padding:2px 8px; background:url(images/main/zt-icons.png) -82px -80px no-repeat; margin-right:10px}
.icon-addFile {border:none; width:16px; padding:2px 8px; background:url(images/main/zt-icons.png) -120px 0px no-repeat;}
.icon-delFile {border:none; width:16px; padding:2px 8px; background:url(images/main/zt-icons.png) -100px 0px no-repeat;}
.icon-add {border:none; width:16px; padding:2px 8px; background:url(images/main/zt-icons.png) -120px 0px no-repeat;}
.icon-delete {border:none; width:16px; padding:2px 8px; background:url(images/main/zt-icons.png) -100px 0px no-repeat;}
.icon-addFile:hover, .icon-delFile:hover {cursor:pointer}
.icon-addProduct, .icon-addProject {padding:2px 10px 2px 8px; background:url(images/main/zt-icons.png) 0px -161px;}
.icon-allProducts, .icon-allProjects {padding:2px 10px 2px 8px; background:url(images/main/zt-icons.png) -20px -161px;}