This commit is contained in:
Sampanna Rimal
2024-07-22 18:01:09 +05:45
parent c349ab3173
commit 78c76c2ef0
7 changed files with 81 additions and 25 deletions

View File

@ -122,10 +122,10 @@ function getTableSchema($tableName)
echo "</pre>";
}
function showEditButton($url, $text = "Edit")
function showEditButton($url, $text = "Edit", $showtext="")
{
?>
<a href="<?php echo site_url($url); ?>" class="btn btn-info btn-xs" title="<?php echo myLang($text); ?>"><i class="fas fa-edit"></i> <?php //echo myLang($text);
<a href="<?php echo site_url($url); ?>" class="btn btn-info btn-xs" title="<?php echo myLang($text); ?>"><i class="fas fa-edit"></i> <?php echo myLang($showtext);
?></a>
<?php
}