2014-01-18 13:35:29 +00:00
<!-- Flag This {$type} -->
2014-02-05 12:26:01 +00:00
< div id = "flag_item" class = "action_box" style = "display:none" >
< div class = "form_container" >
2014-01-18 13:35:29 +00:00
< div class = "form_result" id = "flag_form_result" style = "display:none" > < / div >
2014-02-05 12:26:01 +00:00
< form id = "flag_form" name = "flag_form" method = "post" action = "#" >
2014-02-04 13:16:11 +00:00
< div class = "alert alert-info" >
{sprintf(lang("Please select the category that most closely reflects your concern about the %s, so that we can review it and determine whether it violates our Community Guidelines or isn't appropriate for all viewers. Abusing this feature is also a violation of the Community Guidelines, so don't do it."),$params.type)}
< / div >
2014-01-18 13:35:29 +00:00
{$flag_options=get_flag_options($type)}
< div class = "form-group mtm mbm" >
< label for = "flag_type" > {lang("Choose a category")}< / label >
< select class = "form-control" name = "flag_type" id = "flag_type" >
{foreach from=$flag_options key=key item=item}
< option value = "{$key}" > {$item}< / option >
{/foreach}
< / select >
< / div >
< input type = "button" name = "send_content" value = "{sprintf(lang(" Flag this % s " ) , $ params . type ) } " class = "btn btn-primary" onclick = "flag_object('flag_form','{$params.id}','{$params.type}')" / >
< / form >
< / div >
< / div >
<!-- Flag This {$type} -->