summaryrefslogtreecommitdiffstats
path: root/template/admin/html
diff options
context:
space:
mode:
Diffstat (limited to 'template/admin/html')
-rw-r--r--template/admin/html/page/form.php2
-rw-r--r--template/admin/html/post/form.php2
-rw-r--r--template/admin/html/user/form.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/template/admin/html/page/form.php b/template/admin/html/page/form.php
index 99b3e00..9b8a39e 100644
--- a/template/admin/html/page/form.php
+++ b/template/admin/html/page/form.php
@@ -85,7 +85,7 @@
<?php elseif($FORM['TYPE'] === 'UPDATE'): ?>
<input type="submit" name="update" value="<?=$Language->text('update')?>" />
<?php elseif($FORM['TYPE'] === 'DELETE'): ?>
- <input type="submit" name="delete" value="<?=$Language->text('delete')?>" onclick="return confirm('<?=$Language->template('sure')?>')" />
+ <input type="submit" name="delete" value="<?=$Language->text('delete')?>" id="delete-button" data-text="<?=$Language->template('sure')?>" />
<?php endif; ?>
</section>
</form> \ No newline at end of file
diff --git a/template/admin/html/post/form.php b/template/admin/html/post/form.php
index cba4aa8..66db820 100644
--- a/template/admin/html/post/form.php
+++ b/template/admin/html/post/form.php
@@ -85,7 +85,7 @@
<?php elseif($FORM['TYPE'] === 'UPDATE'): ?>
<input type="submit" name="update" value="<?=$Language->text('update')?>" />
<?php elseif($FORM['TYPE'] === 'DELETE'): ?>
- <input type="submit" name="delete" value="<?=$Language->text('delete')?>" onclick="return confirm('<?=$Language->template('sure')?>')" />
+ <input type="submit" name="delete" value="<?=$Language->text('delete')?>" id="delete-button" data-text="<?=$Language->template('sure')?>" />
<?php endif; ?>
</section>
</form> \ No newline at end of file
diff --git a/template/admin/html/user/form.php b/template/admin/html/user/form.php
index 333b46d..845c55c 100644
--- a/template/admin/html/user/form.php
+++ b/template/admin/html/user/form.php
@@ -91,7 +91,7 @@
<?php elseif($FORM['TYPE'] === 'UPDATE'): ?>
<input type="submit" name="update" value="<?=$Language->text('update')?>" />
<?php elseif($FORM['TYPE'] === 'DELETE'): ?>
- <input type="submit" name="delete" value="<?=$Language->text('delete')?>" onclick="return confirm('<?=$Language->template('sure')?>')" />
+ <input type="submit" name="delete" value="<?=$Language->text('delete')?>" id="delete-button" data-text="<?=$Language->template('sure')?>" />
<?php endif; ?>
</section>
</form> \ No newline at end of file