OneBot: Leantime 改造版源码(BOM/Univer 表格/AI 接管/品牌替换等)

This commit is contained in:
wangruiguo
2026-09-03 18:49:20 +08:00
commit d647428529
3501 changed files with 1988906 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
<?php
/**
* modals.inc template - Generic template for create / edit / clone modals
*/
foreach ($__data as $var => $val) {
$$var = $val; // necessary for blade refactor
}
$allCanvas = $tpl->get('allCanvas');
$canvasTitle = $tpl->get('canvasTitle');
$canvasName = $tpl->get('canvasName');
?>
<form action="<?= BASE_URL ?>/ideas/boardDialog<?= isset($_GET['id']) ? '/'.(int) $_GET['id'] : ''?>" method="post" class="formModal">
<div class="modal-header">
<h4 class="modal-title"><i class='fa fa-plus'></i> <?= $tpl->__('subtitles.create_new_board') ?></h4>
</div>
<div class="modal-body">
<label><?= $tpl->__('label.title_new') ?></label><br />
<input type="text" name="canvastitle" value="<?= $tpl->escape($canvasTitle) ?>" placeholder="<?= $tpl->__('input.placeholders.enter_title_for_board') ?>"
style="width: 100%"/>
</div>
<div class="modal-footer">
<?php if (isset($_GET['id'])) {?>
<input type="submit" class="btn btn-primary" value="<?= $tpl->__('buttons.save_board') ?>" name="newCanvas" />
<input type="hidden" name="editCanvas" value="<?= (int) $_GET['id'] ?>">
<?php } else { ?>
<input type="hidden" name="newCanvas" value="true">
<input type="submit" class="btn btn-primary" value="<?= $tpl->__('buttons.create_board') ?>" name="newCanvas" />
<?php } ?>
<button type="button" class="btn btn-default" onclick="jQuery.nmTop().close();"><?= $tpl->__('buttons.close') ?></button>
</div>
</form>