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

Saving Templates with CTRL+S is great

Discussion in 'General XenForo Discussion and Feedback' started by Marcus, Apr 28, 2015.

  1. Marcus

    Marcus Well-Known Member

    Thanks for implementing this feature.
    Brad L and JustxLiz like this.
  2. Radi

    Radi Member

    What does that do?

    <li><label for="ctrl_content_show_signature"><input type="checkbox" name="content_show_signature" value="1" id="ctrl_content_show_signature" {xen:checked "{$visitor.content_show_signature}"} />
                        {xen:phrase show_peoples_signatures_with_their_messages}</label></li>
    I am working on an add-on and found that in the core files. Why the input name is "content_show_signature" and the id is "ctrl_content_show_signature". Up until now I would use the same string from both. What does XenForo do with crtl_ ?
  3. James

    James Well-Known Member

    Nothing. It's an identifier. Short for "control" to identify that the item is a control.

Share This Page