/** * Show list of the style elements for the currently edited topic component * * @param string $handler_id Name of the used handler * @param mixed &$data Data passed to the show method */ public function _show_folders($handler_id, array &$data) { midgard_admin_asgard_plugin::asgard_header(); $data['group'] =& $this->_group; midcom_show_style('midcom-admin-user-group-folders'); midgard_admin_asgard_plugin::asgard_footer(); }
/** * Show list of the style elements for the currently createed topic component * * @param string $handler_id Name of the used handler * @param mixed &$data Data passed to the show method */ public function _show_create($handler_id, array &$data) { midgard_admin_asgard_plugin::asgard_header(); $data['person'] =& $this->_person; midcom_show_style('midcom-admin-user-person-create'); midgard_admin_asgard_plugin::asgard_footer(); }
/** * Show list of the style elements for the currently edited topic component * * @param string $handler_id Name of the used handler * @param mixed &$data Data passed to the show method */ public function _show_list($handler_id, array &$data) { midgard_admin_asgard_plugin::asgard_header(); $data['config'] =& $this->_config; midcom_show_style('midcom-admin-libs-list-header'); $data['even'] = false; foreach ($this->_libs as $name => $lib) { $data['name'] = $name; midcom_show_style('midcom-admin-libs-list-item'); if (!$data['even']) { $data['even'] = true; } else { $data['even'] = false; } } midcom_show_style('midcom-admin-libs-list-footer'); midgard_admin_asgard_plugin::asgard_footer(); }
/** * Show list of the style elements for the currently edited topic component * * @param string $handler_id Name of the used handler * @param mixed &$data Data passed to the show method */ public function _show_edit($handler_id, array &$data) { midgard_admin_asgard_plugin::asgard_header(); midcom_show_style('midcom-admin-libs-edit'); midgard_admin_asgard_plugin::asgard_footer(); }
/** * Output the style element for deleted objects * * @param mixed $handler_id The ID of the handler. * @param array &$data The local request data. */ public function _show_deleted($handler_id, array &$data) { midgard_admin_asgard_plugin::asgard_header(); midcom_show_style('midgard_admin_asgard_object_deleted'); midgard_admin_asgard_plugin::asgard_footer(); }
public function _show_preview() { midgard_admin_asgard_plugin::asgard_header(); midcom_show_style('midgard_admin_asgard_rcs_preview'); midgard_admin_asgard_plugin::asgard_footer(); }
/** * Show the group listing * * @param mixed $handler_id The ID of the handler. * @param array &$data The local request data. */ public function _show_list($handler_id, array &$data) { midgard_admin_asgard_plugin::asgard_header(); midcom_show_style('midcom-admin-user-group-list-start'); // Show the recursive listing self::list_groups(0, $data); midcom_show_style('midcom-admin-user-group-list-end'); midgard_admin_asgard_plugin::asgard_footer(); }
/** * Show list of the style elements for the currently edited topic component * * @param string $handler_id Name of the used handler * @param mixed &$data Data passed to the show method */ public function _show_list($handler_id, array &$data) { midgard_admin_asgard_plugin::asgard_header(); $data['config'] =& $this->_config; $data['persons'] =& $this->_persons; midcom_show_style('midcom-admin-user-personlist-header'); $data['even'] = false; foreach ($data['persons'] as $person) { $data['person'] = $person; midcom_show_style('midcom-admin-user-personlist-item'); if (!$data['even']) { $data['even'] = true; } else { $data['even'] = false; } } midcom_show_style('midcom-admin-user-personlist-footer'); midgard_admin_asgard_plugin::asgard_footer(); }
/** * Show the batch password change form * * @param mixed $handler_id The ID of the handler. * @param array &$data The local request data. */ public function _show_batch($handler_id, array &$data) { if (!isset($_GET['ajax'])) { midgard_admin_asgard_plugin::asgard_header(); midcom_show_style('midcom-admin-user-password-nonajax-header'); } $data['message_subject'] = $this->_l10n->get($this->_config->get('message_subject')); $data['message_body'] = $this->_l10n->get($this->_config->get('message_body')); midcom_show_style('midcom-admin-user-password-email'); if (!isset($_GET['ajax'])) { midcom_show_style('midcom-admin-user-passwords-list'); midgard_admin_asgard_plugin::asgard_footer(); } }
/** * Show list of the style elements for the currently edited topic component * * @param string $handler_id Name of the used handler * @param mixed &$data Data passed to the show method */ public function _show_view($handler_id, array &$data) { midgard_admin_asgard_plugin::asgard_header(); midcom_show_style('midcom-admin-libs-view-header'); $data['even'] = false; foreach ($data['config']->_global as $key => $value) { $data['key'] = midcom::get('i18n')->get_string($key, $data['name']); $data['global'] = $this->_detect($data['config']->_global[$key]); if (isset($data['config']->_local[$key])) { $data['local'] = $this->_detect($data['config']->_local[$key]); } else { $data['local'] = $this->_detect(null); } midcom_show_style('midcom-admin-libs-view-item'); $data['even'] = !$data['even']; } midcom_show_style('midcom-admin-libs-view-footer'); midgard_admin_asgard_plugin::asgard_footer(); }
/** * Show list of the style elements for the currently edited topic component * * @param string $handler_id Name of the used handler * @param mixed &$data Data passed to the show method */ public function _show_edit($handler_id, array &$data) { midgard_admin_asgard_plugin::asgard_header(); midcom_show_style('midgard_admin_asgard_component_configuration_edit'); midgard_admin_asgard_plugin::asgard_footer(); }
/** * Show the delete request * * @param string $handler_id Name of the used handler * @param mixed &$data Data passed to the show method */ public function _show_delete($handler_id, array &$data) { midgard_admin_asgard_plugin::asgard_header(); $data['file'] =& $this->_file; $data['attachment_text_types'] = $this->_config->get('attachment_text_types'); midcom_show_style('midgard_admin_asgard_object_attachments_delete'); midgard_admin_asgard_plugin::asgard_footer(); }