Ejemplo n.º 1
0
 /**
  * Renders the Zopim update options form.
  *
  * @param object Account details retrieved from the Zopim API
  */
 public function display_linked_view($accountDetails)
 {
     if ($accountDetails->package_id == 'trial') {
         $accountDetails->package_id = $this->get_message('trial');
     } else {
         $accountDetails->package_id .= $this->get_message('plan');
     }
     Zopim_Template::load_template('linked-view', array_merge(array('messages' => $this->_messages), (array) $accountDetails));
 }
Ejemplo n.º 2
0
 /**
  *
  */
 public function display_login_form()
 {
     $notices = Zopim_Notices::get_instance();
     Zopim_Template::load_template('login-form', array('notices' => $notices, 'messages' => $this->_messages));
 }