Skip to content

Commit 83c1c45

Browse files
authored
Update index.phtml
1 parent 667ecaf commit 83c1c45

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

html/hjt/index.phtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
<td>
4646
<?php } ?>
4747
<?php if (\AE97\Panel\Authentication::checkPermission('hjt.edit')) { ?>
48-
<a style = "width:60px" class = "btn btn-xs btn-default" data-bind = "attr: {href: '/hjt/edit/' + '<?php echo $val['id']; ?>'}">Edit</a>
48+
<a style="width:60px" class="btn btn-xs btn-default" href="edit/<?php echo $val['id']; ?>"}">Edit</a>
4949
<?php } ?>
5050
<?php if (\AE97\Panel\Authentication::checkPermission('hjt.delete')) { ?>
51-
<a style = "width:60px" class = "btn btn-xs btn-default" data-bind = "attr: {href: '/hjt/delete/' + '<?php echo $val['id']; ?>'}">Delete</a>
51+
<a style="width:60px" class="btn btn-xs btn-default" href="delete/<?php echo $val['id']; ?>"}">Delete</a>
5252
<?php } ?>
5353
<?php if ((\AE97\Panel\Authentication::checkPermission('hjt.edit')) || (\AE97\Panel\Authentication::checkPermission('hjt.delete'))) { ?>
5454
</td>
@@ -57,4 +57,4 @@
5757
<?php endforeach; ?>
5858
</tbody>
5959
</table>
60-
</div>
60+
</div>

0 commit comments

Comments
 (0)