1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Adding a warning message to the report dialog

Useful if you're often dealing with invalid reports.

  1. lol768

    lol768 Active Member

    lol768 submitted a new resource:

    Adding a warning to the report dialog - Adds a warning to rmeind users to only report rule-breaking content. Useful if you're often dealing

    Read more about this resource...
  2. rafass

    rafass Well-Known Member

    How many templates use the report system? and how can I translate the sentence?
    thanks for share!
  3. lol768

    lol768 Active Member

    Glad you like it. As far as I know, it's just these four templates that are responsible for showing the report forum:

    As for localisation, you'll want to use a phrase. You can create one in the ACP (appearance section). I'd suggest calling it "report_warning_message" (edit: see this) or similar. Next, edit the template so it references the phrase you just created:

    <ul class="messageNotices reportNotices"><li class="warningNotice"><span class="icon Tooltip" data-tipclass="iconTip flipped"></span>{xen:phrase report_warning_message}</li></ul>
    Last edited: Feb 4, 2015
    rafass likes this.
  4. rafass

    rafass Well-Known Member

    You rock! thank you! (y)
  5. Amaury

    Amaury Well-Known Member

    Prefixing it with your site name is also probably a good idea to distinguish it from core phrases. :)

    For example, khflare_report_warning_message.
    lol768 and rafass like this.

Share This Page