<commit_before><?php
// vim: set expandtab tabstop=4 shiftwidth=4 foldmethod=marker:             
// +-------------------------------------------------------------------------+
// | Author: <NAME> <<EMAIL>>                     |
// +-------------------------------------------------------------------------+
// $Id$
// ---------------------------------------------------------------------------

class Backend_Controller extends Controller
{
    // {{{ Constructor
    function __construct()
    {
        parent::__construct();

        // load global Tabs
        $this->global_tabs = new TabbedBlock_Component('global_tabs'); 
        $this->global_tabs->setTitle(_("Contact Management"));

        $this->global_tabs->addItem(_("Contacts"), 'contact_us/backend/contacts');
        $this->global_tabs->addItem(_("List"), 'contact_us/backend/contacts', 'contact_us/backend/contacts');

        $this->global_tabs->addItem(_("Setting"), 'contact_us/backend/setting/top_template');
        $this->global_tabs->addItem(_("Top Template"), 'contact_us/backend/setting/top_template', 'contact_us/backend/setting/top_template');
        $this->global_tabs->addItem(_("Bottom Template"), 'contact_us/backend/setting/bottom_template', 'contact_us/backend/setting/top_template');

        // Default page title
        $this->layout->page_title = _("Contacts Management");

        // Validation messages
        $this->validation->message('required', _("%s is required."));
        $this->validation->message('numeric', _("%s should be numeric."));
        $this->validation->message('_check_contact', _("This contact does not exists!"));

        // Get the appname
        $this->appname = $this->session->get('user.appname');
    }
    // }}}
}
<commit_msg>Typo fixed<commit_after><?php
// vim: set expandtab tabstop=4 shiftwidth=4 foldmethod=marker:             
// +-------------------------------------------------------------------------+
// | Author: <NAME> <<EMAIL>>                     |
// +-------------------------------------------------------------------------+
// $Id$
// ---------------------------------------------------------------------------

class Backend_Controller extends Controller
{
    // {{{ Constructor
    function __construct()
    {
        parent::__construct();

        // load global Tabs
        $this->global_tabs = new TabbedBlock_Component('global_tabs'); 
        $this->global_tabs->setTitle(_("Contacts Management"));

        $this->global_tabs->addItem(_("Contacts"), 'contact_us/backend/contacts');
        $this->global_tabs->addItem(_("List"), 'contact_us/backend/contacts', 'contact_us/backend/contacts');

        $this->global_tabs->addItem(_("Setting"), 'contact_us/backend/setting/top_template');
        $this->global_tabs->addItem(_("Top Template"), 'contact_us/backend/setting/top_template', 'contact_us/backend/setting/top_template');
        $this->global_tabs->addItem(_("Bottom Template"), 'contact_us/backend/setting/bottom_template', 'contact_us/backend/setting/top_template');

        // Default page title
        $this->layout->page_title = _("Contacts Management");

        // Validation messages
        $this->validation->message('required', _("%s is required."));
        $this->validation->message('numeric', _("%s should be numeric."));
        $this->validation->message('_check_contact', _("This contact does not exists!"));

        // Get the appname
        $this->appname = $this->session->get('user.appname');
    }
    // }}}
}

{'fraction_non_alphanumeric': 0.2791095890410959, 'fraction_numerical': 0.001141552511415525, 'mean_word_length': 1.985519591141397, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 57, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '339459', 'n_tokens_mistral': 902, 'n_tokens_neox': 883, 'n_words': 141}