v0.8 업데이트 #116

Closed
Hide_D wants to merge 209 commits from custom_map into devel
2 changed files with 18 additions and 0 deletions
Showing only changes of commit 99e29a586e - Show all commits
+11
View File
@@ -64,6 +64,17 @@ function CoreTurnTable() {
";
}
function displaySpecialInfo(?int $type):string{
$info = getSpecialInfo($type);
$text = getGenSpecial($type);
$templates = new \League\Plates\Engine(__dir__.'/templates');
return $templates->render('tooltip', [
'text'=>$text,
'info'=>$info,
]);
}
function allButton() {
$db = DB::db();
+7
View File
@@ -0,0 +1,7 @@
<div class="tooltip"><?=$text?>
<?php if(isset($info)):?>
<span class="tooltiptext">
<?=$info?>
</span>
<?php endif;?>
</div>