<?php

class Hubstatus extends Cf_Controller
{

    function __construct()
    {
        parent::__construct();
    }

    function status()
    {

        $this->load->helper(array('form', 'url'));
        $this->load->library('form_validation');

        $requiredjs = array(
            array('widgets/notes.js')
        );

        $this->carabiner->js($requiredjs);


        $data = array(
            'title' => $this->lang->line('mission_portal_title') . " - " . $this->lang->line('hub_status')
        );



        $statusData = cfpr_replica_status();
        $arrayData = json_decode(mb_convert_encoding($statusData, 'UTF-8'), true);

        $data['replicationStatusData'] = $arrayData;
        $this->template->load('template', '/hubstatus/status', $data);
    }
}

?>