mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
add lang: ja
This commit is contained in:
@@ -6,14 +6,14 @@ loggedinorreturn();
|
||||
if (get_user_class() < UC_SYSOP)
|
||||
stderr("Sorry", "Access denied.");
|
||||
|
||||
$validTypeMap = $lang_increment_bulk['types'];
|
||||
$validTypeMap = $lang_incrementbulk['types'];
|
||||
$type = $_REQUEST['type'] ?? '';
|
||||
stdhead($lang_increment_bulk['page_title'], false);
|
||||
stdhead($lang_incrementbulk['page_title'], false);
|
||||
$classes = array_chunk(\App\Models\User::listClass(), 4, true);
|
||||
?>
|
||||
<table class=main width=737 border=0 cellspacing=0 cellpadding=0><tr><td class=embedded>
|
||||
<div align=center>
|
||||
<h1><?php echo $lang_increment_bulk['page_title']?></a></h1>
|
||||
<h1><?php echo $lang_incrementbulk['page_title']?></a></h1>
|
||||
<form method=post action=take-increment-bulk.php>
|
||||
<?php
|
||||
|
||||
@@ -27,11 +27,11 @@ $classes = array_chunk(\App\Models\User::listClass(), 4, true);
|
||||
<table cellspacing=0 cellpadding=5>
|
||||
<?php
|
||||
if (isset($_GET["sent"]) && $_GET["sent"] == 1) {
|
||||
echo '<tr><td colspan=2 class="text" align="center"><font color=red><b> '. ($validTypeMap[$type] ?? '') . $lang_increment_bulk['sent_success'] .'</font></b></tr></td>';
|
||||
echo '<tr><td colspan=2 class="text" align="center"><font color=red><b> '. ($validTypeMap[$type] ?? '') . $lang_incrementbulk['sent_success'] .'</font></b></tr></td>';
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td class="rowhead" valign="top"><?php echo $lang_increment_bulk['labels']['type'] ?></td>
|
||||
<td class="rowhead" valign="top"><?php echo $lang_incrementbulk['labels']['type'] ?></td>
|
||||
<td class="rowfollow">
|
||||
<?php
|
||||
foreach ($validTypeMap as $name => $text) {
|
||||
@@ -44,10 +44,10 @@ $classes = array_chunk(\App\Models\User::listClass(), 4, true);
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td class="rowhead" valign="top"><?php echo $lang_increment_bulk['labels']['amount'] ?> </td><td class="rowfollow"><input type=text name=amount size=10></td></tr>
|
||||
<tr><td class="rowhead" valign="top"><?php echo $lang_increment_bulk['labels']['duration'] ?></td><td class="rowfollow"><input type=number min="1" name=duration size=10> <?php echo $lang_increment_bulk['labels']['duration_help'] ?></td></tr>
|
||||
<tr><td class="rowhead" valign="top"><?php echo $lang_incrementbulk['labels']['amount'] ?> </td><td class="rowfollow"><input type=text name=amount size=10></td></tr>
|
||||
<tr><td class="rowhead" valign="top"><?php echo $lang_incrementbulk['labels']['duration'] ?></td><td class="rowfollow"><input type=number min="1" name=duration size=10> <?php echo $lang_incrementbulk['labels']['duration_help'] ?></td></tr>
|
||||
<tr>
|
||||
<td class="rowhead" valign="top"><?php echo $lang_increment_bulk['labels']['user_class'] ?></td><td class="rowfollow">
|
||||
<td class="rowhead" valign="top"><?php echo $lang_incrementbulk['labels']['user_class'] ?></td><td class="rowfollow">
|
||||
<table style="border: 0" width="100%" cellpadding="0" cellspacing="0">
|
||||
<?php
|
||||
foreach ($classes as $chunk) {
|
||||
@@ -61,11 +61,11 @@ $classes = array_chunk(\App\Models\User::listClass(), 4, true);
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<?php do_action('form_role_filter', $lang_increment_bulk['labels']['roles']) ?>
|
||||
<tr><td class="rowhead" valign="top"><?php echo $lang_increment_bulk['labels']['msg_subject'] ?> </td><td class="rowfollow"><input type=text name=subject size=82></td></tr>
|
||||
<tr><td class="rowhead" valign="top"><?php echo $lang_increment_bulk['labels']['msg_body'] ?> </td><td class="rowfollow"><textarea name=msg cols=80 rows=5><?php echo $body ?? ''?></textarea></td></tr>
|
||||
<?php do_action('form_role_filter', $lang_incrementbulk['labels']['roles']) ?>
|
||||
<tr><td class="rowhead" valign="top"><?php echo $lang_incrementbulk['labels']['msg_subject'] ?> </td><td class="rowfollow"><input type=text name=subject size=82></td></tr>
|
||||
<tr><td class="rowhead" valign="top"><?php echo $lang_incrementbulk['labels']['msg_body'] ?> </td><td class="rowfollow"><textarea name=msg cols=80 rows=5><?php echo $body ?? ''?></textarea></td></tr>
|
||||
<tr>
|
||||
<td class="rowfollow" colspan=2><div align="center"><b><?php echo $lang_increment_bulk['labels']['operator'] ?>: </b>
|
||||
<td class="rowfollow" colspan=2><div align="center"><b><?php echo $lang_incrementbulk['labels']['operator'] ?>: </b>
|
||||
<label><input name="sender" type="radio" value="self" checked><?php echo $CURUSER['username']?></label>
|
||||
<label><input name="sender" type="radio" value="system">System</label>
|
||||
</div></td></tr>
|
||||
|
||||
Reference in New Issue
Block a user