Browse Source

Small BugFix - Small fix to Shadow Delete

main
Arvo Huru 7 years ago
committed by discomrade
parent
commit
008273f707
  1. 2
      inc/config.php
  2. 2
      templates/post/post_controls.html

2
inc/config.php

@ -1481,7 +1481,7 @@
// Mod links (full HTML).
$config['mod']['link_delete'] = '[D]';
$config['mod']['link_shadow_delete'] = '[ShD]';
$config['mod']['link_force_shadow_delete'] = '[ShD]';
$config['mod']['link_warning'] = '[W]';
$config['mod']['link_warningdelete'] = '[W&D]';
$config['mod']['link_ban'] = '[B]';

2
templates/post/post_controls.html

@ -5,7 +5,7 @@
{% if mod|hasPermission(config.mod.delete, board.uri) %}
{{ secure_link_confirm(config.mod.link_delete, 'Delete'|trans, 'Are you sure you want to delete this?'|trans, board.dir ~ 'delete/' ~ post.id) }} 
{% if mod|hasPermission(config.mod.auto_delete_shadow_post, board.uri) %}
{{ secure_link_confirm(config.mod.link_shadow_delete, 'Shadow Delete'|trans, 'Are you sure you want to shadow delete this?'|trans, board.dir ~ 'delete_shadow/' ~ post.id) }} 
{{ secure_link_confirm(config.mod.link_force_shadow_delete, 'Shadow Delete'|trans, 'Are you sure you want to shadow delete this?'|trans, board.dir ~ 'delete_shadow/' ~ post.id) }} 
{% endif %}
{% endif %}
{% if mod|hasPermission(config.mod.deletebyip, board.uri) %}

Loading…
Cancel
Save