mirror of
https://github.com/friendica/friendica
synced 2025-09-04 15:56:06 +02:00
Create Post/Tag/Remove module class and route
- Fix tag name parameter in single tag removal link in mod/photos - Remove "/post" from backend routes as it was preventing sessions from working in this module. No existing module had a route starting with "/post".
This commit is contained in:
parent
da1c13368b
commit
e0dc7a471e
5 changed files with 172 additions and 7 deletions
19
view/templates/post/tag/remove.tpl
Normal file
19
view/templates/post/tag/remove.tpl
Normal file
|
@ -0,0 +1,19 @@
|
|||
<div class="generic-page-wrapper">
|
||||
<h3>{{$l10n.header}}</h3>
|
||||
|
||||
<p id="tag-remove-desc">{{$l10n.desc}}</p>
|
||||
|
||||
<form id="tagrm" action="post/{{$item_id}}/tag/remove?return={{$return}}" method="post">
|
||||
<ul>
|
||||
{{foreach $tag_checkboxes as $tag_checkbox}}
|
||||
<li>
|
||||
{{include file="field_checkbox.tpl" field=$tag_checkbox}}
|
||||
</li>
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
<p>
|
||||
<button type="submit" id="tagrm-submit" class="btn btn-primary" name="submit">{{$l10n.remove}}</button>
|
||||
<button type="submit" id="tagrm-submit" class="btn" name="cancel">{{$l10n.cancel}}</button>
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue