* refactory the code.
* rename icon-addFile instead icon-add. * rename icon-delFile instead icon-delete.
This commit is contained in:
@@ -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=' '></input>
|
||||
<input type='button' onclick='delFile(this)' class='icon-delFile' value=' '></input>
|
||||
<input type='button' onclick='addFile(this)' class='icon-add' value=' '></input>
|
||||
<input type='button' onclick='delFile(this)' class='icon-delele' value=' '></input>
|
||||
</div>
|
||||
EOT;
|
||||
for($i = 1; $i <= $fileCount; $i ++) echo str_replace('$i', $i, $fileRow);
|
||||
|
||||
@@ -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;}
|
||||
|
||||
Reference in New Issue
Block a user