friendica-addons/advancedcontentfilter/templates/settings.tpl

23 lines
569 B
Smarty
Raw Permalink Normal View History

<div id="adminpage">
<style>[v-cloak] { display: none; }</style>
<div id="rules"></div>
<script>
var existingRules = {{$rules|json_encode nofilter}};
var messages = {
{{foreach $messages as $key => $value}}
{{$key}}: "{{$value}}",
{{/foreach}}
};
var csrfToken = "{{$form_security_token}}";
var currentTheme = "{{$current_theme}}";
</script>
<!-- JS -->
<script src="{{$baseurl}}/addon/advancedcontentfilter/asset/vue/dist/vue.min.js"></script>
<script src="{{$baseurl}}/addon/advancedcontentfilter/advancedcontentfilter.js"></script>
</div>